From f7b358a052cfd23e7b1485696610ea0605bfe780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Lamercerie?= <aurelien.lamercerie@tetras-libre.fr> Date: Thu, 20 Apr 2023 18:16:11 +0200 Subject: [PATCH] New AMR Rule: transduction.phenomena_modality_classifier --- tenet/scheme/amr_clara_rule/__init__.py | 2 + .../transduction/action_property_extractor.py | 2 +- .../transduction/odrl_action_extractor.py | 2 +- .../transduction/odrl_rule_extractor.py | 1 - .../phenomena_modality_classifier.py | 79 ++ tenet/scheme/amr_scheme_clara_1.py | 10 +- tenet/structure/odrl-snet-schema.ttl | 5 + tenet/tenet.log | 1213 +++++++++-------- tenet/transduction/net/__init__.py | 2 + .../net/modality_phenomena_net.py | 34 + ...-property-extraction-devGraph-1.result.ttl | 85 +- .../test_data/modality-devGraph-1.result.ttl | 1023 ++++++++++++++ .../test_data/modality-devGraph-1.ttl | 1021 ++++++++++++++ .../test_data/negation-devGraph-1.result.ttl | 108 +- .../odrl-action-devGraph-1.result.ttl | 94 +- .../odrl-action-devGraph-2.result.ttl | 99 +- .../odrl-action-devGraph-3.result.ttl | 106 +- .../test_rule_phenomena_classifier.py | 141 ++ .../dev_tests/test_rule_phenomena_polarity.py | 158 +-- 19 files changed, 3161 insertions(+), 1024 deletions(-) create mode 100644 tenet/scheme/amr_clara_rule/transduction/phenomena_modality_classifier.py create mode 100644 tenet/transduction/net/modality_phenomena_net.py create mode 100644 tests/dev_tests/test_data/modality-devGraph-1.result.ttl create mode 100644 tests/dev_tests/test_data/modality-devGraph-1.ttl create mode 100644 tests/dev_tests/test_rule_phenomena_classifier.py diff --git a/tenet/scheme/amr_clara_rule/__init__.py b/tenet/scheme/amr_clara_rule/__init__.py index 1dc997fc..c3d86770 100644 --- a/tenet/scheme/amr_clara_rule/__init__.py +++ b/tenet/scheme/amr_clara_rule/__init__.py @@ -13,6 +13,8 @@ from scheme.amr_clara_rule.transduction.action_property_extractor import * from scheme.amr_clara_rule.transduction.composite_class_extractor_1 import * from scheme.amr_clara_rule.transduction.composite_class_extractor_2 import * +from scheme.amr_clara_rule.transduction.phenomena_modality_classifier import * + from scheme.amr_clara_rule.transduction.phenomena_polarity_analyzer_1 import * from scheme.amr_clara_rule.transduction.phenomena_polarity_analyzer_2 import * from scheme.amr_clara_rule.transduction.phenomena_polarity_analyzer_3 import * diff --git a/tenet/scheme/amr_clara_rule/transduction/action_property_extractor.py b/tenet/scheme/amr_clara_rule/transduction/action_property_extractor.py index 2c47bde5..abb96e80 100644 --- a/tenet/scheme/amr_clara_rule/transduction/action_property_extractor.py +++ b/tenet/scheme/amr_clara_rule/transduction/action_property_extractor.py @@ -25,7 +25,7 @@ def __search_pattern(graph): result_set = [] for arg_relation in ['amr:role_ARG1', 'amr:role_ARG2']: select_data_list = ['?property_net'] - clause_list = [f'?phenomena_net a [rdfs:subClassOf* net:Phenomena_Net].', + clause_list = [f'?phenomena_net a [rdfs:subClassOf* net:Modality_Phenomena_Net].', f'FILTER NOT EXISTS {{ ?phenomena_net a net:Deprecated_Net. }}', f'?property_net a [rdfs:subClassOf* net:Atom_Property_Net].', f'?phenomena_net {arg_relation} ?property_net.'] diff --git a/tenet/scheme/amr_clara_rule/transduction/odrl_action_extractor.py b/tenet/scheme/amr_clara_rule/transduction/odrl_action_extractor.py index 0182e269..e69aaed5 100644 --- a/tenet/scheme/amr_clara_rule/transduction/odrl_action_extractor.py +++ b/tenet/scheme/amr_clara_rule/transduction/odrl_action_extractor.py @@ -25,7 +25,7 @@ def __search_pattern(graph): result_set = [] for arg_relation in ['amr:role_ARG1', 'amr:role_ARG2']: select_data_list = ['?property_net'] - clause_list = [f'?phenomena_net a [rdfs:subClassOf* net:Phenomena_Net].', + clause_list = [f'?phenomena_net a [rdfs:subClassOf* net:Modality_Phenomena_Net].', f'FILTER NOT EXISTS {{ ?phenomena_net a net:Deprecated_Net. }}', f'?property_net a [rdfs:subClassOf* net:Action_Property_Net].', f'?phenomena_net {arg_relation} ?property_net.'] diff --git a/tenet/scheme/amr_clara_rule/transduction/odrl_rule_extractor.py b/tenet/scheme/amr_clara_rule/transduction/odrl_rule_extractor.py index 8e203fa6..6ae0f983 100644 --- a/tenet/scheme/amr_clara_rule/transduction/odrl_rule_extractor.py +++ b/tenet/scheme/amr_clara_rule/transduction/odrl_rule_extractor.py @@ -21,7 +21,6 @@ from transduction.naming_computer import define_composite_naming_1, define_restr #============================================================================== PHENOMENA_TYPE_RELATION = 'net:hasPhenomenaType' -POLARITY_RELATION = 'amr:role_polarity' MODALITY_TABLE = [('permission', 'amr:phenomena_modality_possible'), ('obligation', 'amr:phenomena_modality_obligation'), diff --git a/tenet/scheme/amr_clara_rule/transduction/phenomena_modality_classifier.py b/tenet/scheme/amr_clara_rule/transduction/phenomena_modality_classifier.py new file mode 100644 index 00000000..e0fcc6e6 --- /dev/null +++ b/tenet/scheme/amr_clara_rule/transduction/phenomena_modality_classifier.py @@ -0,0 +1,79 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: Rule to modality phenomena classification +#------------------------------------------------------------------------------ +# AMR rule to classify modality phenomena +# Rule: modality_phenomena classification +#============================================================================== + +from rdflib import Graph + +import transduction +from transduction import net +from transduction.query_builder import generate_select_query +from transduction.rdfterm_computer import produce_uriref, produce_literal + + +#============================================================================== +# Pattern Search: modality_phenomena +#============================================================================== + +PHENOMENA_TYPE_RELATION = 'net:hasPhenomenaType' + +MODALITY_TYPE_LIST = ['amr:phenomena_modality_possible', + 'amr:phenomena_modality_obligation', + 'amr:phenomena_modality_prohibition'] + +def __get_query_code(graph, modality_type_uri): + select_data_list = ['?phenomena_net'] + clause_list = [f'?phenomena_net a [rdfs:subClassOf* net:Phenomena_Net].', + f'?phenomena_net {PHENOMENA_TYPE_RELATION} {modality_type_uri}.'] + return generate_select_query(graph, select_data_list, clause_list) + + +def __search_pattern(graph): + query_code = '' + result_set = [] + for modality_type_uri in MODALITY_TYPE_LIST: + query_code = __get_query_code(graph, modality_type_uri) + result_set += graph.query(query_code) + return query_code, result_set + + + +#============================================================================== +# Useful Computation Method(s) +#============================================================================== + +# None + + +#============================================================================== +# Construct Method(s) +#============================================================================== + +# None + + +#============================================================================== +# Main Method +#============================================================================== + +def classify_modality_phenomena(graph): + + # -- Rule Initialization + rule_label = 'classify modality phenomena' + rule_triple_list = [] + + # -- Search for patterns + _, pattern_set = __search_pattern(graph) + + # -- Pattern Analysis + for pattern in pattern_set: + modality_phenomena_net = net.ModalityPhenomenaNet(graph, uri=pattern.phenomena_net) + modality_phenomena_net.finalize() + rule_triple_list += modality_phenomena_net.generate_triple_definition() + + return rule_label, rule_triple_list \ No newline at end of file diff --git a/tenet/scheme/amr_scheme_clara_1.py b/tenet/scheme/amr_scheme_clara_1.py index 35dae271..4b3906a2 100644 --- a/tenet/scheme/amr_scheme_clara_1.py +++ b/tenet/scheme/amr_scheme_clara_1.py @@ -182,15 +182,20 @@ atomic_extraction_sequence = ['atomic extraction sequence', ] phenomena_analyze_sequence_1 = ['phenomena analyze sequence (1)', + rule.classify_modality_phenomena + ] + +phenomena_analyze_sequence_2 = ['phenomena analyze sequence (2)', rule.analyze_phenomena_polarity_1, rule.analyze_phenomena_polarity_2, rule.analyze_phenomena_polarity_3, rule.analyze_phenomena_polarity_4, rule.analyze_phenomena_polarity_5, - rule.analyze_phenomena_mod_1 + rule.analyze_phenomena_mod_1, + rule.classify_modality_phenomena ] -phenomena_analyze_sequence_2 = ['phenomena analyze sequence (2)', +phenomena_analyze_sequence_3 = ['phenomena analyze sequence (3)', rule.analyze_phenomena_or_1, rule.analyze_phenomena_or_2, rule.analyze_phenomena_and_1, @@ -232,6 +237,7 @@ scheme = { atomic_extraction_sequence, phenomena_analyze_sequence_1, phenomena_analyze_sequence_2, + phenomena_analyze_sequence_3, composite_property_extraction_sequence, composite_class_extraction_sequence, odrl_extraction_sequence diff --git a/tenet/structure/odrl-snet-schema.ttl b/tenet/structure/odrl-snet-schema.ttl index 0d0d4a96..bf4c367f 100644 --- a/tenet/structure/odrl-snet-schema.ttl +++ b/tenet/structure/odrl-snet-schema.ttl @@ -291,6 +291,11 @@ net:Individual_Net rdf:type owl:Class ; rdfs:subClassOf net:Net . +### https://tenet.tetras-libre.fr/semantic-net#Modality_Phenomena_Net +net:Modality_Phenomena_Net rdf:type owl:Class ; + rdfs:subClassOf net:Phenomena_Net . + + ### https://tenet.tetras-libre.fr/semantic-net#Net net:Net rdf:type owl:Class ; rdfs:subClassOf net:Net_Structure . diff --git a/tenet/tenet.log b/tenet/tenet.log index 4a1e9d47..3d24bfc6 100644 --- a/tenet/tenet.log +++ b/tenet/tenet.log @@ -58,13 +58,13 @@ - DEBUG - --- Graph Initialization - DEBUG - ----- Configuration Loading - DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (468) -- DEBUG - -------- Config Parameter Definition (502) +- DEBUG - -------- Semantic Net Definition (470) +- DEBUG - -------- Config Parameter Definition (504) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (532) +- DEBUG - -------- Base Ontology produced as output (534) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s11.stog.amr.ttl (563) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s11.stog.amr.ttl (565) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-1/tenet.tetras-libre.fr_demo_clara_12.ttl - INFO - ----- Sentence (id): asail_odrl_sentences-11 @@ -75,25 +75,25 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (563, 0:00:00.031660) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (565, 0:00:00.028481) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 10/10 new triples (573, 0:00:00.177764) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (573, 0:00:00.090835) -- INFO - ----- reclassify-concept-3: 4/4 new triples (577, 0:00:00.132372) -- INFO - ----- reclassify-concept-4: 4/4 new triples (581, 0:00:00.051348) -- INFO - ----- reclassify-concept-5: 8/8 new triples (589, 0:00:00.070398) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (589, 0:00:00.073270) -- INFO - ----- reclassify-existing-variable: 25/25 new triples (614, 0:00:00.043148) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (614, 0:00:00.077218) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (632, 0:00:00.048900) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (632, 0:00:00.042167) -- INFO - ----- add-amr-edge-for-core-relation: 18/18 new triples (650, 0:00:00.125456) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (650, 0:00:00.088649) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (655, 0:00:00.062992) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (655, 0:00:00.092540) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (655, 0:00:00.076468) -- INFO - ----- update-amr-edge-role-1: 7/7 new triples (662, 0:00:00.061528) -- INFO - ----- add-amr-root: 5/5 new triples (667, 0:00:00.032966) +- INFO - ----- reclassify-concept-1: 10/10 new triples (575, 0:00:00.182141) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (575, 0:00:00.062046) +- INFO - ----- reclassify-concept-3: 4/4 new triples (579, 0:00:00.051132) +- INFO - ----- reclassify-concept-4: 4/4 new triples (583, 0:00:00.052671) +- INFO - ----- reclassify-concept-5: 8/8 new triples (591, 0:00:00.058332) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (591, 0:00:00.043302) +- INFO - ----- reclassify-existing-variable: 25/25 new triples (616, 0:00:00.029722) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (616, 0:00:00.054607) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (634, 0:00:00.037265) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (634, 0:00:00.033282) +- INFO - ----- add-amr-edge-for-core-relation: 18/18 new triples (652, 0:00:00.103618) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (652, 0:00:00.072868) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (657, 0:00:00.077319) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (657, 0:00:00.074087) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (657, 0:00:00.082767) +- INFO - ----- update-amr-edge-role-1: 7/7 new triples (664, 0:00:00.051150) +- INFO - ----- add-amr-root: 5/5 new triples (669, 0:00:00.024929) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -102,41 +102,44 @@ - INFO - ----- 104 triples extracted during preprocessing step - INFO - -- Applying extraction step: transduction - INFO - --- *** February Transduction *** Sequence: atomic extraction sequence -- INFO - ----- extract atom classes: 18/18 new triples (685, 0:00:00.117910) -- INFO - ----- extract atom individuals: 8/8 new triples (693, 0:00:00.044944) -- INFO - ----- extract atomic properties: 13/13 new triples (706, 0:00:00.050724) -- INFO - ----- extract atom values: 5/5 new triples (711, 0:00:00.027445) -- INFO - ----- extract atom phenomena: 14/14 new triples (725, 0:00:00.069251) -- INFO - ----- propagate atom relations: 16/46 new triples (741, 0:00:00.574369) +- INFO - ----- extract atom classes: 18/18 new triples (687, 0:00:00.096928) +- INFO - ----- extract atom individuals: 8/8 new triples (695, 0:00:00.047511) +- INFO - ----- extract atomic properties: 13/13 new triples (708, 0:00:00.060672) +- INFO - ----- extract atom values: 5/5 new triples (713, 0:00:00.036928) +- INFO - ----- extract atom phenomena: 14/14 new triples (727, 0:00:00.064382) +- INFO - ----- propagate atom relations: 16/46 new triples (743, 0:00:00.515591) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (741, 0:00:00.007168) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (741, 0:00:00.014125) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (741, 0:00:00.014396) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (741, 0:00:00.031170) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (741, 0:00:00.034946) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (741, 0:00:00.008285) +- INFO - ----- classify modality phenomena: 1/7 new triple (744, 0:00:00.034838) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (741, 0:00:00.010596) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (741, 0:00:00.013483) -- INFO - ----- analyze "and" phenomena (1): 2/22 new triples (743, 0:00:00.153582) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (743, 0:00:00.008377) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (744, 0:00:00.009071) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (744, 0:00:00.015647) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (744, 0:00:00.013646) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (744, 0:00:00.032011) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (744, 0:00:00.040550) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (744, 0:00:00.009236) +- DEBUG - ----- classify modality phenomena: 0/14 new triple (744, 0:00:00.054716) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (3) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (744, 0:00:00.010602) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (744, 0:00:00.012086) +- INFO - ----- analyze "and" phenomena (1): 2/22 new triples (746, 0:00:00.161353) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (746, 0:00:00.015004) - INFO - --- *** February Transduction *** Sequence: composite property extraction sequence -- INFO - ----- extract action properties: 21/27 new triples (764, 0:00:00.084052) +- INFO - ----- extract action properties: 21/27 new triples (767, 0:00:00.107303) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (764, 0:00:00.021986) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (764, 0:00:00.019136) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (767, 0:00:00.029731) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (767, 0:00:00.110542) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 17/18 new triples (781, 0:00:00.097112) -- INFO - ----- extract ODRL rules: 13/13 new triples (794, 0:00:00.092314) +- INFO - ----- extract ODRL actions: 17/18 new triples (784, 0:00:00.146895) +- INFO - ----- extract ODRL rules: 13/26 new triples (797, 0:00:00.176426) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-1/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction -- INFO - ----- 127 triples extracted during transduction step +- INFO - ----- 128 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (795, 0:00:00.065704) +- INFO - ----- generate ODRL rule: 1/1 new triple (798, 0:00:00.077303) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -151,13 +154,13 @@ - DEBUG - --- Graph Initialization - DEBUG - ----- Configuration Loading - DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (468) -- DEBUG - -------- Config Parameter Definition (502) +- DEBUG - -------- Semantic Net Definition (470) +- DEBUG - -------- Config Parameter Definition (504) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (532) +- DEBUG - -------- Base Ontology produced as output (534) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s05.stog.amr.ttl (562) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s05.stog.amr.ttl (564) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-2/tenet.tetras-libre.fr_demo_clara_12.ttl - INFO - ----- Sentence (id): asail_odrl_sentences-05 @@ -168,25 +171,25 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (562, 0:00:00.100837) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (564, 0:00:00.037953) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (567, 0:00:00.135295) -- INFO - ----- reclassify-concept-2: 8/8 new triples (575, 0:00:00.060944) -- INFO - ----- reclassify-concept-3: 4/4 new triples (579, 0:00:00.052772) -- INFO - ----- reclassify-concept-4: 8/8 new triples (587, 0:00:00.065113) -- DEBUG - ----- reclassify-concept-5: 0/0 new triple (587, 0:00:00.049093) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (587, 0:00:00.052771) -- INFO - ----- reclassify-existing-variable: 25/25 new triples (612, 0:00:00.039686) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (612, 0:00:00.057636) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (630, 0:00:00.037233) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (630, 0:00:00.038069) -- INFO - ----- add-amr-edge-for-core-relation: 15/15 new triples (645, 0:00:00.088519) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (645, 0:00:00.077415) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (650, 0:00:00.068055) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (650, 0:00:00.076304) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (650, 0:00:00.072619) -- INFO - ----- update-amr-edge-role-1: 5/5 new triples (655, 0:00:00.041248) -- INFO - ----- add-amr-root: 5/5 new triples (660, 0:00:00.027099) +- INFO - ----- reclassify-concept-1: 5/5 new triples (569, 0:00:00.134958) +- INFO - ----- reclassify-concept-2: 8/8 new triples (577, 0:00:00.071119) +- INFO - ----- reclassify-concept-3: 4/4 new triples (581, 0:00:00.054016) +- INFO - ----- reclassify-concept-4: 8/8 new triples (589, 0:00:00.069143) +- DEBUG - ----- reclassify-concept-5: 0/0 new triple (589, 0:00:00.054964) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (589, 0:00:00.057053) +- INFO - ----- reclassify-existing-variable: 25/25 new triples (614, 0:00:00.032480) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (614, 0:00:00.050718) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (632, 0:00:00.034576) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (632, 0:00:00.035736) +- INFO - ----- add-amr-edge-for-core-relation: 15/15 new triples (647, 0:00:00.099327) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (647, 0:00:00.066548) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (652, 0:00:00.084496) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (652, 0:00:00.103523) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (652, 0:00:00.089289) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (657, 0:00:00.044569) +- INFO - ----- add-amr-root: 5/5 new triples (662, 0:00:00.027732) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -195,41 +198,44 @@ - INFO - ----- 98 triples extracted during preprocessing step - INFO - -- Applying extraction step: transduction - INFO - --- *** February Transduction *** Sequence: atomic extraction sequence -- INFO - ----- extract atom classes: 12/12 new triples (672, 0:00:00.072493) -- INFO - ----- extract atom individuals: 8/8 new triples (680, 0:00:00.049005) -- INFO - ----- extract atomic properties: 36/36 new triples (716, 0:00:00.131936) -- INFO - ----- extract atom values: 5/5 new triples (721, 0:00:00.030506) -- INFO - ----- extract atom phenomena: 7/7 new triples (728, 0:00:00.045271) -- INFO - ----- propagate atom relations: 11/30 new triples (739, 0:00:00.460811) +- INFO - ----- extract atom classes: 12/12 new triples (674, 0:00:00.072144) +- INFO - ----- extract atom individuals: 8/8 new triples (682, 0:00:00.041408) +- INFO - ----- extract atomic properties: 36/36 new triples (718, 0:00:00.116187) +- INFO - ----- extract atom values: 5/5 new triples (723, 0:00:00.030620) +- INFO - ----- extract atom phenomena: 7/7 new triples (730, 0:00:00.037247) +- INFO - ----- propagate atom relations: 11/30 new triples (741, 0:00:00.584505) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (739, 0:00:00.010628) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (739, 0:00:00.015724) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (739, 0:00:00.016507) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (739, 0:00:00.029966) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (739, 0:00:00.033034) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (739, 0:00:00.009226) +- INFO - ----- classify modality phenomena: 1/3 new triple (742, 0:00:00.042694) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (739, 0:00:00.011006) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (739, 0:00:00.010639) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (739, 0:00:00.010261) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (739, 0:00:00.011247) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (742, 0:00:00.011112) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (742, 0:00:00.016992) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (742, 0:00:00.015076) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (742, 0:00:00.030274) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (742, 0:00:00.037087) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (742, 0:00:00.008553) +- DEBUG - ----- classify modality phenomena: 0/6 new triple (742, 0:00:00.055917) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (3) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (742, 0:00:00.010405) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (742, 0:00:00.013775) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (742, 0:00:00.010468) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (742, 0:00:00.010026) - INFO - --- *** February Transduction *** Sequence: composite property extraction sequence -- INFO - ----- extract action properties: 17/20 new triples (756, 0:00:00.112279) +- INFO - ----- extract action properties: 17/20 new triples (759, 0:00:00.103989) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (756, 0:00:00.024693) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (756, 0:00:00.031436) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (759, 0:00:00.023800) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (759, 0:00:00.023837) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 11/12 new triples (767, 0:00:00.122796) -- INFO - ----- extract ODRL rules: 11/11 new triples (778, 0:00:00.108587) +- INFO - ----- extract ODRL actions: 11/12 new triples (770, 0:00:00.125941) +- INFO - ----- extract ODRL rules: 11/22 new triples (781, 0:00:00.170552) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-2/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction -- INFO - ----- 118 triples extracted during transduction step +- INFO - ----- 119 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (779, 0:00:00.073685) +- INFO - ----- generate ODRL rule: 1/1 new triple (782, 0:00:00.066914) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -244,13 +250,13 @@ - DEBUG - --- Graph Initialization - DEBUG - ----- Configuration Loading - DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (468) -- DEBUG - -------- Config Parameter Definition (502) +- DEBUG - -------- Semantic Net Definition (470) +- DEBUG - -------- Config Parameter Definition (504) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (532) +- DEBUG - -------- Base Ontology produced as output (534) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s03.stog.amr.ttl (554) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s03.stog.amr.ttl (556) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-3/tenet.tetras-libre.fr_demo_clara_12.ttl - INFO - ----- Sentence (id): asail_odrl_sentences-03 @@ -261,25 +267,25 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (554, 0:00:00.028443) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (556, 0:00:00.025931) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (559, 0:00:00.122360) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (559, 0:00:00.077760) -- INFO - ----- reclassify-concept-3: 4/4 new triples (563, 0:00:00.045662) -- INFO - ----- reclassify-concept-4: 4/4 new triples (567, 0:00:00.058469) -- INFO - ----- reclassify-concept-5: 4/4 new triples (571, 0:00:00.051015) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (571, 0:00:00.052432) -- INFO - ----- reclassify-existing-variable: 17/17 new triples (588, 0:00:00.030549) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (588, 0:00:00.057173) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (600, 0:00:00.031475) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (600, 0:00:00.032896) -- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (609, 0:00:00.082965) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (609, 0:00:00.065993) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (614, 0:00:00.088674) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (614, 0:00:00.093448) -- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (619, 0:00:00.091687) -- INFO - ----- update-amr-edge-role-1: 5/5 new triples (624, 0:00:00.036202) -- INFO - ----- add-amr-root: 5/5 new triples (629, 0:00:00.032665) +- INFO - ----- reclassify-concept-1: 5/5 new triples (561, 0:00:00.114955) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (561, 0:00:00.057579) +- INFO - ----- reclassify-concept-3: 4/4 new triples (565, 0:00:00.053291) +- INFO - ----- reclassify-concept-4: 4/4 new triples (569, 0:00:00.058748) +- INFO - ----- reclassify-concept-5: 4/4 new triples (573, 0:00:00.055270) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (573, 0:00:00.050355) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (590, 0:00:00.039190) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (590, 0:00:00.052628) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (602, 0:00:00.038389) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (602, 0:00:00.029028) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (611, 0:00:00.103733) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (611, 0:00:00.080697) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (616, 0:00:00.066573) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (616, 0:00:00.155304) +- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (621, 0:00:00.074998) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (626, 0:00:00.051765) +- INFO - ----- add-amr-root: 5/5 new triples (631, 0:00:00.041655) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -288,41 +294,44 @@ - INFO - ----- 75 triples extracted during preprocessing step - INFO - -- Applying extraction step: transduction - INFO - --- *** February Transduction *** Sequence: atomic extraction sequence -- INFO - ----- extract atom classes: 12/12 new triples (641, 0:00:00.066370) -- INFO - ----- extract atom individuals: 8/8 new triples (649, 0:00:00.043741) -- INFO - ----- extract atomic properties: 13/13 new triples (662, 0:00:00.048592) -- INFO - ----- extract atom values: 10/10 new triples (672, 0:00:00.053171) -- INFO - ----- extract atom phenomena: 7/7 new triples (679, 0:00:00.045146) -- INFO - ----- propagate atom relations: 11/28 new triples (690, 0:00:00.362028) +- INFO - ----- extract atom classes: 12/12 new triples (643, 0:00:00.079733) +- INFO - ----- extract atom individuals: 8/8 new triples (651, 0:00:00.078298) +- INFO - ----- extract atomic properties: 13/13 new triples (664, 0:00:00.063233) +- INFO - ----- extract atom values: 10/10 new triples (674, 0:00:00.144330) +- INFO - ----- extract atom phenomena: 7/7 new triples (681, 0:00:00.044995) +- INFO - ----- propagate atom relations: 11/28 new triples (692, 0:00:00.331375) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (690, 0:00:00.010785) -- INFO - ----- analyze "polarity" phenomena (2): 13/15 new triples (703, 0:00:00.064269) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (703, 0:00:00.014382) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (703, 0:00:00.042086) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (703, 0:00:00.033193) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (703, 0:00:00.009046) +- INFO - ----- classify modality phenomena: 1/5 new triple (693, 0:00:00.029872) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (703, 0:00:00.010980) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (703, 0:00:00.009767) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (703, 0:00:00.009978) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (703, 0:00:00.014156) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (693, 0:00:00.006186) +- INFO - ----- analyze "polarity" phenomena (2): 13/30 new triples (706, 0:00:00.102008) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (706, 0:00:00.014144) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (706, 0:00:00.031441) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (706, 0:00:00.025755) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (706, 0:00:00.007942) +- INFO - ----- classify modality phenomena: 1/17 new triple (707, 0:00:00.054912) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (3) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (707, 0:00:00.009730) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (707, 0:00:00.014977) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (707, 0:00:00.014615) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (707, 0:00:00.010439) - INFO - --- *** February Transduction *** Sequence: composite property extraction sequence -- INFO - ----- extract action properties: 20/25 new triples (723, 0:00:00.114387) +- INFO - ----- extract action properties: 20/25 new triples (727, 0:00:00.094118) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (723, 0:00:00.025692) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (723, 0:00:00.025770) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (727, 0:00:00.027228) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (727, 0:00:00.019989) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 15/17 new triples (738, 0:00:00.117376) -- INFO - ----- extract ODRL rules: 12/12 new triples (750, 0:00:00.127032) +- INFO - ----- extract ODRL actions: 15/17 new triples (742, 0:00:00.115504) +- INFO - ----- extract ODRL rules: 12/24 new triples (754, 0:00:00.164214) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-3/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction -- INFO - ----- 121 triples extracted during transduction step +- INFO - ----- 123 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (751, 0:00:00.078373) +- INFO - ----- generate ODRL rule: 1/1 new triple (755, 0:00:00.076917) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -337,13 +346,13 @@ - DEBUG - --- Graph Initialization - DEBUG - ----- Configuration Loading - DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (468) -- DEBUG - -------- Config Parameter Definition (502) +- DEBUG - -------- Semantic Net Definition (470) +- DEBUG - -------- Config Parameter Definition (504) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (532) +- DEBUG - -------- Base Ontology produced as output (534) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s07.stog.amr.ttl (555) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s07.stog.amr.ttl (557) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-4/tenet.tetras-libre.fr_demo_clara_12.ttl - INFO - ----- Sentence (id): asail_odrl_sentences-07 @@ -354,25 +363,25 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (555, 0:00:00.029182) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (557, 0:00:00.036553) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (560, 0:00:00.116158) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (560, 0:00:00.062708) -- INFO - ----- reclassify-concept-3: 8/8 new triples (568, 0:00:00.050986) -- DEBUG - ----- reclassify-concept-4: 0/0 new triple (568, 0:00:00.061268) -- INFO - ----- reclassify-concept-5: 4/4 new triples (572, 0:00:00.059291) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (572, 0:00:00.055592) -- INFO - ----- reclassify-existing-variable: 17/17 new triples (589, 0:00:00.035803) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (589, 0:00:00.064165) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (601, 0:00:00.030972) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (601, 0:00:00.039359) -- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (613, 0:00:00.091062) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (613, 0:00:00.063725) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (618, 0:00:00.107708) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (618, 0:00:00.079116) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (618, 0:00:00.074741) -- INFO - ----- update-amr-edge-role-1: 5/5 new triples (623, 0:00:00.036185) -- INFO - ----- add-amr-root: 5/5 new triples (628, 0:00:00.031375) +- INFO - ----- reclassify-concept-1: 5/5 new triples (562, 0:00:00.122182) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (562, 0:00:00.075319) +- INFO - ----- reclassify-concept-3: 8/8 new triples (570, 0:00:00.043597) +- DEBUG - ----- reclassify-concept-4: 0/0 new triple (570, 0:00:00.056129) +- INFO - ----- reclassify-concept-5: 4/4 new triples (574, 0:00:00.045105) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (574, 0:00:00.049802) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (591, 0:00:00.036593) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (591, 0:00:00.063059) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (603, 0:00:00.036101) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (603, 0:00:00.031566) +- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (615, 0:00:00.188120) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (615, 0:00:00.080507) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (620, 0:00:00.078262) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (620, 0:00:00.074761) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (620, 0:00:00.087245) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (625, 0:00:00.039937) +- INFO - ----- add-amr-root: 5/5 new triples (630, 0:00:00.030267) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -381,41 +390,44 @@ - INFO - ----- 73 triples extracted during preprocessing step - INFO - -- Applying extraction step: transduction - INFO - --- *** February Transduction *** Sequence: atomic extraction sequence -- INFO - ----- extract atom classes: 6/6 new triples (634, 0:00:00.066901) -- INFO - ----- extract atom individuals: 8/8 new triples (642, 0:00:00.080515) -- INFO - ----- extract atomic properties: 24/24 new triples (666, 0:00:00.186723) -- INFO - ----- extract atom values: 5/5 new triples (671, 0:00:00.040713) -- INFO - ----- extract atom phenomena: 7/7 new triples (678, 0:00:00.032889) -- INFO - ----- propagate atom relations: 12/38 new triples (690, 0:00:00.385782) +- INFO - ----- extract atom classes: 6/6 new triples (636, 0:00:00.035174) +- INFO - ----- extract atom individuals: 8/8 new triples (644, 0:00:00.050267) +- INFO - ----- extract atomic properties: 24/24 new triples (668, 0:00:00.080730) +- INFO - ----- extract atom values: 5/5 new triples (673, 0:00:00.028283) +- INFO - ----- extract atom phenomena: 7/7 new triples (680, 0:00:00.033774) +- INFO - ----- propagate atom relations: 12/38 new triples (692, 0:00:00.362192) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (690, 0:00:00.006473) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (690, 0:00:00.011465) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (690, 0:00:00.012798) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (690, 0:00:00.030098) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (690, 0:00:00.024758) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (690, 0:00:00.006638) +- INFO - ----- classify modality phenomena: 1/7 new triple (693, 0:00:00.041478) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (690, 0:00:00.011048) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (690, 0:00:00.008681) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (690, 0:00:00.009928) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (690, 0:00:00.010754) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (693, 0:00:00.010408) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (693, 0:00:00.022043) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (693, 0:00:00.018383) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (693, 0:00:00.035615) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (693, 0:00:00.035390) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (693, 0:00:00.010660) +- DEBUG - ----- classify modality phenomena: 0/14 new triple (693, 0:00:00.056996) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (3) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (693, 0:00:00.011489) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (693, 0:00:00.014105) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (693, 0:00:00.014615) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (693, 0:00:00.011156) - INFO - --- *** February Transduction *** Sequence: composite property extraction sequence -- INFO - ----- extract action properties: 19/23 new triples (709, 0:00:00.079108) +- INFO - ----- extract action properties: 19/23 new triples (712, 0:00:00.101917) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (709, 0:00:00.022726) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (709, 0:00:00.020021) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (712, 0:00:00.026376) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (712, 0:00:00.022076) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 11/12 new triples (720, 0:00:00.087484) -- INFO - ----- extract ODRL rules: 11/11 new triples (731, 0:00:00.191116) +- INFO - ----- extract ODRL actions: 11/12 new triples (723, 0:00:00.111571) +- INFO - ----- extract ODRL rules: 11/22 new triples (734, 0:00:00.157183) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-4/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction -- INFO - ----- 103 triples extracted during transduction step +- INFO - ----- 104 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (732, 0:00:00.053943) +- INFO - ----- generate ODRL rule: 1/1 new triple (735, 0:00:00.070989) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -430,13 +442,13 @@ - DEBUG - --- Graph Initialization - DEBUG - ----- Configuration Loading - DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (468) -- DEBUG - -------- Config Parameter Definition (502) +- DEBUG - -------- Semantic Net Definition (470) +- DEBUG - -------- Config Parameter Definition (504) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (532) +- DEBUG - -------- Base Ontology produced as output (534) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s09.stog.amr.ttl (556) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s09.stog.amr.ttl (558) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-5/tenet.tetras-libre.fr_demo_clara_12.ttl - INFO - ----- Sentence (id): asail_odrl_sentences-09 @@ -447,25 +459,25 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (556, 0:00:00.024401) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (558, 0:00:00.023588) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (561, 0:00:00.118800) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (561, 0:00:00.059679) -- INFO - ----- reclassify-concept-3: 8/8 new triples (569, 0:00:00.058694) -- DEBUG - ----- reclassify-concept-4: 0/0 new triple (569, 0:00:00.070808) -- INFO - ----- reclassify-concept-5: 4/4 new triples (573, 0:00:00.056349) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (573, 0:00:00.050233) -- INFO - ----- reclassify-existing-variable: 17/17 new triples (590, 0:00:00.032556) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (590, 0:00:00.050998) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (602, 0:00:00.043997) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (602, 0:00:00.029263) -- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (614, 0:00:00.091815) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (614, 0:00:00.071029) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (619, 0:00:00.058280) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (619, 0:00:00.081913) -- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (624, 0:00:00.081419) -- INFO - ----- update-amr-edge-role-1: 6/6 new triples (630, 0:00:00.043096) -- INFO - ----- add-amr-root: 5/5 new triples (635, 0:00:00.029099) +- INFO - ----- reclassify-concept-1: 5/5 new triples (563, 0:00:00.119531) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (563, 0:00:00.058951) +- INFO - ----- reclassify-concept-3: 8/8 new triples (571, 0:00:00.045563) +- DEBUG - ----- reclassify-concept-4: 0/0 new triple (571, 0:00:00.060126) +- INFO - ----- reclassify-concept-5: 4/4 new triples (575, 0:00:00.047808) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (575, 0:00:00.051473) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (592, 0:00:00.039455) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (592, 0:00:00.069315) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (604, 0:00:00.134986) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (604, 0:00:00.034592) +- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (616, 0:00:00.099121) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (616, 0:00:00.080886) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (621, 0:00:00.065798) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (621, 0:00:00.085470) +- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (626, 0:00:00.089083) +- INFO - ----- update-amr-edge-role-1: 6/6 new triples (632, 0:00:00.054639) +- INFO - ----- add-amr-root: 5/5 new triples (637, 0:00:00.027355) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -474,41 +486,44 @@ - INFO - ----- 79 triples extracted during preprocessing step - INFO - -- Applying extraction step: transduction - INFO - --- *** February Transduction *** Sequence: atomic extraction sequence -- INFO - ----- extract atom classes: 6/6 new triples (641, 0:00:00.039032) -- INFO - ----- extract atom individuals: 8/8 new triples (649, 0:00:00.048492) -- INFO - ----- extract atomic properties: 25/25 new triples (674, 0:00:00.078153) -- INFO - ----- extract atom values: 10/10 new triples (684, 0:00:00.045111) -- INFO - ----- extract atom phenomena: 7/7 new triples (691, 0:00:00.043746) -- INFO - ----- propagate atom relations: 14/40 new triples (705, 0:00:00.462634) +- INFO - ----- extract atom classes: 6/6 new triples (643, 0:00:00.041134) +- INFO - ----- extract atom individuals: 8/8 new triples (651, 0:00:00.041360) +- INFO - ----- extract atomic properties: 25/25 new triples (676, 0:00:00.079801) +- INFO - ----- extract atom values: 10/10 new triples (686, 0:00:00.062918) +- INFO - ----- extract atom phenomena: 7/7 new triples (693, 0:00:00.034890) +- INFO - ----- propagate atom relations: 14/40 new triples (707, 0:00:00.358302) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- INFO - ----- analyze "polarity" phenomena (1): 35/42 new triples (740, 0:00:00.105095) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (740, 0:00:00.019704) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (740, 0:00:00.018778) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (740, 0:00:00.031744) -- INFO - ----- analyze "polarity" phenomena (5): 15/19 new triples (755, 0:00:00.097018) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (755, 0:00:00.007357) +- INFO - ----- classify modality phenomena: 1/7 new triple (708, 0:00:00.035406) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (755, 0:00:00.014698) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (755, 0:00:00.013452) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (755, 0:00:00.015997) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (755, 0:00:00.009737) +- INFO - ----- analyze "polarity" phenomena (1): 35/42 new triples (743, 0:00:00.099639) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (743, 0:00:00.013387) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (743, 0:00:00.013596) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (743, 0:00:00.032083) +- INFO - ----- analyze "polarity" phenomena (5): 15/38 new triples (758, 0:00:00.123398) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (758, 0:00:00.007844) +- INFO - ----- classify modality phenomena: 1/29 new triple (759, 0:00:00.073334) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (3) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (759, 0:00:00.011066) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (759, 0:00:00.010083) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (759, 0:00:00.011893) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (759, 0:00:00.010043) - INFO - --- *** February Transduction *** Sequence: composite property extraction sequence -- INFO - ----- extract action properties: 21/28 new triples (776, 0:00:00.105727) +- INFO - ----- extract action properties: 21/28 new triples (780, 0:00:00.100844) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (776, 0:00:00.024845) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (776, 0:00:00.023018) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (780, 0:00:00.022768) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (780, 0:00:00.025779) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 12/14 new triples (788, 0:00:00.116650) -- INFO - ----- extract ODRL rules: 11/11 new triples (799, 0:00:00.139072) +- INFO - ----- extract ODRL actions: 12/14 new triples (792, 0:00:00.122153) +- INFO - ----- extract ODRL rules: 11/22 new triples (803, 0:00:00.204934) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-5/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction -- INFO - ----- 164 triples extracted during transduction step +- INFO - ----- 166 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (800, 0:00:00.071875) +- INFO - ----- generate ODRL rule: 1/1 new triple (804, 0:00:00.111622) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -523,13 +538,13 @@ - DEBUG - --- Graph Initialization - DEBUG - ----- Configuration Loading - DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (468) -- DEBUG - -------- Config Parameter Definition (502) +- DEBUG - -------- Semantic Net Definition (470) +- DEBUG - -------- Config Parameter Definition (504) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (532) +- DEBUG - -------- Base Ontology produced as output (534) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s10.stog.amr.ttl (567) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s10.stog.amr.ttl (569) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-6/tenet.tetras-libre.fr_demo_clara_12.ttl - INFO - ----- Sentence (id): asail_odrl_sentences-10 @@ -540,25 +555,25 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (567, 0:00:00.030990) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (569, 0:00:00.025488) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 10/10 new triples (577, 0:00:00.124973) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (577, 0:00:00.061296) -- INFO - ----- reclassify-concept-3: 12/12 new triples (589, 0:00:00.053629) -- DEBUG - ----- reclassify-concept-4: 0/0 new triple (589, 0:00:00.060770) -- INFO - ----- reclassify-concept-5: 4/4 new triples (593, 0:00:00.053681) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (593, 0:00:00.050185) -- INFO - ----- reclassify-existing-variable: 25/25 new triples (618, 0:00:00.042486) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (618, 0:00:00.056546) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (636, 0:00:00.044033) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (636, 0:00:00.029942) -- INFO - ----- add-amr-edge-for-core-relation: 24/24 new triples (660, 0:00:00.100857) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (660, 0:00:00.082979) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (665, 0:00:00.082669) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (665, 0:00:00.168357) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (665, 0:00:00.077767) -- INFO - ----- update-amr-edge-role-1: 9/9 new triples (674, 0:00:00.057436) -- INFO - ----- add-amr-root: 5/5 new triples (679, 0:00:00.025488) +- INFO - ----- reclassify-concept-1: 10/10 new triples (579, 0:00:00.134053) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (579, 0:00:00.052476) +- INFO - ----- reclassify-concept-3: 12/12 new triples (591, 0:00:00.148415) +- DEBUG - ----- reclassify-concept-4: 0/0 new triple (591, 0:00:00.065130) +- INFO - ----- reclassify-concept-5: 4/4 new triples (595, 0:00:00.053951) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (595, 0:00:00.056620) +- INFO - ----- reclassify-existing-variable: 25/25 new triples (620, 0:00:00.032960) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (620, 0:00:00.056851) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (638, 0:00:00.040751) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (638, 0:00:00.038497) +- INFO - ----- add-amr-edge-for-core-relation: 24/24 new triples (662, 0:00:00.113445) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (662, 0:00:00.087900) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (667, 0:00:00.072646) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (667, 0:00:00.068460) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (667, 0:00:00.114159) +- INFO - ----- update-amr-edge-role-1: 9/9 new triples (676, 0:00:00.110551) +- INFO - ----- add-amr-root: 5/5 new triples (681, 0:00:00.031524) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -567,41 +582,44 @@ - INFO - ----- 112 triples extracted during preprocessing step - INFO - -- Applying extraction step: transduction - INFO - --- *** February Transduction *** Sequence: atomic extraction sequence -- INFO - ----- extract atom classes: 6/6 new triples (685, 0:00:00.037535) -- INFO - ----- extract atom individuals: 8/8 new triples (693, 0:00:00.046380) -- INFO - ----- extract atomic properties: 37/37 new triples (730, 0:00:00.121683) -- INFO - ----- extract atom values: 5/5 new triples (735, 0:00:00.025894) -- INFO - ----- extract atom phenomena: 14/14 new triples (749, 0:00:00.072864) -- INFO - ----- propagate atom relations: 19/62 new triples (768, 0:00:00.521243) +- INFO - ----- extract atom classes: 6/6 new triples (687, 0:00:00.047368) +- INFO - ----- extract atom individuals: 8/8 new triples (695, 0:00:00.035203) +- INFO - ----- extract atomic properties: 37/37 new triples (732, 0:00:00.097310) +- INFO - ----- extract atom values: 5/5 new triples (737, 0:00:00.021999) +- INFO - ----- extract atom phenomena: 14/14 new triples (751, 0:00:00.055042) +- INFO - ----- propagate atom relations: 19/62 new triples (770, 0:00:00.504036) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (768, 0:00:00.009981) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (768, 0:00:00.015189) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (768, 0:00:00.016866) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (768, 0:00:00.034927) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (768, 0:00:00.029341) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (768, 0:00:00.009423) +- INFO - ----- classify modality phenomena: 1/7 new triple (771, 0:00:00.038317) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (768, 0:00:00.010319) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (768, 0:00:00.010673) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (768, 0:00:00.015829) -- INFO - ----- analyze "and" phenomena (2): 2/18 new triples (770, 0:00:00.133685) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (771, 0:00:00.007311) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (771, 0:00:00.012532) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (771, 0:00:00.011363) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (771, 0:00:00.027306) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (771, 0:00:00.028143) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (771, 0:00:00.008241) +- DEBUG - ----- classify modality phenomena: 0/14 new triple (771, 0:00:00.049370) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (3) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (771, 0:00:00.013265) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (771, 0:00:00.013086) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (771, 0:00:00.023827) +- INFO - ----- analyze "and" phenomena (2): 2/36 new triples (773, 0:00:00.279518) - INFO - --- *** February Transduction *** Sequence: composite property extraction sequence -- INFO - ----- extract action properties: 40/50 new triples (810, 0:00:00.177535) +- INFO - ----- extract action properties: 40/50 new triples (813, 0:00:00.191123) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (810, 0:00:00.029981) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (810, 0:00:00.022551) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (813, 0:00:00.038187) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (813, 0:00:00.025612) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 24/28 new triples (834, 0:00:00.202838) -- INFO - ----- extract ODRL rules: 14/22 new triples (848, 0:00:00.158548) +- INFO - ----- extract ODRL actions: 24/28 new triples (837, 0:00:00.224670) +- INFO - ----- extract ODRL rules: 14/44 new triples (851, 0:00:00.318377) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-6/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction -- INFO - ----- 169 triples extracted during transduction step +- INFO - ----- 170 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 2/2 new triples (850, 0:00:00.104989) +- INFO - ----- generate ODRL rule: 2/2 new triples (853, 0:00:00.105514) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -616,13 +634,13 @@ - DEBUG - --- Graph Initialization - DEBUG - ----- Configuration Loading - DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (468) -- DEBUG - -------- Config Parameter Definition (502) +- DEBUG - -------- Semantic Net Definition (470) +- DEBUG - -------- Config Parameter Definition (504) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (532) +- DEBUG - -------- Base Ontology produced as output (534) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s06.stog.amr.ttl (554) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s06.stog.amr.ttl (556) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-7/tenet.tetras-libre.fr_demo_clara_12.ttl - INFO - ----- Sentence (id): asail_odrl_sentences-06 @@ -633,25 +651,25 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (554, 0:00:00.024905) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (556, 0:00:00.123705) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (559, 0:00:00.110026) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (559, 0:00:00.076230) -- INFO - ----- reclassify-concept-3: 4/4 new triples (563, 0:00:00.045735) -- INFO - ----- reclassify-concept-4: 4/4 new triples (567, 0:00:00.069225) -- INFO - ----- reclassify-concept-5: 4/4 new triples (571, 0:00:00.056989) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (571, 0:00:00.066733) -- INFO - ----- reclassify-existing-variable: 17/17 new triples (588, 0:00:00.066955) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (588, 0:00:00.097484) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (600, 0:00:00.114279) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (600, 0:00:00.049639) -- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (609, 0:00:00.088437) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (609, 0:00:00.059007) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (614, 0:00:00.070052) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (614, 0:00:00.078322) -- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (619, 0:00:00.099318) -- INFO - ----- update-amr-edge-role-1: 5/5 new triples (624, 0:00:00.036736) -- INFO - ----- add-amr-root: 5/5 new triples (629, 0:00:00.032278) +- INFO - ----- reclassify-concept-1: 5/5 new triples (561, 0:00:00.126072) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (561, 0:00:00.063336) +- INFO - ----- reclassify-concept-3: 4/4 new triples (565, 0:00:00.050620) +- INFO - ----- reclassify-concept-4: 4/4 new triples (569, 0:00:00.086834) +- INFO - ----- reclassify-concept-5: 4/4 new triples (573, 0:00:00.084136) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (573, 0:00:00.079310) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (590, 0:00:00.048892) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (590, 0:00:00.052677) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (602, 0:00:00.033790) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (602, 0:00:00.035620) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (611, 0:00:00.088479) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (611, 0:00:00.073835) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (616, 0:00:00.072721) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (616, 0:00:00.081787) +- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (621, 0:00:00.083867) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (626, 0:00:00.044103) +- INFO - ----- add-amr-root: 5/5 new triples (631, 0:00:00.023819) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -660,41 +678,44 @@ - INFO - ----- 75 triples extracted during preprocessing step - INFO - -- Applying extraction step: transduction - INFO - --- *** February Transduction *** Sequence: atomic extraction sequence -- INFO - ----- extract atom classes: 12/12 new triples (641, 0:00:00.073685) -- INFO - ----- extract atom individuals: 8/8 new triples (649, 0:00:00.035509) -- INFO - ----- extract atomic properties: 13/13 new triples (662, 0:00:00.036527) -- INFO - ----- extract atom values: 10/10 new triples (672, 0:00:00.055025) -- INFO - ----- extract atom phenomena: 7/7 new triples (679, 0:00:00.035546) -- INFO - ----- propagate atom relations: 11/28 new triples (690, 0:00:00.377389) +- INFO - ----- extract atom classes: 12/12 new triples (643, 0:00:00.075746) +- INFO - ----- extract atom individuals: 8/8 new triples (651, 0:00:00.039368) +- INFO - ----- extract atomic properties: 13/13 new triples (664, 0:00:00.038276) +- INFO - ----- extract atom values: 10/10 new triples (674, 0:00:00.055521) +- INFO - ----- extract atom phenomena: 7/7 new triples (681, 0:00:00.038419) +- INFO - ----- propagate atom relations: 11/28 new triples (692, 0:00:00.458650) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (690, 0:00:00.011026) -- INFO - ----- analyze "polarity" phenomena (2): 13/15 new triples (703, 0:00:00.065596) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (703, 0:00:00.013608) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (703, 0:00:00.026423) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (703, 0:00:00.036996) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (703, 0:00:00.007393) +- INFO - ----- classify modality phenomena: 1/5 new triple (693, 0:00:00.048304) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (703, 0:00:00.013818) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (703, 0:00:00.009882) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (703, 0:00:00.009070) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (703, 0:00:00.008708) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (693, 0:00:00.011258) +- INFO - ----- analyze "polarity" phenomena (2): 13/30 new triples (706, 0:00:00.116852) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (706, 0:00:00.014694) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (706, 0:00:00.031620) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (706, 0:00:00.036796) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (706, 0:00:00.010612) +- INFO - ----- classify modality phenomena: 1/17 new triple (707, 0:00:00.073450) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (3) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (707, 0:00:00.012570) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (707, 0:00:00.009993) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (707, 0:00:00.009143) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (707, 0:00:00.009686) - INFO - --- *** February Transduction *** Sequence: composite property extraction sequence -- INFO - ----- extract action properties: 20/25 new triples (723, 0:00:00.108646) +- INFO - ----- extract action properties: 20/25 new triples (727, 0:00:00.114994) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (723, 0:00:00.029917) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (723, 0:00:00.023490) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (727, 0:00:00.027304) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (727, 0:00:00.029043) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 15/17 new triples (738, 0:00:00.119034) -- INFO - ----- extract ODRL rules: 12/12 new triples (750, 0:00:00.106988) +- INFO - ----- extract ODRL actions: 15/17 new triples (742, 0:00:00.128639) +- INFO - ----- extract ODRL rules: 12/24 new triples (754, 0:00:00.177122) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-7/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction -- INFO - ----- 121 triples extracted during transduction step +- INFO - ----- 123 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (751, 0:00:00.059167) +- INFO - ----- generate ODRL rule: 1/1 new triple (755, 0:00:00.154924) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -709,13 +730,13 @@ - DEBUG - --- Graph Initialization - DEBUG - ----- Configuration Loading - DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (468) -- DEBUG - -------- Config Parameter Definition (502) +- DEBUG - -------- Semantic Net Definition (470) +- DEBUG - -------- Config Parameter Definition (504) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (532) +- DEBUG - -------- Base Ontology produced as output (534) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s04.stog.amr.ttl (558) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s04.stog.amr.ttl (560) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-8/tenet.tetras-libre.fr_demo_clara_12.ttl - INFO - ----- Sentence (id): asail_odrl_sentences-04 @@ -726,25 +747,25 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (558, 0:00:00.024347) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (560, 0:00:00.035438) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (563, 0:00:00.107200) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (563, 0:00:00.069500) -- INFO - ----- reclassify-concept-3: 4/4 new triples (567, 0:00:00.118766) -- INFO - ----- reclassify-concept-4: 8/8 new triples (575, 0:00:00.067690) -- INFO - ----- reclassify-concept-5: 4/4 new triples (579, 0:00:00.052355) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (579, 0:00:00.056409) -- INFO - ----- reclassify-existing-variable: 22/22 new triples (601, 0:00:00.030481) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (601, 0:00:00.054620) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 15/15 new triples (616, 0:00:00.036816) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (616, 0:00:00.035250) -- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (628, 0:00:00.090308) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (628, 0:00:00.077374) -- INFO - ----- add-amr-edge-for-name-relation: 10/10 new triples (638, 0:00:00.075552) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (638, 0:00:00.081523) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (638, 0:00:00.073465) -- INFO - ----- update-amr-edge-role-1: 6/6 new triples (644, 0:00:00.040320) -- INFO - ----- add-amr-root: 5/5 new triples (649, 0:00:00.028140) +- INFO - ----- reclassify-concept-1: 5/5 new triples (565, 0:00:00.117088) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (565, 0:00:00.066754) +- INFO - ----- reclassify-concept-3: 4/4 new triples (569, 0:00:00.056252) +- INFO - ----- reclassify-concept-4: 8/8 new triples (577, 0:00:00.070705) +- INFO - ----- reclassify-concept-5: 4/4 new triples (581, 0:00:00.058125) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (581, 0:00:00.054516) +- INFO - ----- reclassify-existing-variable: 22/22 new triples (603, 0:00:00.031556) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (603, 0:00:00.061906) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 15/15 new triples (618, 0:00:00.036579) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (618, 0:00:00.039978) +- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (630, 0:00:00.091910) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (630, 0:00:00.082697) +- INFO - ----- add-amr-edge-for-name-relation: 10/10 new triples (640, 0:00:00.082005) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (640, 0:00:00.081328) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (640, 0:00:00.077509) +- INFO - ----- update-amr-edge-role-1: 6/6 new triples (646, 0:00:00.049455) +- INFO - ----- add-amr-root: 5/5 new triples (651, 0:00:00.033543) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -753,41 +774,44 @@ - INFO - ----- 91 triples extracted during preprocessing step - INFO - -- Applying extraction step: transduction - INFO - --- *** February Transduction *** Sequence: atomic extraction sequence -- INFO - ----- extract atom classes: 18/18 new triples (667, 0:00:00.105641) -- INFO - ----- extract atom individuals: 16/16 new triples (683, 0:00:00.075186) -- INFO - ----- extract atomic properties: 13/13 new triples (696, 0:00:00.049158) -- INFO - ----- extract atom values: 10/10 new triples (706, 0:00:00.051825) -- INFO - ----- extract atom phenomena: 7/7 new triples (713, 0:00:00.040443) -- INFO - ----- propagate atom relations: 15/52 new triples (728, 0:00:00.544076) +- INFO - ----- extract atom classes: 18/18 new triples (669, 0:00:00.123350) +- INFO - ----- extract atom individuals: 16/16 new triples (685, 0:00:00.104265) +- INFO - ----- extract atomic properties: 13/13 new triples (698, 0:00:00.046885) +- INFO - ----- extract atom values: 10/10 new triples (708, 0:00:00.065234) +- INFO - ----- extract atom phenomena: 7/7 new triples (715, 0:00:00.049119) +- INFO - ----- propagate atom relations: 15/52 new triples (730, 0:00:00.618372) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (728, 0:00:00.007548) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (728, 0:00:00.016183) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (728, 0:00:00.017371) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (728, 0:00:00.034898) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (728, 0:00:00.034263) -- INFO - ----- analyze modifier phenomena (mod): 21/25 new triples (749, 0:00:00.090413) +- INFO - ----- classify modality phenomena: 1/3 new triple (731, 0:00:00.039165) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (749, 0:00:00.009780) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (749, 0:00:00.010434) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (749, 0:00:00.017636) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (749, 0:00:00.009805) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (731, 0:00:00.007965) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (731, 0:00:00.016278) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (731, 0:00:00.015242) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (731, 0:00:00.036729) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (731, 0:00:00.034530) +- INFO - ----- analyze modifier phenomena (mod): 21/25 new triples (752, 0:00:00.090351) +- DEBUG - ----- classify modality phenomena: 0/6 new triple (752, 0:00:00.070608) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (3) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (752, 0:00:00.015717) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (752, 0:00:00.027497) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (752, 0:00:00.023461) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (752, 0:00:00.029375) - INFO - --- *** February Transduction *** Sequence: composite property extraction sequence -- INFO - ----- extract action properties: 21/27 new triples (770, 0:00:00.097962) +- INFO - ----- extract action properties: 21/27 new triples (773, 0:00:00.169995) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (770, 0:00:00.021531) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (770, 0:00:00.029775) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (773, 0:00:00.034478) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (773, 0:00:00.030414) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 11/12 new triples (781, 0:00:00.121186) -- INFO - ----- extract ODRL rules: 11/11 new triples (792, 0:00:00.100877) +- INFO - ----- extract ODRL actions: 11/12 new triples (784, 0:00:00.101922) +- INFO - ----- extract ODRL rules: 11/22 new triples (795, 0:00:00.120691) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-8/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction -- INFO - ----- 143 triples extracted during transduction step +- INFO - ----- 144 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (793, 0:00:00.074371) +- INFO - ----- generate ODRL rule: 1/1 new triple (796, 0:00:00.053803) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -802,13 +826,13 @@ - DEBUG - --- Graph Initialization - DEBUG - ----- Configuration Loading - DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (468) -- DEBUG - -------- Config Parameter Definition (502) +- DEBUG - -------- Semantic Net Definition (470) +- DEBUG - -------- Config Parameter Definition (504) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (532) +- DEBUG - -------- Base Ontology produced as output (534) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s01.stog.amr.ttl (549) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s01.stog.amr.ttl (551) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-9/tenet.tetras-libre.fr_demo_clara_12.ttl - INFO - ----- Sentence (id): asail_odrl_sentences-01 @@ -819,25 +843,25 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (549, 0:00:00.116500) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (551, 0:00:00.024314) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (554, 0:00:00.112914) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (554, 0:00:00.061894) -- INFO - ----- reclassify-concept-3: 4/4 new triples (558, 0:00:00.048361) -- INFO - ----- reclassify-concept-4: 4/4 new triples (562, 0:00:00.071134) -- DEBUG - ----- reclassify-concept-5: 0/0 new triple (562, 0:00:00.052417) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (562, 0:00:00.050426) -- INFO - ----- reclassify-existing-variable: 13/13 new triples (575, 0:00:00.035722) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (575, 0:00:00.061072) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 9/9 new triples (584, 0:00:00.030862) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (584, 0:00:00.031613) -- INFO - ----- add-amr-edge-for-core-relation: 6/6 new triples (590, 0:00:00.097526) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (590, 0:00:00.072320) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (595, 0:00:00.072175) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (595, 0:00:00.071960) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (595, 0:00:00.081693) -- INFO - ----- update-amr-edge-role-1: 3/3 new triples (598, 0:00:00.026521) -- INFO - ----- add-amr-root: 5/5 new triples (603, 0:00:00.025573) +- INFO - ----- reclassify-concept-1: 5/5 new triples (556, 0:00:00.107869) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (556, 0:00:00.053264) +- INFO - ----- reclassify-concept-3: 4/4 new triples (560, 0:00:00.039638) +- INFO - ----- reclassify-concept-4: 4/4 new triples (564, 0:00:00.054366) +- DEBUG - ----- reclassify-concept-5: 0/0 new triple (564, 0:00:00.040770) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (564, 0:00:00.041249) +- INFO - ----- reclassify-existing-variable: 13/13 new triples (577, 0:00:00.042160) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (577, 0:00:00.051457) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 9/9 new triples (586, 0:00:00.039065) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (586, 0:00:00.030118) +- INFO - ----- add-amr-edge-for-core-relation: 6/6 new triples (592, 0:00:00.101447) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (592, 0:00:00.078647) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (597, 0:00:00.070922) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (597, 0:00:00.069594) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (597, 0:00:00.159797) +- INFO - ----- update-amr-edge-role-1: 3/3 new triples (600, 0:00:00.027382) +- INFO - ----- add-amr-root: 5/5 new triples (605, 0:00:00.024729) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -846,41 +870,44 @@ - INFO - ----- 54 triples extracted during preprocessing step - INFO - -- Applying extraction step: transduction - INFO - --- *** February Transduction *** Sequence: atomic extraction sequence -- INFO - ----- extract atom classes: 6/6 new triples (609, 0:00:00.041190) -- INFO - ----- extract atom individuals: 8/8 new triples (617, 0:00:00.039094) -- INFO - ----- extract atomic properties: 12/12 new triples (629, 0:00:00.038695) -- INFO - ----- extract atom values: 5/5 new triples (634, 0:00:00.034474) -- INFO - ----- extract atom phenomena: 7/7 new triples (641, 0:00:00.039734) -- INFO - ----- propagate atom relations: 7/22 new triples (648, 0:00:00.307249) +- INFO - ----- extract atom classes: 6/6 new triples (611, 0:00:00.038438) +- INFO - ----- extract atom individuals: 8/8 new triples (619, 0:00:00.040640) +- INFO - ----- extract atomic properties: 12/12 new triples (631, 0:00:00.041099) +- INFO - ----- extract atom values: 5/5 new triples (636, 0:00:00.027382) +- INFO - ----- extract atom phenomena: 7/7 new triples (643, 0:00:00.037569) +- INFO - ----- propagate atom relations: 7/22 new triples (650, 0:00:00.293529) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (648, 0:00:00.012748) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (648, 0:00:00.014619) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (648, 0:00:00.015150) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (648, 0:00:00.032787) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (648, 0:00:00.030902) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (648, 0:00:00.007746) +- INFO - ----- classify modality phenomena: 1/3 new triple (651, 0:00:00.041066) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (648, 0:00:00.012034) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (648, 0:00:00.011453) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (648, 0:00:00.009736) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (648, 0:00:00.009924) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (651, 0:00:00.010590) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (651, 0:00:00.013625) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (651, 0:00:00.018674) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (651, 0:00:00.032312) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (651, 0:00:00.029510) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (651, 0:00:00.007878) +- DEBUG - ----- classify modality phenomena: 0/6 new triple (651, 0:00:00.060536) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (3) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (651, 0:00:00.010391) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (651, 0:00:00.009898) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (651, 0:00:00.010196) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (651, 0:00:00.008904) - INFO - --- *** February Transduction *** Sequence: composite property extraction sequence -- INFO - ----- extract action properties: 17/20 new triples (665, 0:00:00.101750) +- INFO - ----- extract action properties: 17/20 new triples (668, 0:00:00.100847) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (665, 0:00:00.020945) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (665, 0:00:00.025559) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (668, 0:00:00.028691) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (668, 0:00:00.022495) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 11/12 new triples (676, 0:00:00.115678) -- INFO - ----- extract ODRL rules: 11/11 new triples (687, 0:00:00.142584) +- INFO - ----- extract ODRL actions: 11/12 new triples (679, 0:00:00.107603) +- INFO - ----- extract ODRL rules: 11/22 new triples (690, 0:00:00.167904) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-9/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction -- INFO - ----- 84 triples extracted during transduction step +- INFO - ----- 85 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (688, 0:00:00.093450) +- INFO - ----- generate ODRL rule: 1/1 new triple (691, 0:00:00.069326) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -895,13 +922,13 @@ - DEBUG - --- Graph Initialization - DEBUG - ----- Configuration Loading - DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (468) -- DEBUG - -------- Config Parameter Definition (502) +- DEBUG - -------- Semantic Net Definition (470) +- DEBUG - -------- Config Parameter Definition (504) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (532) +- DEBUG - -------- Base Ontology produced as output (534) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s08.stog.amr.ttl (555) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s08.stog.amr.ttl (557) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-10/tenet.tetras-libre.fr_demo_clara_12.ttl - INFO - ----- Sentence (id): asail_odrl_sentences-08 @@ -912,25 +939,25 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (555, 0:00:00.026863) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (557, 0:00:00.030181) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (560, 0:00:00.111197) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (560, 0:00:00.061309) -- INFO - ----- reclassify-concept-3: 8/8 new triples (568, 0:00:00.057306) -- DEBUG - ----- reclassify-concept-4: 0/0 new triple (568, 0:00:00.067970) -- INFO - ----- reclassify-concept-5: 4/4 new triples (572, 0:00:00.057513) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (572, 0:00:00.048541) -- INFO - ----- reclassify-existing-variable: 17/17 new triples (589, 0:00:00.035324) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (589, 0:00:00.062641) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (601, 0:00:00.038114) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (601, 0:00:00.028963) -- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (610, 0:00:00.087286) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (610, 0:00:00.072747) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (615, 0:00:00.068911) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (615, 0:00:00.060987) -- INFO - ----- add-amr-edge-for-polarity-relation: 8/8 new triples (623, 0:00:00.079844) -- INFO - ----- update-amr-edge-role-1: 6/6 new triples (629, 0:00:00.040394) -- INFO - ----- add-amr-root: 5/5 new triples (634, 0:00:00.029888) +- INFO - ----- reclassify-concept-1: 5/5 new triples (562, 0:00:00.116548) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (562, 0:00:00.056808) +- INFO - ----- reclassify-concept-3: 8/8 new triples (570, 0:00:00.046142) +- DEBUG - ----- reclassify-concept-4: 0/0 new triple (570, 0:00:00.065065) +- INFO - ----- reclassify-concept-5: 4/4 new triples (574, 0:00:00.052050) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (574, 0:00:00.046584) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (591, 0:00:00.033051) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (591, 0:00:00.062404) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (603, 0:00:00.034529) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (603, 0:00:00.032574) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (612, 0:00:00.177328) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (612, 0:00:00.076830) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (617, 0:00:00.077225) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (617, 0:00:00.071891) +- INFO - ----- add-amr-edge-for-polarity-relation: 8/8 new triples (625, 0:00:00.082300) +- INFO - ----- update-amr-edge-role-1: 6/6 new triples (631, 0:00:00.047468) +- INFO - ----- add-amr-root: 5/5 new triples (636, 0:00:00.024141) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -939,41 +966,44 @@ - INFO - ----- 79 triples extracted during preprocessing step - INFO - -- Applying extraction step: transduction - INFO - --- *** February Transduction *** Sequence: atomic extraction sequence -- INFO - ----- extract atom classes: 6/6 new triples (640, 0:00:00.039264) -- INFO - ----- extract atom individuals: 8/8 new triples (648, 0:00:00.053656) -- INFO - ----- extract atomic properties: 25/25 new triples (673, 0:00:00.143348) -- INFO - ----- extract atom values: 10/10 new triples (683, 0:00:00.055191) -- INFO - ----- extract atom phenomena: 7/7 new triples (690, 0:00:00.032842) -- INFO - ----- propagate atom relations: 12/30 new triples (702, 0:00:00.345239) +- INFO - ----- extract atom classes: 6/6 new triples (642, 0:00:00.042616) +- INFO - ----- extract atom individuals: 8/8 new triples (650, 0:00:00.041212) +- INFO - ----- extract atomic properties: 25/25 new triples (675, 0:00:00.079730) +- INFO - ----- extract atom values: 10/10 new triples (685, 0:00:00.049326) +- INFO - ----- extract atom phenomena: 7/7 new triples (692, 0:00:00.041031) +- INFO - ----- propagate atom relations: 12/30 new triples (704, 0:00:00.384085) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- INFO - ----- analyze "polarity" phenomena (1): 35/42 new triples (737, 0:00:00.099857) -- INFO - ----- analyze "polarity" phenomena (2): 14/17 new triples (751, 0:00:00.063700) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (751, 0:00:00.015080) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (751, 0:00:00.029566) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (751, 0:00:00.032579) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (751, 0:00:00.009021) +- INFO - ----- classify modality phenomena: 1/5 new triple (705, 0:00:00.034161) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (751, 0:00:00.016373) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (751, 0:00:00.012296) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (751, 0:00:00.010011) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (751, 0:00:00.010130) +- INFO - ----- analyze "polarity" phenomena (1): 35/42 new triples (740, 0:00:00.102433) +- INFO - ----- analyze "polarity" phenomena (2): 14/34 new triples (754, 0:00:00.109398) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (754, 0:00:00.015040) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (754, 0:00:00.036264) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (754, 0:00:00.039937) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (754, 0:00:00.008500) +- INFO - ----- classify modality phenomena: 1/23 new triple (755, 0:00:00.069222) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (3) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (755, 0:00:00.012391) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (755, 0:00:00.010613) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (755, 0:00:00.011037) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (755, 0:00:00.009413) - INFO - --- *** February Transduction *** Sequence: composite property extraction sequence -- INFO - ----- extract action properties: 21/28 new triples (772, 0:00:00.116166) +- INFO - ----- extract action properties: 21/28 new triples (776, 0:00:00.112462) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (772, 0:00:00.036265) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (772, 0:00:00.031545) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (776, 0:00:00.028079) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (776, 0:00:00.020752) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 12/14 new triples (784, 0:00:00.181277) -- INFO - ----- extract ODRL rules: 11/11 new triples (795, 0:00:00.105690) +- INFO - ----- extract ODRL actions: 12/14 new triples (788, 0:00:00.119125) +- INFO - ----- extract ODRL rules: 11/22 new triples (799, 0:00:00.153158) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-10/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction -- INFO - ----- 161 triples extracted during transduction step +- INFO - ----- 163 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (796, 0:00:00.058142) +- INFO - ----- generate ODRL rule: 1/1 new triple (800, 0:00:00.066727) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -988,13 +1018,13 @@ - DEBUG - --- Graph Initialization - DEBUG - ----- Configuration Loading - DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (468) -- DEBUG - -------- Config Parameter Definition (502) +- DEBUG - -------- Semantic Net Definition (470) +- DEBUG - -------- Config Parameter Definition (504) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (532) +- DEBUG - -------- Base Ontology produced as output (534) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s13.stog.amr.ttl (552) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s13.stog.amr.ttl (554) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-11/tenet.tetras-libre.fr_demo_clara_12.ttl - INFO - ----- Sentence (id): policy_asail_odrl_sentences-13 @@ -1005,25 +1035,25 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (552, 0:00:00.028292) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (554, 0:00:00.029693) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (557, 0:00:00.101452) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (557, 0:00:00.052138) -- INFO - ----- reclassify-concept-3: 8/8 new triples (565, 0:00:00.037742) -- INFO - ----- reclassify-concept-4: 4/4 new triples (569, 0:00:00.059793) -- DEBUG - ----- reclassify-concept-5: 0/0 new triple (569, 0:00:00.043834) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (569, 0:00:00.044838) -- INFO - ----- reclassify-existing-variable: 16/16 new triples (585, 0:00:00.029455) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (585, 0:00:00.058675) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (597, 0:00:00.037460) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (597, 0:00:00.038893) -- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (606, 0:00:00.093552) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (606, 0:00:00.078494) -- DEBUG - ----- add-amr-edge-for-name-relation: 0/0 new triple (606, 0:00:00.071811) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (606, 0:00:00.066785) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (606, 0:00:00.073296) -- INFO - ----- update-amr-edge-role-1: 3/3 new triples (609, 0:00:00.038552) -- INFO - ----- add-amr-root: 5/5 new triples (614, 0:00:00.032252) +- INFO - ----- reclassify-concept-1: 5/5 new triples (559, 0:00:00.124672) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (559, 0:00:00.063834) +- INFO - ----- reclassify-concept-3: 8/8 new triples (567, 0:00:00.055082) +- INFO - ----- reclassify-concept-4: 4/4 new triples (571, 0:00:00.139170) +- DEBUG - ----- reclassify-concept-5: 0/0 new triple (571, 0:00:00.046392) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (571, 0:00:00.047132) +- INFO - ----- reclassify-existing-variable: 16/16 new triples (587, 0:00:00.029090) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (587, 0:00:00.054184) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (599, 0:00:00.035958) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (599, 0:00:00.029188) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (608, 0:00:00.086906) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (608, 0:00:00.075296) +- DEBUG - ----- add-amr-edge-for-name-relation: 0/0 new triple (608, 0:00:00.059573) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (608, 0:00:00.061291) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (608, 0:00:00.065742) +- INFO - ----- update-amr-edge-role-1: 3/3 new triples (611, 0:00:00.028015) +- INFO - ----- add-amr-root: 5/5 new triples (616, 0:00:00.024294) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -1032,41 +1062,44 @@ - INFO - ----- 62 triples extracted during preprocessing step - INFO - -- Applying extraction step: transduction - INFO - --- *** February Transduction *** Sequence: atomic extraction sequence -- INFO - ----- extract atom classes: 6/6 new triples (620, 0:00:00.042683) -- DEBUG - ----- extract atom individuals: 0/0 new triple (620, 0:00:00.014200) -- INFO - ----- extract atomic properties: 24/24 new triples (644, 0:00:00.084522) -- DEBUG - ----- extract atom values: 0/0 new triple (644, 0:00:00.007714) -- INFO - ----- extract atom phenomena: 7/7 new triples (651, 0:00:00.036958) -- INFO - ----- propagate atom relations: 5/12 new triples (656, 0:00:00.248402) +- INFO - ----- extract atom classes: 6/6 new triples (622, 0:00:00.039788) +- DEBUG - ----- extract atom individuals: 0/0 new triple (622, 0:00:00.011632) +- INFO - ----- extract atomic properties: 24/24 new triples (646, 0:00:00.072895) +- DEBUG - ----- extract atom values: 0/0 new triple (646, 0:00:00.006562) +- INFO - ----- extract atom phenomena: 7/7 new triples (653, 0:00:00.036873) +- INFO - ----- propagate atom relations: 5/12 new triples (658, 0:00:00.238259) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (656, 0:00:00.008746) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (656, 0:00:00.012601) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (656, 0:00:00.016922) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (656, 0:00:00.122795) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (656, 0:00:00.031229) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (656, 0:00:00.007642) +- INFO - ----- classify modality phenomena: 1/3 new triple (659, 0:00:00.055095) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (656, 0:00:00.011314) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (656, 0:00:00.012114) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (656, 0:00:00.009158) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (656, 0:00:00.013596) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (659, 0:00:00.012212) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (659, 0:00:00.021517) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (659, 0:00:00.016628) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (659, 0:00:00.044541) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (659, 0:00:00.029834) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (659, 0:00:00.011040) +- DEBUG - ----- classify modality phenomena: 0/6 new triple (659, 0:00:00.052328) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (3) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (659, 0:00:00.010898) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (659, 0:00:00.013335) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (659, 0:00:00.011860) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (659, 0:00:00.011692) - INFO - --- *** February Transduction *** Sequence: composite property extraction sequence -- INFO - ----- extract action properties: 18/21 new triples (674, 0:00:00.109582) +- INFO - ----- extract action properties: 18/21 new triples (677, 0:00:00.204111) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (674, 0:00:00.030077) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (674, 0:00:00.022495) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (677, 0:00:00.048951) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (677, 0:00:00.031831) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 11/12 new triples (685, 0:00:00.121607) -- INFO - ----- extract ODRL rules: 11/11 new triples (696, 0:00:00.116682) +- INFO - ----- extract ODRL actions: 11/12 new triples (688, 0:00:00.124793) +- INFO - ----- extract ODRL rules: 11/22 new triples (699, 0:00:00.128115) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-11/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction -- INFO - ----- 82 triples extracted during transduction step +- INFO - ----- 83 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (697, 0:00:00.065734) +- INFO - ----- generate ODRL rule: 1/1 new triple (700, 0:00:00.046857) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -1081,13 +1114,13 @@ - DEBUG - --- Graph Initialization - DEBUG - ----- Configuration Loading - DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (468) -- DEBUG - -------- Config Parameter Definition (502) +- DEBUG - -------- Semantic Net Definition (470) +- DEBUG - -------- Config Parameter Definition (504) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (532) +- DEBUG - -------- Base Ontology produced as output (534) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s02.stog.amr.ttl (553) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s02.stog.amr.ttl (555) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-12/tenet.tetras-libre.fr_demo_clara_12.ttl - INFO - ----- Sentence (id): asail_odrl_sentences-02 @@ -1098,25 +1131,25 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (553, 0:00:00.038215) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (555, 0:00:00.105120) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (558, 0:00:00.114269) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (558, 0:00:00.065596) -- INFO - ----- reclassify-concept-3: 4/4 new triples (562, 0:00:00.045035) -- INFO - ----- reclassify-concept-4: 4/4 new triples (566, 0:00:00.070575) -- INFO - ----- reclassify-concept-5: 4/4 new triples (570, 0:00:00.050242) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (570, 0:00:00.050826) -- INFO - ----- reclassify-existing-variable: 17/17 new triples (587, 0:00:00.030102) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (587, 0:00:00.059278) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (599, 0:00:00.032980) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (599, 0:00:00.032849) -- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (608, 0:00:00.104047) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (608, 0:00:00.074970) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (613, 0:00:00.070897) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (613, 0:00:00.077625) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (613, 0:00:00.080694) -- INFO - ----- update-amr-edge-role-1: 4/4 new triples (617, 0:00:00.034918) -- INFO - ----- add-amr-root: 5/5 new triples (622, 0:00:00.031064) +- INFO - ----- reclassify-concept-1: 5/5 new triples (560, 0:00:00.114150) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (560, 0:00:00.050891) +- INFO - ----- reclassify-concept-3: 4/4 new triples (564, 0:00:00.042187) +- INFO - ----- reclassify-concept-4: 4/4 new triples (568, 0:00:00.049340) +- INFO - ----- reclassify-concept-5: 4/4 new triples (572, 0:00:00.044124) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (572, 0:00:00.043362) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (589, 0:00:00.030727) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (589, 0:00:00.060630) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (601, 0:00:00.066839) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (601, 0:00:00.034879) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (610, 0:00:00.102976) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (610, 0:00:00.075569) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (615, 0:00:00.066432) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (615, 0:00:00.075962) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (615, 0:00:00.082807) +- INFO - ----- update-amr-edge-role-1: 4/4 new triples (619, 0:00:00.030944) +- INFO - ----- add-amr-root: 5/5 new triples (624, 0:00:00.025568) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -1125,41 +1158,44 @@ - INFO - ----- 69 triples extracted during preprocessing step - INFO - -- Applying extraction step: transduction - INFO - --- *** February Transduction *** Sequence: atomic extraction sequence -- INFO - ----- extract atom classes: 12/12 new triples (634, 0:00:00.062091) -- INFO - ----- extract atom individuals: 8/8 new triples (642, 0:00:00.052074) -- INFO - ----- extract atomic properties: 13/13 new triples (655, 0:00:00.128561) -- INFO - ----- extract atom values: 5/5 new triples (660, 0:00:00.029643) -- INFO - ----- extract atom phenomena: 7/7 new triples (667, 0:00:00.040446) -- INFO - ----- propagate atom relations: 10/26 new triples (677, 0:00:00.376199) +- INFO - ----- extract atom classes: 12/12 new triples (636, 0:00:00.070437) +- INFO - ----- extract atom individuals: 8/8 new triples (644, 0:00:00.040471) +- INFO - ----- extract atomic properties: 13/13 new triples (657, 0:00:00.048180) +- INFO - ----- extract atom values: 5/5 new triples (662, 0:00:00.033143) +- INFO - ----- extract atom phenomena: 7/7 new triples (669, 0:00:00.043110) +- INFO - ----- propagate atom relations: 10/26 new triples (679, 0:00:00.363459) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (677, 0:00:00.007474) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (677, 0:00:00.018335) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (677, 0:00:00.018770) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (677, 0:00:00.030087) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (677, 0:00:00.039444) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (677, 0:00:00.010540) +- INFO - ----- classify modality phenomena: 1/3 new triple (680, 0:00:00.035722) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (677, 0:00:00.010675) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (677, 0:00:00.015872) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (677, 0:00:00.011160) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (677, 0:00:00.010468) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (680, 0:00:00.009029) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (680, 0:00:00.012360) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (680, 0:00:00.012819) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (680, 0:00:00.027981) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (680, 0:00:00.033077) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (680, 0:00:00.007548) +- DEBUG - ----- classify modality phenomena: 0/6 new triple (680, 0:00:00.053852) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (3) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (680, 0:00:00.013838) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (680, 0:00:00.015755) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (680, 0:00:00.010147) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (680, 0:00:00.010484) - INFO - --- *** February Transduction *** Sequence: composite property extraction sequence -- INFO - ----- extract action properties: 19/23 new triples (696, 0:00:00.109067) +- INFO - ----- extract action properties: 19/23 new triples (699, 0:00:00.097107) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (696, 0:00:00.029424) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (696, 0:00:00.022121) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (699, 0:00:00.027539) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (699, 0:00:00.023886) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 14/15 new triples (710, 0:00:00.126438) -- INFO - ----- extract ODRL rules: 12/12 new triples (722, 0:00:00.119199) +- INFO - ----- extract ODRL actions: 14/15 new triples (713, 0:00:00.121753) +- INFO - ----- extract ODRL rules: 12/24 new triples (725, 0:00:00.173913) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-12/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction -- INFO - ----- 100 triples extracted during transduction step +- INFO - ----- 101 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (723, 0:00:00.076934) +- INFO - ----- generate ODRL rule: 1/1 new triple (726, 0:00:00.075306) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -1174,13 +1210,13 @@ - DEBUG - --- Graph Initialization - DEBUG - ----- Configuration Loading - DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (468) -- DEBUG - -------- Config Parameter Definition (502) +- DEBUG - -------- Semantic Net Definition (470) +- DEBUG - -------- Config Parameter Definition (504) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (532) +- DEBUG - -------- Base Ontology produced as output (534) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s12.stog.amr.ttl (554) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s12.stog.amr.ttl (556) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-13/tenet.tetras-libre.fr_demo_clara_12.ttl - INFO - ----- Sentence (id): policy_asail_odrl_sentences-12 @@ -1191,25 +1227,25 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (554, 0:00:00.036147) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (556, 0:00:00.024596) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (559, 0:00:00.125660) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (559, 0:00:00.065110) -- INFO - ----- reclassify-concept-3: 4/4 new triples (563, 0:00:00.047881) -- INFO - ----- reclassify-concept-4: 8/8 new triples (571, 0:00:00.072939) -- DEBUG - ----- reclassify-concept-5: 0/0 new triple (571, 0:00:00.056593) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (571, 0:00:00.049737) -- INFO - ----- reclassify-existing-variable: 16/16 new triples (587, 0:00:00.036274) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (587, 0:00:00.058161) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (599, 0:00:00.032295) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (599, 0:00:00.029453) -- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (611, 0:00:00.081775) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (611, 0:00:00.079556) -- DEBUG - ----- add-amr-edge-for-name-relation: 0/0 new triple (611, 0:00:00.059168) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (611, 0:00:00.138006) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (611, 0:00:00.080055) -- INFO - ----- update-amr-edge-role-1: 4/4 new triples (615, 0:00:00.029125) -- INFO - ----- add-amr-root: 5/5 new triples (620, 0:00:00.028866) +- INFO - ----- reclassify-concept-1: 5/5 new triples (561, 0:00:00.125393) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (561, 0:00:00.059434) +- INFO - ----- reclassify-concept-3: 4/4 new triples (565, 0:00:00.053774) +- INFO - ----- reclassify-concept-4: 8/8 new triples (573, 0:00:00.059640) +- DEBUG - ----- reclassify-concept-5: 0/0 new triple (573, 0:00:00.053125) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (573, 0:00:00.050228) +- INFO - ----- reclassify-existing-variable: 16/16 new triples (589, 0:00:00.033637) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (589, 0:00:00.049515) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (601, 0:00:00.035639) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (601, 0:00:00.029856) +- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (613, 0:00:00.098220) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (613, 0:00:00.082161) +- DEBUG - ----- add-amr-edge-for-name-relation: 0/0 new triple (613, 0:00:00.068260) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (613, 0:00:00.060588) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (613, 0:00:00.066138) +- INFO - ----- update-amr-edge-role-1: 4/4 new triples (617, 0:00:00.031422) +- INFO - ----- add-amr-root: 5/5 new triples (622, 0:00:00.025397) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -1218,41 +1254,44 @@ - INFO - ----- 66 triples extracted during preprocessing step - INFO - -- Applying extraction step: transduction - INFO - --- *** February Transduction *** Sequence: atomic extraction sequence -- INFO - ----- extract atom classes: 12/12 new triples (632, 0:00:00.063034) -- DEBUG - ----- extract atom individuals: 0/0 new triple (632, 0:00:00.013346) -- INFO - ----- extract atomic properties: 13/13 new triples (645, 0:00:00.037376) -- DEBUG - ----- extract atom values: 0/0 new triple (645, 0:00:00.004963) -- INFO - ----- extract atom phenomena: 7/7 new triples (652, 0:00:00.038165) -- INFO - ----- propagate atom relations: 7/16 new triples (659, 0:00:00.230254) +- INFO - ----- extract atom classes: 12/12 new triples (634, 0:00:00.059695) +- DEBUG - ----- extract atom individuals: 0/0 new triple (634, 0:00:00.014018) +- INFO - ----- extract atomic properties: 13/13 new triples (647, 0:00:00.045539) +- DEBUG - ----- extract atom values: 0/0 new triple (647, 0:00:00.006104) +- INFO - ----- extract atom phenomena: 7/7 new triples (654, 0:00:00.042043) +- INFO - ----- propagate atom relations: 7/16 new triples (661, 0:00:00.241222) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (659, 0:00:00.015112) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (659, 0:00:00.014240) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (659, 0:00:00.011875) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (659, 0:00:00.033103) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (659, 0:00:00.036674) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (659, 0:00:00.007597) +- INFO - ----- classify modality phenomena: 1/5 new triple (662, 0:00:00.034402) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (659, 0:00:00.010037) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (659, 0:00:00.013738) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (659, 0:00:00.011393) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (659, 0:00:00.010696) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (662, 0:00:00.007384) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (662, 0:00:00.014873) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (662, 0:00:00.015624) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (662, 0:00:00.030503) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (662, 0:00:00.028371) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (662, 0:00:00.008264) +- DEBUG - ----- classify modality phenomena: 0/10 new triple (662, 0:00:00.052103) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (3) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (662, 0:00:00.016480) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (662, 0:00:00.010624) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (662, 0:00:00.009513) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (662, 0:00:00.010516) - INFO - --- *** February Transduction *** Sequence: composite property extraction sequence -- INFO - ----- extract action properties: 18/21 new triples (677, 0:00:00.115862) +- INFO - ----- extract action properties: 18/21 new triples (680, 0:00:00.108611) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (677, 0:00:00.025489) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (677, 0:00:00.022062) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (680, 0:00:00.023109) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (680, 0:00:00.022634) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 14/15 new triples (691, 0:00:00.216739) -- INFO - ----- extract ODRL rules: 12/12 new triples (703, 0:00:00.100652) +- INFO - ----- extract ODRL actions: 14/15 new triples (694, 0:00:00.116660) +- INFO - ----- extract ODRL rules: 12/24 new triples (706, 0:00:00.155312) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-13/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction -- INFO - ----- 83 triples extracted during transduction step +- INFO - ----- 84 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (704, 0:00:00.085659) +- INFO - ----- generate ODRL rule: 1/1 new triple (707, 0:00:00.063090) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ @@ -1275,6 +1314,6 @@ - INFO - *** Execution Time *** ----- Function: create_ontology_from_amrld_dir (tenet.main) ------ Total Time: 0:00:36.843799 ------ Process Time: 0:00:36.487473 +----- Total Time: 0:00:39.559606 +----- Process Time: 0:00:39.119470 *** - *** diff --git a/tenet/transduction/net/__init__.py b/tenet/transduction/net/__init__.py index adad863b..2671c2e2 100644 --- a/tenet/transduction/net/__init__.py +++ b/tenet/transduction/net/__init__.py @@ -17,6 +17,8 @@ from transduction.net.value_net import ValueNet from transduction.net.phenomena_net import PhenomenaNet +from transduction.net.modality_phenomena_net import ModalityPhenomenaNet + from transduction.net.restriction_net import RestrictionNet from transduction.net.axiom_net import AxiomNet diff --git a/tenet/transduction/net/modality_phenomena_net.py b/tenet/transduction/net/modality_phenomena_net.py new file mode 100644 index 00000000..1b04de23 --- /dev/null +++ b/tenet/transduction/net/modality_phenomena_net.py @@ -0,0 +1,34 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: Phenomena Net +#------------------------------------------------------------------------------ +# Class to handle semantic nets +#============================================================================== + +from transduction.net import PhenomenaNet +from transduction.rdfterm_computer import produce_uriref, produce_literal + + +#============================================================================== +# Net Class +#============================================================================== + +class ModalityPhenomenaNet(PhenomenaNet): + """ Class to handle semantic net. + """ + + #-------------------------------------------------------------------------- + # Constructor(s) + #-------------------------------------------------------------------------- + + def __init__(self, support_graph, uri=None): + + # -- Parent init + super().__init__(support_graph, uri) + + # -- Net Type + self.type_name = 'modalityPhenomena' + self.type_id = 'Modality_Phenomena_Net' + self.type_uri = produce_uriref(self.support_graph, f'net:{self.type_id}') diff --git a/tests/dev_tests/test_data/composite-property-extraction-devGraph-1.result.ttl b/tests/dev_tests/test_data/composite-property-extraction-devGraph-1.result.ttl index 9ead05e1..31fb5f94 100644 --- a/tests/dev_tests/test_data/composite-property-extraction-devGraph-1.result.ttl +++ b/tests/dev_tests/test_data/composite-property-extraction-devGraph-1.result.ttl @@ -412,12 +412,18 @@ cprm:targetOntologyURI a rdf:Property ; net:Action_Net a owl:Class ; rdfs:subClassOf net:Net . +net:Action_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + net:Composite_Class_Net a owl:Class ; rdfs:subClassOf net:Class_Net . net:Composite_Property_Net a owl:Class ; rdfs:subClassOf net:Property_Net . +net:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + net:Feature a owl:Class ; rdfs:subClassOf net:Net_Structure . @@ -550,8 +556,7 @@ net:modCat2 a owl:AnnotationProperty ; net:normal_direction a owl:NamedIndividual . net:phenomena_possible-modality_p a net:Phenomena_Net ; - :role_ARG1 net:actionProperty_use_u, - net:atomProperty_use_u ; + :role_ARG1 net:atomProperty_use_u ; :role_ARG2 net:atomClass_you_y ; net:coverBaseNode :leaf_permit-01_p ; net:coverNode :leaf_permit-01_p ; @@ -643,22 +648,22 @@ sys:Feature a owl:Class ; sys:Out_AnnotationProperty a owl:AnnotationProperty . -net:Action_Property_Net a owl:Class ; - rdfs:subClassOf net:Property_Net . - net:Atom_Property_Net a owl:Class ; rdfs:subClassOf net:Property_Net . -net:Deprecated_Net a owl:Class ; - rdfs:subClassOf net:Net . - net:Phenomena_Net a owl:Class ; rdfs:subClassOf net:Net . -net:actionProperty_use_u a net:Action_Property_Net ; +net:atomClass_movie_m a net:Atom_Class_Net ; + net:coverBaseNode :leaf_movie_m ; + net:coverNode :leaf_movie_m ; + net:hasClassName "movie" ; + net:hasNaming "movie" ; + net:hasStructure "policy_asail_odrl_sentences-12" . + +net:atomProperty_use_u a net:Atom_Property_Net ; :role_ARG0 net:atomClass_you_y ; :role_ARG1 net:atomClass_movie_m ; - net:composeFrom net:atomProperty_use_u ; net:coverBaseNode :leaf_use-01_u ; net:coverNode :leaf_use-01_u ; net:hasNaming "use" ; @@ -745,30 +750,13 @@ net:Atom_Class_Net a owl:Class ; net:Class_Net a owl:Class ; rdfs:subClassOf net:Net . -net:atomClass_movie_m a net:Atom_Class_Net ; - net:coverBaseNode :leaf_movie_m ; - net:coverNode :leaf_movie_m ; - net:hasClassName "movie" ; - net:hasNaming "movie" ; +net:atomClass_you_y a net:Atom_Class_Net ; + net:coverBaseNode :leaf_you_y ; + net:coverNode :leaf_you_y ; + net:hasClassName "you" ; + net:hasNaming "you" ; net:hasStructure "policy_asail_odrl_sentences-12" . -net:atomProperty_use_u a net:Atom_Property_Net, - net:Deprecated_Net ; - :role_ARG0 net:atomClass_you_y ; - :role_ARG1 net:atomClass_movie_m ; - net:coverBaseNode :leaf_use-01_u ; - net:coverNode :leaf_use-01_u ; - net:hasNaming "use" ; - net:hasPropertyName "use" ; - net:hasPropertyName01 "useing" ; - net:hasPropertyName10 "use-by" ; - net:hasPropertyName12 "use-of" ; - net:hasPropertyType owl:ObjectProperty ; - net:hasStructure "policy_asail_odrl_sentences-12" ; - net:isCoreRoleLinked "true" ; - net:targetArgumentNode :leaf_movie_m, - :leaf_you_y . - net:objectProperty a owl:AnnotationProperty ; rdfs:label "object attribute" . @@ -800,6 +788,12 @@ net:objectProperty a owl:AnnotationProperty ; :hasConcept :concept_permit-01 ; :hasVariable :variable_p . +:leaf_use-01_u a :AMR_Leaf ; + :edge_u_ARG0_y :leaf_you_y ; + :edge_u_ARG1_m :leaf_movie_m ; + :hasConcept :concept_use-01 ; + :hasVariable :variable_u . + :phenomena_modality a owl:Class ; rdfs:subClassOf :AMR_Phenomena . @@ -816,13 +810,6 @@ net:Property_Net a owl:Class ; net:Relation a owl:Class ; rdfs:subClassOf net:Net_Structure . -net:atomClass_you_y a net:Atom_Class_Net ; - net:coverBaseNode :leaf_you_y ; - net:coverNode :leaf_you_y ; - net:hasClassName "you" ; - net:hasNaming "you" ; - net:hasStructure "policy_asail_odrl_sentences-12" . - net:has_relation_value a owl:AnnotationProperty ; rdfs:label "has relation value" ; rdfs:subPropertyOf net:has_object . @@ -839,21 +826,19 @@ ns11:FrameRole a ns21:Role, :AMR_Variable a owl:Class ; rdfs:subClassOf :AMR_Element . +:leaf_movie_m a :AMR_Leaf ; + :hasConcept :concept_movie ; + :hasVariable :variable_m . + :AMR_NonCore_Role a owl:Class ; rdfs:subClassOf :AMR_Role . :AMR_Role a owl:Class ; rdfs:subClassOf :AMR_Element . -:leaf_movie_m a :AMR_Leaf ; - :hasConcept :concept_movie ; - :hasVariable :variable_m . - -:leaf_use-01_u a :AMR_Leaf ; - :edge_u_ARG0_y :leaf_you_y ; - :edge_u_ARG1_m :leaf_movie_m ; - :hasConcept :concept_use-01 ; - :hasVariable :variable_u . +:leaf_you_y a :AMR_Leaf ; + :hasConcept :concept_you ; + :hasVariable :variable_y . sys:Out_Structure a owl:Class ; rdfs:label "Output Ontology Structure" . @@ -869,10 +854,6 @@ net:netProperty a owl:AnnotationProperty ; :AMR_Structure a owl:Class . -:leaf_you_y a :AMR_Leaf ; - :hasConcept :concept_you ; - :hasVariable :variable_y . - cprm:configParamProperty a rdf:Property ; rdfs:label "Config Parameter Property" . diff --git a/tests/dev_tests/test_data/modality-devGraph-1.result.ttl b/tests/dev_tests/test_data/modality-devGraph-1.result.ttl new file mode 100644 index 00000000..bc787d6c --- /dev/null +++ b/tests/dev_tests/test_data/modality-devGraph-1.result.ttl @@ -0,0 +1,1023 @@ +@base <https://amr.tetras-libre.fr/rdf/modality-devGraph-1/result> . +@prefix : <https://amr.tetras-libre.fr/rdf/schema#> . +@prefix cprm: <https://tenet.tetras-libre.fr/config/parameters#> . +@prefix net: <https://tenet.tetras-libre.fr/semantic-net#> . +@prefix ns11: <http://amr.isi.edu/frames/ld/v1.2.2/> . +@prefix ns21: <http://amr.isi.edu/rdf/core-amr#> . +@prefix ns3: <http://amr.isi.edu/rdf/amr-terms#> . +@prefix ns4: <http://amr.isi.edu/entity-types#> . +@prefix owl: <http://www.w3.org/2002/07/owl#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix sys: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . + +ns21:Concept a rdfs:Class, + owl:Class ; + rdfs:label "AMR-Concept" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns21:Role a rdfs:Class, + owl:Class ; + rdfs:label "AMR-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/test-1#root01> ns21:hasID "test-1" ; + ns21:hasSentence "The sun is a star." ; + ns21:root <http://amr.isi.edu/amr_data/test-1#s> . + +<http://amr.isi.edu/amr_data/test-2#root01> ns21:hasID "test-2" ; + ns21:hasSentence "Earth is a planet." ; + ns21:root <http://amr.isi.edu/amr_data/test-2#p> . + +ns11:distribute-01.ARG0 a ns11:FrameRole . + +ns11:distribute-01.ARG1 a ns11:FrameRole . + +ns11:obligate-01.ARG1 a ns11:FrameRole . + +ns11:obligate-01.ARG2 a ns11:FrameRole . + +ns11:reproduce-01.ARG0 a ns11:FrameRole . + +ns11:reproduce-01.ARG1 a ns11:FrameRole . + +ns3:domain a ns21:Role, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns3:op1 a ns21:Role . + +ns3:op2 a ns21:Role . + +ns21:hasID a owl:AnnotationProperty . + +ns21:hasSentence a owl:AnnotationProperty . + +ns21:root a owl:AnnotationProperty . + +<https://amr.tetras-libre.fr/rdf/schema> a owl:Ontology ; + owl:versionIRI :0.1 . + +:AMR_DataProperty a owl:DatatypeProperty . + +:AMR_Prep_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:edge_a_op1_r a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a_op2_d a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_d_ARG0_p a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_d_ARG1_w a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o_ARG1_p a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o_ARG2_a a :AMR_Edge ; + :hasAmrRole :role_ARG2 ; + :hasRoleID "ARG2" . + +:edge_p_name_John a :AMR_Edge ; + :hasAmrRole :role_name ; + :hasRoleID "name" . + +:edge_r_ARG0_p a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_r_ARG1_w a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:fromAmrLkFramerole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRoot a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:getDirectPropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getInversePropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getPropertyType a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:hasConcept a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasConceptLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasEdgeLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasReification a owl:AnnotationProperty ; + rdfs:range xsd:boolean ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationDomain a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationRange a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasRelationName a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasRoleID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRoleTag a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRolesetID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRootLeaf a owl:ObjectProperty ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasSentenceID a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasSentenceStatement a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasVariable a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:label a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_conjunction_or a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "or" ; + :label "conjunction-OR" . + +:phenomena_degree a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "have-degree-91" ; + :label "degree" . + +:phenomena_modality_possible a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "allow-01", + "grant-01", + "likely-01", + "permit-01", + "possible-01" ; + :label "possible-modality" . + +:phenomena_modality_prohibition a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "prohibit-01" ; + :label "prohibition-modality" . + +:relation_domain a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "domain" . + +:relation_manner a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification true ; + :hasReificationConcept "hasManner" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "manner" . + +:relation_mod a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "mod" . + +:relation_name a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "name" . + +:relation_part a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification true ; + :hasReificationConcept "hasPart" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "part" . + +:relation_polarity a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "polarity" . + +:relation_quant a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "quant" . + +:role_ARG3 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG3" . + +:role_ARG4 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG4" . + +:role_ARG5 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG5" . + +:role_ARG6 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG6" . + +:role_ARG7 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG7" . + +:role_ARG8 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG8" . + +:role_ARG9 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG9" . + +:role_domain a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :hasRelationName "domain" ; + :label "domain" ; + :toReifyAsConcept "domain" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_have-degree-91 a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :getPropertyType <net:specificProperty> . + +:role_manner a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "manner" ; + :getPropertyType owl:DataProperty ; + :label "manner" ; + :toReifyAsConcept "manner" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_mod a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasFeature"^^xsd:string ; + :getPropertyType rdfs:subClassOf, + owl:ObjectProperty ; + :label "mod" ; + :toReifyAsConcept "mod" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_op3 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op3" . + +:role_op4 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op4" . + +:role_op5 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op5" . + +:role_op6 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op6" . + +:role_op7 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op7" . + +:role_op8 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op8" . + +:role_op9 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op9" . + +:role_part a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasPart"^^xsd:string ; + :getInversePropertyName "partOf"^^xsd:string ; + :getPropertyType owl:ObjectProperty ; + :toReifyAsConcept "part" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_polarity a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "polarity" . + +:role_quant a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + +:root_asail_odrl_sentences-10 a :AMR_Root ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#root01> ; + :hasRootLeaf :leaf_obligate-01_o ; + :hasSentenceID "asail_odrl_sentences-10" ; + :hasSentenceStatement "John is obligated to reproduce and distribute the Work." . + +:toReifyAsConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithBaseEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithHeadEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +<https://tenet.tetras-libre.fr/base-ontology> a owl:Ontology . + +sys:Event a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Undetermined_Thing a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:fromStructure a owl:AnnotationProperty ; + rdfs:subPropertyOf sys:Out_AnnotationProperty . + +sys:hasDegree a owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + +sys:hasFeature a owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + +<https://tenet.tetras-libre.fr/config/parameters> a owl:Ontology . + +cprm:Config_Parameters a owl:Class ; + cprm:baseURI "https://tenet.tetras-libre.fr/" ; + cprm:netURI "https://tenet.tetras-libre.fr/semantic-net#" ; + cprm:newClassRef "new-class#" ; + cprm:newPropertyRef "new-relation#" ; + cprm:objectRef "object_" ; + cprm:targetOntologyURI "https://tenet.tetras-libre.fr/base-ontology/" . + +cprm:baseURI a rdf:Property ; + rdfs:label "Base URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:netURI a rdf:Property ; + rdfs:label "Net URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newClassRef a rdf:Property ; + rdfs:label "Reference for a new class" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newPropertyRef a rdf:Property ; + rdfs:label "Reference for a new property" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:objectRef a rdf:Property ; + rdfs:label "Object Reference" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:targetOntologyURI a rdf:Property ; + rdfs:label "URI of classes in target ontology" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +<https://tenet.tetras-libre.fr/semantic-net> a owl:Ontology . + +net:Action_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Composite_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Composite_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Feature a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Rule_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:abstractionClass a owl:AnnotationProperty ; + rdfs:label "abstraction class" ; + rdfs:subPropertyOf net:objectValue . + +net:atomType a owl:AnnotationProperty ; + rdfs:label "atom type" ; + rdfs:subPropertyOf net:objectType . + +net:entityClass a owl:AnnotationProperty ; + rdfs:label "entity class" ; + rdfs:subPropertyOf net:objectValue . + +net:featureClass a owl:AnnotationProperty ; + rdfs:label "feature class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_atom a owl:AnnotationProperty ; + rdfs:label "has atom" ; + rdfs:subPropertyOf net:has_object . + +net:has_class a owl:AnnotationProperty ; + rdfs:label "is class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_class_name a owl:AnnotationProperty ; + rdfs:subPropertyOf net:has_value . + +net:has_class_uri a owl:AnnotationProperty ; + rdfs:label "class uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_concept a owl:AnnotationProperty ; + rdfs:label "concept "@fr ; + rdfs:subPropertyOf net:objectValue . + +net:has_entity a owl:AnnotationProperty ; + rdfs:label "has entity" ; + rdfs:subPropertyOf net:has_object . + +net:has_feature a owl:AnnotationProperty ; + rdfs:label "has feature" ; + rdfs:subPropertyOf net:has_object . + +net:has_instance a owl:AnnotationProperty ; + rdfs:label "entity instance" ; + rdfs:subPropertyOf net:objectValue . + +net:has_instance_uri a owl:AnnotationProperty ; + rdfs:label "instance uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_item a owl:AnnotationProperty ; + rdfs:label "has item" ; + rdfs:subPropertyOf net:has_object . + +net:has_mother_class a owl:AnnotationProperty ; + rdfs:label "has mother class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_mother_class_uri a owl:AnnotationProperty ; + rdfs:label "parent class uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_node a owl:AnnotationProperty ; + rdfs:label "UNL Node" ; + rdfs:subPropertyOf net:netProperty . + +net:has_parent a owl:AnnotationProperty ; + rdfs:label "has parent" ; + rdfs:subPropertyOf net:has_object . + +net:has_parent_class a owl:AnnotationProperty ; + rdfs:label "parent class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_parent_class_uri a owl:AnnotationProperty ; + rdfs:label "parent class uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_possible_domain a owl:AnnotationProperty ; + rdfs:label "has possible domain" ; + rdfs:subPropertyOf net:has_object . + +net:has_possible_range a owl:AnnotationProperty ; + rdfs:label "has possible range" ; + rdfs:subPropertyOf net:has_object . + +net:has_relation a owl:AnnotationProperty ; + rdfs:label "has relation" ; + rdfs:subPropertyOf net:has_relation_value . + +net:has_source a owl:AnnotationProperty ; + rdfs:label "has source" ; + rdfs:subPropertyOf net:has_relation_value . + +net:has_structure a owl:AnnotationProperty ; + rdfs:label "Linguistic Structure (in UNL Document)" ; + rdfs:subPropertyOf net:netProperty . + +net:has_target a owl:AnnotationProperty ; + rdfs:label "has target" ; + rdfs:subPropertyOf net:has_relation_value . + +net:inverse_direction a owl:NamedIndividual . + +net:listGuiding a owl:AnnotationProperty ; + rdfs:label "Guiding connector of a list (or, and)" ; + rdfs:subPropertyOf net:objectValue . + +net:modCat1 a owl:AnnotationProperty ; + rdfs:label "Modality Category (level 1)" ; + rdfs:subPropertyOf net:objectValue . + +net:modCat2 a owl:AnnotationProperty ; + rdfs:label "Modality Category (level 2)" ; + rdfs:subPropertyOf net:objectValue . + +net:normal_direction a owl:NamedIndividual . + +net:phenomena_obligation-modality_o a net:Modality_Phenomena_Net, + net:Phenomena_Net ; + :role_ARG1 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG2 net:phenomena_conjunction-AND_a ; + net:coverBaseNode :leaf_obligate-01_o ; + net:coverNode :leaf_obligate-01_o ; + net:hasNaming "obligation-modality" ; + net:hasPhenomenaRef "obligate-01" ; + net:hasPhenomenaType :phenomena_modality_obligation ; + net:hasStructure "asail_odrl_sentences-10" . + +net:type a owl:AnnotationProperty ; + rdfs:label "type "@fr ; + rdfs:subPropertyOf net:netProperty . + +net:verbClass a owl:AnnotationProperty ; + rdfs:label "verb class" ; + rdfs:subPropertyOf net:objectValue . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#root01> a ns21:AMR ; + ns21:has-id "asail_odrl_sentences-10" ; + ns21:has-sentence "John is obligated to reproduce and distribute the Work." ; + ns21:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#o> . + +<http://amr.isi.edu/amr_data/test-1#s> ns3:domain <http://amr.isi.edu/amr_data/test-1#s2> . + +<http://amr.isi.edu/amr_data/test-2#p> rdfs:label "Earth" . + +ns21:AMR a owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + +ns21:NamedEntity a ns21:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-EntityType", + "AMR-Term" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Root a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Term_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Value a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:concept_and rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns21:and ; + :hasPhenomenaLink :phenomena_conjunction_and ; + :label "and" . + +:concept_distribute-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:distribute-01 ; + :label "distribute-01" . + +:concept_obligate-01 rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns11:obligate-01 ; + :hasPhenomenaLink :phenomena_modality_obligation ; + :label "obligate-01" . + +:concept_person rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns4:person ; + :label "person" . + +:concept_reproduce-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:reproduce-01 ; + :label "reproduce-01" . + +:concept_work-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:work-01 ; + :label "work-01" . + +:role_ARG2 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG2" . + +:role_name a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_NonCore_Role ; + :label "name" . + +:role_op1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op1" . + +:role_op2 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op2" . + +:variable_a a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#a> ; + :label "a" . + +:variable_d a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#d> ; + :label "d" . + +:variable_o a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#o> ; + :label "o" . + +:variable_p a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + :label "p" ; + :name "John" . + +:variable_r a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#r> ; + :label "r" . + +:variable_w a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> ; + :label "w" . + +sys:Degree a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Entity a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Feature a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Out_AnnotationProperty a owl:AnnotationProperty . + +net:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Value_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomProperty_distribute_d a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG1 net:atomProperty_work_w ; + net:coverBaseNode :leaf_distribute-01_d ; + net:coverNode :leaf_distribute-01_d ; + net:hasNaming "distribute" ; + net:hasPropertyName "distribute" ; + net:hasPropertyName01 "distributeing" ; + net:hasPropertyName10 "distribute-by" ; + net:hasPropertyName12 "distribute-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-10" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_person_p, + :leaf_work-01_w . + +net:atomProperty_reproduce_r a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG1 net:atomProperty_work_w ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_reproduce-01_r ; + net:hasNaming "reproduce" ; + net:hasPropertyName "reproduce" ; + net:hasPropertyName01 "reproduceing" ; + net:hasPropertyName10 "reproduce-by" ; + net:hasPropertyName12 "reproduce-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-10" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_person_p, + :leaf_work-01_w . + +net:has_value a owl:AnnotationProperty ; + rdfs:subPropertyOf net:netProperty . + +net:objectType a owl:AnnotationProperty ; + rdfs:label "object type" ; + rdfs:subPropertyOf net:objectProperty . + +net:phenomena_conjunction-AND_a a net:Phenomena_Net ; + :role_op1 net:atomProperty_reproduce_r ; + :role_op2 net:atomProperty_distribute_d ; + net:coverBaseNode :leaf_and_a ; + net:coverNode :leaf_and_a ; + net:hasNaming "conjunction-AND" ; + net:hasPhenomenaRef "and" ; + net:hasPhenomenaType :phenomena_conjunction_and ; + net:hasStructure "asail_odrl_sentences-10" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#a> a ns21:and ; + ns3:op1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#r> ; + ns3:op2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#d> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#d> a ns11:distribute-01 ; + ns11:distribute-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + ns11:distribute-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#o> a ns11:obligate-01 ; + ns11:obligate-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + ns11:obligate-01.ARG2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#a> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#r> a ns11:reproduce-01 ; + ns11:reproduce-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + ns11:reproduce-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> ; + rdfs:subClassOf :AMR_Linked_Data . + +ns4:person a ns21:NamedEntity ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:distribute-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:obligate-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:reproduce-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:work-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns21:and a ns21:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Relation_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:hasLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_conjunction a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "contrast-01", + "either", + "neither" ; + :label "conjunction" . + +:phenomena_conjunction_and a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "and" ; + :label "conjunction-AND" . + +:phenomena_modality_obligation a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "obligate-01" ; + :label "obligation-modality" . + +:role_ARG0 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG0" . + +:value_John a :AMR_Value ; + rdfs:label "John" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Class_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Property_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomProperty_work_w a net:Atom_Property_Net ; + net:coverBaseNode :leaf_work-01_w ; + net:coverNode :leaf_work-01_w ; + net:hasNaming "work" ; + net:hasPropertyName "work" ; + net:hasPropertyName01 "working" ; + net:hasPropertyName10 "work-by" ; + net:hasPropertyName12 "work-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-10" ; + net:isCoreRoleLinked "true" . + +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + +net:value_John_blankNode a net:Value_Net ; + net:coverAmrValue :value_John ; + net:hasNaming "John" ; + net:hasStructure "asail_odrl_sentences-10" ; + net:hasValueLabel "John" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> a ns11:work-01 ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Concept a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_Phenomena a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Predicat_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Specific_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:fromAmrLk a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:getProperty a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationDefinition a owl:AnnotationProperty ; + rdfs:range rdfs:Literal ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:leaf_and_a a :AMR_Leaf ; + :edge_a_op1_r :leaf_reproduce-01_r ; + :edge_a_op2_d :leaf_distribute-01_d ; + :hasConcept :concept_and ; + :hasVariable :variable_a . + +:leaf_distribute-01_d a :AMR_Leaf ; + :edge_d_ARG0_p :leaf_person_p ; + :edge_d_ARG1_w :leaf_work-01_w ; + :hasConcept :concept_distribute-01 ; + :hasVariable :variable_d . + +:leaf_obligate-01_o a :AMR_Leaf ; + :edge_o_ARG1_p :leaf_person_p ; + :edge_o_ARG2_a :leaf_and_a ; + :hasConcept :concept_obligate-01 ; + :hasVariable :variable_o . + +:leaf_reproduce-01_r a :AMR_Leaf ; + :edge_r_ARG0_p :leaf_person_p ; + :edge_r_ARG1_w :leaf_work-01_w ; + :hasConcept :concept_reproduce-01 ; + :hasVariable :variable_r . + +:phenomena_modality a owl:Class ; + rdfs:subClassOf :AMR_Phenomena . + +:role_ARG1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Net_Structure a owl:Class ; + rdfs:label "Semantic Net Structure" ; + rdfs:comment "A semantic net captures a set of nodes, and associates this set with type(s) and value(s)." . + +net:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +net:individual_John_p a net:Individual_Net ; + :role_name net:value_John_blankNode ; + net:coverBaseNode :leaf_person_p ; + net:coverNode :leaf_person_p ; + net:hasIndividualLabel "John" ; + net:hasMotherClassNet net:atomClass_person_p ; + net:hasNaming "John" ; + net:hasStructure "asail_odrl_sentences-10" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> a ns4:person ; + rdfs:label "John" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns21:Frame a ns21:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Frame" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Element a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:atomClass_person_p a net:Atom_Class_Net, + net:Deprecated_Net ; + :role_name net:value_John_blankNode ; + net:coverBaseNode :leaf_person_p ; + net:coverNode :leaf_person_p ; + net:hasClassName "person" ; + net:hasNaming "person" ; + net:hasStructure "asail_odrl_sentences-10" . + +:AMR_NonCore_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Role a owl:Class ; + rdfs:subClassOf :AMR_Element . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +net:netProperty a owl:AnnotationProperty ; + rdfs:label "netProperty" . + +ns11:FrameRole a ns21:Role, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_ObjectProperty a owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + +:AMR_Structure a owl:Class . + +:AMR_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_work-01_w a :AMR_Leaf ; + :hasConcept :concept_work-01 ; + :hasVariable :variable_w . + +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +rdf:Property a owl:Class . + +:AMR_Relation a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Leaf a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:Net a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:has_object a owl:AnnotationProperty ; + rdfs:label "relation" ; + rdfs:subPropertyOf net:netProperty . + +:AMR_Op_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:leaf_person_p a :AMR_Leaf ; + :edge_p_name_John :value_John ; + :hasConcept :concept_person ; + :hasVariable :variable_p . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Edge a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:objectValue a owl:AnnotationProperty ; + rdfs:label "valuations"@fr ; + rdfs:subPropertyOf net:objectProperty . + +:AMR_Linked_Data a owl:Class . + +[] a owl:AllDisjointClasses ; + owl:members ( sys:Degree sys:Entity sys:Feature ) . + diff --git a/tests/dev_tests/test_data/modality-devGraph-1.ttl b/tests/dev_tests/test_data/modality-devGraph-1.ttl new file mode 100644 index 00000000..1de841e0 --- /dev/null +++ b/tests/dev_tests/test_data/modality-devGraph-1.ttl @@ -0,0 +1,1021 @@ +@base <http://https://tenet.tetras-libre.fr/demo/clara/10//transduction> . +@prefix : <https://amr.tetras-libre.fr/rdf/schema#> . +@prefix cprm: <https://tenet.tetras-libre.fr/config/parameters#> . +@prefix net: <https://tenet.tetras-libre.fr/semantic-net#> . +@prefix ns11: <http://amr.isi.edu/frames/ld/v1.2.2/> . +@prefix ns21: <http://amr.isi.edu/rdf/core-amr#> . +@prefix ns3: <http://amr.isi.edu/rdf/amr-terms#> . +@prefix owl: <http://www.w3.org/2002/07/owl#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix sys: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . + +ns21:Concept a rdfs:Class, + owl:Class ; + rdfs:label "AMR-Concept" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns21:Role a rdfs:Class, + owl:Class ; + rdfs:label "AMR-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/test-1#root01> ns21:hasID "test-1" ; + ns21:hasSentence "The sun is a star." ; + ns21:root <http://amr.isi.edu/amr_data/test-1#s> . + +<http://amr.isi.edu/amr_data/test-2#root01> ns21:hasID "test-2" ; + ns21:hasSentence "Earth is a planet." ; + ns21:root <http://amr.isi.edu/amr_data/test-2#p> . + +ns11:distribute-01.ARG0 a ns11:FrameRole . + +ns11:distribute-01.ARG1 a ns11:FrameRole . + +ns11:obligate-01.ARG1 a ns11:FrameRole . + +ns11:obligate-01.ARG2 a ns11:FrameRole . + +ns11:reproduce-01.ARG0 a ns11:FrameRole . + +ns11:reproduce-01.ARG1 a ns11:FrameRole . + +ns3:domain a ns21:Role, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns3:op1 a ns21:Role . + +ns3:op2 a ns21:Role . + +ns21:hasID a owl:AnnotationProperty . + +ns21:hasSentence a owl:AnnotationProperty . + +ns21:root a owl:AnnotationProperty . + +<https://amr.tetras-libre.fr/rdf/schema> a owl:Ontology ; + owl:versionIRI :0.1 . + +:AMR_DataProperty a owl:DatatypeProperty . + +:AMR_Prep_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:edge_a_op1_r a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a_op2_d a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_d_ARG0_p a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_d_ARG1_w a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o_ARG1_p a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o_ARG2_a a :AMR_Edge ; + :hasAmrRole :role_ARG2 ; + :hasRoleID "ARG2" . + +:edge_p_name_John a :AMR_Edge ; + :hasAmrRole :role_name ; + :hasRoleID "name" . + +:edge_r_ARG0_p a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_r_ARG1_w a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:fromAmrLkFramerole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRoot a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:getDirectPropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getInversePropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getPropertyType a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:hasConcept a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasConceptLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasEdgeLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasReification a owl:AnnotationProperty ; + rdfs:range xsd:boolean ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationDomain a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationRange a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasRelationName a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasRoleID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRoleTag a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRolesetID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRootLeaf a owl:ObjectProperty ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasSentenceID a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasSentenceStatement a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasVariable a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:label a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_conjunction_or a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "or" ; + :label "conjunction-OR" . + +:phenomena_degree a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "have-degree-91" ; + :label "degree" . + +:phenomena_modality_possible a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "allow-01", + "grant-01", + "likely-01", + "permit-01", + "possible-01" ; + :label "possible-modality" . + +:phenomena_modality_prohibition a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "prohibit-01" ; + :label "prohibition-modality" . + +:relation_domain a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "domain" . + +:relation_manner a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification true ; + :hasReificationConcept "hasManner" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "manner" . + +:relation_mod a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "mod" . + +:relation_name a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "name" . + +:relation_part a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification true ; + :hasReificationConcept "hasPart" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "part" . + +:relation_polarity a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "polarity" . + +:relation_quant a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "quant" . + +:role_ARG3 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG3" . + +:role_ARG4 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG4" . + +:role_ARG5 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG5" . + +:role_ARG6 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG6" . + +:role_ARG7 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG7" . + +:role_ARG8 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG8" . + +:role_ARG9 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG9" . + +:role_domain a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :hasRelationName "domain" ; + :label "domain" ; + :toReifyAsConcept "domain" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_have-degree-91 a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :getPropertyType <net:specificProperty> . + +:role_manner a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "manner" ; + :getPropertyType owl:DataProperty ; + :label "manner" ; + :toReifyAsConcept "manner" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_mod a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasFeature"^^xsd:string ; + :getPropertyType rdfs:subClassOf, + owl:ObjectProperty ; + :label "mod" ; + :toReifyAsConcept "mod" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_op3 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op3" . + +:role_op4 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op4" . + +:role_op5 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op5" . + +:role_op6 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op6" . + +:role_op7 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op7" . + +:role_op8 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op8" . + +:role_op9 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op9" . + +:role_part a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasPart"^^xsd:string ; + :getInversePropertyName "partOf"^^xsd:string ; + :getPropertyType owl:ObjectProperty ; + :toReifyAsConcept "part" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_polarity a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "polarity" . + +:role_quant a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + +:root_asail_odrl_sentences-10 a :AMR_Root ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#root01> ; + :hasRootLeaf :leaf_obligate-01_o ; + :hasSentenceID "asail_odrl_sentences-10" ; + :hasSentenceStatement "John is obligated to reproduce and distribute the Work." . + +:toReifyAsConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithBaseEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithHeadEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +<https://tenet.tetras-libre.fr/base-ontology> a owl:Ontology . + +sys:Event a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Undetermined_Thing a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:fromStructure a owl:AnnotationProperty ; + rdfs:subPropertyOf sys:Out_AnnotationProperty . + +sys:hasDegree a owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + +sys:hasFeature a owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + +<https://tenet.tetras-libre.fr/config/parameters> a owl:Ontology . + +cprm:Config_Parameters a owl:Class ; + cprm:baseURI "https://tenet.tetras-libre.fr/" ; + cprm:netURI "https://tenet.tetras-libre.fr/semantic-net#" ; + cprm:newClassRef "new-class#" ; + cprm:newPropertyRef "new-relation#" ; + cprm:objectRef "object_" ; + cprm:targetOntologyURI "https://tenet.tetras-libre.fr/base-ontology/" . + +cprm:baseURI a rdf:Property ; + rdfs:label "Base URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:netURI a rdf:Property ; + rdfs:label "Net URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newClassRef a rdf:Property ; + rdfs:label "Reference for a new class" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newPropertyRef a rdf:Property ; + rdfs:label "Reference for a new property" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:objectRef a rdf:Property ; + rdfs:label "Object Reference" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:targetOntologyURI a rdf:Property ; + rdfs:label "URI of classes in target ontology" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +<https://tenet.tetras-libre.fr/semantic-net> a owl:Ontology . + +net:Action_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Composite_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Composite_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Feature a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Rule_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:abstractionClass a owl:AnnotationProperty ; + rdfs:label "abstraction class" ; + rdfs:subPropertyOf net:objectValue . + +net:atomType a owl:AnnotationProperty ; + rdfs:label "atom type" ; + rdfs:subPropertyOf net:objectType . + +net:entityClass a owl:AnnotationProperty ; + rdfs:label "entity class" ; + rdfs:subPropertyOf net:objectValue . + +net:featureClass a owl:AnnotationProperty ; + rdfs:label "feature class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_atom a owl:AnnotationProperty ; + rdfs:label "has atom" ; + rdfs:subPropertyOf net:has_object . + +net:has_class a owl:AnnotationProperty ; + rdfs:label "is class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_class_name a owl:AnnotationProperty ; + rdfs:subPropertyOf net:has_value . + +net:has_class_uri a owl:AnnotationProperty ; + rdfs:label "class uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_concept a owl:AnnotationProperty ; + rdfs:label "concept "@fr ; + rdfs:subPropertyOf net:objectValue . + +net:has_entity a owl:AnnotationProperty ; + rdfs:label "has entity" ; + rdfs:subPropertyOf net:has_object . + +net:has_feature a owl:AnnotationProperty ; + rdfs:label "has feature" ; + rdfs:subPropertyOf net:has_object . + +net:has_instance a owl:AnnotationProperty ; + rdfs:label "entity instance" ; + rdfs:subPropertyOf net:objectValue . + +net:has_instance_uri a owl:AnnotationProperty ; + rdfs:label "instance uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_item a owl:AnnotationProperty ; + rdfs:label "has item" ; + rdfs:subPropertyOf net:has_object . + +net:has_mother_class a owl:AnnotationProperty ; + rdfs:label "has mother class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_mother_class_uri a owl:AnnotationProperty ; + rdfs:label "parent class uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_node a owl:AnnotationProperty ; + rdfs:label "UNL Node" ; + rdfs:subPropertyOf net:netProperty . + +net:has_parent a owl:AnnotationProperty ; + rdfs:label "has parent" ; + rdfs:subPropertyOf net:has_object . + +net:has_parent_class a owl:AnnotationProperty ; + rdfs:label "parent class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_parent_class_uri a owl:AnnotationProperty ; + rdfs:label "parent class uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_possible_domain a owl:AnnotationProperty ; + rdfs:label "has possible domain" ; + rdfs:subPropertyOf net:has_object . + +net:has_possible_range a owl:AnnotationProperty ; + rdfs:label "has possible range" ; + rdfs:subPropertyOf net:has_object . + +net:has_relation a owl:AnnotationProperty ; + rdfs:label "has relation" ; + rdfs:subPropertyOf net:has_relation_value . + +net:has_source a owl:AnnotationProperty ; + rdfs:label "has source" ; + rdfs:subPropertyOf net:has_relation_value . + +net:has_structure a owl:AnnotationProperty ; + rdfs:label "Linguistic Structure (in UNL Document)" ; + rdfs:subPropertyOf net:netProperty . + +net:has_target a owl:AnnotationProperty ; + rdfs:label "has target" ; + rdfs:subPropertyOf net:has_relation_value . + +net:inverse_direction a owl:NamedIndividual . + +net:listGuiding a owl:AnnotationProperty ; + rdfs:label "Guiding connector of a list (or, and)" ; + rdfs:subPropertyOf net:objectValue . + +net:modCat1 a owl:AnnotationProperty ; + rdfs:label "Modality Category (level 1)" ; + rdfs:subPropertyOf net:objectValue . + +net:modCat2 a owl:AnnotationProperty ; + rdfs:label "Modality Category (level 2)" ; + rdfs:subPropertyOf net:objectValue . + +net:normal_direction a owl:NamedIndividual . + +net:phenomena_obligation-modality_o a net:Phenomena_Net ; + :role_ARG1 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG2 net:phenomena_conjunction-AND_a ; + net:coverBaseNode :leaf_obligate-01_o ; + net:coverNode :leaf_obligate-01_o ; + net:hasNaming "obligation-modality" ; + net:hasPhenomenaRef "obligate-01" ; + net:hasPhenomenaType :phenomena_modality_obligation ; + net:hasStructure "asail_odrl_sentences-10" . + +net:type a owl:AnnotationProperty ; + rdfs:label "type "@fr ; + rdfs:subPropertyOf net:netProperty . + +net:verbClass a owl:AnnotationProperty ; + rdfs:label "verb class" ; + rdfs:subPropertyOf net:objectValue . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#root01> a ns21:AMR ; + ns21:has-id "asail_odrl_sentences-10" ; + ns21:has-sentence "John is obligated to reproduce and distribute the Work." ; + ns21:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#o> . + +<http://amr.isi.edu/amr_data/test-1#s> ns3:domain <http://amr.isi.edu/amr_data/test-1#s2> . + +<http://amr.isi.edu/amr_data/test-2#p> rdfs:label "Earth" . + +ns21:AMR a owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + +ns21:NamedEntity a ns21:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-EntityType", + "AMR-Term" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Root a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Term_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Value a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:concept_and rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns21:and ; + :hasPhenomenaLink :phenomena_conjunction_and ; + :label "and" . + +:concept_distribute-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:distribute-01 ; + :label "distribute-01" . + +:concept_obligate-01 rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns11:obligate-01 ; + :hasPhenomenaLink :phenomena_modality_obligation ; + :label "obligate-01" . + +:concept_person rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk <http://amr.isi.edu/entity-types#person> ; + :label "person" . + +:concept_reproduce-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:reproduce-01 ; + :label "reproduce-01" . + +:concept_work-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:work-01 ; + :label "work-01" . + +:role_ARG2 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG2" . + +:role_name a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_NonCore_Role ; + :label "name" . + +:role_op1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op1" . + +:role_op2 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op2" . + +:variable_a a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#a> ; + :label "a" . + +:variable_d a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#d> ; + :label "d" . + +:variable_o a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#o> ; + :label "o" . + +:variable_p a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + :label "p" ; + :name "John" . + +:variable_r a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#r> ; + :label "r" . + +:variable_w a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> ; + :label "w" . + +sys:Degree a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Entity a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Feature a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Out_AnnotationProperty a owl:AnnotationProperty . + +net:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Value_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomProperty_distribute_d a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG1 net:atomProperty_work_w ; + net:coverBaseNode :leaf_distribute-01_d ; + net:coverNode :leaf_distribute-01_d ; + net:hasNaming "distribute" ; + net:hasPropertyName "distribute" ; + net:hasPropertyName01 "distributeing" ; + net:hasPropertyName10 "distribute-by" ; + net:hasPropertyName12 "distribute-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-10" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_person_p, + :leaf_work-01_w . + +net:atomProperty_reproduce_r a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG1 net:atomProperty_work_w ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_reproduce-01_r ; + net:hasNaming "reproduce" ; + net:hasPropertyName "reproduce" ; + net:hasPropertyName01 "reproduceing" ; + net:hasPropertyName10 "reproduce-by" ; + net:hasPropertyName12 "reproduce-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-10" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_person_p, + :leaf_work-01_w . + +net:has_value a owl:AnnotationProperty ; + rdfs:subPropertyOf net:netProperty . + +net:objectType a owl:AnnotationProperty ; + rdfs:label "object type" ; + rdfs:subPropertyOf net:objectProperty . + +net:phenomena_conjunction-AND_a a net:Phenomena_Net ; + :role_op1 net:atomProperty_reproduce_r ; + :role_op2 net:atomProperty_distribute_d ; + net:coverBaseNode :leaf_and_a ; + net:coverNode :leaf_and_a ; + net:hasNaming "conjunction-AND" ; + net:hasPhenomenaRef "and" ; + net:hasPhenomenaType :phenomena_conjunction_and ; + net:hasStructure "asail_odrl_sentences-10" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#a> a ns21:and ; + ns3:op1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#r> ; + ns3:op2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#d> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#d> a ns11:distribute-01 ; + ns11:distribute-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + ns11:distribute-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#o> a ns11:obligate-01 ; + ns11:obligate-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + ns11:obligate-01.ARG2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#a> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#r> a ns11:reproduce-01 ; + ns11:reproduce-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + ns11:reproduce-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/entity-types#person> a ns21:NamedEntity ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:distribute-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:obligate-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:reproduce-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:work-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns21:and a ns21:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Relation_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:hasLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_conjunction a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "contrast-01", + "either", + "neither" ; + :label "conjunction" . + +:phenomena_conjunction_and a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "and" ; + :label "conjunction-AND" . + +:phenomena_modality_obligation a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "obligate-01" ; + :label "obligation-modality" . + +:role_ARG0 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG0" . + +:value_John a :AMR_Value ; + rdfs:label "John" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Class_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Property_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomProperty_work_w a net:Atom_Property_Net ; + net:coverBaseNode :leaf_work-01_w ; + net:coverNode :leaf_work-01_w ; + net:hasNaming "work" ; + net:hasPropertyName "work" ; + net:hasPropertyName01 "working" ; + net:hasPropertyName10 "work-by" ; + net:hasPropertyName12 "work-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-10" ; + net:isCoreRoleLinked "true" . + +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + +net:value_John_blankNode a net:Value_Net ; + net:coverAmrValue :value_John ; + net:hasNaming "John" ; + net:hasStructure "asail_odrl_sentences-10" ; + net:hasValueLabel "John" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> a ns11:work-01 ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Concept a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_Phenomena a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Predicat_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Specific_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:fromAmrLk a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:getProperty a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationDefinition a owl:AnnotationProperty ; + rdfs:range rdfs:Literal ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:leaf_and_a a :AMR_Leaf ; + :edge_a_op1_r :leaf_reproduce-01_r ; + :edge_a_op2_d :leaf_distribute-01_d ; + :hasConcept :concept_and ; + :hasVariable :variable_a . + +:leaf_distribute-01_d a :AMR_Leaf ; + :edge_d_ARG0_p :leaf_person_p ; + :edge_d_ARG1_w :leaf_work-01_w ; + :hasConcept :concept_distribute-01 ; + :hasVariable :variable_d . + +:leaf_obligate-01_o a :AMR_Leaf ; + :edge_o_ARG1_p :leaf_person_p ; + :edge_o_ARG2_a :leaf_and_a ; + :hasConcept :concept_obligate-01 ; + :hasVariable :variable_o . + +:leaf_reproduce-01_r a :AMR_Leaf ; + :edge_r_ARG0_p :leaf_person_p ; + :edge_r_ARG1_w :leaf_work-01_w ; + :hasConcept :concept_reproduce-01 ; + :hasVariable :variable_r . + +:phenomena_modality a owl:Class ; + rdfs:subClassOf :AMR_Phenomena . + +:role_ARG1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Net_Structure a owl:Class ; + rdfs:label "Semantic Net Structure" ; + rdfs:comment "A semantic net captures a set of nodes, and associates this set with type(s) and value(s)." . + +net:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +net:individual_John_p a net:Individual_Net ; + :role_name net:value_John_blankNode ; + net:coverBaseNode :leaf_person_p ; + net:coverNode :leaf_person_p ; + net:hasIndividualLabel "John" ; + net:hasMotherClassNet net:atomClass_person_p ; + net:hasNaming "John" ; + net:hasStructure "asail_odrl_sentences-10" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> a <http://amr.isi.edu/entity-types#person> ; + rdfs:label "John" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns21:Frame a ns21:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Frame" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Element a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:atomClass_person_p a net:Atom_Class_Net, + net:Deprecated_Net ; + :role_name net:value_John_blankNode ; + net:coverBaseNode :leaf_person_p ; + net:coverNode :leaf_person_p ; + net:hasClassName "person" ; + net:hasNaming "person" ; + net:hasStructure "asail_odrl_sentences-10" . + +:AMR_NonCore_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Role a owl:Class ; + rdfs:subClassOf :AMR_Element . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +net:netProperty a owl:AnnotationProperty ; + rdfs:label "netProperty" . + +ns11:FrameRole a ns21:Role, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_ObjectProperty a owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + +:AMR_Structure a owl:Class . + +:AMR_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_work-01_w a :AMR_Leaf ; + :hasConcept :concept_work-01 ; + :hasVariable :variable_w . + +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +rdf:Property a owl:Class . + +:AMR_Relation a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Leaf a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:Net a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:has_object a owl:AnnotationProperty ; + rdfs:label "relation" ; + rdfs:subPropertyOf net:netProperty . + +:AMR_Op_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:leaf_person_p a :AMR_Leaf ; + :edge_p_name_John :value_John ; + :hasConcept :concept_person ; + :hasVariable :variable_p . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Edge a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:objectValue a owl:AnnotationProperty ; + rdfs:label "valuations"@fr ; + rdfs:subPropertyOf net:objectProperty . + +:AMR_Linked_Data a owl:Class . + +[] a owl:AllDisjointClasses ; + owl:members ( sys:Degree sys:Entity sys:Feature ) . + diff --git a/tests/dev_tests/test_data/negation-devGraph-1.result.ttl b/tests/dev_tests/test_data/negation-devGraph-1.result.ttl index ccd61348..44be7028 100644 --- a/tests/dev_tests/test_data/negation-devGraph-1.result.ttl +++ b/tests/dev_tests/test_data/negation-devGraph-1.result.ttl @@ -1360,9 +1360,7 @@ net:Property_Net a owl:Class ; net:atomProperty_license_l2 a owl:NamedIndividual, net:Atom_Property_Net ; - :role_ARG1 net:atomProperty_produce_p2, - net:atomProperty_reproduce_r, - net:logicalSet_and_a, + :role_ARG1 net:logicalSet_and_a, net:phenomena_conjunction-AND_a ; :role_ARG2 net:atomClass_you_y, net:compositeClass_you-produceing-material_y, @@ -1573,6 +1571,58 @@ sys:Out_Structure a owl:Class ; net:Individual_Net a owl:Class ; rdfs:subClassOf net:Net . +net:atomProperty_produce_p2 a owl:NamedIndividual, + net:Atom_Property_Net ; + :role_ARG0 net:atomClass_you_y, + net:compositeClass_you-produceing-material_y, + net:compositeClass_you-reproduceing-material_y, + net:compositeClass_you-shareing-material_y, + net:individual_you-produceing-material_fromClass, + net:individual_you-reproduceing-material_fromClass, + net:individual_you-shareing-material_fromClass, + net:individual_you_fromClass ; + :role_ARG1 net:atomClass_material_m ; + net:coverBaseNode :leaf_produce-01_p2 ; + net:coverNode :leaf_produce-01_p2 ; + net:hasNaming "produce" ; + net:hasPropertyName "produce" ; + net:hasPropertyName01 "produceing" ; + net:hasPropertyName10 "produce-by" ; + net:hasPropertyName12 "produce-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "cc-sentence-examples-03" ; + net:isCoreRoleLinked true ; + net:targetArgumentNode :leaf_material_m, + :leaf_you_y ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:atomProperty_reproduce_r a owl:NamedIndividual, + net:Atom_Property_Net ; + :role_ARG0 net:atomClass_you_y, + net:compositeClass_you-produceing-material_y, + net:compositeClass_you-reproduceing-material_y, + net:compositeClass_you-shareing-material_y, + net:individual_you-produceing-material_fromClass, + net:individual_you-reproduceing-material_fromClass, + net:individual_you-shareing-material_fromClass, + net:individual_you_fromClass ; + :role_ARG1 net:atomClass_material_m ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_reproduce-01_r ; + net:hasNaming "reproduce" ; + net:hasPropertyName "reproduce" ; + net:hasPropertyName01 "reproduceing" ; + net:hasPropertyName10 "reproduce-by" ; + net:hasPropertyName12 "reproduce-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "cc-sentence-examples-03" ; + net:isCoreRoleLinked true ; + net:targetArgumentNode :leaf_material_m, + :leaf_you_y ; + net:trackProgress net:initialized, + net:relation_propagated . + net:individual_you-produceing-material_fromClass a owl:NamedIndividual, net:Individual_Net ; net:coverBaseNode :leaf_you_y ; @@ -1686,58 +1736,6 @@ net:Net_Structure a owl:Class ; rdfs:label "Semantic Net Structure" ; rdfs:comment "A semantic net captures a set of nodes, and associates this set with type(s) and value(s)." . -net:atomProperty_produce_p2 a owl:NamedIndividual, - net:Atom_Property_Net ; - :role_ARG0 net:atomClass_you_y, - net:compositeClass_you-produceing-material_y, - net:compositeClass_you-reproduceing-material_y, - net:compositeClass_you-shareing-material_y, - net:individual_you-produceing-material_fromClass, - net:individual_you-reproduceing-material_fromClass, - net:individual_you-shareing-material_fromClass, - net:individual_you_fromClass ; - :role_ARG1 net:atomClass_material_m ; - net:coverBaseNode :leaf_produce-01_p2 ; - net:coverNode :leaf_produce-01_p2 ; - net:hasNaming "produce" ; - net:hasPropertyName "produce" ; - net:hasPropertyName01 "produceing" ; - net:hasPropertyName10 "produce-by" ; - net:hasPropertyName12 "produce-of" ; - net:hasPropertyType owl:ObjectProperty ; - net:hasStructure "cc-sentence-examples-03" ; - net:isCoreRoleLinked true ; - net:targetArgumentNode :leaf_material_m, - :leaf_you_y ; - net:trackProgress net:initialized, - net:relation_propagated . - -net:atomProperty_reproduce_r a owl:NamedIndividual, - net:Atom_Property_Net ; - :role_ARG0 net:atomClass_you_y, - net:compositeClass_you-produceing-material_y, - net:compositeClass_you-reproduceing-material_y, - net:compositeClass_you-shareing-material_y, - net:individual_you-produceing-material_fromClass, - net:individual_you-reproduceing-material_fromClass, - net:individual_you-shareing-material_fromClass, - net:individual_you_fromClass ; - :role_ARG1 net:atomClass_material_m ; - net:coverBaseNode :leaf_reproduce-01_r ; - net:coverNode :leaf_reproduce-01_r ; - net:hasNaming "reproduce" ; - net:hasPropertyName "reproduce" ; - net:hasPropertyName01 "reproduceing" ; - net:hasPropertyName10 "reproduce-by" ; - net:hasPropertyName12 "reproduce-of" ; - net:hasPropertyType owl:ObjectProperty ; - net:hasStructure "cc-sentence-examples-03" ; - net:isCoreRoleLinked true ; - net:targetArgumentNode :leaf_material_m, - :leaf_you_y ; - net:trackProgress net:initialized, - net:relation_propagated . - :AMR_Predicat_Concept a owl:Class ; rdfs:subClassOf :AMR_Concept . diff --git a/tests/dev_tests/test_data/odrl-action-devGraph-1.result.ttl b/tests/dev_tests/test_data/odrl-action-devGraph-1.result.ttl index 100f8585..32034284 100644 --- a/tests/dev_tests/test_data/odrl-action-devGraph-1.result.ttl +++ b/tests/dev_tests/test_data/odrl-action-devGraph-1.result.ttl @@ -401,6 +401,9 @@ cprm:targetOntologyURI a rdf:Property ; <https://tenet.tetras-libre.fr/semantic-net> a owl:Ontology . +net:Action_Net a owl:Class ; + rdfs:subClassOf net:Net . + net:Composite_Class_Net a owl:Class ; rdfs:subClassOf net:Class_Net . @@ -536,8 +539,7 @@ net:modCat2 a owl:AnnotationProperty ; net:normal_direction a owl:NamedIndividual . net:phenomena_possible-modality_p a net:Phenomena_Net ; - :role_ARG1 net:action_use_u, - net:atomProperty_use_u ; + :role_ARG1 net:atomProperty_use_u ; net:coverBaseNode :leaf_possible-01_p ; net:coverNode :leaf_possible-01_p ; net:hasNaming "possible-modality" ; @@ -622,9 +624,6 @@ sys:Feature a owl:Class ; sys:Out_AnnotationProperty a owl:AnnotationProperty . -net:Action_Net a owl:Class ; - rdfs:subClassOf net:Net . - net:Atom_Class_Net a owl:Class ; rdfs:subClassOf net:Class_Net . @@ -640,22 +639,33 @@ net:Phenomena_Net a owl:Class ; net:Value_Net a owl:Class ; rdfs:subClassOf net:Net . -net:action_use_u a net:Action_Net ; - net:composeFrom net:atomClass_movie_m, - net:atomProperty_use_u, +net:atomProperty_use_u a net:Atom_Property_Net ; + :role_ARG1 net:atomClass_movie_m, net:individual_9898_m ; net:coverBaseNode :leaf_use-01_u ; - net:coverNode :leaf_movie_m, - :leaf_use-01_u ; - net:hasActionName "use" ; + net:coverNode :leaf_use-01_u ; net:hasNaming "use" ; + net:hasPropertyName "use" ; + net:hasPropertyName01 "useing" ; + net:hasPropertyName10 "use-by" ; + net:hasPropertyName12 "use-of" ; + net:hasPropertyType owl:ObjectProperty ; net:hasStructure "document-01" ; - net:hasTargetClassNet net:atomClass_movie_m ; - net:hasTargetIndividualNet net:individual_9898_m . + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_movie_m . net:has_value a owl:AnnotationProperty ; rdfs:subPropertyOf net:netProperty . +net:individual_9898_m a net:Individual_Net ; + :role_name net:value_9898_blankNode ; + net:coverBaseNode :leaf_movie_m ; + net:coverNode :leaf_movie_m ; + net:hasIndividualLabel "9898" ; + net:hasMotherClassNet net:atomClass_movie_m ; + net:hasNaming "9898" ; + net:hasStructure "document-01" . + net:objectType a owl:AnnotationProperty ; rdfs:label "object type" ; rdfs:subPropertyOf net:objectProperty . @@ -731,20 +741,13 @@ net:Property_Net a owl:Class ; net:Relation a owl:Class ; rdfs:subClassOf net:Net_Structure . -net:atomProperty_use_u a net:Atom_Property_Net ; - :role_ARG1 net:atomClass_movie_m, - net:individual_9898_m ; - net:coverBaseNode :leaf_use-01_u ; - net:coverNode :leaf_use-01_u ; - net:hasNaming "use" ; - net:hasPropertyName "use" ; - net:hasPropertyName01 "useing" ; - net:hasPropertyName10 "use-by" ; - net:hasPropertyName12 "use-of" ; - net:hasPropertyType owl:ObjectProperty ; - net:hasStructure "document-01" ; - net:isCoreRoleLinked "true" ; - net:targetArgumentNode :leaf_movie_m . +net:atomClass_movie_m a net:Atom_Class_Net ; + :role_name net:value_9898_blankNode ; + net:coverBaseNode :leaf_movie_m ; + net:coverNode :leaf_movie_m ; + net:hasClassName "movie" ; + net:hasNaming "movie" ; + net:hasStructure "document-01" . net:objectProperty a owl:AnnotationProperty ; rdfs:label "object attribute" . @@ -782,6 +785,11 @@ net:value_9898_blankNode a net:Value_Net ; :hasConcept :concept_possible-01 ; :hasVariable :variable_p . +:leaf_use-01_u a :AMR_Leaf ; + :edge_u_ARG1_m :leaf_movie_m ; + :hasConcept :concept_use-01 ; + :hasVariable :variable_u . + :phenomena_modality a owl:Class ; rdfs:subClassOf :AMR_Phenomena . @@ -796,26 +804,9 @@ net:has_relation_value a owl:AnnotationProperty ; rdfs:label "has relation value" ; rdfs:subPropertyOf net:has_object . -net:individual_9898_m a net:Individual_Net ; - :role_name net:value_9898_blankNode ; - net:coverBaseNode :leaf_movie_m ; - net:coverNode :leaf_movie_m ; - net:hasIndividualLabel "9898" ; - net:hasMotherClassNet net:atomClass_movie_m ; - net:hasNaming "9898" ; - net:hasStructure "document-01" . - :AMR_Element a owl:Class ; rdfs:subClassOf :AMR_Structure . -net:atomClass_movie_m a net:Atom_Class_Net ; - :role_name net:value_9898_blankNode ; - net:coverBaseNode :leaf_movie_m ; - net:coverNode :leaf_movie_m ; - net:hasClassName "movie" ; - net:hasNaming "movie" ; - net:hasStructure "document-01" . - :AMR_Leaf a owl:Class ; rdfs:subClassOf :AMR_Structure . @@ -825,11 +816,6 @@ net:atomClass_movie_m a net:Atom_Class_Net ; :AMR_Role a owl:Class ; rdfs:subClassOf :AMR_Element . -:leaf_use-01_u a :AMR_Leaf ; - :edge_u_ARG1_m :leaf_movie_m ; - :hasConcept :concept_use-01 ; - :hasVariable :variable_u . - sys:Out_Structure a owl:Class ; rdfs:label "Output Ontology Structure" . @@ -844,6 +830,11 @@ net:netProperty a owl:AnnotationProperty ; :AMR_Structure a owl:Class . +:leaf_movie_m a :AMR_Leaf ; + :edge_m_name_9898 :value_9898 ; + :hasConcept :concept_movie ; + :hasVariable :variable_m . + cprm:configParamProperty a rdf:Property ; rdfs:label "Config Parameter Property" . @@ -852,11 +843,6 @@ rdf:Property a owl:Class . :AMR_Relation a owl:Class ; rdfs:subClassOf :AMR_Structure . -:leaf_movie_m a :AMR_Leaf ; - :edge_m_name_9898 :value_9898 ; - :hasConcept :concept_movie ; - :hasVariable :variable_m . - net:Net a owl:Class ; rdfs:subClassOf net:Net_Structure . diff --git a/tests/dev_tests/test_data/odrl-action-devGraph-2.result.ttl b/tests/dev_tests/test_data/odrl-action-devGraph-2.result.ttl index 0e51003d..bfe52fd8 100644 --- a/tests/dev_tests/test_data/odrl-action-devGraph-2.result.ttl +++ b/tests/dev_tests/test_data/odrl-action-devGraph-2.result.ttl @@ -397,6 +397,9 @@ cprm:targetOntologyURI a rdf:Property ; <https://tenet.tetras-libre.fr/semantic-net> a owl:Ontology . +net:Action_Net a owl:Class ; + rdfs:subClassOf net:Net . + net:Composite_Class_Net a owl:Class ; rdfs:subClassOf net:Class_Net . @@ -539,8 +542,7 @@ net:modCat2 a owl:AnnotationProperty ; net:normal_direction a owl:NamedIndividual . net:phenomena_obligation-modality_o a net:Phenomena_Net ; - :role_ARG2 net:action_play_p, - net:atomProperty_play_p ; + :role_ARG2 net:atomProperty_play_p ; net:coverBaseNode :leaf_obligate-01_o ; net:coverNode :leaf_obligate-01_o ; net:hasNaming "obligation-modality" ; @@ -652,9 +654,6 @@ sys:Feature a owl:Class ; sys:Out_AnnotationProperty a owl:AnnotationProperty . -net:Action_Net a owl:Class ; - rdfs:subClassOf net:Net . - net:Atom_Property_Net a owl:Class ; rdfs:subClassOf net:Property_Net . @@ -673,23 +672,18 @@ net:Phenomena_Net a owl:Class ; net:Value_Net a owl:Class ; rdfs:subClassOf net:Net . -net:action_play_p a net:Action_Net ; - net:composeFrom net:atomClass_movie_m, - net:atomProperty_play_p, - net:individual_John_p2 ; - net:coverBaseNode :leaf_play-02_p ; - net:coverNode :leaf_movie_m, - :leaf_person_p2, - :leaf_play-02_p ; - net:hasActionName "play" ; - net:hasAssigneeIndividualNet net:individual_John_p2 ; - net:hasNaming "play" ; - net:hasStructure "document-02" ; - net:hasTargetClassNet net:atomClass_movie_m . - net:has_value a owl:AnnotationProperty ; rdfs:subPropertyOf net:netProperty . +net:individual_John_p2 a net:Individual_Net ; + :role_name net:value_John_blankNode ; + net:coverBaseNode :leaf_person_p2 ; + net:coverNode :leaf_person_p2 ; + net:hasIndividualLabel "John" ; + net:hasMotherClassNet net:atomClass_person_p2 ; + net:hasNaming "John" ; + net:hasStructure "document-02" . + net:objectType a owl:AnnotationProperty ; rdfs:label "object type" ; rdfs:subPropertyOf net:objectProperty . @@ -827,15 +821,6 @@ net:has_relation_value a owl:AnnotationProperty ; rdfs:label "has relation value" ; rdfs:subPropertyOf net:has_object . -net:individual_John_p2 a net:Individual_Net ; - :role_name net:value_John_blankNode ; - net:coverBaseNode :leaf_person_p2 ; - net:coverNode :leaf_person_p2 ; - net:hasIndividualLabel "John" ; - net:hasMotherClassNet net:atomClass_person_p2 ; - net:hasNaming "John" ; - net:hasStructure "document-02" . - net:value_John_blankNode a net:Value_Net ; net:coverAmrValue :value_John ; net:hasNaming "John" ; @@ -851,14 +836,12 @@ net:value_John_blankNode a net:Value_Net ; net:Relation a owl:Class ; rdfs:subClassOf net:Net_Structure . -:AMR_NonCore_Role a owl:Class ; - rdfs:subClassOf :AMR_Role . - -:AMR_Role a owl:Class ; - rdfs:subClassOf :AMR_Element . - -sys:Out_Structure a owl:Class ; - rdfs:label "Output Ontology Structure" . +net:atomClass_movie_m a net:Atom_Class_Net ; + net:coverBaseNode :leaf_movie_m ; + net:coverNode :leaf_movie_m ; + net:hasClassName "movie" ; + net:hasNaming "movie" ; + net:hasStructure "document-02" . net:atomProperty_play_p a net:Atom_Property_Net ; :role_ARG0 net:atomClass_person_p2, @@ -877,6 +860,15 @@ net:atomProperty_play_p a net:Atom_Property_Net ; net:targetArgumentNode :leaf_movie_m, :leaf_person_p2 . +:AMR_NonCore_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Role a owl:Class ; + rdfs:subClassOf :AMR_Element . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + net:netProperty a owl:AnnotationProperty ; rdfs:label "netProperty" . @@ -888,16 +880,19 @@ net:netProperty a owl:AnnotationProperty ; :AMR_Structure a owl:Class . +:leaf_movie_m a :AMR_Leaf ; + :hasConcept :concept_movie ; + :hasVariable :variable_m . + +:leaf_play-02_p a :AMR_Leaf ; + :edge_p_ARG0_p2 :leaf_person_p2 ; + :edge_p_ARG1_m :leaf_movie_m ; + :hasConcept :concept_play-02 ; + :hasVariable :variable_p . + cprm:configParamProperty a rdf:Property ; rdfs:label "Config Parameter Property" . -net:atomClass_movie_m a net:Atom_Class_Net ; - net:coverBaseNode :leaf_movie_m ; - net:coverNode :leaf_movie_m ; - net:hasClassName "movie" ; - net:hasNaming "movie" ; - net:hasStructure "document-02" . - rdf:Property a owl:Class . :AMR_Edge a owl:Class ; @@ -906,15 +901,10 @@ rdf:Property a owl:Class . :AMR_Relation a owl:Class ; rdfs:subClassOf :AMR_Structure . -:leaf_movie_m a :AMR_Leaf ; - :hasConcept :concept_movie ; - :hasVariable :variable_m . - -:leaf_play-02_p a :AMR_Leaf ; - :edge_p_ARG0_p2 :leaf_person_p2 ; - :edge_p_ARG1_m :leaf_movie_m ; - :hasConcept :concept_play-02 ; - :hasVariable :variable_p . +:leaf_person_p2 a :AMR_Leaf ; + :edge_p2_name_John :value_John ; + :hasConcept :concept_person ; + :hasVariable :variable_p2 . net:Net a owl:Class ; rdfs:subClassOf net:Net_Structure . @@ -926,11 +916,6 @@ net:has_object a owl:AnnotationProperty ; :AMR_Op_Role a owl:Class ; rdfs:subClassOf :AMR_Role . -:leaf_person_p2 a :AMR_Leaf ; - :edge_p2_name_John :value_John ; - :hasConcept :concept_person ; - :hasVariable :variable_p2 . - :AMR_AnnotationProperty a owl:AnnotationProperty . :AMR_Core_Role a owl:Class ; diff --git a/tests/dev_tests/test_data/odrl-action-devGraph-3.result.ttl b/tests/dev_tests/test_data/odrl-action-devGraph-3.result.ttl index 1cba5c5f..3e60aca3 100644 --- a/tests/dev_tests/test_data/odrl-action-devGraph-3.result.ttl +++ b/tests/dev_tests/test_data/odrl-action-devGraph-3.result.ttl @@ -393,6 +393,9 @@ cprm:targetOntologyURI a rdf:Property ; <https://tenet.tetras-libre.fr/semantic-net> a owl:Ontology . +net:Action_Net a owl:Class ; + rdfs:subClassOf net:Net . + net:Composite_Class_Net a owl:Class ; rdfs:subClassOf net:Class_Net . @@ -535,8 +538,7 @@ net:modCat2 a owl:AnnotationProperty ; net:normal_direction a owl:NamedIndividual . net:phenomena_prohibition-modality_a a net:Phenomena_Net ; - :role_ARG1 net:action_play_p, - net:atomProperty_play_p ; + :role_ARG1 net:atomProperty_play_p ; :role_polarity net:value_negative_blankNode ; net:composeFrom net:phenomena_possible-modality_a, net:value_negative_blankNode ; @@ -647,9 +649,6 @@ sys:Feature a owl:Class ; sys:Out_AnnotationProperty a owl:AnnotationProperty . -net:Action_Net a owl:Class ; - rdfs:subClassOf net:Net . - net:Atom_Property_Net a owl:Class ; rdfs:subClassOf net:Property_Net . @@ -662,14 +661,22 @@ net:Individual_Net a owl:Class ; net:has_value a owl:AnnotationProperty ; rdfs:subPropertyOf net:netProperty . +net:individual_John_p2 a net:Individual_Net ; + :role_name net:value_John_blankNode ; + net:coverBaseNode :leaf_person_p2 ; + net:coverNode :leaf_person_p2 ; + net:hasIndividualLabel "John" ; + net:hasMotherClassNet net:atomClass_person_p2 ; + net:hasNaming "John" ; + net:hasStructure "document-03" . + net:objectType a owl:AnnotationProperty ; rdfs:label "object type" ; rdfs:subPropertyOf net:objectProperty . net:phenomena_possible-modality_a a net:Deprecated_Net, net:Phenomena_Net ; - :role_ARG1 net:action_play_p, - net:atomProperty_play_p ; + :role_ARG1 net:atomProperty_play_p ; :role_polarity net:value_negative_blankNode ; net:coverBaseNode :leaf_allow-01_a ; net:coverNode :leaf_allow-01_a ; @@ -780,20 +787,6 @@ net:Property_Net a owl:Class ; net:Value_Net a owl:Class ; rdfs:subClassOf net:Net . -net:action_play_p a net:Action_Net ; - net:composeFrom net:atomClass_movie_m, - net:atomProperty_play_p, - net:individual_John_p2 ; - net:coverBaseNode :leaf_play-01_p ; - net:coverNode :leaf_movie_m, - :leaf_person_p2, - :leaf_play-01_p ; - net:hasActionName "play" ; - net:hasAssigneeIndividualNet net:individual_John_p2 ; - net:hasNaming "play" ; - net:hasStructure "document-03" ; - net:hasTargetClassNet net:atomClass_movie_m . - net:objectProperty a owl:AnnotationProperty ; rdfs:label "object attribute" . @@ -845,15 +838,6 @@ net:has_relation_value a owl:AnnotationProperty ; rdfs:label "has relation value" ; rdfs:subPropertyOf net:has_object . -net:individual_John_p2 a net:Individual_Net ; - :role_name net:value_John_blankNode ; - net:coverBaseNode :leaf_person_p2 ; - net:coverNode :leaf_person_p2 ; - net:hasIndividualLabel "John" ; - net:hasMotherClassNet net:atomClass_person_p2 ; - net:hasNaming "John" ; - net:hasStructure "document-03" . - net:value_John_blankNode a net:Value_Net ; net:coverAmrValue :value_John ; net:hasNaming "John" ; @@ -875,6 +859,13 @@ net:value_negative_blankNode a net:Value_Net ; net:Relation a owl:Class ; rdfs:subClassOf net:Net_Structure . +net:atomClass_movie_m a net:Atom_Class_Net ; + net:coverBaseNode :leaf_movie_m ; + net:coverNode :leaf_movie_m ; + net:hasClassName "movie" ; + net:hasNaming "movie" ; + net:hasStructure "document-03" . + :AMR_NonCore_Role a owl:Class ; rdfs:subClassOf :AMR_Role . @@ -890,27 +881,6 @@ net:Relation a owl:Class ; sys:Out_Structure a owl:Class ; rdfs:label "Output Ontology Structure" . -net:netProperty a owl:AnnotationProperty ; - rdfs:label "netProperty" . - -:AMR_Leaf a owl:Class ; - rdfs:subClassOf :AMR_Structure . - -:AMR_ObjectProperty a owl:ObjectProperty ; - rdfs:subPropertyOf owl:topObjectProperty . - -:AMR_Structure a owl:Class . - -cprm:configParamProperty a rdf:Property ; - rdfs:label "Config Parameter Property" . - -net:atomClass_movie_m a net:Atom_Class_Net ; - net:coverBaseNode :leaf_movie_m ; - net:coverNode :leaf_movie_m ; - net:hasClassName "movie" ; - net:hasNaming "movie" ; - net:hasStructure "document-03" . - net:atomProperty_play_p a net:Atom_Property_Net ; :role_ARG0 net:atomClass_person_p2, net:individual_John_p2 ; @@ -928,24 +898,43 @@ net:atomProperty_play_p a net:Atom_Property_Net ; net:targetArgumentNode :leaf_movie_m, :leaf_person_p2 . -rdf:Property a owl:Class . +net:netProperty a owl:AnnotationProperty ; + rdfs:label "netProperty" . -:AMR_Relation a owl:Class ; +:AMR_Leaf a owl:Class ; rdfs:subClassOf :AMR_Structure . +:AMR_ObjectProperty a owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + +:AMR_Structure a owl:Class . + :leaf_movie_m a :AMR_Leaf ; :hasConcept :concept_movie ; :hasVariable :variable_m . -:AMR_Edge a owl:Class ; - rdfs:subClassOf :AMR_Structure . - :leaf_play-01_p a :AMR_Leaf ; :edge_p_ARG0_p2 :leaf_person_p2 ; :edge_p_ARG1_m :leaf_movie_m ; :hasConcept :concept_play-01 ; :hasVariable :variable_p . +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +rdf:Property a owl:Class . + +:AMR_Relation a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Edge a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:leaf_person_p2 a :AMR_Leaf ; + :edge_p2_name_John :value_John ; + :hasConcept :concept_person ; + :hasVariable :variable_p2 . + net:Net a owl:Class ; rdfs:subClassOf net:Net_Structure . @@ -956,11 +945,6 @@ net:has_object a owl:AnnotationProperty ; :AMR_Op_Role a owl:Class ; rdfs:subClassOf :AMR_Role . -:leaf_person_p2 a :AMR_Leaf ; - :edge_p2_name_John :value_John ; - :hasConcept :concept_person ; - :hasVariable :variable_p2 . - :AMR_AnnotationProperty a owl:AnnotationProperty . :AMR_Core_Role a owl:Class ; diff --git a/tests/dev_tests/test_rule_phenomena_classifier.py b/tests/dev_tests/test_rule_phenomena_classifier.py new file mode 100644 index 00000000..cfc9433d --- /dev/null +++ b/tests/dev_tests/test_rule_phenomena_classifier.py @@ -0,0 +1,141 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: Extraction Rule Test +#------------------------------------------------------------------------------ +# Script to test rules under development +#============================================================================== + +import subprocess, os +from rdflib import Graph, Namespace +from rdflib.namespace import NamespaceManager, FOAF, RDF +from rdflib import URIRef, Literal, BNode + +FILE_PATH = f'{os.path.dirname(os.path.abspath(__file__))}' +INPUT_DIR_PATH = f'{FILE_PATH}/test_data/' +OUTPUT_DIR_PATH = f'{FILE_PATH}/test_data/' + +TEST_FILE_NAME_1 = 'mod-analyzer-devGraph-1' +TEST_FILE_NAME_2 = 'mod-analyzer-devGraph-2' + +from context import tenet +from tenet.transduction.rdfterm_computer import __update_uri_with_prefix +from tenet.transduction import rdfterm_computer, prefix_handle +from tenet.transduction import net +from tenet.scheme.amr_rule.transduction import phenomena_mod_analyzer_1 as rule_1 +from tenet.scheme import amr_rule + + + +#============================================================================== +# Useful Methods +#============================================================================== + +def load_test_graph(test_file_name): + print(f'\n -- Test Graph Loading') + graph = Graph() + prefix_handle.update_graph_namespacemanager(graph) + graph_path = f'{INPUT_DIR_PATH}{test_file_name}.ttl' + graph.parse(graph_path) + print(f" ----- Graph Loaded ({len(graph)})") + return graph + + +def define_clause_list(composition_pattern_list): + clause_list = [] + for (net_1, relation, net_2) in composition_pattern_list: + clause_list.append(f'{net_1} {relation} {net_2}.') + return clause_list + + +def print_triple(graph, triple, num=-1): + num_str = f'[{num}]' if num > -1 else '[-]' + (s, p, o) = triple + s = __update_uri_with_prefix(graph, s) + p = __update_uri_with_prefix(graph, p) + o = __update_uri_with_prefix(graph, o) + print(f' {num_str} {s} {p} {o}') + + +def add_triples_in_graph(test_file_name, graph, triple_list): + print(f'\n -- Adding triple(s) in graph') + print(f" ----- Graph length before update: {len(graph)}") + print(f" ----- Number of triples to add: {len(triple_list)}") + + print(f" ----- Added triples:") + n = 0 + for triple in triple_list: + n += 1 + print_triple(graph, triple, num=n) + graph.add(triple) + + print(f" ----- Graph length after update: {len(graph)}") + + output_graph_path = f'{OUTPUT_DIR_PATH}{test_file_name}.result.ttl' + output_graph_uri = f'https://amr.tetras-libre.fr/rdf/{test_file_name}/result' + print(f'\n -- Serialize test graph to {output_graph_path}') + graph.serialize(destination=output_graph_path, + format='turtle', + base=output_graph_uri) + + + +#============================================================================== +# Development / Step Test +#============================================================================== + +def test_search_pattern_1(graph): + + print('\n -- Step 1: Search Pattern') + _, pattern_set = rule_1.__search_pattern(graph) + print(f'\n ----- number of selection found: {len(pattern_set)}') + for row in pattern_set: + result_str = f'>>> ' + result_str += f' {row.class_net_1.n3(graph.namespace_manager)}' + result_str += f' {row.class_net_2.n3(graph.namespace_manager)}' + print(result_str) + + print('\n -- Step 2: Disjoint Cover Verification') + result_set = [] + + return pattern_set + + + +#============================================================================== +# Unit Test +#============================================================================== + +def test_rule_application(test_file_name, graph, rule): + print('\n -- Rule Test') + + rule_label, new_triple_list = rule(graph) + print(f' ----- label: {rule_label}') + print(f' ----- new_triple_list ({len(new_triple_list)}):') + + add_triples_in_graph(test_file_name, graph, new_triple_list) + + + +#============================================================================== +# Test Script +#============================================================================== + +if __name__ == '__main__': + + print('\n *** Test Preparation ***') + graph_1 = load_test_graph(TEST_FILE_NAME_1) + print('\n \n') + + print('\n ///////////////////// Extraction Rule 1') + + print('\n *** Step Test ***') + pattern_set = test_search_pattern_1(graph_1) + print('\n \n') + + print('\n *** Unit Test ***') + test_rule_application(TEST_FILE_NAME_1, graph_1, rule_1.analyze_phenomena_mod_1) + print('\n \n') + + print('\n *** - ***') \ No newline at end of file diff --git a/tests/dev_tests/test_rule_phenomena_polarity.py b/tests/dev_tests/test_rule_phenomena_polarity.py index ad67816a..b6cfb319 100644 --- a/tests/dev_tests/test_rule_phenomena_polarity.py +++ b/tests/dev_tests/test_rule_phenomena_polarity.py @@ -16,19 +16,10 @@ FILE_PATH = f'{os.path.dirname(os.path.abspath(__file__))}' INPUT_DIR_PATH = f'{FILE_PATH}/test_data/' OUTPUT_DIR_PATH = f'{FILE_PATH}/test_data/' -TEST_FILE_NAME_1 = 'negation-devGraph-1' -TEST_FILE_NAME_2 = 'negation-devGraph-2' -TEST_FILE_NAME_3 = 'negation-devGraph-3' -TEST_FILE_NAME_4 = 'negation-devGraph-4' -TEST_FILE_NAME_5 = 'negation-devGraph-5' -TEST_FILE_NAME_6 = 'negation-devGraph-6' +TEST_FILE_NAME_1 = 'modality-devGraph-1' from context import tenet -from tenet.scheme.amr_master_rule.transduction import phenomena_polarity_analyzer_1 as rule_1 -from tenet.scheme.amr_clara_rule.transduction import phenomena_polarity_analyzer_2 as rule_2 -from tenet.scheme.amr_clara_rule.transduction import phenomena_polarity_analyzer_3 as rule_3 -from tenet.scheme.amr_clara_rule.transduction import phenomena_polarity_analyzer_4 as rule_4 -from tenet.scheme.amr_clara_rule.transduction import phenomena_polarity_analyzer_5 as rule_5 +from tenet.scheme.amr_clara_rule.transduction import phenomena_modality_classifier as rule_1 from tenet.scheme import amr_master_rule as rule from tenet.scheme import amr_clara_rule @@ -99,61 +90,13 @@ def add_triples_in_graph(test_file_name, graph, triple_list): # Development Test #============================================================================== -def test_search_pattern_1(graph): +def test_search_pattern(graph): query_code, pattern_set = rule_1.__search_pattern(graph) print(f'\n ----- query code: {query_code}') print(f'\n ----- number of selection found: {len(pattern_set)}') - for selection in pattern_set: - result_str = f'>>> ' - result_str += f'{selection.property_net.n3(graph.namespace_manager)}' - print(result_str) - return pattern_set - - -def test_search_pattern_2(graph): - query_code, pattern_set = rule_2.__search_pattern(graph) - print(f'\n ----- query code: {query_code}') - print(f'\n ----- number of selection found: {len(pattern_set)}') for selection in pattern_set: result_str = f'>>> ' result_str += f'{selection.phenomena_net.n3(graph.namespace_manager)}' - result_str += f' {selection.value_net.n3(graph.namespace_manager)}' - print(result_str) - return pattern_set - - -def test_search_pattern_3(graph): - query_code, pattern_set = rule_3.__search_pattern(graph) - print(f'\n ----- query code: {query_code}') - print(f'\n ----- number of selection found: {len(pattern_set)}') - for selection in pattern_set: - result_str = f'>>> ' - result_str += f'{selection.phenomena_net.n3(graph.namespace_manager)}' - result_str += f' {selection.value_net.n3(graph.namespace_manager)}' - print(result_str) - return pattern_set - - -def test_search_pattern_4(graph): - query_code, pattern_set = rule_4.__search_pattern(graph) - print(f'\n ----- query code: {query_code}') - print(f'\n ----- number of selection found: {len(pattern_set)}') - for selection in pattern_set: - result_str = f'>>> ' - result_str += f'{selection.phenomena_net.n3(graph.namespace_manager)}' - result_str += f' {selection.value_net.n3(graph.namespace_manager)}' - print(result_str) - return pattern_set - - -def test_search_pattern_5(graph): - query_code, pattern_set = rule_5.__search_pattern(graph) - print(f'\n ----- query code: {query_code}') - print(f'\n ----- number of selection found: {len(pattern_set)}') - for selection in pattern_set: - result_str = f'>>> ' - result_str += f'{selection.phenomena_net.n3(graph.namespace_manager)}' - result_str += f' {selection.value_net.n3(graph.namespace_manager)}' print(result_str) return pattern_set @@ -180,11 +123,6 @@ if __name__ == '__main__': print('\n *** Test Preparation ***') graph_1 = load_test_graph(TEST_FILE_NAME_1) - graph_2 = load_test_graph(TEST_FILE_NAME_2) - graph_3 = load_test_graph(TEST_FILE_NAME_3) - graph_4 = load_test_graph(TEST_FILE_NAME_4) - graph_5 = load_test_graph(TEST_FILE_NAME_5) - graph_6 = load_test_graph(TEST_FILE_NAME_6) print('\n \n') @@ -193,98 +131,12 @@ if __name__ == '__main__': print('\n *** Step Test ***') print('\n -- Step 1: Search Pattern') - pattern_set = test_search_pattern_1(graph_1) - - for pattern in pattern_set: - print(f' -- Tests with {pattern.property_net}') - - print(f' -- Step 2: property net definition') - property_net = net.PropertyNet(graph_1, uri=pattern.property_net) - print_net_attributes(property_net) - - print(f' -- Step 3: construction of composite property net') - print(f' ----- Step 3a: initialisation') - composite_property_net = net.CompositePropertyNet(graph_1) - print(f' ----- Step 3b: composition') - composite_property_net.compose(property_net) - print_net_attributes(composite_property_net) - print(f' ----- Step 3d: data computation') - composite_property_net.property_type = 'owl:ObjectProperty' - print_net_attributes(composite_property_net) - print(f' ----- Step 3e: relation propagation') - rule_1.__propagate_relation(composite_property_net, property_net) - print(f' ----- Step 3f: naming') - composite_property_net.naming = define_composite_naming_2('not', property_net) - print_net_attributes(composite_property_net) - print(f' ----- Step 3g: finalization') - composite_property_net.finalize() - print_net_attributes(composite_property_net) - print(f' ----- Step 3h: triple generation') - triple_list = composite_property_net.generate_triple_definition() - print(f' ----- triple_list ({len(triple_list)}):') - for triple in triple_list: - print_triple(graph_1, triple) - - print('\n \n') - - print('\n *** Unit Test ***') - test_rule_application(TEST_FILE_NAME_1, graph_1, rule.analyze_phenomena_polarity_1) - print('\n \n') - - - print('\n ///////////////////// Extraction Rule 2') - - print('\n *** Step Test ***') - - print('\n -- Step 1: Search Pattern') - pattern_set = test_search_pattern_2(graph_3) - - print('\n \n') - - print('\n *** Unit Test ***') - test_rule_application(TEST_FILE_NAME_3, graph_3, rule.analyze_phenomena_polarity_2) - print('\n \n') - - - print('\n ///////////////////// Extraction Rule 3') - - print('\n *** Step Test ***') - - print('\n -- Step 1: Search Pattern') - pattern_set = test_search_pattern_3(graph_4) - - print('\n \n') - - print('\n *** Unit Test ***') - test_rule_application(TEST_FILE_NAME_4, graph_4, amr_clara_rule.analyze_phenomena_polarity_3) - print('\n \n') - - - print('\n ///////////////////// Extraction Rule 4') - - print('\n *** Step Test ***') - - print('\n -- Step 1: Search Pattern') - pattern_set = test_search_pattern_4(graph_5) - - print('\n \n') - - print('\n *** Unit Test ***') - test_rule_application(TEST_FILE_NAME_5, graph_5, amr_clara_rule.analyze_phenomena_polarity_4) - print('\n \n') - - - print('\n ///////////////////// Extraction Rule 5') - - print('\n *** Step Test ***') - - print('\n -- Step 1: Search Pattern') - pattern_set = test_search_pattern_5(graph_6) + pattern_set = test_search_pattern(graph_1) print('\n \n') print('\n *** Unit Test ***') - test_rule_application(TEST_FILE_NAME_6, graph_6, amr_clara_rule.analyze_phenomena_polarity_5) + test_rule_application(TEST_FILE_NAME_1, graph_1, amr_clara_rule.classify_modality_phenomena) print('\n \n') print('\n *** - ***') \ No newline at end of file -- GitLab