How luisreygarciafigueroa-creator/iom works
IOM is a research demonstration for assessing whether its semantic framework can be applied interpretably to real-world concepts and pairs, not a general-purpose software product. The central workflow is blind annotation of relation pairs followed by independent agreement scoring. Separate branches examine formal consistency, RDF/SHACL conformance, synthetic rule recovery, and empirical-domain alignment; guided ingestion and ontology generation support the framework’s data representation. Relationships below follow README descriptions and shown source behavior; unsampled subsystems are included only where the README documents them.
Main entry points: io_ontology.ttl RDF ontology · pi_hgat_t.py PI-HGAT-T model · validate_examples.py Domain mapping validation · iom_spec.json IOM specification
Components 19
Semantic evaluation
- Evaluation pairs
datasets/independent_eval/annotations.json - Agreement scoring
scripts/score_independent_eval.py
Formal framework
- IOM specification
data/iom_spec.json - Lean formal rules
IOM/FormalRules.lean - Lean core
IOM/Core.lean - Ontology generation
scripts/generate_ontology.py - RDF ontology
ontology/io_ontology.ttl - SHACL shapes
ontology/io_shapes.ttl - SHACL validation
scripts/validate_shacl.py
Model experiments
- PI-HGAT-T model
experiments/pi_hgat_t.py - Baseline classifiers
experiments/baselines.py - Experiment results
experiments/results
Domain alignment
- Guided data ingestion
scripts/importar_datos_personalizados.py - Aligned domain data
datasets/ingestion/aligned - Domain mapping validation
experiments/domain_mapping/validate_examples.py - Mapping examples
experiments/domain_mapping/examples.json - Canonical triad nodes
datasets/triad_nodes.csv - Relation candidates
datasets/relation_candidates.csv
Other components
- Blind annotators
Connections 16
- Blind annotators → Evaluation pairs: label pairs
README.md - Evaluation pairs → Agreement scoring: score annotations
README.md - IOM specification → Ontology generation: generates from
scripts/generate_ontology.py - Ontology generation → RDF ontology: writes ontology
scripts/generate_ontology.py - IOM specification → Lean formal rules: formalizes rules
- Lean formal rules → Lean core: uses core
- RDF ontology → SHACL validation: validates RDF
README.md - SHACL shapes → SHACL validation: checks conformance
README.md - Guided data ingestion → Aligned domain data: produces alignment
scripts/importar_datos_personalizados.py - Mapping examples → Domain mapping validation: validates examples
experiments/domain_mapping/validate_examples.py - Canonical triad nodes → Domain mapping validation: checks node IDs
experiments/domain_mapping/validate_examples.py - Relation candidates → Domain mapping validation: checks relations
experiments/domain_mapping/validate_examples.py - RDF ontology → PI-HGAT-T model: supplies rule labels
- Relation candidates → PI-HGAT-T model: evaluates pairs
- PI-HGAT-T model → Experiment results: reports metrics
README.md - Baseline classifiers → Experiment results: reports comparison
README.md