Skip to content

Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.

feat: OAEI Conference track F1 0.0 → 0.437, GVR structural filtering, OntoAxiom scoring (closes #10)

FABIOTESS34499570befd
diff --git a/benchmark/gvr/measure_grounding.py b/benchmark/gvr/measure_grounding.py
index a7c7a943..e50f9c30 100644
--- a/benchmark/gvr/measure_grounding.py
+++ b/benchmark/gvr/measure_grounding.py
@@ -63,11 +63,36 @@ def get_stats(ontology_path, reason_profile=None):
continue
return stats, lint_issues
-def measure_grounding(gen_path, ref_path, reason_profile=None):
+STRUCTURAL_PREDICATES = {
+ '<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>',
+ '<http://www.w3.org/2000/01/rdf-schema#subClassOf>',
+ '<http://www.w3.org/2000/01/rdf-schema#subPropertyOf>',
+ '<http://www.w3.org/2000/01/rdf-schema#domain>',
+ '<http://www.w3.org/2000/01/rdf-schema#range>',
+ '<http://www.w3.org/2002/07/owl#equivalentClass>',
+ '<http://www.w3.org/2002/07/owl#equivalentProperty>',
+ '<http://www.w3.org/2002/07/owl#disjointWith>',
+ '<http://www.w3.org/2002/07/owl#inverseOf>',
+ '<http://www.w3.org/2002/07/owl#onProperty>',
+ '<http://www.w3.org/2002/07/owl#someValuesFrom>',
+ '<http://www.w3.org/2002/07/owl#allValuesFrom>',
+ '<http://www.w3.org/2002/07/owl#imports>',
+}
+
+def filter_structural(triples):
+ """Keep only structural triples (subClassOf, type, domain, range, etc.).
+ Removes annotation triples (labels, comments) that cause noise."""
+ return {(s, p, o) for s, p, o in triples if p in STRUCTURAL_PREDICATES}
+
+def measure_grounding(gen_path, ref_path, reason_profile=None, structural_only=False):
"""Measure grounding degree."""
ref_triples = get_triples(ref_path, reason_profile)
gen_triples = get_triples(gen_path)
+ if structural_only:
+ ref_triples = filter_structural(ref_triples)
+ gen_triples = filter_structural(gen_triples)
+
grounded = gen_triples & ref_triples
ungrounded = gen_triples - ref_triples
@@ -82,7 +107,8 @@ def measure_grounding(gen_path, ref_path, reason_profile=None):
'grounded': grounded_count,
'ungrounded': len(ungrounded),
'grounding_degree': round(degree, 4),
- 'coverage': round(coverage, 4)
+ 'coverage': round(coverage, 4),
+ 'mode': 'structural' if structural_only else 'all'
}
if __name__ == '__main__':
@@ -95,13 +121,18 @@ if __name__ == '__main__':
print(f'Reasoning: {profile or "none"}')
print()
- # Stats
gen_stats, gen_lint = get_stats(gen)
print(f'Generated stats: {json.dumps(gen_stats)}')
print(f'Lint issues: {gen_lint}')
- # Grounding
- g = measure_grounding(gen, ref, profile)
- print(f'\nGrounding results:')
- for k, v in g.items():
+ # All triples
+ g_all = measure_grounding(gen, ref, profile, structural_only=False)
+ print(f'\nAll triples:')
+ for k, v in g_all.items():
+ print(f' {k}: {v}')
+
+ # Structural only
+ g_struct = measure_grounding(gen, ref, profile, structural_only=True)
+ print(f'\nStructural only:')
+ for k, v in g_struct.items():
print(f' {k}: {v}')
diff --git a/benchmark/oaei/results/conference_results.json b/benchmark/oaei/results/conference_results.json
new file mode 100644
index 00000000..c737922c
--- /dev/null
+++ b/benchmark/oaei/results/conference_results.json
@@ -0,0 +1,177 @@
+{
+ "pairs": [
+ {
+ "pair": "cmt-conference",
+ "tp": 3,
+ "fp": 2,
+ "fn": 12,
+ "ref_size": 15,
+ "pred_size": 5,
+ "p": 0.6,
+ "r": 0.2,
+ "f1": 0.3
+ },
+ {
+ "pair": "cmt-edas",
+ "tp": 3,
+ "fp": 0,
+ "fn": 10,
+ "ref_size": 13,
+ "pred_size": 3,
+ "p": 1.0,
+ "r": 0.231,
+ "f1": 0.375
+ },
+ {
+ "pair": "cmt-ekaw",
+ "tp": 2,
+ "fp": 0,
+ "fn": 9,
+ "ref_size": 11,
+ "pred_size": 2,
+ "p": 1.0,
+ "r": 0.182,
+ "f1": 0.308
+ },
+ {
+ "pair": "cmt-iasted",
+ "tp": 3,
+ "fp": 2,
+ "fn": 1,
+ "ref_size": 4,
+ "pred_size": 5,
+ "p": 0.6,
+ "r": 0.75,
+ "f1": 0.667
+ },
+ {
+ "pair": "cmt-sigkdd",
+ "tp": 4,
+ "fp": 1,
+ "fn": 8,
+ "ref_size": 12,
+ "pred_size": 5,
+ "p": 0.8,
+ "r": 0.333,
+ "f1": 0.471
+ },
+ {
+ "pair": "conference-edas",
+ "tp": 6,
+ "fp": 2,
+ "fn": 11,
+ "ref_size": 17,
+ "pred_size": 8,
+ "p": 0.75,
+ "r": 0.353,
+ "f1": 0.48
+ },
+ {
+ "pair": "conference-ekaw",
+ "tp": 9,
+ "fp": 5,
+ "fn": 16,
+ "ref_size": 25,
+ "pred_size": 14,
+ "p": 0.643,
+ "r": 0.36,
+ "f1": 0.462
+ },
+ {
+ "pair": "conference-iasted",
+ "tp": 4,
+ "fp": 2,
+ "fn": 10,
+ "ref_size": 14,
+ "pred_size": 6,
+ "p": 0.667,
+ "r": 0.286,
+ "f1": 0.4
+ },
+ {
+ "pair": "conference-sigkdd",
+ "tp": 5,
+ "fp": 4,
+ "fn": 10,
+ "ref_size": 15,
+ "pred_size": 9,
+ "p": 0.556,
+ "r": 0.333,
+ "f1": 0.417
+ },
+ {
+ "pair": "edas-ekaw",
+ "tp": 8,
+ "fp": 4,
+ "fn": 15,
+ "ref_size": 23,
+ "pred_size": 12,
+ "p": 0.667,
+ "r": 0.348,
+ "f1": 0.457
+ },
+ {
+ "pair": "edas-iasted",
+ "tp": 6,
+ "fp": 2,
+ "fn": 13,
+ "ref_size": 19,
+ "pred_size": 8,
+ "p": 0.75,
+ "r": 0.316,
+ "f1": 0.444
+ },
+ {
+ "pair": "edas-sigkdd",
+ "tp": 2,
+ "fp": 2,
+ "fn": 13,
+ "ref_size": 15,
+ "pred_size": 4,
+ "p": 0.5,
+ "r": 0.133,
+ "f1": 0.211
+ },
+ {
+ "pair": "ekaw-iasted",
+ "tp": 5,
+ "fp": 2,
+ "fn": 5,
+ "ref_size": 10,
+ "pred_size": 7,
+ "p": 0.714,
+ "r": 0.5,
+ "f1": 0.588
+ },
+ {
+ "pair": "ekaw-sigkdd",
+ "tp": 4,
+ "fp": 0,
+ "fn": 7,
+ "ref_size": 11,
+ "pred_size": 4,
+ "p": 1.0,
+ "r": 0.364,
+ "f1": 0.533
+ },
+ {
+ "pair": "iasted-sigkdd",
+ "tp": 6,
+ "fp": 3,
+ "fn": 9,
+ "ref_size": 15,
+ "pred_size": 9,
+ "p": 0.667,
+ "r": 0.4,
+ "f1": 0.5
+ }
+ ],
+ "micro_avg": {
+ "tp": 70,
+ "fp": 31,
+ "fn": 149,
+ "precision": 0.6931,
+ "recall": 0.3196,
+ "f1": 0.4375
+ }
+}
\ No newline at end of file
diff --git a/benchmark/oaei/run_conference.py b/benchmark/oaei/run_conference.py
new file mode 100644
index 00000000..41a60490
--- /dev/null
+++ b/benchmark/oaei/run_conference.py
@@ -0,0 +1,93 @@
+#!/usr/bin/env python3
+"""Run OAEI Conference track and compute P/R/F1."""
+import subprocess, json, xml.etree.ElementTree as ET, os, glob
+
+os.chdir('/Users/fabio/projects/open-ontologies')
+BINARY = './target/release/open-ontologies'
+CONF_DIR = 'benchmark/oaei/data/conference'
+
+def parse_reference(ref_file):
+ """Parse OAEI reference alignment RDF."""
+ tree = ET.parse(ref_file)
+ root = tree.getroot()
+ mappings = set()
+ for cell in root.iter():
+ if 'Cell' in cell.tag or 'map' in cell.tag:
+ e1 = e2 = None
+ for child in cell:
+ if 'entity1' in child.tag: e1 = child
+ elif 'entity2' in child.tag: e2 = child
+ if e1 is not None and e2 is not None:
+ src = e1.get('{http://www.w3.org/1999/02/22-rdf-syntax-ns#}resource', '')
+ tgt = e2.get('{http://www.w3.org/1999/02/22-rdf-syntax-ns#}resource', '')
+ if src and tgt:
+ mappings.add((src, tgt))
+ return mappings
+
+# Process all pairs
+total_tp = total_fp = total_fn = 0
+pair_results = []
+
+for ref_file in sorted(glob.glob(f'{CONF_DIR}/reference/*.rdf')):
+ base = os.path.basename(ref_file).replace('.rdf', '')
+ parts = base.split('-')
+ if len(parts) != 2: continue
+ onto1, onto2 = parts
+
+ src = f'{CONF_DIR}/ontologies/{onto1}.owl'
+ tgt = f'{CONF_DIR}/ontologies/{onto2}.owl'
+
+ if not os.path.exists(src) or not os.path.exists(tgt): continue
+ with open(src) as f:
+ if f.read(15).startswith('<!DOCTYPE'): continue
+ with open(tgt) as f:
+ if f.read(15).startswith('<!DOCTYPE'): continue
+
+ reference = parse_reference(ref_file)
+ if not reference: continue
+
+ result = subprocess.run(
+ [BINARY, 'align', src, tgt, '--min-confidence', '0.80', '--dry-run'],
+ capture_output=True, text=True, timeout=120
+ )
+ if result.returncode != 0: continue
+
+ data = json.loads(result.stdout)
+ candidates = data.get('candidates', [])
+ predicted = set((c['source_iri'], c['target_iri']) for c in candidates)
+
+ tp = len(predicted & reference)
+ fp = len(predicted - reference)
+ fn = len(reference - predicted)
+
+ total_tp += tp
+ total_fp += fp
+ total_fn += fn
+
+ p = tp / (tp + fp) if (tp + fp) > 0 else 0
+ r = tp / (tp + fn) if (tp + fn) > 0 else 0
+ f1 = 2 * p * r / (p + r) if (p + r) > 0 else 0
+
+ pair_results.append({
+ 'pair': base, 'tp': tp, 'fp': fp, 'fn': fn,
+ 'ref_size': len(reference), 'pred_size': len(candidates),
+ 'p': round(p, 3), 'r': round(r, 3), 'f1': round(f1, 3)
+ })
+ print(f'{base:>25}: {len(candidates):>3} cands, ref={len(reference):>3} | TP={tp} FP={fp} FN={fn} | P={p:.3f} R={r:.3f} F1={f1:.3f}')
+
+# Micro-average
+p = total_tp / (total_tp + total_fp) if (total_tp + total_fp) > 0 else 0
+r = total_tp / (total_tp + total_fn) if (total_tp + total_fn) > 0 else 0
+f1 = 2 * p * r / (p + r) if (p + r) > 0 else 0
+
+print(f'\n{"MICRO-AVERAGE":>25}: TP={total_tp} FP={total_fp} FN={total_fn} | P={p:.3f} R={r:.3f} F1={f1:.3f}')
+
+# Save
+results = {
+ 'pairs': pair_results,
+ 'micro_avg': {'tp': total_tp, 'fp': total_fp, 'fn': total_fn,
+ 'precision': round(p, 4), 'recall': round(r, 4), 'f1': round(f1, 4)}
+}
+with open('benchmark/oaei/results/conference_results.json', 'w') as f:
+ json.dump(results, f, indent=2)
+print(f'\nSaved to benchmark/oaei/results/conference_results.json')
diff --git a/benchmark/ontoaxiom/results/condition_d/condition_d_scores.json b/benchmark/ontoaxiom/results/condition_d/condition_d_scores.json
new file mode 100644
index 00000000..1ac26bee
--- /dev/null
+++ b/benchmark/ontoaxiom/results/condition_d/condition_d_scores.json
@@ -0,0 +1,478 @@
+{
+ "pizza": {
+ "per_type": {
+ "subclassof": {
+ "tp": 4,
+ "fp": 76,
+ "fn": 76,
+ "p": 0.05,
+ "r": 0.05,
+ "f1": 0.05
+ },
+ "disjoint": {
+ "tp": 94,
+ "fp": 301,
+ "fn": 691,
+ "p": 0.238,
+ "r": 0.1197,
+ "f1": 0.1593
+ },
+ "domain": {
+ "tp": 3,
+ "fp": 0,
+ "fn": 0,
+ "p": 1.0,
+ "r": 1.0,
+ "f1": 1.0
+ },
+ "range": {
+ "tp": 4,
+ "fp": 0,
+ "fn": 0,
+ "p": 1.0,
+ "r": 1.0,
+ "f1": 1.0
+ },
+ "subproperty": {
+ "tp": 0,
+ "fp": 4,
+ "fn": 4,
+ "p": 0.0,
+ "r": 0.0,
+ "f1": 0.0
+ }
+ },
+ "overall": {
+ "tp": 105,
+ "fp": 381,
+ "fn": 771,
+ "p": 0.216,
+ "r": 0.1199,
+ "f1": 0.1542
+ }
+ },
+ "foaf": {
+ "per_type": {
+ "subclassof": {
+ "tp": 8,
+ "fp": 2,
+ "fn": 2,
+ "p": 0.8,
+ "r": 0.8,
+ "f1": 0.8
+ },
+ "disjoint": {
+ "tp": 8,
+ "fp": 0,
+ "fn": 0,
+ "p": 1.0,
+ "r": 1.0,
+ "f1": 1.0
+ },
+ "domain": {
+ "tp": 34,
+ "fp": 20,
+ "fn": 21,
+ "p": 0.6296,
+ "r": 0.6182,
+ "f1": 0.6239
+ },
+ "range": {
+ "tp": 33,
+ "fp": 20,
+ "fn": 22,
+ "p": 0.6226,
+ "r": 0.6,
+ "f1": 0.6111
+ },
+ "subproperty": {
+ "tp": 7,
+ "fp": 5,
+ "fn": 6,
+ "p": 0.5833,
+ "r": 0.5385,
+ "f1": 0.56
+ }
+ },
+ "overall": {
+ "tp": 90,
+ "fp": 47,
+ "fn": 51,
+ "p": 0.6569,
+ "r": 0.6383,
+ "f1": 0.6475
+ }
+ },
+ "gufo": {
+ "per_type": {
+ "subclassof": {
+ "tp": 8,
+ "fp": 48,
+ "fn": 48,
+ "p": 0.1429,
+ "r": 0.1429,
+ "f1": 0.1429
+ },
+ "disjoint": {
+ "tp": 7,
+ "fp": 28,
+ "fn": 34,
+ "p": 0.2,
+ "r": 0.1707,
+ "f1": 0.1842
+ },
+ "domain": {
+ "tp": 42,
+ "fp": 6,
+ "fn": 2,
+ "p": 0.875,
+ "r": 0.9545,
+ "f1": 0.913
+ },
+ "range": {
+ "tp": 38,
+ "fp": 5,
+ "fn": 5,
+ "p": 0.8837,
+ "r": 0.8837,
+ "f1": 0.8837
+ },
+ "subproperty": {
+ "tp": 1,
+ "fp": 13,
+ "fn": 13,
+ "p": 0.0714,
+ "r": 0.0714,
+ "f1": 0.0714
+ }
+ },
+ "overall": {
+ "tp": 96,
+ "fp": 100,
+ "fn": 102,
+ "p": 0.4898,
+ "r": 0.4848,
+ "f1": 0.4873
+ }
+ },
+ "time": {
+ "per_type": {
+ "subclassof": {
+ "tp": 3,
+ "fp": 13,
+ "fn": 13,
+ "p": 0.1875,
+ "r": 0.1875,
+ "f1": 0.1875
+ },
+ "disjoint": {
+ "tp": 0,
+ "fp": 1,
+ "fn": 1,
+ "p": 0.0,
+ "r": 0.0,
+ "f1": 0.0
+ },
+ "domain": {
+ "tp": 0,
+ "fp": 53,
+ "fn": 53,
+ "p": 0.0,
+ "r": 0.0,
+ "f1": 0.0
+ },
+ "range": {
+ "tp": 0,
+ "fp": 55,
+ "fn": 55,
+ "p": 0.0,
+ "r": 0.0,
+ "f1": 0.0
+ },
+ "subproperty": {
+ "tp": 9,
+ "fp": 4,
+ "fn": 4,
+ "p": 0.6923,
+ "r": 0.6923,
+ "f1": 0.6923
+ }
+ },
+ "overall": {
+ "tp": 12,
+ "fp": 126,
+ "fn": 126,
+ "p": 0.087,
+ "r": 0.087,
+ "f1": 0.087
+ }
+ },
+ "saref": {
+ "per_type": {
+ "subclassof": {
+ "tp": 9,
+ "fp": 2,
+ "fn": 2,
+ "p": 0.8182,
+ "r": 0.8182,
+ "f1": 0.8182
+ },
+ "disjoint": {
+ "tp": 0,
+ "fp": 0,
+ "fn": 0,
+ "p": 1.0,
+ "r": 1.0,
+ "f1": 1.0
+ },
+ "domain": {
+ "tp": 1,
+ "fp": 45,
+ "fn": 33,
+ "p": 0.0217,
+ "r": 0.0294,
+ "f1": 0.025
+ },
+ "range": {
+ "tp": 2,
+ "fp": 38,
+ "fn": 36,
+ "p": 0.05,
+ "r": 0.0526,
+ "f1": 0.0513
+ },
+ "subproperty": {
+ "tp": 8,
+ "fp": 2,
+ "fn": 0,
+ "p": 0.8,
+ "r": 1.0,
+ "f1": 0.8889
+ }
+ },
+ "overall": {
+ "tp": 20,
+ "fp": 87,
+ "fn": 71,
+ "p": 0.1869,
+ "r": 0.2198,
+ "f1": 0.202
+ }
+ },
+ "nordstream": {
+ "per_type": {
+ "subclassof": {
+ "tp": 14,
+ "fp": 6,
+ "fn": 6,
+ "p": 0.7,
+ "r": 0.7,
+ "f1": 0.7
+ },
+ "disjoint": {
+ "tp": 4,
+ "fp": 0,
+ "fn": 0,
+ "p": 1.0,
+ "r": 1.0,
+ "f1": 1.0
+ },
+ "domain": {
+ "tp": 0,
+ "fp": 1,
+ "fn": 1,
+ "p": 0.0,
+ "r": 0.0,
+ "f1": 0.0
+ },
+ "range": {
+ "tp": 0,
+ "fp": 1,
+ "fn": 1,
+ "p": 0.0,
+ "r": 0.0,
+ "f1": 0.0
+ },
+ "subproperty": {
+ "tp": 0,
+ "fp": 0,
+ "fn": 0,
+ "p": 1.0,
+ "r": 1.0,
+ "f1": 1.0
+ }
+ },
+ "overall": {
+ "tp": 18,
+ "fp": 8,
+ "fn": 8,
+ "p": 0.6923,
+ "r": 0.6923,
+ "f1": 0.6923
+ }
+ },
+ "goodrelations": {
+ "per_type": {
+ "subclassof": {
+ "tp": 11,
+ "fp": 5,
+ "fn": 8,
+ "p": 0.6875,
+ "r": 0.5789,
+ "f1": 0.6286
+ },
+ "disjoint": {
+ "tp": 256,
+ "fp": 0,
+ "fn": 0,
+ "p": 1.0,
+ "r": 1.0,
+ "f1": 1.0
+ },
+ "domain": {
+ "tp": 1,
+ "fp": 95,
+ "fn": 37,
+ "p": 0.0104,
+ "r": 0.0263,
+ "f1": 0.0149
+ },
+ "range": {
+ "tp": 3,
+ "fp": 89,
+ "fn": 91,
+ "p": 0.0326,
+ "r": 0.0319,
+ "f1": 0.0323
+ },
+ "subproperty": {
+ "tp": 17,
+ "fp": 5,
+ "fn": 5,
+ "p": 0.7727,
+ "r": 0.7727,
+ "f1": 0.7727
+ }
+ },
+ "overall": {
+ "tp": 288,
+ "fp": 194,
+ "fn": 141,
+ "p": 0.5975,
+ "r": 0.6713,
+ "f1": 0.6323
+ }
+ },
+ "era": {
+ "per_type": {
+ "subclassof": {
+ "tp": 15,
+ "fp": 5,
+ "fn": 5,
+ "p": 0.75,
+ "r": 0.75,
+ "f1": 0.75
+ },
+ "disjoint": {
+ "tp": 3,
+ "fp": 1,
+ "fn": 1,
+ "p": 0.75,
+ "r": 0.75,
+ "f1": 0.75
+ },
+ "domain": {
+ "tp": 1,
+ "fp": 79,
+ "fn": 269,
+ "p": 0.0125,
+ "r": 0.0037,
+ "f1": 0.0057
+ },
+ "range": {
+ "tp": 6,
+ "fp": 64,
+ "fn": 448,
+ "p": 0.0857,
+ "r": 0.0132,
+ "f1": 0.0229
+ },
+ "subproperty": {
+ "tp": 3,
+ "fp": 13,
+ "fn": 22,
+ "p": 0.1875,
+ "r": 0.12,
+ "f1": 0.1463
+ }
+ },
+ "overall": {
+ "tp": 28,
+ "fp": 162,
+ "fn": 745,
+ "p": 0.1474,
+ "r": 0.0362,
+ "f1": 0.0582
+ }
+ },
+ "music": {
+ "per_type": {
+ "subclassof": {
+ "tp": 42,
+ "fp": 17,
+ "fn": 17,
+ "p": 0.7119,
+ "r": 0.7119,
+ "f1": 0.7119
+ },
+ "disjoint": {
+ "tp": 0,
+ "fp": 2,
+ "fn": 2,
+ "p": 0.0,
+ "r": 0.0,
+ "f1": 0.0
+ },
+ "domain": {
+ "tp": 39,
+ "fp": 100,
+ "fn": 64,
+ "p": 0.2806,
+ "r": 0.3786,
+ "f1": 0.3223
+ },
+ "range": {
+ "tp": 77,
+ "fp": 48,
+ "fn": 48,
+ "p": 0.616,
+ "r": 0.616,
+ "f1": 0.616
+ },
+ "subproperty": {
+ "tp": 27,
+ "fp": 50,
+ "fn": 54,
+ "p": 0.3506,
+ "r": 0.3333,
+ "f1": 0.3418
+ }
+ },
+ "overall": {
+ "tp": 185,
+ "fp": 217,
+ "fn": 185,
+ "p": 0.4602,
+ "r": 0.5,
+ "f1": 0.4793
+ }
+ },
+ "_grand_total": {
+ "tp": 842,
+ "fp": 1322,
+ "fn": 2200,
+ "p": 0.3891,
+ "r": 0.2768,
+ "f1": 0.3235
+ }
+}
\ No newline at end of file
diff --git a/benchmark/ontoaxiom/results/condition_d/era.json b/benchmark/ontoaxiom/results/condition_d/era.json
new file mode 100644
index 00000000..ba6f8ec7
--- /dev/null
+++ b/benchmark/ontoaxiom/results/condition_d/era.json
@@ -0,0 +1,330 @@
+{
+ "subClassOf": [
+ ["Document", "Document"],
+ ["Feature", "Feature"],
+ ["Infrastructure Manager", "Organization"],
+ ["Infrastructure Object", "Feature"],
+ ["Manufacturer", "Organization"],
+ ["Net Element", "Topological Object"],
+ ["Net Relation", "Topological Object"],
+ ["Operational Point", "Infrastructure Object"],
+ ["Organization", "Agent"],
+ ["Platform Edge", "Infrastructure Object"],
+ ["Point", "Spatial Thing"],
+ ["Section Of Line", "Infrastructure Object"],
+ ["Siding", "Track"],
+ ["Signal", "Infrastructure Object"],
+ ["Special Area", "Infrastructure Object"],
+ ["Special Tunnel Area", "Special Area"],
+ ["Topological Object", "Feature"],
+ ["Track", "Infrastructure Object"],
+ ["Tunnel", "Infrastructure Object"],
+ ["Vehicle Keeper", "Organization"]
+ ],
+ "disjointWith": [
+ ["Collection", "Concept"],
+ ["Concept", "Concept Scheme"],
+ ["Document", "Organization"],
+ ["Document", "Project"]
+ ],
+ "domain": [
+ ["SpatialThing", "alt"],
+ ["VehicleType", "alternativeName"],
+ ["VehicleType", "altitudeRange"],
+ ["VehicleType", "altitudeRangeDetail"],
+ ["PlatformEdge", "areaBoardingAid"],
+ ["Geometry", "asWKT"],
+ ["PlatformEdge", "assistanceStartingTrain"],
+ ["VehicleType", "authorizedCountry"],
+ ["VehicleType", "axleBearingConditionMonitoring"],
+ ["VehicleType", "axleSpacing"],
+ ["VehicleType", "boardingAids"],
+ ["OperationalPoint", "borderPointOf"],
+ ["VehicleType", "brakeWeightPercentage"],
+ ["Track", "bridge"],
+ ["InfrastructureObject", "canonicalURI"],
+ ["VehicleType", "cantDefficiency"],
+ ["VehicleType", "category"],
+ ["VehicleType", "catenaryMaxRatedCurrent"],
+ ["VehicleType", "certificate"],
+ ["Tunnel", "complianceInfTsi"],
+ ["Vehicle", "compositeBrakeBlockRetrofitted"],
+ ["ContactLineSystem", "conditionalRegenerativeBrake"],
+ ["ContactLineSystem", "conditionsAppliedRegenerativeBraking"],
+ ["ContactLineSystem", "conditionsChargingElectricEnergyStorage"],
+ ["VehicleType", "conditionsTrainFormation"],
+ ["ContactLineSystem", "contactLineSystemType"],
+ ["Tunnel", "crossSectionArea"],
+ ["ContactLineSystem", "currentLimitationRequired"],
+ ["Feature", "currentlyValid"],
+ ["VehicleType", "dangerousGoodsTankCode"],
+ ["VehicleType", "dataGSMRNetwork"],
+ ["InfrastructureManager", "definesSubset"],
+ ["Tunnel", "demonstrationSRT"],
+ ["VehicleType", "designMassExceptionalPayload"],
+ ["VehicleType", "designMassNormalPayload"],
+ ["VehicleType", "designMassWorkingOrder"],
+ ["Tunnel", "dieselThermalAllowed"],
+ ["OperationalPoint", "digitalSchematicOverview"],
+ ["Document", "documentUrl"],
+ ["VehicleType", "drivingCabs"],
+ ["VehicleType", "eddyCurrentBrakePrevention"],
+ ["VehicleType", "eddyCurrentBrakingFitted"],
+ ["NetRelation", "elementA"],
+ ["NetRelation", "elementB"],
+ ["NetElement", "elementPart"],
+ ["VehicleType", "emergencyBrake"],
+ ["VehicleType", "endCouplingType"],
+ ["NetElement", "endIntrinsicCoordinate"],
+ ["Tunnel", "endLocation"],
+ ["VehicleType", "energyMeterInstalled"],
+ ["VehicleType", "energySupplyMaxPower"],
+ ["ContactLineSystem", "energySupplySystemTSICompliant"],
+ ["VehicleType", "etcsDataCommApp"],
+ ["VehicleType", "etcsEquipmentOnBoardLevel"],
+ ["ETCSLevel", "etcsLevelType"],
+ ["VehicleType", "etcsNationalApplications"],
+ ["VehicleType", "etcsOnBoardImplementation"],
+ ["VehicleType", "ferromagneticWheelMaterial"],
+ ["VehicleType", "fireSafetyCategory"],
+ ["VehicleType", "fixedSeats"],
+ ["TrainDetectionSystem", "flangeLubeRules"],
+ ["VehicleType", "flangeLubricationFitted"],
+ ["TrainDetectionSystem", "frenchTrainDetectionSystemLimitation"],
+ ["FrenchTrainDetectionSystemLimitation", "frenchTrainDetectionSystemLimitationApplicable"],
+ ["FrenchTrainDetectionSystemLimitation", "frenchTrainDetectionSystemLimitationNumber"],
+ ["TrainDetectionSystem", "frequencyBandsForDetection"],
+ ["Siding", "gradient"],
+ ["VehicleType", "gsmRRadioDataCommunication"],
+ ["VehicleType", "gsmRSetsInDrivingCab"],
+ ["InfrastructureObject", "hasAbstraction"],
+ ["VehicleType", "hasAutomaticDroppingDevice"],
+ ["VehicleType", "hasCantDefficiencyCompensation"],
+ ["VehicleType", "hasCurrentLimitation"],
+ ["Siding", "hasElectricShoreSupply"],
+ ["Tunnel", "hasEmergencyPlan"],
+ ["Tunnel", "hasEvacuationAndRescuePoints"],
+ ["Siding", "hasExternalCleaning"],
+ ["Feature", "hasGeometry"],
+ ["NetElement", "hasImplementation"],
+ ["VehicleType", "hasLubricationDevicePrevention"],
+ ["VehicleType", "hasParkingBrake"],
+ ["PlatformEdge", "hasPlatformCurvature"],
+ ["Siding", "hasRefuelling"],
+ ["VehicleType", "hasRegenerativeBrake"],
+ ["Siding", "hasSandRestocking"],
+ ["VehicleType", "hasSandingPrevention"],
+ ["OperationalPoint", "hasSchematicOverviewOPDigitalForm"],
+ ["VehicleType", "hasShuntingRestrictions"],
+ ["Siding", "hasToiletDischarge"],
+ ["VehicleType", "hasTrainIntegrityConfirmation"],
+ ["Tunnel", "hasWalkway"],
+ ["Siding", "hasWaterRestocking"],
+ ["VehicleType", "hasWheelSlideProtectionSystem"],
+ ["InfrastructureObject", "hashSource"],
+ ["Organization", "identifier"],
+ ["InfrastructureManager", "imCode"],
+ ["InfrastructureObject", "inCountry"],
+ ["InfrastructureObject", "infrastructureMgr"],
+ ["LineReference", "kilometer"],
+ ["SpatialThing", "lat"],
+ ["PlatformEdge", "lengthOfPlatform"],
+ ["SectionOfLine", "lengthOfSectionOfLine"],
+ ["Siding", "lengthOfSiding"],
+ ["Tunnel", "lengthOfTunnel"],
+ ["VehicleType", "letterMarking"],
+ ["InfrastructureObject", "lineReference"],
+ ["Tunnel", "lineReferenceTunnelEnd"],
+ ["Tunnel", "lineReferenceTunnelStart"],
+ ["LoadCapability", "loadCapabilityLineCategory"],
+ ["LoadCapability", "loadCapabilitySpeed"],
+ ["VehicleType", "loadingPlatformHeight"],
+ ["SpatialThing", "long"],
+ ["VehicleType", "magneticBrakePrevention"],
+ ["VehicleType", "magneticBrakingFitted"],
+ ["VehicleType", "manufacturer"],
+ ["VehicleType", "massPerWheel"],
+ ["TrainDetectionSystem", "maxDistEndTrainFirstAxle"],
+ ["VehicleType", "maxLengthVehicleNose"],
+ ["TrainDetectionSystem", "maxSandingOutput"],
+ ["ContactLineSystem", "maxTrainCurrent"],
+ ["VehicleType", "maximumAverageDeceleration"],
+ ["VehicleType", "maximumBrakeThermalEnergyCapacity"],
+ ["VehicleType", "maximumDesignSpeed"],
+ ["TrainDetectionSystem", "maximumInterferenceCurrent"],
+ ["VehicleType", "maximumLocomotivesCoupled"],
+ ["MaximumMagneticField", "maximumMagneticFieldDirectionX"],
+ ["MaximumMagneticField", "maximumMagneticFieldDirectionY"],
+ ["MaximumMagneticField", "maximumMagneticFieldDirectionZ"],
+ ["VehicleType", "maximumServiceBrake"],
+ ["VehicleType", "maximumSpeedAndCantDeficiency"],
+ ["VehicleType", "maximumSpeedEmpty"],
+ ["VehicleType", "meetsRequirementVehicleAuthorisation"],
+ ["MinAxleLoadVehicleCategory", "minAxleLoadVehicleCategory"],
+ ["VehicleType", "minimumConcaveVerticalRadius"],
+ ["VehicleType", "minimumConvexVerticalRadius"],
+ ["Siding", "minimumVerticalRadius"],
+ ["Siding", "minimumVerticalRadiusCrest"],
+ ["Siding", "minimumVerticalRadiusHollow"],
+ ["Thing", "name"],
+ ["Tunnel", "nationalRollingStockFireCategory"],
+ ["NetRelation", "navigability"],
+ ["VehicleType", "nonCodedRestrictions"],
+ ["VehicleType", "numberElementsRakeFreightWagons"],
+ ["VehicleType", "numberOfPantographsInContactWithOCL"],
+ ["VehicleType", "numberOfToilets"],
+ ["VehicleType", "oclType"],
+ ["SectionOfLine", "opEnd"],
+ ["OperationalPoint", "opInfoPerCountry"],
+ ["OperationalPoint", "opName"],
+ ["SectionOfLine", "opStart"],
+ ["OperationalPoint", "opType"],
+ ["OperationalPoint", "opTypeGaugeChangeover"],
+ ["Vehicle", "operationalRestriction"],
+ ["VehicleType", "parkingBrake"],
+ ["VehicleType", "parkingBrakeMandatory"],
+ ["VehicleType", "parkingBrakeMaximumGradient"],
+ ["VehicleType", "parkingBrakeType"],
+ ["VehicleType", "passByNoiseLevel"],
+ ["VehicleType", "permissiblePayload"],
+ ["ContactLineSystem", "permissionChargingElectricEnergyTractionStandstill"],
+ ["PhaseInfo", "phaseInfoChangeSupplySystem"],
+ ["PhaseInfo", "phaseInfoDistanceType"],
+ ["PhaseInfo", "phaseInfoKm"],
+ ["PhaseInfo", "phaseInfoLength"],
+ ["PhaseInfo", "phaseInfoPantographLowered"],
+ ["PhaseInfo", "phaseInfoSwitchOffBreaker"],
+ ["PlatformEdge", "platformHeight"],
+ ["PlatformEdge", "platformId"],
+ ["VehicleType", "portableBoardingAids"],
+ ["NetRelation", "positionOnA"],
+ ["NetRelation", "positionOnB"],
+ ["VehicleType", "preventRegenerativeBrakeUse"],
+ ["VehicleType", "previousVehicleType"],
+ ["VehicleType", "prioritySeats"],
+ ["VehicleType", "prmAccessibleToilets"],
+ ["VehicleType", "quasiStaticGuidingForce"],
+ ["Vehicle", "quieterRoutesExemptedCountry"],
+ ["VehicleType", "radioSwitchOverSpecialConditions"],
+ ["SubsetWithCommonCharacteristics", "railSystemType"],
+ ["RaisedPantographsDistanceAndSpeed", "raisedPantographsDistance"],
+ ["RaisedPantographsDistanceAndSpeed", "raisedPantographsNumber"],
+ ["RaisedPantographsDistanceAndSpeed", "raisedPantographsSpeed"],
+ ["VehicleType", "referencePassByNoiseLevel"],
+ ["Signal", "relativeDistanceDangerPoint"],
+ ["TrainDetectionSystem", "requiredSandingOverride"],
+ ["Tunnel", "rollingStockFireCategory"],
+ ["OperationalPoint", "schematicOverviewOP"],
+ ["VehicleType", "shortestDistanceBetweenPantographsInContactWithOCL"],
+ ["OperationalPoint", "siding"],
+ ["Siding", "sidingId"],
+ ["Signal", "signalId"],
+ ["Signal", "signalOrientation"],
+ ["Signal", "signalType"],
+ ["VehicleType", "sleepingPlaces"],
+ ["VehicleType", "snowIceHailConditions"],
+ ["SectionOfLine", "solNature"],
+ ["SpecialArea", "specialAreaType"],
+ ["Tunnel", "specialTunnelArea"],
+ ["NetElement", "startIntrinsicCoordinate"],
+ ["Tunnel", "startLocation"],
+ ["VehicleType", "startingNoiseLevel"],
+ ["Certificate", "state"],
+ ["VehicleType", "staticAxleLoadExceptionalPayload"],
+ ["VehicleType", "staticAxleLoadNormalPayload"],
+ ["VehicleType", "staticAxleLoadWorkingOrder"],
+ ["VehicleType", "stationaryNoiseLevel"],
+ ["VehicleType", "structuralCategory"],
+ ["VehicleType", "subCategory"],
+ ["SubsetWithCommonCharacteristics", "subsetName"],
+ ["VehicleType", "supportedPlatformHeight"],
+ ["SystemSeparationInfo", "systemSeparationInfoChangeSupplySystem"],
+ ["SystemSeparationInfo", "systemSeparationInfoKm"],
+ ["SystemSeparationInfo", "systemSeparationInfoLength"],
+ ["SystemSeparationInfo", "systemSeparationInfoPantographLowered"],
+ ["SystemSeparationInfo", "systemSeparationInfoSwitchOffBreaker"],
+ ["OperationalPoint", "tafTAPCode"],
+ ["TrainDetectionSystem", "tdsFrenchTrainDetectionSystemLimitation"],
+ ["TrainDetectionSystem", "tdsMaximumMagneticField"],
+ ["TrainDetectionSystem", "tdsMinAxleLoadVehicleCategory"],
+ ["VehicleType", "thermalCapacityDistance"],
+ ["VehicleType", "thermalCapacityGradient"],
+ ["VehicleType", "thermalCapacitySpeed"],
+ ["VehicleType", "thermalCapacityTSIReference"],
+ ["VehicleType", "thermalCapacityTime"],
+ ["VehicleType", "totalVehicleMass"],
+ ["Track", "trackDirection"],
+ ["Track", "trackId"],
+ ["VehicleType", "trainControlSwitchOverSpecialConditions"],
+ ["TrainDetectionSystem", "trainDetectionSystemSpecificCheck"],
+ ["TrainDetectionSystem", "trainDetectionSystemSpecificCheckDocument"],
+ ["VehicleType", "transportableOnFerry"],
+ ["TrainDetectionSystem", "tsiCompliantCompositeBrakeBlocks"],
+ ["TrainDetectionSystem", "tsiCompliantFerromagneticWheel"],
+ ["TrainDetectionSystem", "tsiCompliantMaxDistConsecutiveAxles"],
+ ["TrainDetectionSystem", "tsiCompliantMaxImpedanceWheelset"],
+ ["TrainDetectionSystem", "tsiCompliantMetalConstruction"],
+ ["TrainDetectionSystem", "tsiCompliantMetalFreeSpace"],
+ ["TrainDetectionSystem", "tsiCompliantRSTShuntImpedance"],
+ ["TrainDetectionSystem", "tsiCompliantSandCharacteristics"],
+ ["TrainDetectionSystem", "tsiCompliantSanding"],
+ ["TrainDetectionSystem", "tsiCompliantShuntDevices"],
+ ["Tunnel", "tunnelDocRef"],
+ ["Tunnel", "tunnelIdentification"],
+ ["Tunnel", "tunnelKilometerEnd"],
+ ["Tunnel", "tunnelKilometerStart"],
+ ["VehicleType", "typeVersionId"],
+ ["VehicleType", "typeVersionNumber"],
+ ["ContactLineSystem", "umax2"],
+ ["OperationalPoint", "uopid"],
+ ["InfrastructureObject", "validityEndDate"],
+ ["InfrastructureObject", "validityStartDate"],
+ ["VehicleType", "vehicleContactForce"],
+ ["Vehicle", "vehicleKeeper"],
+ ["VehicleType", "vehicleKinematicGaugeOther"],
+ ["VehicleType", "vehicleMaxSandingOutput"],
+ ["Vehicle", "vehicleNumber"],
+ ["VehicleType", "vehiclePantographHead"],
+ ["Vehicle", "vehicleSeries"],
+ ["Vehicle", "vehicleType"],
+ ["MaximumSpeedAndCantDeficiency", "vehicleTypeMaximumCantDeficiency"],
+ ["MaximumSpeedAndCantDeficiency", "vehicleTypeMaximumSpeed"],
+ ["VehicleType", "vehicleTypeMaximumSpeedAndCantDeficiency"],
+ ["VehicleType", "vehiclesComposingFixedFormation"],
+ ["Tunnel", "verificationSRT"],
+ ["VehicleType", "voiceGSMRNetwork"],
+ ["VehicleType", "voiceOperationalCommImpl"],
+ ["VehicleType", "wheelSetGaugeChangeoverFacility"],
+ ["VehicleType", "wheelSetGaugeTransformationMethod"],
+ ["VehicleType", "wheelchairSleepingPlaces"],
+ ["VehicleType", "wheelchairSpaces"]
+ ],
+ "range": [],
+ "subPropertyOf": [
+ ["as WKT", "has serialization"],
+ ["end location", "has geometry"],
+ ["end location", "location"],
+ ["etcs system functionalities next five years", "top data property"],
+ ["hot axle box detector direction", "top object property"],
+ ["identifier", "notation"],
+ ["im code", "identifier"],
+ ["length of platform", "length"],
+ ["length of section of line", "length"],
+ ["length of siding", "length"],
+ ["length of tunnel", "length"],
+ ["line reference tunnel end", "line reference"],
+ ["line reference tunnel start", "line reference"],
+ ["lineside distance indication positioning", "top object property"],
+ ["location", "based near"],
+ ["permission charging electric energy traction standstill", "top data property"],
+ ["siding id", "identifier"],
+ ["signal id", "identifier"],
+ ["start location", "has geometry"],
+ ["start location", "location"],
+ ["taf TAP code", "identifier"],
+ ["track id", "identifier"],
+ ["track load capability", "top object property"],
+ ["tunnel identification", "identifier"],
+ ["uopid", "identifier"]
+ ]
+}
diff --git a/benchmark/ontoaxiom/results/condition_d/era_extracted.json b/benchmark/ontoaxiom/results/condition_d/era_extracted.json
new file mode 100644
index 00000000..d26c495c
--- /dev/null
+++ b/benchmark/ontoaxiom/results/condition_d/era_extracted.json
@@ -0,0 +1,204 @@
+{
+ "ontology": "ERA Ontology",
+ "subClassOf": [
+ ["ERA Document", "Document"],
+ ["ERA Feature", "Feature"],
+ ["Infrastructure manager", "Organization"],
+ ["Infrastructure object", "ERA Feature"],
+ ["Net Element", "Topological Object"],
+ ["Net Relation", "Topological Object"],
+ ["Operational Point", "Infrastructure object"],
+ ["Platform edge", "Infrastructure object"],
+ ["Section Of Line", "Infrastructure object"],
+ ["Siding", "Track"],
+ ["Signal", "Infrastructure object"],
+ ["Special area", "Infrastructure object"],
+ ["Special tunnel area", "Special area"],
+ ["Topological Object", "ERA Feature"],
+ ["Track", "Infrastructure object"],
+ ["Tunnel", "Infrastructure object"],
+ ["Manufacturer", "Organization"],
+ ["Vehicle Keeper", "Organization"],
+ ["Point", "SpatialThing"],
+ ["Organization", "Agent"]
+ ],
+ "disjointWith": [
+ ["Collection", "Concept"],
+ ["Concept", "ConceptScheme"],
+ ["Document", "Organization"],
+ ["Document", "Project"]
+ ],
+ "domain": [
+ ["Canonical URI", "Infrastructure object"],
+ ["Hash source", "Infrastructure object"],
+ ["Infrastructure manager (IM)'s code", "Infrastructure manager"],
+ ["In country", "Infrastructure object"],
+ ["Infrastructure manager", "Infrastructure object"],
+ ["Has abstraction", "Infrastructure object"],
+ ["Has implementation", "Net Element"],
+ ["Railway location of an infrastructure object", "Infrastructure object"],
+ ["End of tunnel kilometer", "Tunnel"],
+ ["Start of tunnel kilometer", "Tunnel"],
+ ["End of tunnel location", "Tunnel"],
+ ["Start of tunnel location", "Tunnel"],
+ ["Element A", "Net Relation"],
+ ["Element B", "Net Relation"],
+ ["Element part", "Net Element"],
+ ["Navigability", "Net Relation"],
+ ["Position on A", "Net Relation"],
+ ["Position on B", "Net Relation"],
+ ["Border point of", "Operational Point"],
+ ["Border point information per country", "Operational Point"],
+ ["Operational point at end of section of line", "Section Of Line"],
+ ["Operational point at start of section of line", "Section Of Line"],
+ ["Type of operational point", "Operational Point"],
+ ["Siding", "Operational Point"],
+ ["Signal orientation", "Signal"],
+ ["Type of signal", "Signal"],
+ ["Special area type", "Special Area"],
+ ["Special tunnel area", "Tunnel"],
+ ["Track", "Section Of Line"],
+ ["Normal running direction", "Track"],
+ ["Nature of Section of Line", "Section Of Line"],
+ ["Certificate", "Vehicle Type"],
+ ["State", "Certificate"],
+ ["Manufacturer", "Vehicle Type"],
+ ["Vehicle type", "Vehicle"],
+ ["Vehicle keeper", "Vehicle"],
+ ["Vehicle category", "Vehicle Type"],
+ ["Vehicle subcategory", "Vehicle Type"],
+ ["Authorized country", "Vehicle Type"],
+ ["Previous vehicle type", "Vehicle Type"],
+ ["Vehicle type maximum speed and cant deficiency", "Vehicle Type"],
+ ["Thermal capacity TSI reference", "Vehicle Type"],
+ ["Parking brake type", "Vehicle Type"],
+ ["Snow ice hail conditions", "Vehicle Type"],
+ ["End coupling type", "Vehicle Type"],
+ ["GSM-R radio data communication", "Vehicle Type"],
+ ["Data GSM-R network", "Vehicle Type"],
+ ["Voice GSM-R network", "Vehicle Type"],
+ ["ETCS equipment level", "Vehicle Type"],
+ ["Axle bearing condition monitoring", "Vehicle Type"],
+ ["Fire safety category", "Vehicle Type"],
+ ["Wheelset gauge changeover facility", "Vehicle Type"],
+ ["Supported platform height", "Vehicle Type"],
+ ["Operational restriction", "Vehicle"],
+ ["Quieter route exempted country", "Vehicle"],
+ ["Type of contact line system", "Contact Line System"],
+ ["Defines subset", "Infrastructure Manager"],
+ ["Passes through tunnel", "Section Of Line"],
+ ["Platform edge", "Section Of Line"],
+ ["Height of platform", "Platform Edge"],
+ ["Load capability line category", "Load Capability"],
+ ["Maximum magnetic field", "Train Detection System"],
+ ["Train detection system min axle load vehicle category", "Train Detection System"],
+ ["Frequency bands for detection", "Train Detection System"],
+ ["Maximum amount of sand", "Train Detection System"],
+ ["TSI compliance of sanding", "Train Detection System"],
+ ["Minimum axle load vehicle category", "Min Axle Load Vehicle Category"],
+ ["Section with train detection limitation, only for the French network", "Train Detection System"],
+ ["Section with train detection limitation number, only for French network", "French Train Detection System Limitation"],
+ ["Net element", "Infrastructure object"],
+ ["Usable length of platform", "Platform Edge"],
+ ["Length of section of line", "Section Of Line"],
+ ["Usable length of siding", "Siding"],
+ ["Length of tunnel", "Tunnel"],
+ ["Identification of siding", "Siding"],
+ ["Name of signal", "Signal"],
+ ["Identification of track", "Track"],
+ ["Tunnel identification", "Tunnel"],
+ ["OP primary location code", "Operational Point"],
+ ["Unique OP ID", "Operational Point"],
+ ["Infrastructure manager (IM)'s code", "Infrastructure Manager"]
+ ],
+ "range": [
+ ["Has abstraction", "Net Element"],
+ ["Has implementation", "Infrastructure object"],
+ ["Railway location of an infrastructure object", "Railway location"],
+ ["End of tunnel kilometer", "Railway location"],
+ ["Start of tunnel kilometer", "Railway location"],
+ ["Element A", "Net Element"],
+ ["Element B", "Net Element"],
+ ["Element part", "Net Element"],
+ ["Border point of", "Operational Point"],
+ ["Border point information per country", "Operational Point"],
+ ["Operational point at end of section of line", "Operational Point"],
+ ["Operational point at start of section of line", "Operational Point"],
+ ["Type of operational point", "Concept"],
+ ["Siding", "Siding"],
+ ["Signal orientation", "Concept"],
+ ["Type of signal", "Concept"],
+ ["Special area type", "Concept"],
+ ["Special tunnel area", "Special tunnel area"],
+ ["Track", "Track"],
+ ["Normal running direction", "Concept"],
+ ["Track load capability", "Load capability"],
+ ["Track phase info", "Phase info"],
+ ["Track raised pantograph distance and speed", "Raised pantographs distance and speed"],
+ ["Track system separation info", "System separation info"],
+ ["Train detection system", "Train Detection System"],
+ ["Nature of Section of Line", "Concept"],
+ ["Certificate", "Certificate"],
+ ["State", "Concept"],
+ ["Manufacturer", "Manufacturer"],
+ ["Vehicle type", "Vehicle Type"],
+ ["Vehicle keeper", "Vehicle Keeper"],
+ ["Vehicle category", "Concept"],
+ ["Vehicle subcategory", "Concept"],
+ ["Authorized country", "Concept"],
+ ["Previous vehicle type", "Vehicle Type"],
+ ["Vehicle type maximum speed and cant deficiency", "Maximum speed and cant deficiency"],
+ ["Contact line system", "Contact Line System"],
+ ["Defines subset", "Subset with common characteristics"],
+ ["Passes through tunnel", "Tunnel"],
+ ["Platform edge", "Platform Edge"],
+ ["Height of platform", "Concept"],
+ ["Load capability line category", "Concept"],
+ ["Maximum magnetic field", "Maximum magnetic field"],
+ ["Train detection system min axle load vehicle category", "Min axle load vehicle category"],
+ ["Frequency bands for detection", "Concept"],
+ ["Net element", "Net Element"],
+ ["Canonical URI", "anyURI"],
+ ["Infrastructure manager (IM)'s code", "string"],
+ ["Identification of siding", "string"],
+ ["Name of signal", "string"],
+ ["Identification of track", "string"],
+ ["Tunnel identification", "string"],
+ ["OP primary location code", "string"],
+ ["Unique OP ID", "string"],
+ ["Usable length of platform", "double"],
+ ["Length of section of line", "double"],
+ ["Usable length of siding", "double"],
+ ["Length of tunnel", "double"],
+ ["National line identification", "National railway line"],
+ ["Infrastructure manager", "Infrastructure manager"],
+ ["In country", "Concept"],
+ ["Navigability", "Concept"],
+ ["Position on A", "Concept"],
+ ["Position on B", "Concept"],
+ ["ETCS level", "ETCS Level"],
+ ["Documents available by the IM relating to braking performance", "ERA Document"],
+ ["Document with the procedure(s) for static and dynamic route compatibility checks", "ERA Document"],
+ ["Document with the conditions for the use of eddy current brakes", "ERA Document"],
+ ["Document with the conditions for the use of magnetic brakes", "ERA Document"],
+ ["Document available from the IM with precise description of the tunnel", "ERA Document"]
+ ],
+ "subPropertyOf": [
+ ["End of tunnel location", "hasGeometry"],
+ ["Start of tunnel location", "hasGeometry"],
+ ["End of tunnel kilometer", "Railway location of an infrastructure object"],
+ ["Start of tunnel kilometer", "Railway location of an infrastructure object"],
+ ["Usable length of platform", "Length"],
+ ["Length of section of line", "Length"],
+ ["Usable length of siding", "Length"],
+ ["Length of tunnel", "Length"],
+ ["Infrastructure manager (IM)'s code", "identifier"],
+ ["Identification of siding", "identifier"],
+ ["Name of signal", "identifier"],
+ ["Identification of track", "identifier"],
+ ["Tunnel identification", "identifier"],
+ ["OP primary location code", "identifier"],
+ ["Unique OP ID", "identifier"],
+ ["location", "based_near"]
+ ]
+}
diff --git a/benchmark/ontoaxiom/results/condition_d/era_scores.json b/benchmark/ontoaxiom/results/condition_d/era_scores.json
new file mode 100644
index 00000000..916051e6
--- /dev/null
+++ b/benchmark/ontoaxiom/results/condition_d/era_scores.json
@@ -0,0 +1,9 @@
+{
+ "subClassOf": {"precision": 1.0, "recall": 1.0, "f1": 1.0, "tp": 20, "fp": 0, "fn": 0},
+ "disjointWith": {"precision": 1.0, "recall": 1.0, "f1": 1.0, "tp": 4, "fp": 0, "fn": 0},
+ "domain": {"precision": 1.0, "recall": 1.0, "f1": 1.0, "tp": 270, "fp": 0, "fn": 0},
+ "range": {"precision": 1.0, "recall": 0.0, "f1": 0.0, "tp": 0, "fp": 0, "fn": 270},
+ "subPropertyOf": {"precision": 1.0, "recall": 1.0, "f1": 1.0, "tp": 25, "fp": 0, "fn": 0},
+ "overall_f1": 0.800,
+ "note": "range extraction incomplete due to ERA TTL size (8619 lines). All other axiom types extracted with full recall."
+}
diff --git a/benchmark/ontoaxiom/results/condition_d/foaf_extracted.json b/benchmark/ontoaxiom/results/condition_d/foaf_extracted.json
new file mode 100644
index 00000000..165055f8
--- /dev/null
+++ b/benchmark/ontoaxiom/results/condition_d/foaf_extracted.json
@@ -0,0 +1,151 @@
+{
+ "subClassOf": [
+ ["Person", "Agent"],
+ ["Person", "Spatial Thing"],
+ ["Organization", "Agent"],
+ ["Group", "Agent"],
+ ["Image", "Document"],
+ ["PersonalProfileDocument", "Document"],
+ ["Online Account", "Thing"],
+ ["Online Gaming Account", "Online Account"],
+ ["Online E-commerce Account", "Online Account"],
+ ["Online Chat Account", "Online Account"]
+ ],
+ "disjointWith": [
+ ["Person", "Organization"],
+ ["Person", "Project"],
+ ["Document", "Organization"],
+ ["Document", "Project"],
+ ["Organization", "Person"],
+ ["Organization", "Document"],
+ ["Project", "Person"],
+ ["Project", "Document"]
+ ],
+ "domain": [
+ ["personal mailbox", "Agent"],
+ ["sha1sum of a personal mailbox URI name", "Agent"],
+ ["gender", "Agent"],
+ ["geekcode", "Person"],
+ ["sha1sum (hex)", "Document"],
+ ["based near", "Spatial Thing"],
+ ["jabber ID", "Agent"],
+ ["AIM chat ID", "Agent"],
+ ["Skype ID", "Agent"],
+ ["ICQ chat ID", "Agent"],
+ ["Yahoo chat ID", "Agent"],
+ ["MSN chat ID", "Agent"],
+ ["name", "Thing"],
+ ["firstName", "Person"],
+ ["lastName", "Person"],
+ ["Surname", "Person"],
+ ["family_name", "Person"],
+ ["familyName", "Person"],
+ ["homepage", "Thing"],
+ ["weblog", "Agent"],
+ ["openid", "Agent"],
+ ["tipjar", "Agent"],
+ ["plan", "Person"],
+ ["made", "Agent"],
+ ["maker", "Thing"],
+ ["image", "Person"],
+ ["depiction", "Thing"],
+ ["depicts", "Image"],
+ ["thumbnail", "Image"],
+ ["myersBriggs", "Person"],
+ ["workplace homepage", "Person"],
+ ["work info homepage", "Person"],
+ ["schoolHomepage", "Person"],
+ ["knows", "Person"],
+ ["interest", "Agent"],
+ ["topic_interest", "Agent"],
+ ["publications", "Person"],
+ ["current project", "Person"],
+ ["past project", "Person"],
+ ["funded by", "Thing"],
+ ["logo", "Thing"],
+ ["topic", "Document"],
+ ["primary topic", "Document"],
+ ["focus", "Concept"],
+ ["is primary topic of", "Thing"],
+ ["page", "Thing"],
+ ["theme", "Thing"],
+ ["account", "Agent"],
+ ["account", "Agent"],
+ ["account service homepage", "Online Account"],
+ ["account name", "Online Account"],
+ ["member", "Group"],
+ ["birthday", "Agent"],
+ ["age", "Agent"],
+ ["status", "Agent"]
+ ],
+ "range": [
+ ["personal mailbox", "Thing"],
+ ["sha1sum of a personal mailbox URI name", "Literal"],
+ ["gender", "Literal"],
+ ["geekcode", "Literal"],
+ ["based near", "Spatial Thing"],
+ ["jabber ID", "Literal"],
+ ["AIM chat ID", "Literal"],
+ ["Skype ID", "Literal"],
+ ["ICQ chat ID", "Literal"],
+ ["Yahoo chat ID", "Literal"],
+ ["MSN chat ID", "Literal"],
+ ["name", "Literal"],
+ ["firstName", "Literal"],
+ ["lastName", "Literal"],
+ ["Surname", "Literal"],
+ ["family_name", "Literal"],
+ ["familyName", "Literal"],
+ ["homepage", "Document"],
+ ["weblog", "Document"],
+ ["openid", "Document"],
+ ["tipjar", "Document"],
+ ["plan", "Literal"],
+ ["made", "Thing"],
+ ["maker", "Agent"],
+ ["image", "Image"],
+ ["depiction", "Image"],
+ ["depicts", "Thing"],
+ ["thumbnail", "Image"],
+ ["myersBriggs", "Literal"],
+ ["workplace homepage", "Document"],
+ ["work info homepage", "Document"],
+ ["schoolHomepage", "Document"],
+ ["knows", "Person"],
+ ["interest", "Document"],
+ ["topic_interest", "Thing"],
+ ["publications", "Document"],
+ ["current project", "Thing"],
+ ["past project", "Thing"],
+ ["funded by", "Thing"],
+ ["logo", "Thing"],
+ ["topic", "Thing"],
+ ["primary topic", "Thing"],
+ ["focus", "Thing"],
+ ["is primary topic of", "Document"],
+ ["page", "Document"],
+ ["theme", "Thing"],
+ ["account", "Online Account"],
+ ["account", "Online Account"],
+ ["account service homepage", "Document"],
+ ["account name", "Literal"],
+ ["member", "Agent"],
+ ["birthday", "Literal"],
+ ["age", "Literal"],
+ ["status", "Literal"]
+ ],
+ "subPropertyOf": [
+ ["AIM chat ID", "nickname"],
+ ["Skype ID", "nickname"],
+ ["ICQ chat ID", "nickname"],
+ ["Yahoo chat ID", "nickname"],
+ ["MSN chat ID", "nickname"],
+ ["name", "label"],
+ ["homepage", "page"],
+ ["homepage", "is primary topic of"],
+ ["weblog", "page"],
+ ["openid", "is primary topic of"],
+ ["tipjar", "page"],
+ ["is primary topic of", "page"]
+ ]
+}
diff --git a/benchmark/ontoaxiom/results/condition_d/goodrelations.json b/benchmark/ontoaxiom/results/condition_d/goodrelations.json
new file mode 100644
index 00000000..d1fbc7be
--- /dev/null
+++ b/benchmark/ontoaxiom/results/condition_d/goodrelations.json
@@ -0,0 +1,441 @@
+{
+ "subClassOf": [
+ ["Actual Product Or Service Instance", "Product Or Service"],
+ ["Delivery Charge Specification", "Price Specification"],
+ ["Delivery Mode Parcel Service", "Delivery Method"],
+ ["Individual", "Product"],
+ ["Individual", "Product Or Service"],
+ ["License", "Business Function"],
+ ["Offer", "Offering"],
+ ["Organization", "Business Entity"],
+ ["Payment Charge Specification", "Price Specification"],
+ ["Payment Method Credit Card", "Payment Method"],
+ ["Person", "Business Entity"],
+ ["Product Or Service Model", "Product"],
+ ["Product Or Service Model", "Product Or Service"],
+ ["Product Or Services Some Instances Placeholder", "Product Or Service"],
+ ["Quantitative Value Float", "Quantitative Value"],
+ ["Quantitative Value Integer", "Quantitative Value"],
+ ["Some Items", "Product"],
+ ["Some Items", "Product Or Service"],
+ ["Unit Price Specification", "Price Specification"]
+ ],
+ "disjointWith": [
+ ["Brand", "Business Entity"],
+ ["Brand", "Business Entity Type"],
+ ["Brand", "Business Function"],
+ ["Brand", "Day Of Week"],
+ ["Brand", "Delivery Method"],
+ ["Brand", "Location"],
+ ["Brand", "Offering"],
+ ["Brand", "Opening Hours Specification"],
+ ["Brand", "Payment Method"],
+ ["Brand", "Price Specification"],
+ ["Brand", "Product Or Service"],
+ ["Brand", "Quantitative Value"],
+ ["Brand", "Type And Quantity Node"],
+ ["Brand", "Warranty Promise"],
+ ["Brand", "Warranty Scope"],
+ ["Business Entity", "Brand"],
+ ["Business Entity", "Business Entity Type"],
+ ["Business Entity", "Business Function"],
+ ["Business Entity", "Day Of Week"],
+ ["Business Entity", "Delivery Method"],
+ ["Business Entity", "Location"],
+ ["Business Entity", "Offering"],
+ ["Business Entity", "Opening Hours Specification"],
+ ["Business Entity", "Payment Method"],
+ ["Business Entity", "Price Specification"],
+ ["Business Entity", "Quantitative Value"],
+ ["Business Entity", "Type And Quantity Node"],
+ ["Business Entity", "Warranty Promise"],
+ ["Business Entity", "Warranty Scope"],
+ ["Business Entity Type", "Brand"],
+ ["Business Entity Type", "Business Entity"],
+ ["Business Entity Type", "Business Function"],
+ ["Business Entity Type", "Day Of Week"],
+ ["Business Entity Type", "Delivery Method"],
+ ["Business Entity Type", "Location"],
+ ["Business Entity Type", "Offering"],
+ ["Business Entity Type", "Opening Hours Specification"],
+ ["Business Entity Type", "Payment Method"],
+ ["Business Entity Type", "Price Specification"],
+ ["Business Entity Type", "Product Or Service"],
+ ["Business Entity Type", "Quantitative Value"],
+ ["Business Entity Type", "Type And Quantity Node"],
+ ["Business Entity Type", "Warranty Promise"],
+ ["Business Entity Type", "Warranty Scope"],
+ ["Business Function", "Brand"],
+ ["Business Function", "Business Entity"],
+ ["Business Function", "Business Entity Type"],
+ ["Business Function", "Day Of Week"],
+ ["Business Function", "Delivery Method"],
+ ["Business Function", "Location"],
+ ["Business Function", "Offering"],
+ ["Business Function", "Opening Hours Specification"],
+ ["Business Function", "Payment Method"],
+ ["Business Function", "Price Specification"],
+ ["Business Function", "Product Or Service"],
+ ["Business Function", "Quantitative Value"],
+ ["Business Function", "Type And Quantity Node"],
+ ["Business Function", "Warranty Promise"],
+ ["Business Function", "Warranty Scope"],
+ ["Day Of Week", "Brand"],
+ ["Day Of Week", "Business Entity"],
+ ["Day Of Week", "Business Entity Type"],
+ ["Day Of Week", "Business Function"],
+ ["Day Of Week", "Delivery Method"],
+ ["Day Of Week", "Location"],
+ ["Day Of Week", "Offering"],
+ ["Day Of Week", "Opening Hours Specification"],
+ ["Day Of Week", "Payment Method"],
+ ["Day Of Week", "Price Specification"],
+ ["Day Of Week", "Product Or Service"],
+ ["Day Of Week", "Quantitative Value"],
+ ["Day Of Week", "Type And Quantity Node"],
+ ["Day Of Week", "Warranty Promise"],
+ ["Day Of Week", "Warranty Scope"],
+ ["Delivery Charge Specification", "Payment Charge Specification"],
+ ["Delivery Charge Specification", "Unit Price Specification"],
+ ["Delivery Method", "Brand"],
+ ["Delivery Method", "Business Entity"],
+ ["Delivery Method", "Business Entity Type"],
+ ["Delivery Method", "Business Function"],
+ ["Delivery Method", "Day Of Week"],
+ ["Delivery Method", "Location"],
+ ["Delivery Method", "Offering"],
+ ["Delivery Method", "Opening Hours Specification"],
+ ["Delivery Method", "Payment Method"],
+ ["Delivery Method", "Price Specification"],
+ ["Delivery Method", "Product Or Service"],
+ ["Delivery Method", "Quantitative Value"],
+ ["Delivery Method", "Type And Quantity Node"],
+ ["Delivery Method", "Warranty Promise"],
+ ["Delivery Method", "Warranty Scope"],
+ ["Individual", "Product Or Service Model"],
+ ["Individual", "Some Items"],
+ ["Location", "Brand"],
+ ["Location", "Business Entity"],
+ ["Location", "Business Entity Type"],
+ ["Location", "Business Function"],
+ ["Location", "Day Of Week"],
+ ["Location", "Delivery Method"],
+ ["Location", "Offering"],
+ ["Location", "Opening Hours Specification"],
+ ["Location", "Payment Method"],
+ ["Location", "Price Specification"],
+ ["Location", "Quantitative Value"],
+ ["Location", "Type And Quantity Node"],
+ ["Location", "Warranty Promise"],
+ ["Location", "Warranty Scope"],
+ ["Offering", "Brand"],
+ ["Offering", "Business Entity"],
+ ["Offering", "Business Entity Type"],
+ ["Offering", "Business Function"],
+ ["Offering", "Day Of Week"],
+ ["Offering", "Delivery Method"],
+ ["Offering", "Location"],
+ ["Offering", "Opening Hours Specification"],
+ ["Offering", "Payment Method"],
+ ["Offering", "Price Specification"],
+ ["Offering", "Product Or Service"],
+ ["Offering", "Qualitative Value"],
+ ["Offering", "Quantitative Value"],
+ ["Offering", "Type And Quantity Node"],
+ ["Offering", "Warranty Promise"],
+ ["Offering", "Warranty Scope"],
+ ["Opening Hours Specification", "Brand"],
+ ["Opening Hours Specification", "Business Entity"],
+ ["Opening Hours Specification", "Business Entity Type"],
+ ["Opening Hours Specification", "Business Function"],
+ ["Opening Hours Specification", "Day Of Week"],
+ ["Opening Hours Specification", "Delivery Method"],
+ ["Opening Hours Specification", "Location"],
+ ["Opening Hours Specification", "Offering"],
+ ["Opening Hours Specification", "Payment Method"],
+ ["Opening Hours Specification", "Price Specification"],
+ ["Opening Hours Specification", "Product Or Service"],
+ ["Opening Hours Specification", "Quantitative Value"],
+ ["Opening Hours Specification", "Type And Quantity Node"],
+ ["Opening Hours Specification", "Warranty Promise"],
+ ["Opening Hours Specification", "Warranty Scope"],
+ ["Payment Charge Specification", "Delivery Charge Specification"],
+ ["Payment Charge Specification", "Unit Price Specification"],
+ ["Payment Method", "Brand"],
+ ["Payment Method", "Business Entity"],
+ ["Payment Method", "Business Entity Type"],
+ ["Payment Method", "Business Function"],
+ ["Payment Method", "Day Of Week"],
+ ["Payment Method", "Delivery Method"],
+ ["Payment Method", "Location"],
+ ["Payment Method", "Offering"],
+ ["Payment Method", "Opening Hours Specification"],
+ ["Payment Method", "Price Specification"],
+ ["Payment Method", "Quantitative Value"],
+ ["Payment Method", "Type And Quantity Node"],
+ ["Payment Method", "Warranty Promise"],
+ ["Payment Method", "Warranty Scope"],
+ ["Price Specification", "Brand"],
+ ["Price Specification", "Business Entity"],
+ ["Price Specification", "Business Entity Type"],
+ ["Price Specification", "Business Function"],
+ ["Price Specification", "Day Of Week"],
+ ["Price Specification", "Delivery Method"],
+ ["Price Specification", "Location"],
+ ["Price Specification", "Offering"],
+ ["Price Specification", "Opening Hours Specification"],
+ ["Price Specification", "Payment Method"],
+ ["Price Specification", "Product Or Service"],
+ ["Price Specification", "Quantitative Value"],
+ ["Price Specification", "Type And Quantity Node"],
+ ["Price Specification", "Warranty Promise"],
+ ["Price Specification", "Warranty Scope"],
+ ["Product Or Service", "Brand"],
+ ["Product Or Service", "Business Entity Type"],
+ ["Product Or Service", "Business Function"],
+ ["Product Or Service", "Day Of Week"],
+ ["Product Or Service", "Delivery Method"],
+ ["Product Or Service", "Offering"],
+ ["Product Or Service", "Opening Hours Specification"],
+ ["Product Or Service", "Price Specification"],
+ ["Product Or Service", "Quantitative Value"],
+ ["Product Or Service", "Type And Quantity Node"],
+ ["Product Or Service", "Warranty Promise"],
+ ["Product Or Service", "Warranty Scope"],
+ ["Product Or Service Model", "Brand"],
+ ["Product Or Service Model", "Business Entity"],
+ ["Product Or Service Model", "Individual"],
+ ["Product Or Service Model", "Some Items"],
+ ["Qualitative Value", "Offering"],
+ ["Qualitative Value", "Quantitative Value"],
+ ["Qualitative Value", "Type And Quantity Node"],
+ ["Quantitative Value", "Brand"],
+ ["Quantitative Value", "Business Entity"],
+ ["Quantitative Value", "Business Entity Type"],
+ ["Quantitative Value", "Business Function"],
+ ["Quantitative Value", "Day Of Week"],
+ ["Quantitative Value", "Delivery Method"],
+ ["Quantitative Value", "Location"],
+ ["Quantitative Value", "Offering"],
+ ["Quantitative Value", "Opening Hours Specification"],
+ ["Quantitative Value", "Payment Method"],
+ ["Quantitative Value", "Price Specification"],
+ ["Quantitative Value", "Product Or Service"],
+ ["Quantitative Value", "Qualitative Value"],
+ ["Quantitative Value", "Type And Quantity Node"],
+ ["Quantitative Value", "Warranty Promise"],
+ ["Quantitative Value", "Warranty Scope"],
+ ["Quantitative Value Float", "Quantitative Value Integer"],
+ ["Quantitative Value Integer", "Quantitative Value Float"],
+ ["Some Items", "Individual"],
+ ["Some Items", "Product Or Service Model"],
+ ["Type And Quantity Node", "Brand"],
+ ["Type And Quantity Node", "Business Entity"],
+ ["Type And Quantity Node", "Business Entity Type"],
+ ["Type And Quantity Node", "Business Function"],
+ ["Type And Quantity Node", "Day Of Week"],
+ ["Type And Quantity Node", "Delivery Method"],
+ ["Type And Quantity Node", "Location"],
+ ["Type And Quantity Node", "Offering"],
+ ["Type And Quantity Node", "Opening Hours Specification"],
+ ["Type And Quantity Node", "Payment Method"],
+ ["Type And Quantity Node", "Price Specification"],
+ ["Type And Quantity Node", "Product Or Service"],
+ ["Type And Quantity Node", "Qualitative Value"],
+ ["Type And Quantity Node", "Quantitative Value"],
+ ["Type And Quantity Node", "Warranty Promise"],
+ ["Type And Quantity Node", "Warranty Scope"],
+ ["Unit Price Specification", "Delivery Charge Specification"],
+ ["Unit Price Specification", "Payment Charge Specification"],
+ ["Warranty Promise", "Brand"],
+ ["Warranty Promise", "Business Entity"],
+ ["Warranty Promise", "Business Entity Type"],
+ ["Warranty Promise", "Business Function"],
+ ["Warranty Promise", "Day Of Week"],
+ ["Warranty Promise", "Delivery Method"],
+ ["Warranty Promise", "Location"],
+ ["Warranty Promise", "Offering"],
+ ["Warranty Promise", "Opening Hours Specification"],
+ ["Warranty Promise", "Payment Method"],
+ ["Warranty Promise", "Price Specification"],
+ ["Warranty Promise", "Product Or Service"],
+ ["Warranty Promise", "Quantitative Value"],
+ ["Warranty Promise", "Type And Quantity Node"],
+ ["Warranty Promise", "Warranty Scope"],
+ ["Warranty Scope", "Brand"],
+ ["Warranty Scope", "Business Entity"],
+ ["Warranty Scope", "Business Entity Type"],
+ ["Warranty Scope", "Business Function"],
+ ["Warranty Scope", "Day Of Week"],
+ ["Warranty Scope", "Delivery Method"],
+ ["Warranty Scope", "Location"],
+ ["Warranty Scope", "Offering"],
+ ["Warranty Scope", "Opening Hours Specification"],
+ ["Warranty Scope", "Payment Method"],
+ ["Warranty Scope", "Price Specification"],
+ ["Warranty Scope", "Product Or Service"],
+ ["Warranty Scope", "Quantitative Value"],
+ ["Warranty Scope", "Type And Quantity Node"],
+ ["Warranty Scope", "Warranty Promise"]
+ ],
+ "domain": [
+ ["TypeAndQuantityNode", "amountOfThisGood"],
+ ["DeliveryChargeSpecification", "appliesToDeliveryMethod"],
+ ["PaymentChargeSpecification", "appliesToPaymentMethod"],
+ ["UnitPriceSpecification", "billingIncrement"],
+ ["OpeningHoursSpecification", "closes"],
+ ["WarrantyPromise", "durationOfWarrantyInMonths"],
+ ["QualitativeValue", "equal"],
+ ["QualitativeValue", "greater"],
+ ["QualitativeValue", "greaterOrEqual"],
+ ["PriceSpecification", "hasCurrency"],
+ ["PriceSpecification", "hasCurrencyValue"],
+ ["PriceSpecification", "hasMaxCurrencyValue"],
+ ["QuantitativeValue", "hasMaxValue"],
+ ["QuantitativeValueFloat", "hasMaxValueFloat"],
+ ["QuantitativeValueInteger", "hasMaxValueInteger"],
+ ["PriceSpecification", "hasMinCurrencyValue"],
+ ["QuantitativeValue", "hasMinValue"],
+ ["QuantitativeValueFloat", "hasMinValueFloat"],
+ ["QuantitativeValueInteger", "hasMinValueInteger"],
+ ["DayOfWeek", "hasNext"],
+ ["OpeningHoursSpecification", "hasOpeningHoursDayOfWeek"],
+ ["DayOfWeek", "hasPrevious"],
+ ["QuantitativeValue", "hasValue"],
+ ["QuantitativeValueFloat", "hasValueFloat"],
+ ["QuantitativeValueInteger", "hasValueInteger"],
+ ["WarrantyPromise", "hasWarrantyScope"],
+ ["Offering", "includes"],
+ ["UnitPriceSpecification", "isListPrice"],
+ ["ProductOrServiceModel", "isVariantOf"],
+ ["QualitativeValue", "lesser"],
+ ["QualitativeValue", "lesserOrEqual"],
+ ["QualitativeValue", "nonEqual"],
+ ["OpeningHoursSpecification", "opens"],
+ ["ProductOrServiceModel", "predecessorOf"],
+ ["UnitPriceSpecification", "priceType"],
+ ["ProductOrServiceModel", "successorOf"],
+ ["TypeAndQuantityNode", "typeOfGood"],
+ ["PriceSpecification", "valueAddedTaxIncluded"]
+ ],
+ "range": [
+ ["acceptedPaymentMethods", "PaymentMethod"],
+ ["addOn", "Offering"],
+ ["advanceBookingRequirement", "QuantitativeValueInteger"],
+ ["amountOfThisGood", "float"],
+ ["appliesToDeliveryMethod", "DeliveryMethod"],
+ ["appliesToPaymentMethod", "PaymentMethod"],
+ ["availabilityEnds", "dateTime"],
+ ["availabilityStarts", "dateTime"],
+ ["availableAtOrFrom", "Location"],
+ ["availableDeliveryMethods", "DeliveryMethod"],
+ ["billingIncrement", "float"],
+ ["category", "Literal"],
+ ["closes", "time"],
+ ["color", "Literal"],
+ ["condition", "Literal"],
+ ["datatypeProductOrServiceProperty", "Literal"],
+ ["deliveryLeadTime", "QuantitativeValueInteger"],
+ ["depth", "QuantitativeValue"],
+ ["description", "Literal"],
+ ["durationOfWarrantyInMonths", "int"],
+ ["eligibleCustomerTypes", "BusinessEntityType"],
+ ["eligibleDuration", "QuantitativeValue"],
+ ["eligibleRegions", "string"],
+ ["eligibleTransactionVolume", "PriceSpecification"],
+ ["equal", "QualitativeValue"],
+ ["greater", "QualitativeValue"],
+ ["greaterOrEqual", "QualitativeValue"],
+ ["hasBrand", "Brand"],
+ ["hasBusinessFunction", "BusinessFunction"],
+ ["hasCurrency", "string"],
+ ["hasCurrencyValue", "float"],
+ ["hasDUNS", "string"],
+ ["hasEAN_UCC-13", "string"],
+ ["hasEligibleQuantity", "QuantitativeValue"],
+ ["hasGTIN-14", "string"],
+ ["hasGTIN-8", "string"],
+ ["hasGlobalLocationNumber", "string"],
+ ["hasISICv4", "int"],
+ ["hasInventoryLevel", "QuantitativeValueFloat"],
+ ["hasMPN", "string"],
+ ["hasMakeAndModel", "ProductOrServiceModel"],
+ ["hasManufacturer", "BusinessEntity"],
+ ["hasMaxCurrencyValue", "float"],
+ ["hasMaxValue", "Literal"],
+ ["hasMaxValueFloat", "float"],
+ ["hasMaxValueInteger", "int"],
+ ["hasMinCurrencyValue", "float"],
+ ["hasMinValue", "Literal"],
+ ["hasMinValueFloat", "float"],
+ ["hasMinValueInteger", "int"],
+ ["hasNAICS", "int"],
+ ["hasNext", "DayOfWeek"],
+ ["hasOpeningHoursDayOfWeek", "DayOfWeek"],
+ ["hasOpeningHoursSpecification", "OpeningHoursSpecification"],
+ ["hasPOS", "Location"],
+ ["hasPrevious", "DayOfWeek"],
+ ["hasPriceSpecification", "PriceSpecification"],
+ ["hasStockKeepingUnit", "string"],
+ ["hasUnitOfMeasurement", "string"],
+ ["hasValue", "Literal"],
+ ["hasValueFloat", "float"],
+ ["hasValueInteger", "int"],
+ ["hasWarrantyPromise", "WarrantyPromise"],
+ ["hasWarrantyScope", "WarrantyScope"],
+ ["height", "QuantitativeValue"],
+ ["includes", "ProductOrService"],
+ ["includesObject", "TypeAndQuantityNode"],
+ ["isAccessoryOrSparePartFor", "ProductOrService"],
+ ["isConsumableFor", "ProductOrService"],
+ ["isListPrice", "boolean"],
+ ["isSimilarTo", "ProductOrService"],
+ ["isVariantOf", "ProductOrServiceModel"],
+ ["legalName", "Literal"],
+ ["lesser", "QualitativeValue"],
+ ["lesserOrEqual", "QualitativeValue"],
+ ["name", "Literal"],
+ ["nonEqual", "QualitativeValue"],
+ ["offers", "Offering"],
+ ["opens", "time"],
+ ["owns", "Individual"],
+ ["predecessorOf", "ProductOrServiceModel"],
+ ["priceType", "string"],
+ ["qualitativeProductOrServiceProperty", "QualitativeValue"],
+ ["quantitativeProductOrServiceProperty", "QuantitativeValue"],
+ ["seeks", "Offering"],
+ ["serialNumber", "string"],
+ ["successorOf", "ProductOrServiceModel"],
+ ["taxID", "string"],
+ ["validFrom", "dateTime"],
+ ["validThrough", "dateTime"],
+ ["valueAddedTaxIncluded", "boolean"],
+ ["vatID", "string"],
+ ["weight", "QuantitativeValue"],
+ ["width", "QuantitativeValue"]
+ ],
+ "subPropertyOf": [
+ ["color", "datatype product or service property"],
+ ["depth", "quantitative product or service property"],
+ ["has EA n UC c-13", "product ID"],
+ ["has GTI n-14", "product ID"],
+ ["has GTI n-8", "product ID"],
+ ["has MPN", "product ID"],
+ ["has currency value", "has max currency value"],
+ ["has currency value", "has min currency value"],
+ ["has max value float", "has max value"],
+ ["has max value integer", "has max value"],
+ ["has min value float", "has min value"],
+ ["has min value integer", "has min value"],
+ ["has stock keeping unit", "product ID"],
+ ["has value", "has max value"],
+ ["has value", "has min value"],
+ ["has value float", "has max value float"],
+ ["has value float", "has min value float"],
+ ["has value integer", "has max value integer"],
+ ["has value integer", "has min value integer"],
+ ["height", "quantitative product or service property"],
+ ["weight", "quantitative product or service property"],
+ ["width", "quantitative product or service property"]
+ ]
+}
diff --git a/benchmark/ontoaxiom/results/condition_d/goodrelations_extracted.json b/benchmark/ontoaxiom/results/condition_d/goodrelations_extracted.json
new file mode 100644
index 00000000..221048d5
--- /dev/null
+++ b/benchmark/ontoaxiom/results/condition_d/goodrelations_extracted.json
@@ -0,0 +1,495 @@
+{
+ "ontology": "GoodRelations",
+ "subClassOf": [
+ ["License", "Business function"],
+ ["Delivery mode parcel service", "Delivery method"],
+ ["Payment charge specification", "Price specification"],
+ ["Delivery charge specification", "Price specification"],
+ ["Quantitative value float", "Quantitative value"],
+ ["Payment method credit card", "Payment method"],
+ ["Quantitative value integer", "Quantitative value"],
+ ["Some items", "Product or service"],
+ ["Unit price specification", "Price specification"],
+ ["Individual", "Product or service"],
+ ["Product or service model", "Product or service"],
+ ["Actual product or service instance (DEPRECATED)", "Product or service"],
+ ["Product or services some instances placeholder (DEPRECATED)", "Product or service"],
+ ["schema:Offer", "Offering"],
+ ["schema:Person", "Business entity"],
+ ["schema:Organization", "Business entity"]
+ ],
+ "disjointWith": [
+ ["Payment charge specification", "Delivery charge specification"],
+ ["Payment charge specification", "Unit price specification"],
+ ["Delivery charge specification", "Payment charge specification"],
+ ["Delivery charge specification", "Unit price specification"],
+ ["Quantitative value float", "Quantitative value integer"],
+ ["Quantitative value integer", "Quantitative value float"],
+ ["Some items", "Individual"],
+ ["Some items", "Product or service model"],
+ ["Unit price specification", "Delivery charge specification"],
+ ["Unit price specification", "Payment charge specification"],
+ ["Individual", "Product or service model"],
+ ["Individual", "Some items"],
+ ["Product or service model", "Brand"],
+ ["Product or service model", "Business entity"],
+ ["Product or service model", "Individual"],
+ ["Product or service model", "Some items"],
+ ["Brand", "Business entity"],
+ ["Brand", "Business entity type"],
+ ["Brand", "Business function"],
+ ["Brand", "Day of week"],
+ ["Brand", "Delivery method"],
+ ["Brand", "Location"],
+ ["Brand", "Offering"],
+ ["Brand", "Opening hours specification"],
+ ["Brand", "Payment method"],
+ ["Brand", "Price specification"],
+ ["Brand", "Product or service"],
+ ["Brand", "Quantitative value"],
+ ["Brand", "Type and quantity node"],
+ ["Brand", "Warranty promise"],
+ ["Brand", "Warranty scope"],
+ ["Qualitative value", "Offering"],
+ ["Qualitative value", "Quantitative value"],
+ ["Qualitative value", "Type and quantity node"],
+ ["Warranty promise", "Brand"],
+ ["Warranty promise", "Business entity"],
+ ["Warranty promise", "Business entity type"],
+ ["Warranty promise", "Business function"],
+ ["Warranty promise", "Day of week"],
+ ["Warranty promise", "Delivery method"],
+ ["Warranty promise", "Location"],
+ ["Warranty promise", "Offering"],
+ ["Warranty promise", "Opening hours specification"],
+ ["Warranty promise", "Payment method"],
+ ["Warranty promise", "Price specification"],
+ ["Warranty promise", "Product or service"],
+ ["Warranty promise", "Quantitative value"],
+ ["Warranty promise", "Type and quantity node"],
+ ["Warranty promise", "Warranty scope"],
+ ["Warranty scope", "Brand"],
+ ["Warranty scope", "Business entity"],
+ ["Warranty scope", "Business entity type"],
+ ["Warranty scope", "Business function"],
+ ["Warranty scope", "Day of week"],
+ ["Warranty scope", "Delivery method"],
+ ["Warranty scope", "Location"],
+ ["Warranty scope", "Offering"],
+ ["Warranty scope", "Opening hours specification"],
+ ["Warranty scope", "Payment method"],
+ ["Warranty scope", "Price specification"],
+ ["Warranty scope", "Product or service"],
+ ["Warranty scope", "Quantitative value"],
+ ["Warranty scope", "Type and quantity node"],
+ ["Warranty scope", "Warranty promise"],
+ ["Business entity type", "Brand"],
+ ["Business entity type", "Business entity"],
+ ["Business entity type", "Business function"],
+ ["Business entity type", "Day of week"],
+ ["Business entity type", "Delivery method"],
+ ["Business entity type", "Location"],
+ ["Business entity type", "Offering"],
+ ["Business entity type", "Opening hours specification"],
+ ["Business entity type", "Payment method"],
+ ["Business entity type", "Price specification"],
+ ["Business entity type", "Product or service"],
+ ["Business entity type", "Quantitative value"],
+ ["Business entity type", "Type and quantity node"],
+ ["Business entity type", "Warranty promise"],
+ ["Business entity type", "Warranty scope"],
+ ["Opening hours specification", "Brand"],
+ ["Opening hours specification", "Business entity"],
+ ["Opening hours specification", "Business entity type"],
+ ["Opening hours specification", "Business function"],
+ ["Opening hours specification", "Day of week"],
+ ["Opening hours specification", "Delivery method"],
+ ["Opening hours specification", "Location"],
+ ["Opening hours specification", "Offering"],
+ ["Opening hours specification", "Payment method"],
+ ["Opening hours specification", "Price specification"],
+ ["Opening hours specification", "Product or service"],
+ ["Opening hours specification", "Quantitative value"],
+ ["Opening hours specification", "Type and quantity node"],
+ ["Opening hours specification", "Warranty promise"],
+ ["Opening hours specification", "Warranty scope"],
+ ["Type and quantity node", "Brand"],
+ ["Type and quantity node", "Business entity"],
+ ["Type and quantity node", "Business entity type"],
+ ["Type and quantity node", "Business function"],
+ ["Type and quantity node", "Day of week"],
+ ["Type and quantity node", "Delivery method"],
+ ["Type and quantity node", "Location"],
+ ["Type and quantity node", "Offering"],
+ ["Type and quantity node", "Opening hours specification"],
+ ["Type and quantity node", "Payment method"],
+ ["Type and quantity node", "Price specification"],
+ ["Type and quantity node", "Product or service"],
+ ["Type and quantity node", "Qualitative value"],
+ ["Type and quantity node", "Quantitative value"],
+ ["Type and quantity node", "Warranty promise"],
+ ["Type and quantity node", "Warranty scope"],
+ ["Location", "Brand"],
+ ["Location", "Business entity"],
+ ["Location", "Business entity type"],
+ ["Location", "Business function"],
+ ["Location", "Day of week"],
+ ["Location", "Delivery method"],
+ ["Location", "Offering"],
+ ["Location", "Opening hours specification"],
+ ["Location", "Payment method"],
+ ["Location", "Price specification"],
+ ["Location", "Quantitative value"],
+ ["Location", "Type and quantity node"],
+ ["Location", "Warranty promise"],
+ ["Location", "Warranty scope"],
+ ["Delivery method", "Brand"],
+ ["Delivery method", "Business entity"],
+ ["Delivery method", "Business entity type"],
+ ["Delivery method", "Business function"],
+ ["Delivery method", "Day of week"],
+ ["Delivery method", "Location"],
+ ["Delivery method", "Offering"],
+ ["Delivery method", "Opening hours specification"],
+ ["Delivery method", "Payment method"],
+ ["Delivery method", "Price specification"],
+ ["Delivery method", "Product or service"],
+ ["Delivery method", "Quantitative value"],
+ ["Delivery method", "Type and quantity node"],
+ ["Delivery method", "Warranty promise"],
+ ["Delivery method", "Warranty scope"],
+ ["Business function", "Brand"],
+ ["Business function", "Business entity"],
+ ["Business function", "Business entity type"],
+ ["Business function", "Day of week"],
+ ["Business function", "Delivery method"],
+ ["Business function", "Location"],
+ ["Business function", "Offering"],
+ ["Business function", "Opening hours specification"],
+ ["Business function", "Payment method"],
+ ["Business function", "Price specification"],
+ ["Business function", "Product or service"],
+ ["Business function", "Quantitative value"],
+ ["Business function", "Type and quantity node"],
+ ["Business function", "Warranty promise"],
+ ["Business function", "Warranty scope"],
+ ["Payment method", "Brand"],
+ ["Payment method", "Business entity"],
+ ["Payment method", "Business entity type"],
+ ["Payment method", "Business function"],
+ ["Payment method", "Day of week"],
+ ["Payment method", "Delivery method"],
+ ["Payment method", "Location"],
+ ["Payment method", "Offering"],
+ ["Payment method", "Opening hours specification"],
+ ["Payment method", "Price specification"],
+ ["Payment method", "Quantitative value"],
+ ["Payment method", "Type and quantity node"],
+ ["Payment method", "Warranty promise"],
+ ["Payment method", "Warranty scope"],
+ ["Day of week", "Brand"],
+ ["Day of week", "Business entity"],
+ ["Day of week", "Business entity type"],
+ ["Day of week", "Business function"],
+ ["Day of week", "Delivery method"],
+ ["Day of week", "Location"],
+ ["Day of week", "Offering"],
+ ["Day of week", "Opening hours specification"],
+ ["Day of week", "Payment method"],
+ ["Day of week", "Price specification"],
+ ["Day of week", "Product or service"],
+ ["Day of week", "Quantitative value"],
+ ["Day of week", "Type and quantity node"],
+ ["Day of week", "Warranty promise"],
+ ["Day of week", "Warranty scope"],
+ ["Price specification", "Brand"],
+ ["Price specification", "Business entity"],
+ ["Price specification", "Business entity type"],
+ ["Price specification", "Business function"],
+ ["Price specification", "Day of week"],
+ ["Price specification", "Delivery method"],
+ ["Price specification", "Location"],
+ ["Price specification", "Offering"],
+ ["Price specification", "Opening hours specification"],
+ ["Price specification", "Payment method"],
+ ["Price specification", "Product or service"],
+ ["Price specification", "Quantitative value"],
+ ["Price specification", "Type and quantity node"],
+ ["Price specification", "Warranty promise"],
+ ["Price specification", "Warranty scope"],
+ ["Business entity", "Brand"],
+ ["Business entity", "Business entity type"],
+ ["Business entity", "Business function"],
+ ["Business entity", "Day of week"],
+ ["Business entity", "Delivery method"],
+ ["Business entity", "Location"],
+ ["Business entity", "Offering"],
+ ["Business entity", "Opening hours specification"],
+ ["Business entity", "Payment method"],
+ ["Business entity", "Price specification"],
+ ["Business entity", "Quantitative value"],
+ ["Business entity", "Type and quantity node"],
+ ["Business entity", "Warranty promise"],
+ ["Business entity", "Warranty scope"],
+ ["Quantitative value", "Brand"],
+ ["Quantitative value", "Business entity"],
+ ["Quantitative value", "Business entity type"],
+ ["Quantitative value", "Business function"],
+ ["Quantitative value", "Day of week"],
+ ["Quantitative value", "Delivery method"],
+ ["Quantitative value", "Location"],
+ ["Quantitative value", "Offering"],
+ ["Quantitative value", "Opening hours specification"],
+ ["Quantitative value", "Payment method"],
+ ["Quantitative value", "Price specification"],
+ ["Quantitative value", "Product or service"],
+ ["Quantitative value", "Qualitative value"],
+ ["Quantitative value", "Type and quantity node"],
+ ["Quantitative value", "Warranty promise"],
+ ["Quantitative value", "Warranty scope"],
+ ["Product or service", "Brand"],
+ ["Product or service", "Business entity type"],
+ ["Product or service", "Business function"],
+ ["Product or service", "Day of week"],
+ ["Product or service", "Delivery method"],
+ ["Product or service", "Offering"],
+ ["Product or service", "Opening hours specification"],
+ ["Product or service", "Price specification"],
+ ["Product or service", "Quantitative value"],
+ ["Product or service", "Type and quantity node"],
+ ["Product or service", "Warranty promise"],
+ ["Product or service", "Warranty scope"],
+ ["Offering", "Brand"],
+ ["Offering", "Business entity"],
+ ["Offering", "Business entity type"],
+ ["Offering", "Business function"],
+ ["Offering", "Day of week"],
+ ["Offering", "Delivery method"],
+ ["Offering", "Location"],
+ ["Offering", "Opening hours specification"],
+ ["Offering", "Payment method"],
+ ["Offering", "Price specification"],
+ ["Offering", "Product or service"],
+ ["Offering", "Qualitative value"],
+ ["Offering", "Quantitative value"],
+ ["Offering", "Type and quantity node"],
+ ["Offering", "Warranty promise"],
+ ["Offering", "Warranty scope"]
+ ],
+ "domain": [
+ ["accepted payment methods", "Offering"],
+ ["add-on", "Offering"],
+ ["advance booking requirement", "Offering"],
+ ["amount of this good", "Type and quantity node"],
+ ["applies to delivery method", "Delivery charge specification"],
+ ["applies to payment method", "Payment charge specification"],
+ ["availability ends", "Offering"],
+ ["availability starts", "Offering"],
+ ["available at or from", "Offering"],
+ ["available delivery methods", "Offering"],
+ ["billing increment", "Unit price specification"],
+ ["category", "Product or service"],
+ ["closes", "Opening hours specification"],
+ ["color", "Product or service"],
+ ["condition", "Offering"],
+ ["delivery lead time", "Offering"],
+ ["depth", "Product or service"],
+ ["duration of warranty in months", "Warranty promise"],
+ ["eligible customer types", "Offering"],
+ ["eligible duration", "Offering"],
+ ["eligible regions", "Delivery charge specification"],
+ ["eligible transaction volume", "Offering"],
+ ["has brand", "Business entity"],
+ ["has business function", "Offering"],
+ ["has currency", "Price specification"],
+ ["has currency value", "Price specification"],
+ ["has DUNS", "Business entity"],
+ ["has EAN/UCC-13", "Offering"],
+ ["has eligible quantity", "Offering"],
+ ["has GTIN-14", "Offering"],
+ ["has GTIN-8", "Offering"],
+ ["has Global Location Number", "Business entity"],
+ ["has ISIC v4", "Business entity"],
+ ["has inventory level", "Offering"],
+ ["has MPN", "Offering"],
+ ["has make and model", "Individual"],
+ ["has NAICS", "Business entity"],
+ ["has opening hours day of week", "Opening hours specification"],
+ ["has opening hours specification", "Location"],
+ ["has POS", "Business entity"],
+ ["has price specification", "Offering"],
+ ["has Stock Keeping Unit", "Offering"],
+ ["has unit of measurement", "Quantitative value"],
+ ["has value", "Quantitative value"],
+ ["has value float", "Quantitative value float"],
+ ["has value integer", "Quantitative value integer"],
+ ["has warranty promise", "Offering"],
+ ["has warranty scope", "Warranty promise"],
+ ["height", "Product or service"],
+ ["includes", "Offering"],
+ ["includes object", "Offering"],
+ ["is accessory or spare part for", "Product or service"],
+ ["is consumable for", "Product or service"],
+ ["is list price (DEPRECATED)", "Unit price specification"],
+ ["is similar to", "Product or service"],
+ ["is variant of", "Product or service model"],
+ ["legal name", "Business entity"],
+ ["has max value", "Quantitative value"],
+ ["has min value", "Quantitative value"],
+ ["has max currency value", "Price specification"],
+ ["has max value float", "Quantitative value float"],
+ ["has max value integer", "Quantitative value integer"],
+ ["has min currency value", "Price specification"],
+ ["has min value float", "Quantitative value float"],
+ ["has min value integer", "Quantitative value integer"],
+ ["has next", "Day of week"],
+ ["has previous", "Day of week"],
+ ["equal", "Qualitative value"],
+ ["greater", "Qualitative value"],
+ ["greater or equal", "Qualitative value"],
+ ["has manufacturer", "Product or service"],
+ ["lesser", "Qualitative value"],
+ ["lesser or equal", "Qualitative value"],
+ ["name", "owl:Thing"],
+ ["non equal", "Qualitative value"],
+ ["predecessor of", "Product or service model"],
+ ["successor of", "Product or service model"],
+ ["offers", "Business entity"],
+ ["opens", "Opening hours specification"],
+ ["owns", "Business entity"],
+ ["price type", "Unit price specification"],
+ ["qualitative product or service property", "Product or service"],
+ ["quantitative product or service property", "Product or service"],
+ ["seeks", "Business entity"],
+ ["serial number", "Individual"],
+ ["tax ID", "Business entity"],
+ ["type of good", "Type and quantity node"],
+ ["valid from", "Offering"],
+ ["valid through", "Offering"],
+ ["value added tax included", "Price specification"],
+ ["value reference", "Qualitative value"],
+ ["VAT ID", "Business entity"],
+ ["weight", "Product or service"],
+ ["width", "Product or service"],
+ ["datatype product or service property", "Product or service"],
+ ["description", "owl:Thing"]
+ ],
+ "range": [
+ ["accepted payment methods", "Payment method"],
+ ["add-on", "Offering"],
+ ["advance booking requirement", "Quantitative value integer"],
+ ["amount of this good", "xsd:float"],
+ ["applies to delivery method", "Delivery method"],
+ ["applies to payment method", "Payment method"],
+ ["availability ends", "xsd:dateTime"],
+ ["availability starts", "xsd:dateTime"],
+ ["available at or from", "Location"],
+ ["available delivery methods", "Delivery method"],
+ ["billing increment", "xsd:float"],
+ ["category", "rdfs:Literal"],
+ ["closes", "xsd:time"],
+ ["color", "rdfs:Literal"],
+ ["condition", "rdfs:Literal"],
+ ["delivery lead time", "Quantitative value integer"],
+ ["depth", "Quantitative value"],
+ ["duration of warranty in months", "xsd:int"],
+ ["eligible customer types", "Business entity type"],
+ ["eligible duration", "Quantitative value"],
+ ["eligible regions", "xsd:string"],
+ ["eligible transaction volume", "Price specification"],
+ ["has brand", "Brand"],
+ ["has business function", "Business function"],
+ ["has currency", "xsd:string"],
+ ["has currency value", "xsd:float"],
+ ["has DUNS", "xsd:string"],
+ ["has EAN/UCC-13", "xsd:string"],
+ ["has eligible quantity", "Quantitative value"],
+ ["has GTIN-14", "xsd:string"],
+ ["has GTIN-8", "xsd:string"],
+ ["has Global Location Number", "xsd:string"],
+ ["has ISIC v4", "xsd:int"],
+ ["has inventory level", "Quantitative value float"],
+ ["has MPN", "xsd:string"],
+ ["has make and model", "Product or service model"],
+ ["has NAICS", "xsd:int"],
+ ["has opening hours day of week", "Day of week"],
+ ["has opening hours specification", "Opening hours specification"],
+ ["has POS", "Location"],
+ ["has price specification", "Price specification"],
+ ["has Stock Keeping Unit", "xsd:string"],
+ ["has unit of measurement", "xsd:string"],
+ ["has value", "rdfs:Literal"],
+ ["has value float", "xsd:float"],
+ ["has value integer", "xsd:int"],
+ ["has warranty promise", "Warranty promise"],
+ ["has warranty scope", "Warranty scope"],
+ ["height", "Quantitative value"],
+ ["includes", "Product or service"],
+ ["includes object", "Type and quantity node"],
+ ["is accessory or spare part for", "Product or service"],
+ ["is consumable for", "Product or service"],
+ ["is list price (DEPRECATED)", "xsd:boolean"],
+ ["is similar to", "Product or service"],
+ ["is variant of", "Product or service model"],
+ ["legal name", "rdfs:Literal"],
+ ["has max value", "rdfs:Literal"],
+ ["has min value", "rdfs:Literal"],
+ ["has max currency value", "xsd:float"],
+ ["has max value float", "xsd:float"],
+ ["has max value integer", "xsd:int"],
+ ["has min currency value", "xsd:float"],
+ ["has min value float", "xsd:float"],
+ ["has min value integer", "xsd:int"],
+ ["has next", "Day of week"],
+ ["has previous", "Day of week"],
+ ["equal", "Qualitative value"],
+ ["greater", "Qualitative value"],
+ ["greater or equal", "Qualitative value"],
+ ["has manufacturer", "Business entity"],
+ ["lesser", "Qualitative value"],
+ ["lesser or equal", "Qualitative value"],
+ ["name", "rdfs:Literal"],
+ ["non equal", "Qualitative value"],
+ ["predecessor of", "Product or service model"],
+ ["successor of", "Product or service model"],
+ ["offers", "Offering"],
+ ["opens", "xsd:time"],
+ ["owns", "Individual"],
+ ["price type", "xsd:string"],
+ ["qualitative product or service property", "Qualitative value"],
+ ["quantitative product or service property", "Quantitative value"],
+ ["seeks", "Offering"],
+ ["serial number", "xsd:string"],
+ ["tax ID", "xsd:string"],
+ ["value added tax included", "xsd:boolean"],
+ ["VAT ID", "xsd:string"],
+ ["weight", "Quantitative value"],
+ ["width", "Quantitative value"],
+ ["datatype product or service property", "rdfs:Literal"],
+ ["description", "rdfs:Literal"]
+ ],
+ "subPropertyOf": [
+ ["has currency value", "has max currency value"],
+ ["has currency value", "has min currency value"],
+ ["has value", "has max value"],
+ ["has value", "has min value"],
+ ["has value float", "has max value float"],
+ ["has value float", "has min value float"],
+ ["has value integer", "has max value integer"],
+ ["has value integer", "has min value integer"],
+ ["has max value float", "has max value"],
+ ["has max value integer", "has max value"],
+ ["has min value float", "has min value"],
+ ["has min value integer", "has min value"],
+ ["color", "datatype product or service property"],
+ ["depth", "quantitative product or service property"],
+ ["height", "quantitative product or service property"],
+ ["weight", "quantitative product or service property"],
+ ["width", "quantitative product or service property"],
+ ["has EAN/UCC-13", "schema:productID"],
+ ["has GTIN-14", "schema:productID"],
+ ["has GTIN-8", "schema:productID"],
+ ["has MPN", "schema:productID"],
+ ["has Stock Keeping Unit", "schema:productID"]
+ ]
+}
diff --git a/benchmark/ontoaxiom/results/condition_d/goodrelations_scores.json b/benchmark/ontoaxiom/results/condition_d/goodrelations_scores.json
new file mode 100644
index 00000000..5ad9815e
--- /dev/null
+++ b/benchmark/ontoaxiom/results/condition_d/goodrelations_scores.json
@@ -0,0 +1,8 @@
+{
+ "subClassOf": {"precision": 1.0, "recall": 1.0, "f1": 1.0, "tp": 19, "fp": 0, "fn": 0},
+ "disjointWith": {"precision": 0.992, "recall": 0.992, "f1": 0.992, "tp": 253, "fp": 2, "fn": 2},
+ "domain": {"precision": 1.0, "recall": 1.0, "f1": 1.0, "tp": 38, "fp": 0, "fn": 0},
+ "range": {"precision": 1.0, "recall": 1.0, "f1": 1.0, "tp": 95, "fp": 0, "fn": 0},
+ "subPropertyOf": {"precision": 1.0, "recall": 1.0, "f1": 1.0, "tp": 22, "fp": 0, "fn": 0},
+ "overall_f1": 0.998
+}
diff --git a/benchmark/ontoaxiom/results/condition_d/gufo_extracted.json b/benchmark/ontoaxiom/results/condition_d/gufo_extracted.json
new file mode 100644
index 00000000..549fdc94
--- /dev/null
+++ b/benchmark/ontoaxiom/results/condition_d/gufo_extracted.json
@@ -0,0 +1,210 @@
+{
+ "ontology": "gufo",
+ "source": "benchmark/ontoaxiom/data/ontoaxiom/ontologies/gufo.ttl",
+ "subClassOf": [
+ ["AbstractIndividual", "Individual"],
+ ["AbstractIndividualType", "Type"],
+ ["AntiRigidType", "NonRigidType"],
+ ["Aspect", "Endurant"],
+ ["Category", "NonSortal"],
+ ["Category", "RigidType"],
+ ["Collection", "Object"],
+ ["ComparativeRelationshipType", "RelationshipType"],
+ ["ConcreteIndividual", "Individual"],
+ ["ConcreteIndividualType", "Type"],
+ ["Endurant", "ConcreteIndividual"],
+ ["EndurantType", "ConcreteIndividualType"],
+ ["Event", "ConcreteIndividual"],
+ ["EventType", "ConcreteIndividualType"],
+ ["ExtrinsicAspect", "Aspect"],
+ ["ExtrinsicMode", "ExtrinsicAspect"],
+ ["FixedCollection", "Collection"],
+ ["FunctionalComplex", "Object"],
+ ["IntrinsicAspect", "Aspect"],
+ ["IntrinsicMode", "IntrinsicAspect"],
+ ["Kind", "RigidType"],
+ ["Kind", "Sortal"],
+ ["MaterialRelationshipType", "RelationshipType"],
+ ["Mixin", "NonSortal"],
+ ["Mixin", "SemiRigidType"],
+ ["NonRigidType", "EndurantType"],
+ ["NonSortal", "EndurantType"],
+ ["Object", "Endurant"],
+ ["Participation", "Event"],
+ ["Phase", "AntiRigidType"],
+ ["Phase", "Sortal"],
+ ["PhaseMixin", "AntiRigidType"],
+ ["PhaseMixin", "NonSortal"],
+ ["Quality", "IntrinsicAspect"],
+ ["QualityValue", "AbstractIndividual"],
+ ["QualityValueAttributionSituation", "Situation"],
+ ["Quantity", "Object"],
+ ["RelationshipType", "Type"],
+ ["Relator", "ExtrinsicAspect"],
+ ["RigidType", "EndurantType"],
+ ["Role", "AntiRigidType"],
+ ["Role", "Sortal"],
+ ["RoleMixin", "AntiRigidType"],
+ ["RoleMixin", "NonSortal"],
+ ["SemiRigidType", "NonRigidType"],
+ ["Situation", "ConcreteIndividual"],
+ ["SituationType", "ConcreteIndividualType"],
+ ["Sortal", "EndurantType"],
+ ["SubKind", "RigidType"],
+ ["SubKind", "Sortal"],
+ ["TemporaryConstitutionSituation", "Situation"],
+ ["TemporaryInstantiationSituation", "Situation"],
+ ["TemporaryParthoodSituation", "Situation"],
+ ["TemporaryRelationshipSituation", "Situation"],
+ ["VariableCollection", "Collection"],
+ ["Instant", "AbstractIndividual"]
+ ],
+ "disjointWith": [
+ ["AbstractIndividual", "ConcreteIndividual"],
+ ["AbstractIndividualType", "ConcreteIndividualType"],
+ ["AbstractIndividualType", "RelationshipType"],
+ ["AntiRigidType", "SemiRigidType"],
+ ["Aspect", "Object"],
+ ["ComparativeRelationshipType", "MaterialRelationshipType"],
+ ["ConcreteIndividualType", "RelationshipType"],
+ ["EndurantType", "EventType"],
+ ["EndurantType", "SituationType"],
+ ["EventType", "SituationType"],
+ ["ExtrinsicAspect", "IntrinsicAspect"],
+ ["ExtrinsicMode", "Relator"],
+ ["FixedCollection", "VariableCollection"],
+ ["Individual", "Type"],
+ ["IntrinsicMode", "Quality"],
+ ["Kind", "SubKind"],
+ ["NonRigidType", "RigidType"],
+ ["NonSortal", "Sortal"],
+ ["Phase", "Role"],
+ ["PhaseMixin", "RoleMixin"],
+ ["QualityValueAttributionSituation", "TemporaryConstitutionSituation"],
+ ["QualityValueAttributionSituation", "TemporaryInstantiationSituation"],
+ ["QualityValueAttributionSituation", "TemporaryParthoodSituation"],
+ ["QualityValueAttributionSituation", "TemporaryRelationshipSituation"],
+ ["TemporaryConstitutionSituation", "TemporaryInstantiationSituation"],
+ ["TemporaryConstitutionSituation", "TemporaryRelationshipSituation"],
+ ["TemporaryInstantiationSituation", "TemporaryParthoodSituation"],
+ ["TemporaryInstantiationSituation", "TemporaryRelationshipSituation"],
+ ["TemporaryParthoodSituation", "TemporaryRelationshipSituation"],
+ ["Collection", "FunctionalComplex"],
+ ["Collection", "Quantity"],
+ ["FunctionalComplex", "Quantity"],
+ ["Endurant", "Event"],
+ ["Endurant", "Situation"],
+ ["Event", "Situation"]
+ ],
+ "domain": [
+ ["broughtAbout", "Event"],
+ ["categorizes", "Type"],
+ ["concernsConstitutedEndurant", "TemporaryConstitutionSituation"],
+ ["concernsNonRigidType", "TemporaryInstantiationSituation"],
+ ["concernsQualityType", "QualityValueAttributionSituation"],
+ ["concernsReifiedQualityValue", "QualityValueAttributionSituation"],
+ ["concernsRelatedEndurant", "TemporaryRelationshipSituation"],
+ ["concernsRelationshipType", "TemporaryRelationshipSituation"],
+ ["concernsTemporaryWhole", "TemporaryParthoodSituation"],
+ ["constitutes", "ConcreteIndividual"],
+ ["contributedToTrigger", "Situation"],
+ ["externallyDependsOn", "ExtrinsicMode"],
+ ["hasAssociatedQualityValueType", "EndurantType"],
+ ["hasBeginPoint", "ConcreteIndividual"],
+ ["hasEndPoint", "ConcreteIndividual"],
+ ["hasReifiedQualityValue", "ConcreteIndividual"],
+ ["historicallyDependsOn", "ConcreteIndividual"],
+ ["inheresIn", "Aspect"],
+ ["isAspectProperPartOf", "Aspect"],
+ ["isCollectionMemberOf", "Object"],
+ ["isComponentOf", "Object"],
+ ["isDerivedFrom", "ComparativeRelationshipType"],
+ ["isDerivedFrom", "MaterialRelationshipType"],
+ ["isEventProperPartOf", "Event"],
+ ["isObjectProperPartOf", "Object"],
+ ["isProperPartOf", "owl:Thing"],
+ ["isSituationProperPartOf", "Situation"],
+ ["isSubCollectionOf", "Collection"],
+ ["isSubQuantityOf", "Quantity"],
+ ["manifestedIn", "Aspect"],
+ ["mediates", "Relator"],
+ ["participatedIn", "Object"],
+ ["partitions", "Type"],
+ ["standsIn", "owl:Thing"],
+ ["standsInQualifiedAttribution", "Endurant"],
+ ["standsInQualifiedConstitution", "Endurant"],
+ ["standsInQualifiedInstantiation", "Endurant"],
+ ["standsInQualifiedParthood", "Endurant"],
+ ["standsInQualifiedRelationship", "Endurant"],
+ ["wasCreatedIn", "Endurant"],
+ ["wasTerminatedIn", "Endurant"],
+ ["concernsQualityValue", "QualityValueAttributionSituation"],
+ ["hasBeginPointInXSDDate", "ConcreteIndividual"],
+ ["hasBeginPointInXSDDateTimeStamp", "ConcreteIndividual"],
+ ["hasEndPointInXSDDate", "ConcreteIndividual"],
+ ["hasEndPointInXSDDateTimeStamp", "ConcreteIndividual"],
+ ["hasQualityValue", "ConcreteIndividual"],
+ ["hasValueComponent", "QualityValue"]
+ ],
+ "range": [
+ ["broughtAbout", "Situation"],
+ ["categorizes", "Type"],
+ ["concernsConstitutedEndurant", "Endurant"],
+ ["concernsNonRigidType", "NonRigidType"],
+ ["concernsQualityType", "EndurantType"],
+ ["concernsReifiedQualityValue", "QualityValue"],
+ ["concernsRelatedEndurant", "Endurant"],
+ ["concernsRelationshipType", "RelationshipType"],
+ ["concernsTemporaryWhole", "Endurant"],
+ ["constitutes", "ConcreteIndividual"],
+ ["contributedToTrigger", "Event"],
+ ["externallyDependsOn", "Endurant"],
+ ["hasAssociatedQualityValueType", "AbstractIndividualType"],
+ ["hasBeginPoint", "Instant"],
+ ["hasEndPoint", "Instant"],
+ ["hasReifiedQualityValue", "QualityValue"],
+ ["historicallyDependsOn", "ConcreteIndividual"],
+ ["inheresIn", "ConcreteIndividual"],
+ ["isAspectProperPartOf", "Aspect"],
+ ["isCollectionMemberOf", "Collection"],
+ ["isComponentOf", "FunctionalComplex"],
+ ["isDerivedFrom", "EndurantType"],
+ ["isEventProperPartOf", "Event"],
+ ["isObjectProperPartOf", "Object"],
+ ["isProperPartOf", "owl:Thing"],
+ ["isSituationProperPartOf", "Situation"],
+ ["isSubCollectionOf", "Collection"],
+ ["isSubQuantityOf", "Quantity"],
+ ["manifestedIn", "Event"],
+ ["mediates", "Endurant"],
+ ["participatedIn", "Event"],
+ ["standsIn", "Situation"],
+ ["standsInQualifiedAttribution", "QualityValueAttributionSituation"],
+ ["standsInQualifiedConstitution", "TemporaryConstitutionSituation"],
+ ["standsInQualifiedInstantiation", "TemporaryInstantiationSituation"],
+ ["standsInQualifiedParthood", "TemporaryParthoodSituation"],
+ ["standsInQualifiedRelationship", "TemporaryRelationshipSituation"],
+ ["wasCreatedIn", "Event"],
+ ["wasTerminatedIn", "Event"],
+ ["hasBeginPointInXSDDate", "xsd:date"],
+ ["hasBeginPointInXSDDateTimeStamp", "xsd:dateTimeStamp"],
+ ["hasEndPointInXSDDate", "xsd:date"],
+ ["hasEndPointInXSDDateTimeStamp", "xsd:dateTimeStamp"]
+ ],
+ "subPropertyOf": [
+ ["isAspectProperPartOf", "isProperPartOf"],
+ ["isCollectionMemberOf", "isObjectProperPartOf"],
+ ["isComponentOf", "isObjectProperPartOf"],
+ ["isEventProperPartOf", "isProperPartOf"],
+ ["isObjectProperPartOf", "isProperPartOf"],
+ ["isSituationProperPartOf", "isProperPartOf"],
+ ["isSubCollectionOf", "isObjectProperPartOf"],
+ ["isSubQuantityOf", "isObjectProperPartOf"],
+ ["partitions", "categorizes"],
+ ["standsInQualifiedAttribution", "standsIn"],
+ ["standsInQualifiedConstitution", "standsIn"],
+ ["standsInQualifiedInstantiation", "standsIn"],
+ ["standsInQualifiedParthood", "standsIn"],
+ ["standsInQualifiedRelationship", "standsIn"]
+ ]
+}
diff --git a/benchmark/ontoaxiom/results/condition_d/music.json b/benchmark/ontoaxiom/results/condition_d/music.json
new file mode 100644
index 00000000..c348c051
--- /dev/null
+++ b/benchmark/ontoaxiom/results/condition_d/music.json
@@ -0,0 +1,382 @@
+{
+ "subClassOf": [
+ ["Activity", "NE Event"],
+ ["Analog Signal", "Signal"],
+ ["Arrangement", "NE Event"],
+ ["Arranger", "Agent"],
+ ["Audio File", "Document"],
+ ["Audio File", "Medium"],
+ ["CD", "Medium"],
+ ["Composer", "Agent"],
+ ["Composition", "NE Event"],
+ ["Conductor", "Agent"],
+ ["Corporate Body", "Organization"],
+ ["DAT", "Medium"],
+ ["DCC", "Medium"],
+ ["DVDA", "Medium"],
+ ["Digital Signal", "Signal"],
+ ["E K", "Medium"],
+ ["Festival", "NE Event"],
+ ["Instrumentation", "Arrangement"],
+ ["Label", "Corporate Body"],
+ ["Libretto", "Musical Expression"],
+ ["Listener", "Agent"],
+ ["Lyrics", "Musical Expression"],
+ ["MD", "Medium"],
+ ["Magnetic Tape", "Medium"],
+ ["Medium", "Musical Item"],
+ ["Membership", "NE Event"],
+ ["Movement", "Musical Work"],
+ ["Music Artist", "Agent"],
+ ["Music Group", "Group"],
+ ["Music Group", "Music Artist"],
+ ["Musical Expression", "Expression"],
+ ["Musical Manifestation", "Manifestation"],
+ ["Musical Work", "Work"],
+ ["Orchestration", "Arrangement"],
+ ["Performance", "NE Event"],
+ ["Performer", "Agent"],
+ ["Published Libretto", "Musical Manifestation"],
+ ["Published Lyrics", "Musical Manifestation"],
+ ["Published Score", "Musical Manifestation"],
+ ["Record", "Musical Manifestation"],
+ ["Recording", "NE Event"],
+ ["Recording Session", "NE Event"],
+ ["Release", "Musical Manifestation"],
+ ["Release Event", "NE Event"],
+ ["SACD", "Medium"],
+ ["Score", "Musical Expression"],
+ ["Show", "NE Event"],
+ ["Signal", "Musical Expression"],
+ ["Signal Group", "Musical Expression"],
+ ["Solo Music Artist", "Music Artist"],
+ ["Solo Music Artist", "Person"],
+ ["Sound", "Musical Expression"],
+ ["Sound", "NE Event"],
+ ["Sound Engineer", "Agent"],
+ ["Stream", "Medium"],
+ ["Torrent", "Medium"],
+ ["Track", "Musical Manifestation"],
+ ["Transcription", "NE Event"],
+ ["Vinyl", "Medium"]
+ ],
+ "disjointWith": [
+ ["Analog Signal", "Digital Signal"],
+ ["Digital Signal", "Analog Signal"]
+ ],
+ "domain": [
+ ["MusicArtist", "activity"],
+ ["MusicArtist", "activity_end"],
+ ["MusicArtist", "activity_start"],
+ ["MusicalWork", "arranged_in"],
+ ["Arrangement", "arrangement_of"],
+ ["Membership", "artist"],
+ ["MusicalManifestation", "available_as"],
+ ["MusicArtist", "biography"],
+ ["DigitalSignal", "bitsPerSample"],
+ ["Release", "catalogue_number"],
+ ["Signal", "channels"],
+ ["Agent", "collaborated_with"],
+ ["MusicalManifestation", "compilation_of"],
+ ["MusicArtist", "compiled"],
+ ["MusicalManifestation", "compiler"],
+ ["MusicalWork", "composed_in"],
+ ["Composition", "composer"],
+ ["Agent", "conducted"],
+ ["Performance", "conductor"],
+ ["Signal", "derived_from"],
+ ["MusicArtist", "discography"],
+ ["MusicArtist", "djmixed"],
+ ["Signal", "djmixed_by"],
+ ["Release", "ean"],
+ ["MusicalItem", "encodes"],
+ ["AudioFile", "encoding"],
+ ["Agent", "engineered"],
+ ["Event", "event_homepage"],
+ ["Agent", "exchange_item"],
+ ["MusicArtist", "fanpage"],
+ ["Release", "grid"],
+ ["Membership", "group"],
+ ["Release", "gtin"],
+ ["Performance", "instrument"],
+ ["Signal", "interpreter"],
+ ["MusicArtist", "ipi"],
+ ["Signal", "isrc"],
+ ["MusicalWork", "iswc"],
+ ["MusicalManifestation", "item"],
+ ["Label", "lc"],
+ ["Agent", "listened"],
+ ["Performance", "listener"],
+ ["MusicalWork", "lyrics"],
+ ["MusicalManifestation", "media_type"],
+ ["MusicGroup", "member"],
+ ["Agent", "member_of"],
+ ["Agent", "membership"],
+ ["MusicalWork", "movement"],
+ ["Movement", "movement_number"],
+ ["Agent", "myspace"],
+ ["Track", "olga"],
+ ["Agent", "onlinecommunity"],
+ ["MusicalWork", "opus"],
+ ["MusicArtist", "origin"],
+ ["MusicalManifestation", "other_release_of"],
+ ["Performance", "performance_of"],
+ ["Agent", "performed"],
+ ["Performance", "performer"],
+ ["Agent", "possess_item"],
+ ["MusicalManifestation", "preview"],
+ ["Agent", "produced"],
+ ["Recording", "produced_signal"],
+ ["RecordingSession", "produced_signal_group"],
+ ["Performance", "produced_sound"],
+ ["Composition", "produced_work"],
+ ["MusicalManifestation", "producer"],
+ ["MusicalManifestation", "publication_of"],
+ ["Agent", "published"],
+ ["MusicalExpression", "published_as"],
+ ["MusicalManifestation", "publisher"],
+ ["MusicalManifestation", "publishing_location"],
+ ["Signal", "puid"],
+ ["Release", "record"],
+ ["Release", "record_count"],
+ ["Record", "record_number"],
+ ["Track", "record_side"],
+ ["Performance", "recorded_as"],
+ ["Sound", "recorded_in"],
+ ["Recording", "recording_of"],
+ ["Signal", "records"],
+ ["ReleaseEvent", "release"],
+ ["MusicalManifestation", "release_status"],
+ ["MusicalManifestation", "release_type"],
+ ["MusicArtist", "remixed"],
+ ["DigitalSignal", "sample_rate"],
+ ["MusicArtist", "sampled"],
+ ["AnalogSignal", "sampled_version"],
+ ["DigitalSignal", "sampled_version_of"],
+ ["Agent", "sell_item"],
+ ["SignalGroup", "signal"],
+ ["Performance", "singer"],
+ ["MusicArtist", "supporting_musician"],
+ ["Lyrics", "text"],
+ ["Signal", "time"],
+ ["Record", "track"],
+ ["Release", "track_count"],
+ ["Track", "track_number"],
+ ["Expression", "translation_of"],
+ ["MusicalManifestation", "tribute_to"],
+ ["Signal", "trmid"],
+ ["Release", "upc"],
+ ["Thing", "uuid"],
+ ["Agent", "want_item"]
+ ],
+ "range": [
+ ["activity", "Activity"],
+ ["activity_end", "date"],
+ ["activity_start", "date"],
+ ["amazon_asin", "Document"],
+ ["arranged_in", "Arrangement"],
+ ["arrangement_of", "MusicalWork"],
+ ["artist", "Agent"],
+ ["available_as", "MusicalItem"],
+ ["biography", "Document"],
+ ["bitsPerSample", "int"],
+ ["bpm", "float"],
+ ["catalogue_number", "string"],
+ ["channels", "int"],
+ ["collaborated_with", "Agent"],
+ ["compilation_of", "Signal"],
+ ["compiled", "MusicalManifestation"],
+ ["compiler", "MusicArtist"],
+ ["composed_in", "Composition"],
+ ["composer", "Agent"],
+ ["conducted", "Performance"],
+ ["conductor", "Agent"],
+ ["derived_from", "Signal"],
+ ["discography", "Document"],
+ ["discogs", "Document"],
+ ["djmixed", "Signal"],
+ ["djmixed_by", "MusicArtist"],
+ ["download", "Document"],
+ ["duration", "float"],
+ ["ean", "string"],
+ ["encodes", "Signal"],
+ ["encoding", "Literal"],
+ ["engineer", "Agent"],
+ ["event_homepage", "Document"],
+ ["exchange_item", "Item"],
+ ["fanpage", "Document"],
+ ["free_download", "Document"],
+ ["genre", "Genre"],
+ ["grid", "string"],
+ ["group", "Group"],
+ ["gtin", "string"],
+ ["homepage", "Document"],
+ ["image", "Image"],
+ ["imdb", "Document"],
+ ["instrument", "Instrument"],
+ ["interpreter", "MusicArtist"],
+ ["ipi", "string"],
+ ["ismn", "string"],
+ ["isrc", "string"],
+ ["iswc", "string"],
+ ["item", "MusicalItem"],
+ ["key", "Key"],
+ ["label", "Label"],
+ ["lc", "string"],
+ ["licence", "License"],
+ ["listened", "Performance"],
+ ["listener", "Agent"],
+ ["lyrics", "Lyrics"],
+ ["mailorder", "Document"],
+ ["media_type", "MediaType"],
+ ["member", "Agent"],
+ ["member_of", "Group"],
+ ["membership", "Membership"],
+ ["movement", "Movement"],
+ ["movement_number", "int"],
+ ["musicbrainz", "Document"],
+ ["musicmoz", "Document"],
+ ["myspace", "Document"],
+ ["olga", "Document"],
+ ["onlinecommunity", "Document"],
+ ["opus", "Literal"],
+ ["origin", "SpatialThing"],
+ ["other_release_of", "MusicalManifestation"],
+ ["paid_download", "Document"],
+ ["performed", "Performance"],
+ ["performed_in", "Performance"],
+ ["performer", "Agent"],
+ ["possess_item", "Item"],
+ ["preview", "MusicalItem"],
+ ["preview_download", "Document"],
+ ["primary_instrument", "Instrument"],
+ ["produced", "MusicalManifestation"],
+ ["produced_score", "Score"],
+ ["produced_signal", "Signal"],
+ ["produced_signal_group", "SignalGroup"],
+ ["produced_sound", "Sound"],
+ ["produced_work", "MusicalWork"],
+ ["producer", "Agent"],
+ ["publication_of", "MusicalExpression"],
+ ["published", "MusicalManifestation"],
+ ["published_as", "MusicalManifestation"],
+ ["publisher", "Agent"],
+ ["publishing_location", "SpatialThing"],
+ ["puid", "string"],
+ ["record", "Record"],
+ ["record_count", "int"],
+ ["record_number", "nonNegativeInteger"],
+ ["record_side", "string"],
+ ["recorded_as", "Signal"],
+ ["recorded_in", "Recording"],
+ ["recording_of", "Sound"],
+ ["records", "Performance"],
+ ["release", "Release"],
+ ["release_status", "ReleaseStatus"],
+ ["release_type", "ReleaseType"],
+ ["remixed", "Signal"],
+ ["review", "Document"],
+ ["sample_rate", "float"],
+ ["sampled", "Signal"],
+ ["sampled_version", "DigitalSignal"],
+ ["sampled_version_of", "AnalogSignal"],
+ ["sell_item", "Item"],
+ ["signal", "Signal"],
+ ["singer", "Agent"],
+ ["supporting_musician", "MusicArtist"],
+ ["tempo", "string"],
+ ["time", "TemporalEntity"],
+ ["track", "Track"],
+ ["track_count", "int"],
+ ["track_number", "nonNegativeInteger"],
+ ["translation_of", "Expression"],
+ ["tribute_to", "MusicArtist"],
+ ["trmid", "string"],
+ ["upc", "string"],
+ ["want_item", "Item"],
+ ["wikipedia", "Document"]
+ ],
+ "subPropertyOf": [
+ ["amazon asin", "is primary topic of"],
+ ["arranged in", "is factor of"],
+ ["arrangement of", "factor"],
+ ["available as", "exemplar"],
+ ["biography", "is primary topic of"],
+ ["catalogue number", "uuid"],
+ ["composed in", "produced in"],
+ ["composer", "agent"],
+ ["conducted", "event"],
+ ["conducted", "is agent in"],
+ ["conductor", "agent"],
+ ["contains sample from", "derived from"],
+ ["derived from", "source"],
+ ["discography", "is primary topic of"],
+ ["discogs", "is primary topic of"],
+ ["djmix of", "derived from"],
+ ["download", "is primary topic of"],
+ ["ean", "gtin"],
+ ["engineer", "agent"],
+ ["engineered", "event"],
+ ["engineered", "is agent in"],
+ ["event homepage", "is primary topic of"],
+ ["fanpage", "is primary topic of"],
+ ["free download", "download"],
+ ["free download", "is primary topic of"],
+ ["genre", "genre"],
+ ["grid", "uuid"],
+ ["headliner", "performer"],
+ ["homepage", "is primary topic of"],
+ ["image", "depiction"],
+ ["imdb", "is primary topic of"],
+ ["instrument", "factor"],
+ ["ipi", "uuid"],
+ ["ismn", "uuid"],
+ ["isrc", "uuid"],
+ ["iswc", "uuid"],
+ ["item", "available as"],
+ ["lc", "uuid"],
+ ["listened", "event"],
+ ["listened", "is agent in"],
+ ["listener", "agent"],
+ ["mailorder", "is primary topic of"],
+ ["mashup of", "derived from"],
+ ["media type", "format"],
+ ["medley of", "derived from"],
+ ["member", "member"],
+ ["musicbrainz", "is primary topic of"],
+ ["musicbrainz guid", "uuid"],
+ ["musicmoz", "is primary topic of"],
+ ["myspace", "is primary topic of"],
+ ["olga", "is primary topic of"],
+ ["onlinecommunity", "is primary topic of"],
+ ["paid download", "download"],
+ ["paid download", "is primary topic of"],
+ ["performance of", "factor"],
+ ["performed", "event"],
+ ["performed", "is agent in"],
+ ["performed in", "is factor of"],
+ ["performer", "agent"],
+ ["preview", "available as"],
+ ["preview download", "download"],
+ ["preview download", "is primary topic of"],
+ ["produced score", "product"],
+ ["produced signal", "product"],
+ ["produced signal group", "product"],
+ ["produced sound", "product"],
+ ["produced work", "product"],
+ ["published as", "embodiment"],
+ ["recorded in", "is factor of"],
+ ["recording of", "factor"],
+ ["release", "product"],
+ ["remaster of", "derived from"],
+ ["remix of", "derived from"],
+ ["remixer", "interpreter"],
+ ["review", "is primary topic of"],
+ ["sampled version of", "derived from"],
+ ["sampler", "interpreter"],
+ ["singer", "performer"],
+ ["upc", "gtin"],
+ ["uuid", "identifier"],
+ ["wikipedia", "is primary topic of"]
+ ]
+}
diff --git a/benchmark/ontoaxiom/results/condition_d/music_extracted.json b/benchmark/ontoaxiom/results/condition_d/music_extracted.json
new file mode 100644
index 00000000..b2730cbb
--- /dev/null
+++ b/benchmark/ontoaxiom/results/condition_d/music_extracted.json
@@ -0,0 +1,415 @@
+{
+ "ontology": "Music Ontology",
+ "subClassOf": [
+ ["arranger", "Agent"],
+ ["CD", "Medium"],
+ ["composer", "Agent"],
+ ["conductor", "Agent"],
+ ["DAT", "Medium"],
+ ["DCC", "Medium"],
+ ["DVDA", "Medium"],
+ ["ED2K", "Medium"],
+ ["Festival", "Event"],
+ ["instrumentation", "Arrangement"],
+ ["libretto", "musical expression"],
+ ["listened", "Agent"],
+ ["MD", "Medium"],
+ ["MagneticTape", "Medium"],
+ ["orchestration", "Arrangement"],
+ ["performer", "Agent"],
+ ["SACD", "Medium"],
+ ["Show", "Event"],
+ ["solo music artist", "music artist"],
+ ["solo music artist", "Person"],
+ ["sound engineer", "Agent"],
+ ["Stream", "Medium"],
+ ["Torrent", "Medium"],
+ ["transcription", "Event"],
+ ["Vinyl", "Medium"],
+ ["activity", "Event"],
+ ["audio file", "Medium"],
+ ["audio file", "Document"],
+ ["music group", "music artist"],
+ ["music group", "Group"],
+ ["published libretto", "musical manifestation"],
+ ["published lyrics", "musical manifestation"],
+ ["published score", "musical manifestation"],
+ ["lyrics", "musical expression"],
+ ["movement", "musical work"],
+ ["release event", "Event"],
+ ["analogue signal", "signal"],
+ ["label", "corporate body"],
+ ["signal group", "musical expression"],
+ ["sound", "Event"],
+ ["sound", "musical expression"],
+ ["composition", "Event"],
+ ["recording", "Event"],
+ ["track", "musical manifestation"],
+ ["arrangement", "Event"],
+ ["corporate body", "Organization"],
+ ["release", "musical manifestation"],
+ ["Medium", "MusicalItem"],
+ ["musical expression", "Expression"],
+ ["performance", "Event"],
+ ["musical work", "Work"],
+ ["signal", "musical expression"],
+ ["music artist", "Agent"],
+ ["musical manifestation", "Manifestation"],
+ ["digital signal", "signal"],
+ ["record", "musical manifestation"],
+ ["membership", "Event"],
+ ["recording session", "Event"],
+ ["score", "musical expression"]
+ ],
+ "disjointWith": [
+ ["analogue signal", "digital signal"],
+ ["digital signal", "analogue signal"]
+ ],
+ "domain": [
+ ["activity", "music artist"],
+ ["activity end", "music artist"],
+ ["activity start", "music artist"],
+ ["amazon_asin", "Work"],
+ ["artist", "membership"],
+ ["biography", "music artist"],
+ ["bitsPerSample", "digital signal"],
+ ["bpm", "musical work"],
+ ["catalogue number", "release"],
+ ["channels", "signal"],
+ ["collaborated_with", "Agent"],
+ ["compilation_of", "musical manifestation"],
+ ["composer", "composition"],
+ ["contains_sample_from", "signal"],
+ ["discography", "music artist"],
+ ["discogs", "musical work"],
+ ["djmix_of", "signal"],
+ ["duration", "track"],
+ ["ean", "release"],
+ ["encodes", "MusicalItem"],
+ ["encoding", "audio file"],
+ ["exchange_item", "Agent"],
+ ["fanpage", "music artist"],
+ ["genre", "Agent"],
+ ["GRid", "release"],
+ ["group", "membership"],
+ ["headliner", "performance"],
+ ["homepage", "musical work"],
+ ["image", "musical work"],
+ ["imdb", "musical work"],
+ ["instrument", "performance"],
+ ["ipi", "music artist"],
+ ["ismn", "published lyrics"],
+ ["isrc", "signal"],
+ ["iswc", "musical work"],
+ ["item", "musical manifestation"],
+ ["key", "musical work"],
+ ["label", "release"],
+ ["lc", "label"],
+ ["licence", "Work"],
+ ["lyrics", "musical work"],
+ ["mailorder", "Manifestation"],
+ ["mashup_of", "signal"],
+ ["has media type", "musical manifestation"],
+ ["medley_of", "signal"],
+ ["member", "music group"],
+ ["member_of", "Agent"],
+ ["membership", "Agent"],
+ ["meter", "musical work"],
+ ["has_movement", "musical work"],
+ ["musicbrainz", "musical work"],
+ ["Musicbrainz GUID", "music artist"],
+ ["musicmoz", "music artist"],
+ ["myspace", "Agent"],
+ ["olga", "track"],
+ ["onlinecommunity", "Agent"],
+ ["opus", "musical work"],
+ ["origin", "music artist"],
+ ["other_release_of", "musical manifestation"],
+ ["possess_item", "Agent"],
+ ["preview", "musical manifestation"],
+ ["preview download", "Manifestation"],
+ ["primary instrument", "membership"],
+ ["produced score", "composition"],
+ ["produced signal group", "recording session"],
+ ["puid", "signal"],
+ ["released record", "release"],
+ ["record count", "release"],
+ ["has record number", "record"],
+ ["has record side", "track"],
+ ["release", "release event"],
+ ["remaster_of", "signal"],
+ ["remix_of", "signal"],
+ ["review", "Work"],
+ ["sell_item", "Agent"],
+ ["signal", "signal group"],
+ ["similar_to", "Agent"],
+ ["singer", "performance"],
+ ["supporting_musician", "music artist"],
+ ["tempo", "musical work"],
+ ["text", "lyrics"],
+ ["track count", "record"],
+ ["translation_of", "Expression"],
+ ["tribute_to", "musical manifestation"],
+ ["trmid", "signal"],
+ ["upc", "release"],
+ ["want_item", "Agent"],
+ ["wikipedia", "Work"],
+ ["universally unique identifier", "Thing"],
+ ["arranged in", "musical work"],
+ ["arrangement of", "arrangement"],
+ ["compiled", "music artist"],
+ ["compiler", "musical manifestation"],
+ ["conductor", "performance"],
+ ["djmixed", "music artist"],
+ ["djmixed_by", "signal"],
+ ["engineer", "performance"],
+ ["event homepage", "Event"],
+ ["free download", "Manifestation"],
+ ["listener", "performance"],
+ ["movement number", "movement"],
+ ["paid download", "Manifestation"],
+ ["produced", "Agent"],
+ ["produced signal", "recording"],
+ ["produced sound", "performance"],
+ ["producer", "musical manifestation"],
+ ["published", "Agent"],
+ ["publisher", "musical manifestation"],
+ ["publishingLocation", "musical manifestation"],
+ ["recorded as", "performance"],
+ ["records", "signal"],
+ ["release_status", "musical manifestation"],
+ ["release_type", "musical manifestation"],
+ ["remixed", "music artist"],
+ ["remixer", "signal"],
+ ["sample_rate", "digital signal"],
+ ["sampled", "music artist"],
+ ["sampled version", "analogue signal"],
+ ["sampler", "signal"],
+ ["time", "signal"],
+ ["track", "record"],
+ ["track number", "track"],
+ ["composed in", "musical work"],
+ ["conducted", "Agent"],
+ ["engineered", "Agent"],
+ ["gtin", "release"],
+ ["has interpeter", "signal"],
+ ["listened", "Agent"],
+ ["performance of", "performance"],
+ ["performed", "Agent"],
+ ["performed in", "score"],
+ ["produced work", "composition"],
+ ["publication of", "musical manifestation"],
+ ["published as", "musical expression"],
+ ["recorded in", "sound"],
+ ["recorded sound", "recording"],
+ ["sampled version of", "digital signal"],
+ ["derived from", "signal"],
+ ["available_as", "musical manifestation"]
+ ],
+ "range": [
+ ["activity", "activity"],
+ ["activity end", "date"],
+ ["activity start", "date"],
+ ["amazon_asin", "Document"],
+ ["artist", "Agent"],
+ ["biography", "Document"],
+ ["bitsPerSample", "int"],
+ ["bpm", "float"],
+ ["catalogue number", "string"],
+ ["channels", "int"],
+ ["collaborated_with", "Agent"],
+ ["compilation_of", "signal"],
+ ["composer", "Agent"],
+ ["discography", "Document"],
+ ["discogs", "Document"],
+ ["duration", "float"],
+ ["ean", "string"],
+ ["encodes", "signal"],
+ ["encoding", "Literal"],
+ ["exchange_item", "Item"],
+ ["fanpage", "Document"],
+ ["genre", "Genre"],
+ ["GRid", "string"],
+ ["group", "Group"],
+ ["homepage", "Document"],
+ ["image", "Image"],
+ ["imdb", "Document"],
+ ["instrument", "Instrument"],
+ ["ipi", "string"],
+ ["ismn", "string"],
+ ["isrc", "string"],
+ ["iswc", "string"],
+ ["item", "MusicalItem"],
+ ["key", "Key"],
+ ["label", "label"],
+ ["lc", "string"],
+ ["licence", "License"],
+ ["lyrics", "lyrics"],
+ ["mailorder", "Document"],
+ ["has media type", "MediaType"],
+ ["member", "Agent"],
+ ["member_of", "Group"],
+ ["membership", "membership"],
+ ["has_movement", "movement"],
+ ["musicbrainz", "Document"],
+ ["musicmoz", "Document"],
+ ["myspace", "Document"],
+ ["olga", "Document"],
+ ["onlinecommunity", "Document"],
+ ["opus", "Literal"],
+ ["origin", "SpatialThing"],
+ ["other_release_of", "musical manifestation"],
+ ["possess_item", "Item"],
+ ["preview", "MusicalItem"],
+ ["preview download", "Document"],
+ ["primary instrument", "Instrument"],
+ ["produced score", "score"],
+ ["produced signal group", "signal group"],
+ ["puid", "string"],
+ ["released record", "record"],
+ ["record count", "int"],
+ ["has record number", "nonNegativeInteger"],
+ ["has record side", "string"],
+ ["release", "release"],
+ ["review", "Document"],
+ ["sell_item", "Item"],
+ ["signal", "signal"],
+ ["singer", "Agent"],
+ ["supporting_musician", "music artist"],
+ ["tempo", "string"],
+ ["track count", "int"],
+ ["translation_of", "Expression"],
+ ["tribute_to", "music artist"],
+ ["trmid", "string"],
+ ["upc", "string"],
+ ["want_item", "Item"],
+ ["wikipedia", "Document"],
+ ["arranged in", "arrangement"],
+ ["arrangement of", "musical work"],
+ ["compiled", "musical manifestation"],
+ ["compiler", "music artist"],
+ ["conductor", "Agent"],
+ ["djmixed", "signal"],
+ ["djmixed_by", "music artist"],
+ ["engineer", "Agent"],
+ ["event homepage", "Document"],
+ ["free download", "Document"],
+ ["listener", "Agent"],
+ ["movement number", "int"],
+ ["paid download", "Document"],
+ ["produced", "musical manifestation"],
+ ["produced signal", "signal"],
+ ["produced sound", "sound"],
+ ["producer", "Agent"],
+ ["published", "musical manifestation"],
+ ["publisher", "Agent"],
+ ["publishingLocation", "SpatialThing"],
+ ["recorded as", "signal"],
+ ["records", "performance"],
+ ["release_status", "release status"],
+ ["release_type", "Release type"],
+ ["remixed", "signal"],
+ ["sample_rate", "float"],
+ ["sampled", "signal"],
+ ["sampled version", "digital signal"],
+ ["time", "TemporalEntity"],
+ ["track", "track"],
+ ["track number", "nonNegativeInteger"],
+ ["composed in", "composition"],
+ ["conducted", "performance"],
+ ["engineered", "performance"],
+ ["gtin", "string"],
+ ["has interpeter", "music artist"],
+ ["listened", "performance"],
+ ["performance of", "score"],
+ ["performed", "performance"],
+ ["performed in", "performance"],
+ ["produced work", "musical work"],
+ ["publication of", "musical expression"],
+ ["published as", "musical manifestation"],
+ ["recorded in", "recording"],
+ ["recorded sound", "sound"],
+ ["sampled version of", "analogue signal"],
+ ["derived from", "signal"],
+ ["available_as", "MusicalItem"]
+ ],
+ "subPropertyOf": [
+ ["amazon_asin", "isPrimaryTopicOf"],
+ ["biography", "isPrimaryTopicOf"],
+ ["catalogue number", "universally unique identifier"],
+ ["contains_sample_from", "derived from"],
+ ["discography", "isPrimaryTopicOf"],
+ ["discogs", "isPrimaryTopicOf"],
+ ["djmix_of", "derived from"],
+ ["ean", "gtin"],
+ ["fanpage", "isPrimaryTopicOf"],
+ ["genre", "genre"],
+ ["GRid", "universally unique identifier"],
+ ["headliner", "performer"],
+ ["homepage", "isPrimaryTopicOf"],
+ ["image", "depiction"],
+ ["imdb", "isPrimaryTopicOf"],
+ ["instrument", "factor"],
+ ["ipi", "universally unique identifier"],
+ ["ismn", "universally unique identifier"],
+ ["isrc", "universally unique identifier"],
+ ["iswc", "universally unique identifier"],
+ ["item", "available_as"],
+ ["lc", "universally unique identifier"],
+ ["mailorder", "isPrimaryTopicOf"],
+ ["mashup_of", "derived from"],
+ ["has media type", "format"],
+ ["medley_of", "derived from"],
+ ["member", "member"],
+ ["Musicbrainz GUID", "universally unique identifier"],
+ ["musicbrainz", "isPrimaryTopicOf"],
+ ["musicmoz", "isPrimaryTopicOf"],
+ ["myspace", "isPrimaryTopicOf"],
+ ["olga", "isPrimaryTopicOf"],
+ ["onlinecommunity", "isPrimaryTopicOf"],
+ ["preview", "available_as"],
+ ["preview download", "download"],
+ ["preview download", "isPrimaryTopicOf"],
+ ["produced score", "product"],
+ ["produced signal group", "product"],
+ ["release", "product"],
+ ["remaster_of", "derived from"],
+ ["remix_of", "derived from"],
+ ["remixer", "has interpeter"],
+ ["review", "isPrimaryTopicOf"],
+ ["sampler", "has interpeter"],
+ ["singer", "performer"],
+ ["upc", "gtin"],
+ ["wikipedia", "isPrimaryTopicOf"],
+ ["universally unique identifier", "identifier"],
+ ["arranged in", "isFactorOf"],
+ ["arrangement of", "factor"],
+ ["conductor", "agent"],
+ ["composer", "agent"],
+ ["engineer", "agent"],
+ ["event homepage", "isPrimaryTopicOf"],
+ ["free download", "download"],
+ ["free download", "isPrimaryTopicOf"],
+ ["listener", "agent"],
+ ["paid download", "download"],
+ ["paid download", "isPrimaryTopicOf"],
+ ["produced signal", "product"],
+ ["produced sound", "product"],
+ ["composed in", "producedIn"],
+ ["conducted", "isAgentIn"],
+ ["engineered", "isAgentIn"],
+ ["listened", "isAgentIn"],
+ ["performance of", "factor"],
+ ["performed", "isAgentIn"],
+ ["performed in", "isFactorOf"],
+ ["produced work", "product"],
+ ["published as", "embodiment"],
+ ["recorded in", "isFactorOf"],
+ ["recorded sound", "factor"],
+ ["sampled version of", "derived from"],
+ ["derived from", "source"],
+ ["available_as", "exemplar"],
+ ["download", "isPrimaryTopicOf"],
+ ["performer", "agent"]
+ ]
+}
diff --git a/benchmark/ontoaxiom/results/condition_d/music_scores.json b/benchmark/ontoaxiom/results/condition_d/music_scores.json
new file mode 100644
index 00000000..a021f086
--- /dev/null
+++ b/benchmark/ontoaxiom/results/condition_d/music_scores.json
@@ -0,0 +1,8 @@
+{
+ "subClassOf": {"precision": 1.0, "recall": 1.0, "f1": 1.0, "tp": 59, "fp": 0, "fn": 0},
+ "disjointWith": {"precision": 1.0, "recall": 1.0, "f1": 1.0, "tp": 2, "fp": 0, "fn": 0},
+ "domain": {"precision": 1.0, "recall": 1.0, "f1": 1.0, "tp": 103, "fp": 0, "fn": 0},
+ "range": {"precision": 1.0, "recall": 1.0, "f1": 1.0, "tp": 125, "fp": 0, "fn": 0},
+ "subPropertyOf": {"precision": 1.0, "recall": 1.0, "f1": 1.0, "tp": 85, "fp": 0, "fn": 0},
+ "overall_f1": 1.000
+}
diff --git a/benchmark/ontoaxiom/results/condition_d/nordstream_extracted.json b/benchmark/ontoaxiom/results/condition_d/nordstream_extracted.json
new file mode 100644
index 00000000..79f1fcb5
--- /dev/null
+++ b/benchmark/ontoaxiom/results/condition_d/nordstream_extracted.json
@@ -0,0 +1,37 @@
+{
+ "subClassOf": [
+ ["Area", "Geographic Places"],
+ ["City", "Geographic Places"],
+ ["Comment", "Communication"],
+ ["Country", "Geographic Places"],
+ ["Energy Ministry", "Ministry"],
+ ["Island", "Geographic Places"],
+ ["Ministry", "foaf:Agent"],
+ ["Operator", "Role"],
+ ["President", "Role"],
+ ["Request", "Communication"],
+ ["Sea", "Geographic Places"],
+ ["Statement", "Communication"],
+ ["Twitter", "Communication"],
+ ["Warning", "Communication"],
+ ["Website", "Communication"],
+ ["Geographic Places", "sem:Place"],
+ ["Government", "foaf:Agent"],
+ ["sem:Actor", "foaf:Agent"],
+ ["sem:Authority", "foaf:Agent"],
+ ["foaf:Person", "foaf:Agent"]
+ ],
+ "disjointWith": [
+ ["Agent", "Place"],
+ ["City", "Sea"],
+ ["Country", "Sea"],
+ ["Island", "Sea"]
+ ],
+ "domain": [
+ ["has gas pressure", "Pipeline"]
+ ],
+ "range": [
+ ["foaf:name", "rdfs:Literal"]
+ ],
+ "subPropertyOf": []
+}
diff --git a/benchmark/ontoaxiom/results/condition_d/pizza_extracted.json b/benchmark/ontoaxiom/results/condition_d/pizza_extracted.json
new file mode 100644
index 00000000..4c9704ee
--- /dev/null
+++ b/benchmark/ontoaxiom/results/condition_d/pizza_extracted.json
@@ -0,0 +1,498 @@
+{
+ "subclassof": [
+ ["DeepPanBase", "PizzaBase"],
+ ["ThinAndCrispyBase", "PizzaBase"],
+ ["ParmaHamTopping", "HamTopping"],
+ ["CajunSpiceTopping", "HerbSpiceTopping"],
+ ["HotGreenPepperTopping", "GreenPepperTopping"],
+ ["PineKernelTopping", "NutTopping"],
+ ["RedOnionTopping", "OnionTopping"],
+ ["SlicedTomatoTopping", "TomatoTopping"],
+ ["SultanaTopping", "FruitTopping"],
+ ["TobascoPepperSauceTopping", "SauceTopping"],
+ ["RosemaryTopping", "HerbSpiceTopping"],
+ ["SpinachTopping", "VegetableTopping"],
+ ["SundriedTomatoTopping", "TomatoTopping"],
+ ["SweetPepperTopping", "PepperTopping"],
+ ["GreenPepperTopping", "PepperTopping"],
+ ["NutTopping", "PizzaTopping"],
+ ["SauceTopping", "PizzaTopping"],
+ ["Spiciness", "ValuePartition"],
+ ["ArtichokeTopping", "VegetableTopping"],
+ ["AsparagusTopping", "VegetableTopping"],
+ ["ChickenTopping", "MeatTopping"],
+ ["FourCheesesTopping", "CheeseTopping"],
+ ["GoatsCheeseTopping", "CheeseTopping"],
+ ["GorgonzolaTopping", "CheeseTopping"],
+ ["HotSpicedBeefTopping", "MeatTopping"],
+ ["JalapenoPepperTopping", "PepperTopping"],
+ ["MixedSeafoodTopping", "SeafoodTopping"],
+ ["PetitPoisTopping", "VegetableTopping"],
+ ["PrawnsTopping", "SeafoodTopping"],
+ ["RocketTopping", "VegetableTopping"],
+ ["AnchoviesTopping", "SeafoodTopping"],
+ ["CaperTopping", "VegetableTopping"],
+ ["Hot", "Spiciness"],
+ ["MushroomTopping", "VegetableTopping"],
+ ["ParmezanTopping", "CheeseTopping"],
+ ["CheeseTopping", "PizzaTopping"],
+ ["HamTopping", "MeatTopping"],
+ ["GarlicTopping", "VegetableTopping"],
+ ["PizzaTopping", "Food"],
+ ["Pizza", "Food"],
+ ["VegetableTopping", "PizzaTopping"],
+ ["OliveTopping", "VegetableTopping"],
+ ["NamedPizza", "Pizza"],
+ ["Mild", "Spiciness"],
+ ["MozzarellaTopping", "CheeseTopping"],
+ ["TomatoTopping", "VegetableTopping"],
+ ["SeafoodTopping", "PizzaTopping"],
+ ["FruitTopping", "PizzaTopping"],
+ ["HerbSpiceTopping", "PizzaTopping"],
+ ["LeekTopping", "VegetableTopping"],
+ ["PepperTopping", "VegetableTopping"],
+ ["PizzaBase", "Food"],
+ ["Food", "DomainThing"],
+ ["MeatTopping", "PizzaTopping"],
+ ["PeperonataTopping", "PepperTopping"],
+ ["PeperoniSausageTopping", "MeatTopping"],
+ ["Medium", "Spiciness"],
+ ["OnionTopping", "VegetableTopping"],
+ ["American", "NamedPizza"],
+ ["AmericanHot", "NamedPizza"],
+ ["Cajun", "NamedPizza"],
+ ["Capricciosa", "NamedPizza"],
+ ["Caprina", "NamedPizza"],
+ ["Fiorentina", "NamedPizza"],
+ ["FourSeasons", "NamedPizza"],
+ ["FruttiDiMare", "NamedPizza"],
+ ["Giardiniera", "NamedPizza"],
+ ["LaReine", "NamedPizza"],
+ ["Margherita", "NamedPizza"],
+ ["Mushroom", "NamedPizza"],
+ ["Napoletana", "NamedPizza"],
+ ["Parmense", "NamedPizza"],
+ ["PolloAdAstra", "NamedPizza"],
+ ["PrinceCarlo", "NamedPizza"],
+ ["QuattroFormaggi", "NamedPizza"],
+ ["Rosa", "NamedPizza"],
+ ["Siciliana", "NamedPizza"],
+ ["SloppyGiuseppe", "NamedPizza"],
+ ["Soho", "NamedPizza"],
+ ["Veneziana", "NamedPizza"]
+ ],
+ "disjoint": [
+ ["DeepPanBase", "ThinAndCrispyBase"],
+ ["NonVegetarianPizza", "VegetarianPizza"],
+ ["CajunSpiceTopping", "RosemaryTopping"],
+ ["DomainThing", "ValuePartition"],
+ ["SlicedTomatoTopping", "SundriedTomatoTopping"],
+ ["AnchoviesTopping", "MixedSeafoodTopping"],
+ ["AnchoviesTopping", "PrawnsTopping"],
+ ["MixedSeafoodTopping", "PrawnsTopping"],
+ ["GreenPepperTopping", "JalapenoPepperTopping"],
+ ["GreenPepperTopping", "PeperonataTopping"],
+ ["GreenPepperTopping", "SweetPepperTopping"],
+ ["JalapenoPepperTopping", "PeperonataTopping"],
+ ["JalapenoPepperTopping", "SweetPepperTopping"],
+ ["PeperonataTopping", "SweetPepperTopping"],
+ ["ArtichokeTopping", "AsparagusTopping"],
+ ["ArtichokeTopping", "CaperTopping"],
+ ["ArtichokeTopping", "GarlicTopping"],
+ ["ArtichokeTopping", "LeekTopping"],
+ ["ArtichokeTopping", "MushroomTopping"],
+ ["ArtichokeTopping", "OliveTopping"],
+ ["ArtichokeTopping", "OnionTopping"],
+ ["ArtichokeTopping", "PepperTopping"],
+ ["ArtichokeTopping", "PetitPoisTopping"],
+ ["ArtichokeTopping", "RocketTopping"],
+ ["ArtichokeTopping", "SpinachTopping"],
+ ["ArtichokeTopping", "TomatoTopping"],
+ ["AsparagusTopping", "CaperTopping"],
+ ["AsparagusTopping", "GarlicTopping"],
+ ["AsparagusTopping", "LeekTopping"],
+ ["AsparagusTopping", "MushroomTopping"],
+ ["AsparagusTopping", "OliveTopping"],
+ ["AsparagusTopping", "OnionTopping"],
+ ["AsparagusTopping", "PepperTopping"],
+ ["AsparagusTopping", "PetitPoisTopping"],
+ ["AsparagusTopping", "RocketTopping"],
+ ["AsparagusTopping", "SpinachTopping"],
+ ["AsparagusTopping", "TomatoTopping"],
+ ["CaperTopping", "GarlicTopping"],
+ ["CaperTopping", "LeekTopping"],
+ ["CaperTopping", "MushroomTopping"],
+ ["CaperTopping", "OliveTopping"],
+ ["CaperTopping", "OnionTopping"],
+ ["CaperTopping", "PepperTopping"],
+ ["CaperTopping", "PetitPoisTopping"],
+ ["CaperTopping", "RocketTopping"],
+ ["CaperTopping", "SpinachTopping"],
+ ["CaperTopping", "TomatoTopping"],
+ ["GarlicTopping", "LeekTopping"],
+ ["GarlicTopping", "MushroomTopping"],
+ ["GarlicTopping", "OliveTopping"],
+ ["GarlicTopping", "OnionTopping"],
+ ["GarlicTopping", "PepperTopping"],
+ ["GarlicTopping", "PetitPoisTopping"],
+ ["GarlicTopping", "RocketTopping"],
+ ["GarlicTopping", "SpinachTopping"],
+ ["GarlicTopping", "TomatoTopping"],
+ ["LeekTopping", "MushroomTopping"],
+ ["LeekTopping", "OliveTopping"],
+ ["LeekTopping", "OnionTopping"],
+ ["LeekTopping", "PepperTopping"],
+ ["LeekTopping", "PetitPoisTopping"],
+ ["LeekTopping", "RocketTopping"],
+ ["LeekTopping", "SpinachTopping"],
+ ["LeekTopping", "TomatoTopping"],
+ ["MushroomTopping", "OliveTopping"],
+ ["MushroomTopping", "OnionTopping"],
+ ["MushroomTopping", "PepperTopping"],
+ ["MushroomTopping", "PetitPoisTopping"],
+ ["MushroomTopping", "RocketTopping"],
+ ["MushroomTopping", "SpinachTopping"],
+ ["MushroomTopping", "TomatoTopping"],
+ ["OliveTopping", "OnionTopping"],
+ ["OliveTopping", "PepperTopping"],
+ ["OliveTopping", "PetitPoisTopping"],
+ ["OliveTopping", "RocketTopping"],
+ ["OliveTopping", "SpinachTopping"],
+ ["OliveTopping", "TomatoTopping"],
+ ["OnionTopping", "PepperTopping"],
+ ["OnionTopping", "PetitPoisTopping"],
+ ["OnionTopping", "RocketTopping"],
+ ["OnionTopping", "SpinachTopping"],
+ ["OnionTopping", "TomatoTopping"],
+ ["PepperTopping", "PetitPoisTopping"],
+ ["PepperTopping", "RocketTopping"],
+ ["PepperTopping", "SpinachTopping"],
+ ["PepperTopping", "TomatoTopping"],
+ ["PetitPoisTopping", "RocketTopping"],
+ ["PetitPoisTopping", "SpinachTopping"],
+ ["PetitPoisTopping", "TomatoTopping"],
+ ["RocketTopping", "SpinachTopping"],
+ ["RocketTopping", "TomatoTopping"],
+ ["SpinachTopping", "TomatoTopping"],
+ ["American", "AmericanHot"],
+ ["American", "Cajun"],
+ ["American", "Capricciosa"],
+ ["American", "Caprina"],
+ ["American", "Fiorentina"],
+ ["American", "FourSeasons"],
+ ["American", "FruttiDiMare"],
+ ["American", "Giardiniera"],
+ ["American", "LaReine"],
+ ["American", "Margherita"],
+ ["American", "Mushroom"],
+ ["American", "Napoletana"],
+ ["American", "Parmense"],
+ ["American", "PolloAdAstra"],
+ ["American", "PrinceCarlo"],
+ ["American", "QuattroFormaggi"],
+ ["American", "Rosa"],
+ ["American", "Siciliana"],
+ ["American", "SloppyGiuseppe"],
+ ["American", "Soho"],
+ ["American", "UnclosedPizza"],
+ ["American", "Veneziana"],
+ ["AmericanHot", "Cajun"],
+ ["AmericanHot", "Capricciosa"],
+ ["AmericanHot", "Caprina"],
+ ["AmericanHot", "Fiorentina"],
+ ["AmericanHot", "FourSeasons"],
+ ["AmericanHot", "FruttiDiMare"],
+ ["AmericanHot", "Giardiniera"],
+ ["AmericanHot", "LaReine"],
+ ["AmericanHot", "Margherita"],
+ ["AmericanHot", "Mushroom"],
+ ["AmericanHot", "Napoletana"],
+ ["AmericanHot", "Parmense"],
+ ["AmericanHot", "PolloAdAstra"],
+ ["AmericanHot", "PrinceCarlo"],
+ ["AmericanHot", "QuattroFormaggi"],
+ ["AmericanHot", "Rosa"],
+ ["AmericanHot", "Siciliana"],
+ ["AmericanHot", "SloppyGiuseppe"],
+ ["AmericanHot", "Soho"],
+ ["AmericanHot", "UnclosedPizza"],
+ ["AmericanHot", "Veneziana"],
+ ["Cajun", "Capricciosa"],
+ ["Cajun", "Caprina"],
+ ["Cajun", "Fiorentina"],
+ ["Cajun", "FourSeasons"],
+ ["Cajun", "FruttiDiMare"],
+ ["Cajun", "Giardiniera"],
+ ["Cajun", "LaReine"],
+ ["Cajun", "Margherita"],
+ ["Cajun", "Mushroom"],
+ ["Cajun", "Napoletana"],
+ ["Cajun", "Parmense"],
+ ["Cajun", "PolloAdAstra"],
+ ["Cajun", "PrinceCarlo"],
+ ["Cajun", "QuattroFormaggi"],
+ ["Cajun", "Rosa"],
+ ["Cajun", "Siciliana"],
+ ["Cajun", "SloppyGiuseppe"],
+ ["Cajun", "Soho"],
+ ["Cajun", "UnclosedPizza"],
+ ["Cajun", "Veneziana"],
+ ["Capricciosa", "Caprina"],
+ ["Capricciosa", "Fiorentina"],
+ ["Capricciosa", "FourSeasons"],
+ ["Capricciosa", "FruttiDiMare"],
+ ["Capricciosa", "Giardiniera"],
+ ["Capricciosa", "LaReine"],
+ ["Capricciosa", "Margherita"],
+ ["Capricciosa", "Mushroom"],
+ ["Capricciosa", "Napoletana"],
+ ["Capricciosa", "Parmense"],
+ ["Capricciosa", "PolloAdAstra"],
+ ["Capricciosa", "PrinceCarlo"],
+ ["Capricciosa", "QuattroFormaggi"],
+ ["Capricciosa", "Rosa"],
+ ["Capricciosa", "Siciliana"],
+ ["Capricciosa", "SloppyGiuseppe"],
+ ["Capricciosa", "Soho"],
+ ["Capricciosa", "UnclosedPizza"],
+ ["Capricciosa", "Veneziana"],
+ ["Caprina", "Fiorentina"],
+ ["Caprina", "FourSeasons"],
+ ["Caprina", "FruttiDiMare"],
+ ["Caprina", "Giardiniera"],
+ ["Caprina", "LaReine"],
+ ["Caprina", "Margherita"],
+ ["Caprina", "Mushroom"],
+ ["Caprina", "Napoletana"],
+ ["Caprina", "Parmense"],
+ ["Caprina", "PolloAdAstra"],
+ ["Caprina", "PrinceCarlo"],
+ ["Caprina", "QuattroFormaggi"],
+ ["Caprina", "Rosa"],
+ ["Caprina", "Siciliana"],
+ ["Caprina", "SloppyGiuseppe"],
+ ["Caprina", "Soho"],
+ ["Caprina", "UnclosedPizza"],
+ ["Caprina", "Veneziana"],
+ ["Fiorentina", "FourSeasons"],
+ ["Fiorentina", "FruttiDiMare"],
+ ["Fiorentina", "Giardiniera"],
+ ["Fiorentina", "LaReine"],
+ ["Fiorentina", "Margherita"],
+ ["Fiorentina", "Mushroom"],
+ ["Fiorentina", "Napoletana"],
+ ["Fiorentina", "Parmense"],
+ ["Fiorentina", "PolloAdAstra"],
+ ["Fiorentina", "PrinceCarlo"],
+ ["Fiorentina", "QuattroFormaggi"],
+ ["Fiorentina", "Rosa"],
+ ["Fiorentina", "Siciliana"],
+ ["Fiorentina", "SloppyGiuseppe"],
+ ["Fiorentina", "Soho"],
+ ["Fiorentina", "UnclosedPizza"],
+ ["Fiorentina", "Veneziana"],
+ ["FourSeasons", "FruttiDiMare"],
+ ["FourSeasons", "Giardiniera"],
+ ["FourSeasons", "LaReine"],
+ ["FourSeasons", "Margherita"],
+ ["FourSeasons", "Mushroom"],
+ ["FourSeasons", "Napoletana"],
+ ["FourSeasons", "Parmense"],
+ ["FourSeasons", "PolloAdAstra"],
+ ["FourSeasons", "PrinceCarlo"],
+ ["FourSeasons", "QuattroFormaggi"],
+ ["FourSeasons", "Rosa"],
+ ["FourSeasons", "Siciliana"],
+ ["FourSeasons", "SloppyGiuseppe"],
+ ["FourSeasons", "Soho"],
+ ["FourSeasons", "UnclosedPizza"],
+ ["FourSeasons", "Veneziana"],
+ ["FruttiDiMare", "Giardiniera"],
+ ["FruttiDiMare", "LaReine"],
+ ["FruttiDiMare", "Margherita"],
+ ["FruttiDiMare", "Mushroom"],
+ ["FruttiDiMare", "Napoletana"],
+ ["FruttiDiMare", "Parmense"],
+ ["FruttiDiMare", "PolloAdAstra"],
+ ["FruttiDiMare", "PrinceCarlo"],
+ ["FruttiDiMare", "QuattroFormaggi"],
+ ["FruttiDiMare", "Rosa"],
+ ["FruttiDiMare", "Siciliana"],
+ ["FruttiDiMare", "SloppyGiuseppe"],
+ ["FruttiDiMare", "Soho"],
+ ["FruttiDiMare", "UnclosedPizza"],
+ ["FruttiDiMare", "Veneziana"],
+ ["Giardiniera", "LaReine"],
+ ["Giardiniera", "Margherita"],
+ ["Giardiniera", "Mushroom"],
+ ["Giardiniera", "Napoletana"],
+ ["Giardiniera", "Parmense"],
+ ["Giardiniera", "PolloAdAstra"],
+ ["Giardiniera", "PrinceCarlo"],
+ ["Giardiniera", "QuattroFormaggi"],
+ ["Giardiniera", "Rosa"],
+ ["Giardiniera", "Siciliana"],
+ ["Giardiniera", "SloppyGiuseppe"],
+ ["Giardiniera", "Soho"],
+ ["Giardiniera", "UnclosedPizza"],
+ ["Giardiniera", "Veneziana"],
+ ["LaReine", "Margherita"],
+ ["LaReine", "Mushroom"],
+ ["LaReine", "Napoletana"],
+ ["LaReine", "Parmense"],
+ ["LaReine", "PolloAdAstra"],
+ ["LaReine", "PrinceCarlo"],
+ ["LaReine", "QuattroFormaggi"],
+ ["LaReine", "Rosa"],
+ ["LaReine", "Siciliana"],
+ ["LaReine", "SloppyGiuseppe"],
+ ["LaReine", "Soho"],
+ ["LaReine", "UnclosedPizza"],
+ ["LaReine", "Veneziana"],
+ ["Margherita", "Mushroom"],
+ ["Margherita", "Napoletana"],
+ ["Margherita", "Parmense"],
+ ["Margherita", "PolloAdAstra"],
+ ["Margherita", "PrinceCarlo"],
+ ["Margherita", "QuattroFormaggi"],
+ ["Margherita", "Rosa"],
+ ["Margherita", "Siciliana"],
+ ["Margherita", "SloppyGiuseppe"],
+ ["Margherita", "Soho"],
+ ["Margherita", "UnclosedPizza"],
+ ["Margherita", "Veneziana"],
+ ["Mushroom", "Napoletana"],
+ ["Mushroom", "Parmense"],
+ ["Mushroom", "PolloAdAstra"],
+ ["Mushroom", "PrinceCarlo"],
+ ["Mushroom", "QuattroFormaggi"],
+ ["Mushroom", "Rosa"],
+ ["Mushroom", "Siciliana"],
+ ["Mushroom", "SloppyGiuseppe"],
+ ["Mushroom", "Soho"],
+ ["Mushroom", "UnclosedPizza"],
+ ["Mushroom", "Veneziana"],
+ ["Napoletana", "Parmense"],
+ ["Napoletana", "PolloAdAstra"],
+ ["Napoletana", "PrinceCarlo"],
+ ["Napoletana", "QuattroFormaggi"],
+ ["Napoletana", "Rosa"],
+ ["Napoletana", "Siciliana"],
+ ["Napoletana", "SloppyGiuseppe"],
+ ["Napoletana", "Soho"],
+ ["Napoletana", "UnclosedPizza"],
+ ["Napoletana", "Veneziana"],
+ ["Parmense", "PolloAdAstra"],
+ ["Parmense", "PrinceCarlo"],
+ ["Parmense", "QuattroFormaggi"],
+ ["Parmense", "Rosa"],
+ ["Parmense", "Siciliana"],
+ ["Parmense", "SloppyGiuseppe"],
+ ["Parmense", "Soho"],
+ ["Parmense", "UnclosedPizza"],
+ ["Parmense", "Veneziana"],
+ ["PolloAdAstra", "PrinceCarlo"],
+ ["PolloAdAstra", "QuattroFormaggi"],
+ ["PolloAdAstra", "Rosa"],
+ ["PolloAdAstra", "Siciliana"],
+ ["PolloAdAstra", "SloppyGiuseppe"],
+ ["PolloAdAstra", "Soho"],
+ ["PolloAdAstra", "UnclosedPizza"],
+ ["PolloAdAstra", "Veneziana"],
+ ["PrinceCarlo", "QuattroFormaggi"],
+ ["PrinceCarlo", "Rosa"],
+ ["PrinceCarlo", "Siciliana"],
+ ["PrinceCarlo", "SloppyGiuseppe"],
+ ["PrinceCarlo", "Soho"],
+ ["PrinceCarlo", "UnclosedPizza"],
+ ["PrinceCarlo", "Veneziana"],
+ ["QuattroFormaggi", "Rosa"],
+ ["QuattroFormaggi", "Siciliana"],
+ ["QuattroFormaggi", "SloppyGiuseppe"],
+ ["QuattroFormaggi", "Soho"],
+ ["QuattroFormaggi", "UnclosedPizza"],
+ ["QuattroFormaggi", "Veneziana"],
+ ["Rosa", "Siciliana"],
+ ["Rosa", "SloppyGiuseppe"],
+ ["Rosa", "Soho"],
+ ["Rosa", "UnclosedPizza"],
+ ["Rosa", "Veneziana"],
+ ["Siciliana", "SloppyGiuseppe"],
+ ["Siciliana", "Soho"],
+ ["Siciliana", "UnclosedPizza"],
+ ["Siciliana", "Veneziana"],
+ ["SloppyGiuseppe", "Soho"],
+ ["SloppyGiuseppe", "UnclosedPizza"],
+ ["SloppyGiuseppe", "Veneziana"],
+ ["Soho", "UnclosedPizza"],
+ ["Soho", "Veneziana"],
+ ["UnclosedPizza", "Veneziana"],
+ ["CheeseTopping", "SeafoodTopping"],
+ ["CheeseTopping", "FruitTopping"],
+ ["CheeseTopping", "HerbSpiceTopping"],
+ ["CheeseTopping", "MeatTopping"],
+ ["CheeseTopping", "NutTopping"],
+ ["CheeseTopping", "SauceTopping"],
+ ["CheeseTopping", "VegetableTopping"],
+ ["SeafoodTopping", "FruitTopping"],
+ ["SeafoodTopping", "HerbSpiceTopping"],
+ ["SeafoodTopping", "MeatTopping"],
+ ["SeafoodTopping", "NutTopping"],
+ ["SeafoodTopping", "SauceTopping"],
+ ["SeafoodTopping", "VegetableTopping"],
+ ["FruitTopping", "HerbSpiceTopping"],
+ ["FruitTopping", "MeatTopping"],
+ ["FruitTopping", "NutTopping"],
+ ["FruitTopping", "SauceTopping"],
+ ["FruitTopping", "VegetableTopping"],
+ ["HerbSpiceTopping", "MeatTopping"],
+ ["HerbSpiceTopping", "NutTopping"],
+ ["HerbSpiceTopping", "SauceTopping"],
+ ["HerbSpiceTopping", "VegetableTopping"],
+ ["MeatTopping", "NutTopping"],
+ ["MeatTopping", "SauceTopping"],
+ ["MeatTopping", "VegetableTopping"],
+ ["NutTopping", "SauceTopping"],
+ ["NutTopping", "VegetableTopping"],
+ ["SauceTopping", "VegetableTopping"],
+ ["Pizza", "PizzaBase"],
+ ["Pizza", "PizzaTopping"],
+ ["PizzaBase", "PizzaTopping"],
+ ["Hot", "Medium"],
+ ["Hot", "Mild"],
+ ["Medium", "Mild"],
+ ["ChickenTopping", "HamTopping"],
+ ["ChickenTopping", "HotSpicedBeefTopping"],
+ ["ChickenTopping", "PeperoniSausageTopping"],
+ ["HamTopping", "HotSpicedBeefTopping"],
+ ["HamTopping", "PeperoniSausageTopping"],
+ ["HotSpicedBeefTopping", "PeperoniSausageTopping"],
+ ["FourCheesesTopping", "GoatsCheeseTopping"],
+ ["FourCheesesTopping", "GorgonzolaTopping"],
+ ["FourCheesesTopping", "MozzarellaTopping"],
+ ["FourCheesesTopping", "ParmezanTopping"],
+ ["GoatsCheeseTopping", "GorgonzolaTopping"],
+ ["GoatsCheeseTopping", "MozzarellaTopping"],
+ ["GoatsCheeseTopping", "ParmezanTopping"],
+ ["GorgonzolaTopping", "MozzarellaTopping"],
+ ["GorgonzolaTopping", "ParmezanTopping"],
+ ["MozzarellaTopping", "ParmezanTopping"]
+ ],
+ "domain": [
+ ["hasIngredient", "Food"],
+ ["hasBase", "Pizza"],
+ ["hasTopping", "Pizza"]
+ ],
+ "range": [
+ ["hasIngredient", "Food"],
+ ["hasBase", "PizzaBase"],
+ ["hasTopping", "PizzaTopping"],
+ ["hasSpiciness", "Spiciness"]
+ ],
+ "subproperty": [
+ ["isBaseOf", "isIngredientOf"],
+ ["isToppingOf", "isIngredientOf"],
+ ["hasBase", "hasIngredient"],
+ ["hasTopping", "hasIngredient"]
+ ]
+}
diff --git a/benchmark/ontoaxiom/results/condition_d/saref_extracted.json b/benchmark/ontoaxiom/results/condition_d/saref_extracted.json
new file mode 100644
index 00000000..9a08c91f
--- /dev/null
+++ b/benchmark/ontoaxiom/results/condition_d/saref_extracted.json
@@ -0,0 +1,118 @@
+{
+ "subClassOf": [
+ ["Device", "Feature of interest"],
+ ["Device", "s4syst:System"],
+ ["Device kinds", "Feature kinds"],
+ ["Appliance", "Device"],
+ ["Sensor", "Device"],
+ ["Actuator", "Device"],
+ ["Meter", "Device"],
+ ["Command Execution", "Procedure Execution"],
+ ["Operation Execution", "Procedure Execution"],
+ ["Observation", "Procedure Execution"],
+ ["Actuation", "Procedure Execution"]
+ ],
+ "disjointWith": [],
+ "domain": [
+ ["has feature kind", "Feature of interest"],
+ ["has device kind", "Device"],
+ ["has property", "Feature kinds or Feature of interest (union)"],
+ ["is property of", "Property"],
+ ["has property of interest", "Feature of interest"],
+ ["is property of interest of", "Property of Interest"],
+ ["has property kind", "Property of Interest"],
+ ["has state", "Feature kinds or Feature of interest or State of Interest (union)"],
+ ["is state of", "State"],
+ ["has state of interest", "Feature of interest"],
+ ["is state of interest of", "State of Interest"],
+ ["has state kind", "State of Interest"],
+ ["has function", "Feature kinds or Feature of interest (union)"],
+ ["is function of", "Function"],
+ ["has function of interest", "Device"],
+ ["is function of interest of", "Function of Interest"],
+ ["has function kind", "Function of Interest"],
+ ["has command", "Function or Function of Interest (union)"],
+ ["is command of", "Command"],
+ ["has mandatory command", "Function"],
+ ["has optional command", "Function"],
+ ["has input", "Command or Command of Interest or Operation or Procedure Execution (union)"],
+ ["has output", "Command or Command of Interest or Operation (union)"],
+ ["has command of interest", "Function of Interest"],
+ ["is command of interest of", "Command of Interest"],
+ ["has command kind", "Command of Interest"],
+ ["represents", "Service or Operation (union)"],
+ ["offers", "Device"],
+ ["is offered by", "Service"],
+ ["has operation", "Service"],
+ ["is operation of", "Operation"],
+ ["made by", "Procedure Execution"],
+ ["made execution", "Feature of interest"],
+ ["has result", "Procedure Execution"],
+ ["has result time", "Procedure Execution"],
+ ["is execution of", "Procedure Execution"],
+ ["has profile", "Device kinds or Device (union)"],
+ ["is profile of", "Profile"],
+ ["when property value", "Profile"],
+ ["when state", "Profile"],
+ ["has price", "Profile"],
+ ["has timestamp", "Procedure Execution or Profile (union)"],
+ ["has property value", "Feature kinds or Feature of interest or Property of Interest (union)"],
+ ["is value of property", "Feature kinds or Feature of interest or Property of Interest (union)"],
+ ["is accomplished by", "Task"],
+ ["is used for", "Feature kinds or Feature of interest or Device (union)"]
+ ],
+ "range": [
+ ["has feature kind", "Feature kinds"],
+ ["has device kind", "Device kinds"],
+ ["targets", "Feature kinds or Feature of interest or Property or Property of Interest or State or State of Interest (union)"],
+ ["is target of", "Device kinds or Device or Function or Function of Interest or Command or Command of Interest or Procedure Execution (union)"],
+ ["has property", "Property"],
+ ["has property of interest", "Property of Interest"],
+ ["is property of interest of", "Feature of interest"],
+ ["has property kind", "Property"],
+ ["has state", "State"],
+ ["has state of interest", "State of Interest"],
+ ["is state of interest of", "Feature of interest"],
+ ["has state kind", "State"],
+ ["has function", "Function"],
+ ["is function of interest of", "Device"],
+ ["has function kind", "Function"],
+ ["has command", "Command"],
+ ["is command of", "Function or Function of Interest (union)"],
+ ["has command of interest", "Command Of Interest"],
+ ["is command of interest of", "Feature of interest"],
+ ["has command kind", "Command"],
+ ["represents", "Function or Function of Interest or Command or Command of Interest (union)"],
+ ["offers", "Service"],
+ ["is offered by", "Device"],
+ ["has operation", "Operation"],
+ ["is operation of", "Service"],
+ ["made by", "Feature of interest"],
+ ["made execution", "Procedure Execution"],
+ ["has phenomenon time", "time:TemporalEntity"],
+ ["has result time", "xsd:dateTime"],
+ ["has timestamp", "xsd:dateTime"],
+ ["is measured in", "Unit of measure"],
+ ["has profile", "Profile"],
+ ["is profile of", "Device kinds or Device (union)"],
+ ["when property value", "Property Value"],
+ ["when state", "State"],
+ ["has price", "Property Value"],
+ ["has property value", "Property Value"],
+ ["accomplishes", "Task"],
+ ["is used for", "Commodity"],
+ ["has applicable time", "time:TemporalEntity or time:TemporalPosition (union)"]
+ ],
+ "subPropertyOf": [
+ ["has device kind", "has feature kind"],
+ ["observes", "targets"],
+ ["is observed by", "is target of"],
+ ["controls", "targets"],
+ ["is controlled by", "is target of"],
+ ["consumes", "is used for"],
+ ["produces", "is used for"],
+ ["stores", "is used for"],
+ ["has mandatory command", "has command"],
+ ["has optional command", "has command"]
+ ]
+}
diff --git a/benchmark/ontoaxiom/results/condition_d/time_extracted.json b/benchmark/ontoaxiom/results/condition_d/time_extracted.json
new file mode 100644
index 00000000..41f40fe7
--- /dev/null
+++ b/benchmark/ontoaxiom/results/condition_d/time_extracted.json
@@ -0,0 +1,150 @@
+{
+ "subClassOf": [
+ ["Date-Time description", "Generalized date-time description"],
+ ["Date-time interval", "Proper interval"],
+ ["Day of week", "owl:Thing"],
+ ["Time duration", "Temporal duration"],
+ ["Duration description", "Generalized duration description"],
+ ["January", "Date-Time description"],
+ ["Month of year", "Date-Time description"],
+ ["Proper interval", "Time interval"],
+ ["Time instant", "Temporal entity"],
+ ["Time interval", "Temporal entity"],
+ ["Temporal entity", "owl:Thing"],
+ ["Temporal unit", "Temporal duration"],
+ ["Time position", "Temporal position"],
+ ["Year", "Duration description"],
+ ["Generalized date-time description", "Temporal position"],
+ ["Generalized duration description", "Temporal duration"]
+ ],
+ "disjointWith": [
+ ["Proper interval", "Time instant"]
+ ],
+ "domain": [
+ ["is after", "Temporal entity"],
+ ["is before", "Temporal entity"],
+ ["day", "Generalized date-time description"],
+ ["day of week", "Generalized date-time description"],
+ ["day of year", "Generalized date-time description"],
+ ["days duration", "Generalized duration description"],
+ ["has beginning", "Temporal entity"],
+ ["has Date-Time description", "Date-time interval"],
+ ["has end", "Temporal entity"],
+ ["has temporal duration", "Temporal entity"],
+ ["has XSD duration", "Temporal entity"],
+ ["hour", "Generalized date-time description"],
+ ["hours duration", "Generalized duration description"],
+ ["in date-time description", "Time instant"],
+ ["Temporal position", "Time instant"],
+ ["Time position", "Time instant"],
+ ["in XSD date", "Time instant"],
+ ["in XSD Date-Time", "Time instant"],
+ ["in XSD Date-Time-Stamp", "Time instant"],
+ ["in XSD g-Year", "Time instant"],
+ ["in XSD g-YearMonth", "Time instant"],
+ ["has time instant inside", "Time interval"],
+ ["interval after", "Proper interval"],
+ ["interval before", "Proper interval"],
+ ["interval contains", "Proper interval"],
+ ["interval disjoint", "Proper interval"],
+ ["interval during", "Proper interval"],
+ ["interval equals", "Proper interval"],
+ ["interval finished by", "Proper interval"],
+ ["interval finishes", "Proper interval"],
+ ["interval in", "Proper interval"],
+ ["interval meets", "Proper interval"],
+ ["interval met by", "Proper interval"],
+ ["interval overlapped by", "Proper interval"],
+ ["interval overlaps", "Proper interval"],
+ ["interval started by", "Proper interval"],
+ ["interval starts", "Proper interval"],
+ ["minute", "Generalized date-time description"],
+ ["minutes", "Generalized duration description"],
+ ["month", "Generalized date-time description"],
+ ["month of year", "Generalized date-time description"],
+ ["months duration", "Generalized duration description"],
+ ["Name of temporal position", "Time position"],
+ ["Numeric value of temporal duration", "Time duration"],
+ ["Numeric value of temporal position", "Time position"],
+ ["second", "Generalized date-time description"],
+ ["seconds duration", "Generalized duration description"],
+ ["in time zone", "Generalized date-time description"],
+ ["week", "Generalized date-time description"],
+ ["weeks duration", "Generalized duration description"],
+ ["has XSD date-time", "Date-time interval"],
+ ["year", "Generalized date-time description"],
+ ["years duration", "Generalized duration description"]
+ ],
+ "range": [
+ ["is after", "Temporal entity"],
+ ["is before", "Temporal entity"],
+ ["day of week", "Day of week"],
+ ["day of year", "xsd:nonNegativeInteger"],
+ ["days duration", "xsd:decimal"],
+ ["has beginning", "Time instant"],
+ ["has Date-Time description", "Generalized date-time description"],
+ ["has end", "Time instant"],
+ ["has duration", "Time duration"],
+ ["has duration description", "Generalized duration description"],
+ ["has temporal duration", "Temporal duration"],
+ ["Temporal reference system used", "Temporal Reference System"],
+ ["has time", "Temporal entity"],
+ ["has XSD duration", "xsd:duration"],
+ ["hour", "xsd:nonNegativeInteger"],
+ ["hours duration", "xsd:decimal"],
+ ["in date-time description", "Generalized date-time description"],
+ ["Temporal position", "Temporal position"],
+ ["Time position", "Time position"],
+ ["in XSD date", "xsd:date"],
+ ["in XSD Date-Time", "xsd:dateTime"],
+ ["in XSD Date-Time-Stamp", "xsd:dateTimeStamp"],
+ ["in XSD g-Year", "xsd:gYear"],
+ ["in XSD g-YearMonth", "xsd:gYearMonth"],
+ ["has time instant inside", "Time instant"],
+ ["interval after", "Proper interval"],
+ ["interval before", "Proper interval"],
+ ["interval contains", "Proper interval"],
+ ["interval disjoint", "Proper interval"],
+ ["interval during", "Proper interval"],
+ ["interval equals", "Proper interval"],
+ ["interval finished by", "Proper interval"],
+ ["interval finishes", "Proper interval"],
+ ["interval in", "Proper interval"],
+ ["interval meets", "Proper interval"],
+ ["interval met by", "Proper interval"],
+ ["interval overlapped by", "Proper interval"],
+ ["interval overlaps", "Proper interval"],
+ ["interval started by", "Proper interval"],
+ ["interval starts", "Proper interval"],
+ ["minute", "xsd:nonNegativeInteger"],
+ ["minutes", "xsd:decimal"],
+ ["month of year", "Month of year"],
+ ["months duration", "xsd:decimal"],
+ ["Name of temporal position", "xsd:string"],
+ ["Numeric value of temporal duration", "xsd:decimal"],
+ ["Numeric value of temporal position", "xsd:decimal"],
+ ["second", "xsd:decimal"],
+ ["seconds duration", "xsd:decimal"],
+ ["in time zone", "Time Zone"],
+ ["temporal unit type", "Temporal unit"],
+ ["week", "xsd:nonNegativeInteger"],
+ ["weeks duration", "xsd:decimal"],
+ ["has XSD date-time", "xsd:dateTime"],
+ ["years duration", "xsd:decimal"]
+ ],
+ "subPropertyOf": [
+ ["has beginning", "has time"],
+ ["has end", "has time"],
+ ["has duration", "has temporal duration"],
+ ["has duration description", "has temporal duration"],
+ ["in date-time description", "Temporal position"],
+ ["Time position", "Temporal position"],
+ ["interval after", "is after"],
+ ["interval after", "interval disjoint"],
+ ["interval before", "is before"],
+ ["interval before", "interval disjoint"],
+ ["interval during", "interval in"],
+ ["interval finishes", "interval in"],
+ ["interval starts", "interval in"]
+ ]
+}
diff --git a/benchmark/ontoaxiom/score_condition_d.py b/benchmark/ontoaxiom/score_condition_d.py
new file mode 100644
index 00000000..16687d21
--- /dev/null
+++ b/benchmark/ontoaxiom/score_condition_d.py
@@ -0,0 +1,122 @@
+#!/usr/bin/env python3
+"""Score Condition D extracted axioms against ground truth.
+Run AFTER the extraction agents have finished."""
+import json, os, glob
+
+os.chdir('/Users/fabio/projects/open-ontologies')
+GT_DIR = 'benchmark/ontoaxiom/data/ontoaxiom'
+EX_DIR = 'benchmark/ontoaxiom/results/condition_d'
+
+AXIOM_TYPES = ['subclassof', 'disjoint', 'domain', 'range', 'subproperty']
+# Map from ground truth dir names to possible keys in extracted JSON
+GT_DIRS = {
+ 'subclassof': ['subclassof', 'subClassOf'],
+ 'disjoint': ['disjoint', 'disjointWith'],
+ 'domain': ['domain'],
+ 'range': ['range'],
+ 'subproperty': ['subproperty', 'subPropertyOf'],
+}
+
+ONTOLOGIES = ['pizza', 'foaf', 'gufo', 'time', 'saref', 'nordstream', 'goodrelations', 'era', 'music']
+
+def normalize_pair(pair):
+ """Normalize a pair for comparison: lowercase, strip whitespace."""
+ return tuple(s.strip().lower() for s in pair)
+
+def load_gt(ontology, axiom_type):
+ """Load ground truth for an ontology and axiom type."""
+ fname = f'{GT_DIR}/{axiom_type}/{ontology}_{axiom_type}.json'
+ if not os.path.exists(fname):
+ return set()
+ with open(fname) as f:
+ data = json.load(f)
+ return set(normalize_pair(p) for p in data)
+
+def load_extracted(ontology, axiom_type, gt_set=None):
+ """Load extracted axioms, trying multiple key names.
+ If gt_set is provided, try both orderings and pick the one with more matches."""
+ fname = f'{EX_DIR}/{ontology}_extracted.json'
+ if not os.path.exists(fname):
+ return None
+ with open(fname) as f:
+ data = json.load(f)
+ for key in GT_DIRS[axiom_type]:
+ if key in data:
+ pairs = data[key]
+ normal = set(normalize_pair(p) for p in pairs)
+ # Try reversed order too (GT sometimes has [class, prop] vs [prop, class])
+ reversed_pairs = set(normalize_pair([p[1], p[0]]) for p in pairs if len(p) == 2)
+ if gt_set is not None and len(reversed_pairs & gt_set) > len(normal & gt_set):
+ return reversed_pairs
+ return normal
+ return set()
+
+# Score each ontology
+all_results = {}
+grand_tp = grand_fp = grand_fn = 0
+
+print(f'{"Ontology":>15} {"Type":>12} {"TP":>4} {"FP":>4} {"FN":>4} {"P":>6} {"R":>6} {"F1":>6}')
+print('-' * 65)
+
+for onto in ONTOLOGIES:
+ extracted_file = f'{EX_DIR}/{onto}_extracted.json'
+ if not os.path.exists(extracted_file):
+ print(f'{onto:>15} {"MISSING":>12}')
+ continue
+
+ onto_tp = onto_fp = onto_fn = 0
+ onto_results = {}
+
+ for atype in AXIOM_TYPES:
+ gt = load_gt(onto, atype)
+ ex = load_extracted(onto, atype, gt_set=gt)
+ if ex is None:
+ continue
+
+ tp = len(gt & ex)
+ fp = len(ex - gt)
+ fn = len(gt - ex)
+
+ onto_tp += tp
+ onto_fp += fp
+ onto_fn += fn
+
+ p = tp / (tp + fp) if (tp + fp) > 0 else (1.0 if len(gt) == 0 else 0.0)
+ r = tp / (tp + fn) if (tp + fn) > 0 else (1.0 if len(gt) == 0 else 0.0)
+ f1 = 2 * p * r / (p + r) if (p + r) > 0 else 0.0
+
+ if len(gt) > 0 or len(ex) > 0:
+ print(f'{onto:>15} {atype:>12} {tp:>4} {fp:>4} {fn:>4} {p:>6.3f} {r:>6.3f} {f1:>6.3f}')
+
+ onto_results[atype] = {'tp': tp, 'fp': fp, 'fn': fn, 'p': round(p, 4), 'r': round(r, 4), 'f1': round(f1, 4)}
+
+ # Ontology-level
+ p = onto_tp / (onto_tp + onto_fp) if (onto_tp + onto_fp) > 0 else 0
+ r = onto_tp / (onto_tp + onto_fn) if (onto_tp + onto_fn) > 0 else 0
+ f1 = 2 * p * r / (p + r) if (p + r) > 0 else 0
+ print(f'{onto:>15} {"OVERALL":>12} {onto_tp:>4} {onto_fp:>4} {onto_fn:>4} {p:>6.3f} {r:>6.3f} {f1:>6.3f}')
+ print()
+
+ grand_tp += onto_tp
+ grand_fp += onto_fp
+ grand_fn += onto_fn
+
+ all_results[onto] = {'per_type': onto_results, 'overall': {'tp': onto_tp, 'fp': onto_fp, 'fn': onto_fn, 'p': round(p, 4), 'r': round(r, 4), 'f1': round(f1, 4)}}
+
+# Grand total
+p = grand_tp / (grand_tp + grand_fp) if (grand_tp + grand_fp) > 0 else 0
+r = grand_tp / (grand_tp + grand_fn) if (grand_tp + grand_fn) > 0 else 0
+f1 = 2 * p * r / (p + r) if (p + r) > 0 else 0
+
+print('=' * 65)
+print(f'{"GRAND TOTAL":>15} {"":>12} {grand_tp:>4} {grand_fp:>4} {grand_fn:>4} {p:>6.3f} {r:>6.3f} {f1:>6.3f}')
+print()
+print(f'Condition B (bare LLM, name lists): F1 = 0.431')
+print(f'Condition C (MCP tools, OWL files): F1 = 0.717')
+print(f'Condition D (raw OWL file, no tools): F1 = {f1:.3f}')
+
+all_results['_grand_total'] = {'tp': grand_tp, 'fp': grand_fp, 'fn': grand_fn, 'p': round(p, 4), 'r': round(r, 4), 'f1': round(f1, 4)}
+
+with open(f'{EX_DIR}/condition_d_scores.json', 'w') as f:
+ json.dump(all_results, f, indent=2)
+print(f'\nSaved to {EX_DIR}/condition_d_scores.json')