diff --git a/tenet/scheme/amr_clara_rule/__init__.py b/tenet/scheme/amr_clara_rule/__init__.py index c3d86770eb26be6c351731f252c3fc4b5309fcaa..3703bf89be55f1d905cae3566716b16a21f07018 100644 --- a/tenet/scheme/amr_clara_rule/__init__.py +++ b/tenet/scheme/amr_clara_rule/__init__.py @@ -14,6 +14,7 @@ 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.property_class_classifier import * from scheme.amr_clara_rule.transduction.phenomena_polarity_analyzer_1 import * from scheme.amr_clara_rule.transduction.phenomena_polarity_analyzer_2 import * diff --git a/tenet/scheme/amr_clara_rule/transduction/atom_class_extractor.py b/tenet/scheme/amr_clara_rule/transduction/atom_class_extractor.py index f40fc45f7d95ed6f4c2d89ef7abd446ce6539ca7..2c9356f14f4b803315ab6ef183b670318b7be0c9 100644 --- a/tenet/scheme/amr_clara_rule/transduction/atom_class_extractor.py +++ b/tenet/scheme/amr_clara_rule/transduction/atom_class_extractor.py @@ -140,12 +140,8 @@ def extract_atom_class(graph): rule_triple_list = [] for pattern in pattern_set: - # -- New Net Construction (from 3 nets) - new_class, triple_list = __construct_atom_class_net( - graph, pattern.leaf, pattern.conceptName) - - # -- Resulting List Update - # class_net_list.append(new_class) + # -- New Net Construction + new_class, triple_list = __construct_atom_class_net(graph, pattern.leaf, pattern.conceptName) rule_triple_list += triple_list return rule_label, rule_triple_list \ No newline at end of file diff --git a/tenet/scheme/amr_clara_rule/transduction/property_class_classifier.py b/tenet/scheme/amr_clara_rule/transduction/property_class_classifier.py new file mode 100644 index 0000000000000000000000000000000000000000..72dea0f2068d68786662403f8c3ce856317f90c9 --- /dev/null +++ b/tenet/scheme/amr_clara_rule/transduction/property_class_classifier.py @@ -0,0 +1,92 @@ +#!/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 +#============================================================================== + +def __search_pattern(graph): + query_code = '' + result_set = [] + for arg_relation in ['amr:role_ARG0', 'amr:role_ARG1', 'amr:role_ARG2']: + select_data_list = ['?property_net'] + clause_list = [f'?left_property_net a [rdfs:subClassOf* net:Property_Net].', + f'?property_net a [rdfs:subClassOf* net:Atom_Property_Net].', + f'?left_property_net {arg_relation} ?property_net.'] + query_code = generate_select_query(graph, select_data_list, clause_list) + result_set += graph.query(query_code) + return query_code, result_set + + + +#============================================================================== +# Useful Computation Method(s) +#============================================================================== + +def __propagate_relation(target_net, base_net): + target_net.input_relation_list = base_net.input_relation_list + target_net.output_relation_list = base_net.output_relation_list + + +#============================================================================== +# Construct Method(s) +#============================================================================== + +def __construct_atom_class_net(graph, property_net): + + # -- Net Composition + atom_class_net = net.AtomClassNet(graph) + atom_class_net.compose(property_net) + + # -- Data Computation + atom_class_net.class_name = property_net.naming + + # -- Net Naming + atom_class_net.naming = property_net.naming + + # -- Relation Propagation + __propagate_relation(atom_class_net, property_net) + + # -- Finalization + atom_class_net.finalize() + triple_definition = atom_class_net.generate_triple_definition() + + return atom_class_net, triple_definition + + +#============================================================================== +# Main Method +#============================================================================== + +def reclassify_argument_property_to_class(graph): + + # -- Rule Initialization + rule_label = 'reclassify argument property to class' + rule_triple_list = [] + + # -- Search for patterns + _, pattern_set = __search_pattern(graph) + + # -- Pattern Analysis + for pattern in pattern_set: + atom_property_net = net.AtomPropertyNet(graph, uri=pattern.property_net) + _, triple_list = __construct_atom_class_net(graph, atom_property_net) + rule_triple_list += triple_list + rule_triple_list += atom_property_net.deprecate() + + 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 4b3906a2383176131b08d6a664d3c8a29eca18f0..81634969d9cc74c29f3e644085d65dc067d8ba2b 100644 --- a/tenet/scheme/amr_scheme_clara_1.py +++ b/tenet/scheme/amr_scheme_clara_1.py @@ -104,74 +104,6 @@ amr_reification_sequence = { # # Transduction Sequences # # --------------------------------------------- -phenomena_application_and_sequence = { - 'label': 'phenomena-application-and-sequence', - 'comment': 'Application of phenomena', - 'rule_key_list': ['and-conjunction-phenomena-application-1', - 'and-conjunction-phenomena-application-2', - 'and-conjunction-phenomena-application-3', - 'and-conjunction-phenomena-application-4', - 'and-conjunction-phenomena-application-5', - 'and-conjunction-phenomena-application-6' - ] - } - - -composite_property_extraction_sequence = { - 'label': 'composite-property-extraction-sequence', - 'comment': 'creation of composite properties from properties', - 'rule_key_list': ['create-composite-property-net-from-property-1', - 'create-composite-property-net-from-property-2'] - } - - -restriction_adding_sequence = { - 'label': 'restriction-adding-sequence', - 'comment': 'add restriction to class from property', - 'rule_key_list': ['add-restriction-to-class-net-from-property-1'] - } - - -phenomena_checking_sequence = { - 'label': 'phenomena-checking-sequence', - 'comment': 'creation of phenomena nets', - 'rule_key_list': ['expand-and-or-conjunction-phenomena-net', - 'expand-degree-phenomena-net-1', - 'expand-degree-phenomena-net-2', - 'expand-degree-phenomena-net-3', - 'expand-degree-phenomena-net-4', - 'expand-degree-phenomena-net-5', - 'expand-degree-phenomena-net-6'] - } - - -composite_class_extraction_sequence_2 = { - 'label': 'composite-class-extraction-sequence-2', - 'comment': 'creation of composite classes from phenomena', - 'rule_key_list': ['create-composite-class-net-from-phenomena-1', - 'create-composite-class-net-from-phenomena-2', - 'create-composite-class-net-from-phenomena-3', - 'create-composite-class-net-from-phenomena-4'] - } - - -classification_sequence = { - 'label': 'classification-sequence', - 'comment': 'net classification', - 'rule_key_list': ['classify-net-from-core-1', - 'classify-net-from-core-2', - 'classify-net-from-core-3', - # -- old --- 'classify-net-from-mod', - 'classify-net-from-part', - 'classify-net-from-domain', - 'classify-net-from-degree-phenomena-1', - 'classify-net-from-degree-phenomena-2', - 'classify-net-from-degree-phenomena-3', - 'propagate-individual-1', - 'propagate-individual-2', - 'reclassify-deprecated-net'] - } - atomic_extraction_sequence = ['atomic extraction sequence', rule.extract_atom_class, rule.extract_atom_individual, @@ -181,11 +113,12 @@ atomic_extraction_sequence = ['atomic extraction sequence', rule.propagate_atom_relation ] -phenomena_analyze_sequence_1 = ['phenomena analyze sequence (1)', - rule.classify_modality_phenomena - ] +classification_sequence_1 = ['classification sequence (1)', + rule.classify_modality_phenomena, + rule.reclassify_argument_property_to_class + ] -phenomena_analyze_sequence_2 = ['phenomena analyze sequence (2)', +phenomena_analyze_sequence_1 = ['phenomena analyze sequence (1)', rule.analyze_phenomena_polarity_1, rule.analyze_phenomena_polarity_2, rule.analyze_phenomena_polarity_3, @@ -195,7 +128,7 @@ phenomena_analyze_sequence_2 = ['phenomena analyze sequence (2)', rule.classify_modality_phenomena ] -phenomena_analyze_sequence_3 = ['phenomena analyze sequence (3)', +phenomena_analyze_sequence_2 = ['phenomena analyze sequence (2)', rule.analyze_phenomena_or_1, rule.analyze_phenomena_or_2, rule.analyze_phenomena_and_1, @@ -234,14 +167,14 @@ scheme = { amr_reification_sequence], 'transduction': [transduction_refinement_sequence, - 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 - ], + atomic_extraction_sequence, + classification_sequence_1, + phenomena_analyze_sequence_1, + phenomena_analyze_sequence_2, + composite_property_extraction_sequence, + composite_class_extraction_sequence, + odrl_extraction_sequence + ], 'generation': [default_refinement_sequence, odrl_rule_generation_sequence] diff --git a/tenet/tenet.log b/tenet/tenet.log index 3d24bfc6dc7850ab7b9e3286fcd7ac6f83aab137..6f2503bd200fd4e57aa0d5de14cde4831b64250d 100644 --- a/tenet/tenet.log +++ b/tenet/tenet.log @@ -2,19 +2,19 @@ - INFO - === Process Initialization === - INFO - -- Process Setting -- INFO - ----- Corpus source: /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/ (amr) -- INFO - ----- Base output dir: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/aos12_factoid.ttl -- INFO - ----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/ -- INFO - ----- Ontology target (id): https://tenet.tetras-libre.fr/demo/clara/12/ +- INFO - ----- Corpus source: /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s13.stog.amr.ttl (amr) +- INFO - ----- Base output dir: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos13-20230421/aos13_factoid.ttl +- INFO - ----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos13-20230421/technical-data/ +- INFO - ----- Ontology target (id): https://tenet.tetras-libre.fr/demo/clara/13/ - INFO - ----- Current path: /home/lamenji/Workspace/Tetras/tenet/tenet - DEBUG - ----- Config file: /home/lamenji/Workspace/Tetras/tenet/tenet/config.xml - DEBUG - *** Config (Full Parameters) *** -- Base Parameters ----- config file: /home/lamenji/Workspace/Tetras/tenet/tenet/config.xml - ----- uuid: https://tenet.tetras-libre.fr/demo/clara/12/ - ----- technical base name: tenet.tetras-libre.fr_demo_clara_12 - ----- source corpus: /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/ + ----- uuid: https://tenet.tetras-libre.fr/demo/clara/13/ + ----- technical base name: tenet.tetras-libre.fr_demo_clara_13 + ----- source corpus: /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s13.stog.amr.ttl ----- target reference: base ----- process level: sentence ----- source type: amr @@ -26,10 +26,10 @@ ----- CTS directory: ./scheme/ ----- target frame directory: ./../input/targetFrameStructure/ ----- input document directory: - ----- base output dir: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/aos12_factoid.ttl - ----- output directory: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/aos12_factoid.ttltenet.tetras-libre.fr_demo_clara_12-20230420/ - ----- sentence output directory: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/ - ----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/ + ----- base output dir: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos13-20230421/aos13_factoid.ttl + ----- output directory: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos13-20230421/aos13_factoid.ttltenet.tetras-libre.fr_demo_clara_13-20230421/ + ----- sentence output directory: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos13-20230421/technical-data/ + ----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos13-20230421/technical-data/ -- Config File Definition ----- schema file: ./structure/amr-rdf-schema.ttl ----- semantic net file: ./structure/odrl-snet-schema.ttl @@ -41,979 +41,16 @@ ----- ontology suffix: -ontology.ttl ----- ontology seed suffix: -ontology-seed.ttl -- Source File Definition - ----- source sentence file: /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/**/*.ttl + ----- source sentence file: /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s13.stog.amr.ttl**/*.ttl -- Target File Definition ----- frame ontology file: ./../input/targetFrameStructure/base-ontology.ttl ----- frame ontology seed file: ./../input/targetFrameStructure/base-ontology-seed.ttl -- Output ----- ontology namespace: https://tenet.tetras-libre.fr/base-ontology/ - ----- output file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12.ttl + ----- output file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos13-20230421/technical-data/tenet.tetras-libre.fr_demo_clara_13.ttl *** - *** -- DEBUG - -- Counting number of graph files (sentences) -- INFO - ----- Number of Graphs: 13 - INFO - === Extraction Processing === -- INFO - *** sentence 1 *** -- INFO - -- Work Structure Preparation -- DEBUG - --- Graph Initialization -- DEBUG - ----- Configuration Loading -- DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (470) -- DEBUG - -------- Config Parameter Definition (504) -- DEBUG - ----- Frame Ontology Loading -- 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 (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 -- INFO - ----- Sentence (text): John is obligated to reproduce the movie and the picture. -- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) -- DEBUG - ----- Step number: 3 -- INFO - -- Loading Extraction Rules (amr_clara_rule/*) -- 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 (565, 0:00:00.028481) -- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- 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/ -- 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_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//preprocessing -- 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 (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) -- INFO - ----- classify modality phenomena: 1/7 new triple (744, 0:00:00.034838) -- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- 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 (767, 0:00:00.107303) -- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- 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 (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 - ----- 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 (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/ -- 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_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//generation -- INFO - ----- 1 triples extracted during generation step -- DEBUG - --- Serializing graph to factoid 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_factoid.ttl) -- DEBUG - ----- Number of factoids: 1 -- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/12//factoid -- INFO - *** sentence 2 *** -- INFO - -- Work Structure Preparation -- DEBUG - --- Graph Initialization -- DEBUG - ----- Configuration Loading -- DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (470) -- DEBUG - -------- Config Parameter Definition (504) -- DEBUG - ----- Frame Ontology Loading -- 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 (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 -- INFO - ----- Sentence (text): Movie9899 can be displayed only after 2019. -- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) -- DEBUG - ----- Step number: 3 -- INFO - -- Loading Extraction Rules (amr_clara_rule/*) -- 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 (564, 0:00:00.037953) -- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- 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/ -- 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_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//preprocessing -- 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 (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) -- INFO - ----- classify modality phenomena: 1/3 new triple (742, 0:00:00.042694) -- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- 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 (759, 0:00:00.103989) -- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- 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 (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 - ----- 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 (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/ -- 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_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//generation -- INFO - ----- 1 triples extracted during generation step -- DEBUG - --- Serializing graph to factoid 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_factoid.ttl) -- DEBUG - ----- Number of factoids: 1 -- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/12//factoid -- INFO - *** sentence 3 *** -- INFO - -- Work Structure Preparation -- DEBUG - --- Graph Initialization -- DEBUG - ----- Configuration Loading -- DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (470) -- DEBUG - -------- Config Parameter Definition (504) -- DEBUG - ----- Frame Ontology Loading -- 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 (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 -- INFO - ----- Sentence (text): John is not allowed to play the movie. -- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) -- DEBUG - ----- Step number: 3 -- INFO - -- Loading Extraction Rules (amr_clara_rule/*) -- 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.025931) -- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- 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/ -- 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_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//preprocessing -- 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 (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) -- INFO - ----- classify modality phenomena: 1/5 new triple (693, 0:00:00.029872) -- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- 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 (727, 0:00:00.094118) -- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- 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 (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 - ----- 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 (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/ -- 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_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//generation -- INFO - ----- 1 triples extracted during generation step -- DEBUG - --- Serializing graph to factoid 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_factoid.ttl) -- DEBUG - ----- Number of factoids: 1 -- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/12//factoid -- INFO - *** sentence 4 *** -- INFO - -- Work Structure Preparation -- DEBUG - --- Graph Initialization -- DEBUG - ----- Configuration Loading -- DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (470) -- DEBUG - -------- Config Parameter Definition (504) -- DEBUG - ----- Frame Ontology Loading -- 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 (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 -- INFO - ----- Sentence (text): John is prohibited not to reproduce the Work. -- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) -- DEBUG - ----- Step number: 3 -- INFO - -- Loading Extraction Rules (amr_clara_rule/*) -- 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 (557, 0:00:00.036553) -- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- 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/ -- 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_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//preprocessing -- 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 (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) -- INFO - ----- classify modality phenomena: 1/7 new triple (693, 0:00:00.041478) -- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- 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 (712, 0:00:00.101917) -- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- 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 (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 - ----- 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 (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/ -- 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_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//generation -- INFO - ----- 1 triples extracted during generation step -- DEBUG - --- Serializing graph to factoid 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_factoid.ttl) -- DEBUG - ----- Number of factoids: 1 -- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/12//factoid -- INFO - *** sentence 5 *** -- INFO - -- Work Structure Preparation -- DEBUG - --- Graph Initialization -- DEBUG - ----- Configuration Loading -- DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (470) -- DEBUG - -------- Config Parameter Definition (504) -- DEBUG - ----- Frame Ontology Loading -- 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 (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 -- INFO - ----- Sentence (text): John is obligated not to reproduce the Work. -- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) -- DEBUG - ----- Step number: 3 -- INFO - -- Loading Extraction Rules (amr_clara_rule/*) -- 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.023588) -- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- 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/ -- 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_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//preprocessing -- 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 (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 - ----- classify modality phenomena: 1/7 new triple (708, 0:00:00.035406) -- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- 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 (780, 0:00:00.100844) -- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- 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 (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 - ----- 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 (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/ -- 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_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//generation -- INFO - ----- 1 triples extracted during generation step -- DEBUG - --- Serializing graph to factoid 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_factoid.ttl) -- DEBUG - ----- Number of factoids: 1 -- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/12//factoid -- INFO - *** sentence 6 *** -- INFO - -- Work Structure Preparation -- DEBUG - --- Graph Initialization -- DEBUG - ----- Configuration Loading -- DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (470) -- DEBUG - -------- Config Parameter Definition (504) -- DEBUG - ----- Frame Ontology Loading -- 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 (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 -- INFO - ----- Sentence (text): John is obligated to reproduce and distribute the Work. -- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) -- DEBUG - ----- Step number: 3 -- INFO - -- Loading Extraction Rules (amr_clara_rule/*) -- 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 (569, 0:00:00.025488) -- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- 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/ -- 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_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//preprocessing -- 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 (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) -- INFO - ----- classify modality phenomena: 1/7 new triple (771, 0:00:00.038317) -- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- 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 (813, 0:00:00.191123) -- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- 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 (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 - ----- 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 (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/ -- 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_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//generation -- INFO - ----- 2 triples extracted during generation step -- DEBUG - --- Serializing graph to factoid 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_factoid.ttl) -- DEBUG - ----- Number of factoids: 2 -- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/12//factoid -- INFO - *** sentence 7 *** -- INFO - -- Work Structure Preparation -- DEBUG - --- Graph Initialization -- DEBUG - ----- Configuration Loading -- DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (470) -- DEBUG - -------- Config Parameter Definition (504) -- DEBUG - ----- Frame Ontology Loading -- 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 (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 -- INFO - ----- Sentence (text): John is not allowed to play the movie. -- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) -- DEBUG - ----- Step number: 3 -- INFO - -- Loading Extraction Rules (amr_clara_rule/*) -- 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.123705) -- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- 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/ -- 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_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//preprocessing -- 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 (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) -- INFO - ----- classify modality phenomena: 1/5 new triple (693, 0:00:00.048304) -- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- 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 (727, 0:00:00.114994) -- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- 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 (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 - ----- 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 (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/ -- 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_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//generation -- INFO - ----- 1 triples extracted during generation step -- DEBUG - --- Serializing graph to factoid 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_factoid.ttl) -- DEBUG - ----- Number of factoids: 1 -- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/12//factoid -- INFO - *** sentence 8 *** -- INFO - -- Work Structure Preparation -- DEBUG - --- Graph Initialization -- DEBUG - ----- Configuration Loading -- DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (470) -- DEBUG - -------- Config Parameter Definition (504) -- DEBUG - ----- Frame Ontology Loading -- 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 (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 -- INFO - ----- Sentence (text): Movie9899 can be displayed only in Germany. -- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) -- DEBUG - ----- Step number: 3 -- INFO - -- Loading Extraction Rules (amr_clara_rule/*) -- 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 (560, 0:00:00.035438) -- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- 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/ -- 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_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//preprocessing -- 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 (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) -- INFO - ----- classify modality phenomena: 1/3 new triple (731, 0:00:00.039165) -- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- 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 (773, 0:00:00.169995) -- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- 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 (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 - ----- 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 (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/ -- 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_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//generation -- INFO - ----- 1 triples extracted during generation step -- DEBUG - --- Serializing graph to factoid 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_factoid.ttl) -- DEBUG - ----- Number of factoids: 1 -- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/12//factoid -- INFO - *** sentence 9 *** -- INFO - -- Work Structure Preparation -- DEBUG - --- Graph Initialization -- DEBUG - ----- Configuration Loading -- DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (470) -- DEBUG - -------- Config Parameter Definition (504) -- DEBUG - ----- Frame Ontology Loading -- 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 (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 -- INFO - ----- Sentence (text): Movie9898 can be used. -- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) -- DEBUG - ----- Step number: 3 -- INFO - -- Loading Extraction Rules (amr_clara_rule/*) -- 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 (551, 0:00:00.024314) -- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- 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/ -- 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_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//preprocessing -- 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 (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) -- INFO - ----- classify modality phenomena: 1/3 new triple (651, 0:00:00.041066) -- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- 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 (668, 0:00:00.100847) -- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- 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 (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 - ----- 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 (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/ -- 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_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//generation -- INFO - ----- 1 triples extracted during generation step -- DEBUG - --- Serializing graph to factoid 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_factoid.ttl) -- DEBUG - ----- Number of factoids: 1 -- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/12//factoid -- INFO - *** sentence 10 *** -- INFO - -- Work Structure Preparation -- DEBUG - --- Graph Initialization -- DEBUG - ----- Configuration Loading -- DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (470) -- DEBUG - -------- Config Parameter Definition (504) -- DEBUG - ----- Frame Ontology Loading -- 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 (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 -- INFO - ----- Sentence (text): John is not allowed not to reproduce the Work. -- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) -- DEBUG - ----- Step number: 3 -- INFO - -- Loading Extraction Rules (amr_clara_rule/*) -- 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 (557, 0:00:00.030181) -- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- 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/ -- 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_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//preprocessing -- 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 (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 - ----- classify modality phenomena: 1/5 new triple (705, 0:00:00.034161) -- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- 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 (776, 0:00:00.112462) -- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- 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 (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 - ----- 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 (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/ -- 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_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//generation -- INFO - ----- 1 triples extracted during generation step -- DEBUG - --- Serializing graph to factoid 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_factoid.ttl) -- DEBUG - ----- Number of factoids: 1 -- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/12//factoid -- INFO - *** sentence 11 *** - INFO - -- Work Structure Preparation - DEBUG - --- Graph Initialization - DEBUG - ----- Configuration Loading @@ -1026,7 +63,7 @@ - DEBUG - ----- Sentence Loading - 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 +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos13-20230421/technical-data/tenet.tetras-libre.fr_demo_clara_13-0/tenet.tetras-libre.fr_demo_clara_13.ttl - INFO - ----- Sentence (id): policy_asail_odrl_sentences-13 - INFO - ----- Sentence (text): You may use the Work. - INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) @@ -1035,285 +72,94 @@ - 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.029693) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (554, 0:00:00.043847) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- 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 +- INFO - ----- reclassify-concept-1: 5/5 new triples (559, 0:00:00.164791) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (559, 0:00:00.081261) +- INFO - ----- reclassify-concept-3: 8/8 new triples (567, 0:00:00.075151) +- INFO - ----- reclassify-concept-4: 4/4 new triples (571, 0:00:00.092992) +- DEBUG - ----- reclassify-concept-5: 0/0 new triple (571, 0:00:00.070067) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (571, 0:00:00.049145) +- INFO - ----- reclassify-existing-variable: 16/16 new triples (587, 0:00:00.030448) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (587, 0:00:00.058509) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (599, 0:00:00.036660) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (599, 0:00:00.054844) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (608, 0:00:00.105297) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (608, 0:00:00.087528) +- DEBUG - ----- add-amr-edge-for-name-relation: 0/0 new triple (608, 0:00:00.157311) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (608, 0:00:00.069135) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (608, 0:00:00.075445) +- INFO - ----- update-amr-edge-role-1: 3/3 new triples (611, 0:00:00.029923) +- INFO - ----- add-amr-root: 5/5 new triples (616, 0:00:00.039574) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_13_preprocessing - DEBUG - ----- step: preprocessing -- 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_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/13/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos13-20230421/technical-data/tenet.tetras-libre.fr_demo_clara_13-0/tenet.tetras-libre.fr_demo_clara_13_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/13//preprocessing - 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 (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) -- INFO - ----- classify modality phenomena: 1/3 new triple (659, 0:00:00.055095) -- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- 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 (677, 0:00:00.204111) -- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- 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 (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 - ----- 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 (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/ -- 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_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//generation -- INFO - ----- 1 triples extracted during generation step -- DEBUG - --- Serializing graph to factoid 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_factoid.ttl) -- DEBUG - ----- Number of factoids: 1 -- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/12//factoid -- INFO - *** sentence 12 *** -- INFO - -- Work Structure Preparation -- DEBUG - --- Graph Initialization -- DEBUG - ----- Configuration Loading -- DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (470) -- DEBUG - -------- Config Parameter Definition (504) -- DEBUG - ----- Frame Ontology Loading -- 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 (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 -- INFO - ----- Sentence (text): John must play the movie. -- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) -- DEBUG - ----- Step number: 3 -- INFO - -- Loading Extraction Rules (amr_clara_rule/*) -- 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.105120) -- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- 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/ -- 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_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//preprocessing -- 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 (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) -- INFO - ----- classify modality phenomena: 1/3 new triple (680, 0:00:00.035722) -- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- 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 (699, 0:00:00.097107) -- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- 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 (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 - ----- 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 (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/ -- 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_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//generation -- INFO - ----- 1 triples extracted during generation step -- DEBUG - --- Serializing graph to factoid 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_factoid.ttl) -- DEBUG - ----- Number of factoids: 1 -- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/12//factoid -- INFO - *** sentence 13 *** -- INFO - -- Work Structure Preparation -- DEBUG - --- Graph Initialization -- DEBUG - ----- Configuration Loading -- DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (470) -- DEBUG - -------- Config Parameter Definition (504) -- DEBUG - ----- Frame Ontology Loading -- 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 (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 -- INFO - ----- Sentence (text): You may use the movie. -- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) -- DEBUG - ----- Step number: 3 -- INFO - -- Loading Extraction Rules (amr_clara_rule/*) -- 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.024596) -- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- 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/ -- 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_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//preprocessing -- 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 (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 - ----- extract atom classes: 6/6 new triples (622, 0:00:00.042791) +- DEBUG - ----- extract atom individuals: 0/0 new triple (622, 0:00:00.014510) +- INFO - ----- extract atomic properties: 24/24 new triples (646, 0:00:00.079697) +- DEBUG - ----- extract atom values: 0/0 new triple (646, 0:00:00.009715) +- INFO - ----- extract atom phenomena: 7/7 new triples (653, 0:00:00.053906) +- INFO - ----- propagate atom relations: 5/12 new triples (658, 0:00:00.318520) +- INFO - --- *** February Transduction *** Sequence: classification sequence (1) +- INFO - ----- classify modality phenomena: 1/3 new triple (659, 0:00:00.039692) +- INFO - ----- reclassify argument property to class: 9/10 new triples (668, 0:00:00.072022) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- INFO - ----- classify modality phenomena: 1/5 new triple (662, 0:00:00.034402) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (668, 0:00:00.008630) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (668, 0:00:00.015174) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (668, 0:00:00.012984) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (668, 0:00:00.031853) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (668, 0:00:00.037221) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (668, 0:00:00.008512) +- DEBUG - ----- classify modality phenomena: 0/6 new triple (668, 0:00:00.053326) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- 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) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (668, 0:00:00.011180) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (668, 0:00:00.010850) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (668, 0:00:00.011765) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (668, 0:00:00.012733) - INFO - --- *** February Transduction *** Sequence: composite property extraction sequence -- INFO - ----- extract action properties: 18/21 new triples (680, 0:00:00.108611) +- INFO - ----- extract action properties: 19/23 new triples (687, 0:00:00.104923) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- 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) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (687, 0:00:00.029148) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (687, 0:00:00.025549) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- 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 +- INFO - ----- extract ODRL actions: 14/15 new triples (701, 0:00:00.194739) +- INFO - ----- extract ODRL rules: 12/24 new triples (713, 0:00:00.239818) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_13_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 - ----- 84 triples extracted during transduction step +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/13/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos13-20230421/technical-data/tenet.tetras-libre.fr_demo_clara_13-0/tenet.tetras-libre.fr_demo_clara_13_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/13//transduction +- INFO - ----- 97 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 (707, 0:00:00.063090) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation +- INFO - ----- generate ODRL rule: 1/1 new triple (714, 0:00:00.090456) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_13_generation - DEBUG - ----- step: generation -- 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_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/13/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos13-20230421/technical-data/tenet.tetras-libre.fr_demo_clara_13-0/tenet.tetras-libre.fr_demo_clara_13_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/13//generation - INFO - ----- 1 triples extracted during generation step -- DEBUG - --- Serializing graph to factoid 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_factoid.ttl) +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos13-20230421/technical-data/tenet.tetras-libre.fr_demo_clara_13-0/tenet.tetras-libre.fr_demo_clara_13_factoid.ttl) - DEBUG - ----- Number of factoids: 1 -- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/12//factoid +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/13//factoid - INFO - === Final Ontology Generation === - INFO - -- Making complete factoid graph by merging the result factoids -- INFO - ----- Total factoid number: 14 +- INFO - ----- Total factoid number: 1 - INFO - -- Serializing graph to factoid string -- INFO - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/12//factoid +- INFO - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/13//factoid - INFO - -- Serializing graph to factoid file -- INFO - ----- Ontology Turtle File: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/aos12_factoid.ttl +- INFO - ----- Ontology Turtle File: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos13-20230421/aos13_factoid.ttl - INFO - === Done === - INFO - *** Execution Time *** ------ Function: create_ontology_from_amrld_dir (tenet.main) ------ Total Time: 0:00:39.559606 ------ Process Time: 0:00:39.119470 +----- Function: create_ontology_from_amrld_file (tenet.main) +----- Total Time: 0:00:03.339134 +----- Process Time: 0:00:03.178667 *** - *** diff --git a/tests/dev_tests/test_data/classifier-devGraph-1.result.ttl b/tests/dev_tests/test_data/classifier-devGraph-1.result.ttl new file mode 100644 index 0000000000000000000000000000000000000000..0def109ee4b6db151dd1019ceacf2cac529c5610 --- /dev/null +++ b/tests/dev_tests/test_data/classifier-devGraph-1.result.ttl @@ -0,0 +1,1023 @@ +@base <https://amr.tetras-libre.fr/rdf/classifier-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/classifier-devGraph-1.ttl b/tests/dev_tests/test_data/classifier-devGraph-1.ttl new file mode 100644 index 0000000000000000000000000000000000000000..1de841e03e3e0682bf0404f7716614bd6411d330 --- /dev/null +++ b/tests/dev_tests/test_data/classifier-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/classifier-devGraph-2.result.ttl b/tests/dev_tests/test_data/classifier-devGraph-2.result.ttl new file mode 100644 index 0000000000000000000000000000000000000000..e1767b729565dce162cc02226d901deb366cae6a --- /dev/null +++ b/tests/dev_tests/test_data/classifier-devGraph-2.result.ttl @@ -0,0 +1,899 @@ +@base <https://amr.tetras-libre.fr/rdf/classifier-devGraph-2/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 ns2: <http://amr.isi.edu/rdf/amr-terms#> . +@prefix ns21: <http://amr.isi.edu/rdf/core-amr#> . +@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:permit-01.ARG1 a ns11:FrameRole . + +ns11:use-01.ARG0 a ns11:FrameRole . + +ns11:use-01.ARG1 a ns11:FrameRole . + +ns2:domain a ns21:Role, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns21:NamedEntity a ns21:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-EntityType", + "AMR-Term" ; + rdfs:subClassOf :AMR_Linked_Data . + +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 . + +:AMR_Value a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:edge_p_ARG1_u a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_u_ARG0_y a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_u_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_and a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "and" ; + :label "conjunction-AND" . + +: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_obligation a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "obligate-01" ; + :label "obligation-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_ARG2 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG2" . + +: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_name a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :label "name" . + +:role_op1 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op1" . + +:role_op2 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op2" . + +: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_policy_asail_odrl_sentences-13 a :AMR_Root ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#root01> ; + :hasRootLeaf :leaf_permit-01_p ; + :hasSentenceID "policy_asail_odrl_sentences-13" ; + :hasSentenceStatement "You may use 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: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:Feature a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Modality_Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Phenomena_Net . + +net:Rule_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Value_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_possible-modality_p a net:Phenomena_Net ; + :role_ARG1 net:atomProperty_use_u ; + net:coverBaseNode :leaf_permit-01_p ; + net:coverNode :leaf_permit-01_p ; + net:hasNaming "possible-modality" ; + net:hasPhenomenaRef "permit-01" ; + net:hasPhenomenaType :phenomena_modality_possible ; + net:hasStructure "policy_asail_odrl_sentences-13" . + +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/policy_asail_odrl_sentences-13#root01> a ns21:AMR ; + ns21:has-id "policy_asail_odrl_sentences-13" ; + ns21:has-sentence "You may use the Work." ; + ns21:root <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#p> . + +<http://amr.isi.edu/amr_data/test-1#s> ns2: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 . + +:AMR_Relation_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Root a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Term_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:concept_permit-01 rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns11:permit-01 ; + :hasPhenomenaLink :phenomena_modality_possible ; + :label "permit-01" . + +:concept_use-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:use-01 ; + :label "use-01" . + +:concept_work-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:work-01 ; + :label "work-01" . + +:concept_you rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:you ; + :label "you" . + +:role_ARG0 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG0" . + +:variable_p a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#p> ; + :label "p" . + +:variable_u a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#u> ; + :label "u" . + +:variable_w a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#w> ; + :label "w" . + +:variable_y a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#y> ; + :label "y" . + +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:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_work_w a net:Atom_Class_Net ; + net:composeFrom net:atomProperty_work_w ; + net:coverBaseNode :leaf_work-01_w ; + net:coverNode :leaf_work-01_w ; + net:hasClassName "work" ; + net:hasNaming "work" ; + net:hasStructure "policy_asail_odrl_sentences-13" . + +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-13" . + +net:atomProperty_use_u a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_you_y ; + :role_ARG1 net:atomClass_work_w, + net:atomProperty_work_w ; + 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-13" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_work-01_w, + :leaf_you_y . + +net:has_value a owl:AnnotationProperty ; + rdfs:subPropertyOf net:netProperty . + +net:objectType a owl:AnnotationProperty ; + rdfs:label "object type" ; + rdfs:subPropertyOf net:objectProperty . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#p> a ns11:permit-01 ; + ns11:permit-01.ARG1 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#u> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#u> a ns11:use-01 ; + ns11:use-01.ARG0 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#y> ; + ns11:use-01.ARG1 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#w> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#w> a ns11:work-01 ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#y> a ns2:you ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:permit-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:use-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:work-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:you a ns21:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Predicat_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_modality_possible a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "allow-01", + "grant-01", + "likely-01", + "permit-01", + "possible-01" ; + :label "possible-modality" . + +:role_ARG1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Class_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:atomProperty_work_w a net:Atom_Property_Net, + net:Deprecated_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 "policy_asail_odrl_sentences-13" ; + net:isCoreRoleLinked "true" . + +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + +ns11:FrameRole a ns21:Role, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Role" ; + 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_Concept a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_Phenomena a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +: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_permit-01_p a :AMR_Leaf ; + :edge_p_ARG1_u :leaf_use-01_u ; + :hasConcept :concept_permit-01 ; + :hasVariable :variable_p . + +:leaf_use-01_u a :AMR_Leaf ; + :edge_u_ARG0_y :leaf_you_y ; + :edge_u_ARG1_w :leaf_work-01_w ; + :hasConcept :concept_use-01 ; + :hasVariable :variable_u . + +:phenomena_modality a owl:Class ; + rdfs:subClassOf :AMR_Phenomena . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +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:Property_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +:AMR_Element a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_you_y a :AMR_Leaf ; + :hasConcept :concept_you ; + :hasVariable :variable_y . + +: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" . + +:AMR_Edge a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Leaf a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_ObjectProperty a owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + +:AMR_Structure a owl:Class . + +:leaf_work-01_w a :AMR_Leaf ; + :hasConcept :concept_work-01 ; + :hasVariable :variable_w . + +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +rdf:Property a owl:Class . + +:AMR_Relation 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 . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Linked_Data a owl:Class . + +net:objectValue a owl:AnnotationProperty ; + rdfs:label "valuations"@fr ; + rdfs:subPropertyOf net:objectProperty . + +[] a owl:AllDisjointClasses ; + owl:members ( sys:Degree sys:Entity sys:Feature ) . + diff --git a/tests/dev_tests/test_data/classifier-devGraph-2.ttl b/tests/dev_tests/test_data/classifier-devGraph-2.ttl new file mode 100644 index 0000000000000000000000000000000000000000..fe200aa70f0d867967e6c7c32f2a5056cbb155cc --- /dev/null +++ b/tests/dev_tests/test_data/classifier-devGraph-2.ttl @@ -0,0 +1,889 @@ +@base <http://https://tenet.tetras-libre.fr/demo/clara/13//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 ns2: <http://amr.isi.edu/rdf/amr-terms#> . +@prefix ns21: <http://amr.isi.edu/rdf/core-amr#> . +@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:permit-01.ARG1 a ns11:FrameRole . + +ns11:use-01.ARG0 a ns11:FrameRole . + +ns11:use-01.ARG1 a ns11:FrameRole . + +ns2:domain a ns21:Role, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns21:NamedEntity a ns21:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-EntityType", + "AMR-Term" ; + rdfs:subClassOf :AMR_Linked_Data . + +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 . + +:AMR_Value a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:edge_p_ARG1_u a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_u_ARG0_y a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_u_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_and a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "and" ; + :label "conjunction-AND" . + +: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_obligation a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "obligate-01" ; + :label "obligation-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_ARG2 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG2" . + +: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_name a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :label "name" . + +:role_op1 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op1" . + +:role_op2 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op2" . + +: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_policy_asail_odrl_sentences-13 a :AMR_Root ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#root01> ; + :hasRootLeaf :leaf_permit-01_p ; + :hasSentenceID "policy_asail_odrl_sentences-13" ; + :hasSentenceStatement "You may use 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: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 . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Modality_Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Phenomena_Net . + +net:Rule_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Value_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_possible-modality_p a net:Phenomena_Net ; + :role_ARG1 net:atomProperty_use_u ; + net:coverBaseNode :leaf_permit-01_p ; + net:coverNode :leaf_permit-01_p ; + net:hasNaming "possible-modality" ; + net:hasPhenomenaRef "permit-01" ; + net:hasPhenomenaType :phenomena_modality_possible ; + net:hasStructure "policy_asail_odrl_sentences-13" . + +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/policy_asail_odrl_sentences-13#root01> a ns21:AMR ; + ns21:has-id "policy_asail_odrl_sentences-13" ; + ns21:has-sentence "You may use the Work." ; + ns21:root <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#p> . + +<http://amr.isi.edu/amr_data/test-1#s> ns2: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 . + +:AMR_Relation_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Root a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Term_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:concept_permit-01 rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns11:permit-01 ; + :hasPhenomenaLink :phenomena_modality_possible ; + :label "permit-01" . + +:concept_use-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:use-01 ; + :label "use-01" . + +:concept_work-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:work-01 ; + :label "work-01" . + +:concept_you rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:you ; + :label "you" . + +:role_ARG0 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG0" . + +:variable_p a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#p> ; + :label "p" . + +:variable_u a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#u> ; + :label "u" . + +:variable_w a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#w> ; + :label "w" . + +:variable_y a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#y> ; + :label "y" . + +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: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-13" . + +net:atomProperty_use_u a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_you_y ; + :role_ARG1 net:atomProperty_work_w ; + 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-13" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_work-01_w, + :leaf_you_y . + +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 "policy_asail_odrl_sentences-13" ; + net:isCoreRoleLinked "true" . + +net:has_value a owl:AnnotationProperty ; + rdfs:subPropertyOf net:netProperty . + +net:objectType a owl:AnnotationProperty ; + rdfs:label "object type" ; + rdfs:subPropertyOf net:objectProperty . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#p> a ns11:permit-01 ; + ns11:permit-01.ARG1 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#u> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#u> a ns11:use-01 ; + ns11:use-01.ARG0 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#y> ; + ns11:use-01.ARG1 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#w> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#w> a ns11:work-01 ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#y> a ns2:you ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:permit-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:use-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:work-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:you a ns21:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Predicat_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_modality_possible a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "allow-01", + "grant-01", + "likely-01", + "permit-01", + "possible-01" ; + :label "possible-modality" . + +:role_ARG1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Class_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + +ns11:FrameRole a ns21:Role, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Role" ; + 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_Concept a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_Phenomena a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +: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_permit-01_p a :AMR_Leaf ; + :edge_p_ARG1_u :leaf_use-01_u ; + :hasConcept :concept_permit-01 ; + :hasVariable :variable_p . + +:leaf_use-01_u a :AMR_Leaf ; + :edge_u_ARG0_y :leaf_you_y ; + :edge_u_ARG1_w :leaf_work-01_w ; + :hasConcept :concept_use-01 ; + :hasVariable :variable_u . + +:phenomena_modality a owl:Class ; + rdfs:subClassOf :AMR_Phenomena . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +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:Property_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +:AMR_Element a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_work-01_w a :AMR_Leaf ; + :hasConcept :concept_work-01 ; + :hasVariable :variable_w . + +:leaf_you_y a :AMR_Leaf ; + :hasConcept :concept_you ; + :hasVariable :variable_y . + +: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" . + +:AMR_Edge a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +: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" . + +rdf:Property a owl:Class . + +:AMR_Relation 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 . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Linked_Data a owl:Class . + +net:objectValue a owl:AnnotationProperty ; + rdfs:label "valuations"@fr ; + rdfs:subPropertyOf net:objectProperty . + +[] a owl:AllDisjointClasses ; + owl:members ( sys:Degree sys:Entity sys:Feature ) . + diff --git a/tests/dev_tests/test_rule_phenomena_polarity.py b/tests/dev_tests/test_rule_classifier.py similarity index 79% rename from tests/dev_tests/test_rule_phenomena_polarity.py rename to tests/dev_tests/test_rule_classifier.py index b6cfb319a86b83acbd8aed69d36843bfe5fae395..1b880b97ba5165ae660d53e4d9a6095f338b68fd 100644 --- a/tests/dev_tests/test_rule_phenomena_polarity.py +++ b/tests/dev_tests/test_rule_classifier.py @@ -16,10 +16,12 @@ 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 = 'modality-devGraph-1' +TEST_FILE_NAME_1 = 'classifier-devGraph-1' +TEST_FILE_NAME_2 = 'classifier-devGraph-2' from context import tenet from tenet.scheme.amr_clara_rule.transduction import phenomena_modality_classifier as rule_1 +from tenet.scheme.amr_clara_rule.transduction import property_class_classifier as rule_2 from tenet.scheme import amr_master_rule as rule from tenet.scheme import amr_clara_rule @@ -90,7 +92,7 @@ def add_triples_in_graph(test_file_name, graph, triple_list): # Development Test #============================================================================== -def test_search_pattern(graph): +def test_search_pattern_1(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)}') @@ -99,6 +101,17 @@ def test_search_pattern(graph): result_str += f'{selection.phenomena_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.property_net.n3(graph.namespace_manager)}' + print(result_str) + return pattern_set #============================================================================== @@ -123,20 +136,34 @@ 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) print('\n \n') - print('\n ///////////////////// Extraction Rule 1') + print('\n ///////////////////// Classifier Rule 1') print('\n *** Step Test ***') print('\n -- Step 1: Search Pattern') - pattern_set = test_search_pattern(graph_1) - + pattern_set = test_search_pattern_1(graph_1) print('\n \n') print('\n *** Unit Test ***') test_rule_application(TEST_FILE_NAME_1, graph_1, amr_clara_rule.classify_modality_phenomena) print('\n \n') + + + print('\n ///////////////////// Classifier Rule 2') + + print('\n *** Step Test ***') + + print('\n -- Step 1: Search Pattern') + pattern_set = test_search_pattern_2(graph_1) + pattern_set = test_search_pattern_2(graph_2) + print('\n \n') + + print('\n *** Unit Test ***') + test_rule_application(TEST_FILE_NAME_2, graph_2, amr_clara_rule.reclassify_argument_property_to_class) + print('\n \n') print('\n *** - ***') \ No newline at end of file diff --git a/tests/dev_tests/test_rule_phenomena_classifier.py b/tests/dev_tests/test_rule_phenomena_classifier.py deleted file mode 100644 index cfc9433de36d04e32f825c54950ad41ba0d6f221..0000000000000000000000000000000000000000 --- a/tests/dev_tests/test_rule_phenomena_classifier.py +++ /dev/null @@ -1,141 +0,0 @@ -#!/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/input/amrDocuments/dev/asail_odrl_sentences/s14.stog.amr.ttl b/tests/input/amrDocuments/dev/asail_odrl_sentences/s14.stog.amr.ttl new file mode 100644 index 0000000000000000000000000000000000000000..dfc71706e16fb2ab206c19e7f87a5a045eb21095 --- /dev/null +++ b/tests/input/amrDocuments/dev/asail_odrl_sentences/s14.stog.amr.ttl @@ -0,0 +1,50 @@ +@prefix ns1: <http://amr.isi.edu/frames/ld/v1.2.2/> . +@prefix ns2: <http://amr.isi.edu/rdf/core-amr#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . + +ns2:Concept a rdfs:Class ; + rdfs:label "AMR-Concept" . + +ns2:Role a rdfs:Class ; + rdfs:label "AMR-Role" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-14#root01> a ns2:AMR ; + ns2:has-id "asail_odrl_sentences-14" ; + ns2:has-sentence "You may distribute the Work." ; + ns2:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-14#p> . + +ns1:distribute-01.ARG0 a ns1:FrameRole . + +ns1:distribute-01.ARG1 a ns1:FrameRole . + +ns1:permit-01.ARG1 a ns1:FrameRole . + +ns2:NamedEntity a ns2:Concept ; + rdfs:label "AMR-EntityType", + "AMR-Term" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-14#d> a ns1:distribute-01 ; + ns1:distribute-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-14#y> ; + ns1:distribute-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-14#w> . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-14#p> a ns1:permit-01 ; + ns1:permit-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-14#d> . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-14#w> a ns1:work-01 . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-14#y> a <http://amr.isi.edu/rdf/amr-terms#you> . + +ns1:distribute-01 a ns2:Frame . + +ns1:permit-01 a ns2:Frame . + +ns1:work-01 a ns2:Frame . + +<http://amr.isi.edu/rdf/amr-terms#you> a ns2:Concept . + +ns1:FrameRole a ns2:Role ; + rdfs:label "AMR-PropBank-Role" . + +ns2:Frame a ns2:Concept ; + rdfs:label "AMR-PropBank-Frame" . + diff --git a/tests/test_tenet_clara_main.py b/tests/test_tenet_clara_main.py index 82dec616a181e8716b842d02a1334f73f3f5ec70..0e65ce6304f8511c0a31274dfea9e65ac53b3985 100644 --- a/tests/test_tenet_clara_main.py +++ b/tests/test_tenet_clara_main.py @@ -29,7 +29,7 @@ from context import tenet # -- Input Data test_data_dir = f'{INPUT_DIR_PATH}amrDocuments/' -uuid_num = '12' +uuid_num = '13' amrld_dir_path = f'{test_data_dir}dev/asail_odrl_sentences/' amrld_file_path = f'{amrld_dir_path}s{uuid_num}.stog.amr.ttl' base_output_name = f'aos{uuid_num}' @@ -51,17 +51,17 @@ technical_dir_path = f'{out_dir_path}technical-data/' os.chdir('..') # -- Extraction from a file -# factoids = tenet.create_ontology_from_amrld_file(amrld_file_path, -# onto_prefix=onto_prefix, -# out_file_path=out_file_path, -# technical_dir_path=technical_dir_path) +factoids = tenet.create_ontology_from_amrld_file(amrld_file_path, + onto_prefix=onto_prefix, + out_file_path=out_file_path, + technical_dir_path=technical_dir_path) # -- Extraction from a directory (all files in a directory) -factoids = tenet.create_ontology_from_amrld_dir(amrld_dir_path, - onto_prefix=onto_prefix, - out_file_path=out_file_path, - technical_dir_path=technical_dir_path) +# factoids = tenet.create_ontology_from_amrld_dir(amrld_dir_path, +# onto_prefix=onto_prefix, +# out_file_path=out_file_path, +# technical_dir_path=technical_dir_path) print(factoids)