From 049faf7495e4f48f0893e7cbfa41236eccff5edd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Lamercerie?= <aurelien.lamercerie@tetras-libre.fr> Date: Tue, 3 Oct 2023 17:02:55 +0200 Subject: [PATCH] add f-score aggregation and update summary report generation --- .../SolarSystemProd_factoid_1.ttl | 248 +- .../SolarSystemProd_factoid_10.ttl | 57 +- .../SolarSystemProd_factoid_11.ttl | 115 +- .../SolarSystemProd_factoid_12.ttl | 56 +- .../SolarSystemProd_factoid_13.ttl | 20 +- .../SolarSystemProd_factoid_14.ttl | 27 +- .../SolarSystemProd_factoid_15.ttl | 203 +- .../SolarSystemProd_factoid_16.ttl | 135 +- .../SolarSystemProd_factoid_17.ttl | 137 +- .../SolarSystemProd_factoid_18.ttl | 96 +- .../SolarSystemProd_factoid_19.ttl | 73 +- .../SolarSystemProd_factoid_2.ttl | 159 +- .../SolarSystemProd_factoid_20.ttl | 74 +- .../SolarSystemProd_factoid_21.ttl | 82 +- .../SolarSystemProd_factoid_22.ttl | 172 +- .../SolarSystemProd_factoid_23.ttl | 84 +- .../SolarSystemProd_factoid_3.ttl | 143 +- .../SolarSystemProd_factoid_4.ttl | 75 +- .../SolarSystemProd_factoid_5.ttl | 140 +- .../SolarSystemProd_factoid_6.ttl | 207 +- .../SolarSystemProd_factoid_7.ttl | 97 +- .../SolarSystemProd_factoid_8.ttl | 167 +- .../SolarSystemProd_factoid_9.ttl | 89 +- .../SolarSystemProd_factoid_1.ttl | 214 +- .../SolarSystemProd_factoid_10.ttl | 70 +- .../SolarSystemProd_factoid_11.ttl | 159 +- .../SolarSystemProd_factoid_12.ttl | 116 +- .../SolarSystemProd_factoid_13.ttl | 68 +- .../SolarSystemProd_factoid_14.ttl | 61 +- .../SolarSystemProd_factoid_15.ttl | 206 +- .../SolarSystemProd_factoid_16.ttl | 172 +- .../SolarSystemProd_factoid_17.ttl | 178 +- .../SolarSystemProd_factoid_18.ttl | 118 +- .../SolarSystemProd_factoid_19.ttl | 126 +- .../SolarSystemProd_factoid_2.ttl | 210 +- .../SolarSystemProd_factoid_20.ttl | 116 +- .../SolarSystemProd_factoid_21.ttl | 94 +- .../SolarSystemProd_factoid_22.ttl | 177 +- .../SolarSystemProd_factoid_23.ttl | 93 +- .../SolarSystemProd_factoid_3.ttl | 346 ++- .../SolarSystemProd_factoid_4.ttl | 113 +- .../SolarSystemProd_factoid_5.ttl | 274 +- .../SolarSystemProd_factoid_6.ttl | 327 ++- .../SolarSystemProd_factoid_7.ttl | 121 +- .../SolarSystemProd_factoid_8.ttl | 172 +- .../SolarSystemProd_factoid_9.ttl | 110 +- main.py | 12 +- ontoScorer/metric_score.py | 22 +- ontoScorer/scorer_batch.py | 38 +- output_reports/report_1.txt | 88 +- output_reports/report_10.txt | 30 +- output_reports/report_11.txt | 22 +- output_reports/report_12.txt | 102 +- output_reports/report_13.txt | 36 +- output_reports/report_14.txt | 56 +- output_reports/report_15.txt | 52 +- output_reports/report_16.txt | 64 +- output_reports/report_17.txt | 70 +- output_reports/report_18.txt | 48 +- output_reports/report_19.txt | 52 +- output_reports/report_2.txt | 64 +- output_reports/report_20.txt | 64 +- output_reports/report_21.txt | 28 +- output_reports/report_22.txt | 52 +- output_reports/report_23.txt | 42 +- output_reports/report_3.txt | 84 +- output_reports/report_4.txt | 32 +- output_reports/report_5.txt | 26 +- output_reports/report_6.txt | 26 +- output_reports/report_7.txt | 64 +- output_reports/report_8.txt | 30 +- output_reports/report_9.txt | 32 +- output_reports/summary_report.txt | 2295 ++--------------- tests/test_metric_score.py | 44 + .../{test_scorer.py => test_scorer_batch.py} | 0 75 files changed, 5137 insertions(+), 4735 deletions(-) create mode 100644 tests/test_metric_score.py rename tests/{test_scorer.py => test_scorer_batch.py} (100%) diff --git a/data/generated_ontology/SolarSystemProd_factoid_1.ttl b/data/generated_ontology/SolarSystemProd_factoid_1.ttl index be6ca9d..af877ba 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_1.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_1.ttl @@ -1,127 +1,173 @@ -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . -@prefix ns2: <https://tenet.tetras-libre.fr/extract-result#> . +@prefix ns1: <https://tenet.tetras-libre.fr/extract-result#> . +@prefix ns2: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -ns2:direct a owl:ObjectProperty ; +ns1:direct a owl:ObjectProperty ; rdfs:label "direct" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" . - -ns2:gravitation-WikiAbstract-SolarSystem-01 a owl:Individual, - ns2:gravitation-bind-system ; - rdfs:label "any gravitation" ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" ; - ns2:bind ns2:SolarSystem . - -ns2:hasManner a owl:ObjectProperty ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . + +ns1:gravitation-WikiAbstract-SolarSystem-01 a owl:Individual, + ns2:Entity, + ns1:gravitation-bind-system, + ns1:gravitation-bind-system-hasPart-object, + ns1:gravitation-bind-system-hasPart-sun ; + rdfs:label "gravitation (WikiAbstract-SolarSystem-01)" ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" ; + ns1:bind ns1:SolarSystem . + +ns1:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "predefinedProperty" . + +ns1:hasManner a owl:ObjectProperty ; rdfs:label "hasManner" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" . - -ns2:not-direct a owl:ObjectProperty ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" . - -ns2:SolarSystem a owl:Individual, - ns2:system, - ns2:system-hasPart-object, - ns2:system-hasPart-sun ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . + +ns1:not-direct a owl:ObjectProperty ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . + +ns1:SolarSystem a owl:Individual, + ns2:Entity, + ns1:system, + ns1:system-hasPart-object, + ns1:system-hasPart-object-orbit-hasManner-direct-sun, + ns1:system-hasPart-object-orbit-hasManner-not-direct-sun, + ns1:system-hasPart-sun ; rdfs:label "SolarSystem" ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" ; - ns2:hasPart ns2:object-WikiAbstract-SolarSystem-01, - ns2:sun-WikiAbstract-SolarSystem-01 . - -ns2:bind a owl:ObjectProperty ; - rdfs:label "bind" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" . + ns2:fromStructure "WikiAbstract-SolarSystem-01" ; + ns1:hasPart ns1:object-WikiAbstract-SolarSystem-01, + ns1:sun-WikiAbstract-SolarSystem-01 . -ns2:gravitation a owl:Class ; +ns1:gravitation a owl:Class ; rdfs:label "gravitation" ; - rdfs:subClassOf ns1:Entity ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" . + rdfs:subClassOf ns2:Entity ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . -ns2:gravitation-bind-system a owl:Class ; +ns1:gravitation-bind-system-hasPart-object a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty ns2:bind ; - owl:someValuesFrom ns2:system ], - ns2:gravitation ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" . - -ns2:object-WikiAbstract-SolarSystem-01 a owl:Individual, - ns2:object, - ns2:object-orbit-hasManner-direct-sun, - ns2:object-orbit-hasManner-not-direct-sun ; - rdfs:label "any object" ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" ; - ns2:orbit-hasManner-direct ns2:sun-WikiAbstract-SolarSystem-01 ; - ns2:orbit-hasManner-not-direct ns2:sun-WikiAbstract-SolarSystem-01 . - -ns2:object-orbit-hasManner-direct-sun a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty ns2:orbit-hasManner-direct ; - owl:someValuesFrom ns2:sun ], - ns2:object ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" . + owl:onProperty ns1:bind ; + owl:someValuesFrom ns1:system-hasPart-object ], + ns1:gravitation-bind-system ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . -ns2:object-orbit-hasManner-not-direct-sun a owl:Class ; +ns1:gravitation-bind-system-hasPart-sun a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty ns2:orbit-hasManner-not-direct ; - owl:someValuesFrom ns2:sun ], - ns2:object ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" . - -ns2:orbit-hasManner-direct a owl:ObjectProperty ; - rdfs:subPropertyOf ns2:orbit ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" . - -ns2:orbit-hasManner-not-direct a owl:ObjectProperty ; - rdfs:subPropertyOf ns2:orbit ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" . + owl:onProperty ns1:bind ; + owl:someValuesFrom ns1:system-hasPart-sun ], + ns1:gravitation-bind-system ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . + +ns1:object-WikiAbstract-SolarSystem-01 a owl:Individual, + ns2:Entity, + ns1:object, + ns1:object-orbit-hasManner-direct-sun, + ns1:object-orbit-hasManner-not-direct-sun ; + rdfs:label "object (WikiAbstract-SolarSystem-01)" ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" ; + ns1:orbit-hasManner-direct ns1:sun-WikiAbstract-SolarSystem-01 ; + ns1:orbit-hasManner-not-direct ns1:sun-WikiAbstract-SolarSystem-01 . + +ns1:orbit-hasManner-direct a owl:ObjectProperty ; + rdfs:subPropertyOf ns1:orbit ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . + +ns1:orbit-hasManner-not-direct a owl:ObjectProperty ; + rdfs:subPropertyOf ns1:orbit ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . + +ns1:system-hasPart-object-orbit-hasManner-direct-sun a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns1:hasPart ; + owl:someValuesFrom ns1:object-orbit-hasManner-direct-sun ], + ns1:system-hasPart-object ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . -ns2:system-hasPart-object a owl:Class ; +ns1:system-hasPart-object-orbit-hasManner-not-direct-sun a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty ns2:hasPart ; - owl:someValuesFrom ns2:object ], - ns2:system ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" . + owl:onProperty ns1:hasPart ; + owl:someValuesFrom ns1:object-orbit-hasManner-not-direct-sun ], + ns1:system-hasPart-object ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . -ns2:system-hasPart-sun a owl:Class ; +ns1:object-orbit-hasManner-direct-sun a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty ns2:hasPart ; - owl:someValuesFrom ns2:sun ], - ns2:system ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" . + owl:onProperty ns1:orbit-hasManner-direct ; + owl:someValuesFrom ns1:sun ], + ns1:object ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . -ns2:hasPart a owl:ObjectProperty ; - rdfs:label "hasPart" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" . +ns1:object-orbit-hasManner-not-direct-sun a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns1:orbit-hasManner-not-direct ; + owl:someValuesFrom ns1:sun ], + ns1:object ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . -ns2:orbit a owl:ObjectProperty ; +ns1:orbit a owl:ObjectProperty ; rdfs:label "orbit" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" . + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . -ns2:sun-WikiAbstract-SolarSystem-01 a owl:Individual, - ns2:sun ; - rdfs:label "any sun" ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" . +ns1:system-hasPart-sun a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns1:hasPart ; + owl:someValuesFrom ns1:sun ], + ns1:system ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . -ns2:object a owl:Class ; - rdfs:label "object" ; - rdfs:subClassOf ns1:Entity ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" . +ns1:gravitation-bind-system a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns1:bind ; + owl:someValuesFrom ns1:system ], + [ a owl:Restriction ; + owl:onProperty ns1:bind ; + owl:someValuesFrom ns1:system ], + ns1:gravitation ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . + +ns1:sun-WikiAbstract-SolarSystem-01 a owl:Individual, + ns2:Entity, + ns1:sun ; + rdfs:label "sun (WikiAbstract-SolarSystem-01)" ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . + +ns1:bind a owl:ObjectProperty ; + rdfs:label "bind" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . -ns2:sun a owl:Class ; +ns1:sun a owl:Class ; rdfs:label "sun" ; - rdfs:subClassOf ns1:Entity ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" . + rdfs:subClassOf ns2:Entity ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . + +ns1:system-hasPart-object a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns1:hasPart ; + owl:someValuesFrom ns1:object ], + [ a owl:Restriction ; + owl:onProperty ns1:hasPart ; + owl:someValuesFrom ns1:object ], + ns1:system ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . + +ns1:hasPart a owl:ObjectProperty ; + rdfs:label "hasPart" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . + +ns1:object a owl:Class ; + rdfs:label "object" ; + rdfs:subClassOf ns2:Entity ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . -ns2:system a owl:Class ; +ns1:system a owl:Class ; rdfs:label "system" ; - rdfs:subClassOf ns1:Entity, - ns1:Undetermined_Thing ; - ns1:fromStructure "WikiAbstract-SolarSystem-01" . + rdfs:subClassOf ns2:Entity ; + ns2:fromStructure "WikiAbstract-SolarSystem-01" . diff --git a/data/generated_ontology/SolarSystemProd_factoid_10.ttl b/data/generated_ontology/SolarSystemProd_factoid_10.ttl index c4def47..0a8ec00 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_10.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_10.ttl @@ -1,34 +1,69 @@ @prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix ns2: <https://tenet.tetras-libre.fr/extract-result#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -<https://tenet.tetras-libre.fr/extract-result#SolarSystem> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#system> ; +ns2:SolarSystem a owl:Individual, + ns1:Entity, + ns2:system, + ns2:system-contain-more-small-object ; rdfs:label "SolarSystem" ; - ns1:fromStructure "WikiAbstract-SolarSystem-10" . + ns1:fromStructure "WikiAbstract-SolarSystem-10" ; + ns2:contain ns2:object-WikiAbstract-SolarSystem-10 . -<https://tenet.tetras-libre.fr/extract-result#also> a owl:Class ; +ns2:also a owl:Class ; rdfs:label "also" ; rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-10" . -<https://tenet.tetras-libre.fr/extract-result#contain> a owl:ObjectProperty ; +ns2:more a owl:Individual, + ns1:Degree ; + rdfs:label "more" ; + ns1:fromStructure "WikiAbstract-SolarSystem-10" . + +ns2:contain a owl:ObjectProperty ; rdfs:label "contain" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-10" . -<https://tenet.tetras-libre.fr/extract-result#more> a owl:ObjectProperty ; - rdfs:label "more" ; +ns2:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-10" . + ns1:fromStructure "predefinedProperty" . -<https://tenet.tetras-libre.fr/extract-result#object> a owl:Class ; +ns2:object a owl:Class ; rdfs:label "object" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-10" . -<https://tenet.tetras-libre.fr/extract-result#small> a owl:Class ; - rdfs:label "small" ; +ns2:object-WikiAbstract-SolarSystem-10 a owl:Individual, + ns1:Entity, + ns2:more-small-object ; + rdfs:label "object (WikiAbstract-SolarSystem-10)" ; + ns1:fromStructure "WikiAbstract-SolarSystem-10" ; + ns2:hasFeature ns2:more-small . + +ns2:system-contain-more-small-object a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:contain ; + owl:someValuesFrom ns2:more-small-object ], + ns2:system ; + ns1:fromStructure "WikiAbstract-SolarSystem-10" . + +ns2:more-small a owl:Individual, + ns1:Feature ; + rdfs:label "more-small" ; + ns1:fromStructure "WikiAbstract-SolarSystem-10" . + +ns2:more-small-object a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue ns2:more-small ; + owl:onProperty ns2:hasFeature ], + ns2:object ; + ns1:fromStructure "WikiAbstract-SolarSystem-10" . + +ns2:system a owl:Class ; + rdfs:label "system" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-10" . diff --git a/data/generated_ontology/SolarSystemProd_factoid_11.ttl b/data/generated_ontology/SolarSystemProd_factoid_11.ttl index 5ba48fd..e89bc61 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_11.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_11.ttl @@ -3,32 +3,34 @@ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . <https://tenet.tetras-libre.fr/extract-result#Jupiter> a owl:Individual, + ns1:Entity, <https://tenet.tetras-libre.fr/extract-result#planet> ; rdfs:label "Jupiter" ; ns1:fromStructure "WikiAbstract-SolarSystem-11" . <https://tenet.tetras-libre.fr/extract-result#Mars> a owl:Individual, + ns1:Entity, <https://tenet.tetras-libre.fr/extract-result#planet> ; rdfs:label "Mars" ; ns1:fromStructure "WikiAbstract-SolarSystem-11" . -<https://tenet.tetras-libre.fr/extract-result#asteroid-belt-contain-object> a owl:Class ; +<https://tenet.tetras-libre.fr/extract-result#asteroid-belt-contain-object-compose-metal> a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty <https://tenet.tetras-libre.fr/extract-result#contain> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#object> ], - <https://tenet.tetras-libre.fr/extract-result#asteroid-belt> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#object-compose-metal> ], + <https://tenet.tetras-libre.fr/extract-result#asteroid-belt-contain-object> ; ns1:fromStructure "WikiAbstract-SolarSystem-11" . -<https://tenet.tetras-libre.fr/extract-result#between> a owl:Class ; - rdfs:label "between" ; - rdfs:subClassOf ns1:Entity ; +<https://tenet.tetras-libre.fr/extract-result#asteroid-belt-contain-object-compose-rock> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#contain> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#object-compose-rock> ], + <https://tenet.tetras-libre.fr/extract-result#asteroid-belt-contain-object> ; ns1:fromStructure "WikiAbstract-SolarSystem-11" . -<https://tenet.tetras-libre.fr/extract-result#compose-resemble-terrestrial-planet> a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#resemble> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#terrestrial-planet> ], - <https://tenet.tetras-libre.fr/extract-result#compose> ; +<https://tenet.tetras-libre.fr/extract-result#between> a owl:ObjectProperty ; + rdfs:label "between" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-11" . <https://tenet.tetras-libre.fr/extract-result#lie> a owl:ObjectProperty ; @@ -36,11 +38,6 @@ rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-11" . -<https://tenet.tetras-libre.fr/extract-result#metal> a owl:Class ; - rdfs:label "metal" ; - rdfs:subClassOf ns1:Entity ; - ns1:fromStructure "WikiAbstract-SolarSystem-11" . - <https://tenet.tetras-libre.fr/extract-result#most> a owl:ObjectProperty ; rdfs:label "most" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; @@ -51,20 +48,28 @@ rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-11" . -<https://tenet.tetras-libre.fr/extract-result#rock> a owl:Class ; - rdfs:label "rock" ; - rdfs:subClassOf ns1:Entity ; +<https://tenet.tetras-libre.fr/extract-result#resemble> a owl:ObjectProperty ; + rdfs:label "resemble" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "WikiAbstract-SolarSystem-11" . + +<https://tenet.tetras-libre.fr/extract-result#terrestrial-planet> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#terrestrial> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#planet> ; ns1:fromStructure "WikiAbstract-SolarSystem-11" . -<https://tenet.tetras-libre.fr/extract-result#asteroid> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#asteroid> ; +<https://tenet.tetras-libre.fr/extract-result#asteroid> a owl:Individual, + ns1:Feature ; rdfs:label "asteroid" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-11" . <https://tenet.tetras-libre.fr/extract-result#asteroid-belt> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#belt> ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#asteroid> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#belt> ; ns1:fromStructure "WikiAbstract-SolarSystem-11" . <https://tenet.tetras-libre.fr/extract-result#belt> a owl:Class ; @@ -72,39 +77,67 @@ rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-11" . -<https://tenet.tetras-libre.fr/extract-result#compose> a owl:Class ; - rdfs:label "compose" ; +<https://tenet.tetras-libre.fr/extract-result#metal> a owl:Class ; + rdfs:label "metal" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-11" . -<https://tenet.tetras-libre.fr/extract-result#contain> a owl:ObjectProperty ; - rdfs:label "contain" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; +<https://tenet.tetras-libre.fr/extract-result#object-compose-metal> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#compose> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#metal> ], + <https://tenet.tetras-libre.fr/extract-result#object> ; ns1:fromStructure "WikiAbstract-SolarSystem-11" . -<https://tenet.tetras-libre.fr/extract-result#object> a owl:Class ; - rdfs:label "object" ; - rdfs:subClassOf ns1:Entity ; +<https://tenet.tetras-libre.fr/extract-result#object-compose-rock> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#compose> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#rock> ], + <https://tenet.tetras-libre.fr/extract-result#object> ; ns1:fromStructure "WikiAbstract-SolarSystem-11" . -<https://tenet.tetras-libre.fr/extract-result#resemble> a owl:ObjectProperty ; - rdfs:label "resemble" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; +<https://tenet.tetras-libre.fr/extract-result#rock> a owl:Class ; + rdfs:label "rock" ; + rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-11" . -<https://tenet.tetras-libre.fr/extract-result#terrestrial> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#terrestrial> ; +<https://tenet.tetras-libre.fr/extract-result#terrestrial> a owl:Individual, + ns1:Feature ; rdfs:label "terrestrial" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-11" . -<https://tenet.tetras-libre.fr/extract-result#terrestrial-planet> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#planet> ; +<https://tenet.tetras-libre.fr/extract-result#asteroid-belt-contain-object> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#contain> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#object> ], + [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#contain> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#object> ], + <https://tenet.tetras-libre.fr/extract-result#asteroid-belt> ; + ns1:fromStructure "WikiAbstract-SolarSystem-11" . + +<https://tenet.tetras-libre.fr/extract-result#compose> a owl:ObjectProperty ; + rdfs:label "compose" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-11" . +<https://tenet.tetras-libre.fr/extract-result#hasFeature> a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "predefinedProperty" . + <https://tenet.tetras-libre.fr/extract-result#planet> a owl:Class ; rdfs:label "planet" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-11" . +<https://tenet.tetras-libre.fr/extract-result#contain> a owl:ObjectProperty ; + rdfs:label "contain" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "WikiAbstract-SolarSystem-11" . + +<https://tenet.tetras-libre.fr/extract-result#object> a owl:Class ; + rdfs:label "object" ; + rdfs:subClassOf ns1:Entity ; + ns1:fromStructure "WikiAbstract-SolarSystem-11" . + diff --git a/data/generated_ontology/SolarSystemProd_factoid_12.ttl b/data/generated_ontology/SolarSystemProd_factoid_12.ttl index 95df468..2989bae 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_12.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_12.ttl @@ -3,11 +3,13 @@ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . <https://tenet.tetras-libre.fr/extract-result#KuiperBelt> a owl:Individual, + ns1:Entity, <https://tenet.tetras-libre.fr/extract-result#belt> ; rdfs:label "KuiperBelt" ; ns1:fromStructure "WikiAbstract-SolarSystem-12" . <https://tenet.tetras-libre.fr/extract-result#Neptunian> a owl:Individual, + ns1:Entity, <https://tenet.tetras-libre.fr/extract-result#planet> ; rdfs:label "Neptunian" ; ns1:fromStructure "WikiAbstract-SolarSystem-12" . @@ -17,19 +19,17 @@ rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-12" . -<https://tenet.tetras-libre.fr/extract-result#discover> a owl:Class ; - rdfs:label "discover" ; - rdfs:subClassOf ns1:Entity ; - ns1:fromStructure "WikiAbstract-SolarSystem-12" . - <https://tenet.tetras-libre.fr/extract-result#most> a owl:ObjectProperty ; rdfs:label "most" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-12" . -<https://tenet.tetras-libre.fr/extract-result#new> a owl:ObjectProperty ; +<https://tenet.tetras-libre.fr/extract-result#new> a owl:Individual, + ns1:Feature ; rdfs:label "new" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "WikiAbstract-SolarSystem-12" . + +<https://tenet.tetras-libre.fr/extract-result#new-discover> rdfs:subPropertyOf <https://tenet.tetras-libre.fr/extract-result#discover> ; ns1:fromStructure "WikiAbstract-SolarSystem-12" . <https://tenet.tetras-libre.fr/extract-result#object-population-compose-ice> a owl:Class ; @@ -61,6 +61,11 @@ rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-12" . +<https://tenet.tetras-libre.fr/extract-result#belt> a owl:Class ; + rdfs:label "belt" ; + rdfs:subClassOf ns1:Undetermined_Thing ; + ns1:fromStructure "WikiAbstract-SolarSystem-12" . + <https://tenet.tetras-libre.fr/extract-result#beyond> a owl:Class ; rdfs:label "beyond" ; rdfs:subClassOf ns1:Entity, @@ -72,6 +77,11 @@ rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-12" . +<https://tenet.tetras-libre.fr/extract-result#discover> a owl:ObjectProperty ; + rdfs:label "discover" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "WikiAbstract-SolarSystem-12" . + <https://tenet.tetras-libre.fr/extract-result#ice> a owl:Class ; rdfs:label "ice" ; rdfs:subClassOf ns1:Entity ; @@ -82,28 +92,40 @@ rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-12" . -<https://tenet.tetras-libre.fr/extract-result#object> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#object> ; +<https://tenet.tetras-libre.fr/extract-result#object> a owl:Individual, + ns1:Feature ; rdfs:label "object" ; - rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-12" . <https://tenet.tetras-libre.fr/extract-result#object-population> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#population> ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#object> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#population> ; ns1:fromStructure "WikiAbstract-SolarSystem-12" . -<https://tenet.tetras-libre.fr/extract-result#sednoid> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#sednoid> ; +<https://tenet.tetras-libre.fr/extract-result#planet> a owl:Class ; + rdfs:label "planet" ; + rdfs:subClassOf ns1:Entity ; + ns1:fromStructure "WikiAbstract-SolarSystem-12" . + +<https://tenet.tetras-libre.fr/extract-result#sednoid> a owl:Individual, + ns1:Feature ; rdfs:label "sednoid" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-12" . <https://tenet.tetras-libre.fr/extract-result#sednoid-population> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#population> ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#sednoid> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#population> ; ns1:fromStructure "WikiAbstract-SolarSystem-12" . +<https://tenet.tetras-libre.fr/extract-result#hasFeature> a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "predefinedProperty" . + <https://tenet.tetras-libre.fr/extract-result#population> a owl:Class ; rdfs:label "population" ; rdfs:subClassOf ns1:Entity ; diff --git a/data/generated_ontology/SolarSystemProd_factoid_13.ttl b/data/generated_ontology/SolarSystemProd_factoid_13.ttl index 0b24fdd..7e47dae 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_13.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_13.ttl @@ -7,9 +7,9 @@ rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-13" . -<https://tenet.tetras-libre.fr/extract-result#debate> a owl:Class ; +<https://tenet.tetras-libre.fr/extract-result#debate> a owl:ObjectProperty ; rdfs:label "debate" ; - rdfs:subClassOf ns1:Entity ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-13" . <https://tenet.tetras-libre.fr/extract-result#enough> a owl:Class ; @@ -63,7 +63,10 @@ ns1:fromStructure "WikiAbstract-SolarSystem-13" . <https://tenet.tetras-libre.fr/extract-result#this-population> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#population> ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#this> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#population> ; ns1:fromStructure "WikiAbstract-SolarSystem-13" . <https://tenet.tetras-libre.fr/extract-result#under> a owl:Class ; @@ -71,15 +74,18 @@ rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-13" . +<https://tenet.tetras-libre.fr/extract-result#hasFeature> a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "predefinedProperty" . + <https://tenet.tetras-libre.fr/extract-result#population> a owl:Class ; rdfs:label "population" ; rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-13" . -<https://tenet.tetras-libre.fr/extract-result#this> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#this> ; +<https://tenet.tetras-libre.fr/extract-result#this> a owl:Individual, + ns1:Feature ; rdfs:label "this" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-13" . diff --git a/data/generated_ontology/SolarSystemProd_factoid_14.ttl b/data/generated_ontology/SolarSystemProd_factoid_14.ttl index 4610af1..cee236f 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_14.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_14.ttl @@ -14,15 +14,16 @@ rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-14" . -<https://tenet.tetras-libre.fr/extract-result#dwarf> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#dwarf> ; +<https://tenet.tetras-libre.fr/extract-result#dwarf> a owl:Individual, + ns1:Feature ; rdfs:label "dwarf" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-14" . <https://tenet.tetras-libre.fr/extract-result#dwarf-planet> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#planet> ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#dwarf> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#planet> ; ns1:fromStructure "WikiAbstract-SolarSystem-14" . <https://tenet.tetras-libre.fr/extract-result#object> a owl:Class ; @@ -35,14 +36,20 @@ rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-14" . -<https://tenet.tetras-libre.fr/extract-result#such> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#such> ; +<https://tenet.tetras-libre.fr/extract-result#such> a owl:Individual, + ns1:Feature ; rdfs:label "such" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-14" . <https://tenet.tetras-libre.fr/extract-result#such-object> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#object> ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#such> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#object> ; ns1:fromStructure "WikiAbstract-SolarSystem-14" . +<https://tenet.tetras-libre.fr/extract-result#hasFeature> a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "predefinedProperty" . + diff --git a/data/generated_ontology/SolarSystemProd_factoid_15.ttl b/data/generated_ontology/SolarSystemProd_factoid_15.ttl index 5dc80b5..f52a293 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_15.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_15.ttl @@ -1,104 +1,201 @@ @prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix ns2: <https://tenet.tetras-libre.fr/extract-result#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -<https://tenet.tetras-libre.fr/extract-result#Cerre> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#asteroid> ; +ns2:Cerre a owl:Individual, + ns1:Entity, + ns2:asteroid, + ns2:asteroid-include-object ; rdfs:label "Cerre" ; - ns1:fromStructure "WikiAbstract-SolarSystem-15" . + ns1:fromStructure "WikiAbstract-SolarSystem-15" ; + ns2:include ns2:object-WikiAbstract-SolarSystem-15 . -<https://tenet.tetras-libre.fr/extract-result#Eris> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#asteroid> ; +ns2:Eris a owl:Individual, + ns1:Entity, + ns2:asteroid, + ns2:asteroid-include-object ; rdfs:label "Eris" ; - ns1:fromStructure "WikiAbstract-SolarSystem-15" . + ns1:fromStructure "WikiAbstract-SolarSystem-15" ; + ns2:include ns2:object-WikiAbstract-SolarSystem-15 . -<https://tenet.tetras-libre.fr/extract-result#Gonggong> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#object> ; +ns2:Gonggong a owl:Individual, + ns1:Entity, + ns2:object, + ns2:object-include-object ; rdfs:label "Gonggong" ; - ns1:fromStructure "WikiAbstract-SolarSystem-15" . + ns1:fromStructure "WikiAbstract-SolarSystem-15" ; + ns2:include ns2:object-WikiAbstract-SolarSystem-15 . -<https://tenet.tetras-libre.fr/extract-result#Haumea> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#asteroid> ; +ns2:Haumea a owl:Individual, + ns1:Entity, + ns2:asteroid, + ns2:asteroid-include-object ; rdfs:label "Haumea" ; - ns1:fromStructure "WikiAbstract-SolarSystem-15" . + ns1:fromStructure "WikiAbstract-SolarSystem-15" ; + ns2:include ns2:object-WikiAbstract-SolarSystem-15 . -<https://tenet.tetras-libre.fr/extract-result#Makemake> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#object> ; +ns2:Makemake a owl:Individual, + ns1:Entity, + ns2:object, + ns2:object-include-object ; rdfs:label "Makemake" ; - ns1:fromStructure "WikiAbstract-SolarSystem-15" . + ns1:fromStructure "WikiAbstract-SolarSystem-15" ; + ns2:include ns2:object-WikiAbstract-SolarSystem-15 . -<https://tenet.tetras-libre.fr/extract-result#Orcus> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#object> ; +ns2:Orcus a owl:Individual, + ns1:Entity, + ns2:object, + ns2:object-include-object ; rdfs:label "Orcus" ; - ns1:fromStructure "WikiAbstract-SolarSystem-15" . + ns1:fromStructure "WikiAbstract-SolarSystem-15" ; + ns2:include ns2:object-WikiAbstract-SolarSystem-15 . -<https://tenet.tetras-libre.fr/extract-result#Pluto> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#object> ; +ns2:Pluto a owl:Individual, + ns1:Entity, + ns2:object, + ns2:object-include-object ; rdfs:label "Pluto" ; - ns1:fromStructure "WikiAbstract-SolarSystem-15" . + ns1:fromStructure "WikiAbstract-SolarSystem-15" ; + ns2:include ns2:object-WikiAbstract-SolarSystem-15 . -<https://tenet.tetras-libre.fr/extract-result#Quaoar> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#object> ; +ns2:Quaoar a owl:Individual, + ns1:Entity, + ns2:object, + ns2:object-include-object ; rdfs:label "Quaoar" ; - ns1:fromStructure "WikiAbstract-SolarSystem-15" . + ns1:fromStructure "WikiAbstract-SolarSystem-15" ; + ns2:include ns2:object-WikiAbstract-SolarSystem-15 . -<https://tenet.tetras-libre.fr/extract-result#Sedna> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#object> ; +ns2:Sedna a owl:Individual, + ns1:Entity, + ns2:object, + ns2:object-include-object ; rdfs:label "Sedna" ; - ns1:fromStructure "WikiAbstract-SolarSystem-15" . + ns1:fromStructure "WikiAbstract-SolarSystem-15" ; + ns2:include ns2:object-WikiAbstract-SolarSystem-15 . -<https://tenet.tetras-libre.fr/extract-result#accept> a owl:Class ; - rdfs:label "accept" ; - rdfs:subClassOf ns1:Entity ; - ns1:fromStructure "WikiAbstract-SolarSystem-15" . - -<https://tenet.tetras-libre.fr/extract-result#at-least> a owl:Class ; +ns2:at-least a owl:Class ; rdfs:label "at-least" ; rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-15" . -<https://tenet.tetras-libre.fr/extract-result#dwarf-planet> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#planet> ; +ns2:dwarf-planet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue ns2:dwarf ; + owl:onProperty ns2:hasFeature ], + ns2:planet ; ns1:fromStructure "WikiAbstract-SolarSystem-15" . -<https://tenet.tetras-libre.fr/extract-result#general> a owl:ObjectProperty ; +ns2:general a owl:Individual, + ns1:Feature ; rdfs:label "general" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-15" . -<https://tenet.tetras-libre.fr/extract-result#include> a owl:ObjectProperty ; - rdfs:label "include" ; +ns2:observe a owl:ObjectProperty ; + rdfs:label "observe" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-15" . -<https://tenet.tetras-libre.fr/extract-result#observe> a owl:ObjectProperty ; - rdfs:label "observe" ; +ns2:person-WikiAbstract-SolarSystem-15 a owl:Individual, + ns1:Entity, + ns2:person-general-accept-object ; + rdfs:label "person (WikiAbstract-SolarSystem-15)" ; + ns1:fromStructure "WikiAbstract-SolarSystem-15" ; + ns2:general-accept ns2:object-WikiAbstract-SolarSystem-15 . + +ns2:trans-Neptunian a owl:Class ; + rdfs:label "trans-Neptunian" ; + rdfs:subClassOf ns1:Undetermined_Thing ; + ns1:fromStructure "WikiAbstract-SolarSystem-15" . + +ns2:accept a owl:ObjectProperty ; + rdfs:label "accept" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-15" . -<https://tenet.tetras-libre.fr/extract-result#person> a owl:Class ; +ns2:dwarf a owl:Individual, + ns1:Feature ; + rdfs:label "dwarf" ; + ns1:fromStructure "WikiAbstract-SolarSystem-15" . + +ns2:general-accept rdfs:subPropertyOf ns2:accept ; + ns1:fromStructure "WikiAbstract-SolarSystem-15" . + +ns2:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "predefinedProperty" . + +ns2:person a owl:Class ; rdfs:label "person" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-15" . -<https://tenet.tetras-libre.fr/extract-result#trans-Neptunian> a owl:Class ; - rdfs:label "trans-Neptunian" ; - rdfs:subClassOf ns1:Undetermined_Thing ; +ns2:person-general-accept-object a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:general-accept ; + owl:someValuesFrom ns2:object ], + ns2:person ; ns1:fromStructure "WikiAbstract-SolarSystem-15" . -<https://tenet.tetras-libre.fr/extract-result#dwarf> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#dwarf> ; - rdfs:label "dwarf" ; +ns2:planet a owl:Class ; + rdfs:label "planet" ; rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-15" . -<https://tenet.tetras-libre.fr/extract-result#planet> a owl:Class ; - rdfs:label "planet" ; - rdfs:subClassOf ns1:Undetermined_Thing ; +ns2:asteroid-include-object a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:include ; + owl:someValuesFrom ns2:object ], + [ a owl:Restriction ; + owl:onProperty ns2:include ; + owl:someValuesFrom ns2:object ], + [ a owl:Restriction ; + owl:onProperty ns2:include ; + owl:someValuesFrom ns2:object ], + ns2:asteroid ; + ns1:fromStructure "WikiAbstract-SolarSystem-15" . + +ns2:asteroid a owl:Class ; + rdfs:label "asteroid" ; + rdfs:subClassOf ns1:Entity ; + ns1:fromStructure "WikiAbstract-SolarSystem-15" . + +ns2:object-include-object a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:include ; + owl:someValuesFrom ns2:object ], + [ a owl:Restriction ; + owl:onProperty ns2:include ; + owl:someValuesFrom ns2:object ], + [ a owl:Restriction ; + owl:onProperty ns2:include ; + owl:someValuesFrom ns2:object ], + [ a owl:Restriction ; + owl:onProperty ns2:include ; + owl:someValuesFrom ns2:object ], + [ a owl:Restriction ; + owl:onProperty ns2:include ; + owl:someValuesFrom ns2:object ], + [ a owl:Restriction ; + owl:onProperty ns2:include ; + owl:someValuesFrom ns2:object ], + ns2:object ; + ns1:fromStructure "WikiAbstract-SolarSystem-15" . + +ns2:include a owl:ObjectProperty ; + rdfs:label "include" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "WikiAbstract-SolarSystem-15" . + +ns2:object-WikiAbstract-SolarSystem-15 a owl:Individual, + ns1:Entity, + ns2:object ; + rdfs:label "object (WikiAbstract-SolarSystem-15)" ; ns1:fromStructure "WikiAbstract-SolarSystem-15" . -<https://tenet.tetras-libre.fr/extract-result#object> a owl:Class ; +ns2:object a owl:Class ; rdfs:label "object" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-15" . diff --git a/data/generated_ontology/SolarSystemProd_factoid_16.ttl b/data/generated_ontology/SolarSystemProd_factoid_16.ttl index e9f5ba4..1e19328 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_16.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_16.ttl @@ -2,14 +2,23 @@ @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -<https://tenet.tetras-libre.fr/extract-result#centaur> a owl:Class ; - rdfs:label "centaur" ; - rdfs:subClassOf ns1:Entity ; +<https://tenet.tetras-libre.fr/extract-result#between> a owl:ObjectProperty ; + rdfs:label "between" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-16" . -<https://tenet.tetras-libre.fr/extract-result#comet> a owl:Class ; - rdfs:label "comet" ; - rdfs:subClassOf ns1:Entity ; +<https://tenet.tetras-libre.fr/extract-result#centaur-include-various-other-population> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#include> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#various-other-population> ], + <https://tenet.tetras-libre.fr/extract-result#centaur> ; + ns1:fromStructure "WikiAbstract-SolarSystem-16" . + +<https://tenet.tetras-libre.fr/extract-result#comet-include-various-other-population> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#include> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#various-other-population> ], + <https://tenet.tetras-libre.fr/extract-result#comet> ; ns1:fromStructure "WikiAbstract-SolarSystem-16" . <https://tenet.tetras-libre.fr/extract-result#dust> a owl:Class ; @@ -22,35 +31,30 @@ rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-16" . -<https://tenet.tetras-libre.fr/extract-result#include> a owl:ObjectProperty ; - rdfs:label "include" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-16" . - -<https://tenet.tetras-libre.fr/extract-result#interplanetary-cloud> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#cloud> ; - ns1:fromStructure "WikiAbstract-SolarSystem-16" . - -<https://tenet.tetras-libre.fr/extract-result#other-population-travel-between> a owl:Class ; +<https://tenet.tetras-libre.fr/extract-result#interplanetary-cloud-include-various-other-population> a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#travel> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#between> ], - <https://tenet.tetras-libre.fr/extract-result#other-population> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#include> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#various-other-population> ], + <https://tenet.tetras-libre.fr/extract-result#interplanetary-cloud> ; ns1:fromStructure "WikiAbstract-SolarSystem-16" . <https://tenet.tetras-libre.fr/extract-result#small-body> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#body> ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#small> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#body> ; ns1:fromStructure "WikiAbstract-SolarSystem-16" . <https://tenet.tetras-libre.fr/extract-result#this-region> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#region> ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#this> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#region> ; ns1:fromStructure "WikiAbstract-SolarSystem-16" . -<https://tenet.tetras-libre.fr/extract-result#various-population-travel-between> a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#travel> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#between> ], - <https://tenet.tetras-libre.fr/extract-result#various-population> ; +<https://tenet.tetras-libre.fr/extract-result#travel> a owl:ObjectProperty ; + rdfs:label "travel" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-16" . <https://tenet.tetras-libre.fr/extract-result#body> a owl:Class ; @@ -58,27 +62,41 @@ rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-16" . +<https://tenet.tetras-libre.fr/extract-result#centaur> a owl:Class ; + rdfs:label "centaur" ; + rdfs:subClassOf ns1:Entity ; + ns1:fromStructure "WikiAbstract-SolarSystem-16" . + <https://tenet.tetras-libre.fr/extract-result#cloud> a owl:Class ; rdfs:label "cloud" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-16" . -<https://tenet.tetras-libre.fr/extract-result#interplanetary> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#interplanetary> ; +<https://tenet.tetras-libre.fr/extract-result#comet> a owl:Class ; + rdfs:label "comet" ; + rdfs:subClassOf ns1:Entity ; + ns1:fromStructure "WikiAbstract-SolarSystem-16" . + +<https://tenet.tetras-libre.fr/extract-result#interplanetary> a owl:Individual, + ns1:Feature ; rdfs:label "interplanetary" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-16" . -<https://tenet.tetras-libre.fr/extract-result#other> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#other> ; +<https://tenet.tetras-libre.fr/extract-result#interplanetary-cloud> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#interplanetary> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#cloud> ; + ns1:fromStructure "WikiAbstract-SolarSystem-16" . + +<https://tenet.tetras-libre.fr/extract-result#other> a owl:Individual, + ns1:Feature ; rdfs:label "other" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-16" . -<https://tenet.tetras-libre.fr/extract-result#other-population> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#population> ; +<https://tenet.tetras-libre.fr/extract-result#population> a owl:Class ; + rdfs:label "population" ; + rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-16" . <https://tenet.tetras-libre.fr/extract-result#region> a owl:Class ; @@ -86,43 +104,38 @@ rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-16" . -<https://tenet.tetras-libre.fr/extract-result#small> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#small> ; +<https://tenet.tetras-libre.fr/extract-result#small> a owl:Individual, + ns1:Feature ; rdfs:label "small" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-16" . -<https://tenet.tetras-libre.fr/extract-result#this> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#this> ; +<https://tenet.tetras-libre.fr/extract-result#this> a owl:Individual, + ns1:Feature ; rdfs:label "this" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-16" . -<https://tenet.tetras-libre.fr/extract-result#various> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#various> ; +<https://tenet.tetras-libre.fr/extract-result#various> a owl:Individual, + ns1:Feature ; rdfs:label "various" ; - rdfs:subClassOf ns1:Undetermined_Thing ; - ns1:fromStructure "WikiAbstract-SolarSystem-16" . - -<https://tenet.tetras-libre.fr/extract-result#various-population> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#population> ; ns1:fromStructure "WikiAbstract-SolarSystem-16" . -<https://tenet.tetras-libre.fr/extract-result#between> a owl:Class ; - rdfs:label "between" ; - rdfs:subClassOf ns1:Entity ; +<https://tenet.tetras-libre.fr/extract-result#include> a owl:ObjectProperty ; + rdfs:label "include" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-16" . -<https://tenet.tetras-libre.fr/extract-result#population> a owl:Class ; - rdfs:label "population" ; - rdfs:subClassOf ns1:Entity ; +<https://tenet.tetras-libre.fr/extract-result#various-other-population> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#various> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#other> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#population> ; ns1:fromStructure "WikiAbstract-SolarSystem-16" . -<https://tenet.tetras-libre.fr/extract-result#travel> a owl:ObjectProperty ; - rdfs:label "travel" ; +<https://tenet.tetras-libre.fr/extract-result#hasFeature> a owl:ObjectProperty ; + rdfs:label "hasFeature" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-16" . + ns1:fromStructure "predefinedProperty" . diff --git a/data/generated_ontology/SolarSystemProd_factoid_17.ttl b/data/generated_ontology/SolarSystemProd_factoid_17.ttl index 787704b..ad55768 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_17.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_17.ttl @@ -7,16 +7,11 @@ rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-17" . -<https://tenet.tetras-libre.fr/extract-result#body-include-body> a owl:Class ; +<https://tenet.tetras-libre.fr/extract-result#body-isMoreSmallThan-planet-include-most-large-dwarf-planet> a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#include> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#body> ], - <https://tenet.tetras-libre.fr/extract-result#body> ; - ns1:fromStructure "WikiAbstract-SolarSystem-17" . - -<https://tenet.tetras-libre.fr/extract-result#large> a owl:Class ; - rdfs:label "large" ; - rdfs:subClassOf ns1:Entity ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#isMoreSmallThan> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#planet-include-most-large-dwarf-planet> ], + <https://tenet.tetras-libre.fr/extract-result#more-small-body> ; ns1:fromStructure "WikiAbstract-SolarSystem-17" . <https://tenet.tetras-libre.fr/extract-result#many> a owl:Class ; @@ -29,14 +24,14 @@ rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-17" . -<https://tenet.tetras-libre.fr/extract-result#more> a owl:ObjectProperty ; +<https://tenet.tetras-libre.fr/extract-result#more> a owl:Individual, + ns1:Degree ; rdfs:label "more" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-17" . -<https://tenet.tetras-libre.fr/extract-result#most> a owl:ObjectProperty ; +<https://tenet.tetras-libre.fr/extract-result#most> a owl:Individual, + ns1:Degree ; rdfs:label "most" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-17" . <https://tenet.tetras-libre.fr/extract-result#natural> a owl:ObjectProperty ; @@ -44,30 +39,18 @@ rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-17" . -<https://tenet.tetras-libre.fr/extract-result#planet-include-dwarf-planet> a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#include> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#dwarf-planet> ], - <https://tenet.tetras-libre.fr/extract-result#planet> ; - ns1:fromStructure "WikiAbstract-SolarSystem-17" . - -<https://tenet.tetras-libre.fr/extract-result#satellite-orbit-body> a owl:Class ; +<https://tenet.tetras-libre.fr/extract-result#satellite-orbit-body-include-more-small-body> a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty <https://tenet.tetras-libre.fr/extract-result#orbit> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#body> ], - <https://tenet.tetras-libre.fr/extract-result#satellite> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#body-include-more-small-body> ], + <https://tenet.tetras-libre.fr/extract-result#satellite-orbit-body> ; ns1:fromStructure "WikiAbstract-SolarSystem-17" . -<https://tenet.tetras-libre.fr/extract-result#satellite-orbit-planet> a owl:Class ; +<https://tenet.tetras-libre.fr/extract-result#satellite-orbit-planet-include-most-large-dwarf-planet> a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty <https://tenet.tetras-libre.fr/extract-result#orbit> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#planet> ], - <https://tenet.tetras-libre.fr/extract-result#satellite> ; - ns1:fromStructure "WikiAbstract-SolarSystem-17" . - -<https://tenet.tetras-libre.fr/extract-result#small> a owl:Class ; - rdfs:label "small" ; - rdfs:subClassOf ns1:Entity ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#planet-include-most-large-dwarf-planet> ], + <https://tenet.tetras-libre.fr/extract-result#satellite-orbit-planet> ; ns1:fromStructure "WikiAbstract-SolarSystem-17" . <https://tenet.tetras-libre.fr/extract-result#term> a owl:ObjectProperty ; @@ -80,15 +63,55 @@ rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-17" . -<https://tenet.tetras-libre.fr/extract-result#dwarf> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#dwarf> ; +<https://tenet.tetras-libre.fr/extract-result#body-include-more-small-body> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#include> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#more-small-body> ], + <https://tenet.tetras-libre.fr/extract-result#body> ; + ns1:fromStructure "WikiAbstract-SolarSystem-17" . + +<https://tenet.tetras-libre.fr/extract-result#dwarf> a owl:Individual, + ns1:Feature ; rdfs:label "dwarf" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-17" . <https://tenet.tetras-libre.fr/extract-result#dwarf-planet> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#planet> ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#dwarf> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#planet> ; + ns1:fromStructure "WikiAbstract-SolarSystem-17" . + +<https://tenet.tetras-libre.fr/extract-result#most-large> a owl:Individual, + ns1:Feature ; + rdfs:label "most-large" ; + ns1:fromStructure "WikiAbstract-SolarSystem-17" . + +<https://tenet.tetras-libre.fr/extract-result#most-large-dwarf-planet> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#most-large> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#dwarf-planet> ; + ns1:fromStructure "WikiAbstract-SolarSystem-17" . + +<https://tenet.tetras-libre.fr/extract-result#satellite-orbit-body> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#orbit> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#body> ], + [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#orbit> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#body> ], + <https://tenet.tetras-libre.fr/extract-result#satellite> ; + ns1:fromStructure "WikiAbstract-SolarSystem-17" . + +<https://tenet.tetras-libre.fr/extract-result#satellite-orbit-planet> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#orbit> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#planet> ], + [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#orbit> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#planet> ], + <https://tenet.tetras-libre.fr/extract-result#satellite> ; ns1:fromStructure "WikiAbstract-SolarSystem-17" . <https://tenet.tetras-libre.fr/extract-result#include> a owl:ObjectProperty ; @@ -96,9 +119,32 @@ rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-17" . -<https://tenet.tetras-libre.fr/extract-result#orbit> a owl:ObjectProperty ; - rdfs:label "orbit" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; +<https://tenet.tetras-libre.fr/extract-result#more-small> a owl:Individual, + ns1:Feature ; + rdfs:label "more-small" ; + ns1:fromStructure "WikiAbstract-SolarSystem-17" . + +<https://tenet.tetras-libre.fr/extract-result#more-small-body> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#more-small> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#isMoreSmallThan> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#planet> ], + [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#isMoreSmallThan> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#planet> ], + [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#more-small> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#body> ; + ns1:fromStructure "WikiAbstract-SolarSystem-17" . + +<https://tenet.tetras-libre.fr/extract-result#planet-include-most-large-dwarf-planet> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#include> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#most-large-dwarf-planet> ], + <https://tenet.tetras-libre.fr/extract-result#planet> ; ns1:fromStructure "WikiAbstract-SolarSystem-17" . <https://tenet.tetras-libre.fr/extract-result#satellite> a owl:Class ; @@ -106,11 +152,24 @@ rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-17" . +<https://tenet.tetras-libre.fr/extract-result#isMoreSmallThan> rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "WikiAbstract-SolarSystem-17" . + <https://tenet.tetras-libre.fr/extract-result#body> a owl:Class ; rdfs:label "body" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-17" . +<https://tenet.tetras-libre.fr/extract-result#hasFeature> a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "predefinedProperty" . + +<https://tenet.tetras-libre.fr/extract-result#orbit> a owl:ObjectProperty ; + rdfs:label "orbit" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "WikiAbstract-SolarSystem-17" . + <https://tenet.tetras-libre.fr/extract-result#planet> a owl:Class ; rdfs:label "planet" ; rdfs:subClassOf ns1:Entity ; diff --git a/data/generated_ontology/SolarSystemProd_factoid_18.ttl b/data/generated_ontology/SolarSystemProd_factoid_18.ttl index e0492b3..f6b661e 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_18.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_18.ttl @@ -7,55 +7,63 @@ rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-18" . -<https://tenet.tetras-libre.fr/extract-result#other-object> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#object> ; - ns1:fromStructure "WikiAbstract-SolarSystem-18" . - -<https://tenet.tetras-libre.fr/extract-result#planet-ring-encircle-each-planet> a owl:Class ; +<https://tenet.tetras-libre.fr/extract-result#planet-ring-encircle-outer-each-planet> a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty <https://tenet.tetras-libre.fr/extract-result#encircle> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#each-planet> ], + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#outer-each-planet> ], <https://tenet.tetras-libre.fr/extract-result#planet-ring> ; ns1:fromStructure "WikiAbstract-SolarSystem-18" . -<https://tenet.tetras-libre.fr/extract-result#planet-ring-encircle-outer-planet> a owl:Class ; +<https://tenet.tetras-libre.fr/extract-result#small-other-object> a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#encircle> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#outer-planet> ], - <https://tenet.tetras-libre.fr/extract-result#planet-ring> ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#other> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#small> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#object> ; ns1:fromStructure "WikiAbstract-SolarSystem-18" . -<https://tenet.tetras-libre.fr/extract-result#small-object> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#object> ; +<https://tenet.tetras-libre.fr/extract-result#each> a owl:Individual, + ns1:Feature ; + rdfs:label "each" ; ns1:fromStructure "WikiAbstract-SolarSystem-18" . -<https://tenet.tetras-libre.fr/extract-result#each> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#each> ; - rdfs:label "each" ; - rdfs:subClassOf ns1:Undetermined_Thing ; +<https://tenet.tetras-libre.fr/extract-result#encircle> a owl:ObjectProperty ; + rdfs:label "encircle" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-18" . -<https://tenet.tetras-libre.fr/extract-result#each-planet> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#planet> ; +<https://tenet.tetras-libre.fr/extract-result#object> a owl:Class ; + rdfs:label "object" ; + rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-18" . -<https://tenet.tetras-libre.fr/extract-result#other> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#other> ; +<https://tenet.tetras-libre.fr/extract-result#other> a owl:Individual, + ns1:Feature ; rdfs:label "other" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-18" . -<https://tenet.tetras-libre.fr/extract-result#outer> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#outer> ; +<https://tenet.tetras-libre.fr/extract-result#outer> a owl:Individual, + ns1:Feature ; rdfs:label "outer" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-18" . -<https://tenet.tetras-libre.fr/extract-result#outer-planet> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#planet> ; +<https://tenet.tetras-libre.fr/extract-result#outer-each-planet> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#each> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#outer> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#planet> ; + ns1:fromStructure "WikiAbstract-SolarSystem-18" . + +<https://tenet.tetras-libre.fr/extract-result#planet-ring> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#planet> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#ring> ; ns1:fromStructure "WikiAbstract-SolarSystem-18" . <https://tenet.tetras-libre.fr/extract-result#ring> a owl:Class ; @@ -63,32 +71,20 @@ rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-18" . -<https://tenet.tetras-libre.fr/extract-result#small> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#small> ; +<https://tenet.tetras-libre.fr/extract-result#small> a owl:Individual, + ns1:Feature ; rdfs:label "small" ; - rdfs:subClassOf ns1:Undetermined_Thing ; - ns1:fromStructure "WikiAbstract-SolarSystem-18" . - -<https://tenet.tetras-libre.fr/extract-result#encircle> a owl:ObjectProperty ; - rdfs:label "encircle" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-18" . - -<https://tenet.tetras-libre.fr/extract-result#object> a owl:Class ; - rdfs:label "object" ; - rdfs:subClassOf ns1:Undetermined_Thing ; - ns1:fromStructure "WikiAbstract-SolarSystem-18" . - -<https://tenet.tetras-libre.fr/extract-result#planet-ring> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#ring> ; ns1:fromStructure "WikiAbstract-SolarSystem-18" . <https://tenet.tetras-libre.fr/extract-result#planet> a owl:Class, owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#planet> ; + ns1:Feature ; rdfs:label "planet" ; - rdfs:subClassOf ns1:Entity, - ns1:Undetermined_Thing ; + rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-18" . +<https://tenet.tetras-libre.fr/extract-result#hasFeature> a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "predefinedProperty" . + diff --git a/data/generated_ontology/SolarSystemProd_factoid_19.ttl b/data/generated_ontology/SolarSystemProd_factoid_19.ttl index 684ae11..454e430 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_19.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_19.ttl @@ -32,30 +32,23 @@ rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-19" . -<https://tenet.tetras-libre.fr/extract-result#region-know-heliosphere> a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#know> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#heliosphere> ], - <https://tenet.tetras-libre.fr/extract-result#region> ; +<https://tenet.tetras-libre.fr/extract-result#stream> a owl:ObjectProperty ; + rdfs:label "stream" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-19" . -<https://tenet.tetras-libre.fr/extract-result#region-resemble-bubble> a owl:Class ; +<https://tenet.tetras-libre.fr/extract-result#sun-wind-create-region-know-heliosphere> a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#resemble> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#bubble> ], - <https://tenet.tetras-libre.fr/extract-result#region> ; - ns1:fromStructure "WikiAbstract-SolarSystem-19" . - -<https://tenet.tetras-libre.fr/extract-result#stream> a owl:Class ; - rdfs:label "stream" ; - rdfs:subClassOf ns1:Entity ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#create> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#region-know-heliosphere> ], + <https://tenet.tetras-libre.fr/extract-result#sun-wind-create-region> ; ns1:fromStructure "WikiAbstract-SolarSystem-19" . -<https://tenet.tetras-libre.fr/extract-result#sun-wind-create-region> a owl:Class ; +<https://tenet.tetras-libre.fr/extract-result#sun-wind-create-region-resemble-bubble> a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty <https://tenet.tetras-libre.fr/extract-result#create> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#region> ], - <https://tenet.tetras-libre.fr/extract-result#sun-wind> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#region-resemble-bubble> ], + <https://tenet.tetras-libre.fr/extract-result#sun-wind-create-region> ; ns1:fromStructure "WikiAbstract-SolarSystem-19" . <https://tenet.tetras-libre.fr/extract-result#bubble> a owl:Class ; @@ -63,10 +56,10 @@ rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-19" . -<https://tenet.tetras-libre.fr/extract-result#create> a owl:ObjectProperty ; - rdfs:label "create" ; +<https://tenet.tetras-libre.fr/extract-result#hasFeature> a owl:ObjectProperty ; + rdfs:label "hasFeature" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-19" . + ns1:fromStructure "predefinedProperty" . <https://tenet.tetras-libre.fr/extract-result#heliosphere> a owl:Class ; rdfs:label "heliosphere" ; @@ -78,20 +71,35 @@ rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-19" . +<https://tenet.tetras-libre.fr/extract-result#region-know-heliosphere> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#know> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#heliosphere> ], + <https://tenet.tetras-libre.fr/extract-result#region> ; + ns1:fromStructure "WikiAbstract-SolarSystem-19" . + +<https://tenet.tetras-libre.fr/extract-result#region-resemble-bubble> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#resemble> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#bubble> ], + <https://tenet.tetras-libre.fr/extract-result#region> ; + ns1:fromStructure "WikiAbstract-SolarSystem-19" . + <https://tenet.tetras-libre.fr/extract-result#resemble> a owl:ObjectProperty ; rdfs:label "resemble" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-19" . -<https://tenet.tetras-libre.fr/extract-result#sun> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#sun> ; +<https://tenet.tetras-libre.fr/extract-result#sun> a owl:Individual, + ns1:Feature ; rdfs:label "sun" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-19" . <https://tenet.tetras-libre.fr/extract-result#sun-wind> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#wind> ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#sun> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#wind> ; ns1:fromStructure "WikiAbstract-SolarSystem-19" . <https://tenet.tetras-libre.fr/extract-result#wind> a owl:Class ; @@ -99,6 +107,21 @@ rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-19" . +<https://tenet.tetras-libre.fr/extract-result#sun-wind-create-region> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#create> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#region> ], + [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#create> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#region> ], + <https://tenet.tetras-libre.fr/extract-result#sun-wind> ; + ns1:fromStructure "WikiAbstract-SolarSystem-19" . + +<https://tenet.tetras-libre.fr/extract-result#create> a owl:ObjectProperty ; + rdfs:label "create" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "WikiAbstract-SolarSystem-19" . + <https://tenet.tetras-libre.fr/extract-result#region> a owl:Class ; rdfs:label "region" ; rdfs:subClassOf ns1:Entity ; diff --git a/data/generated_ontology/SolarSystemProd_factoid_2.ttl b/data/generated_ontology/SolarSystemProd_factoid_2.ttl index 9614c03..9985a24 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_2.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_2.ttl @@ -1,87 +1,162 @@ @prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix ns2: <https://tenet.tetras-libre.fr/extract-result#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -<https://tenet.tetras-libre.fr/extract-result#SolarSystem> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#system> ; +ns2:SolarSystem a owl:Individual, + ns1:Entity, + ns2:system, + ns2:system-hasPart-small-body ; rdfs:label "SolarSystem" ; - ns1:fromStructure "WikiAbstract-SolarSystem-02" . + ns1:fromStructure "WikiAbstract-SolarSystem-02" ; + ns2:hasPart ns2:body-WikiAbstract-SolarSystem-02 . -<https://tenet.tetras-libre.fr/extract-result#direct> a owl:ObjectProperty ; +ns2:direct a owl:Individual, + ns1:Feature ; rdfs:label "direct" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-02" . -<https://tenet.tetras-libre.fr/extract-result#dwarf-planet> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#planet> ; +ns2:dwarf-planet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue ns2:dwarf ; + owl:onProperty ns2:hasFeature ], + [ a owl:Restriction ; + owl:hasValue ns2:not-most-large ; + owl:onProperty ns2:hasFeature ], + ns2:object-direct-orbit-sun, + ns2:planet ; ns1:fromStructure "WikiAbstract-SolarSystem-02" . -<https://tenet.tetras-libre.fr/extract-result#hasPart> a owl:ObjectProperty ; - rdfs:label "hasPart" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; +ns2:more a owl:Individual, + ns1:Degree ; + rdfs:label "more" ; + ns1:fromStructure "WikiAbstract-SolarSystem-02" . + +ns2:more-small-object a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue ns2:not-most-large ; + owl:onProperty ns2:hasFeature ], + [ a owl:Restriction ; + owl:hasValue ns2:more-small ; + owl:onProperty ns2:hasFeature ], + ns2:object, + ns2:object-direct-orbit-sun ; + ns1:fromStructure "WikiAbstract-SolarSystem-02" . + +ns2:most a owl:Individual, + ns1:Degree ; + rdfs:label "most" ; ns1:fromStructure "WikiAbstract-SolarSystem-02" . -<https://tenet.tetras-libre.fr/extract-result#large> a owl:Class ; - rdfs:label "large" ; +ns2:most-large-planet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue ns2:most-large ; + owl:onProperty ns2:hasFeature ], + ns2:object-direct-orbit-sun, + ns2:planet ; + ns1:fromStructure "WikiAbstract-SolarSystem-02" . + +ns2:body a owl:Class ; + rdfs:label "body" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-02" . -<https://tenet.tetras-libre.fr/extract-result#more> a owl:ObjectProperty ; - rdfs:label "more" ; +ns2:body-WikiAbstract-SolarSystem-02 a owl:Individual, + ns1:Entity, + ns2:small-body ; + rdfs:label "body (WikiAbstract-SolarSystem-02)" ; + ns1:fromStructure "WikiAbstract-SolarSystem-02" ; + ns2:hasFeature ns2:not-most-large, + ns2:small . + +ns2:dwarf a owl:Individual, + ns1:Feature ; + rdfs:label "dwarf" ; + ns1:fromStructure "WikiAbstract-SolarSystem-02" . + +ns2:hasPart a owl:ObjectProperty ; + rdfs:label "hasPart" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-02" . -<https://tenet.tetras-libre.fr/extract-result#most> a owl:ObjectProperty ; - rdfs:label "most" ; +ns2:more-small a owl:Individual, + ns1:Feature ; + rdfs:label "more-small" ; + ns1:fromStructure "WikiAbstract-SolarSystem-02" . + +ns2:most-large a owl:Individual, + ns1:Feature ; + rdfs:label "most-large" ; + ns1:fromStructure "WikiAbstract-SolarSystem-02" . + +ns2:orbit a owl:ObjectProperty ; + rdfs:label "orbit" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-02" . -<https://tenet.tetras-libre.fr/extract-result#object> a owl:Class ; +ns2:system-hasPart-small-body a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:hasPart ; + owl:someValuesFrom ns2:small-body ], + ns2:system ; + ns1:fromStructure "WikiAbstract-SolarSystem-02" . + +ns2:direct-orbit rdfs:subPropertyOf ns2:orbit ; + ns1:fromStructure "WikiAbstract-SolarSystem-02" . + +ns2:object a owl:Class ; rdfs:label "object" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-02" . -<https://tenet.tetras-libre.fr/extract-result#orbit> a owl:Class ; - rdfs:label "orbit" ; +ns2:planet a owl:Class ; + rdfs:label "planet" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-02" . -<https://tenet.tetras-libre.fr/extract-result#remain> a owl:ObjectProperty ; - rdfs:label "remain" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; +ns2:small a owl:Individual, + ns1:Feature ; + rdfs:label "small" ; ns1:fromStructure "WikiAbstract-SolarSystem-02" . -<https://tenet.tetras-libre.fr/extract-result#small-body> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#body> ; +ns2:small-body a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue ns2:not-most-large ; + owl:onProperty ns2:hasFeature ], + [ a owl:Restriction ; + owl:hasValue ns2:small ; + owl:onProperty ns2:hasFeature ], + ns2:body, + ns2:object-direct-orbit-sun ; ns1:fromStructure "WikiAbstract-SolarSystem-02" . -<https://tenet.tetras-libre.fr/extract-result#sun> a owl:Class ; +ns2:sun a owl:Class ; rdfs:label "sun" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-02" . -<https://tenet.tetras-libre.fr/extract-result#body> a owl:Class ; - rdfs:label "body" ; +ns2:system a owl:Class ; + rdfs:label "system" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-02" . -<https://tenet.tetras-libre.fr/extract-result#dwarf> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#dwarf> ; - rdfs:label "dwarf" ; - rdfs:subClassOf ns1:Undetermined_Thing ; +ns2:not-most-large a owl:Individual, + ns1:Feature ; + rdfs:label "not-most-large" ; ns1:fromStructure "WikiAbstract-SolarSystem-02" . -<https://tenet.tetras-libre.fr/extract-result#planet> a owl:Class ; - rdfs:label "planet" ; - rdfs:subClassOf ns1:Entity ; +ns2:object-direct-orbit-sun a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:direct-orbit ; + owl:someValuesFrom ns2:sun ], + [ a owl:Restriction ; + owl:onProperty ns2:direct-orbit ; + owl:someValuesFrom ns2:sun ], + ns2:object ; ns1:fromStructure "WikiAbstract-SolarSystem-02" . -<https://tenet.tetras-libre.fr/extract-result#small> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#small> ; - rdfs:label "small" ; - rdfs:subClassOf ns1:Entity, - ns1:Undetermined_Thing ; - ns1:fromStructure "WikiAbstract-SolarSystem-02" . +ns2:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "predefinedProperty" . diff --git a/data/generated_ontology/SolarSystemProd_factoid_20.ttl b/data/generated_ontology/SolarSystemProd_factoid_20.ttl index 89f707c..99e7439 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_20.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_20.ttl @@ -9,6 +9,11 @@ <https://tenet.tetras-libre.fr/extract-result#disc> ; ns1:fromStructure "WikiAbstract-SolarSystem-20" . +<https://tenet.tetras-libre.fr/extract-result#equal> a owl:ObjectProperty ; + rdfs:label "equal" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "WikiAbstract-SolarSystem-20" . + <https://tenet.tetras-libre.fr/extract-result#extend> a owl:ObjectProperty ; rdfs:label "extend" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; @@ -16,11 +21,17 @@ <https://tenet.tetras-libre.fr/extract-result#heliopause> a owl:Class ; rdfs:label "heliopause" ; + rdfs:subClassOf ns1:Entity ; + ns1:fromStructure "WikiAbstract-SolarSystem-20" . + +<https://tenet.tetras-libre.fr/extract-result#interstellar> a owl:Class ; + rdfs:label "interstellar" ; rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-20" . -<https://tenet.tetras-libre.fr/extract-result#interstellar-medium> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#medium> ; +<https://tenet.tetras-libre.fr/extract-result#medium> a owl:ObjectProperty ; + rdfs:label "medium" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-20" . <https://tenet.tetras-libre.fr/extract-result#oppose> a owl:ObjectProperty ; @@ -33,18 +44,14 @@ rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-20" . -<https://tenet.tetras-libre.fr/extract-result#pressure-equal-point> a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#equal> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#point> ], - <https://tenet.tetras-libre.fr/extract-result#pressure> ; +<https://tenet.tetras-libre.fr/extract-result#point> a owl:Class ; + rdfs:label "point" ; + rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-20" . -<https://tenet.tetras-libre.fr/extract-result#pressure-equal-pressure> a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#equal> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#pressure> ], - <https://tenet.tetras-libre.fr/extract-result#pressure> ; +<https://tenet.tetras-libre.fr/extract-result#pressure> a owl:ObjectProperty ; + rdfs:label "pressure" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-20" . <https://tenet.tetras-libre.fr/extract-result#scatter> a owl:ObjectProperty ; @@ -53,7 +60,10 @@ ns1:fromStructure "WikiAbstract-SolarSystem-20" . <https://tenet.tetras-libre.fr/extract-result#sun-wind> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#wind> ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#sun> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#wind> ; ns1:fromStructure "WikiAbstract-SolarSystem-20" . <https://tenet.tetras-libre.fr/extract-result#disc> a owl:Class ; @@ -66,33 +76,19 @@ rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-20" . +<https://tenet.tetras-libre.fr/extract-result#hasFeature> a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "predefinedProperty" . + <https://tenet.tetras-libre.fr/extract-result#hasPart> a owl:ObjectProperty ; rdfs:label "hasPart" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-20" . -<https://tenet.tetras-libre.fr/extract-result#interstellar> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#interstellar> ; - rdfs:label "interstellar" ; - rdfs:subClassOf ns1:Undetermined_Thing ; - ns1:fromStructure "WikiAbstract-SolarSystem-20" . - -<https://tenet.tetras-libre.fr/extract-result#medium> a owl:Class ; - rdfs:label "medium" ; - rdfs:subClassOf ns1:Entity ; - ns1:fromStructure "WikiAbstract-SolarSystem-20" . - -<https://tenet.tetras-libre.fr/extract-result#point> a owl:Class ; - rdfs:label "point" ; - rdfs:subClassOf ns1:Entity ; - ns1:fromStructure "WikiAbstract-SolarSystem-20" . - -<https://tenet.tetras-libre.fr/extract-result#sun> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#sun> ; +<https://tenet.tetras-libre.fr/extract-result#sun> a owl:Individual, + ns1:Feature ; rdfs:label "sun" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-20" . <https://tenet.tetras-libre.fr/extract-result#wind> a owl:Class ; @@ -100,13 +96,3 @@ rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-20" . -<https://tenet.tetras-libre.fr/extract-result#equal> a owl:ObjectProperty ; - rdfs:label "equal" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-20" . - -<https://tenet.tetras-libre.fr/extract-result#pressure> a owl:Class ; - rdfs:label "pressure" ; - rdfs:subClassOf ns1:Entity ; - ns1:fromStructure "WikiAbstract-SolarSystem-20" . - diff --git a/data/generated_ontology/SolarSystemProd_factoid_21.ttl b/data/generated_ontology/SolarSystemProd_factoid_21.ttl index f529b96..6cc447d 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_21.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_21.ttl @@ -1,70 +1,102 @@ @prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix ns2: <https://tenet.tetras-libre.fr/extract-result#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -<https://tenet.tetras-libre.fr/extract-result#Oortcloud> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#cloud> ; +ns2:Oortcloud a owl:Individual, + ns1:Entity, + ns2:cloud, + ns2:cloud-think-source-period-comet ; rdfs:label "Oortcloud" ; - ns1:fromStructure "WikiAbstract-SolarSystem-21" . + ns1:fromStructure "WikiAbstract-SolarSystem-21" ; + ns2:think-source ns2:comet-WikiAbstract-SolarSystem-21 . -<https://tenet.tetras-libre.fr/extract-result#also> a owl:Class ; +ns2:also a owl:Class ; rdfs:label "also" ; rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-21" . -<https://tenet.tetras-libre.fr/extract-result#distant> a owl:ObjectProperty ; +ns2:distant a owl:ObjectProperty ; rdfs:label "distant" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-21" . -<https://tenet.tetras-libre.fr/extract-result#exist> a owl:ObjectProperty ; +ns2:exist a owl:ObjectProperty ; rdfs:label "exist" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-21" . -<https://tenet.tetras-libre.fr/extract-result#heliosphere> a owl:Class ; +ns2:heliosphere a owl:Class ; rdfs:label "heliosphere" ; rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-21" . -<https://tenet.tetras-libre.fr/extract-result#long> a owl:ObjectProperty ; +ns2:long a owl:ObjectProperty ; rdfs:label "long" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-21" . -<https://tenet.tetras-libre.fr/extract-result#period-comet> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#comet> ; +ns2:roughly a owl:Class ; + rdfs:label "roughly" ; + rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-21" . -<https://tenet.tetras-libre.fr/extract-result#roughly> a owl:Class ; - rdfs:label "roughly" ; +ns2:think a owl:Individual, + ns1:Feature ; + rdfs:label "think" ; + ns1:fromStructure "WikiAbstract-SolarSystem-21" . + +ns2:times a owl:Class ; + rdfs:label "times" ; rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-21" . -<https://tenet.tetras-libre.fr/extract-result#source> a owl:Class ; - rdfs:label "source" ; +ns2:cloud-think-source-period-comet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:think-source ; + owl:someValuesFrom ns2:period-comet ], + ns2:cloud ; + ns1:fromStructure "WikiAbstract-SolarSystem-21" . + +ns2:comet a owl:Class ; + rdfs:label "comet" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-21" . -<https://tenet.tetras-libre.fr/extract-result#think> a owl:ObjectProperty ; - rdfs:label "think" ; +ns2:comet-WikiAbstract-SolarSystem-21 a owl:Individual, + ns1:Entity, + ns2:period-comet ; + rdfs:label "comet (WikiAbstract-SolarSystem-21)" ; + ns1:fromStructure "WikiAbstract-SolarSystem-21" ; + ns2:hasFeature ns2:period . + +ns2:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "predefinedProperty" . + +ns2:source a owl:ObjectProperty ; + rdfs:label "source" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-21" . -<https://tenet.tetras-libre.fr/extract-result#times> a owl:Class ; - rdfs:label "times" ; - rdfs:subClassOf ns1:Undetermined_Thing ; +ns2:think-source rdfs:subPropertyOf ns2:source ; ns1:fromStructure "WikiAbstract-SolarSystem-21" . -<https://tenet.tetras-libre.fr/extract-result#comet> a owl:Class ; - rdfs:label "comet" ; +ns2:cloud a owl:Class ; + rdfs:label "cloud" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-21" . -<https://tenet.tetras-libre.fr/extract-result#period> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#period> ; +ns2:period a owl:Individual, + ns1:Feature ; rdfs:label "period" ; - rdfs:subClassOf ns1:Entity ; + ns1:fromStructure "WikiAbstract-SolarSystem-21" . + +ns2:period-comet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue ns2:period ; + owl:onProperty ns2:hasFeature ], + ns2:comet ; ns1:fromStructure "WikiAbstract-SolarSystem-21" . diff --git a/data/generated_ontology/SolarSystemProd_factoid_22.ttl b/data/generated_ontology/SolarSystemProd_factoid_22.ttl index 647a423..5d0a09a 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_22.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_22.ttl @@ -1,95 +1,177 @@ @prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix ns2: <https://tenet.tetras-libre.fr/extract-result#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -<https://tenet.tetras-libre.fr/extract-result#MilkyWay> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#galaxy> ; +ns2:MilkyWay a owl:Individual, + ns1:Entity, + ns2:galaxy, + ns2:galaxy-hasPart-center ; rdfs:label "MilkyWay" ; - ns1:fromStructure "WikiAbstract-SolarSystem-22" . - -<https://tenet.tetras-libre.fr/extract-result#Orion> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#arm> ; + ns1:fromStructure "WikiAbstract-SolarSystem-22" ; + ns2:hasPart ns2:center-WikiAbstract-SolarSystem-22 . + +ns2:Orion a owl:Individual, + ns1:Entity, + ns2:arm, + ns2:arm-contain-star, + ns2:arm-contain-star-include-star ; rdfs:label "Orion" ; - ns1:fromStructure "WikiAbstract-SolarSystem-22" . + ns1:fromStructure "WikiAbstract-SolarSystem-22" ; + ns2:contain ns2:star-WikiAbstract-SolarSystem-22 . -<https://tenet.tetras-libre.fr/extract-result#SolarSystem> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#system> ; +ns2:SolarSystem a owl:Individual, + ns1:Entity, + ns2:system, + ns2:system-be-relative-position ; rdfs:label "SolarSystem" ; - ns1:fromStructure "WikiAbstract-SolarSystem-22" . + ns1:fromStructure "WikiAbstract-SolarSystem-22" ; + ns2:be ns2:relative-position-WikiAbstract-SolarSystem-22 . -<https://tenet.tetras-libre.fr/extract-result#be> a owl:ObjectProperty ; - rdfs:label "be" ; +ns2:date a owl:ObjectProperty ; + rdfs:label "date" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-22" . -<https://tenet.tetras-libre.fr/extract-result#center> a owl:Class ; - rdfs:label "center" ; - rdfs:subClassOf ns1:Entity ; +ns2:distance-quantity a owl:Class ; + rdfs:label "distance-quantity" ; + rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-22" . -<https://tenet.tetras-libre.fr/extract-result#contain> a owl:ObjectProperty ; - rdfs:label "contain" ; +ns2:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "predefinedProperty" . + +ns2:light-year a owl:Class ; + rdfs:label "light-year" ; + rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-22" . -<https://tenet.tetras-libre.fr/extract-result#date> a owl:ObjectProperty ; - rdfs:label "date" ; +ns2:most a owl:ObjectProperty ; + rdfs:label "most" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-22" . -<https://tenet.tetras-libre.fr/extract-result#distance-quantity> a owl:Class ; - rdfs:label "distance-quantity" ; +ns2:night a owl:Class ; + rdfs:label "night" ; rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-22" . -<https://tenet.tetras-libre.fr/extract-result#hasPart> a owl:ObjectProperty ; - rdfs:label "hasPart" ; +ns2:see a owl:ObjectProperty ; + rdfs:label "see" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-22" . -<https://tenet.tetras-libre.fr/extract-result#light-year> a owl:Class ; - rdfs:label "light-year" ; +ns2:sky a owl:Class ; + rdfs:label "sky" ; rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-22" . -<https://tenet.tetras-libre.fr/extract-result#most> a owl:ObjectProperty ; - rdfs:label "most" ; +ns2:arm-contain-star-include-star a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:contain ; + owl:someValuesFrom ns2:star-include-star ], + ns2:arm-contain-star ; + ns1:fromStructure "WikiAbstract-SolarSystem-22" . + +ns2:be a owl:ObjectProperty ; + rdfs:label "be" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-22" . -<https://tenet.tetras-libre.fr/extract-result#night> a owl:Class ; - rdfs:label "night" ; - rdfs:subClassOf ns1:Undetermined_Thing ; +ns2:center-WikiAbstract-SolarSystem-22 a owl:Individual, + ns1:Entity, + ns2:center ; + rdfs:label "center (WikiAbstract-SolarSystem-22)" ; ns1:fromStructure "WikiAbstract-SolarSystem-22" . -<https://tenet.tetras-libre.fr/extract-result#relative-position> a owl:Class ; - rdfs:label "relative-position" ; - rdfs:subClassOf ns1:Entity ; +ns2:galaxy-hasPart-center a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:hasPart ; + owl:someValuesFrom ns2:center ], + ns2:galaxy ; ns1:fromStructure "WikiAbstract-SolarSystem-22" . -<https://tenet.tetras-libre.fr/extract-result#see> a owl:ObjectProperty ; - rdfs:label "see" ; +ns2:hasPart a owl:ObjectProperty ; + rdfs:label "hasPart" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-22" . -<https://tenet.tetras-libre.fr/extract-result#sky> a owl:Class ; - rdfs:label "sky" ; - rdfs:subClassOf ns1:Undetermined_Thing ; +ns2:include a owl:ObjectProperty ; + rdfs:label "include" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-22" . -<https://tenet.tetras-libre.fr/extract-result#star-include-star> a owl:Class ; +ns2:relative-position-WikiAbstract-SolarSystem-22 a owl:Individual, + ns1:Entity, + ns2:relative-position ; + rdfs:label "relative-position (WikiAbstract-SolarSystem-22)" ; + ns1:fromStructure "WikiAbstract-SolarSystem-22" . + +ns2:system-be-relative-position a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#include> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#star> ], - <https://tenet.tetras-libre.fr/extract-result#star> ; + owl:onProperty ns2:be ; + owl:someValuesFrom ns2:relative-position ], + ns2:system ; ns1:fromStructure "WikiAbstract-SolarSystem-22" . -<https://tenet.tetras-libre.fr/extract-result#include> a owl:ObjectProperty ; - rdfs:label "include" ; +ns2:arm a owl:Class ; + rdfs:label "arm" ; + rdfs:subClassOf ns1:Entity ; + ns1:fromStructure "WikiAbstract-SolarSystem-22" . + +ns2:arm-contain-star a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:contain ; + owl:someValuesFrom ns2:star ], + [ a owl:Restriction ; + owl:onProperty ns2:contain ; + owl:someValuesFrom ns2:star ], + ns2:arm ; + ns1:fromStructure "WikiAbstract-SolarSystem-22" . + +ns2:center a owl:Class ; + rdfs:label "center" ; + rdfs:subClassOf ns1:Entity ; + ns1:fromStructure "WikiAbstract-SolarSystem-22" . + +ns2:galaxy a owl:Class ; + rdfs:label "galaxy" ; + rdfs:subClassOf ns1:Entity ; + ns1:fromStructure "WikiAbstract-SolarSystem-22" . + +ns2:relative-position a owl:Class ; + rdfs:label "relative-position" ; + rdfs:subClassOf ns1:Entity ; + ns1:fromStructure "WikiAbstract-SolarSystem-22" . + +ns2:star-WikiAbstract-SolarSystem-22 a owl:Individual, + ns1:Entity, + ns2:star, + ns2:star-include-star ; + rdfs:label "star (WikiAbstract-SolarSystem-22)" ; + ns1:fromStructure "WikiAbstract-SolarSystem-22" ; + ns2:include ns2:star-WikiAbstract-SolarSystem-22 . + +ns2:star-include-star a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:include ; + owl:someValuesFrom ns2:star ], + ns2:star ; + ns1:fromStructure "WikiAbstract-SolarSystem-22" . + +ns2:system a owl:Class ; + rdfs:label "system" ; + rdfs:subClassOf ns1:Entity ; + ns1:fromStructure "WikiAbstract-SolarSystem-22" . + +ns2:contain a owl:ObjectProperty ; + rdfs:label "contain" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-22" . -<https://tenet.tetras-libre.fr/extract-result#star> a owl:Class ; +ns2:star a owl:Class ; rdfs:label "star" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-22" . diff --git a/data/generated_ontology/SolarSystemProd_factoid_23.ttl b/data/generated_ontology/SolarSystemProd_factoid_23.ttl index 02018ef..f9fe606 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_23.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_23.ttl @@ -1,64 +1,96 @@ @prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix ns2: <https://tenet.tetras-libre.fr/extract-result#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -<https://tenet.tetras-libre.fr/extract-result#ProximaCentre> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#star> ; +ns2:ProximaCentre a owl:Individual, + ns1:Entity, + ns2:star, + ns2:star-close-star, + ns2:star-include-star ; rdfs:label "ProximaCentre" ; - ns1:fromStructure "WikiAbstract-SolarSystem-23" . + ns1:fromStructure "WikiAbstract-SolarSystem-23" ; + ns2:close ns2:star-WikiAbstract-SolarSystem-23 ; + ns2:include ns2:star-WikiAbstract-SolarSystem-23 . -<https://tenet.tetras-libre.fr/extract-result#close> a owl:ObjectProperty ; - rdfs:label "close" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-23" . - -<https://tenet.tetras-libre.fr/extract-result#include> a owl:ObjectProperty ; - rdfs:label "include" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-23" . - -<https://tenet.tetras-libre.fr/extract-result#light-year> a owl:Class ; +ns2:light-year a owl:Class ; rdfs:label "light-year" ; rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-23" . -<https://tenet.tetras-libre.fr/extract-result#local> a owl:ObjectProperty ; +ns2:local a owl:ObjectProperty ; rdfs:label "local" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-23" . -<https://tenet.tetras-libre.fr/extract-result#most> a owl:ObjectProperty ; +ns2:most a owl:ObjectProperty ; rdfs:label "most" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-23" . -<https://tenet.tetras-libre.fr/extract-result#near> a owl:ObjectProperty ; +ns2:near a owl:ObjectProperty ; rdfs:label "near" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-23" . -<https://tenet.tetras-libre.fr/extract-result#ordinal-entity> a owl:Class ; +ns2:ordinal-entity a owl:Class ; rdfs:label "ordinal-entity" ; rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-23" . -<https://tenet.tetras-libre.fr/extract-result#so-called-bubble> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#bubble> ; +ns2:so-called-bubble a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue ns2:so-called ; + owl:onProperty ns2:hasFeature ], + ns2:bubble ; ns1:fromStructure "WikiAbstract-SolarSystem-23" . -<https://tenet.tetras-libre.fr/extract-result#bubble> a owl:Class ; +ns2:bubble a owl:Class ; rdfs:label "bubble" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-23" . -<https://tenet.tetras-libre.fr/extract-result#so-called> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#so-called> ; +ns2:close a owl:ObjectProperty ; + rdfs:label "close" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "WikiAbstract-SolarSystem-23" . + +ns2:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "predefinedProperty" . + +ns2:include a owl:ObjectProperty ; + rdfs:label "include" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "WikiAbstract-SolarSystem-23" . + +ns2:so-called a owl:Individual, + ns1:Feature ; rdfs:label "so-called" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-23" . -<https://tenet.tetras-libre.fr/extract-result#star> a owl:Class ; +ns2:star-close-star a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:close ; + owl:someValuesFrom ns2:star ], + ns2:star ; + ns1:fromStructure "WikiAbstract-SolarSystem-23" . + +ns2:star-include-star a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:include ; + owl:someValuesFrom ns2:star ], + ns2:star ; + ns1:fromStructure "WikiAbstract-SolarSystem-23" . + +ns2:star-WikiAbstract-SolarSystem-23 a owl:Individual, + ns1:Entity, + ns2:star ; + rdfs:label "star (WikiAbstract-SolarSystem-23)" ; + ns1:fromStructure "WikiAbstract-SolarSystem-23" . + +ns2:star a owl:Class ; rdfs:label "star" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-23" . diff --git a/data/generated_ontology/SolarSystemProd_factoid_3.ttl b/data/generated_ontology/SolarSystemProd_factoid_3.ttl index 5a19b65..27f1241 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_3.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_3.ttl @@ -1,99 +1,152 @@ @prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix ns2: <https://tenet.tetras-libre.fr/extract-result#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -<https://tenet.tetras-libre.fr/extract-result#Mercury> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#planet> ; - rdfs:label "Mercury" ; - ns1:fromStructure "WikiAbstract-SolarSystem-03" . - -<https://tenet.tetras-libre.fr/extract-result#almost> a owl:Class ; +ns2:almost a owl:Class ; rdfs:label "almost" ; rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-03" . -<https://tenet.tetras-libre.fr/extract-result#equal> a owl:ObjectProperty ; +ns2:equal a owl:ObjectProperty ; rdfs:label "equal" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-03" . -<https://tenet.tetras-libre.fr/extract-result#large> a owl:Class ; - rdfs:label "large" ; - rdfs:subClassOf ns1:Entity ; +ns2:include a owl:ObjectProperty ; + rdfs:label "include" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "WikiAbstract-SolarSystem-03" . + +ns2:mean a owl:ObjectProperty ; + rdfs:label "mean" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-03" . -<https://tenet.tetras-libre.fr/extract-result#more> a owl:Class, - owl:ObjectProperty ; +ns2:more a owl:Individual, + owl:ObjectProperty, + ns1:Degree ; rdfs:label "more" ; - rdfs:subClassOf ns1:Entity ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-03" . -<https://tenet.tetras-libre.fr/extract-result#most> a owl:ObjectProperty ; +ns2:most a owl:Individual, + ns1:Degree ; rdfs:label "most" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-03" . -<https://tenet.tetras-libre.fr/extract-result#natural> a owl:ObjectProperty ; +ns2:natural a owl:ObjectProperty ; rdfs:label "natural" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-03" . -<https://tenet.tetras-libre.fr/extract-result#not-direct> a owl:ObjectProperty ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; +ns2:not-direct a owl:Individual, + ns1:Feature ; + rdfs:label "not-direct" ; ns1:fromStructure "WikiAbstract-SolarSystem-03" . -<https://tenet.tetras-libre.fr/extract-result#object-include-object> a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#include> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#object> ], - <https://tenet.tetras-libre.fr/extract-result#object> ; - ns1:fromStructure "WikiAbstract-SolarSystem-03" . +ns2:object-WikiAbstract-SolarSystem-03 a owl:Individual, + ns1:Entity, + ns2:more-large-object, + ns2:object-isMoreLargeThan-most-small-planet ; + rdfs:label "object (WikiAbstract-SolarSystem-03)" ; + ns1:fromStructure "WikiAbstract-SolarSystem-03" ; + ns2:hasFeature ns2:more-large ; + ns2:isMoreLargeThan ns2:Mercury . -<https://tenet.tetras-libre.fr/extract-result#object-mean-satellite> a owl:Class ; +ns2:object-not-direct-orbit-sun a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#mean> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#satellite> ], - <https://tenet.tetras-libre.fr/extract-result#object> ; + owl:onProperty ns2:not-direct-orbit ; + owl:someValuesFrom ns2:sun ], + ns2:object ; ns1:fromStructure "WikiAbstract-SolarSystem-03" . -<https://tenet.tetras-libre.fr/extract-result#orbit> a owl:Class ; - rdfs:label "orbit" ; +ns2:satellite a owl:Class ; + rdfs:label "satellite" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-03" . -<https://tenet.tetras-libre.fr/extract-result#size> a owl:Class ; +ns2:size a owl:Class ; rdfs:label "size" ; rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-03" . -<https://tenet.tetras-libre.fr/extract-result#small> a owl:Class ; - rdfs:label "small" ; - rdfs:subClassOf ns1:Entity ; +ns2:Mercury a owl:Individual, + ns1:Entity, + ns2:most-small-planet, + ns2:planet ; + rdfs:label "Mercury" ; + ns1:fromStructure "WikiAbstract-SolarSystem-03" ; + ns2:hasFeature ns2:most-small . + +ns2:not-direct-orbit rdfs:subPropertyOf ns2:orbit ; ns1:fromStructure "WikiAbstract-SolarSystem-03" . -<https://tenet.tetras-libre.fr/extract-result#sun> a owl:Class ; +ns2:object-isMoreLargeThan-most-small-planet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:isMoreLargeThan ; + owl:someValuesFrom ns2:most-small-planet ], + ns2:more-large-object ; + ns1:fromStructure "WikiAbstract-SolarSystem-03" . + +ns2:orbit a owl:ObjectProperty ; + rdfs:label "orbit" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "WikiAbstract-SolarSystem-03" . + +ns2:sun a owl:Class ; rdfs:label "sun" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-03" . -<https://tenet.tetras-libre.fr/extract-result#include> a owl:ObjectProperty ; - rdfs:label "include" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; +ns2:more-large-object a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue ns2:more-large ; + owl:onProperty ns2:hasFeature ], + [ a owl:Restriction ; + owl:onProperty ns2:isMoreLargeThan ; + owl:someValuesFrom ns2:planet ], + [ a owl:Restriction ; + owl:onProperty ns2:isMoreLargeThan ; + owl:someValuesFrom ns2:planet ], + [ a owl:Restriction ; + owl:hasValue ns2:more-large ; + owl:onProperty ns2:hasFeature ], + ns2:object ; + ns1:fromStructure "WikiAbstract-SolarSystem-03" . + +ns2:most-small a owl:Individual, + ns1:Feature ; + rdfs:label "most-small" ; + ns1:fromStructure "WikiAbstract-SolarSystem-03" . + +ns2:most-small-planet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue ns2:most-small ; + owl:onProperty ns2:hasFeature ], + ns2:planet ; ns1:fromStructure "WikiAbstract-SolarSystem-03" . -<https://tenet.tetras-libre.fr/extract-result#mean> a owl:ObjectProperty ; - rdfs:label "mean" ; +ns2:object a owl:Class ; + rdfs:label "object" ; + rdfs:subClassOf ns1:Entity ; + ns1:fromStructure "WikiAbstract-SolarSystem-03" . + +ns2:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "predefinedProperty" . + +ns2:isMoreLargeThan rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-03" . -<https://tenet.tetras-libre.fr/extract-result#satellite> a owl:Class ; - rdfs:label "satellite" ; - rdfs:subClassOf ns1:Entity ; +ns2:more-large a owl:Individual, + ns1:Feature ; + rdfs:label "more-large" ; ns1:fromStructure "WikiAbstract-SolarSystem-03" . -<https://tenet.tetras-libre.fr/extract-result#object> a owl:Class ; - rdfs:label "object" ; +ns2:planet a owl:Class ; + rdfs:label "planet" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-03" . diff --git a/data/generated_ontology/SolarSystemProd_factoid_4.ttl b/data/generated_ontology/SolarSystemProd_factoid_4.ttl index 80196c9..8059ddc 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_4.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_4.ttl @@ -3,6 +3,7 @@ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . <https://tenet.tetras-libre.fr/extract-result#SolarSystem> a owl:Individual, + ns1:Entity, <https://tenet.tetras-libre.fr/extract-result#system> ; rdfs:label "SolarSystem" ; ns1:fromStructure "WikiAbstract-SolarSystem-04" . @@ -12,29 +13,37 @@ rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-04" . -<https://tenet.tetras-libre.fr/extract-result#collapse-cause-gravity> a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#cause> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#gravity> ], - <https://tenet.tetras-libre.fr/extract-result#collapse> ; +<https://tenet.tetras-libre.fr/extract-result#cause> a owl:ObjectProperty ; + rdfs:label "cause" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-04" . -<https://tenet.tetras-libre.fr/extract-result#form> a owl:ObjectProperty ; - rdfs:label "form" ; +<https://tenet.tetras-libre.fr/extract-result#collapse> a owl:ObjectProperty ; + rdfs:label "collapse" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-04" . -<https://tenet.tetras-libre.fr/extract-result#giant-cloud> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#cloud> ; +<https://tenet.tetras-libre.fr/extract-result#form> a owl:ObjectProperty ; + rdfs:label "form" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-04" . -<https://tenet.tetras-libre.fr/extract-result#intercontinental-cloud> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#cloud> ; +<https://tenet.tetras-libre.fr/extract-result#gravity> a owl:Class ; + rdfs:label "gravity" ; + rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-04" . -<https://tenet.tetras-libre.fr/extract-result#molecule> a owl:Class ; - rdfs:label "molecule" ; - rdfs:subClassOf ns1:Undetermined_Thing ; +<https://tenet.tetras-libre.fr/extract-result#molecular-interstellar-giant-cloud> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#giant> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#molecular> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#interstellar> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#cloud> ; ns1:fromStructure "WikiAbstract-SolarSystem-04" . <https://tenet.tetras-libre.fr/extract-result#now> a owl:Class ; @@ -52,37 +61,33 @@ rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-04" . -<https://tenet.tetras-libre.fr/extract-result#cause> a owl:ObjectProperty ; - rdfs:label "cause" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-04" . - -<https://tenet.tetras-libre.fr/extract-result#collapse> a owl:Class ; - rdfs:label "collapse" ; +<https://tenet.tetras-libre.fr/extract-result#cloud> a owl:Class ; + rdfs:label "cloud" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-04" . -<https://tenet.tetras-libre.fr/extract-result#giant> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#giant> ; +<https://tenet.tetras-libre.fr/extract-result#giant> a owl:Individual, + ns1:Feature ; rdfs:label "giant" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-04" . -<https://tenet.tetras-libre.fr/extract-result#gravity> a owl:Class ; - rdfs:label "gravity" ; - rdfs:subClassOf ns1:Entity ; +<https://tenet.tetras-libre.fr/extract-result#interstellar> a owl:Individual, + ns1:Feature ; + rdfs:label "interstellar" ; ns1:fromStructure "WikiAbstract-SolarSystem-04" . -<https://tenet.tetras-libre.fr/extract-result#intercontinental> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#intercontinental> ; - rdfs:label "intercontinental" ; - rdfs:subClassOf ns1:Undetermined_Thing ; +<https://tenet.tetras-libre.fr/extract-result#molecular> a owl:Individual, + ns1:Feature ; + rdfs:label "molecular" ; ns1:fromStructure "WikiAbstract-SolarSystem-04" . -<https://tenet.tetras-libre.fr/extract-result#cloud> a owl:Class ; - rdfs:label "cloud" ; +<https://tenet.tetras-libre.fr/extract-result#system> a owl:Class ; + rdfs:label "system" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-04" . +<https://tenet.tetras-libre.fr/extract-result#hasFeature> a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "predefinedProperty" . + diff --git a/data/generated_ontology/SolarSystemProd_factoid_5.ttl b/data/generated_ontology/SolarSystemProd_factoid_5.ttl index 14d32d2..5d65ef7 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_5.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_5.ttl @@ -1,74 +1,112 @@ -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix ns1: <https://tenet.tetras-libre.fr/extract-result#> . +@prefix ns2: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -<https://tenet.tetras-libre.fr/extract-result#Jupiter> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#planet> ; +ns1:Jupiter a owl:Individual, + ns2:Entity, + ns1:planet, + ns1:planet-contain-mass ; rdfs:label "Jupiter" ; - ns1:fromStructure "WikiAbstract-SolarSystem-05" . + ns2:fromStructure "WikiAbstract-SolarSystem-05" ; + ns1:contain ns1:mass-WikiAbstract-SolarSystem-05 . -<https://tenet.tetras-libre.fr/extract-result#contain> a owl:ObjectProperty ; - rdfs:label "contain" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-05" . - -<https://tenet.tetras-libre.fr/extract-result#mass-be-sun> a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#be> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#sun> ], - <https://tenet.tetras-libre.fr/extract-result#mass> ; - ns1:fromStructure "WikiAbstract-SolarSystem-05" . - -<https://tenet.tetras-libre.fr/extract-result#remain> a owl:ObjectProperty ; +ns1:remain a owl:ObjectProperty ; rdfs:label "remain" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-05" . + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "WikiAbstract-SolarSystem-05" . -<https://tenet.tetras-libre.fr/extract-result#system-hasPart-mass> a owl:Class ; +ns1:system-hasPart-mass-be-sun a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasPart> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#mass> ], - <https://tenet.tetras-libre.fr/extract-result#system> ; - ns1:fromStructure "WikiAbstract-SolarSystem-05" . + owl:onProperty ns1:hasPart ; + owl:someValuesFrom ns1:mass-be-sun ], + ns1:system-hasPart-mass ; + ns2:fromStructure "WikiAbstract-SolarSystem-05" . -<https://tenet.tetras-libre.fr/extract-result#vast-majority> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#majority> ; - ns1:fromStructure "WikiAbstract-SolarSystem-05" . +ns1:vast-majority a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue ns1:vast ; + owl:onProperty ns1:hasFeature ], + ns1:majority ; + ns2:fromStructure "WikiAbstract-SolarSystem-05" . -<https://tenet.tetras-libre.fr/extract-result#be> a owl:ObjectProperty ; +ns1:be a owl:ObjectProperty ; rdfs:label "be" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-05" . + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "WikiAbstract-SolarSystem-05" . -<https://tenet.tetras-libre.fr/extract-result#hasPart> a owl:ObjectProperty ; - rdfs:label "hasPart" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-05" . +ns1:contain a owl:ObjectProperty ; + rdfs:label "contain" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "WikiAbstract-SolarSystem-05" . -<https://tenet.tetras-libre.fr/extract-result#majority> a owl:Class ; +ns1:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "predefinedProperty" . + +ns1:majority a owl:Class ; rdfs:label "majority" ; - rdfs:subClassOf ns1:Undetermined_Thing ; - ns1:fromStructure "WikiAbstract-SolarSystem-05" . + rdfs:subClassOf ns2:Undetermined_Thing ; + ns2:fromStructure "WikiAbstract-SolarSystem-05" . + +ns1:mass-WikiAbstract-SolarSystem-05 a owl:Individual, + ns2:Entity, + ns1:mass ; + rdfs:label "mass (WikiAbstract-SolarSystem-05)" ; + ns2:fromStructure "WikiAbstract-SolarSystem-05" . -<https://tenet.tetras-libre.fr/extract-result#sun> a owl:Class ; +ns1:mass-be-sun a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns1:be ; + owl:someValuesFrom ns1:sun ], + ns1:mass ; + ns2:fromStructure "WikiAbstract-SolarSystem-05" . + +ns1:planet-contain-mass a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns1:contain ; + owl:someValuesFrom ns1:mass ], + ns1:planet ; + ns2:fromStructure "WikiAbstract-SolarSystem-05" . + +ns1:sun a owl:Class ; rdfs:label "sun" ; - rdfs:subClassOf ns1:Entity ; - ns1:fromStructure "WikiAbstract-SolarSystem-05" . + rdfs:subClassOf ns2:Entity ; + ns2:fromStructure "WikiAbstract-SolarSystem-05" . -<https://tenet.tetras-libre.fr/extract-result#system> a owl:Class ; +ns1:system a owl:Class ; rdfs:label "system" ; - rdfs:subClassOf ns1:Entity ; - ns1:fromStructure "WikiAbstract-SolarSystem-05" . + rdfs:subClassOf ns2:Entity ; + ns2:fromStructure "WikiAbstract-SolarSystem-05" . -<https://tenet.tetras-libre.fr/extract-result#vast> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#vast> ; +ns1:system-hasPart-mass a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns1:hasPart ; + owl:someValuesFrom ns1:mass ], + [ a owl:Restriction ; + owl:onProperty ns1:hasPart ; + owl:someValuesFrom ns1:mass ], + ns1:system ; + ns2:fromStructure "WikiAbstract-SolarSystem-05" . + +ns1:vast a owl:Individual, + ns2:Feature ; rdfs:label "vast" ; - rdfs:subClassOf ns1:Undetermined_Thing ; - ns1:fromStructure "WikiAbstract-SolarSystem-05" . + ns2:fromStructure "WikiAbstract-SolarSystem-05" . + +ns1:planet a owl:Class ; + rdfs:label "planet" ; + rdfs:subClassOf ns2:Entity ; + ns2:fromStructure "WikiAbstract-SolarSystem-05" . + +ns1:hasPart a owl:ObjectProperty ; + rdfs:label "hasPart" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "WikiAbstract-SolarSystem-05" . -<https://tenet.tetras-libre.fr/extract-result#mass> a owl:Class ; +ns1:mass a owl:Class ; rdfs:label "mass" ; - rdfs:subClassOf ns1:Entity ; - ns1:fromStructure "WikiAbstract-SolarSystem-05" . + rdfs:subClassOf ns2:Entity ; + ns2:fromStructure "WikiAbstract-SolarSystem-05" . diff --git a/data/generated_ontology/SolarSystemProd_factoid_6.ttl b/data/generated_ontology/SolarSystemProd_factoid_6.ttl index 81defb3..14362a1 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_6.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_6.ttl @@ -1,91 +1,200 @@ @prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix ns2: <https://tenet.tetras-libre.fr/extract-result#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -<https://tenet.tetras-libre.fr/extract-result#Earth> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#planet> ; - rdfs:label "Earth" ; +ns2:more a owl:ObjectProperty ; + rdfs:label "more" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-06" . -<https://tenet.tetras-libre.fr/extract-result#Mars> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#planet> ; - rdfs:label "Mars" ; +ns2:primary a owl:Class ; + rdfs:label "primary" ; + rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-06" . -<https://tenet.tetras-libre.fr/extract-result#Mercury> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#planet> ; - rdfs:label "Mercury" ; +ns2:small a owl:Class ; + rdfs:label "small" ; + rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-06" . -<https://tenet.tetras-libre.fr/extract-result#Venus> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#planet> ; +ns2:system-WikiAbstract-SolarSystem-06 a owl:Individual, + ns1:Entity, + ns2:inner-system-hasPart-planet, + ns2:inner-system-hasPart-planet-compose-metal, + ns2:inner-system-hasPart-planet-compose-rock ; + rdfs:label "system (WikiAbstract-SolarSystem-06)" ; + ns1:fromStructure "WikiAbstract-SolarSystem-06" ; + ns2:hasPart ns2:Earth, + ns2:Mars, + ns2:Mercury, + ns2:Venus . + +ns2:terrestrial-planet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue ns2:terrestrial ; + owl:onProperty ns2:hasFeature ], + ns2:planet ; + ns1:fromStructure "WikiAbstract-SolarSystem-06" . + +ns2:Earth a owl:Individual, + ns1:Entity, + ns2:planet, + ns2:planet-compose-metal, + ns2:planet-compose-rock ; + rdfs:label "Earth" ; + ns1:fromStructure "WikiAbstract-SolarSystem-06" ; + ns2:compose ns2:metal-WikiAbstract-SolarSystem-06, + ns2:rock-WikiAbstract-SolarSystem-06 . + +ns2:Mars a owl:Individual, + ns1:Entity, + ns2:planet, + ns2:planet-compose-metal, + ns2:planet-compose-rock ; + rdfs:label "Mars" ; + ns1:fromStructure "WikiAbstract-SolarSystem-06" ; + ns2:compose ns2:metal-WikiAbstract-SolarSystem-06, + ns2:rock-WikiAbstract-SolarSystem-06 . + +ns2:Mercury a owl:Individual, + ns1:Entity, + ns2:planet, + ns2:planet-compose-metal, + ns2:planet-compose-rock ; + rdfs:label "Mercury" ; + ns1:fromStructure "WikiAbstract-SolarSystem-06" ; + ns2:compose ns2:metal-WikiAbstract-SolarSystem-06, + ns2:rock-WikiAbstract-SolarSystem-06 . + +ns2:Venus a owl:Individual, + ns1:Entity, + ns2:planet, + ns2:planet-compose-metal, + ns2:planet-compose-rock ; rdfs:label "Venus" ; + ns1:fromStructure "WikiAbstract-SolarSystem-06" ; + ns2:compose ns2:metal-WikiAbstract-SolarSystem-06, + ns2:rock-WikiAbstract-SolarSystem-06 . + +ns2:inner a owl:Individual, + ns1:Feature ; + rdfs:label "inner" ; ns1:fromStructure "WikiAbstract-SolarSystem-06" . -<https://tenet.tetras-libre.fr/extract-result#compose> a owl:ObjectProperty ; - rdfs:label "compose" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; +ns2:inner-system a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue ns2:inner ; + owl:onProperty ns2:hasFeature ], + ns2:system ; ns1:fromStructure "WikiAbstract-SolarSystem-06" . -<https://tenet.tetras-libre.fr/extract-result#hasPart> a owl:ObjectProperty ; - rdfs:label "hasPart" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; +ns2:inner-system-hasPart-planet-compose-metal a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:hasPart ; + owl:someValuesFrom ns2:planet-compose-metal ], + ns2:inner-system-hasPart-planet ; ns1:fromStructure "WikiAbstract-SolarSystem-06" . -<https://tenet.tetras-libre.fr/extract-result#inner-system> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#system> ; +ns2:inner-system-hasPart-planet-compose-rock a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:hasPart ; + owl:someValuesFrom ns2:planet-compose-rock ], + ns2:inner-system-hasPart-planet ; ns1:fromStructure "WikiAbstract-SolarSystem-06" . -<https://tenet.tetras-libre.fr/extract-result#metal> a owl:Class ; - rdfs:label "metal" ; +ns2:system a owl:Class ; + rdfs:label "system" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-06" . -<https://tenet.tetras-libre.fr/extract-result#more> a owl:ObjectProperty ; - rdfs:label "more" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; +ns2:terrestrial a owl:Individual, + ns1:Feature ; + rdfs:label "terrestrial" ; ns1:fromStructure "WikiAbstract-SolarSystem-06" . -<https://tenet.tetras-libre.fr/extract-result#primary> a owl:Class ; - rdfs:label "primary" ; - rdfs:subClassOf ns1:Undetermined_Thing ; +ns2:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "predefinedProperty" . + +ns2:inner-system-hasPart-planet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:hasPart ; + owl:someValuesFrom ns2:planet ], + [ a owl:Restriction ; + owl:onProperty ns2:hasPart ; + owl:someValuesFrom ns2:planet ], + ns2:inner-system ; ns1:fromStructure "WikiAbstract-SolarSystem-06" . -<https://tenet.tetras-libre.fr/extract-result#rock> a owl:Class ; - rdfs:label "rock" ; - rdfs:subClassOf ns1:Entity ; +ns2:hasPart a owl:ObjectProperty ; + rdfs:label "hasPart" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-06" . -<https://tenet.tetras-libre.fr/extract-result#small> a owl:Class ; - rdfs:label "small" ; - rdfs:subClassOf ns1:Entity ; +ns2:metal-WikiAbstract-SolarSystem-06 a owl:Individual, + ns1:Entity, + ns2:metal ; + rdfs:label "metal (WikiAbstract-SolarSystem-06)" ; ns1:fromStructure "WikiAbstract-SolarSystem-06" . -<https://tenet.tetras-libre.fr/extract-result#terrestrial-planet> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#planet> ; +ns2:rock-WikiAbstract-SolarSystem-06 a owl:Individual, + ns1:Entity, + ns2:rock ; + rdfs:label "rock (WikiAbstract-SolarSystem-06)" ; ns1:fromStructure "WikiAbstract-SolarSystem-06" . -<https://tenet.tetras-libre.fr/extract-result#inner> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#inner> ; - rdfs:label "inner" ; - rdfs:subClassOf ns1:Undetermined_Thing ; +ns2:metal a owl:Class ; + rdfs:label "metal" ; + rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-06" . -<https://tenet.tetras-libre.fr/extract-result#system> a owl:Class ; - rdfs:label "system" ; +ns2:planet-compose-metal a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:compose ; + owl:someValuesFrom ns2:metal ], + [ a owl:Restriction ; + owl:onProperty ns2:compose ; + owl:someValuesFrom ns2:metal ], + [ a owl:Restriction ; + owl:onProperty ns2:compose ; + owl:someValuesFrom ns2:metal ], + [ a owl:Restriction ; + owl:onProperty ns2:compose ; + owl:someValuesFrom ns2:metal ], + ns2:planet ; + ns1:fromStructure "WikiAbstract-SolarSystem-06" . + +ns2:planet-compose-rock a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:compose ; + owl:someValuesFrom ns2:rock ], + [ a owl:Restriction ; + owl:onProperty ns2:compose ; + owl:someValuesFrom ns2:rock ], + [ a owl:Restriction ; + owl:onProperty ns2:compose ; + owl:someValuesFrom ns2:rock ], + [ a owl:Restriction ; + owl:onProperty ns2:compose ; + owl:someValuesFrom ns2:rock ], + ns2:planet ; + ns1:fromStructure "WikiAbstract-SolarSystem-06" . + +ns2:rock a owl:Class ; + rdfs:label "rock" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-06" . -<https://tenet.tetras-libre.fr/extract-result#terrestrial> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#terrestrial> ; - rdfs:label "terrestrial" ; - rdfs:subClassOf ns1:Undetermined_Thing ; +ns2:compose a owl:ObjectProperty ; + rdfs:label "compose" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-06" . -<https://tenet.tetras-libre.fr/extract-result#planet> a owl:Class ; +ns2:planet a owl:Class ; rdfs:label "planet" ; - rdfs:subClassOf ns1:Undetermined_Thing ; + rdfs:subClassOf ns1:Entity, + ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-06" . diff --git a/data/generated_ontology/SolarSystemProd_factoid_7.ttl b/data/generated_ontology/SolarSystemProd_factoid_7.ttl index ca2fb0e..8e63276 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_7.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_7.ttl @@ -2,25 +2,23 @@ @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -<https://tenet.tetras-libre.fr/extract-result#giant-planet> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#planet> ; - ns1:fromStructure "WikiAbstract-SolarSystem-07" . - -<https://tenet.tetras-libre.fr/extract-result#massive> a owl:Class ; - rdfs:label "massive" ; - rdfs:subClassOf ns1:Entity ; +<https://tenet.tetras-libre.fr/extract-result#more> a owl:Individual, + ns1:Degree ; + rdfs:label "more" ; ns1:fromStructure "WikiAbstract-SolarSystem-07" . -<https://tenet.tetras-libre.fr/extract-result#more> a owl:ObjectProperty ; - rdfs:label "more" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; +<https://tenet.tetras-libre.fr/extract-result#outer-system-hasPart-giant-planet> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasPart> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#giant-planet> ], + <https://tenet.tetras-libre.fr/extract-result#outer-system-hasPart-planet> ; ns1:fromStructure "WikiAbstract-SolarSystem-07" . -<https://tenet.tetras-libre.fr/extract-result#outer-system-hasPart-planet> a owl:Class ; +<https://tenet.tetras-libre.fr/extract-result#outer-system-hasPart-more-massive-giant-planet> a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasPart> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#planet> ], - <https://tenet.tetras-libre.fr/extract-result#outer-system> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#more-massive-giant-planet> ], + <https://tenet.tetras-libre.fr/extract-result#outer-system-hasPart-planet> ; ns1:fromStructure "WikiAbstract-SolarSystem-07" . <https://tenet.tetras-libre.fr/extract-result#substantial> a owl:Class ; @@ -28,32 +26,40 @@ rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-07" . -<https://tenet.tetras-libre.fr/extract-result#terrestrial> a owl:Class ; - rdfs:label "terrestrial" ; - rdfs:subClassOf ns1:Undetermined_Thing ; +<https://tenet.tetras-libre.fr/extract-result#giant> a owl:Individual, + ns1:Feature ; + rdfs:label "giant" ; ns1:fromStructure "WikiAbstract-SolarSystem-07" . -<https://tenet.tetras-libre.fr/extract-result#giant> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#giant> ; - rdfs:label "giant" ; - rdfs:subClassOf ns1:Undetermined_Thing ; +<https://tenet.tetras-libre.fr/extract-result#isMoreMassiveThan> rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-07" . -<https://tenet.tetras-libre.fr/extract-result#hasPart> a owl:ObjectProperty ; - rdfs:label "hasPart" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; +<https://tenet.tetras-libre.fr/extract-result#more-massive> a owl:Individual, + ns1:Feature ; + rdfs:label "more-massive" ; + ns1:fromStructure "WikiAbstract-SolarSystem-07" . + +<https://tenet.tetras-libre.fr/extract-result#more-massive-giant-planet> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#isMoreMassiveThan> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#terrestrial> ], + [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#more-massive> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#giant-planet>, + <https://tenet.tetras-libre.fr/extract-result#planet> ; ns1:fromStructure "WikiAbstract-SolarSystem-07" . -<https://tenet.tetras-libre.fr/extract-result#outer> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#outer> ; +<https://tenet.tetras-libre.fr/extract-result#outer> a owl:Individual, + ns1:Feature ; rdfs:label "outer" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-07" . <https://tenet.tetras-libre.fr/extract-result#outer-system> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#system> ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#outer> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#system> ; ns1:fromStructure "WikiAbstract-SolarSystem-07" . <https://tenet.tetras-libre.fr/extract-result#system> a owl:Class ; @@ -61,6 +67,39 @@ rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-07" . +<https://tenet.tetras-libre.fr/extract-result#terrestrial> a owl:Class ; + rdfs:label "terrestrial" ; + rdfs:subClassOf ns1:Undetermined_Thing ; + ns1:fromStructure "WikiAbstract-SolarSystem-07" . + +<https://tenet.tetras-libre.fr/extract-result#giant-planet> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue <https://tenet.tetras-libre.fr/extract-result#giant> ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasFeature> ], + <https://tenet.tetras-libre.fr/extract-result#planet> ; + ns1:fromStructure "WikiAbstract-SolarSystem-07" . + +<https://tenet.tetras-libre.fr/extract-result#hasFeature> a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "predefinedProperty" . + +<https://tenet.tetras-libre.fr/extract-result#outer-system-hasPart-planet> a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasPart> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#planet> ], + [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasPart> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#planet> ], + <https://tenet.tetras-libre.fr/extract-result#outer-system>, + <https://tenet.tetras-libre.fr/extract-result#outer-system-hasPart-planet> ; + ns1:fromStructure "WikiAbstract-SolarSystem-07" . + +<https://tenet.tetras-libre.fr/extract-result#hasPart> a owl:ObjectProperty ; + rdfs:label "hasPart" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "WikiAbstract-SolarSystem-07" . + <https://tenet.tetras-libre.fr/extract-result#planet> a owl:Class ; rdfs:label "planet" ; rdfs:subClassOf ns1:Entity ; diff --git a/data/generated_ontology/SolarSystemProd_factoid_8.ttl b/data/generated_ontology/SolarSystemProd_factoid_8.ttl index 2aa4774..f8a3511 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_8.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_8.ttl @@ -1,164 +1,201 @@ @prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix ns2: <https://tenet.tetras-libre.fr/extract-result#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -<https://tenet.tetras-libre.fr/extract-result#Jupiter> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#planet> ; +ns2:Jupiter a owl:Individual, + ns1:Entity, + ns2:planet ; rdfs:label "Jupiter" ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#Neptune> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#planet> ; +ns2:Neptune a owl:Individual, + ns1:Entity, + ns2:planet, + ns2:planet-compose-substance ; rdfs:label "Neptune" ; - ns1:fromStructure "WikiAbstract-SolarSystem-08" . + ns1:fromStructure "WikiAbstract-SolarSystem-08" ; + ns2:compose ns2:substance-WikiAbstract-SolarSystem-08 . -<https://tenet.tetras-libre.fr/extract-result#Saturn> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#planet> ; +ns2:Saturn a owl:Individual, + ns1:Entity, + ns2:planet ; rdfs:label "Saturn" ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#Uranus> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#planet> ; +ns2:Uranus a owl:Individual, + ns1:Entity, + ns2:planet, + ns2:planet-compose-substance ; rdfs:label "Uranus" ; - ns1:fromStructure "WikiAbstract-SolarSystem-08" . + ns1:fromStructure "WikiAbstract-SolarSystem-08" ; + ns2:compose ns2:substance-WikiAbstract-SolarSystem-08 . -<https://tenet.tetras-libre.fr/extract-result#ammonia> a owl:Class ; +ns2:ammonia a owl:Class ; rdfs:label "ammonia" ; rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#gas-giant-compose-helium> a owl:Class ; +ns2:gas-giant-compose-helium a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#compose> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#helium> ], - <https://tenet.tetras-libre.fr/extract-result#gas-giant> ; + owl:onProperty ns2:compose ; + owl:someValuesFrom ns2:helium ], + ns2:gas-giant ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#gas-giant-compose-hydrogen> a owl:Class ; +ns2:gas-giant-compose-hydrogen a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#compose> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#hydrogen> ], - <https://tenet.tetras-libre.fr/extract-result#gas-giant> ; + owl:onProperty ns2:compose ; + owl:someValuesFrom ns2:hydrogen ], + ns2:gas-giant ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#helium-call-volatile> a owl:Class ; +ns2:helium-call-volatile a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#call> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#volatile> ], - <https://tenet.tetras-libre.fr/extract-result#helium> ; + owl:onProperty ns2:call ; + owl:someValuesFrom ns2:volatile ], + ns2:helium ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#high> a owl:ObjectProperty ; +ns2:high a owl:ObjectProperty ; rdfs:label "high" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#hydrogen-call-volatile> a owl:Class ; +ns2:hydrogen-call-volatile a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#call> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#volatile> ], - <https://tenet.tetras-libre.fr/extract-result#hydrogen> ; + owl:onProperty ns2:call ; + owl:someValuesFrom ns2:volatile ], + ns2:hydrogen ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#ice-giant> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#giant> ; +ns2:ice-giant a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue ns2:ice ; + owl:onProperty ns2:hasFeature ], + ns2:giant ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#large> a owl:Class ; +ns2:large a owl:Class ; rdfs:label "large" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#main> a owl:Class ; +ns2:main a owl:Class ; rdfs:label "main" ; rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#melt> a owl:ObjectProperty ; +ns2:melt a owl:ObjectProperty ; rdfs:label "melt" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#methane> a owl:Class ; +ns2:methane a owl:Class ; rdfs:label "methane" ; rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#more> a owl:Class ; +ns2:more a owl:ObjectProperty ; rdfs:label "more" ; - rdfs:subClassOf ns1:Entity ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#most> a owl:ObjectProperty ; +ns2:most a owl:ObjectProperty ; rdfs:label "most" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#point> a owl:Class ; +ns2:point a owl:Class ; rdfs:label "point" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#relative> a owl:ObjectProperty ; +ns2:relative a owl:ObjectProperty ; rdfs:label "relative" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#substance> a owl:Class ; - rdfs:label "substance" ; - rdfs:subClassOf ns1:Entity ; - ns1:fromStructure "WikiAbstract-SolarSystem-08" . - -<https://tenet.tetras-libre.fr/extract-result#water> a owl:Class ; +ns2:water a owl:Class ; rdfs:label "water" ; rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#gas> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#gas> ; +ns2:gas a owl:Individual, + ns1:Feature ; rdfs:label "gas" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#ice> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#ice> ; +ns2:ice a owl:Individual, + ns1:Feature ; rdfs:label "ice" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#call> a owl:ObjectProperty ; +ns2:call a owl:ObjectProperty ; rdfs:label "call" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#compose> a owl:ObjectProperty ; - rdfs:label "compose" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-08" . - -<https://tenet.tetras-libre.fr/extract-result#gas-giant> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#giant> ; +ns2:gas-giant a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue ns2:gas ; + owl:onProperty ns2:hasFeature ], + ns2:giant ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#giant> a owl:Class ; +ns2:giant a owl:Class ; rdfs:label "giant" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#helium> a owl:Class ; +ns2:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "predefinedProperty" . + +ns2:helium a owl:Class ; rdfs:label "helium" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#hydrogen> a owl:Class ; +ns2:hydrogen a owl:Class ; rdfs:label "hydrogen" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . -<https://tenet.tetras-libre.fr/extract-result#volatile> a owl:Class ; +ns2:planet-compose-substance a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:compose ; + owl:someValuesFrom ns2:substance ], + [ a owl:Restriction ; + owl:onProperty ns2:compose ; + owl:someValuesFrom ns2:substance ], + ns2:planet ; + ns1:fromStructure "WikiAbstract-SolarSystem-08" . + +ns2:substance-WikiAbstract-SolarSystem-08 a owl:Individual, + ns1:Entity, + ns2:substance ; + rdfs:label "substance (WikiAbstract-SolarSystem-08)" ; + ns1:fromStructure "WikiAbstract-SolarSystem-08" . + +ns2:volatile a owl:Class ; rdfs:label "volatile" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-08" . +ns2:substance a owl:Class ; + rdfs:label "substance" ; + rdfs:subClassOf ns1:Entity ; + ns1:fromStructure "WikiAbstract-SolarSystem-08" . + +ns2:compose a owl:ObjectProperty ; + rdfs:label "compose" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "WikiAbstract-SolarSystem-08" . + +ns2:planet a owl:Class ; + rdfs:label "planet" ; + rdfs:subClassOf ns1:Entity ; + ns1:fromStructure "WikiAbstract-SolarSystem-08" . + diff --git a/data/generated_ontology/SolarSystemProd_factoid_9.ttl b/data/generated_ontology/SolarSystemProd_factoid_9.ttl index 0566a4f..0929bf6 100644 --- a/data/generated_ontology/SolarSystemProd_factoid_9.ttl +++ b/data/generated_ontology/SolarSystemProd_factoid_9.ttl @@ -1,79 +1,92 @@ @prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix ns2: <https://tenet.tetras-libre.fr/extract-result#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -<https://tenet.tetras-libre.fr/extract-result#all> a owl:ObjectProperty ; +ns2:all a owl:ObjectProperty ; rdfs:label "all" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-09" . -<https://tenet.tetras-libre.fr/extract-result#call> a owl:ObjectProperty ; - rdfs:label "call" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "WikiAbstract-SolarSystem-09" . - -<https://tenet.tetras-libre.fr/extract-result#circular-orbit-lie-disc> a owl:Class ; +ns2:almost-circular a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty <https://tenet.tetras-libre.fr/extract-result#lie> ; - owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#disc> ], - <https://tenet.tetras-libre.fr/extract-result#circular-orbit> ; + owl:hasValue ns2:almost ; + owl:onProperty ns2:hasFeature ], + ns2:circular ; ns1:fromStructure "WikiAbstract-SolarSystem-09" . -<https://tenet.tetras-libre.fr/extract-result#ecliptic> a owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#thing> ; - rdfs:label "ecliptic" ; - ns1:fromStructure "WikiAbstract-SolarSystem-09" . +ns2:disc-WikiAbstract-SolarSystem-09 a owl:Individual, + ns1:Entity, + ns2:disc-call-thing ; + rdfs:label "disc (WikiAbstract-SolarSystem-09)" ; + ns1:fromStructure "WikiAbstract-SolarSystem-09" ; + ns2:call ns2:ecliptic . -<https://tenet.tetras-libre.fr/extract-result#flat> a owl:ObjectProperty ; +ns2:flat a owl:ObjectProperty ; rdfs:label "flat" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-09" . -<https://tenet.tetras-libre.fr/extract-result#near> a owl:ObjectProperty ; +ns2:lie a owl:ObjectProperty ; + rdfs:label "lie" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "WikiAbstract-SolarSystem-09" . + +ns2:near a owl:ObjectProperty ; rdfs:label "near" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-09" . -<https://tenet.tetras-libre.fr/extract-result#planet> a owl:Class ; +ns2:orbit a owl:ObjectProperty ; + rdfs:label "orbit" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "WikiAbstract-SolarSystem-09" . + +ns2:planet a owl:Class ; rdfs:label "planet" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-09" . -<https://tenet.tetras-libre.fr/extract-result#almost> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#almost> ; +ns2:almost a owl:Individual, + ns1:Feature ; rdfs:label "almost" ; - rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-09" . -<https://tenet.tetras-libre.fr/extract-result#almost-circular> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#circular> ; +ns2:call a owl:ObjectProperty ; + rdfs:label "call" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "WikiAbstract-SolarSystem-09" . -<https://tenet.tetras-libre.fr/extract-result#circular-orbit> a owl:Class ; - rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#orbit> ; +ns2:circular a owl:Class ; + rdfs:label "circular" ; + rdfs:subClassOf ns1:Undetermined_Thing ; ns1:fromStructure "WikiAbstract-SolarSystem-09" . -<https://tenet.tetras-libre.fr/extract-result#disc> a owl:Class ; +ns2:disc a owl:Class ; rdfs:label "disc" ; rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-09" . -<https://tenet.tetras-libre.fr/extract-result#lie> a owl:ObjectProperty ; - rdfs:label "lie" ; - rdfs:subPropertyOf ns1:Out_ObjectProperty ; +ns2:disc-call-thing a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty ns2:call ; + owl:someValuesFrom ns2:thing ], + ns2:disc ; ns1:fromStructure "WikiAbstract-SolarSystem-09" . -<https://tenet.tetras-libre.fr/extract-result#orbit> a owl:Class ; - rdfs:label "orbit" ; - rdfs:subClassOf ns1:Entity ; +ns2:ecliptic a owl:Individual, + ns1:Entity, + ns2:thing ; + rdfs:label "ecliptic" ; ns1:fromStructure "WikiAbstract-SolarSystem-09" . -<https://tenet.tetras-libre.fr/extract-result#circular> a owl:Class, - owl:Individual, - <https://tenet.tetras-libre.fr/extract-result#almost-circular>, - <https://tenet.tetras-libre.fr/extract-result#circular> ; - rdfs:label "circular" ; - rdfs:subClassOf ns1:Undetermined_Thing ; +ns2:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf ns1:Out_ObjectProperty ; + ns1:fromStructure "predefinedProperty" . + +ns2:thing a owl:Class ; + rdfs:label "thing" ; + rdfs:subClassOf ns1:Entity ; ns1:fromStructure "WikiAbstract-SolarSystem-09" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_1.ttl b/data/reference_ontology/SolarSystemProd_factoid_1.ttl index edc098e..d423849 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_1.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_1.ttl @@ -1,115 +1,187 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . -result:SolarSystem a owl:Individual, - result:system, - result:system-hasPart-object-orbit-sun, - result:system-hasPart-sun, - result:system-isBindBy-gravitation ; - rdfs:label "SolarSystem" . - result:direct a owl:ObjectProperty ; rdfs:label "direct" ; - rdfs:subPropertyOf base:Out_ObjectProperty . - -result:gravitation-bind-system a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:bind ; - owl:someValuesFrom result:system ], - result:gravitation . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-01" . + +result:gravitation-WikiAbstract-SolarSystem-01 a owl:Individual, + base:Entity, + result:gravitation-bind-system, + result:gravitation-bind-system-hasPart-object, + result:gravitation-bind-system-hasPart-sun ; + rdfs:label "gravitation (WikiAbstract-SolarSystem-01)" ; + base:fromStructure "WikiAbstract-SolarSystem-01" ; + result:bind result:SolarSystem . + +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . result:hasManner a owl:ObjectProperty ; rdfs:label "hasManner" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-01" . result:not-direct a owl:ObjectProperty ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-01" . -result:object-orbit-hasManner-direct-sun a owl:Class ; +result:SolarSystem a owl:Individual, + base:Entity, + result:system, + result:system-hasPart-object, + result:system-hasPart-object-orbit-hasManner-direct-sun, + result:system-hasPart-object-orbit-hasManner-not-direct-sun, + result:system-hasPart-sun ; + rdfs:label "SolarSystem" ; + base:fromStructure "WikiAbstract-SolarSystem-01" ; + result:hasPart result:object-WikiAbstract-SolarSystem-01-a, + result:object-WikiAbstract-SolarSystem-01-b, + result:sun-WikiAbstract-SolarSystem-01 . + +result:gravitation a owl:Class ; + rdfs:label "gravitation" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-01" . + +result:gravitation-bind-system-hasPart-object a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:orbit-hasManner-direct ; - owl:someValuesFrom result:sun ], - result:object-orbit-sun . + owl:onProperty result:bind ; + owl:someValuesFrom result:system-hasPart-object ], + result:gravitation-bind-system ; + base:fromStructure "WikiAbstract-SolarSystem-01" . -result:object-orbit-hasManner-not-direct-sun a owl:Class ; +result:gravitation-bind-system-hasPart-sun a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:orbit-hasManner-not-direct ; - owl:someValuesFrom result:sun ], - result:object-orbit-sun . + owl:onProperty result:bind ; + owl:someValuesFrom result:system-hasPart-sun ], + result:gravitation-bind-system ; + base:fromStructure "WikiAbstract-SolarSystem-01" . + +result:object-WikiAbstract-SolarSystem-01 a owl:Individual, + base:Entity, + result:object, + result:object-orbit-hasManner-direct-sun ; + rdfs:label "object 1 (WikiAbstract-SolarSystem-01)" ; + base:fromStructure "WikiAbstract-SolarSystem-01" ; + result:orbit-hasManner-direct result:sun-WikiAbstract-SolarSystem-01 . + +result:object-WikiAbstract-SolarSystem-01-2 a owl:Individual, + base:Entity, + result:object, + result:object-orbit-hasManner-not-direct-sun ; + rdfs:label "object 2 (WikiAbstract-SolarSystem-01)" ; + base:fromStructure "WikiAbstract-SolarSystem-01" ; + result:orbit-hasManner-not-direct result:sun-WikiAbstract-SolarSystem-01 . + +result:system-hasPart-object-orbit-hasManner-direct-sun a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:hasPart ; + owl:someValuesFrom result:object-orbit-hasManner-direct-sun ], + result:system-hasPart-object ; + base:fromStructure "WikiAbstract-SolarSystem-01" . -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-01> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-01#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-01" ; - ns1:hasSentence "The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly." . +result:system-hasPart-object-orbit-hasManner-not-direct-sun a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:hasPart ; + owl:someValuesFrom result:object-orbit-hasManner-not-direct-sun ], + result:system-hasPart-object ; + base:fromStructure "WikiAbstract-SolarSystem-01" . -result:isBindBy rdfs:label "isBindBy" ; +result:orbit a owl:ObjectProperty ; + rdfs:label "orbit" ; rdfs:subPropertyOf base:Out_ObjectProperty ; - owl:inverseOf result:bind . + base:fromStructure "WikiAbstract-SolarSystem-01" . result:orbit-hasManner-direct a owl:ObjectProperty ; - rdfs:subPropertyOf result:orbit . + rdfs:subPropertyOf result:orbit ; + base:fromStructure "WikiAbstract-SolarSystem-01" . result:orbit-hasManner-not-direct a owl:ObjectProperty ; - rdfs:subPropertyOf result:orbit . + rdfs:subPropertyOf result:orbit ; + base:fromStructure "WikiAbstract-SolarSystem-01" . -result:system-hasPart-object a owl:Class ; +result:gravitation-bind-system a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:hasPart ; - owl:someValuesFrom result:object ], - result:system . + owl:onProperty result:bind ; + owl:someValuesFrom result:system ], + [ a owl:Restriction ; + owl:onProperty result:bind ; + owl:someValuesFrom result:system ], + result:gravitation ; + base:fromStructure "WikiAbstract-SolarSystem-01" . -result:system-hasPart-object-orbit-sun a owl:Class ; +result:object-orbit-sun a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:hasPart ; - owl:someValuesFrom result:object-orbit-sun ], - result:system-hasPart-object . + owl:onProperty result:orbit ; + owl:someValuesFrom result:sun ], + result:object ; + base:fromStructure "WikiAbstract-SolarSystem-01" . -result:system-hasPart-sun a owl:Class ; +result:object-orbit-hasManner-direct-sun a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:hasPart ; + owl:onProperty result:orbit-hasManner-direct ; owl:someValuesFrom result:sun ], - result:system . + result:object-orbit-sun ; + base:fromStructure "WikiAbstract-SolarSystem-01" . -result:system-isBindBy-gravitation a owl:Class ; +result:object-orbit-hasManner-not-direct-sun a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:isBindBy ; - owl:someValuesFrom result:gravitation ], - result:system . - -result:bind a owl:ObjectProperty ; - rdfs:label "bind" ; - rdfs:subPropertyOf base:Out_ObjectProperty . - -result:gravitation a owl:Class ; - rdfs:label "gravitation" ; - rdfs:subClassOf base:Entity . - -result:object a owl:Class ; - rdfs:label "object" ; - rdfs:subClassOf base:Entity . + owl:onProperty result:orbit-hasManner-not-direct ; + owl:someValuesFrom result:sun ], + result:object-orbit-sun ; + base:fromStructure "WikiAbstract-SolarSystem-01" . -result:hasPart a owl:ObjectProperty ; - rdfs:label "hasPart" ; - rdfs:subPropertyOf base:Out_ObjectProperty . +result:sun-WikiAbstract-SolarSystem-01 a owl:Individual, + base:Entity, + result:sun ; + rdfs:label "sun (WikiAbstract-SolarSystem-01)" ; + base:fromStructure "WikiAbstract-SolarSystem-01" . -result:object-orbit-sun a owl:Class ; +result:system-hasPart-sun a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:orbit ; + owl:onProperty result:hasPart ; owl:someValuesFrom result:sun ], - result:object . + result:system ; + base:fromStructure "WikiAbstract-SolarSystem-01" . -result:orbit a owl:ObjectProperty ; - rdfs:label "orbit" ; - rdfs:subPropertyOf base:Out_ObjectProperty . +result:system-hasPart-object a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:hasPart ; + owl:someValuesFrom result:object ], + [ a owl:Restriction ; + owl:onProperty result:hasPart ; + owl:someValuesFrom result:object ], + result:system ; + base:fromStructure "WikiAbstract-SolarSystem-01" . + +result:object a owl:Class ; + rdfs:label "object" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-01" . result:sun a owl:Class ; rdfs:label "sun" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-01" . result:system a owl:Class ; rdfs:label "system" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-01" . + +result:bind a owl:ObjectProperty ; + rdfs:label "bind" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-01" . + +result:hasPart a owl:ObjectProperty ; + rdfs:label "hasPart" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-01" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_10.ttl b/data/reference_ontology/SolarSystemProd_factoid_10.ttl index 571369d..96b95d7 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_10.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_10.ttl @@ -1,35 +1,69 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . result:SolarSystem a owl:Individual, - result:system ; - rdfs:label "SolarSystem" . + base:Entity, + result:system, + result:system-contain-more-small-object ; + rdfs:label "SolarSystem" ; + base:fromStructure "WikiAbstract-SolarSystem-10" ; + result:contain result:object-WikiAbstract-SolarSystem-10 . result:also a owl:Class ; rdfs:label "also" ; - rdfs:subClassOf base:Undetermined_Thing . - -result:contain a owl:ObjectProperty ; - rdfs:label "contain" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-10" . -result:more a owl:ObjectProperty ; +result:more a owl:Individual, + base:Degree ; rdfs:label "more" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + base:fromStructure "WikiAbstract-SolarSystem-10" . result:object a owl:Class ; rdfs:label "object" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-10" . + +result:object-WikiAbstract-SolarSystem-10 a owl:Individual, + base:Entity, + result:more-small-object ; + rdfs:label "object (WikiAbstract-SolarSystem-10)" ; + base:fromStructure "WikiAbstract-SolarSystem-10" ; + result:hasFeature result:more-small . + +result:system-contain-more-small-object a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:contain ; + owl:someValuesFrom result:more-small-object ], + result:system ; + base:fromStructure "WikiAbstract-SolarSystem-10" . + +result:contain a owl:ObjectProperty ; + rdfs:label "contain" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-10" . + +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . + +result:system a owl:Class ; + rdfs:label "system" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-10" . -result:small a owl:Class ; - rdfs:label "small" ; - rdfs:subClassOf base:Entity . +result:more-small a owl:Individual, + base:Feature ; + rdfs:label "more-small" ; + base:fromStructure "WikiAbstract-SolarSystem-10" . -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-10> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-10#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-10" ; - ns1:hasSentence "The Solar System also contains smaller objects." . +result:more-small-object a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:more-small ; + owl:onProperty result:hasFeature ], + result:object ; + base:fromStructure "WikiAbstract-SolarSystem-10" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_11.ttl b/data/reference_ontology/SolarSystemProd_factoid_11.ttl index 48b2492..28b9635 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_11.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_11.ttl @@ -1,97 +1,144 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . result:Jupiter a owl:Individual, + base:Entity, result:planet ; - rdfs:label "Jupiter" . + rdfs:label "Jupiter" ; + base:fromStructure "WikiAbstract-SolarSystem-11" . result:Mars a owl:Individual, + base:Entity, result:planet ; - rdfs:label "Mars" . + rdfs:label "Mars" ; + base:fromStructure "WikiAbstract-SolarSystem-11" . -result:asteroid-belt-contain-object a owl:Class ; +result:asteroid-belt-contain-object-compose-metal a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty result:contain ; - owl:someValuesFrom result:object ], - result:asteroid-belt . - -result:between a owl:Class ; - rdfs:label "between" ; - rdfs:subClassOf base:Entity . + owl:someValuesFrom result:object-compose-metal ], + result:asteroid-belt-contain-object ; + base:fromStructure "WikiAbstract-SolarSystem-11" . -result:compose-resemble-terrestrial-planet a owl:Class ; +result:asteroid-belt-contain-object-compose-rock a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:resemble ; - owl:someValuesFrom result:terrestrial-planet ], - result:compose . + owl:onProperty result:contain ; + owl:someValuesFrom result:object-compose-rock ], + result:asteroid-belt-contain-object ; + base:fromStructure "WikiAbstract-SolarSystem-11" . + +result:between a owl:ObjectProperty ; + rdfs:label "between" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-11" . result:lie a owl:ObjectProperty ; rdfs:label "lie" ; - rdfs:subPropertyOf base:Out_ObjectProperty . - -result:metal a owl:Class ; - rdfs:label "metal" ; - rdfs:subClassOf base:Entity . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-11" . result:most a owl:ObjectProperty ; rdfs:label "most" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-11" . result:orbit a owl:ObjectProperty ; rdfs:label "orbit" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-11" . -result:rock a owl:Class ; - rdfs:label "rock" ; - rdfs:subClassOf base:Entity . - -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-11> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-11#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-11" ; - ns1:hasSentence "The asteroid belt, which lies between the orbits of Mars and Jupiter, mostly contains objects composed, like the terrestrial planets, of rock and metal." . +result:resemble a owl:ObjectProperty ; + rdfs:label "resemble" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-11" . -result:asteroid a owl:Class, - owl:Individual, - result:asteroid ; - rdfs:label "asteroid" ; - rdfs:subClassOf base:Undetermined_Thing . +result:terrestrial-planet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:terrestrial ; + owl:onProperty result:hasFeature ], + result:planet ; + base:fromStructure "WikiAbstract-SolarSystem-11" . result:asteroid-belt a owl:Class ; - rdfs:subClassOf result:belt . + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:asteroid ; + owl:onProperty result:hasFeature ], + result:belt ; + base:fromStructure "WikiAbstract-SolarSystem-11" . result:belt a owl:Class ; rdfs:label "belt" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-11" . -result:compose a owl:Class ; - rdfs:label "compose" ; - rdfs:subClassOf base:Entity . +result:asteroid a owl:Individual, + base:Feature ; + rdfs:label "asteroid" ; + base:fromStructure "WikiAbstract-SolarSystem-11" . -result:contain a owl:ObjectProperty ; - rdfs:label "contain" ; - rdfs:subPropertyOf base:Out_ObjectProperty . +result:asteroid-belt-contain-object a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:contain ; + owl:someValuesFrom result:object ], + [ a owl:Restriction ; + owl:onProperty result:contain ; + owl:someValuesFrom result:object ], + result:asteroid-belt ; + base:fromStructure "WikiAbstract-SolarSystem-11" . -result:object a owl:Class ; - rdfs:label "object" ; - rdfs:subClassOf base:Entity . +result:metal a owl:Class ; + rdfs:label "metal" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-11" . -result:resemble a owl:ObjectProperty ; - rdfs:label "resemble" ; - rdfs:subPropertyOf base:Out_ObjectProperty . +result:object-compose-metal a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:compose ; + owl:someValuesFrom result:metal ], + result:object ; + base:fromStructure "WikiAbstract-SolarSystem-11" . -result:terrestrial a owl:Class, - owl:Individual, - result:terrestrial ; - rdfs:label "terrestrial" ; - rdfs:subClassOf base:Undetermined_Thing . +result:object-compose-rock a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:compose ; + owl:someValuesFrom result:rock ], + result:object ; + base:fromStructure "WikiAbstract-SolarSystem-11" . -result:terrestrial-planet a owl:Class ; - rdfs:subClassOf result:planet . +result:rock a owl:Class ; + rdfs:label "rock" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-11" . + +result:terrestrial a owl:Individual, + base:Feature ; + rdfs:label "terrestrial" ; + base:fromStructure "WikiAbstract-SolarSystem-11" . result:planet a owl:Class ; rdfs:label "planet" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-11" . + +result:compose a owl:ObjectProperty ; + rdfs:label "compose" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-11" . + +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . + +result:object a owl:Class ; + rdfs:label "object" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-11" . + +result:contain a owl:ObjectProperty ; + rdfs:label "contain" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-11" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_12.ttl b/data/reference_ontology/SolarSystemProd_factoid_12.ttl index 88b8feb..5b10337 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_12.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_12.ttl @@ -1,98 +1,134 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . result:KuiperBelt a owl:Individual, + base:Entity, result:belt ; - rdfs:label "KuiperBelt" . + rdfs:label "KuiperBelt" ; + base:fromStructure "WikiAbstract-SolarSystem-12" . result:Neptunian a owl:Individual, + base:Entity, result:planet ; - rdfs:label "Neptunian" . + rdfs:label "Neptunian" ; + base:fromStructure "WikiAbstract-SolarSystem-12" . result:disc a owl:Class ; rdfs:label "disc" ; - rdfs:subClassOf base:Entity . - -result:discover a owl:Class ; - rdfs:label "discover" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-12" . result:most a owl:ObjectProperty ; rdfs:label "most" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-12" . -result:new a owl:ObjectProperty ; +result:new a owl:Individual, + base:Feature ; rdfs:label "new" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + base:fromStructure "WikiAbstract-SolarSystem-12" . + +result:new-discover rdfs:subPropertyOf result:discover ; + base:fromStructure "WikiAbstract-SolarSystem-12" . result:object-population-compose-ice a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty result:compose ; owl:someValuesFrom result:ice ], - result:object-population . + result:object-population ; + base:fromStructure "WikiAbstract-SolarSystem-12" . result:orbit a owl:ObjectProperty ; rdfs:label "orbit" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-12" . result:scatter a owl:ObjectProperty ; rdfs:label "scatter" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-12" . result:sednoid-population-lie-beyond a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty result:lie ; owl:someValuesFrom result:beyond ], - result:sednoid-population . + result:sednoid-population ; + base:fromStructure "WikiAbstract-SolarSystem-12" . result:transpire a owl:ObjectProperty ; rdfs:label "transpire" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-12" . + +result:belt a owl:Class ; + rdfs:label "belt" ; + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-12" . + +result:discover a owl:ObjectProperty ; + rdfs:label "discover" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-12" . -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-12> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-12#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-12" ; - ns1:hasSentence "Beyond Neptune's orbit lie the Kuiper belt and scattered disc, which are populations of trans-Neptunian objects composed mostly of ices, and beyond them a newly discovered population of sednoids." . +result:object-population a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:object ; + owl:onProperty result:hasFeature ], + result:population ; + base:fromStructure "WikiAbstract-SolarSystem-12" . + +result:planet a owl:Class ; + rdfs:label "planet" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-12" . + +result:sednoid-population a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:sednoid ; + owl:onProperty result:hasFeature ], + result:population ; + base:fromStructure "WikiAbstract-SolarSystem-12" . result:beyond a owl:Class ; rdfs:label "beyond" ; rdfs:subClassOf base:Entity, - base:Undetermined_Thing . + base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-12" . result:compose a owl:ObjectProperty ; rdfs:label "compose" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-12" . result:ice a owl:Class ; rdfs:label "ice" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-12" . result:lie a owl:ObjectProperty ; rdfs:label "lie" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-12" . -result:object a owl:Class, - owl:Individual, - result:object ; +result:object a owl:Individual, + base:Feature ; rdfs:label "object" ; - rdfs:subClassOf base:Entity . + base:fromStructure "WikiAbstract-SolarSystem-12" . -result:object-population a owl:Class ; - rdfs:subClassOf result:population . +result:population a owl:Class ; + rdfs:label "population" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-12" . -result:sednoid a owl:Class, - owl:Individual, - result:sednoid ; +result:sednoid a owl:Individual, + base:Feature ; rdfs:label "sednoid" ; - rdfs:subClassOf base:Undetermined_Thing . + base:fromStructure "WikiAbstract-SolarSystem-12" . -result:sednoid-population a owl:Class ; - rdfs:subClassOf result:population . - -result:population a owl:Class ; - rdfs:label "population" ; - rdfs:subClassOf base:Entity . +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_13.ttl b/data/reference_ontology/SolarSystemProd_factoid_13.ttl index 5c3cf30..a13eb95 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_13.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_13.ttl @@ -1,76 +1,92 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . result:considerable a owl:Class ; rdfs:label "considerable" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-13" . -result:debate a owl:Class ; +result:debate a owl:ObjectProperty ; rdfs:label "debate" ; - rdfs:subClassOf base:Entity . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-13" . result:enough a owl:Class ; rdfs:label "enough" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-13" . result:gravity a owl:Class ; rdfs:label "gravity" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-13" . result:have a owl:ObjectProperty ; rdfs:label "have" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-13" . result:large a owl:Class ; rdfs:label "large" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-13" . result:many a owl:Class ; rdfs:label "many" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-13" . result:object a owl:Class ; rdfs:label "object" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-13" . result:prove a owl:ObjectProperty ; rdfs:label "prove" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-13" . result:round a owl:ObjectProperty ; rdfs:label "round" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-13" . result:some a owl:Class ; rdfs:label "some" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-13" . result:thing a owl:Class ; rdfs:label "thing" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-13" . result:this-population a owl:Class ; - rdfs:subClassOf result:population . + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:this ; + owl:onProperty result:hasFeature ], + result:population ; + base:fromStructure "WikiAbstract-SolarSystem-13" . result:under a owl:Class ; rdfs:label "under" ; - rdfs:subClassOf base:Undetermined_Thing . - -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-13> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-13#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-13" ; - ns1:hasSentence "Within these populations, some objects are large enough to have rounded under their own gravity, though there is considerable debate as to how many there will prove to be." . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-13" . result:population a owl:Class ; rdfs:label "population" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-13" . + +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . -result:this a owl:Class, - owl:Individual, - result:this ; +result:this a owl:Individual, + base:Feature ; rdfs:label "this" ; - rdfs:subClassOf base:Undetermined_Thing . + base:fromStructure "WikiAbstract-SolarSystem-13" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_14.ttl b/data/reference_ontology/SolarSystemProd_factoid_14.ttl index 498d5ef..702c007 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_14.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_14.ttl @@ -1,5 +1,4 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . @@ -8,40 +7,50 @@ result:such-object-categorize-dwarf-planet a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty result:categorize ; owl:someValuesFrom result:dwarf-planet ], - result:such-object . + result:such-object ; + base:fromStructure "WikiAbstract-SolarSystem-14" . -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-14> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-14#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-14" ; - ns1:hasSentence "Such objects are categorized as dwarf planets." . +result:object a owl:Class ; + rdfs:label "object" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-14" . + +result:planet a owl:Class ; + rdfs:label "planet" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-14" . + +result:such-object a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:such ; + owl:onProperty result:hasFeature ], + result:object ; + base:fromStructure "WikiAbstract-SolarSystem-14" . result:categorize a owl:ObjectProperty ; rdfs:label "categorize" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-14" . -result:dwarf a owl:Class, - owl:Individual, - result:dwarf ; +result:dwarf a owl:Individual, + base:Feature ; rdfs:label "dwarf" ; - rdfs:subClassOf base:Undetermined_Thing . + base:fromStructure "WikiAbstract-SolarSystem-14" . result:dwarf-planet a owl:Class ; - rdfs:subClassOf result:planet . - -result:object a owl:Class ; - rdfs:label "object" ; - rdfs:subClassOf base:Entity . - -result:planet a owl:Class ; - rdfs:label "planet" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:dwarf ; + owl:onProperty result:hasFeature ], + result:planet ; + base:fromStructure "WikiAbstract-SolarSystem-14" . -result:such a owl:Class, - owl:Individual, - result:such ; +result:such a owl:Individual, + base:Feature ; rdfs:label "such" ; - rdfs:subClassOf base:Undetermined_Thing . + base:fromStructure "WikiAbstract-SolarSystem-14" . -result:such-object a owl:Class ; - rdfs:subClassOf result:object . +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_15.ttl b/data/reference_ontology/SolarSystemProd_factoid_15.ttl index 595ff7a..d70c209 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_15.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_15.ttl @@ -1,92 +1,202 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . result:Cerre a owl:Individual, - result:asteroid ; - rdfs:label "Cerre" . + base:Entity, + result:asteroid, + result:asteroid-include-object ; + rdfs:label "Cerre" ; + base:fromStructure "WikiAbstract-SolarSystem-15" ; + result:include result:object-WikiAbstract-SolarSystem-15 . result:Eris a owl:Individual, - result:asteroid ; - rdfs:label "Eris" . + base:Entity, + result:asteroid, + result:asteroid-include-object ; + rdfs:label "Eris" ; + base:fromStructure "WikiAbstract-SolarSystem-15" ; + result:include result:object-WikiAbstract-SolarSystem-15 . result:Gonggong a owl:Individual, - result:object ; - rdfs:label "Gonggong" . + base:Entity, + result:object, + result:object-include-object ; + rdfs:label "Gonggong" ; + base:fromStructure "WikiAbstract-SolarSystem-15" ; + result:include result:object-WikiAbstract-SolarSystem-15 . result:Haumea a owl:Individual, - result:asteroid ; - rdfs:label "Haumea" . + base:Entity, + result:asteroid, + result:asteroid-include-object ; + rdfs:label "Haumea" ; + base:fromStructure "WikiAbstract-SolarSystem-15" ; + result:include result:object-WikiAbstract-SolarSystem-15 . result:Makemake a owl:Individual, - result:object ; - rdfs:label "Makemake" . + base:Entity, + result:object, + result:object-include-object ; + rdfs:label "Makemake" ; + base:fromStructure "WikiAbstract-SolarSystem-15" ; + result:include result:object-WikiAbstract-SolarSystem-15 . result:Orcus a owl:Individual, - result:object ; - rdfs:label "Orcus" . + base:Entity, + result:object, + result:object-include-object ; + rdfs:label "Orcus" ; + base:fromStructure "WikiAbstract-SolarSystem-15" ; + result:include result:object-WikiAbstract-SolarSystem-15 . result:Pluto a owl:Individual, - result:object ; - rdfs:label "Pluto" . + base:Entity, + result:object, + result:object-include-object ; + rdfs:label "Pluto" ; + base:fromStructure "WikiAbstract-SolarSystem-15" ; + result:include result:object-WikiAbstract-SolarSystem-15 . result:Quaoar a owl:Individual, - result:object ; - rdfs:label "Quaoar" . + base:Entity, + result:object, + result:object-include-object ; + rdfs:label "Quaoar" ; + base:fromStructure "WikiAbstract-SolarSystem-15" ; + result:include result:object-WikiAbstract-SolarSystem-15 . result:Sedna a owl:Individual, - result:object ; - rdfs:label "Sedna" . - -result:accept a owl:Class ; - rdfs:label "accept" ; - rdfs:subClassOf base:Entity . + base:Entity, + result:object, + result:object-include-object ; + rdfs:label "Sedna" ; + base:fromStructure "WikiAbstract-SolarSystem-15" ; + result:include result:object-WikiAbstract-SolarSystem-15 . result:at-least a owl:Class ; rdfs:label "at-least" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-15" . result:dwarf-planet a owl:Class ; - rdfs:subClassOf result:planet . - -result:general a owl:ObjectProperty ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:dwarf ; + owl:onProperty result:hasFeature ], + result:planet ; + base:fromStructure "WikiAbstract-SolarSystem-15" . + +result:general a owl:Individual, + base:Feature ; rdfs:label "general" ; - rdfs:subPropertyOf base:Out_ObjectProperty . - -result:include a owl:ObjectProperty ; - rdfs:label "include" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + base:fromStructure "WikiAbstract-SolarSystem-15" . result:observe a owl:ObjectProperty ; rdfs:label "observe" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-15" . -result:person a owl:Class ; - rdfs:label "person" ; - rdfs:subClassOf base:Entity . +result:person-WikiAbstract-SolarSystem-15 a owl:Individual, + base:Entity, + result:person-general-accept-object ; + rdfs:label "person (WikiAbstract-SolarSystem-15)" ; + base:fromStructure "WikiAbstract-SolarSystem-15" ; + result:general-accept result:object-WikiAbstract-SolarSystem-15 . result:trans-Neptunian a owl:Class ; rdfs:label "trans-Neptunian" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-15" . -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-15> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-15#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-15" ; - ns1:hasSentence "Astronomers generally accept at least nine objects as dwarf planets: the asteroid Ceres and the trans-Neptunian objects Pluto, Eris, Haumea, Makemake, Gonggong, Quaoar, Sedna, and Orcus." . +result:accept a owl:ObjectProperty ; + rdfs:label "accept" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-15" . -result:dwarf a owl:Class, - owl:Individual, - result:dwarf ; - rdfs:label "dwarf" ; - rdfs:subClassOf base:Undetermined_Thing . +result:person a owl:Class ; + rdfs:label "person" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-15" . + +result:person-general-accept-object a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:general-accept ; + owl:someValuesFrom result:object ], + result:person ; + base:fromStructure "WikiAbstract-SolarSystem-15" . result:planet a owl:Class ; rdfs:label "planet" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-15" . + +result:dwarf a owl:Individual, + base:Feature ; + rdfs:label "dwarf" ; + base:fromStructure "WikiAbstract-SolarSystem-15" . + +result:general-accept rdfs:subPropertyOf result:accept ; + base:fromStructure "WikiAbstract-SolarSystem-15" . + +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . + +result:asteroid-include-object a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:include ; + owl:someValuesFrom result:object ], + [ a owl:Restriction ; + owl:onProperty result:include ; + owl:someValuesFrom result:object ], + [ a owl:Restriction ; + owl:onProperty result:include ; + owl:someValuesFrom result:object ], + result:asteroid ; + base:fromStructure "WikiAbstract-SolarSystem-15" . + +result:asteroid a owl:Class ; + rdfs:label "asteroid" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-15" . + +result:object-include-object a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:include ; + owl:someValuesFrom result:object ], + [ a owl:Restriction ; + owl:onProperty result:include ; + owl:someValuesFrom result:object ], + [ a owl:Restriction ; + owl:onProperty result:include ; + owl:someValuesFrom result:object ], + [ a owl:Restriction ; + owl:onProperty result:include ; + owl:someValuesFrom result:object ], + [ a owl:Restriction ; + owl:onProperty result:include ; + owl:someValuesFrom result:object ], + [ a owl:Restriction ; + owl:onProperty result:include ; + owl:someValuesFrom result:object ], + result:object ; + base:fromStructure "WikiAbstract-SolarSystem-15" . + +result:object-WikiAbstract-SolarSystem-15 a owl:Individual, + base:Entity, + result:object ; + rdfs:label "object (WikiAbstract-SolarSystem-15)" ; + base:fromStructure "WikiAbstract-SolarSystem-15" . + +result:include a owl:ObjectProperty ; + rdfs:label "include" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-15" . result:object a owl:Class ; rdfs:label "object" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-15" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_16.ttl b/data/reference_ontology/SolarSystemProd_factoid_16.ttl index e3e2d2a..9894c5b 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_16.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_16.ttl @@ -1,112 +1,142 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . -result:centaur a owl:Class ; - rdfs:label "centaur" ; - rdfs:subClassOf base:Entity . +result:between a owl:ObjectProperty ; + rdfs:label "between" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-16" . -result:comet a owl:Class ; - rdfs:label "comet" ; - rdfs:subClassOf base:Entity . +result:centaur-include-various-other-population a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:include ; + owl:someValuesFrom result:various-other-population ], + result:centaur ; + base:fromStructure "WikiAbstract-SolarSystem-16" . + +result:comet-include-various-other-population a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:include ; + owl:someValuesFrom result:various-other-population ], + result:comet ; + base:fromStructure "WikiAbstract-SolarSystem-16" . result:dust a owl:Class ; rdfs:label "dust" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-16" . result:free a owl:ObjectProperty ; rdfs:label "free" ; - rdfs:subPropertyOf base:Out_ObjectProperty . - -result:include a owl:ObjectProperty ; - rdfs:label "include" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-16" . -result:interplanetary-cloud a owl:Class ; - rdfs:subClassOf result:cloud . - -result:other-population-travel-between a owl:Class ; +result:interplanetary-cloud-include-various-other-population a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:travel ; - owl:someValuesFrom result:between ], - result:other-population . + owl:onProperty result:include ; + owl:someValuesFrom result:various-other-population ], + result:interplanetary-cloud ; + base:fromStructure "WikiAbstract-SolarSystem-16" . result:small-body a owl:Class ; - rdfs:subClassOf result:body . + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:small ; + owl:onProperty result:hasFeature ], + result:body ; + base:fromStructure "WikiAbstract-SolarSystem-16" . result:this-region a owl:Class ; - rdfs:subClassOf result:region . - -result:various-population-travel-between a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:travel ; - owl:someValuesFrom result:between ], - result:various-population . + owl:hasValue result:this ; + owl:onProperty result:hasFeature ], + result:region ; + base:fromStructure "WikiAbstract-SolarSystem-16" . -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-16> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-16#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-16" ; - ns1:hasSentence "In addition to these two regions, various other small-body populations, including comets, centaurs and interplanetary dust clouds, freely travel between regions." . +result:travel a owl:ObjectProperty ; + rdfs:label "travel" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-16" . result:body a owl:Class ; rdfs:label "body" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-16" . + +result:centaur a owl:Class ; + rdfs:label "centaur" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-16" . result:cloud a owl:Class ; rdfs:label "cloud" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-16" . -result:interplanetary a owl:Class, - owl:Individual, - result:interplanetary ; - rdfs:label "interplanetary" ; - rdfs:subClassOf base:Undetermined_Thing . +result:comet a owl:Class ; + rdfs:label "comet" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-16" . -result:other a owl:Class, - owl:Individual, - result:other ; - rdfs:label "other" ; - rdfs:subClassOf base:Undetermined_Thing . +result:interplanetary-cloud a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:interplanetary ; + owl:onProperty result:hasFeature ], + result:cloud ; + base:fromStructure "WikiAbstract-SolarSystem-16" . -result:other-population a owl:Class ; - rdfs:subClassOf result:population . +result:population a owl:Class ; + rdfs:label "population" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-16" . result:region a owl:Class ; rdfs:label "region" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-16" . + +result:interplanetary a owl:Individual, + base:Feature ; + rdfs:label "interplanetary" ; + base:fromStructure "WikiAbstract-SolarSystem-16" . + +result:other a owl:Individual, + base:Feature ; + rdfs:label "other" ; + base:fromStructure "WikiAbstract-SolarSystem-16" . -result:small a owl:Class, - owl:Individual, - result:small ; +result:small a owl:Individual, + base:Feature ; rdfs:label "small" ; - rdfs:subClassOf base:Undetermined_Thing . + base:fromStructure "WikiAbstract-SolarSystem-16" . -result:this a owl:Class, - owl:Individual, - result:this ; +result:this a owl:Individual, + base:Feature ; rdfs:label "this" ; - rdfs:subClassOf base:Undetermined_Thing . + base:fromStructure "WikiAbstract-SolarSystem-16" . -result:various a owl:Class, - owl:Individual, - result:various ; +result:various a owl:Individual, + base:Feature ; rdfs:label "various" ; - rdfs:subClassOf base:Undetermined_Thing . + base:fromStructure "WikiAbstract-SolarSystem-16" . -result:various-population a owl:Class ; - rdfs:subClassOf result:population . - -result:between a owl:Class ; - rdfs:label "between" ; - rdfs:subClassOf base:Entity . - -result:population a owl:Class ; - rdfs:label "population" ; - rdfs:subClassOf base:Entity . +result:include a owl:ObjectProperty ; + rdfs:label "include" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-16" . -result:travel a owl:ObjectProperty ; - rdfs:label "travel" ; - rdfs:subPropertyOf base:Out_ObjectProperty . +result:various-other-population a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:various ; + owl:onProperty result:hasFeature ], + [ a owl:Restriction ; + owl:hasValue result:other ; + owl:onProperty result:hasFeature ], + result:population ; + base:fromStructure "WikiAbstract-SolarSystem-16" . + +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_17.ttl b/data/reference_ontology/SolarSystemProd_factoid_17.ttl index 843c601..fff6b29 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_17.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_17.ttl @@ -1,104 +1,178 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . result:after a owl:ObjectProperty ; rdfs:label "after" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-17" . -result:body-include-body a owl:Class ; +result:body-isMoreSmallThan-planet-include-most-large-dwarf-planet a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:include ; - owl:someValuesFrom result:body ], - result:body . - -result:large a owl:Class ; - rdfs:label "large" ; - rdfs:subClassOf base:Entity . + owl:onProperty result:isMoreSmallThan ; + owl:someValuesFrom result:planet-include-most-large-dwarf-planet ], + result:more-small-body ; + base:fromStructure "WikiAbstract-SolarSystem-17" . result:many a owl:Class ; rdfs:label "many" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-17" . result:moon a owl:Class ; rdfs:label "moon" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-17" . -result:more a owl:ObjectProperty ; +result:more a owl:Individual, + base:Degree ; rdfs:label "more" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + base:fromStructure "WikiAbstract-SolarSystem-17" . -result:most a owl:ObjectProperty ; +result:most a owl:Individual, + base:Degree ; rdfs:label "most" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + base:fromStructure "WikiAbstract-SolarSystem-17" . result:natural a owl:ObjectProperty ; rdfs:label "natural" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-17" . -result:planet-include-dwarf-planet a owl:Class ; +result:satellite-orbit-body-include-more-small-body a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:include ; - owl:someValuesFrom result:dwarf-planet ], - result:planet . + owl:onProperty result:orbit ; + owl:someValuesFrom result:body-include-more-small-body ], + result:satellite-orbit-body ; + base:fromStructure "WikiAbstract-SolarSystem-17" . + +result:satellite-orbit-planet-include-most-large-dwarf-planet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:orbit ; + owl:someValuesFrom result:planet-include-most-large-dwarf-planet ], + result:satellite-orbit-planet ; + base:fromStructure "WikiAbstract-SolarSystem-17" . + +result:term a owl:ObjectProperty ; + rdfs:label "term" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-17" . + +result:usual a owl:Class ; + rdfs:label "usual" ; + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-17" . + +result:dwarf-planet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:dwarf ; + owl:onProperty result:hasFeature ], + result:planet ; + base:fromStructure "WikiAbstract-SolarSystem-17" . result:satellite-orbit-body a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty result:orbit ; owl:someValuesFrom result:body ], - result:satellite . + [ a owl:Restriction ; + owl:onProperty result:orbit ; + owl:someValuesFrom result:body ], + result:satellite ; + base:fromStructure "WikiAbstract-SolarSystem-17" . result:satellite-orbit-planet a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty result:orbit ; owl:someValuesFrom result:planet ], - result:satellite . + [ a owl:Restriction ; + owl:onProperty result:orbit ; + owl:someValuesFrom result:planet ], + result:satellite ; + base:fromStructure "WikiAbstract-SolarSystem-17" . -result:small a owl:Class ; - rdfs:label "small" ; - rdfs:subClassOf base:Entity . +result:body-include-more-small-body a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:include ; + owl:someValuesFrom result:more-small-body ], + result:body ; + base:fromStructure "WikiAbstract-SolarSystem-17" . -result:term a owl:ObjectProperty ; - rdfs:label "term" ; - rdfs:subPropertyOf base:Out_ObjectProperty . +result:dwarf a owl:Individual, + base:Feature ; + rdfs:label "dwarf" ; + base:fromStructure "WikiAbstract-SolarSystem-17" . -result:usual a owl:Class ; - rdfs:label "usual" ; - rdfs:subClassOf base:Undetermined_Thing . +result:most-large a owl:Individual, + base:Feature ; + rdfs:label "most-large" ; + base:fromStructure "WikiAbstract-SolarSystem-17" . -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-17> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-17#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-17" ; - ns1:hasSentence "Six of the planets, the six largest possible dwarf planets, and many of the smaller bodies are orbited by natural satellites, usually termed \"moons\" after the Moon." . +result:most-large-dwarf-planet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:most-large ; + owl:onProperty result:hasFeature ], + result:dwarf-planet ; + base:fromStructure "WikiAbstract-SolarSystem-17" . -result:dwarf a owl:Class, - owl:Individual, - result:dwarf ; - rdfs:label "dwarf" ; - rdfs:subClassOf base:Undetermined_Thing . +result:satellite a owl:Class ; + rdfs:label "satellite" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-17" . -result:dwarf-planet a owl:Class ; - rdfs:subClassOf result:planet . +result:more-small-body a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:more-small ; + owl:onProperty result:hasFeature ], + [ a owl:Restriction ; + owl:onProperty result:isMoreSmallThan ; + owl:someValuesFrom result:planet ], + [ a owl:Restriction ; + owl:onProperty result:isMoreSmallThan ; + owl:someValuesFrom result:planet ], + [ a owl:Restriction ; + owl:hasValue result:more-small ; + owl:onProperty result:hasFeature ], + result:body ; + base:fromStructure "WikiAbstract-SolarSystem-17" . result:include a owl:ObjectProperty ; rdfs:label "include" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-17" . -result:orbit a owl:ObjectProperty ; - rdfs:label "orbit" ; - rdfs:subPropertyOf base:Out_ObjectProperty . +result:more-small a owl:Individual, + base:Feature ; + rdfs:label "more-small" ; + base:fromStructure "WikiAbstract-SolarSystem-17" . -result:satellite a owl:Class ; - rdfs:label "satellite" ; - rdfs:subClassOf base:Entity . +result:planet-include-most-large-dwarf-planet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:include ; + owl:someValuesFrom result:most-large-dwarf-planet ], + result:planet ; + base:fromStructure "WikiAbstract-SolarSystem-17" . result:body a owl:Class ; rdfs:label "body" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-17" . + +result:isMoreSmallThan rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-17" . + +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . result:planet a owl:Class ; rdfs:label "planet" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-17" . + +result:orbit a owl:ObjectProperty ; + rdfs:label "orbit" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-17" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_18.ttl b/data/reference_ontology/SolarSystemProd_factoid_18.ttl index 6e3dcc5..880684b 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_18.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_18.ttl @@ -1,85 +1,91 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . result:dust a owl:Class ; rdfs:label "dust" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-18" . -result:other-object a owl:Class ; - rdfs:subClassOf result:object . - -result:planet-ring-encircle-each-planet a owl:Class ; +result:planet-ring-encircle-outer-each-planet a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty result:encircle ; - owl:someValuesFrom result:each-planet ], - result:planet-ring . + owl:someValuesFrom result:outer-each-planet ], + result:planet-ring ; + base:fromStructure "WikiAbstract-SolarSystem-18" . -result:planet-ring-encircle-outer-planet a owl:Class ; +result:small-other-object a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:encircle ; - owl:someValuesFrom result:outer-planet ], - result:planet-ring . + owl:hasValue result:other ; + owl:onProperty result:hasFeature ], + [ a owl:Restriction ; + owl:hasValue result:small ; + owl:onProperty result:hasFeature ], + result:object ; + base:fromStructure "WikiAbstract-SolarSystem-18" . -result:small-object a owl:Class ; - rdfs:subClassOf result:object . +result:object a owl:Class ; + rdfs:label "object" ; + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-18" . -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-18> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-18#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-18" ; - ns1:hasSentence "Each of the outer planets is encircled by planetary rings of dust and other small objects." . +result:planet-ring a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:planet ; + owl:onProperty result:hasFeature ], + result:ring ; + base:fromStructure "WikiAbstract-SolarSystem-18" . -result:each a owl:Class, - owl:Individual, - result:each ; +result:ring a owl:Class ; + rdfs:label "ring" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-18" . + +result:each a owl:Individual, + base:Feature ; rdfs:label "each" ; - rdfs:subClassOf base:Undetermined_Thing . + base:fromStructure "WikiAbstract-SolarSystem-18" . -result:each-planet a owl:Class ; - rdfs:subClassOf result:planet . +result:encircle a owl:ObjectProperty ; + rdfs:label "encircle" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-18" . -result:other a owl:Class, - owl:Individual, - result:other ; +result:other a owl:Individual, + base:Feature ; rdfs:label "other" ; - rdfs:subClassOf base:Undetermined_Thing . + base:fromStructure "WikiAbstract-SolarSystem-18" . -result:outer a owl:Class, - owl:Individual, - result:outer ; +result:outer a owl:Individual, + base:Feature ; rdfs:label "outer" ; - rdfs:subClassOf base:Undetermined_Thing . - -result:outer-planet a owl:Class ; - rdfs:subClassOf result:planet . + base:fromStructure "WikiAbstract-SolarSystem-18" . -result:ring a owl:Class ; - rdfs:label "ring" ; - rdfs:subClassOf base:Entity . +result:outer-each-planet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:each ; + owl:onProperty result:hasFeature ], + [ a owl:Restriction ; + owl:hasValue result:outer ; + owl:onProperty result:hasFeature ], + result:planet ; + base:fromStructure "WikiAbstract-SolarSystem-18" . -result:small a owl:Class, - owl:Individual, - result:small ; +result:small a owl:Individual, + base:Feature ; rdfs:label "small" ; - rdfs:subClassOf base:Undetermined_Thing . - -result:encircle a owl:ObjectProperty ; - rdfs:label "encircle" ; - rdfs:subPropertyOf base:Out_ObjectProperty . - -result:object a owl:Class ; - rdfs:label "object" ; - rdfs:subClassOf base:Undetermined_Thing . - -result:planet-ring a owl:Class ; - rdfs:subClassOf result:ring . + base:fromStructure "WikiAbstract-SolarSystem-18" . result:planet a owl:Class, owl:Individual, - result:planet ; + base:Feature ; rdfs:label "planet" ; - rdfs:subClassOf base:Entity, - base:Undetermined_Thing . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-18" . + +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_19.ttl b/data/reference_ontology/SolarSystemProd_factoid_19.ttl index c7581b1..81d24d9 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_19.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_19.ttl @@ -1,94 +1,130 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . result:charge a owl:ObjectProperty ; rdfs:label "charge" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-19" . result:interstellar a owl:Class ; rdfs:label "interstellar" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-19" . result:mean a owl:ObjectProperty ; rdfs:label "mean" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-19" . result:medium a owl:ObjectProperty ; rdfs:label "medium" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-19" . result:outwards a owl:Class ; rdfs:label "outwards" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-19" . result:particle a owl:Class ; rdfs:label "particle" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-19" . -result:region-know-heliosphere a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:know ; - owl:someValuesFrom result:heliosphere ], - result:region . +result:stream a owl:ObjectProperty ; + rdfs:label "stream" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-19" . -result:region-resemble-bubble a owl:Class ; +result:sun-wind-create-region-know-heliosphere a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:resemble ; - owl:someValuesFrom result:bubble ], - result:region . - -result:stream a owl:Class ; - rdfs:label "stream" ; - rdfs:subClassOf base:Entity . + owl:onProperty result:create ; + owl:someValuesFrom result:region-know-heliosphere ], + result:sun-wind-create-region ; + base:fromStructure "WikiAbstract-SolarSystem-19" . -result:sun-wind-create-region a owl:Class ; +result:sun-wind-create-region-resemble-bubble a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty result:create ; - owl:someValuesFrom result:region ], - result:sun-wind . + owl:someValuesFrom result:region-resemble-bubble ], + result:sun-wind-create-region ; + base:fromStructure "WikiAbstract-SolarSystem-19" . -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-19> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-19#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-19" ; - ns1:hasSentence "The solar wind, a stream of charged particles flowing outwards from the Sun, creates a bubble-like region in the interstellar medium known as the heliosphere." . +result:sun-wind a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:sun ; + owl:onProperty result:hasFeature ], + result:wind ; + base:fromStructure "WikiAbstract-SolarSystem-19" . + +result:wind a owl:Class ; + rdfs:label "wind" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-19" . result:bubble a owl:Class ; rdfs:label "bubble" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-19" . -result:create a owl:ObjectProperty ; - rdfs:label "create" ; - rdfs:subPropertyOf base:Out_ObjectProperty . +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . result:heliosphere a owl:Class ; rdfs:label "heliosphere" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-19" . result:know a owl:ObjectProperty ; rdfs:label "know" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-19" . + +result:region-know-heliosphere a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:know ; + owl:someValuesFrom result:heliosphere ], + result:region ; + base:fromStructure "WikiAbstract-SolarSystem-19" . + +result:region-resemble-bubble a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:resemble ; + owl:someValuesFrom result:bubble ], + result:region ; + base:fromStructure "WikiAbstract-SolarSystem-19" . result:resemble a owl:ObjectProperty ; rdfs:label "resemble" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-19" . -result:sun a owl:Class, - owl:Individual, - result:sun ; +result:sun a owl:Individual, + base:Feature ; rdfs:label "sun" ; - rdfs:subClassOf base:Undetermined_Thing . + base:fromStructure "WikiAbstract-SolarSystem-19" . -result:sun-wind a owl:Class ; - rdfs:subClassOf result:wind . - -result:wind a owl:Class ; - rdfs:label "wind" ; - rdfs:subClassOf base:Entity . +result:sun-wind-create-region a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:create ; + owl:someValuesFrom result:region ], + [ a owl:Restriction ; + owl:onProperty result:create ; + owl:someValuesFrom result:region ], + result:sun-wind ; + base:fromStructure "WikiAbstract-SolarSystem-19" . result:region a owl:Class ; rdfs:label "region" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-19" . + +result:create a owl:ObjectProperty ; + rdfs:label "create" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-19" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_2.ttl b/data/reference_ontology/SolarSystemProd_factoid_2.ttl index 33d5765..04d8bdf 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_2.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_2.ttl @@ -1,111 +1,163 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . - result:SolarSystem a owl:Individual, - result:system ; - rdfs:label "SolarSystem" . - -result:direct a owl:ObjectProperty ; + base:Entity, + result:system, + result:system-hasPart-small-body ; + rdfs:label "SolarSystem" ; + base:fromStructure "WikiAbstract-SolarSystem-02" ; + result:hasPart result:body-WikiAbstract-SolarSystem-02 . + +result:direct a owl:Individual, + base:Feature ; rdfs:label "direct" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + base:fromStructure "WikiAbstract-SolarSystem-02" . result:dwarf-planet a owl:Class ; - rdfs:subClassOf result:planet , - result:small . - -result:hasPart a owl:ObjectProperty ; - rdfs:label "hasPart" ; - rdfs:subPropertyOf base:Out_ObjectProperty . - -result:large a owl:Class ; - rdfs:label "large" ; - rdfs:subClassOf base:Entity . - -result:more a owl:ObjectProperty ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:dwarf ; + owl:onProperty result:hasFeature ], + [ a owl:Restriction ; + owl:hasValue result:not-most-large ; + owl:onProperty result:hasFeature ], + result:object-direct-orbit-sun, + result:planet ; + base:fromStructure "WikiAbstract-SolarSystem-02" . + +result:more a owl:Individual, + base:Degree ; rdfs:label "more" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + base:fromStructure "WikiAbstract-SolarSystem-02" . -result:most a owl:ObjectProperty ; +result:more-small-object a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:not-most-large ; + owl:onProperty result:hasFeature ], + [ a owl:Restriction ; + owl:hasValue result:more-small ; + owl:onProperty result:hasFeature ], + result:object, + result:object-direct-orbit-sun ; + base:fromStructure "WikiAbstract-SolarSystem-02" . + +result:most a owl:Individual, + base:Degree ; rdfs:label "most" ; - rdfs:subPropertyOf base:Out_ObjectProperty . - -result:object a owl:Class ; - rdfs:label "object" ; - rdfs:subClassOf base:Entity . + base:fromStructure "WikiAbstract-SolarSystem-02" . -result:object-orbit-sun a owl:Class ; +result:most-large-planet a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:orbit ; - owl:someValuesFrom result:sun ], - result:object . + owl:hasValue result:most-large ; + owl:onProperty result:hasFeature ], + result:object-direct-orbit-sun, + result:planet ; + base:hasQuantity "8" ; + base:fromStructure "WikiAbstract-SolarSystem-02" . -result:object-orbit-hasManner-direct-sun a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:orbit-hasManner-direct ; - owl:someValuesFrom result:sun ], - result:object-orbit-sun . +result:body a owl:Class ; + rdfs:label "body" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-02" . + +result:body-WikiAbstract-SolarSystem-02 a owl:Individual, + base:Entity, + result:small-body ; + rdfs:label "body (WikiAbstract-SolarSystem-02)" ; + base:fromStructure "WikiAbstract-SolarSystem-02" ; + result:hasFeature result:not-most-large, + result:small . result:orbit a owl:ObjectProperty ; rdfs:label "orbit" ; - rdfs:subPropertyOf base:Out_ObjectProperty . - -result:orbit-hasManner-direct a owl:ObjectProperty ; - rdfs:subPropertyOf result:orbit . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-02" . -result:remain a owl:ObjectProperty ; - rdfs:label "remain" ; - rdfs:subPropertyOf base:Out_ObjectProperty . +result:system-hasPart-small-body a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:hasPart ; + owl:someValuesFrom result:small-body ], + result:system ; + base:fromStructure "WikiAbstract-SolarSystem-02" . -result:small-body a owl:Class ; - rdfs:subClassOf result:body , - result:small . +result:dwarf a owl:Individual, + base:Feature ; + rdfs:label "dwarf" ; + base:fromStructure "WikiAbstract-SolarSystem-02" . -result:sun a owl:Class ; - rdfs:label "sun" ; - rdfs:subClassOf base:Entity . +result:hasPart a owl:ObjectProperty ; + rdfs:label "hasPart" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-02" . -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-02> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-02#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-02" ; - ns1:hasSentence "Of the objects that orbit the Sun directly, the largest are the eight planets, with the remainder being smaller objects, the dwarf planets and small Solar System bodies." . +result:more-small a owl:Individual, + base:Feature ; + rdfs:label "more-small" ; + base:fromStructure "WikiAbstract-SolarSystem-02" . -result:body a owl:Class ; - rdfs:label "body" ; - rdfs:subClassOf base:Entity . +result:most-large a owl:Individual, + base:Feature ; + rdfs:label "most-large" ; + base:fromStructure "WikiAbstract-SolarSystem-02" . -result:dwarf a owl:Class ; - rdfs:label "dwarf" ; - rdfs:subClassOf base:Entity . +result:object a owl:Class ; + rdfs:label "object" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-02" . result:planet a owl:Class ; rdfs:label "planet" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-02" . -result:large-planet a owl:Class ; - rdfs:label "large-planet" ; - rdfs:subClassOf result:planet , - result:large. +result:system a owl:Class ; + rdfs:label "system" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-02" . -result:most-large-Planet a owl:Class ; - rdfs:label "most-large-Planet" ; - rdfs:subClassOf result:large-planet , - result:object-orbit-hasManner-direct-sun . - -result:hasCount a owl:DatatypeProperty ; - rdfs:label "hasCount" ; - rdfs:range xsd:integer . +result:small a owl:Individual, + base:Feature ; + rdfs:label "small" ; + base:fromStructure "WikiAbstract-SolarSystem-02" . -# Instance -result:SetOf-8-most-large-Planet a result:most-large-Planet ; - result:hasCount 8 ; - rdfs:label "SetOf-8-most-large-Planet" . +result:small-body a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:not-most-large ; + owl:onProperty result:hasFeature ], + [ a owl:Restriction ; + owl:hasValue result:small ; + owl:onProperty result:hasFeature ], + result:body, + result:object-direct-orbit-sun ; + base:fromStructure "WikiAbstract-SolarSystem-02" . + +result:direct-orbit rdfs:subPropertyOf result:orbit ; + base:fromStructure "WikiAbstract-SolarSystem-02" . + +result:object-direct-orbit-sun a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:direct-orbit ; + owl:someValuesFrom result:sun ], + [ a owl:Restriction ; + owl:onProperty result:direct-orbit ; + owl:someValuesFrom result:sun ], + result:object ; + base:fromStructure "WikiAbstract-SolarSystem-02" . -result:small a owl:Class ; - rdfs:label "small" ; - rdfs:subClassOf base:Entity . +result:sun a owl:Class ; + rdfs:label "sun" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-02" . + +result:not-most-large a owl:Individual, + base:Feature ; + rdfs:label "not-most-large" ; + base:fromStructure "WikiAbstract-SolarSystem-02" . + +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_20.ttl b/data/reference_ontology/SolarSystemProd_factoid_20.ttl index 399d282..579f941 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_20.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_20.ttl @@ -1,5 +1,4 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . @@ -8,92 +7,93 @@ result:disc-hasPart-edge a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty result:hasPart ; owl:someValuesFrom result:edge ], - result:disc . + result:disc ; + base:fromStructure "WikiAbstract-SolarSystem-20" . + +result:equal a owl:ObjectProperty ; + rdfs:label "equal" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-20" . result:extend a owl:ObjectProperty ; rdfs:label "extend" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-20" . result:heliopause a owl:Class ; rdfs:label "heliopause" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-20" . + +result:interstellar a owl:Class ; + rdfs:label "interstellar" ; + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-20" . -result:interstellar-medium a owl:Class ; - rdfs:subClassOf result:medium . +result:medium a owl:ObjectProperty ; + rdfs:label "medium" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-20" . result:oppose a owl:ObjectProperty ; rdfs:label "oppose" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-20" . result:out a owl:Class ; rdfs:label "out" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-20" . -result:pressure-equal-point a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:equal ; - owl:someValuesFrom result:point ], - result:pressure . +result:point a owl:Class ; + rdfs:label "point" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-20" . -result:pressure-equal-pressure a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:equal ; - owl:someValuesFrom result:pressure ], - result:pressure . +result:pressure a owl:ObjectProperty ; + rdfs:label "pressure" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-20" . result:scatter a owl:ObjectProperty ; rdfs:label "scatter" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-20" . result:sun-wind a owl:Class ; - rdfs:subClassOf result:wind . - -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-20> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-20#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-20" ; - ns1:hasSentence "The heliopause is the point at which pressure from the solar wind is equal to the opposing pressure of the interstellar medium; it extends out to the edge of the scattered disc." . + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:sun ; + owl:onProperty result:hasFeature ], + result:wind ; + base:fromStructure "WikiAbstract-SolarSystem-20" . result:disc a owl:Class ; rdfs:label "disc" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-20" . + +result:wind a owl:Class ; + rdfs:label "wind" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-20" . result:edge a owl:Class ; rdfs:label "edge" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-20" . + +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . result:hasPart a owl:ObjectProperty ; rdfs:label "hasPart" ; - rdfs:subPropertyOf base:Out_ObjectProperty . - -result:interstellar a owl:Class, - owl:Individual, - result:interstellar ; - rdfs:label "interstellar" ; - rdfs:subClassOf base:Undetermined_Thing . - -result:medium a owl:Class ; - rdfs:label "medium" ; - rdfs:subClassOf base:Entity . - -result:point a owl:Class ; - rdfs:label "point" ; - rdfs:subClassOf base:Entity . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-20" . -result:sun a owl:Class, - owl:Individual, - result:sun ; +result:sun a owl:Individual, + base:Feature ; rdfs:label "sun" ; - rdfs:subClassOf base:Undetermined_Thing . - -result:wind a owl:Class ; - rdfs:label "wind" ; - rdfs:subClassOf base:Entity . - -result:equal a owl:ObjectProperty ; - rdfs:label "equal" ; - rdfs:subPropertyOf base:Out_ObjectProperty . - -result:pressure a owl:Class ; - rdfs:label "pressure" ; - rdfs:subClassOf base:Entity . + base:fromStructure "WikiAbstract-SolarSystem-20" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_21.ttl b/data/reference_ontology/SolarSystemProd_factoid_21.ttl index e5c82c7..fbde169 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_21.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_21.ttl @@ -1,64 +1,102 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . result:Oortcloud a owl:Individual, - result:cloud ; - rdfs:label "Oortcloud" . + base:Entity, + result:cloud, + result:cloud-think-source-period-comet ; + rdfs:label "Oortcloud" ; + base:fromStructure "WikiAbstract-SolarSystem-21" ; + result:think-source result:comet-WikiAbstract-SolarSystem-21 . result:also a owl:Class ; rdfs:label "also" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-21" . result:distant a owl:ObjectProperty ; rdfs:label "distant" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-21" . result:exist a owl:ObjectProperty ; rdfs:label "exist" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-21" . result:heliosphere a owl:Class ; rdfs:label "heliosphere" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-21" . result:long a owl:ObjectProperty ; rdfs:label "long" ; - rdfs:subPropertyOf base:Out_ObjectProperty . - -result:period-comet a owl:Class ; - rdfs:subClassOf result:comet . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-21" . result:roughly a owl:Class ; rdfs:label "roughly" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-21" . -result:source a owl:Class ; - rdfs:label "source" ; - rdfs:subClassOf base:Entity . - -result:think a owl:ObjectProperty ; +result:think a owl:Individual, + base:Feature ; rdfs:label "think" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + base:fromStructure "WikiAbstract-SolarSystem-21" . result:times a owl:Class ; rdfs:label "times" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-21" . -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-21> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-21#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-21" ; - ns1:hasSentence "The Oort cloud, which is thought to be the source for long-period comets, may also exist at a distance roughly a thousand times further than the heliosphere." . +result:cloud-think-source-period-comet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:think-source ; + owl:someValuesFrom result:period-comet ], + result:cloud ; + base:fromStructure "WikiAbstract-SolarSystem-21" . result:comet a owl:Class ; rdfs:label "comet" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-21" . + +result:comet-WikiAbstract-SolarSystem-21 a owl:Individual, + base:Entity, + result:period-comet ; + rdfs:label "comet (WikiAbstract-SolarSystem-21)" ; + base:fromStructure "WikiAbstract-SolarSystem-21" ; + result:hasFeature result:period . -result:period a owl:Class, - owl:Individual, - result:period ; +result:source a owl:ObjectProperty ; + rdfs:label "source" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-21" . + +result:cloud a owl:Class ; + rdfs:label "cloud" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-21" . + +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . + +result:think-source rdfs:subPropertyOf result:source ; + base:fromStructure "WikiAbstract-SolarSystem-21" . + +result:period a owl:Individual, + base:Feature ; rdfs:label "period" ; - rdfs:subClassOf base:Entity . + base:fromStructure "WikiAbstract-SolarSystem-21" . + +result:period-comet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:period ; + owl:onProperty result:hasFeature ], + result:comet ; + base:fromStructure "WikiAbstract-SolarSystem-21" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_22.ttl b/data/reference_ontology/SolarSystemProd_factoid_22.ttl index cfcf21d..4c1b305 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_22.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_22.ttl @@ -1,85 +1,178 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . result:MilkyWay a owl:Individual, - result:galaxy ; - rdfs:label "MilkyWay" . + base:Entity, + result:galaxy, + result:galaxy-hasPart-center ; + rdfs:label "MilkyWay" ; + base:fromStructure "WikiAbstract-SolarSystem-22" ; + result:hasPart result:center-WikiAbstract-SolarSystem-22 . result:Orion a owl:Individual, - result:arm ; - rdfs:label "Orion" . + base:Entity, + result:arm, + result:arm-contain-star, + result:arm-contain-star-include-star ; + rdfs:label "Orion" ; + base:fromStructure "WikiAbstract-SolarSystem-22" ; + result:contain result:star-WikiAbstract-SolarSystem-22 . result:SolarSystem a owl:Individual, - result:system ; - rdfs:label "SolarSystem" . - -result:be a owl:ObjectProperty ; - rdfs:label "be" ; - rdfs:subPropertyOf base:Out_ObjectProperty . - -result:center a owl:Class ; - rdfs:label "center" ; - rdfs:subClassOf base:Entity . - -result:contain a owl:ObjectProperty ; - rdfs:label "contain" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + base:Entity, + result:system, + result:system-be-relative-position ; + rdfs:label "SolarSystem" ; + base:fromStructure "WikiAbstract-SolarSystem-22" ; + result:be result:relative-position-WikiAbstract-SolarSystem-22 . result:date a owl:ObjectProperty ; rdfs:label "date" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-22" . result:distance-quantity a owl:Class ; rdfs:label "distance-quantity" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-22" . -result:hasPart a owl:ObjectProperty ; - rdfs:label "hasPart" ; - rdfs:subPropertyOf base:Out_ObjectProperty . +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . result:light-year a owl:Class ; rdfs:label "light-year" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-22" . result:most a owl:ObjectProperty ; rdfs:label "most" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-22" . result:night a owl:Class ; rdfs:label "night" ; - rdfs:subClassOf base:Undetermined_Thing . - -result:relative-position a owl:Class ; - rdfs:label "relative-position" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-22" . result:see a owl:ObjectProperty ; rdfs:label "see" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-22" . result:sky a owl:Class ; rdfs:label "sky" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-22" . -result:star-include-star a owl:Class ; +result:arm-contain-star-include-star a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:include ; + owl:onProperty result:contain ; + owl:someValuesFrom result:star-include-star ], + result:arm-contain-star ; + base:fromStructure "WikiAbstract-SolarSystem-22" . + +result:center-WikiAbstract-SolarSystem-22 a owl:Individual, + base:Entity, + result:center ; + rdfs:label "center (WikiAbstract-SolarSystem-22)" ; + base:fromStructure "WikiAbstract-SolarSystem-22" . + +result:galaxy-hasPart-center a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:hasPart ; + owl:someValuesFrom result:center ], + result:galaxy ; + base:fromStructure "WikiAbstract-SolarSystem-22" . + +result:relative-position-WikiAbstract-SolarSystem-22 a owl:Individual, + base:Entity, + result:relative-position ; + rdfs:label "relative-position (WikiAbstract-SolarSystem-22)" ; + base:fromStructure "WikiAbstract-SolarSystem-22" . + +result:system-be-relative-position a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:be ; + owl:someValuesFrom result:relative-position ], + result:system ; + base:fromStructure "WikiAbstract-SolarSystem-22" . + +result:arm a owl:Class ; + rdfs:label "arm" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-22" . + +result:arm-contain-star a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:contain ; + owl:someValuesFrom result:star ], + [ a owl:Restriction ; + owl:onProperty result:contain ; owl:someValuesFrom result:star ], - result:star . + result:arm ; + base:fromStructure "WikiAbstract-SolarSystem-22" . -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-22> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-22#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-22" ; - ns1:hasSentence "The Solar System is located 26,000 light-years from the center of the Milky Way galaxy in the Orion Arm, which contains most of the visible stars in the night sky." . +result:be a owl:ObjectProperty ; + rdfs:label "be" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-22" . + +result:galaxy a owl:Class ; + rdfs:label "galaxy" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-22" . + +result:hasPart a owl:ObjectProperty ; + rdfs:label "hasPart" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-22" . result:include a owl:ObjectProperty ; rdfs:label "include" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-22" . + +result:star-WikiAbstract-SolarSystem-22 a owl:Individual, + base:Entity, + result:star, + result:star-include-star ; + rdfs:label "star (WikiAbstract-SolarSystem-22)" ; + base:fromStructure "WikiAbstract-SolarSystem-22" ; + result:include result:star-WikiAbstract-SolarSystem-22 . + +result:system a owl:Class ; + rdfs:label "system" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-22" . + +result:center a owl:Class ; + rdfs:label "center" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-22" . + +result:relative-position a owl:Class ; + rdfs:label "relative-position" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-22" . + +result:star-include-star a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:include ; + owl:someValuesFrom result:star ], + result:star ; + base:fromStructure "WikiAbstract-SolarSystem-22" . + +result:contain a owl:ObjectProperty ; + rdfs:label "contain" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-22" . result:star a owl:Class ; rdfs:label "star" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-22" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_23.ttl b/data/reference_ontology/SolarSystemProd_factoid_23.ttl index 6e62f49..86a9b84 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_23.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_23.ttl @@ -1,60 +1,97 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . result:ProximaCentre a owl:Individual, - result:star ; - rdfs:label "ProximaCentre" . - -result:close a owl:ObjectProperty ; - rdfs:label "close" ; - rdfs:subPropertyOf base:Out_ObjectProperty . - -result:include a owl:ObjectProperty ; - rdfs:label "include" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + base:Entity, + result:star, + result:star-close-star, + result:star-include-star ; + rdfs:label "ProximaCentre" ; + base:fromStructure "WikiAbstract-SolarSystem-23" ; + result:close result:star-WikiAbstract-SolarSystem-23 ; + result:include result:star-WikiAbstract-SolarSystem-23 . result:light-year a owl:Class ; rdfs:label "light-year" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-23" . result:local a owl:ObjectProperty ; rdfs:label "local" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-23" . result:most a owl:ObjectProperty ; rdfs:label "most" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-23" . result:near a owl:ObjectProperty ; rdfs:label "near" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-23" . result:ordinal-entity a owl:Class ; rdfs:label "ordinal-entity" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-23" . result:so-called-bubble a owl:Class ; - rdfs:subClassOf result:bubble . - -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-23> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-23#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-23" ; - ns1:hasSentence "The nearest stars are within the so-called Local Bubble, with the closest, Proxima Centauri, at 4.25 light-years.." . + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:so-called ; + owl:onProperty result:hasFeature ], + result:bubble ; + base:fromStructure "WikiAbstract-SolarSystem-23" . result:bubble a owl:Class ; rdfs:label "bubble" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-23" . -result:so-called a owl:Class, - owl:Individual, - result:so-called ; +result:star-close-star a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:close ; + owl:someValuesFrom result:star ], + result:star ; + base:fromStructure "WikiAbstract-SolarSystem-23" . + +result:star-include-star a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:include ; + owl:someValuesFrom result:star ], + result:star ; + base:fromStructure "WikiAbstract-SolarSystem-23" . + +result:close a owl:ObjectProperty ; + rdfs:label "close" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-23" . + +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . + +result:include a owl:ObjectProperty ; + rdfs:label "include" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-23" . + +result:so-called a owl:Individual, + base:Feature ; rdfs:label "so-called" ; - rdfs:subClassOf base:Undetermined_Thing . + base:fromStructure "WikiAbstract-SolarSystem-23" . + +result:star-WikiAbstract-SolarSystem-23 a owl:Individual, + base:Entity, + result:star ; + rdfs:label "star (WikiAbstract-SolarSystem-23)" ; + base:fromStructure "WikiAbstract-SolarSystem-23" . result:star a owl:Class ; rdfs:label "star" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-23" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_3.ttl b/data/reference_ontology/SolarSystemProd_factoid_3.ttl index c487712..74f04ac 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_3.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_3.ttl @@ -1,88 +1,304 @@ -@prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix xml: <http://www.w3.org/XML/1998/namespace> . +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . +@prefix base: <https://reference.tetras-libre.fr/base-ontology#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . +@base <http://www.w3.org/2002/07/owl#> . + +[ rdf:type owl:Ontology + ] . + +################################################################# +# Annotation properties +################################################################# + +### https://reference.tetras-libre.fr/base-ontology#fromStructure +base:fromStructure rdf:type owl:AnnotationProperty . + + +### https://reference.tetras-libre.fr/base-ontology#hasQuantity +base:hasQuantity rdf:type owl:AnnotationProperty . + + +################################################################# +# Object Properties +################################################################# + +### https://reference.tetras-libre.fr/base-ontology#Out_ObjectProperty +base:Out_ObjectProperty rdf:type owl:ObjectProperty . + + +### https://reference.tetras-libre.fr/expected-result#equal +result:equal rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + rdfs:label "equal" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . + + +### https://reference.tetras-libre.fr/expected-result#hasFeature +result:hasFeature rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + rdfs:label "hasFeature" ; + base:fromStructure "predefinedProperty" . + + +### https://reference.tetras-libre.fr/expected-result#include +result:include rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + rdfs:label "include" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . + + +### https://reference.tetras-libre.fr/expected-result#isMoreLargeThan +result:isMoreLargeThan rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-03" . + + +### https://reference.tetras-libre.fr/expected-result#mean +result:mean rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + rdfs:label "mean" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . + + +### https://reference.tetras-libre.fr/expected-result#more +result:more rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf base:Out_ObjectProperty . + + +### https://reference.tetras-libre.fr/expected-result#natural +result:natural rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + rdfs:label "natural" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . + + +### https://reference.tetras-libre.fr/expected-result#not-direct-orbit +result:not-direct-orbit rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf result:orbit ; + base:fromStructure "WikiAbstract-SolarSystem-03" . + + +### https://reference.tetras-libre.fr/expected-result#orbit +result:orbit rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + rdfs:label "orbit" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . + + +################################################################# +# Classes +################################################################# + +### http://www.co-ode.org/ontologies/ont.owl#object-isAlmostSizeEqualThan-most-small-planet +result:object-isSizeAlmostEqualThan-most-small-planet rdf:type owl:Class ; + rdfs:subClassOf result:more-large-object , + [ rdf:type owl:Restriction ; + owl:onProperty result:isSizeAlmostEqualLargeThan ; + owl:someValuesFrom result:most-small-planet + ] ; + rdfs:subClassOf result:object-not-direct-orbit-sun ; + base:hasQuantity "1" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . + + +### http://www.w3.org/2002/07/owl#Individual +owl:Individual rdf:type owl:Class . + + +### https://reference.tetras-libre.fr/base-ontology#Degree +base:Degree rdf:type owl:Class . + + +### https://reference.tetras-libre.fr/base-ontology#Entity +base:Entity rdf:type owl:Class . + + +### https://reference.tetras-libre.fr/base-ontology#Feature +base:Feature rdf:type owl:Class . + + +### https://reference.tetras-libre.fr/expected-result#almost +result:almost rdf:type owl:Class ; + rdfs:subClassOf base:Degree ; + rdfs:label "almost" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . + + +### https://reference.tetras-libre.fr/expected-result#more-large-object +result:more-large-object rdf:type owl:Class ; + rdfs:subClassOf result:object-not-direct-orbit-sun , + [ rdf:type owl:Restriction ; + owl:onProperty result:isMoreLargeThan ; + owl:someValuesFrom result:planet + ] , + [ rdf:type owl:Restriction ; + owl:onProperty result:hasFeature ; + owl:hasValue result:more-large + ] ; + base:fromStructure "WikiAbstract-SolarSystem-03" . + + +### https://reference.tetras-libre.fr/expected-result#most-small-planet +result:most-small-planet rdf:type owl:Class ; + rdfs:subClassOf result:planet , + [ rdf:type owl:Restriction ; + owl:onProperty result:hasFeature ; + owl:hasValue result:most-small + ] ; + base:fromStructure "WikiAbstract-SolarSystem-03" . + + +### https://reference.tetras-libre.fr/expected-result#natural-satellite +result:natural-satellite rdf:type owl:Class ; + owl:equivalentClass result:object-not-direct-orbit-sun ; + rdfs:subClassOf result:object , + result:satellite ; + base:fromStructure "WikiAbstract-SolarSystem-03" . + + +### https://reference.tetras-libre.fr/expected-result#object +result:object rdf:type owl:Class ; + rdfs:subClassOf base:Entity ; + rdfs:label "object" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . + + +### https://reference.tetras-libre.fr/expected-result#object-isMoreLargeThan-most-small-planet +result:object-isMoreLargeThan-most-small-planet rdf:type owl:Class ; + rdfs:subClassOf result:more-large-object , + [ rdf:type owl:Restriction ; + owl:onProperty result:isMoreLargeThan ; + owl:someValuesFrom result:most-small-planet + ] ; + base:fromStructure "WikiAbstract-SolarSystem-03" ; + base:hasQuantity "2" . + + +### https://reference.tetras-libre.fr/expected-result#object-not-direct-orbit-sun +result:object-not-direct-orbit-sun rdf:type owl:Class ; + rdfs:subClassOf result:object , + [ rdf:type owl:Restriction ; + owl:onProperty result:not-direct-orbit ; + owl:someValuesFrom result:sun + ] ; + base:fromStructure "WikiAbstract-SolarSystem-03" . + + +### https://reference.tetras-libre.fr/expected-result#planet +result:planet rdf:type owl:Class ; + rdfs:subClassOf base:Entity ; + rdfs:label "planet" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . + + +### https://reference.tetras-libre.fr/expected-result#satellite +result:satellite rdf:type owl:Class ; + rdfs:subClassOf base:Entity ; + rdfs:label "satellite" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . + + +### https://reference.tetras-libre.fr/expected-result#size +result:size rdf:type owl:Class ; + rdfs:subClassOf base:Feature ; + rdfs:label "size" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . + + +### https://reference.tetras-libre.fr/expected-result#sun +result:sun rdf:type owl:Class ; + rdfs:subClassOf base:Entity ; + rdfs:label "sun" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . + + +################################################################# +# Individuals +################################################################# -result:Mercury a owl:Individual, - result:planet ; - rdfs:label "Mercury" . +### https://reference.tetras-libre.fr/expected-result#Mercury +result:Mercury rdf:type owl:NamedIndividual , + owl:Individual , + base:Entity , + result:most-small-planet , + result:planet ; + result:hasFeature result:most-small ; + rdfs:label "Mercury" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . -result:almost a owl:Class ; - rdfs:label "almost" ; - rdfs:subClassOf base:Undetermined_Thing . -result:equal a owl:ObjectProperty ; - rdfs:label "equal" ; - rdfs:subPropertyOf base:Out_ObjectProperty . +### https://reference.tetras-libre.fr/expected-result#more +result:more rdf:type owl:NamedIndividual , + owl:Individual , + base:Degree . -result:large a owl:Class ; - rdfs:label "large" ; - rdfs:subClassOf base:Entity . -result:more a owl:Class, - owl:ObjectProperty ; - rdfs:label "more" ; - rdfs:subClassOf base:Entity ; - rdfs:subPropertyOf base:Out_ObjectProperty . +### https://reference.tetras-libre.fr/expected-result#more-large +result:more-large rdf:type owl:NamedIndividual , + owl:Individual , + base:Feature ; + rdfs:label "more-large" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . -result:most a owl:ObjectProperty ; - rdfs:label "most" ; - rdfs:subPropertyOf base:Out_ObjectProperty . -result:natural a owl:ObjectProperty ; - rdfs:label "natural" ; - rdfs:subPropertyOf base:Out_ObjectProperty . +### https://reference.tetras-libre.fr/expected-result#most +result:most rdf:type owl:NamedIndividual , + owl:Individual , + base:Degree ; + rdfs:label "most" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . -result:not-direct a owl:ObjectProperty ; - rdfs:subPropertyOf base:Out_ObjectProperty . -result:object-include-object a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:include ; - owl:someValuesFrom result:object ], - result:object . +### https://reference.tetras-libre.fr/expected-result#most-small +result:most-small rdf:type owl:NamedIndividual , + owl:Individual , + base:Feature ; + rdfs:label "most-small" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . -result:object-mean-satellite a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:mean ; - owl:someValuesFrom result:satellite ], - result:object . -result:orbit a owl:Class ; - rdfs:label "orbit" ; - rdfs:subClassOf base:Entity . +### https://reference.tetras-libre.fr/expected-result#not-direct +result:not-direct rdf:type owl:NamedIndividual , + owl:Individual , + base:Feature ; + rdfs:label "not-direct" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . -result:size a owl:Class ; - rdfs:label "size" ; - rdfs:subClassOf base:Undetermined_Thing . -result:small a owl:Class ; - rdfs:label "small" ; - rdfs:subClassOf base:Entity . +### https://reference.tetras-libre.fr/expected-result#object-WikiAbstract-SolarSystem-03 +result:object-WikiAbstract-SolarSystem-03 rdf:type owl:NamedIndividual , + owl:Individual , + base:Entity , + result:more-large-object , + result:object-isMoreLargeThan-most-small-planet ; + result:hasFeature result:more-large ; + result:isMoreLargeThan result:Mercury ; + rdfs:label "object 1 (WikiAbstract-SolarSystem-03)" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . -result:sun a owl:Class ; - rdfs:label "sun" ; - rdfs:subClassOf base:Entity . -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-03> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-03#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-03" ; - ns1:hasSentence "Of the objects that orbit the Sun indirectly—the natural satellites—two are larger than the smallest planet, Mercury, and one more almost equals it in size." . +### https://reference.tetras-libre.fr/expected-result#object-WikiAbstract-SolarSystem-03 +result:object-WikiAbstract-SolarSystem-03-2 rdf:type owl:NamedIndividual , + owl:Individual , + base:Entity , + result:more-large-object , + result:object-isMoreLargeThan-most-small-planet ; + result:hasFeature result:more-large ; + result:isMoreLargeThan result:Mercury ; + rdfs:label "object 2 (WikiAbstract-SolarSystem-03)" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . -result:include a owl:ObjectProperty ; - rdfs:label "include" ; - rdfs:subPropertyOf base:Out_ObjectProperty . -result:mean a owl:ObjectProperty ; - rdfs:label "mean" ; - rdfs:subPropertyOf base:Out_ObjectProperty . +################################################################# +# Annotations +################################################################# -result:satellite a owl:Class ; - rdfs:label "satellite" ; - rdfs:subClassOf base:Entity . +result:more rdfs:label "more" ; + base:fromStructure "WikiAbstract-SolarSystem-03" . -result:object a owl:Class ; - rdfs:label "object" ; - rdfs:subClassOf base:Entity . +### Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi diff --git a/data/reference_ontology/SolarSystemProd_factoid_4.ttl b/data/reference_ontology/SolarSystemProd_factoid_4.ttl index a2a6e8b..8ef8931 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_4.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_4.ttl @@ -1,79 +1,94 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . result:SolarSystem a owl:Individual, + base:Entity, result:system ; - rdfs:label "SolarSystem" . + rdfs:label "SolarSystem" ; + base:fromStructure "WikiAbstract-SolarSystem-04" . result:before a owl:Class ; rdfs:label "before" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-04" . -result:collapse-cause-gravity a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:cause ; - owl:someValuesFrom result:gravity ], - result:collapse . +result:cause a owl:ObjectProperty ; + rdfs:label "cause" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-04" . + +result:collapse a owl:ObjectProperty ; + rdfs:label "collapse" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-04" . result:form a owl:ObjectProperty ; rdfs:label "form" ; - rdfs:subPropertyOf base:Out_ObjectProperty . - -result:giant-cloud a owl:Class ; - rdfs:subClassOf result:cloud . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-04" . -result:intercontinental-cloud a owl:Class ; - rdfs:subClassOf result:cloud . +result:gravity a owl:Class ; + rdfs:label "gravity" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-04" . -result:molecule a owl:Class ; - rdfs:label "molecule" ; - rdfs:subClassOf base:Undetermined_Thing . +result:molecular-interstellar-giant-cloud a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:giant ; + owl:onProperty result:hasFeature ], + [ a owl:Restriction ; + owl:hasValue result:molecular ; + owl:onProperty result:hasFeature ], + [ a owl:Restriction ; + owl:hasValue result:interstellar ; + owl:onProperty result:hasFeature ], + result:cloud ; + base:fromStructure "WikiAbstract-SolarSystem-04" . result:now a owl:Class ; rdfs:label "now" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-04" . result:temporal-quantity a owl:Class ; rdfs:label "temporal-quantity" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-04" . result:year a owl:ObjectProperty ; rdfs:label "year" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-04" . -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-04> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-04#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-04" ; - ns1:hasSentence "The Solar System formed 4.6 billion years ago from the gravitational collapse of a giant interstellar molecular cloud." . - -result:cause a owl:ObjectProperty ; - rdfs:label "cause" ; - rdfs:subPropertyOf base:Out_ObjectProperty . +result:cloud a owl:Class ; + rdfs:label "cloud" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-04" . -result:collapse a owl:Class ; - rdfs:label "collapse" ; - rdfs:subClassOf base:Entity . +result:system a owl:Class ; + rdfs:label "system" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-04" . -result:giant a owl:Class, - owl:Individual, - result:giant ; +result:giant a owl:Individual, + base:Feature ; rdfs:label "giant" ; - rdfs:subClassOf base:Undetermined_Thing . - -result:gravity a owl:Class ; - rdfs:label "gravity" ; - rdfs:subClassOf base:Entity . - -result:intercontinental a owl:Class, - owl:Individual, - result:intercontinental ; - rdfs:label "intercontinental" ; - rdfs:subClassOf base:Undetermined_Thing . - -result:cloud a owl:Class ; - rdfs:label "cloud" ; - rdfs:subClassOf base:Entity . + base:fromStructure "WikiAbstract-SolarSystem-04" . + +result:interstellar a owl:Individual, + base:Feature ; + rdfs:label "interstellar" ; + base:fromStructure "WikiAbstract-SolarSystem-04" . + +result:molecular a owl:Individual, + base:Feature ; + rdfs:label "molecular" ; + base:fromStructure "WikiAbstract-SolarSystem-04" . + +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_5.ttl b/data/reference_ontology/SolarSystemProd_factoid_5.ttl index f63fdf6..4cec005 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_5.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_5.ttl @@ -1,68 +1,242 @@ -@prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix : <http://www.semanticweb.org/owl/owlapi/turtle#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix xml: <http://www.w3.org/XML/1998/namespace> . +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . +@prefix base: <https://reference.tetras-libre.fr/base-ontology#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . +@base <http://www.w3.org/2002/07/owl#> . + +[ rdf:type owl:Ontology + ] . + +################################################################# +# Annotation properties +################################################################# + +### https://reference.tetras-libre.fr/base-ontology#fromStructure +base:fromStructure rdf:type owl:AnnotationProperty . + + +################################################################# +# Object Properties +################################################################# + +### https://reference.tetras-libre.fr/base-ontology#Out_ObjectProperty +base:Out_ObjectProperty rdf:type owl:ObjectProperty . + + +### https://reference.tetras-libre.fr/expected-result#be +result:be rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + rdfs:label "be" ; + base:fromStructure "WikiAbstract-SolarSystem-05" . + + +### https://reference.tetras-libre.fr/expected-result#contain +result:contain rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + rdfs:label "contain" ; + base:fromStructure "WikiAbstract-SolarSystem-05" . + + +### https://reference.tetras-libre.fr/expected-result#hasFeature +result:hasFeature rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + rdfs:label "hasFeature" ; + base:fromStructure "predefinedProperty" . + + +### https://reference.tetras-libre.fr/expected-result#hasPart +result:hasPart rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + rdfs:label "hasPart" ; + base:fromStructure "WikiAbstract-SolarSystem-05" . + + +################################################################# +# Classes +################################################################# + +### http://www.w3.org/2002/07/owl#Individual +owl:Individual rdf:type owl:Class . + + +### https://reference.tetras-libre.fr/base-ontology#Entity +base:Entity rdf:type owl:Class . + + +### https://reference.tetras-libre.fr/base-ontology#Feature +base:Feature rdf:type owl:Class . + + +### https://reference.tetras-libre.fr/expected-result#majority +result:majority rdf:type owl:Class ; + rdfs:subClassOf base:Feature ; + rdfs:label "majority" ; + base:fromStructure "WikiAbstract-SolarSystem-05" . + + +### https://reference.tetras-libre.fr/expected-result#mass +result:mass rdf:type owl:Class ; + rdfs:subClassOf base:Entity ; + rdfs:label "mass" ; + base:fromStructure "WikiAbstract-SolarSystem-05" . + + +### https://reference.tetras-libre.fr/expected-result#planet +result:planet rdf:type owl:Class ; + rdfs:subClassOf base:Entity ; + rdfs:label "planet" ; + base:fromStructure "WikiAbstract-SolarSystem-05" . + + +### https://reference.tetras-libre.fr/expected-result#planet-contain-mass +result:planet-contain-mass rdf:type owl:Class ; + rdfs:subClassOf result:planet , + [ rdf:type owl:Restriction ; + owl:onProperty result:contain ; + owl:someValuesFrom result:mass + ] ; + base:fromStructure "WikiAbstract-SolarSystem-05" . + + +### https://reference.tetras-libre.fr/expected-result#planet-contain-remain-majority-mass +result:planet-contain-remain-majority-mass rdf:type owl:Class ; + rdfs:subClassOf result:planet-contain-mass , + [ rdf:type owl:Restriction ; + owl:onProperty result:contain ; + owl:someValuesFrom result:remain-majority-mass + ] . + + +### https://reference.tetras-libre.fr/expected-result#remain-majority-mass +result:remain-majority-mass rdf:type owl:Class ; + rdfs:subClassOf result:mass , + [ rdf:type owl:Restriction ; + owl:onProperty result:hasFeature ; + owl:hasValue result:remain-majority + ] ; + base:fromStructure "WikiAbstract-SolarSystem-05" . + + +### https://reference.tetras-libre.fr/expected-result#sun +result:sun rdf:type owl:Class ; + rdfs:subClassOf base:Entity ; + rdfs:label "sun" ; + base:fromStructure "WikiAbstract-SolarSystem-05" . + + +### https://reference.tetras-libre.fr/expected-result#system +result:system rdf:type owl:Class ; + rdfs:subClassOf base:Entity ; + rdfs:label "system" ; + base:fromStructure "WikiAbstract-SolarSystem-05" . + + +### https://reference.tetras-libre.fr/expected-result#system-hasPart-mass +result:system-hasPart-mass rdf:type owl:Class ; + rdfs:subClassOf result:system , + [ rdf:type owl:Restriction ; + owl:onProperty result:hasPart ; + owl:someValuesFrom result:mass + ] ; + base:fromStructure "WikiAbstract-SolarSystem-05" . + + +### https://reference.tetras-libre.fr/expected-result#system-hasPart-vast-majority-mass +result:system-hasPart-vast-majority-mass rdf:type owl:Class ; + rdfs:subClassOf result:system-hasPart-mass , + [ rdf:type owl:Restriction ; + owl:onProperty result:hasPart ; + owl:someValuesFrom result:vast-majority-mass + ] ; + base:fromStructure "WikiAbstract-SolarSystem-05" . + + +### https://reference.tetras-libre.fr/expected-result#vast-majority-mass +result:vast-majority-mass rdf:type owl:Class ; + rdfs:subClassOf result:mass , + [ rdf:type owl:Restriction ; + owl:onProperty result:hasFeature ; + owl:hasValue result:vast-majority + ] , + [ rdf:type owl:Restriction ; + owl:onProperty result:isLocatedAt ; + owl:someValuesFrom result:sun + ] ; + base:fromStructure "WikiAbstract-SolarSystem-05" . + + +################################################################# +# Individuals +################################################################# + +### https://reference.tetras-libre.fr/expected-result#Jupiter +result:Jupiter rdf:type owl:NamedIndividual , + owl:Individual , + base:Entity , + result:planet , + result:planet-contain-mass , + result:planet-contain-remain-majority-mass ; + result:contain result:mass-WikiAbstract-SolarSystem-05 ; + rdfs:label "Jupiter" ; + base:fromStructure "WikiAbstract-SolarSystem-05" . + -result:Jupiter a owl:Individual, - result:planet ; - rdfs:label "Jupiter" . +### https://reference.tetras-libre.fr/expected-result#mass-WikiAbstract-SolarSystem-05 +result:mass-WikiAbstract-SolarSystem-05 rdf:type owl:NamedIndividual , + owl:Individual , + base:Entity , + result:mass ; + rdfs:label "mass (WikiAbstract-SolarSystem-05)" ; + base:fromStructure "WikiAbstract-SolarSystem-05" . -result:contain a owl:ObjectProperty ; - rdfs:label "contain" ; - rdfs:subPropertyOf base:Out_ObjectProperty . -result:mass-be-sun a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:be ; - owl:someValuesFrom result:sun ], - result:mass . +### https://reference.tetras-libre.fr/expected-result#planet-contain-remain-majority-mass +result:planet-contain-remain-majority-mass rdf:type owl:NamedIndividual ; + result:contain result:remain-majority-mass . -result:remain a owl:ObjectProperty ; - rdfs:label "remain" ; - rdfs:subPropertyOf base:Out_ObjectProperty . -result:system-hasPart-mass a owl:Class ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:hasPart ; - owl:someValuesFrom result:mass ], - result:system . +### https://reference.tetras-libre.fr/expected-result#remain +result:remain rdf:type owl:NamedIndividual , + owl:Individual , + base:Feature ; + rdfs:label "remain" ; + base:fromStructure "WikiAbstract-SolarSystem-05" . -result:vast-majority a owl:Class ; - rdfs:subClassOf result:majority . -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-05> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-05#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-05" ; - ns1:hasSentence "The vast majority of the system's mass is in the Sun, with the majority of the remaining mass contained in Jupiter." . +### https://reference.tetras-libre.fr/expected-result#remain-majority +result:remain-majority rdf:type owl:NamedIndividual , + owl:Individual , + base:Feature , + result:majority ; + result:hasFeature result:remain ; + rdfs:label "remain-majority" ; + base:fromStructure "WikiAbstract-SolarSystem-05" . -result:be a owl:ObjectProperty ; - rdfs:label "be" ; - rdfs:subPropertyOf base:Out_ObjectProperty . -result:hasPart a owl:ObjectProperty ; - rdfs:label "hasPart" ; - rdfs:subPropertyOf base:Out_ObjectProperty . +### https://reference.tetras-libre.fr/expected-result#remain-majority-mass +result:remain-majority-mass rdf:type owl:NamedIndividual . -result:majority a owl:Class ; - rdfs:label "majority" ; - rdfs:subClassOf base:Undetermined_Thing . -result:sun a owl:Class ; - rdfs:label "sun" ; - rdfs:subClassOf base:Entity . +### https://reference.tetras-libre.fr/expected-result#vast +result:vast rdf:type owl:NamedIndividual , + owl:Individual , + base:Feature ; + rdfs:label "vast" ; + base:fromStructure "WikiAbstract-SolarSystem-05" . -result:system a owl:Class ; - rdfs:label "system" ; - rdfs:subClassOf base:Entity . -result:vast a owl:Class, - owl:Individual, - result:vast ; - rdfs:label "vast" ; - rdfs:subClassOf base:Undetermined_Thing . +### https://reference.tetras-libre.fr/expected-result#vast-majority +result:vast-majority rdf:type owl:NamedIndividual , + owl:Individual , + base:Feature , + result:majority ; + result:hasFeature result:vast ; + rdfs:label "vast-majority" ; + base:fromStructure "WikiAbstract-SolarSystem-05" . -result:mass a owl:Class ; - rdfs:label "mass" ; - rdfs:subClassOf base:Entity . +### Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi diff --git a/data/reference_ontology/SolarSystemProd_factoid_6.ttl b/data/reference_ontology/SolarSystemProd_factoid_6.ttl index ee0ffbf..3deb9b0 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_6.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_6.ttl @@ -1,81 +1,290 @@ -@prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix xml: <http://www.w3.org/XML/1998/namespace> . +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . +@prefix base: <https://reference.tetras-libre.fr/base-ontology#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . +@base <http://www.w3.org/2002/07/owl#> . + +[ rdf:type owl:Ontology + ] . + +################################################################# +# Annotation properties +################################################################# + +### https://reference.tetras-libre.fr/base-ontology#fromStructure +base:fromStructure rdf:type owl:AnnotationProperty . + + +################################################################# +# Object Properties +################################################################# + +### https://reference.tetras-libre.fr/base-ontology#Out_ObjectProperty +base:Out_ObjectProperty rdf:type owl:ObjectProperty . + + +### https://reference.tetras-libre.fr/expected-result#compose +result:compose rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + rdfs:label "compose" ; + base:fromStructure "WikiAbstract-SolarSystem-06" . + + +### https://reference.tetras-libre.fr/expected-result#hasFeature +result:hasFeature rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + rdfs:label "hasFeature" ; + base:fromStructure "predefinedProperty" . + + +### https://reference.tetras-libre.fr/expected-result#hasPart +result:hasPart rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + rdfs:label "hasPart" ; + base:fromStructure "WikiAbstract-SolarSystem-06" . + + +### https://reference.tetras-libre.fr/expected-result#more +result:more rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + rdfs:label "more" ; + base:fromStructure "WikiAbstract-SolarSystem-06" . + + +################################################################# +# Classes +################################################################# + +### http://www.w3.org/2002/07/owl#Individual +owl:Individual rdf:type owl:Class . + + +### https://reference.tetras-libre.fr/base-ontology#Entity +base:Entity rdf:type owl:Class . + + +### https://reference.tetras-libre.fr/base-ontology#Feature +base:Feature rdf:type owl:Class . + + +### https://reference.tetras-libre.fr/expected-result#inner-system +result:inner-system rdf:type owl:Class ; + rdfs:subClassOf result:system , + [ rdf:type owl:Restriction ; + owl:onProperty result:hasFeature ; + owl:hasValue result:inner + ] ; + base:fromStructure "WikiAbstract-SolarSystem-06" . + + +### https://reference.tetras-libre.fr/expected-result#inner-system-hasPart-planet +result:inner-system-hasPart-planet rdf:type owl:Class ; + rdfs:subClassOf result:inner-system , + [ rdf:type owl:Restriction ; + owl:onProperty result:hasPart ; + owl:someValuesFrom result:planet + ] ; + base:fromStructure "WikiAbstract-SolarSystem-06" . + + +### https://reference.tetras-libre.fr/expected-result#inner-system-hasPart-planet-compose-metal +result:inner-system-hasPart-planet-compose-metal rdf:type owl:Class ; + rdfs:subClassOf result:inner-system-hasPart-planet , + [ rdf:type owl:Restriction ; + owl:onProperty result:hasPart ; + owl:someValuesFrom result:planet-compose-metal + ] ; + base:fromStructure "WikiAbstract-SolarSystem-06" . + + +### https://reference.tetras-libre.fr/expected-result#inner-system-hasPart-planet-compose-rock +result:inner-system-hasPart-planet-compose-rock rdf:type owl:Class ; + rdfs:subClassOf result:inner-system-hasPart-planet , + [ rdf:type owl:Restriction ; + owl:onProperty result:hasPart ; + owl:someValuesFrom result:planet-compose-rock + ] ; + base:fromStructure "WikiAbstract-SolarSystem-06" . + + +### https://reference.tetras-libre.fr/expected-result#metal +result:metal rdf:type owl:Class ; + rdfs:subClassOf base:Entity ; + rdfs:label "metal" ; + base:fromStructure "WikiAbstract-SolarSystem-06" . + + +### https://reference.tetras-libre.fr/expected-result#planet +result:planet rdf:type owl:Class ; + rdfs:subClassOf base:Entity ; + rdfs:label "planet" ; + base:fromStructure "WikiAbstract-SolarSystem-06" . + + +### https://reference.tetras-libre.fr/expected-result#planet-compose-metal +result:planet-compose-metal rdf:type owl:Class ; + rdfs:subClassOf result:planet , + [ rdf:type owl:Restriction ; + owl:onProperty result:compose ; + owl:someValuesFrom result:metal + ] ; + base:fromStructure "WikiAbstract-SolarSystem-06" . + + +### https://reference.tetras-libre.fr/expected-result#planet-compose-rock +result:planet-compose-rock rdf:type owl:Class ; + rdfs:subClassOf result:planet , + [ rdf:type owl:Restriction ; + owl:onProperty result:compose ; + owl:someValuesFrom result:rock + ] ; + base:fromStructure "WikiAbstract-SolarSystem-06" . + + +### https://reference.tetras-libre.fr/expected-result#primary +result:primary rdf:type owl:Class ; + rdfs:subClassOf base:Feature ; + rdfs:label "primary" ; + base:fromStructure "WikiAbstract-SolarSystem-06" . + + +### https://reference.tetras-libre.fr/expected-result#rock +result:rock rdf:type owl:Class ; + rdfs:subClassOf base:Entity ; + rdfs:label "rock" ; + base:fromStructure "WikiAbstract-SolarSystem-06" . + + +### https://reference.tetras-libre.fr/expected-result#small +result:small rdf:type owl:Class ; + rdfs:subClassOf base:Entity ; + rdfs:label "small" ; + base:fromStructure "WikiAbstract-SolarSystem-06" . + + +### https://reference.tetras-libre.fr/expected-result#system +result:system rdf:type owl:Class ; + rdfs:subClassOf base:Entity ; + rdfs:label "system" ; + base:fromStructure "WikiAbstract-SolarSystem-06" . + + +### https://reference.tetras-libre.fr/expected-result#terrestrial-planet +result:terrestrial-planet rdf:type owl:Class ; + rdfs:subClassOf result:planet , + [ rdf:type owl:Restriction ; + owl:onProperty result:hasFeature ; + owl:hasValue result:terrestrial + ] ; + base:fromStructure "WikiAbstract-SolarSystem-06" . + + +################################################################# +# Individuals +################################################################# -result:Earth a owl:Individual, - result:planet ; - rdfs:label "Earth" . +### https://reference.tetras-libre.fr/expected-result#Earth +result:Earth rdf:type owl:NamedIndividual , + owl:Individual , + base:Entity , + result:planet , + result:planet-compose-metal , + result:planet-compose-rock ; + result:compose result:metal-WikiAbstract-SolarSystem-06 , + result:rock-WikiAbstract-SolarSystem-06 ; + rdfs:label "Earth" ; + base:fromStructure "WikiAbstract-SolarSystem-06" . -result:Mars a owl:Individual, - result:planet ; - rdfs:label "Mars" . -result:Mercury a owl:Individual, - result:planet ; - rdfs:label "Mercury" . +### https://reference.tetras-libre.fr/expected-result#Mars +result:Mars rdf:type owl:NamedIndividual , + owl:Individual , + base:Entity , + result:planet , + result:planet-compose-metal , + result:planet-compose-rock ; + result:compose result:metal-WikiAbstract-SolarSystem-06 , + result:rock-WikiAbstract-SolarSystem-06 ; + rdfs:label "Mars" ; + base:fromStructure "WikiAbstract-SolarSystem-06" . -result:Venus a owl:Individual, - result:planet ; - rdfs:label "Venus" . -result:compose a owl:ObjectProperty ; - rdfs:label "compose" ; - rdfs:subPropertyOf base:Out_ObjectProperty . +### https://reference.tetras-libre.fr/expected-result#Mercury +result:Mercury rdf:type owl:NamedIndividual , + owl:Individual , + base:Entity , + result:planet , + result:planet-compose-metal , + result:planet-compose-rock ; + result:compose result:metal-WikiAbstract-SolarSystem-06 , + result:rock-WikiAbstract-SolarSystem-06 ; + rdfs:label "Mercury" ; + base:fromStructure "WikiAbstract-SolarSystem-06" . -result:hasPart a owl:ObjectProperty ; - rdfs:label "hasPart" ; - rdfs:subPropertyOf base:Out_ObjectProperty . -result:inner-system a owl:Class ; - rdfs:subClassOf result:system . +### https://reference.tetras-libre.fr/expected-result#Venus +result:Venus rdf:type owl:NamedIndividual , + owl:Individual , + base:Entity , + result:planet , + result:planet-compose-metal , + result:planet-compose-rock ; + result:compose result:metal-WikiAbstract-SolarSystem-06 , + result:rock-WikiAbstract-SolarSystem-06 ; + rdfs:label "Venus" ; + base:fromStructure "WikiAbstract-SolarSystem-06" . -result:metal a owl:Class ; - rdfs:label "metal" ; - rdfs:subClassOf base:Entity . -result:more a owl:ObjectProperty ; - rdfs:label "more" ; - rdfs:subPropertyOf base:Out_ObjectProperty . +### https://reference.tetras-libre.fr/expected-result#inner +result:inner rdf:type owl:NamedIndividual , + owl:Individual , + base:Feature ; + rdfs:label "inner" ; + base:fromStructure "WikiAbstract-SolarSystem-06" . -result:primary a owl:Class ; - rdfs:label "primary" ; - rdfs:subClassOf base:Undetermined_Thing . -result:rock a owl:Class ; - rdfs:label "rock" ; - rdfs:subClassOf base:Entity . +### https://reference.tetras-libre.fr/expected-result#metal-WikiAbstract-SolarSystem-06 +result:metal-WikiAbstract-SolarSystem-06 rdf:type owl:NamedIndividual , + owl:Individual , + base:Entity , + result:metal ; + rdfs:label "metal (WikiAbstract-SolarSystem-06)" ; + base:fromStructure "WikiAbstract-SolarSystem-06" . -result:small a owl:Class ; - rdfs:label "small" ; - rdfs:subClassOf base:Entity . -result:terrestrial-planet a owl:Class ; - rdfs:subClassOf result:planet . +### https://reference.tetras-libre.fr/expected-result#rock-WikiAbstract-SolarSystem-06 +result:rock-WikiAbstract-SolarSystem-06 rdf:type owl:NamedIndividual , + owl:Individual , + base:Entity , + result:rock ; + rdfs:label "rock (WikiAbstract-SolarSystem-06)" ; + base:fromStructure "WikiAbstract-SolarSystem-06" . -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-06> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-06#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-06" ; - ns1:hasSentence "The four smaller inner system planets, Mercury, Venus, Earth and Mars, are terrestrial planets, being primarily composed of rock and metal." . -result:inner a owl:Class, - owl:Individual, - result:inner ; - rdfs:label "inner" ; - rdfs:subClassOf base:Undetermined_Thing . +### https://reference.tetras-libre.fr/expected-result#system-WikiAbstract-SolarSystem-06 +result:system-WikiAbstract-SolarSystem-06 rdf:type owl:NamedIndividual , + owl:Individual , + base:Entity , + result:inner-system-hasPart-planet , + result:inner-system-hasPart-planet-compose-metal , + result:inner-system-hasPart-planet-compose-rock ; + result:hasPart result:Earth , + result:Mars , + result:Mercury , + result:Venus ; + rdfs:label "system (WikiAbstract-SolarSystem-06)" ; + base:fromStructure "WikiAbstract-SolarSystem-06" . -result:system a owl:Class ; - rdfs:label "system" ; - rdfs:subClassOf base:Entity . -result:terrestrial a owl:Class, - owl:Individual, - result:terrestrial ; - rdfs:label "terrestrial" ; - rdfs:subClassOf base:Undetermined_Thing . +### https://reference.tetras-libre.fr/expected-result#terrestrial +result:terrestrial rdf:type owl:NamedIndividual , + owl:Individual , + base:Feature ; + rdfs:label "terrestrial" ; + base:fromStructure "WikiAbstract-SolarSystem-06" . -result:planet a owl:Class ; - rdfs:label "planet" ; - rdfs:subClassOf base:Undetermined_Thing . +### Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi diff --git a/data/reference_ontology/SolarSystemProd_factoid_7.ttl b/data/reference_ontology/SolarSystemProd_factoid_7.ttl index 34f517d..5492ee0 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_7.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_7.ttl @@ -1,63 +1,108 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . -result:giant-planet a owl:Class ; - rdfs:subClassOf result:planet . - -result:massive a owl:Class ; - rdfs:label "massive" ; - rdfs:subClassOf base:Entity . - -result:more a owl:ObjectProperty ; +result:more a owl:Individual, + base:Degree ; rdfs:label "more" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + base:fromStructure "WikiAbstract-SolarSystem-07" . -result:outer-system-hasPart-planet a owl:Class ; +result:outer-system-hasPart-giant-planet a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty result:hasPart ; - owl:someValuesFrom result:planet ], - result:outer-system . + owl:someValuesFrom result:giant-planet ], + result:outer-system-hasPart-planet ; + base:fromStructure "WikiAbstract-SolarSystem-07" . + +result:outer-system-hasPart-more-massive-giant-planet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:hasPart ; + owl:someValuesFrom result:more-massive-giant-planet ], + result:outer-system-hasPart-planet ; + base:fromStructure "WikiAbstract-SolarSystem-07" . result:substantial a owl:Class ; rdfs:label "substantial" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-07" . -result:terrestrial a owl:Class ; - rdfs:label "terrestrial" ; - rdfs:subClassOf base:Undetermined_Thing . +result:outer-system a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:outer ; + owl:onProperty result:hasFeature ], + result:system ; + base:fromStructure "WikiAbstract-SolarSystem-07" . -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-07> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-07#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-07" ; - ns1:hasSentence "The four outer system planets are giant planets, being substantially more massive than the terrestrials." . +result:system a owl:Class ; + rdfs:label "system" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-07" . -result:giant a owl:Class, - owl:Individual, - result:giant ; +result:giant a owl:Individual, + base:Feature ; rdfs:label "giant" ; - rdfs:subClassOf base:Undetermined_Thing . + base:fromStructure "WikiAbstract-SolarSystem-07" . -result:hasPart a owl:ObjectProperty ; - rdfs:label "hasPart" ; - rdfs:subPropertyOf base:Out_ObjectProperty . +result:isMoreMassiveThan rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-07" . + +result:more-massive a owl:Individual, + base:Feature ; + rdfs:label "more-massive" ; + base:fromStructure "WikiAbstract-SolarSystem-07" . + +result:more-massive-giant-planet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:isMoreMassiveThan ; + owl:someValuesFrom result:terrestrial ], + [ a owl:Restriction ; + owl:hasValue result:more-massive ; + owl:onProperty result:hasFeature ], + result:giant-planet, + result:planet ; + base:fromStructure "WikiAbstract-SolarSystem-07" . -result:outer a owl:Class, - owl:Individual, - result:outer ; +result:outer a owl:Individual, + base:Feature ; rdfs:label "outer" ; - rdfs:subClassOf base:Undetermined_Thing . + base:fromStructure "WikiAbstract-SolarSystem-07" . -result:outer-system a owl:Class ; - rdfs:subClassOf result:system . +result:terrestrial a owl:Class ; + rdfs:label "terrestrial" ; + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-07" . -result:system a owl:Class ; - rdfs:label "system" ; - rdfs:subClassOf base:Entity . +result:giant-planet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:giant ; + owl:onProperty result:hasFeature ], + result:planet ; + base:fromStructure "WikiAbstract-SolarSystem-07" . + +result:outer-system-hasPart-planet a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:hasPart ; + owl:someValuesFrom result:planet ], + [ a owl:Restriction ; + owl:onProperty result:hasPart ; + owl:someValuesFrom result:planet ], + result:outer-system, + result:outer-system-hasPart-planet ; + base:fromStructure "WikiAbstract-SolarSystem-07" . + +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . result:planet a owl:Class ; rdfs:label "planet" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-07" . + +result:hasPart a owl:ObjectProperty ; + rdfs:label "hasPart" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-07" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_8.ttl b/data/reference_ontology/SolarSystemProd_factoid_8.ttl index 334ca4a..03459fb 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_8.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_8.ttl @@ -1,141 +1,201 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . result:Jupiter a owl:Individual, + base:Entity, result:planet ; - rdfs:label "Jupiter" . + rdfs:label "Jupiter" ; + base:fromStructure "WikiAbstract-SolarSystem-08" . result:Neptune a owl:Individual, - result:planet ; - rdfs:label "Neptune" . + base:Entity, + result:planet, + result:planet-compose-substance ; + rdfs:label "Neptune" ; + base:fromStructure "WikiAbstract-SolarSystem-08" ; + result:compose result:substance-WikiAbstract-SolarSystem-08 . result:Saturn a owl:Individual, + base:Entity, result:planet ; - rdfs:label "Saturn" . + rdfs:label "Saturn" ; + base:fromStructure "WikiAbstract-SolarSystem-08" . result:Uranus a owl:Individual, - result:planet ; - rdfs:label "Uranus" . + base:Entity, + result:planet, + result:planet-compose-substance ; + rdfs:label "Uranus" ; + base:fromStructure "WikiAbstract-SolarSystem-08" ; + result:compose result:substance-WikiAbstract-SolarSystem-08 . result:ammonia a owl:Class ; rdfs:label "ammonia" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-08" . result:gas-giant-compose-helium a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty result:compose ; owl:someValuesFrom result:helium ], - result:gas-giant . + result:gas-giant ; + base:fromStructure "WikiAbstract-SolarSystem-08" . result:gas-giant-compose-hydrogen a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty result:compose ; owl:someValuesFrom result:hydrogen ], - result:gas-giant . + result:gas-giant ; + base:fromStructure "WikiAbstract-SolarSystem-08" . result:helium-call-volatile a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty result:call ; owl:someValuesFrom result:volatile ], - result:helium . + result:helium ; + base:fromStructure "WikiAbstract-SolarSystem-08" . result:high a owl:ObjectProperty ; rdfs:label "high" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-08" . result:hydrogen-call-volatile a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty result:call ; owl:someValuesFrom result:volatile ], - result:hydrogen . + result:hydrogen ; + base:fromStructure "WikiAbstract-SolarSystem-08" . result:ice-giant a owl:Class ; - rdfs:subClassOf result:giant . + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:ice ; + owl:onProperty result:hasFeature ], + result:giant ; + base:fromStructure "WikiAbstract-SolarSystem-08" . result:large a owl:Class ; rdfs:label "large" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-08" . result:main a owl:Class ; rdfs:label "main" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-08" . result:melt a owl:ObjectProperty ; rdfs:label "melt" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-08" . result:methane a owl:Class ; rdfs:label "methane" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-08" . -result:more a owl:Class ; +result:more a owl:ObjectProperty ; rdfs:label "more" ; - rdfs:subClassOf base:Entity . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-08" . result:most a owl:ObjectProperty ; rdfs:label "most" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-08" . result:point a owl:Class ; rdfs:label "point" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-08" . result:relative a owl:ObjectProperty ; rdfs:label "relative" ; - rdfs:subPropertyOf base:Out_ObjectProperty . - -result:substance a owl:Class ; - rdfs:label "substance" ; - rdfs:subClassOf base:Entity . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-08" . result:water a owl:Class ; rdfs:label "water" ; - rdfs:subClassOf base:Undetermined_Thing . - -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-08> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-08#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-08" ; - ns1:hasSentence "The two largest planets, Jupiter and Saturn, are gas giants, being composed mainly of hydrogen and helium; the two outermost planets, Uranus and Neptune, are ice giants, being composed mostly of substances with relatively high melting points compared with hydrogen and helium, called volatiles, such as water, ammonia and methane." . + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-08" . -result:gas a owl:Class, - owl:Individual, - result:gas ; +result:gas a owl:Individual, + base:Feature ; rdfs:label "gas" ; - rdfs:subClassOf base:Undetermined_Thing . - -result:ice a owl:Class, - owl:Individual, - result:ice ; - rdfs:label "ice" ; - rdfs:subClassOf base:Undetermined_Thing . - -result:call a owl:ObjectProperty ; - rdfs:label "call" ; - rdfs:subPropertyOf base:Out_ObjectProperty . - -result:compose a owl:ObjectProperty ; - rdfs:label "compose" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + base:fromStructure "WikiAbstract-SolarSystem-08" . result:gas-giant a owl:Class ; - rdfs:subClassOf result:giant . + rdfs:subClassOf [ a owl:Restriction ; + owl:hasValue result:gas ; + owl:onProperty result:hasFeature ], + result:giant ; + base:fromStructure "WikiAbstract-SolarSystem-08" . result:giant a owl:Class ; rdfs:label "giant" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-08" . + +result:ice a owl:Individual, + base:Feature ; + rdfs:label "ice" ; + base:fromStructure "WikiAbstract-SolarSystem-08" . + +result:planet-compose-substance a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:compose ; + owl:someValuesFrom result:substance ], + [ a owl:Restriction ; + owl:onProperty result:compose ; + owl:someValuesFrom result:substance ], + result:planet ; + base:fromStructure "WikiAbstract-SolarSystem-08" . + +result:substance-WikiAbstract-SolarSystem-08 a owl:Individual, + base:Entity, + result:substance ; + rdfs:label "substance (WikiAbstract-SolarSystem-08)" ; + base:fromStructure "WikiAbstract-SolarSystem-08" . result:helium a owl:Class ; rdfs:label "helium" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-08" . result:hydrogen a owl:Class ; rdfs:label "hydrogen" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-08" . + +result:call a owl:ObjectProperty ; + rdfs:label "call" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-08" . + +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . result:volatile a owl:Class ; rdfs:label "volatile" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-08" . + +result:planet a owl:Class ; + rdfs:label "planet" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-08" . + +result:substance a owl:Class ; + rdfs:label "substance" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-08" . + +result:compose a owl:ObjectProperty ; + rdfs:label "compose" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-08" . diff --git a/data/reference_ontology/SolarSystemProd_factoid_9.ttl b/data/reference_ontology/SolarSystemProd_factoid_9.ttl index 7a89eec..e32ee38 100644 --- a/data/reference_ontology/SolarSystemProd_factoid_9.ttl +++ b/data/reference_ontology/SolarSystemProd_factoid_9.ttl @@ -1,72 +1,92 @@ @prefix base: <https://reference.tetras-libre.fr/base-ontology#> . -@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix result: <https://reference.tetras-libre.fr/expected-result#> . result:all a owl:ObjectProperty ; rdfs:label "all" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-09" . -result:call a owl:ObjectProperty ; - rdfs:label "call" ; - rdfs:subPropertyOf base:Out_ObjectProperty . - -result:circular-orbit-lie-disc a owl:Class ; +result:almost-circular a owl:Class ; rdfs:subClassOf [ a owl:Restriction ; - owl:onProperty result:lie ; - owl:someValuesFrom result:disc ], - result:circular-orbit . + owl:hasValue result:almost ; + owl:onProperty result:hasFeature ], + result:circular ; + base:fromStructure "WikiAbstract-SolarSystem-09" . -result:ecliptic a owl:Individual, - result:thing ; - rdfs:label "ecliptic" . +result:disc-WikiAbstract-SolarSystem-09 a owl:Individual, + base:Entity, + result:disc-call-thing ; + rdfs:label "disc (WikiAbstract-SolarSystem-09)" ; + base:fromStructure "WikiAbstract-SolarSystem-09" ; + result:call result:ecliptic . result:flat a owl:ObjectProperty ; rdfs:label "flat" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-09" . + +result:lie a owl:ObjectProperty ; + rdfs:label "lie" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-09" . result:near a owl:ObjectProperty ; rdfs:label "near" ; - rdfs:subPropertyOf base:Out_ObjectProperty . + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-09" . + +result:orbit a owl:ObjectProperty ; + rdfs:label "orbit" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-09" . result:planet a owl:Class ; rdfs:label "planet" ; - rdfs:subClassOf base:Entity . - -<https://tenet.tetras-libre.fr/amr.structure#WikiAbstract-SolarSystem-09> a <https://tenet.tetras-libre.fr/amr.structure> ; - ns1:hasAmrRdfGraph <http://amr.isi.edu/amr_data/WikiAbstract-SolarSystem-09#root01> ; - ns1:hasID "WikiAbstract-SolarSystem-09" ; - ns1:hasSentence "All eight planets have almost circular orbits that lie within a nearly flat disc called the ecliptic." . - -result:almost a owl:Class, - owl:Individual, - result:almost ; - rdfs:label "almost" ; - rdfs:subClassOf base:Undetermined_Thing . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-09" . -result:almost-circular a owl:Class ; - rdfs:subClassOf result:circular . - -result:circular-orbit a owl:Class ; - rdfs:subClassOf result:orbit . +result:circular a owl:Class ; + rdfs:label "circular" ; + rdfs:subClassOf base:Undetermined_Thing ; + base:fromStructure "WikiAbstract-SolarSystem-09" . result:disc a owl:Class ; rdfs:label "disc" ; - rdfs:subClassOf base:Entity . + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-09" . -result:lie a owl:ObjectProperty ; - rdfs:label "lie" ; - rdfs:subPropertyOf base:Out_ObjectProperty . +result:disc-call-thing a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty result:call ; + owl:someValuesFrom result:thing ], + result:disc ; + base:fromStructure "WikiAbstract-SolarSystem-09" . -result:orbit a owl:Class ; - rdfs:label "orbit" ; - rdfs:subClassOf base:Entity . +result:ecliptic a owl:Individual, + base:Entity, + result:thing ; + rdfs:label "ecliptic" ; + base:fromStructure "WikiAbstract-SolarSystem-09" . -result:circular a owl:Class, - owl:Individual, - result:almost-circular, - result:circular ; - rdfs:label "circular" ; - rdfs:subClassOf base:Undetermined_Thing . +result:almost a owl:Individual, + base:Feature ; + rdfs:label "almost" ; + base:fromStructure "WikiAbstract-SolarSystem-09" . + +result:call a owl:ObjectProperty ; + rdfs:label "call" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "WikiAbstract-SolarSystem-09" . + +result:hasFeature a owl:ObjectProperty ; + rdfs:label "hasFeature" ; + rdfs:subPropertyOf base:Out_ObjectProperty ; + base:fromStructure "predefinedProperty" . + +result:thing a owl:Class ; + rdfs:label "thing" ; + rdfs:subClassOf base:Entity ; + base:fromStructure "WikiAbstract-SolarSystem-09" . diff --git a/main.py b/main.py index 807113d..b7b4aa4 100644 --- a/main.py +++ b/main.py @@ -23,8 +23,12 @@ OUTPUT_FOLDER_PATH = os.path.join(SCRIPT_DIR, "output_reports") # List of ontology pairs (reference, generated) for evaluation. # Ideally, these paths would be dynamically generated or loaded from some configuration. ONTOLOGY_PAIRS = [ - (f"{DATA_FOLDER_PATH}/reference_ontology_1.ttl", f"{DATA_FOLDER_PATH}/generated_ontology_1.ttl"), - # (f"{DATA_FOLDER_PATH}/reference_ontology2.ttl", f"{DATA_FOLDER_PATH}/generated_ontology2.ttl"), + (f"{DATA_FOLDER_PATH}/reference_ontology/SolarSystemProd_factoid_1.ttl", + f"{DATA_FOLDER_PATH}/generated_ontology/SolarSystemProd_factoid_1.ttl"), + (f"{DATA_FOLDER_PATH}/reference_ontology/SolarSystemProd_factoid_2.ttl", + f"{DATA_FOLDER_PATH}/generated_ontology/SolarSystemProd_factoid_2.ttl"), + (f"{DATA_FOLDER_PATH}/reference_ontology/SolarSystemProd_factoid_3.ttl", + f"{DATA_FOLDER_PATH}/generated_ontology/SolarSystemProd_factoid_3.ttl"), # ... ] @@ -116,8 +120,8 @@ def main(): print("\n" + "-- Initialization") print("----- Building ontology pairs...") - # ontology_pairs = ONTOLOGY_PAIRS - ontology_pairs = build_ontology_pairs('reference_ontology', 'generated_ontology') + ontology_pairs = ONTOLOGY_PAIRS + # ontology_pairs = build_ontology_pairs('reference_ontology', 'generated_ontology') print(f"----- Found {len(ontology_pairs)} ontology pair{'s' if len(ontology_pairs) > 1 else ''}.") diff --git a/ontoScorer/metric_score.py b/ontoScorer/metric_score.py index dd899bc..4a10bc2 100644 --- a/ontoScorer/metric_score.py +++ b/ontoScorer/metric_score.py @@ -25,8 +25,8 @@ class Score: self.f1 = None self.total_elements = 0 self.matched_elements = 0 - self.y_true = [] # Nouveau champ - self.y_pred = [] # Nouveau champ + self.y_true = [] + self.y_pred = [] #-------------------------------------------------------------------------- @@ -53,7 +53,24 @@ class Score: self.total_elements = len(y_true) self.matched_elements = sum([1 for true, pred in zip(y_true, y_pred) if true == pred]) + + @staticmethod + def aggregate_f1(score_objects): + """Compute aggregated F1 score from multiple Score objects.""" + aggregated_score = Score() + + all_y_true = [] + all_y_pred = [] + for score in score_objects: + all_y_true.extend(score.y_true) + all_y_pred.extend(score.y_pred) + + aggregated_score.compute(all_y_true, all_y_pred) + + return aggregated_score + + #-------------------------------------------------------------------------- # Printing Method(s) #-------------------------------------------------------------------------- @@ -70,4 +87,3 @@ class Score: f"\tMatched Elements: {self.matched_elements}" ] return "\n".join(metrics) - diff --git a/ontoScorer/scorer_batch.py b/ontoScorer/scorer_batch.py index ce8b41a..4fc9d4f 100644 --- a/ontoScorer/scorer_batch.py +++ b/ontoScorer/scorer_batch.py @@ -9,9 +9,9 @@ generating comparison reports for each pair and a summary report for all. """ import os -from ontology import Ontology from report import Report from metrics import Metrics +from metric_score import Score from scorer import OntoScorer class ScorerBatch: @@ -67,19 +67,43 @@ class ScorerBatch: f.write(report_content) + def collect_scores_for_metric(self, metric_category, metric_name): + scores = [] + for _, metrics in self.results.items(): + score = metrics.scores[metric_category][metric_name] + scores.append(score) + return scores + + def generate_summary_report(self): - """ - Generates a summary report for all the ontologies and writes it to the output directory. - """ summary_content = "Summary Report for All Ontologies\n" summary_content += "="*80 + "\n" - - for idx, ((ref_onto, gen_onto), metrics) in enumerate(self.results.items()): # Adjusted loop to access metrics from dictionary + + # Section pour les statistiques globales + summary_content += "Overall Statistics:\n" + for category, metrics_dict in Metrics().scores.items(): + for metric_name, _ in metrics_dict.items(): + score_objects = self.collect_scores_for_metric(category, metric_name) + + aggregated_score = Score.aggregate_f1(score_objects) + precision_str = f"{aggregated_score.precision:.4f}" if aggregated_score.precision is not None else "N/A" + recall_str = f"{aggregated_score.recall:.4f}" if aggregated_score.recall is not None else "N/A" + f1_str = f"{aggregated_score.f1:.4f}" if aggregated_score.f1 is not None else "N/A" + + summary_content += f"{category} - {metric_name}:\n" + summary_content += f"\tPrecision: {precision_str}\n" + summary_content += f"\tRecall: {recall_str}\n" + summary_content += f"\tF1 Score: {f1_str}\n" + summary_content += "-"*40 + "\n" + + # Section pour les résultats par paire d'ontologies + summary_content += "Detailed Results:\n" + for idx, ((ref_onto, gen_onto), metrics) in enumerate(self.results.items()): summary_content += f"Metrics for Ontology Pair {idx + 1}:\n" report = Report(ref_onto, gen_onto, metrics) summary_content += report.generate() + "\n" summary_content += "-"*80 + "\n" - + summary_filename = os.path.join(self.output_dir, 'summary_report.txt') with open(summary_filename, 'w') as f: f.write(summary_content) diff --git a/output_reports/report_1.txt b/output_reports/report_1.txt index 71e960f..d49a4c2 100644 --- a/output_reports/report_1.txt +++ b/output_reports/report_1.txt @@ -8,68 +8,68 @@ Comparing Reference Ontology with Generated Ontology. Metrics for Classes: Precision: 1.0000 -Recall: 0.7500 -F1 Score: 0.8571 -Total Elements: 12 -Matched Elements: 9 +Recall: 0.9286 +F1 Score: 0.9630 +Total Elements: 14 +Matched Elements: 13 Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 +Total Elements: 9 +Matched Elements: 9 Metrics for Individuals: -Precision: 0.2500 -Recall: 1.0000 -F1 Score: 0.4000 -Total Elements: 4 -Matched Elements: 1 +Precision: 1.0000 +Recall: 0.8000 +F1 Score: 0.8889 +Total Elements: 5 +Matched Elements: 4 Overall Metrics (Synthesis): -Precision: 0.8571 -Recall: 0.8571 -F1 Score: 0.8571 +Precision: 1.0000 +Recall: 0.9286 +F1 Score: 0.9630 == Taxonomic relations == Metrics for Subclass: -Precision: 0.7000 -Recall: 0.5833 -F1 Score: 0.6364 -Total Elements: 15 -Matched Elements: 7 +Precision: 0.8462 +Recall: 0.7857 +F1 Score: 0.8148 +Total Elements: 16 +Matched Elements: 11 Metrics for Subproperty: Precision: 1.0000 -Recall: 0.8889 -F1 Score: 0.9412 +Recall: 1.0000 +F1 Score: 1.0000 Total Elements: 9 -Matched Elements: 8 +Matched Elements: 9 Metrics for Instanciation: -Precision: 0.2500 -Recall: 0.5000 -F1 Score: 0.3333 -Total Elements: 15 -Matched Elements: 3 +Precision: 0.9500 +Recall: 0.8261 +F1 Score: 0.8837 +Total Elements: 24 +Matched Elements: 19 Overall Metrics (Synthesis): -Precision: 0.6000 -Recall: 0.6667 -F1 Score: 0.6316 +Precision: 0.9286 +Recall: 0.8478 +F1 Score: 0.8864 == Non taxonomic relations == Metrics for Object properties: -Precision: 0.0000 -Recall: 0.0000 -F1 Score: 0.0000 -Total Elements: 5 -Matched Elements: 0 +Precision: 0.6000 +Recall: 0.5000 +F1 Score: 0.5455 +Total Elements: 8 +Matched Elements: 3 Metrics for Data properties: Precision: NA @@ -79,23 +79,23 @@ Total Elements: 0 Matched Elements: 0 Overall Metrics (Synthesis): -Precision: 0.0000 -Recall: 0.0000 -F1 Score: 0.0000 +Precision: 0.6000 +Recall: 0.5000 +F1 Score: 0.5455 == Axioms == Metrics for Restriction axioms: Precision: 1.0000 -Recall: 0.6250 -F1 Score: 0.7692 -Total Elements: 8 -Matched Elements: 5 +Recall: 0.9000 +F1 Score: 0.9474 +Total Elements: 10 +Matched Elements: 9 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.6250 -F1 Score: 0.7692 +Recall: 0.9000 +F1 Score: 0.9474 -------------------------------------------------------------------------------- diff --git a/output_reports/report_10.txt b/output_reports/report_10.txt index f31dfc3..26024d5 100644 --- a/output_reports/report_10.txt +++ b/output_reports/report_10.txt @@ -10,15 +10,15 @@ Metrics for Classes: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 15 -Matched Elements: 15 +Total Elements: 8 +Matched Elements: 8 Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 +Total Elements: 2 +Matched Elements: 2 Metrics for Individuals: Precision: 1.0000 @@ -39,27 +39,27 @@ Metrics for Subclass: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 16 -Matched Elements: 16 +Total Elements: 8 +Matched Elements: 8 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 +Total Elements: 2 +Matched Elements: 2 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.9091 -F1 Score: 0.9524 -Total Elements: 11 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 10 Matched Elements: 10 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.9643 -F1 Score: 0.9818 +Recall: 1.0000 +F1 Score: 1.0000 == Non taxonomic relations == @@ -90,8 +90,8 @@ Metrics for Restriction axioms: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 +Total Elements: 1 +Matched Elements: 1 Overall Metrics (Synthesis): Precision: 1.0000 diff --git a/output_reports/report_11.txt b/output_reports/report_11.txt index 039d19a..701c787 100644 --- a/output_reports/report_11.txt +++ b/output_reports/report_11.txt @@ -17,8 +17,8 @@ Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 6 -Matched Elements: 6 +Total Elements: 8 +Matched Elements: 8 Metrics for Individuals: Precision: 1.0000 @@ -46,20 +46,20 @@ Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 6 -Matched Elements: 6 +Total Elements: 8 +Matched Elements: 8 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.6667 -F1 Score: 0.8000 -Total Elements: 3 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 2 Matched Elements: 2 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.9545 -F1 Score: 0.9767 +Recall: 1.0000 +F1 Score: 1.0000 == Non taxonomic relations == @@ -90,8 +90,8 @@ Metrics for Restriction axioms: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 +Total Elements: 5 +Matched Elements: 5 Overall Metrics (Synthesis): Precision: 1.0000 diff --git a/output_reports/report_12.txt b/output_reports/report_12.txt index 85527a0..65bd006 100644 --- a/output_reports/report_12.txt +++ b/output_reports/report_12.txt @@ -7,95 +7,95 @@ Comparing Reference Ontology with Generated Ontology. == Entities == Metrics for Classes: -Precision: 0.9000 -Recall: 0.6923 -F1 Score: 0.7826 -Total Elements: 14 -Matched Elements: 9 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 11 +Matched Elements: 11 Metrics for Object properties: Precision: 1.0000 -Recall: 0.7143 -F1 Score: 0.8333 -Total Elements: 7 -Matched Elements: 5 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 3 +Matched Elements: 3 Metrics for Individuals: -Precision: 0.3333 -Recall: 0.5000 -F1 Score: 0.4000 -Total Elements: 4 -Matched Elements: 1 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 10 +Matched Elements: 10 Overall Metrics (Synthesis): -Precision: 0.8333 -Recall: 0.6818 -F1 Score: 0.7500 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 == Taxonomic relations == Metrics for Subclass: -Precision: 0.7273 -Recall: 0.4706 -F1 Score: 0.5714 -Total Elements: 20 -Matched Elements: 8 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 15 +Matched Elements: 15 Metrics for Subproperty: Precision: 1.0000 -Recall: 0.7143 -F1 Score: 0.8333 -Total Elements: 7 -Matched Elements: 5 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 4 +Matched Elements: 4 Metrics for Instanciation: -Precision: 0.3333 -Recall: 0.5000 -F1 Score: 0.4000 -Total Elements: 8 -Matched Elements: 2 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 23 +Matched Elements: 23 Overall Metrics (Synthesis): -Precision: 0.6818 -Recall: 0.5357 -F1 Score: 0.6000 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 == Non taxonomic relations == Metrics for Object properties: +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 3 +Matched Elements: 3 + +Metrics for Data properties: Precision: NA Recall: NA F1 Score: NA Total Elements: 0 Matched Elements: 0 -Metrics for Data properties: -Precision: 0.0000 -Recall: 0.0000 -F1 Score: 0.0000 -Total Elements: 1 -Matched Elements: 0 - Overall Metrics (Synthesis): -Precision: 0.0000 -Recall: 0.0000 -F1 Score: 0.0000 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 == Axioms == Metrics for Restriction axioms: -Precision: 0.0000 -Recall: 0.0000 -F1 Score: 0.0000 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 Total Elements: 2 -Matched Elements: 0 +Matched Elements: 2 Overall Metrics (Synthesis): -Precision: 0.0000 -Recall: 0.0000 -F1 Score: 0.0000 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 -------------------------------------------------------------------------------- diff --git a/output_reports/report_13.txt b/output_reports/report_13.txt index 66ef00e..c02ce46 100644 --- a/output_reports/report_13.txt +++ b/output_reports/report_13.txt @@ -10,22 +10,22 @@ Metrics for Classes: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 15 -Matched Elements: 15 +Total Elements: 9 +Matched Elements: 9 Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 5 -Matched Elements: 5 +Total Elements: 8 +Matched Elements: 8 Metrics for Individuals: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 +Total Elements: 1 +Matched Elements: 1 Overall Metrics (Synthesis): Precision: 1.0000 @@ -39,27 +39,27 @@ Metrics for Subclass: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 15 -Matched Elements: 15 +Total Elements: 9 +Matched Elements: 9 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 5 -Matched Elements: 5 +Total Elements: 8 +Matched Elements: 8 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.8000 -F1 Score: 0.8889 -Total Elements: 5 -Matched Elements: 4 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 2 +Matched Elements: 2 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.9600 -F1 Score: 0.9796 +Recall: 1.0000 +F1 Score: 1.0000 == Non taxonomic relations == @@ -90,8 +90,8 @@ Metrics for Restriction axioms: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 +Total Elements: 1 +Matched Elements: 1 Overall Metrics (Synthesis): Precision: 1.0000 diff --git a/output_reports/report_14.txt b/output_reports/report_14.txt index bd1f2a5..28cc616 100644 --- a/output_reports/report_14.txt +++ b/output_reports/report_14.txt @@ -17,15 +17,15 @@ Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 4 -Matched Elements: 4 +Total Elements: 5 +Matched Elements: 5 Metrics for Individuals: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 +Total Elements: 4 +Matched Elements: 4 Overall Metrics (Synthesis): Precision: 1.0000 @@ -46,30 +46,30 @@ Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 4 -Matched Elements: 4 +Total Elements: 6 +Matched Elements: 6 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.8000 -F1 Score: 0.8889 -Total Elements: 5 -Matched Elements: 4 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 11 +Matched Elements: 11 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.9412 -F1 Score: 0.9697 +Recall: 1.0000 +F1 Score: 1.0000 == Non taxonomic relations == Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 1 +Matched Elements: 1 Metrics for Data properties: Precision: NA @@ -79,23 +79,23 @@ Total Elements: 0 Matched Elements: 0 Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 == Axioms == Metrics for Restriction axioms: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 1 +Matched Elements: 1 Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 -------------------------------------------------------------------------------- diff --git a/output_reports/report_15.txt b/output_reports/report_15.txt index 8de8ab8..444fc9d 100644 --- a/output_reports/report_15.txt +++ b/output_reports/report_15.txt @@ -10,22 +10,22 @@ Metrics for Classes: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 +Total Elements: 15 +Matched Elements: 15 Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 7 -Matched Elements: 7 +Total Elements: 8 +Matched Elements: 8 Metrics for Individuals: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 +Total Elements: 6 +Matched Elements: 6 Overall Metrics (Synthesis): Precision: 1.0000 @@ -39,37 +39,37 @@ Metrics for Subclass: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 +Total Elements: 15 +Matched Elements: 15 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 7 -Matched Elements: 7 +Total Elements: 8 +Matched Elements: 8 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.8571 -F1 Score: 0.9231 -Total Elements: 7 -Matched Elements: 6 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 23 +Matched Elements: 23 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.9545 -F1 Score: 0.9767 +Recall: 1.0000 +F1 Score: 1.0000 == Non taxonomic relations == Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 4 +Matched Elements: 4 Metrics for Data properties: Precision: NA @@ -79,9 +79,9 @@ Total Elements: 0 Matched Elements: 0 Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 == Axioms == @@ -90,8 +90,8 @@ Metrics for Restriction axioms: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 +Total Elements: 5 +Matched Elements: 5 Overall Metrics (Synthesis): Precision: 1.0000 diff --git a/output_reports/report_16.txt b/output_reports/report_16.txt index 8005e38..1e81707 100644 --- a/output_reports/report_16.txt +++ b/output_reports/report_16.txt @@ -10,22 +10,22 @@ Metrics for Classes: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 6 -Matched Elements: 6 +Total Elements: 7 +Matched Elements: 7 Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 5 -Matched Elements: 5 +Total Elements: 6 +Matched Elements: 6 Metrics for Individuals: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 +Total Elements: 3 +Matched Elements: 3 Overall Metrics (Synthesis): Precision: 1.0000 @@ -39,37 +39,37 @@ Metrics for Subclass: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 6 -Matched Elements: 6 +Total Elements: 7 +Matched Elements: 7 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 5 -Matched Elements: 5 +Total Elements: 6 +Matched Elements: 6 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.8000 -F1 Score: 0.8889 -Total Elements: 5 -Matched Elements: 4 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 10 +Matched Elements: 10 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.9375 -F1 Score: 0.9677 +Recall: 1.0000 +F1 Score: 1.0000 == Non taxonomic relations == Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 2 +Matched Elements: 2 Metrics for Data properties: Precision: NA @@ -79,23 +79,23 @@ Total Elements: 0 Matched Elements: 0 Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 == Axioms == Metrics for Restriction axioms: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 2 +Matched Elements: 2 Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 -------------------------------------------------------------------------------- diff --git a/output_reports/report_17.txt b/output_reports/report_17.txt index cd2042e..25785ee 100644 --- a/output_reports/report_17.txt +++ b/output_reports/report_17.txt @@ -8,68 +8,68 @@ Comparing Reference Ontology with Generated Ontology. Metrics for Classes: Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 11 -Matched Elements: 11 +Recall: 0.6667 +F1 Score: 0.8000 +Total Elements: 15 +Matched Elements: 10 Metrics for Object properties: Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 7 +Recall: 0.7000 +F1 Score: 0.8235 +Total Elements: 10 Matched Elements: 7 Metrics for Individuals: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 +Total Elements: 7 +Matched Elements: 7 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 +Recall: 0.7500 +F1 Score: 0.8571 == Taxonomic relations == Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 11 -Matched Elements: 11 +Precision: 0.8000 +Recall: 0.7273 +F1 Score: 0.7619 +Total Elements: 13 +Matched Elements: 8 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 7 -Matched Elements: 7 +Total Elements: 9 +Matched Elements: 9 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.6667 -F1 Score: 0.8000 -Total Elements: 3 -Matched Elements: 2 +Recall: 0.6923 +F1 Score: 0.8182 +Total Elements: 26 +Matched Elements: 18 Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9524 -F1 Score: 0.9756 +Precision: 0.9459 +Recall: 0.7609 +F1 Score: 0.8434 == Non taxonomic relations == Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 +Precision: 1.0000 +Recall: 0.6667 +F1 Score: 0.8000 +Total Elements: 3 +Matched Elements: 2 Metrics for Data properties: Precision: NA @@ -79,9 +79,9 @@ Total Elements: 0 Matched Elements: 0 Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA +Precision: 1.0000 +Recall: 0.6667 +F1 Score: 0.8000 == Axioms == @@ -90,8 +90,8 @@ Metrics for Restriction axioms: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 +Total Elements: 3 +Matched Elements: 3 Overall Metrics (Synthesis): Precision: 1.0000 diff --git a/output_reports/report_18.txt b/output_reports/report_18.txt index 366ab9f..35a2050 100644 --- a/output_reports/report_18.txt +++ b/output_reports/report_18.txt @@ -10,22 +10,22 @@ Metrics for Classes: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 12 -Matched Elements: 12 +Total Elements: 7 +Matched Elements: 7 Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 +Total Elements: 5 +Matched Elements: 5 Metrics for Individuals: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 +Total Elements: 4 +Matched Elements: 4 Overall Metrics (Synthesis): Precision: 1.0000 @@ -39,27 +39,27 @@ Metrics for Subclass: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 12 -Matched Elements: 12 +Total Elements: 7 +Matched Elements: 7 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 +Total Elements: 5 +Matched Elements: 5 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.8571 -F1 Score: 0.9231 -Total Elements: 7 -Matched Elements: 6 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 9 +Matched Elements: 9 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.9545 -F1 Score: 0.9767 +Recall: 1.0000 +F1 Score: 1.0000 == Non taxonomic relations == @@ -87,15 +87,15 @@ F1 Score: NA == Axioms == Metrics for Restriction axioms: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 +Precision: NA +Recall: NA +F1 Score: NA +Total Elements: 0 +Matched Elements: 0 Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 +Precision: NA +Recall: NA +F1 Score: NA -------------------------------------------------------------------------------- diff --git a/output_reports/report_19.txt b/output_reports/report_19.txt index 0a185b1..e3e09c5 100644 --- a/output_reports/report_19.txt +++ b/output_reports/report_19.txt @@ -10,22 +10,22 @@ Metrics for Classes: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 +Total Elements: 10 +Matched Elements: 10 Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 4 -Matched Elements: 4 +Total Elements: 5 +Matched Elements: 5 Metrics for Individuals: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 +Total Elements: 3 +Matched Elements: 3 Overall Metrics (Synthesis): Precision: 1.0000 @@ -39,37 +39,37 @@ Metrics for Subclass: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 +Total Elements: 10 +Matched Elements: 10 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 4 -Matched Elements: 4 +Total Elements: 5 +Matched Elements: 5 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.8000 -F1 Score: 0.8889 -Total Elements: 5 -Matched Elements: 4 +Recall: 0.9000 +F1 Score: 0.9474 +Total Elements: 10 +Matched Elements: 9 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.9412 -F1 Score: 0.9697 +Recall: 0.9600 +F1 Score: 0.9796 == Non taxonomic relations == Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 1 +Matched Elements: 1 Metrics for Data properties: Precision: NA @@ -79,9 +79,9 @@ Total Elements: 0 Matched Elements: 0 Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 == Axioms == @@ -90,8 +90,8 @@ Metrics for Restriction axioms: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 +Total Elements: 4 +Matched Elements: 4 Overall Metrics (Synthesis): Precision: 1.0000 diff --git a/output_reports/report_2.txt b/output_reports/report_2.txt index 72dc4b9..2bdec5a 100644 --- a/output_reports/report_2.txt +++ b/output_reports/report_2.txt @@ -10,22 +10,22 @@ Metrics for Classes: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 +Total Elements: 11 +Matched Elements: 11 Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 +Total Elements: 3 +Matched Elements: 3 Metrics for Individuals: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 +Total Elements: 10 +Matched Elements: 10 Overall Metrics (Synthesis): Precision: 1.0000 @@ -39,37 +39,37 @@ Metrics for Subclass: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 +Total Elements: 15 +Matched Elements: 15 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 +Total Elements: 4 +Matched Elements: 4 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.6667 -F1 Score: 0.8000 -Total Elements: 3 -Matched Elements: 2 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 23 +Matched Elements: 23 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.8750 -F1 Score: 0.9333 +Recall: 1.0000 +F1 Score: 1.0000 == Non taxonomic relations == Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 3 +Matched Elements: 3 Metrics for Data properties: Precision: NA @@ -79,23 +79,23 @@ Total Elements: 0 Matched Elements: 0 Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 == Axioms == Metrics for Restriction axioms: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 2 +Matched Elements: 2 Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 -------------------------------------------------------------------------------- diff --git a/output_reports/report_20.txt b/output_reports/report_20.txt index 3fc9ad2..4a0ad96 100644 --- a/output_reports/report_20.txt +++ b/output_reports/report_20.txt @@ -10,22 +10,22 @@ Metrics for Classes: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 10 -Matched Elements: 10 +Total Elements: 13 +Matched Elements: 13 Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 +Total Elements: 4 +Matched Elements: 4 Metrics for Individuals: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 6 -Matched Elements: 6 +Total Elements: 9 +Matched Elements: 9 Overall Metrics (Synthesis): Precision: 1.0000 @@ -39,37 +39,37 @@ Metrics for Subclass: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 10 -Matched Elements: 10 +Total Elements: 14 +Matched Elements: 14 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 +Total Elements: 4 +Matched Elements: 4 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.9231 -F1 Score: 0.9600 -Total Elements: 13 -Matched Elements: 12 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 35 +Matched Elements: 35 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.9615 -F1 Score: 0.9804 +Recall: 1.0000 +F1 Score: 1.0000 == Non taxonomic relations == Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 12 +Matched Elements: 12 Metrics for Data properties: Precision: NA @@ -79,23 +79,23 @@ Total Elements: 0 Matched Elements: 0 Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 == Axioms == Metrics for Restriction axioms: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 5 +Matched Elements: 5 Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 -------------------------------------------------------------------------------- diff --git a/output_reports/report_21.txt b/output_reports/report_21.txt index e117bff..20de0b0 100644 --- a/output_reports/report_21.txt +++ b/output_reports/report_21.txt @@ -24,8 +24,8 @@ Metrics for Individuals: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 +Total Elements: 4 +Matched Elements: 4 Overall Metrics (Synthesis): Precision: 1.0000 @@ -39,27 +39,27 @@ Metrics for Subclass: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 10 -Matched Elements: 10 +Total Elements: 12 +Matched Elements: 12 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 +Total Elements: 3 +Matched Elements: 3 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.8000 -F1 Score: 0.8889 -Total Elements: 5 -Matched Elements: 4 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 8 +Matched Elements: 8 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.9412 -F1 Score: 0.9697 +Recall: 1.0000 +F1 Score: 1.0000 == Non taxonomic relations == @@ -90,8 +90,8 @@ Metrics for Restriction axioms: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 +Total Elements: 4 +Matched Elements: 4 Overall Metrics (Synthesis): Precision: 1.0000 diff --git a/output_reports/report_22.txt b/output_reports/report_22.txt index 78800e9..95350a5 100644 --- a/output_reports/report_22.txt +++ b/output_reports/report_22.txt @@ -10,22 +10,22 @@ Metrics for Classes: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 20 -Matched Elements: 20 +Total Elements: 19 +Matched Elements: 19 Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 6 -Matched Elements: 6 +Total Elements: 8 +Matched Elements: 8 Metrics for Individuals: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 6 -Matched Elements: 6 +Total Elements: 7 +Matched Elements: 7 Overall Metrics (Synthesis): Precision: 1.0000 @@ -39,37 +39,37 @@ Metrics for Subclass: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 20 -Matched Elements: 20 +Total Elements: 19 +Matched Elements: 19 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 6 -Matched Elements: 6 +Total Elements: 8 +Matched Elements: 8 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.9231 -F1 Score: 0.9600 -Total Elements: 13 -Matched Elements: 12 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 21 +Matched Elements: 21 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.9744 -F1 Score: 0.9870 +Recall: 1.0000 +F1 Score: 1.0000 == Non taxonomic relations == Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 2 +Matched Elements: 2 Metrics for Data properties: Precision: NA @@ -79,9 +79,9 @@ Total Elements: 0 Matched Elements: 0 Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 == Axioms == @@ -90,8 +90,8 @@ Metrics for Restriction axioms: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 4 -Matched Elements: 4 +Total Elements: 5 +Matched Elements: 5 Overall Metrics (Synthesis): Precision: 1.0000 diff --git a/output_reports/report_23.txt b/output_reports/report_23.txt index e476c8c..e8e4a00 100644 --- a/output_reports/report_23.txt +++ b/output_reports/report_23.txt @@ -10,15 +10,15 @@ Metrics for Classes: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 +Total Elements: 6 +Matched Elements: 6 Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 5 -Matched Elements: 5 +Total Elements: 7 +Matched Elements: 7 Metrics for Individuals: Precision: 1.0000 @@ -39,37 +39,37 @@ Metrics for Subclass: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 +Total Elements: 6 +Matched Elements: 6 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 5 -Matched Elements: 5 +Total Elements: 7 +Matched Elements: 7 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.8750 -F1 Score: 0.9333 +Recall: 1.0000 +F1 Score: 1.0000 Total Elements: 8 -Matched Elements: 7 +Matched Elements: 8 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.9524 -F1 Score: 0.9756 +Recall: 1.0000 +F1 Score: 1.0000 == Non taxonomic relations == Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 1 +Matched Elements: 1 Metrics for Data properties: Precision: NA @@ -79,9 +79,9 @@ Total Elements: 0 Matched Elements: 0 Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 == Axioms == diff --git a/output_reports/report_3.txt b/output_reports/report_3.txt index 28d49ac..5125b5f 100644 --- a/output_reports/report_3.txt +++ b/output_reports/report_3.txt @@ -8,68 +8,68 @@ Comparing Reference Ontology with Generated Ontology. Metrics for Classes: Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 13 -Matched Elements: 13 +Recall: 0.6250 +F1 Score: 0.7692 +Total Elements: 16 +Matched Elements: 10 Metrics for Object properties: Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 5 -Matched Elements: 5 +Recall: 0.7000 +F1 Score: 0.8235 +Total Elements: 10 +Matched Elements: 7 Metrics for Individuals: Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 4 -Matched Elements: 4 +Recall: 0.8750 +F1 Score: 0.9333 +Total Elements: 8 +Matched Elements: 7 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 +Recall: 0.7059 +F1 Score: 0.8276 == Taxonomic relations == Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 13 -Matched Elements: 13 +Precision: 0.7000 +Recall: 0.5000 +F1 Score: 0.5833 +Total Elements: 17 +Matched Elements: 7 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 5 -Matched Elements: 5 +Total Elements: 9 +Matched Elements: 9 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.8889 -F1 Score: 0.9412 -Total Elements: 9 -Matched Elements: 8 +Recall: 0.5625 +F1 Score: 0.7200 +Total Elements: 32 +Matched Elements: 18 Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9630 -F1 Score: 0.9811 +Precision: 0.9189 +Recall: 0.6182 +F1 Score: 0.7391 == Non taxonomic relations == Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 +Precision: 1.0000 +Recall: 0.4000 +F1 Score: 0.5714 +Total Elements: 5 +Matched Elements: 2 Metrics for Data properties: Precision: NA @@ -79,23 +79,23 @@ Total Elements: 0 Matched Elements: 0 Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA +Precision: 1.0000 +Recall: 0.4000 +F1 Score: 0.5714 == Axioms == Metrics for Restriction axioms: Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 +Recall: 0.7500 +F1 Score: 0.8571 +Total Elements: 4 +Matched Elements: 3 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 +Recall: 0.7500 +F1 Score: 0.8571 -------------------------------------------------------------------------------- diff --git a/output_reports/report_4.txt b/output_reports/report_4.txt index f8e0c2b..34a58aa 100644 --- a/output_reports/report_4.txt +++ b/output_reports/report_4.txt @@ -10,22 +10,22 @@ Metrics for Classes: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 11 -Matched Elements: 11 +Total Elements: 10 +Matched Elements: 10 Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 7 -Matched Elements: 7 +Total Elements: 8 +Matched Elements: 8 Metrics for Individuals: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 4 -Matched Elements: 4 +Total Elements: 5 +Matched Elements: 5 Overall Metrics (Synthesis): Precision: 1.0000 @@ -39,27 +39,27 @@ Metrics for Subclass: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 12 -Matched Elements: 12 +Total Elements: 11 +Matched Elements: 11 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 7 -Matched Elements: 7 +Total Elements: 9 +Matched Elements: 9 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.8889 -F1 Score: 0.9412 -Total Elements: 9 -Matched Elements: 8 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 12 +Matched Elements: 12 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.9643 -F1 Score: 0.9818 +Recall: 1.0000 +F1 Score: 1.0000 == Non taxonomic relations == diff --git a/output_reports/report_5.txt b/output_reports/report_5.txt index 840ab50..52e49ed 100644 --- a/output_reports/report_5.txt +++ b/output_reports/report_5.txt @@ -10,15 +10,15 @@ Metrics for Classes: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 13 -Matched Elements: 13 +Total Elements: 11 +Matched Elements: 11 Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 +Total Elements: 5 +Matched Elements: 5 Metrics for Individuals: Precision: 1.0000 @@ -39,27 +39,27 @@ Metrics for Subclass: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 13 -Matched Elements: 13 +Total Elements: 11 +Matched Elements: 11 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 +Total Elements: 5 +Matched Elements: 5 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.6667 -F1 Score: 0.8000 -Total Elements: 3 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 2 Matched Elements: 2 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.9474 -F1 Score: 0.9730 +Recall: 1.0000 +F1 Score: 1.0000 == Non taxonomic relations == diff --git a/output_reports/report_6.txt b/output_reports/report_6.txt index 2bfd1c9..59c44f6 100644 --- a/output_reports/report_6.txt +++ b/output_reports/report_6.txt @@ -10,15 +10,15 @@ Metrics for Classes: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 7 -Matched Elements: 7 +Total Elements: 5 +Matched Elements: 5 Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 +Total Elements: 2 +Matched Elements: 2 Metrics for Individuals: Precision: 1.0000 @@ -39,27 +39,27 @@ Metrics for Subclass: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 7 -Matched Elements: 7 +Total Elements: 5 +Matched Elements: 5 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 +Total Elements: 2 +Matched Elements: 2 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.8000 -F1 Score: 0.8889 -Total Elements: 5 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 4 Matched Elements: 4 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.9231 -F1 Score: 0.9600 +Recall: 1.0000 +F1 Score: 1.0000 == Non taxonomic relations == diff --git a/output_reports/report_7.txt b/output_reports/report_7.txt index 51e25ce..54ebf13 100644 --- a/output_reports/report_7.txt +++ b/output_reports/report_7.txt @@ -10,22 +10,22 @@ Metrics for Classes: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 +Total Elements: 10 +Matched Elements: 10 Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 +Total Elements: 4 +Matched Elements: 4 Metrics for Individuals: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 10 -Matched Elements: 10 +Total Elements: 13 +Matched Elements: 13 Overall Metrics (Synthesis): Precision: 1.0000 @@ -39,37 +39,37 @@ Metrics for Subclass: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 +Total Elements: 10 +Matched Elements: 10 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 +Total Elements: 5 +Matched Elements: 5 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.9524 -F1 Score: 0.9756 -Total Elements: 21 -Matched Elements: 20 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 46 +Matched Elements: 46 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.9688 -F1 Score: 0.9841 +Recall: 1.0000 +F1 Score: 1.0000 == Non taxonomic relations == Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 9 +Matched Elements: 9 Metrics for Data properties: Precision: NA @@ -79,23 +79,23 @@ Total Elements: 0 Matched Elements: 0 Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 == Axioms == Metrics for Restriction axioms: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 3 +Matched Elements: 3 Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 -------------------------------------------------------------------------------- diff --git a/output_reports/report_8.txt b/output_reports/report_8.txt index 3fcde81..3800f2e 100644 --- a/output_reports/report_8.txt +++ b/output_reports/report_8.txt @@ -10,15 +10,15 @@ Metrics for Classes: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 20 -Matched Elements: 20 +Total Elements: 14 +Matched Elements: 14 Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 +Total Elements: 5 +Matched Elements: 5 Metrics for Individuals: Precision: 1.0000 @@ -39,27 +39,27 @@ Metrics for Subclass: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 20 -Matched Elements: 20 +Total Elements: 14 +Matched Elements: 14 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 +Total Elements: 5 +Matched Elements: 5 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.9091 -F1 Score: 0.9524 -Total Elements: 11 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 10 Matched Elements: 10 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.9706 -F1 Score: 0.9851 +Recall: 1.0000 +F1 Score: 1.0000 == Non taxonomic relations == @@ -90,8 +90,8 @@ Metrics for Restriction axioms: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 +Total Elements: 3 +Matched Elements: 3 Overall Metrics (Synthesis): Precision: 1.0000 diff --git a/output_reports/report_9.txt b/output_reports/report_9.txt index d2e8b04..af54380 100644 --- a/output_reports/report_9.txt +++ b/output_reports/report_9.txt @@ -10,22 +10,22 @@ Metrics for Classes: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 14 -Matched Elements: 14 +Total Elements: 16 +Matched Elements: 16 Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 7 -Matched Elements: 7 +Total Elements: 6 +Matched Elements: 6 Metrics for Individuals: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 +Total Elements: 5 +Matched Elements: 5 Overall Metrics (Synthesis): Precision: 1.0000 @@ -39,8 +39,8 @@ Metrics for Subclass: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 14 -Matched Elements: 14 +Total Elements: 16 +Matched Elements: 16 Metrics for Subproperty: Precision: 1.0000 @@ -51,15 +51,15 @@ Matched Elements: 7 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.6667 -F1 Score: 0.8000 -Total Elements: 3 -Matched Elements: 2 +Recall: 1.0000 +F1 Score: 1.0000 +Total Elements: 10 +Matched Elements: 10 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.9583 -F1 Score: 0.9787 +Recall: 1.0000 +F1 Score: 1.0000 == Non taxonomic relations == @@ -90,8 +90,8 @@ Metrics for Restriction axioms: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 4 -Matched Elements: 4 +Total Elements: 8 +Matched Elements: 8 Overall Metrics (Synthesis): Precision: 1.0000 diff --git a/output_reports/summary_report.txt b/output_reports/summary_report.txt index bc6837a..204ed56 100644 --- a/output_reports/summary_report.txt +++ b/output_reports/summary_report.txt @@ -1,5 +1,72 @@ Summary Report for All Ontologies ================================================================================ +Overall Statistics: +entities - classes: + Precision: 1.0000 + Recall: 0.8293 + F1 Score: 0.9067 +---------------------------------------- +entities - object_properties: + Precision: 1.0000 + Recall: 0.8636 + F1 Score: 0.9268 +---------------------------------------- +entities - individuals: + Precision: 1.0000 + Recall: 0.9130 + F1 Score: 0.9545 +---------------------------------------- +entities - synthesis: + Precision: 1.0000 + Recall: 0.8605 + F1 Score: 0.9250 +---------------------------------------- +taxonomic_relations - subclass: + Precision: 0.8684 + Recall: 0.7674 + F1 Score: 0.8148 +---------------------------------------- +taxonomic_relations - subproperty: + Precision: 1.0000 + Recall: 1.0000 + F1 Score: 1.0000 +---------------------------------------- +taxonomic_relations - instanciation: + Precision: 0.9836 + Recall: 0.7692 + F1 Score: 0.8633 +---------------------------------------- +taxonomic_relations - synthesis: + Precision: 0.9504 + Recall: 0.8042 + F1 Score: 0.8712 +---------------------------------------- +non_taxonomic_relations - object_properties: + Precision: 0.8000 + Recall: 0.5714 + F1 Score: 0.6667 +---------------------------------------- +non_taxonomic_relations - data_properties: + Precision: N/A + Recall: N/A + F1 Score: N/A +---------------------------------------- +non_taxonomic_relations - synthesis: + Precision: 0.8000 + Recall: 0.5714 + F1 Score: 0.6667 +---------------------------------------- +axioms - restriction_axioms: + Precision: 1.0000 + Recall: 0.8750 + F1 Score: 0.9333 +---------------------------------------- +axioms - synthesis: + Precision: 1.0000 + Recall: 0.8750 + F1 Score: 0.9333 +---------------------------------------- +Detailed Results: Metrics for Ontology Pair 1: === Ontology Evaluation Report === @@ -10,68 +77,68 @@ Comparing Reference Ontology with Generated Ontology. Metrics for Classes: Precision: 1.0000 -Recall: 0.7500 -F1 Score: 0.8571 -Total Elements: 12 -Matched Elements: 9 +Recall: 0.9286 +F1 Score: 0.9630 +Total Elements: 14 +Matched Elements: 13 Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 +Total Elements: 9 +Matched Elements: 9 Metrics for Individuals: -Precision: 0.2500 -Recall: 1.0000 -F1 Score: 0.4000 -Total Elements: 4 -Matched Elements: 1 +Precision: 1.0000 +Recall: 0.8000 +F1 Score: 0.8889 +Total Elements: 5 +Matched Elements: 4 Overall Metrics (Synthesis): -Precision: 0.8571 -Recall: 0.8571 -F1 Score: 0.8571 +Precision: 1.0000 +Recall: 0.9286 +F1 Score: 0.9630 == Taxonomic relations == Metrics for Subclass: -Precision: 0.7000 -Recall: 0.5833 -F1 Score: 0.6364 -Total Elements: 15 -Matched Elements: 7 +Precision: 0.8462 +Recall: 0.7857 +F1 Score: 0.8148 +Total Elements: 16 +Matched Elements: 11 Metrics for Subproperty: Precision: 1.0000 -Recall: 0.8889 -F1 Score: 0.9412 +Recall: 1.0000 +F1 Score: 1.0000 Total Elements: 9 -Matched Elements: 8 +Matched Elements: 9 Metrics for Instanciation: -Precision: 0.2500 -Recall: 0.5000 -F1 Score: 0.3333 -Total Elements: 15 -Matched Elements: 3 +Precision: 0.9500 +Recall: 0.8261 +F1 Score: 0.8837 +Total Elements: 24 +Matched Elements: 19 Overall Metrics (Synthesis): -Precision: 0.6000 -Recall: 0.6667 -F1 Score: 0.6316 +Precision: 0.9286 +Recall: 0.8478 +F1 Score: 0.8864 == Non taxonomic relations == Metrics for Object properties: -Precision: 0.0000 -Recall: 0.0000 -F1 Score: 0.0000 -Total Elements: 5 -Matched Elements: 0 +Precision: 0.6000 +Recall: 0.5000 +F1 Score: 0.5455 +Total Elements: 8 +Matched Elements: 3 Metrics for Data properties: Precision: NA @@ -81,24 +148,24 @@ Total Elements: 0 Matched Elements: 0 Overall Metrics (Synthesis): -Precision: 0.0000 -Recall: 0.0000 -F1 Score: 0.0000 +Precision: 0.6000 +Recall: 0.5000 +F1 Score: 0.5455 == Axioms == Metrics for Restriction axioms: Precision: 1.0000 -Recall: 0.6250 -F1 Score: 0.7692 -Total Elements: 8 -Matched Elements: 5 +Recall: 0.9000 +F1 Score: 0.9474 +Total Elements: 10 +Matched Elements: 9 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 0.6250 -F1 Score: 0.7692 +Recall: 0.9000 +F1 Score: 0.9474 -------------------------------------------------------------------------------- Metrics for Ontology Pair 2: @@ -113,22 +180,22 @@ Metrics for Classes: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 +Total Elements: 11 +Matched Elements: 11 Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 +Total Elements: 3 +Matched Elements: 3 Metrics for Individuals: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 +Total Elements: 10 +Matched Elements: 10 Overall Metrics (Synthesis): Precision: 1.0000 @@ -142,94 +209,22 @@ Metrics for Subclass: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 +Total Elements: 15 +Matched Elements: 15 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 +Total Elements: 4 +Matched Elements: 4 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.6667 -F1 Score: 0.8000 -Total Elements: 3 -Matched Elements: 2 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.8750 -F1 Score: 0.9333 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - - -== Axioms == - -Metrics for Restriction axioms: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 3: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 13 -Matched Elements: 13 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 5 -Matched Elements: 5 - -Metrics for Individuals: -Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 4 -Matched Elements: 4 +Total Elements: 23 +Matched Elements: 23 Overall Metrics (Synthesis): Precision: 1.0000 @@ -237,43 +232,14 @@ Recall: 1.0000 F1 Score: 1.0000 -== Taxonomic relations == - -Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 13 -Matched Elements: 13 +== Non taxonomic relations == -Metrics for Subproperty: +Metrics for Object properties: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 5 -Matched Elements: 5 - -Metrics for Instanciation: -Precision: 1.0000 -Recall: 0.8889 -F1 Score: 0.9412 -Total Elements: 9 -Matched Elements: 8 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9630 -F1 Score: 0.9811 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 +Total Elements: 3 +Matched Elements: 3 Metrics for Data properties: Precision: NA @@ -283,9 +249,9 @@ Total Elements: 0 Matched Elements: 0 Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA +Precision: 1.0000 +Recall: 1.0000 +F1 Score: 1.0000 == Axioms == @@ -303,7 +269,7 @@ Recall: 1.0000 F1 Score: 1.0000 -------------------------------------------------------------------------------- -Metrics for Ontology Pair 4: +Metrics for Ontology Pair 3: === Ontology Evaluation Report === Comparing Reference Ontology with Generated Ontology. @@ -313,68 +279,68 @@ Comparing Reference Ontology with Generated Ontology. Metrics for Classes: Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 11 -Matched Elements: 11 +Recall: 0.6250 +F1 Score: 0.7692 +Total Elements: 16 +Matched Elements: 10 Metrics for Object properties: Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 7 +Recall: 0.7000 +F1 Score: 0.8235 +Total Elements: 10 Matched Elements: 7 Metrics for Individuals: Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 4 -Matched Elements: 4 +Recall: 0.8750 +F1 Score: 0.9333 +Total Elements: 8 +Matched Elements: 7 Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 +Recall: 0.7059 +F1 Score: 0.8276 == Taxonomic relations == Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 12 -Matched Elements: 12 +Precision: 0.7000 +Recall: 0.5000 +F1 Score: 0.5833 +Total Elements: 17 +Matched Elements: 7 Metrics for Subproperty: Precision: 1.0000 Recall: 1.0000 F1 Score: 1.0000 -Total Elements: 7 -Matched Elements: 7 +Total Elements: 9 +Matched Elements: 9 Metrics for Instanciation: Precision: 1.0000 -Recall: 0.8889 -F1 Score: 0.9412 -Total Elements: 9 -Matched Elements: 8 +Recall: 0.5625 +F1 Score: 0.7200 +Total Elements: 32 +Matched Elements: 18 Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9643 -F1 Score: 0.9818 +Precision: 0.9189 +Recall: 0.6182 +F1 Score: 0.7391 == Non taxonomic relations == Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 +Precision: 1.0000 +Recall: 0.4000 +F1 Score: 0.5714 +Total Elements: 5 +Matched Elements: 2 Metrics for Data properties: Precision: NA @@ -384,1942 +350,23 @@ Total Elements: 0 Matched Elements: 0 Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA +Precision: 1.0000 +Recall: 0.4000 +F1 Score: 0.5714 == Axioms == Metrics for Restriction axioms: Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 5: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 13 -Matched Elements: 13 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 3 +Recall: 0.7500 +F1 Score: 0.8571 +Total Elements: 4 Matched Elements: 3 -Metrics for Individuals: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 - Overall Metrics (Synthesis): Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - - -== Taxonomic relations == - -Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 13 -Matched Elements: 13 - -Metrics for Subproperty: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 - -Metrics for Instanciation: -Precision: 1.0000 -Recall: 0.6667 -F1 Score: 0.8000 -Total Elements: 3 -Matched Elements: 2 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9474 -F1 Score: 0.9730 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - - -== Axioms == - -Metrics for Restriction axioms: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 6: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 7 -Matched Elements: 7 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 - -Metrics for Individuals: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - - -== Taxonomic relations == - -Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 7 -Matched Elements: 7 - -Metrics for Subproperty: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 - -Metrics for Instanciation: -Precision: 1.0000 -Recall: 0.8000 -F1 Score: 0.8889 -Total Elements: 5 -Matched Elements: 4 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9231 -F1 Score: 0.9600 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - - -== Axioms == - -Metrics for Restriction axioms: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 7: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 - -Metrics for Individuals: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 10 -Matched Elements: 10 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - - -== Taxonomic relations == - -Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 - -Metrics for Subproperty: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 - -Metrics for Instanciation: -Precision: 1.0000 -Recall: 0.9524 -F1 Score: 0.9756 -Total Elements: 21 -Matched Elements: 20 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9688 -F1 Score: 0.9841 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - - -== Axioms == - -Metrics for Restriction axioms: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 8: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 20 -Matched Elements: 20 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 - -Metrics for Individuals: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 5 -Matched Elements: 5 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - - -== Taxonomic relations == - -Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 20 -Matched Elements: 20 - -Metrics for Subproperty: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 - -Metrics for Instanciation: -Precision: 1.0000 -Recall: 0.9091 -F1 Score: 0.9524 -Total Elements: 11 -Matched Elements: 10 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9706 -F1 Score: 0.9851 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - - -== Axioms == - -Metrics for Restriction axioms: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 9: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 14 -Matched Elements: 14 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 7 -Matched Elements: 7 - -Metrics for Individuals: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - - -== Taxonomic relations == - -Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 14 -Matched Elements: 14 - -Metrics for Subproperty: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 7 -Matched Elements: 7 - -Metrics for Instanciation: -Precision: 1.0000 -Recall: 0.6667 -F1 Score: 0.8000 -Total Elements: 3 -Matched Elements: 2 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9583 -F1 Score: 0.9787 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - - -== Axioms == - -Metrics for Restriction axioms: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 4 -Matched Elements: 4 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 10: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 15 -Matched Elements: 15 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 - -Metrics for Individuals: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 5 -Matched Elements: 5 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - - -== Taxonomic relations == - -Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 16 -Matched Elements: 16 - -Metrics for Subproperty: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 - -Metrics for Instanciation: -Precision: 1.0000 -Recall: 0.9091 -F1 Score: 0.9524 -Total Elements: 11 -Matched Elements: 10 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9643 -F1 Score: 0.9818 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - - -== Axioms == - -Metrics for Restriction axioms: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 11: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 13 -Matched Elements: 13 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 6 -Matched Elements: 6 - -Metrics for Individuals: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - - -== Taxonomic relations == - -Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 13 -Matched Elements: 13 - -Metrics for Subproperty: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 6 -Matched Elements: 6 - -Metrics for Instanciation: -Precision: 1.0000 -Recall: 0.6667 -F1 Score: 0.8000 -Total Elements: 3 -Matched Elements: 2 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9545 -F1 Score: 0.9767 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - - -== Axioms == - -Metrics for Restriction axioms: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 12: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 0.9000 -Recall: 0.6923 -F1 Score: 0.7826 -Total Elements: 14 -Matched Elements: 9 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 0.7143 -F1 Score: 0.8333 -Total Elements: 7 -Matched Elements: 5 - -Metrics for Individuals: -Precision: 0.3333 -Recall: 0.5000 -F1 Score: 0.4000 -Total Elements: 4 -Matched Elements: 1 - -Overall Metrics (Synthesis): -Precision: 0.8333 -Recall: 0.6818 -F1 Score: 0.7500 - - -== Taxonomic relations == - -Metrics for Subclass: -Precision: 0.7273 -Recall: 0.4706 -F1 Score: 0.5714 -Total Elements: 20 -Matched Elements: 8 - -Metrics for Subproperty: -Precision: 1.0000 -Recall: 0.7143 -F1 Score: 0.8333 -Total Elements: 7 -Matched Elements: 5 - -Metrics for Instanciation: -Precision: 0.3333 -Recall: 0.5000 -F1 Score: 0.4000 -Total Elements: 8 -Matched Elements: 2 - -Overall Metrics (Synthesis): -Precision: 0.6818 -Recall: 0.5357 -F1 Score: 0.6000 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: 0.0000 -Recall: 0.0000 -F1 Score: 0.0000 -Total Elements: 1 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: 0.0000 -Recall: 0.0000 -F1 Score: 0.0000 - - -== Axioms == - -Metrics for Restriction axioms: -Precision: 0.0000 -Recall: 0.0000 -F1 Score: 0.0000 -Total Elements: 2 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: 0.0000 -Recall: 0.0000 -F1 Score: 0.0000 - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 13: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 15 -Matched Elements: 15 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 5 -Matched Elements: 5 - -Metrics for Individuals: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - - -== Taxonomic relations == - -Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 15 -Matched Elements: 15 - -Metrics for Subproperty: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 5 -Matched Elements: 5 - -Metrics for Instanciation: -Precision: 1.0000 -Recall: 0.8000 -F1 Score: 0.8889 -Total Elements: 5 -Matched Elements: 4 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9600 -F1 Score: 0.9796 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - - -== Axioms == - -Metrics for Restriction axioms: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 14: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 4 -Matched Elements: 4 - -Metrics for Individuals: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - - -== Taxonomic relations == - -Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 - -Metrics for Subproperty: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 4 -Matched Elements: 4 - -Metrics for Instanciation: -Precision: 1.0000 -Recall: 0.8000 -F1 Score: 0.8889 -Total Elements: 5 -Matched Elements: 4 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9412 -F1 Score: 0.9697 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - - -== Axioms == - -Metrics for Restriction axioms: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 15: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 7 -Matched Elements: 7 - -Metrics for Individuals: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - - -== Taxonomic relations == - -Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 - -Metrics for Subproperty: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 7 -Matched Elements: 7 - -Metrics for Instanciation: -Precision: 1.0000 -Recall: 0.8571 -F1 Score: 0.9231 -Total Elements: 7 -Matched Elements: 6 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9545 -F1 Score: 0.9767 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - - -== Axioms == - -Metrics for Restriction axioms: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 16: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 6 -Matched Elements: 6 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 5 -Matched Elements: 5 - -Metrics for Individuals: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - - -== Taxonomic relations == - -Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 6 -Matched Elements: 6 - -Metrics for Subproperty: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 5 -Matched Elements: 5 - -Metrics for Instanciation: -Precision: 1.0000 -Recall: 0.8000 -F1 Score: 0.8889 -Total Elements: 5 -Matched Elements: 4 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9375 -F1 Score: 0.9677 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - - -== Axioms == - -Metrics for Restriction axioms: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 17: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 11 -Matched Elements: 11 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 7 -Matched Elements: 7 - -Metrics for Individuals: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - - -== Taxonomic relations == - -Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 11 -Matched Elements: 11 - -Metrics for Subproperty: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 7 -Matched Elements: 7 - -Metrics for Instanciation: -Precision: 1.0000 -Recall: 0.6667 -F1 Score: 0.8000 -Total Elements: 3 -Matched Elements: 2 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9524 -F1 Score: 0.9756 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - - -== Axioms == - -Metrics for Restriction axioms: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 18: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 12 -Matched Elements: 12 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 - -Metrics for Individuals: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - - -== Taxonomic relations == - -Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 12 -Matched Elements: 12 - -Metrics for Subproperty: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 - -Metrics for Instanciation: -Precision: 1.0000 -Recall: 0.8571 -F1 Score: 0.9231 -Total Elements: 7 -Matched Elements: 6 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9545 -F1 Score: 0.9767 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - - -== Axioms == - -Metrics for Restriction axioms: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 19: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 4 -Matched Elements: 4 - -Metrics for Individuals: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - - -== Taxonomic relations == - -Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 - -Metrics for Subproperty: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 4 -Matched Elements: 4 - -Metrics for Instanciation: -Precision: 1.0000 -Recall: 0.8000 -F1 Score: 0.8889 -Total Elements: 5 -Matched Elements: 4 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9412 -F1 Score: 0.9697 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - - -== Axioms == - -Metrics for Restriction axioms: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 20: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 10 -Matched Elements: 10 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 - -Metrics for Individuals: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 6 -Matched Elements: 6 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - - -== Taxonomic relations == - -Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 10 -Matched Elements: 10 - -Metrics for Subproperty: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 - -Metrics for Instanciation: -Precision: 1.0000 -Recall: 0.9231 -F1 Score: 0.9600 -Total Elements: 13 -Matched Elements: 12 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9615 -F1 Score: 0.9804 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - - -== Axioms == - -Metrics for Restriction axioms: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 21: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 10 -Matched Elements: 10 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 - -Metrics for Individuals: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - - -== Taxonomic relations == - -Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 10 -Matched Elements: 10 - -Metrics for Subproperty: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 2 -Matched Elements: 2 - -Metrics for Instanciation: -Precision: 1.0000 -Recall: 0.8000 -F1 Score: 0.8889 -Total Elements: 5 -Matched Elements: 4 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9412 -F1 Score: 0.9697 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - - -== Axioms == - -Metrics for Restriction axioms: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 22: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 20 -Matched Elements: 20 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 6 -Matched Elements: 6 - -Metrics for Individuals: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 6 -Matched Elements: 6 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - - -== Taxonomic relations == - -Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 20 -Matched Elements: 20 - -Metrics for Subproperty: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 6 -Matched Elements: 6 - -Metrics for Instanciation: -Precision: 1.0000 -Recall: 0.9231 -F1 Score: 0.9600 -Total Elements: 13 -Matched Elements: 12 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9744 -F1 Score: 0.9870 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - - -== Axioms == - -Metrics for Restriction axioms: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 4 -Matched Elements: 4 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - --------------------------------------------------------------------------------- -Metrics for Ontology Pair 23: -=== Ontology Evaluation Report === - -Comparing Reference Ontology with Generated Ontology. - - -== Entities == - -Metrics for Classes: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 - -Metrics for Object properties: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 5 -Matched Elements: 5 - -Metrics for Individuals: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 3 -Matched Elements: 3 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 - - -== Taxonomic relations == - -Metrics for Subclass: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 8 -Matched Elements: 8 - -Metrics for Subproperty: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 5 -Matched Elements: 5 - -Metrics for Instanciation: -Precision: 1.0000 -Recall: 0.8750 -F1 Score: 0.9333 -Total Elements: 8 -Matched Elements: 7 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 0.9524 -F1 Score: 0.9756 - - -== Non taxonomic relations == - -Metrics for Object properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Metrics for Data properties: -Precision: NA -Recall: NA -F1 Score: NA -Total Elements: 0 -Matched Elements: 0 - -Overall Metrics (Synthesis): -Precision: NA -Recall: NA -F1 Score: NA - - -== Axioms == - -Metrics for Restriction axioms: -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 -Total Elements: 1 -Matched Elements: 1 - -Overall Metrics (Synthesis): -Precision: 1.0000 -Recall: 1.0000 -F1 Score: 1.0000 +Recall: 0.7500 +F1 Score: 0.8571 -------------------------------------------------------------------------------- diff --git a/tests/test_metric_score.py b/tests/test_metric_score.py new file mode 100644 index 0000000..4310b03 --- /dev/null +++ b/tests/test_metric_score.py @@ -0,0 +1,44 @@ +# test_metric_score.py + +import unittest + +from context import ontoScorer +from ontoScorer.metric_score import Score + +class TestScore(unittest.TestCase): + + def setUp(self): + self.score = Score() + self.y_true = [1, 0, 1, 0, 1] + self.y_pred = [1, 0, 1, 1, 0] + + def test_compute(self): + self.score.compute(self.y_true, self.y_pred) + self.assertAlmostEqual(self.score.precision, 0.6666666666666666) # 2/3 + self.assertAlmostEqual(self.score.recall, 0.6666666666666666) # 2/3 + self.assertAlmostEqual(self.score.f1, 0.6666666666666666) # 2/3 + self.assertEqual(self.score.total_elements, 5) + self.assertEqual(self.score.matched_elements, 3) + + def test_aggregate_f1(self): + scores = [Score() for _ in range(3)] + + # Generating some scores + y_trues = [[1, 0, 1], [0, 1], [1, 1, 0]] + y_preds = [[1, 0, 0], [0, 0], [0, 1, 1]] + + for idx, score in enumerate(scores): + score.compute(y_trues[idx], y_preds[idx]) + + aggregated_score = Score.aggregate_f1(scores) + + # The aggregated values here are based on the y_trues and y_preds data + # These should be checked if the y_true and y_pred data is modified. + self.assertAlmostEqual(aggregated_score.precision, 0.6666666666666666) # 2/3 + self.assertAlmostEqual(aggregated_score.recall, 0.4) # 2/5 + self.assertAlmostEqual(aggregated_score.f1, 0.5) # Harmonic mean of 0.66 and 0.4 + + + +if __name__ == "__main__": + unittest.main() diff --git a/tests/test_scorer.py b/tests/test_scorer_batch.py similarity index 100% rename from tests/test_scorer.py rename to tests/test_scorer_batch.py -- GitLab