From aa42f4ffa33f4b4739ee93caee3f74ea0d02cf00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Lamercerie?= <aurelien.lamercerie@tetras-libre.fr> Date: Thu, 20 Apr 2023 17:15:34 +0200 Subject: [PATCH] New AMR Rule: transduction.action_property_extractor --- tenet/scheme/amr_clara_rule/__init__.py | 2 + .../transduction/action_property_extractor.py | 103 ++ .../composite_class_extractor_1.py | 3 +- .../composite_class_extractor_2.py | 7 +- .../transduction/odrl_action_extractor.py | 31 +- tenet/scheme/amr_scheme_clara_1.py | 4 + tenet/structure/odrl-snet-schema.ttl | 5 + tenet/tenet.log | 1538 ++++++++++------- tenet/transduction/net/__init__.py | 1 + tenet/transduction/net/action_property_net.py | 116 ++ ...-property-extraction-devGraph-1.result.ttl | 910 ++++++++++ ...mposite-property-extraction-devGraph-1.ttl | 891 ++++++++++ ...=> test_rule_composite_class_extractor.py} | 0 .../test_rule_composite_property_extractor.py | 145 ++ .../dev/asail_odrl_sentences/s12.stog.amr.ttl | 53 + .../dev/asail_odrl_sentences/s13.stog.amr.ttl | 50 + tests/test_tenet_clara_main.py | 2 +- 17 files changed, 3188 insertions(+), 673 deletions(-) create mode 100644 tenet/scheme/amr_clara_rule/transduction/action_property_extractor.py create mode 100644 tenet/transduction/net/action_property_net.py create mode 100644 tests/dev_tests/test_data/composite-property-extraction-devGraph-1.result.ttl create mode 100644 tests/dev_tests/test_data/composite-property-extraction-devGraph-1.ttl rename tests/dev_tests/{test_rule_composite_extractor.py => test_rule_composite_class_extractor.py} (100%) create mode 100644 tests/dev_tests/test_rule_composite_property_extractor.py create mode 100644 tests/input/amrDocuments/dev/asail_odrl_sentences/s12.stog.amr.ttl create mode 100644 tests/input/amrDocuments/dev/asail_odrl_sentences/s13.stog.amr.ttl diff --git a/tenet/scheme/amr_clara_rule/__init__.py b/tenet/scheme/amr_clara_rule/__init__.py index e2afc58d..1dc997fc 100644 --- a/tenet/scheme/amr_clara_rule/__init__.py +++ b/tenet/scheme/amr_clara_rule/__init__.py @@ -8,6 +8,8 @@ from scheme.amr_clara_rule.transduction.atom_value_extractor import * from scheme.amr_clara_rule.transduction.atom_phenomena_extractor import * from scheme.amr_clara_rule.transduction.atom_relation_propagator import * +from scheme.amr_clara_rule.transduction.action_property_extractor import * + from scheme.amr_clara_rule.transduction.composite_class_extractor_1 import * from scheme.amr_clara_rule.transduction.composite_class_extractor_2 import * diff --git a/tenet/scheme/amr_clara_rule/transduction/action_property_extractor.py b/tenet/scheme/amr_clara_rule/transduction/action_property_extractor.py new file mode 100644 index 00000000..2c47bde5 --- /dev/null +++ b/tenet/scheme/amr_clara_rule/transduction/action_property_extractor.py @@ -0,0 +1,103 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: Rule to extract composite classes (rule 1) +#------------------------------------------------------------------------------ +# Net Expansion AMR rule to extract composite classes +# Rule: property(arg0:class, arg1:class) => compositeClass +#============================================================================== + +from rdflib import Graph + +import transduction +from transduction import net +from transduction.query_builder import generate_select_query +from transduction.naming_computer import define_composite_naming_1, define_restriction_naming + + +#============================================================================== +# Pattern Search: modality(arg1/arg2:atomProperty) => actionProperty +#============================================================================== + +def __search_pattern(graph): + query_code = '' + result_set = [] + for arg_relation in ['amr:role_ARG1', 'amr:role_ARG2']: + select_data_list = ['?property_net'] + clause_list = [f'?phenomena_net a [rdfs:subClassOf* net:Phenomena_Net].', + f'FILTER NOT EXISTS {{ ?phenomena_net a net:Deprecated_Net. }}', + f'?property_net a [rdfs:subClassOf* net:Atom_Property_Net].', + f'?phenomena_net {arg_relation} ?property_net.'] + 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_action_property_net(graph, atom_property_net): + + # -- Net Composition + action_property_net = net.ActionPropertyNet(graph) + action_property_net.compose(atom_property_net) + + # -- Data Computation + action_property_net.property_type = atom_property_net.property_type + action_property_net.core_role = atom_property_net.core_role + action_property_net.target_argument_node = atom_property_net.target_argument_node + action_property_net.naming = atom_property_net.naming + action_property_net.property_name = atom_property_net.property_name + action_property_net.property_name01 = atom_property_net.property_name01 + action_property_net.property_name10 = atom_property_net.property_name10 + action_property_net.property_name12 = atom_property_net.property_name12 + + # -- Relation Propagation + __propagate_relation(action_property_net, atom_property_net) + + # -- Finalization + action_property_net.finalize() + triple_definition = action_property_net.generate_triple_definition() + + return action_property_net, triple_definition + + + +#============================================================================== +# Main Method +#============================================================================== + +def extract_action_property(graph): + + # -- Rule Initialization + rule_label = 'extract action properties' + 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) + + # -- New Net Construction + _, triple_list = __construct_action_property_net(graph, atom_property_net) + rule_triple_list += triple_list + + # -- Deprecation: Origin Property Net + 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_clara_rule/transduction/composite_class_extractor_1.py b/tenet/scheme/amr_clara_rule/transduction/composite_class_extractor_1.py index 31e94971..b2fb5229 100644 --- a/tenet/scheme/amr_clara_rule/transduction/composite_class_extractor_1.py +++ b/tenet/scheme/amr_clara_rule/transduction/composite_class_extractor_1.py @@ -24,6 +24,7 @@ def __search_pattern(graph): select_data_list = ['?property_net', '?class_net_0', '?class_net_1'] clause_list = [f'?property_net a [rdfs:subClassOf* net:Property_Net].', f'FILTER NOT EXISTS {{ ?property_net a net:Deprecated_Net. }}', + f'FILTER NOT EXISTS {{ ?property_net a net:Action_Property_Net. }}', f'?class_net_0 a [rdfs:subClassOf* net:Class_Net].', f'FILTER NOT EXISTS {{ ?class_net_0 a net:Deprecated_Net. }}', f'?class_net_1 a [rdfs:subClassOf* net:Class_Net].', @@ -99,7 +100,7 @@ def __construct_composite_class_net( graph, base_class_net, core_property_net, target_class_net): # -- Net Composition - composite_class_net = net.CompositePropertyNet(graph) + composite_class_net = net.CompositeClassNet(graph) composite_class_net.compose(base_class_net, core_property_net, target_class_net) # -- Data Computation diff --git a/tenet/scheme/amr_clara_rule/transduction/composite_class_extractor_2.py b/tenet/scheme/amr_clara_rule/transduction/composite_class_extractor_2.py index 997f7e05..216db854 100644 --- a/tenet/scheme/amr_clara_rule/transduction/composite_class_extractor_2.py +++ b/tenet/scheme/amr_clara_rule/transduction/composite_class_extractor_2.py @@ -24,6 +24,7 @@ def __search_pattern(graph): select_data_list = ['?property_net', '?class_net_1', '?class_net_2'] clause_list = [f'?property_net a [rdfs:subClassOf* net:Property_Net].', f'FILTER NOT EXISTS {{ ?property_net a net:Deprecated_Net. }}', + f'FILTER NOT EXISTS {{ ?property_net a net:Action_Property_Net. }}', f'?class_net_1 a [rdfs:subClassOf* net:Class_Net].', f'FILTER NOT EXISTS {{ ?class_net_1 a net:Deprecated_Net. }}', f'?class_net_2 a [rdfs:subClassOf* net:Class_Net].', @@ -95,11 +96,11 @@ def __construct_restriction_net(graph, property_net_1, property_net_2): -def __construct_composite_class_net_from_3_nets( +def __construct_composite_class_net( graph, base_class_net, core_property_net, target_class_net): # -- Net Composition - composite_class_net = net.CompositePropertyNet(graph) + composite_class_net = net.CompositeClassNet(graph) composite_class_net.compose(base_class_net, core_property_net, target_class_net) # -- Data Computation @@ -151,7 +152,7 @@ def extract_composite_class_2(graph): # print(f' *** DEVTEST *** {selection_2.class_net}') # -- New Net Construction (from 3 nets) - new_class, triple_list = __construct_composite_class_net_from_3_nets( + new_class, triple_list = __construct_composite_class_net( graph, class_net_1, property_net, class_net_2) # -- Resulting List Update diff --git a/tenet/scheme/amr_clara_rule/transduction/odrl_action_extractor.py b/tenet/scheme/amr_clara_rule/transduction/odrl_action_extractor.py index e7959ba6..0182e269 100644 --- a/tenet/scheme/amr_clara_rule/transduction/odrl_action_extractor.py +++ b/tenet/scheme/amr_clara_rule/transduction/odrl_action_extractor.py @@ -27,7 +27,7 @@ def __search_pattern(graph): select_data_list = ['?property_net'] clause_list = [f'?phenomena_net a [rdfs:subClassOf* net:Phenomena_Net].', f'FILTER NOT EXISTS {{ ?phenomena_net a net:Deprecated_Net. }}', - f'?property_net a [rdfs:subClassOf* net:Atom_Property_Net].', + f'?property_net a [rdfs:subClassOf* net:Action_Property_Net].', f'?phenomena_net {arg_relation} ?property_net.'] query_code = generate_select_query(graph, select_data_list, clause_list) result_set += graph.query(query_code) @@ -69,6 +69,15 @@ def __search_subject_class(graph, property_net_uri): return query_code, result_set +def __search_subject_atom_class(graph, property_net_uri): + select_data_list = ['?class_net'] + clause_list = [(property_net_uri, f'amr:role_ARG0', '?class_net'), + f'?class_net a [rdfs:subClassOf* net:Atom_Class_Net].'] + query_code = generate_select_query(graph, select_data_list, clause_list) + result_set = graph.query(query_code) + return query_code, result_set + + def __search_subject_individual(graph, property_net_uri): select_data_list = ['?individual_net'] clause_list = [(property_net_uri, f'amr:role_ARG0', '?individual_net'), @@ -102,12 +111,28 @@ def __compute_target_individual_net(graph, net_composition, property_net_uri): return result_net_list if len(result_net_list) > 0 else None -def __compute_assignee_class_net(graph, net_composition, property_net_uri): +def __compute_assignee_class_net(graph, net_composition, property_net_uri): + result_net_list = [] + cover_node_list = [] + _, pattern_set = __search_subject_class(graph, property_net_uri) for pattern in pattern_set: result_net_list.append(pattern.class_net) - net_composition.append(net.ClassNet(graph, uri=pattern.class_net)) + class_net = net.ClassNet(graph, uri=pattern.class_net) + cover_node_list += class_net.node + net_composition.append(class_net) + + # # Special case: deprecated atom class net because corresonding to composite_class + # _, pattern_set = __search_subject_atom_class(graph, property_net_uri) + # for pattern in pattern_set: + # atom_class_net = net.AtomClassNet(graph, uri=pattern.class_net) + # cover_node = atom_class_net.get_attribute_first_value(atom_class_net.node) + # if cover_node not in cover_node_list: + # result_net_list.append(pattern.class_net) + # cover_node_list += atom_class_net.node + # net_composition.append(atom_class_net) + return result_net_list if len(result_net_list) > 0 else None diff --git a/tenet/scheme/amr_scheme_clara_1.py b/tenet/scheme/amr_scheme_clara_1.py index 6f8403fb..35dae271 100644 --- a/tenet/scheme/amr_scheme_clara_1.py +++ b/tenet/scheme/amr_scheme_clara_1.py @@ -196,6 +196,9 @@ phenomena_analyze_sequence_2 = ['phenomena analyze sequence (2)', rule.analyze_phenomena_and_1, rule.analyze_phenomena_and_2] +composite_property_extraction_sequence = ['composite property extraction sequence', + rule.extract_action_property] + composite_class_extraction_sequence = ['composite class extraction sequence', rule.extract_composite_class_1, rule.extract_composite_class_2] @@ -229,6 +232,7 @@ scheme = { atomic_extraction_sequence, phenomena_analyze_sequence_1, phenomena_analyze_sequence_2, + composite_property_extraction_sequence, composite_class_extraction_sequence, odrl_extraction_sequence ], diff --git a/tenet/structure/odrl-snet-schema.ttl b/tenet/structure/odrl-snet-schema.ttl index 5037b557..0d0d4a96 100644 --- a/tenet/structure/odrl-snet-schema.ttl +++ b/tenet/structure/odrl-snet-schema.ttl @@ -246,6 +246,11 @@ net:Action_Net rdf:type owl:Class ; rdfs:subClassOf net:Net . +### https://tenet.tetras-libre.fr/semantic-net#Action_Property_Net +net:Action_Property_Net rdf:type owl:Class ; + rdfs:subClassOf net:Property_Net . + + ### https://tenet.tetras-libre.fr/semantic-net#Atom_Class_Net net:Atom_Class_Net rdf:type owl:Class ; rdfs:subClassOf net:Class_Net . diff --git a/tenet/tenet.log b/tenet/tenet.log index a983b0a7..4a1e9d47 100644 --- a/tenet/tenet.log +++ b/tenet/tenet.log @@ -3,17 +3,17 @@ === 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/aos10-20230420/aos10_factoid.ttl -- INFO - ----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/ -- INFO - ----- Ontology target (id): https://tenet.tetras-libre.fr/demo/clara/10/ +- 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 - ----- 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/10/ - ----- technical base name: tenet.tetras-libre.fr_demo_clara_10 + ----- 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/ ----- target reference: base ----- process level: sentence @@ -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/aos10-20230420/aos10_factoid.ttl - ----- output directory: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/aos10_factoid.ttltenet.tetras-libre.fr_demo_clara_10-20230420/ - ----- sentence output directory: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/ - ----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/ + ----- 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/ -- Config File Definition ----- schema file: ./structure/amr-rdf-schema.ttl ----- semantic net file: ./structure/odrl-snet-schema.ttl @@ -47,10 +47,10 @@ ----- 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/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10.ttl + ----- output file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12.ttl *** - *** - DEBUG - -- Counting number of graph files (sentences) -- INFO - ----- Number of Graphs: 11 +- INFO - ----- Number of Graphs: 13 - INFO - === Extraction Processing === - INFO - *** sentence 1 *** @@ -58,15 +58,15 @@ - DEBUG - --- Graph Initialization - DEBUG - ----- Configuration Loading - DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (466) -- DEBUG - -------- Config Parameter Definition (500) +- DEBUG - -------- Semantic Net Definition (468) +- DEBUG - -------- Config Parameter Definition (502) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (530) +- DEBUG - -------- Base Ontology produced as output (532) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s11.stog.amr.ttl (561) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s11.stog.amr.ttl (563) - DEBUG - --- Export work graph as turtle -- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-1/tenet.tetras-libre.fr_demo_clara_10.ttl +- 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) @@ -75,89 +75,91 @@ - 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 (561, 0:00:00.032499) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (563, 0:00:00.031660) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 10/10 new triples (571, 0:00:00.118966) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (571, 0:00:00.064745) -- INFO - ----- reclassify-concept-3: 4/4 new triples (575, 0:00:00.051700) -- INFO - ----- reclassify-concept-4: 4/4 new triples (579, 0:00:00.072942) -- INFO - ----- reclassify-concept-5: 8/8 new triples (587, 0:00:00.049652) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (587, 0:00:00.058645) -- INFO - ----- reclassify-existing-variable: 25/25 new triples (612, 0:00:00.035959) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (612, 0:00:00.058491) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (630, 0:00:00.037601) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (630, 0:00:00.038500) -- INFO - ----- add-amr-edge-for-core-relation: 18/18 new triples (648, 0:00:00.103195) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (648, 0:00:00.074737) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (653, 0:00:00.076533) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (653, 0:00:00.081629) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (653, 0:00:00.083513) -- INFO - ----- update-amr-edge-role-1: 7/7 new triples (660, 0:00:00.045404) -- INFO - ----- add-amr-root: 5/5 new triples (665, 0:00:00.028431) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- INFO - ----- reclassify-concept-1: 10/10 new triples (573, 0:00:00.177764) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (573, 0:00:00.090835) +- INFO - ----- reclassify-concept-3: 4/4 new triples (577, 0:00:00.132372) +- INFO - ----- reclassify-concept-4: 4/4 new triples (581, 0:00:00.051348) +- INFO - ----- reclassify-concept-5: 8/8 new triples (589, 0:00:00.070398) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (589, 0:00:00.073270) +- INFO - ----- reclassify-existing-variable: 25/25 new triples (614, 0:00:00.043148) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (614, 0:00:00.077218) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (632, 0:00:00.048900) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (632, 0:00:00.042167) +- INFO - ----- add-amr-edge-for-core-relation: 18/18 new triples (650, 0:00:00.125456) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (650, 0:00:00.088649) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (655, 0:00:00.062992) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (655, 0:00:00.092540) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (655, 0:00:00.076468) +- INFO - ----- update-amr-edge-role-1: 7/7 new triples (662, 0:00:00.061528) +- INFO - ----- add-amr-root: 5/5 new triples (667, 0:00:00.032966) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-1/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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 (683, 0:00:00.100824) -- INFO - ----- extract atom individuals: 8/8 new triples (691, 0:00:00.116457) -- INFO - ----- extract atomic properties: 13/13 new triples (704, 0:00:00.047146) -- INFO - ----- extract atom values: 5/5 new triples (709, 0:00:00.029911) -- INFO - ----- extract atom phenomena: 14/14 new triples (723, 0:00:00.080772) -- INFO - ----- propagate atom relations: 16/46 new triples (739, 0:00:00.509504) +- INFO - ----- extract atom classes: 18/18 new triples (685, 0:00:00.117910) +- INFO - ----- extract atom individuals: 8/8 new triples (693, 0:00:00.044944) +- INFO - ----- extract atomic properties: 13/13 new triples (706, 0:00:00.050724) +- INFO - ----- extract atom values: 5/5 new triples (711, 0:00:00.027445) +- INFO - ----- extract atom phenomena: 14/14 new triples (725, 0:00:00.069251) +- INFO - ----- propagate atom relations: 16/46 new triples (741, 0:00:00.574369) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (739, 0:00:00.009651) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (739, 0:00:00.012116) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (739, 0:00:00.021584) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (739, 0:00:00.033045) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (739, 0:00:00.038832) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (739, 0:00:00.010702) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (741, 0:00:00.007168) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (741, 0:00:00.014125) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (741, 0:00:00.014396) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (741, 0:00:00.031170) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (741, 0:00:00.034946) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (741, 0:00:00.008285) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (739, 0:00:00.011022) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (739, 0:00:00.017382) -- INFO - ----- analyze "and" phenomena (1): 2/22 new triples (741, 0:00:00.140087) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (741, 0:00:00.009799) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (741, 0:00:00.010596) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (741, 0:00:00.013483) +- INFO - ----- analyze "and" phenomena (1): 2/22 new triples (743, 0:00:00.153582) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (743, 0:00:00.008377) +- INFO - --- *** February Transduction *** Sequence: composite property extraction sequence +- INFO - ----- extract action properties: 21/27 new triples (764, 0:00:00.084052) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (741, 0:00:00.020556) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (741, 0:00:00.029088) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (764, 0:00:00.021986) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (764, 0:00:00.019136) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 17/18 new triples (758, 0:00:00.120104) -- INFO - ----- extract ODRL rules: 13/13 new triples (771, 0:00:00.113742) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- INFO - ----- extract ODRL actions: 17/18 new triples (781, 0:00:00.097112) +- INFO - ----- extract ODRL rules: 13/13 new triples (794, 0:00:00.092314) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-1/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//transduction -- INFO - ----- 106 triples extracted during transduction step +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-1/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction +- INFO - ----- 127 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (772, 0:00:00.083816) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- INFO - ----- generate ODRL rule: 1/1 new triple (795, 0:00:00.065704) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-1/tenet.tetras-libre.fr_demo_clara_10_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-1/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- 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/10//factoid +- 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 (466) -- DEBUG - -------- Config Parameter Definition (500) +- DEBUG - -------- Semantic Net Definition (468) +- DEBUG - -------- Config Parameter Definition (502) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (530) +- DEBUG - -------- Base Ontology produced as output (532) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s05.stog.amr.ttl (560) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s05.stog.amr.ttl (562) - DEBUG - --- Export work graph as turtle -- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-2/tenet.tetras-libre.fr_demo_clara_10.ttl +- 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) @@ -166,89 +168,91 @@ - 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.028726) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (562, 0:00:00.100837) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (565, 0:00:00.126374) -- INFO - ----- reclassify-concept-2: 8/8 new triples (573, 0:00:00.075156) -- INFO - ----- reclassify-concept-3: 4/4 new triples (577, 0:00:00.050613) -- INFO - ----- reclassify-concept-4: 8/8 new triples (585, 0:00:00.066048) -- DEBUG - ----- reclassify-concept-5: 0/0 new triple (585, 0:00:00.046534) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (585, 0:00:00.055314) -- INFO - ----- reclassify-existing-variable: 25/25 new triples (610, 0:00:00.033220) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (610, 0:00:00.046951) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (628, 0:00:00.041679) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (628, 0:00:00.034276) -- INFO - ----- add-amr-edge-for-core-relation: 15/15 new triples (643, 0:00:00.171137) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (643, 0:00:00.065554) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (648, 0:00:00.065847) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (648, 0:00:00.065520) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (648, 0:00:00.066698) -- INFO - ----- update-amr-edge-role-1: 5/5 new triples (653, 0:00:00.040889) -- INFO - ----- add-amr-root: 5/5 new triples (658, 0:00:00.024946) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- INFO - ----- reclassify-concept-1: 5/5 new triples (567, 0:00:00.135295) +- INFO - ----- reclassify-concept-2: 8/8 new triples (575, 0:00:00.060944) +- INFO - ----- reclassify-concept-3: 4/4 new triples (579, 0:00:00.052772) +- INFO - ----- reclassify-concept-4: 8/8 new triples (587, 0:00:00.065113) +- DEBUG - ----- reclassify-concept-5: 0/0 new triple (587, 0:00:00.049093) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (587, 0:00:00.052771) +- INFO - ----- reclassify-existing-variable: 25/25 new triples (612, 0:00:00.039686) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (612, 0:00:00.057636) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (630, 0:00:00.037233) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (630, 0:00:00.038069) +- INFO - ----- add-amr-edge-for-core-relation: 15/15 new triples (645, 0:00:00.088519) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (645, 0:00:00.077415) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (650, 0:00:00.068055) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (650, 0:00:00.076304) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (650, 0:00:00.072619) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (655, 0:00:00.041248) +- INFO - ----- add-amr-root: 5/5 new triples (660, 0:00:00.027099) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-2/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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 (670, 0:00:00.072276) -- INFO - ----- extract atom individuals: 8/8 new triples (678, 0:00:00.076994) -- INFO - ----- extract atomic properties: 36/36 new triples (714, 0:00:00.105160) -- INFO - ----- extract atom values: 5/5 new triples (719, 0:00:00.023693) -- INFO - ----- extract atom phenomena: 7/7 new triples (726, 0:00:00.036579) -- INFO - ----- propagate atom relations: 11/30 new triples (737, 0:00:00.460310) +- INFO - ----- extract atom classes: 12/12 new triples (672, 0:00:00.072493) +- INFO - ----- extract atom individuals: 8/8 new triples (680, 0:00:00.049005) +- INFO - ----- extract atomic properties: 36/36 new triples (716, 0:00:00.131936) +- INFO - ----- extract atom values: 5/5 new triples (721, 0:00:00.030506) +- INFO - ----- extract atom phenomena: 7/7 new triples (728, 0:00:00.045271) +- INFO - ----- propagate atom relations: 11/30 new triples (739, 0:00:00.460811) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (737, 0:00:00.007524) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (737, 0:00:00.014505) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (737, 0:00:00.013059) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (737, 0:00:00.029043) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (737, 0:00:00.032747) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (737, 0:00:00.010433) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (739, 0:00:00.010628) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (739, 0:00:00.015724) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (739, 0:00:00.016507) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (739, 0:00:00.029966) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (739, 0:00:00.033034) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (739, 0:00:00.009226) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (737, 0:00:00.020154) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (737, 0:00:00.010369) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (737, 0:00:00.009360) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (737, 0:00:00.010802) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (739, 0:00:00.011006) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (739, 0:00:00.010639) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (739, 0:00:00.010261) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (739, 0:00:00.011247) +- INFO - --- *** February Transduction *** Sequence: composite property extraction sequence +- INFO - ----- extract action properties: 17/20 new triples (756, 0:00:00.112279) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (737, 0:00:00.021382) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (737, 0:00:00.022252) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (756, 0:00:00.024693) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (756, 0:00:00.031436) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 11/12 new triples (748, 0:00:00.101100) -- INFO - ----- extract ODRL rules: 11/11 new triples (759, 0:00:00.094754) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- INFO - ----- extract ODRL actions: 11/12 new triples (767, 0:00:00.122796) +- INFO - ----- extract ODRL rules: 11/11 new triples (778, 0:00:00.108587) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-2/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//transduction -- INFO - ----- 101 triples extracted during transduction step +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-2/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction +- INFO - ----- 118 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (760, 0:00:00.048739) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- INFO - ----- generate ODRL rule: 1/1 new triple (779, 0:00:00.073685) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-2/tenet.tetras-libre.fr_demo_clara_10_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-2/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- 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/10//factoid +- 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 (466) -- DEBUG - -------- Config Parameter Definition (500) +- DEBUG - -------- Semantic Net Definition (468) +- DEBUG - -------- Config Parameter Definition (502) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (530) +- DEBUG - -------- Base Ontology produced as output (532) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s03.stog.amr.ttl (552) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s03.stog.amr.ttl (554) - DEBUG - --- Export work graph as turtle -- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-3/tenet.tetras-libre.fr_demo_clara_10.ttl +- 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) @@ -257,89 +261,91 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (552, 0:00:00.025490) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (554, 0:00:00.028443) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (557, 0:00:00.118038) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (557, 0:00:00.051369) -- INFO - ----- reclassify-concept-3: 4/4 new triples (561, 0:00:00.104482) -- INFO - ----- reclassify-concept-4: 4/4 new triples (565, 0:00:00.074520) -- INFO - ----- reclassify-concept-5: 4/4 new triples (569, 0:00:00.050210) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (569, 0:00:00.051545) -- INFO - ----- reclassify-existing-variable: 17/17 new triples (586, 0:00:00.035768) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (586, 0:00:00.054812) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (598, 0:00:00.035037) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (598, 0:00:00.030398) -- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (607, 0:00:00.102028) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (607, 0:00:00.078687) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (612, 0:00:00.071585) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (612, 0:00:00.085033) -- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (617, 0:00:00.075329) -- INFO - ----- update-amr-edge-role-1: 5/5 new triples (622, 0:00:00.042623) -- INFO - ----- add-amr-root: 5/5 new triples (627, 0:00:00.027401) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- INFO - ----- reclassify-concept-1: 5/5 new triples (559, 0:00:00.122360) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (559, 0:00:00.077760) +- INFO - ----- reclassify-concept-3: 4/4 new triples (563, 0:00:00.045662) +- INFO - ----- reclassify-concept-4: 4/4 new triples (567, 0:00:00.058469) +- INFO - ----- reclassify-concept-5: 4/4 new triples (571, 0:00:00.051015) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (571, 0:00:00.052432) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (588, 0:00:00.030549) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (588, 0:00:00.057173) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (600, 0:00:00.031475) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (600, 0:00:00.032896) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (609, 0:00:00.082965) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (609, 0:00:00.065993) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (614, 0:00:00.088674) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (614, 0:00:00.093448) +- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (619, 0:00:00.091687) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (624, 0:00:00.036202) +- INFO - ----- add-amr-root: 5/5 new triples (629, 0:00:00.032665) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-3/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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 (639, 0:00:00.068474) -- INFO - ----- extract atom individuals: 8/8 new triples (647, 0:00:00.053272) -- INFO - ----- extract atomic properties: 13/13 new triples (660, 0:00:00.043773) -- INFO - ----- extract atom values: 10/10 new triples (670, 0:00:00.054725) -- INFO - ----- extract atom phenomena: 7/7 new triples (677, 0:00:00.039642) -- INFO - ----- propagate atom relations: 11/28 new triples (688, 0:00:00.350869) +- INFO - ----- extract atom classes: 12/12 new triples (641, 0:00:00.066370) +- INFO - ----- extract atom individuals: 8/8 new triples (649, 0:00:00.043741) +- INFO - ----- extract atomic properties: 13/13 new triples (662, 0:00:00.048592) +- INFO - ----- extract atom values: 10/10 new triples (672, 0:00:00.053171) +- INFO - ----- extract atom phenomena: 7/7 new triples (679, 0:00:00.045146) +- INFO - ----- propagate atom relations: 11/28 new triples (690, 0:00:00.362028) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (688, 0:00:00.006595) -- INFO - ----- analyze "polarity" phenomena (2): 13/15 new triples (701, 0:00:00.051202) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (701, 0:00:00.016841) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (701, 0:00:00.029833) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (701, 0:00:00.027977) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (701, 0:00:00.007408) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (690, 0:00:00.010785) +- INFO - ----- analyze "polarity" phenomena (2): 13/15 new triples (703, 0:00:00.064269) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (703, 0:00:00.014382) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (703, 0:00:00.042086) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (703, 0:00:00.033193) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (703, 0:00:00.009046) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (701, 0:00:00.014390) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (701, 0:00:00.015297) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (701, 0:00:00.010698) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (701, 0:00:00.010265) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (703, 0:00:00.010980) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (703, 0:00:00.009767) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (703, 0:00:00.009978) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (703, 0:00:00.014156) +- INFO - --- *** February Transduction *** Sequence: composite property extraction sequence +- INFO - ----- extract action properties: 20/25 new triples (723, 0:00:00.114387) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (701, 0:00:00.022255) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (701, 0:00:00.025257) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (723, 0:00:00.025692) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (723, 0:00:00.025770) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 15/17 new triples (716, 0:00:00.126514) -- INFO - ----- extract ODRL rules: 12/12 new triples (728, 0:00:00.117477) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- INFO - ----- extract ODRL actions: 15/17 new triples (738, 0:00:00.117376) +- INFO - ----- extract ODRL rules: 12/12 new triples (750, 0:00:00.127032) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-3/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//transduction -- INFO - ----- 101 triples extracted during transduction step +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-3/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction +- INFO - ----- 121 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (729, 0:00:00.082219) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- INFO - ----- generate ODRL rule: 1/1 new triple (751, 0:00:00.078373) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-3/tenet.tetras-libre.fr_demo_clara_10_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-3/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- 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/10//factoid +- 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 (466) -- DEBUG - -------- Config Parameter Definition (500) +- DEBUG - -------- Semantic Net Definition (468) +- DEBUG - -------- Config Parameter Definition (502) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (530) +- DEBUG - -------- Base Ontology produced as output (532) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s07.stog.amr.ttl (553) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s07.stog.amr.ttl (555) - DEBUG - --- Export work graph as turtle -- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-4/tenet.tetras-libre.fr_demo_clara_10.ttl +- 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) @@ -348,89 +354,91 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (553, 0:00:00.025407) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (555, 0:00:00.029182) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (558, 0:00:00.114905) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (558, 0:00:00.067622) -- INFO - ----- reclassify-concept-3: 8/8 new triples (566, 0:00:00.053343) -- DEBUG - ----- reclassify-concept-4: 0/0 new triple (566, 0:00:00.073350) -- INFO - ----- reclassify-concept-5: 4/4 new triples (570, 0:00:00.055637) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (570, 0:00:00.050014) -- INFO - ----- reclassify-existing-variable: 17/17 new triples (587, 0:00:00.040856) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (587, 0:00:00.054007) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (599, 0:00:00.039155) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (599, 0:00:00.030930) -- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (611, 0:00:00.090091) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (611, 0:00:00.071777) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (616, 0:00:00.071160) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (616, 0:00:00.072334) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (616, 0:00:00.085281) -- INFO - ----- update-amr-edge-role-1: 5/5 new triples (621, 0:00:00.043943) -- INFO - ----- add-amr-root: 5/5 new triples (626, 0:00:00.036050) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- INFO - ----- reclassify-concept-1: 5/5 new triples (560, 0:00:00.116158) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (560, 0:00:00.062708) +- INFO - ----- reclassify-concept-3: 8/8 new triples (568, 0:00:00.050986) +- DEBUG - ----- reclassify-concept-4: 0/0 new triple (568, 0:00:00.061268) +- INFO - ----- reclassify-concept-5: 4/4 new triples (572, 0:00:00.059291) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (572, 0:00:00.055592) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (589, 0:00:00.035803) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (589, 0:00:00.064165) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (601, 0:00:00.030972) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (601, 0:00:00.039359) +- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (613, 0:00:00.091062) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (613, 0:00:00.063725) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (618, 0:00:00.107708) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (618, 0:00:00.079116) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (618, 0:00:00.074741) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (623, 0:00:00.036185) +- INFO - ----- add-amr-root: 5/5 new triples (628, 0:00:00.031375) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-4/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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 (632, 0:00:00.041704) -- INFO - ----- extract atom individuals: 8/8 new triples (640, 0:00:00.041197) -- INFO - ----- extract atomic properties: 24/24 new triples (664, 0:00:00.079635) -- INFO - ----- extract atom values: 5/5 new triples (669, 0:00:00.031990) -- INFO - ----- extract atom phenomena: 7/7 new triples (676, 0:00:00.039959) -- INFO - ----- propagate atom relations: 12/38 new triples (688, 0:00:00.361646) +- INFO - ----- extract atom classes: 6/6 new triples (634, 0:00:00.066901) +- INFO - ----- extract atom individuals: 8/8 new triples (642, 0:00:00.080515) +- INFO - ----- extract atomic properties: 24/24 new triples (666, 0:00:00.186723) +- INFO - ----- extract atom values: 5/5 new triples (671, 0:00:00.040713) +- INFO - ----- extract atom phenomena: 7/7 new triples (678, 0:00:00.032889) +- INFO - ----- propagate atom relations: 12/38 new triples (690, 0:00:00.385782) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (688, 0:00:00.007083) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (688, 0:00:00.012366) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (688, 0:00:00.016397) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (688, 0:00:00.028448) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (688, 0:00:00.029802) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (688, 0:00:00.008987) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (690, 0:00:00.006473) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (690, 0:00:00.011465) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (690, 0:00:00.012798) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (690, 0:00:00.030098) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (690, 0:00:00.024758) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (690, 0:00:00.006638) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (688, 0:00:00.010623) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (688, 0:00:00.012296) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (688, 0:00:00.012579) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (688, 0:00:00.010108) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (690, 0:00:00.011048) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (690, 0:00:00.008681) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (690, 0:00:00.009928) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (690, 0:00:00.010754) +- INFO - --- *** February Transduction *** Sequence: composite property extraction sequence +- INFO - ----- extract action properties: 19/23 new triples (709, 0:00:00.079108) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (688, 0:00:00.021282) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (688, 0:00:00.018314) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (709, 0:00:00.022726) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (709, 0:00:00.020021) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 11/12 new triples (699, 0:00:00.129520) -- INFO - ----- extract ODRL rules: 11/11 new triples (710, 0:00:00.117374) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- INFO - ----- extract ODRL actions: 11/12 new triples (720, 0:00:00.087484) +- INFO - ----- extract ODRL rules: 11/11 new triples (731, 0:00:00.191116) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-4/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//transduction -- INFO - ----- 84 triples extracted during transduction step +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-4/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction +- INFO - ----- 103 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (711, 0:00:00.064636) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- INFO - ----- generate ODRL rule: 1/1 new triple (732, 0:00:00.053943) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-4/tenet.tetras-libre.fr_demo_clara_10_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-4/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- 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/10//factoid +- 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 (466) -- DEBUG - -------- Config Parameter Definition (500) +- DEBUG - -------- Semantic Net Definition (468) +- DEBUG - -------- Config Parameter Definition (502) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (530) +- DEBUG - -------- Base Ontology produced as output (532) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s09.stog.amr.ttl (554) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s09.stog.amr.ttl (556) - DEBUG - --- Export work graph as turtle -- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-5/tenet.tetras-libre.fr_demo_clara_10.ttl +- 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) @@ -439,89 +447,91 @@ - 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.113829) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (556, 0:00:00.024401) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (559, 0:00:00.120979) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (559, 0:00:00.070508) -- INFO - ----- reclassify-concept-3: 8/8 new triples (567, 0:00:00.048110) -- DEBUG - ----- reclassify-concept-4: 0/0 new triple (567, 0:00:00.055900) -- INFO - ----- reclassify-concept-5: 4/4 new triples (571, 0:00:00.047680) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (571, 0:00:00.044808) -- INFO - ----- reclassify-existing-variable: 17/17 new triples (588, 0:00:00.034902) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (588, 0:00:00.050380) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (600, 0:00:00.040767) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (600, 0:00:00.028673) -- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (612, 0:00:00.086324) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (612, 0:00:00.072630) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (617, 0:00:00.069433) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (617, 0:00:00.064550) -- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (622, 0:00:00.074456) -- INFO - ----- update-amr-edge-role-1: 6/6 new triples (628, 0:00:00.038949) -- INFO - ----- add-amr-root: 5/5 new triples (633, 0:00:00.036541) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- INFO - ----- reclassify-concept-1: 5/5 new triples (561, 0:00:00.118800) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (561, 0:00:00.059679) +- INFO - ----- reclassify-concept-3: 8/8 new triples (569, 0:00:00.058694) +- DEBUG - ----- reclassify-concept-4: 0/0 new triple (569, 0:00:00.070808) +- INFO - ----- reclassify-concept-5: 4/4 new triples (573, 0:00:00.056349) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (573, 0:00:00.050233) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (590, 0:00:00.032556) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (590, 0:00:00.050998) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (602, 0:00:00.043997) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (602, 0:00:00.029263) +- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (614, 0:00:00.091815) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (614, 0:00:00.071029) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (619, 0:00:00.058280) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (619, 0:00:00.081913) +- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (624, 0:00:00.081419) +- INFO - ----- update-amr-edge-role-1: 6/6 new triples (630, 0:00:00.043096) +- INFO - ----- add-amr-root: 5/5 new triples (635, 0:00:00.029099) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-5/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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 (639, 0:00:00.033079) -- INFO - ----- extract atom individuals: 8/8 new triples (647, 0:00:00.047452) -- INFO - ----- extract atomic properties: 25/25 new triples (672, 0:00:00.073163) -- INFO - ----- extract atom values: 10/10 new triples (682, 0:00:00.049758) -- INFO - ----- extract atom phenomena: 7/7 new triples (689, 0:00:00.032893) -- INFO - ----- propagate atom relations: 14/40 new triples (703, 0:00:00.346146) +- INFO - ----- extract atom classes: 6/6 new triples (641, 0:00:00.039032) +- INFO - ----- extract atom individuals: 8/8 new triples (649, 0:00:00.048492) +- INFO - ----- extract atomic properties: 25/25 new triples (674, 0:00:00.078153) +- INFO - ----- extract atom values: 10/10 new triples (684, 0:00:00.045111) +- INFO - ----- extract atom phenomena: 7/7 new triples (691, 0:00:00.043746) +- INFO - ----- propagate atom relations: 14/40 new triples (705, 0:00:00.462634) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- INFO - ----- analyze "polarity" phenomena (1): 35/42 new triples (738, 0:00:00.103666) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (738, 0:00:00.019866) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (738, 0:00:00.028618) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (738, 0:00:00.067054) -- INFO - ----- analyze "polarity" phenomena (5): 15/19 new triples (753, 0:00:00.118152) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (753, 0:00:00.011917) +- INFO - ----- analyze "polarity" phenomena (1): 35/42 new triples (740, 0:00:00.105095) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (740, 0:00:00.019704) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (740, 0:00:00.018778) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (740, 0:00:00.031744) +- INFO - ----- analyze "polarity" phenomena (5): 15/19 new triples (755, 0:00:00.097018) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (755, 0:00:00.007357) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (753, 0:00:00.019513) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (753, 0:00:00.016997) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (753, 0:00:00.015005) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (753, 0:00:00.015559) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (755, 0:00:00.014698) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (755, 0:00:00.013452) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (755, 0:00:00.015997) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (755, 0:00:00.009737) +- INFO - --- *** February Transduction *** Sequence: composite property extraction sequence +- INFO - ----- extract action properties: 21/28 new triples (776, 0:00:00.105727) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (753, 0:00:00.035665) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (753, 0:00:00.030945) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (776, 0:00:00.024845) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (776, 0:00:00.023018) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 12/14 new triples (765, 0:00:00.123599) -- INFO - ----- extract ODRL rules: 11/11 new triples (776, 0:00:00.090902) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- INFO - ----- extract ODRL actions: 12/14 new triples (788, 0:00:00.116650) +- INFO - ----- extract ODRL rules: 11/11 new triples (799, 0:00:00.139072) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-5/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//transduction -- INFO - ----- 143 triples extracted during transduction step +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-5/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction +- INFO - ----- 164 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (777, 0:00:00.129022) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- INFO - ----- generate ODRL rule: 1/1 new triple (800, 0:00:00.071875) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-5/tenet.tetras-libre.fr_demo_clara_10_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-5/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- 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/10//factoid +- 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 (466) -- DEBUG - -------- Config Parameter Definition (500) +- DEBUG - -------- Semantic Net Definition (468) +- DEBUG - -------- Config Parameter Definition (502) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (530) +- DEBUG - -------- Base Ontology produced as output (532) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s10.stog.amr.ttl (565) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s10.stog.amr.ttl (567) - DEBUG - --- Export work graph as turtle -- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-6/tenet.tetras-libre.fr_demo_clara_10.ttl +- 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) @@ -530,89 +540,91 @@ - 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.024784) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (567, 0:00:00.030990) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 10/10 new triples (575, 0:00:00.124886) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (575, 0:00:00.045872) -- INFO - ----- reclassify-concept-3: 12/12 new triples (587, 0:00:00.047722) -- DEBUG - ----- reclassify-concept-4: 0/0 new triple (587, 0:00:00.051058) -- INFO - ----- reclassify-concept-5: 4/4 new triples (591, 0:00:00.053572) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (591, 0:00:00.044859) -- INFO - ----- reclassify-existing-variable: 25/25 new triples (616, 0:00:00.028860) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (616, 0:00:00.052774) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (634, 0:00:00.033090) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (634, 0:00:00.034454) -- INFO - ----- add-amr-edge-for-core-relation: 24/24 new triples (658, 0:00:00.090920) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (658, 0:00:00.070543) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (663, 0:00:00.085127) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (663, 0:00:00.072494) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (663, 0:00:00.081220) -- INFO - ----- update-amr-edge-role-1: 9/9 new triples (672, 0:00:00.059267) -- INFO - ----- add-amr-root: 5/5 new triples (677, 0:00:00.023940) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- INFO - ----- reclassify-concept-1: 10/10 new triples (577, 0:00:00.124973) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (577, 0:00:00.061296) +- INFO - ----- reclassify-concept-3: 12/12 new triples (589, 0:00:00.053629) +- DEBUG - ----- reclassify-concept-4: 0/0 new triple (589, 0:00:00.060770) +- INFO - ----- reclassify-concept-5: 4/4 new triples (593, 0:00:00.053681) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (593, 0:00:00.050185) +- INFO - ----- reclassify-existing-variable: 25/25 new triples (618, 0:00:00.042486) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (618, 0:00:00.056546) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (636, 0:00:00.044033) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (636, 0:00:00.029942) +- INFO - ----- add-amr-edge-for-core-relation: 24/24 new triples (660, 0:00:00.100857) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (660, 0:00:00.082979) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (665, 0:00:00.082669) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (665, 0:00:00.168357) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (665, 0:00:00.077767) +- INFO - ----- update-amr-edge-role-1: 9/9 new triples (674, 0:00:00.057436) +- INFO - ----- add-amr-root: 5/5 new triples (679, 0:00:00.025488) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-6/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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 (683, 0:00:00.036276) -- INFO - ----- extract atom individuals: 8/8 new triples (691, 0:00:00.045728) -- INFO - ----- extract atomic properties: 37/37 new triples (728, 0:00:00.112274) -- INFO - ----- extract atom values: 5/5 new triples (733, 0:00:00.027807) -- INFO - ----- extract atom phenomena: 14/14 new triples (747, 0:00:00.064667) -- INFO - ----- propagate atom relations: 19/62 new triples (766, 0:00:00.556489) +- INFO - ----- extract atom classes: 6/6 new triples (685, 0:00:00.037535) +- INFO - ----- extract atom individuals: 8/8 new triples (693, 0:00:00.046380) +- INFO - ----- extract atomic properties: 37/37 new triples (730, 0:00:00.121683) +- INFO - ----- extract atom values: 5/5 new triples (735, 0:00:00.025894) +- INFO - ----- extract atom phenomena: 14/14 new triples (749, 0:00:00.072864) +- INFO - ----- propagate atom relations: 19/62 new triples (768, 0:00:00.521243) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (766, 0:00:00.009976) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (766, 0:00:00.013983) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (766, 0:00:00.014800) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (766, 0:00:00.037664) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (766, 0:00:00.043659) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (766, 0:00:00.015622) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (768, 0:00:00.009981) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (768, 0:00:00.015189) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (768, 0:00:00.016866) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (768, 0:00:00.034927) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (768, 0:00:00.029341) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (768, 0:00:00.009423) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (766, 0:00:00.015041) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (766, 0:00:00.012657) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (766, 0:00:00.010170) -- INFO - ----- analyze "and" phenomena (2): 2/18 new triples (768, 0:00:00.158199) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (768, 0:00:00.010319) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (768, 0:00:00.010673) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (768, 0:00:00.015829) +- INFO - ----- analyze "and" phenomena (2): 2/18 new triples (770, 0:00:00.133685) +- INFO - --- *** February Transduction *** Sequence: composite property extraction sequence +- INFO - ----- extract action properties: 40/50 new triples (810, 0:00:00.177535) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (768, 0:00:00.022293) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (768, 0:00:00.021208) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (810, 0:00:00.029981) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (810, 0:00:00.022551) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 24/28 new triples (792, 0:00:00.199701) -- INFO - ----- extract ODRL rules: 14/22 new triples (806, 0:00:00.159575) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- INFO - ----- extract ODRL actions: 24/28 new triples (834, 0:00:00.202838) +- INFO - ----- extract ODRL rules: 14/22 new triples (848, 0:00:00.158548) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-6/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//transduction -- INFO - ----- 129 triples extracted during transduction step +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-6/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction +- INFO - ----- 169 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 2/2 new triples (808, 0:00:00.117343) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- INFO - ----- generate ODRL rule: 2/2 new triples (850, 0:00:00.104989) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-6/tenet.tetras-libre.fr_demo_clara_10_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-6/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- 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/10//factoid +- 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 (466) -- DEBUG - -------- Config Parameter Definition (500) +- DEBUG - -------- Semantic Net Definition (468) +- DEBUG - -------- Config Parameter Definition (502) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (530) +- DEBUG - -------- Base Ontology produced as output (532) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s06.stog.amr.ttl (552) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s06.stog.amr.ttl (554) - DEBUG - --- Export work graph as turtle -- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-7/tenet.tetras-libre.fr_demo_clara_10.ttl +- 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) @@ -621,89 +633,91 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (552, 0:00:00.029447) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (554, 0:00:00.024905) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (557, 0:00:00.130262) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (557, 0:00:00.069260) -- INFO - ----- reclassify-concept-3: 4/4 new triples (561, 0:00:00.056940) -- INFO - ----- reclassify-concept-4: 4/4 new triples (565, 0:00:00.069043) -- INFO - ----- reclassify-concept-5: 4/4 new triples (569, 0:00:00.051449) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (569, 0:00:00.055890) -- INFO - ----- reclassify-existing-variable: 17/17 new triples (586, 0:00:00.040023) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (586, 0:00:00.060866) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (598, 0:00:00.042264) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (598, 0:00:00.041292) -- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (607, 0:00:00.108650) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (607, 0:00:00.079200) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (612, 0:00:00.064869) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (612, 0:00:00.150611) -- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (617, 0:00:00.072096) -- INFO - ----- update-amr-edge-role-1: 5/5 new triples (622, 0:00:00.038790) -- INFO - ----- add-amr-root: 5/5 new triples (627, 0:00:00.024596) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- INFO - ----- reclassify-concept-1: 5/5 new triples (559, 0:00:00.110026) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (559, 0:00:00.076230) +- INFO - ----- reclassify-concept-3: 4/4 new triples (563, 0:00:00.045735) +- INFO - ----- reclassify-concept-4: 4/4 new triples (567, 0:00:00.069225) +- INFO - ----- reclassify-concept-5: 4/4 new triples (571, 0:00:00.056989) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (571, 0:00:00.066733) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (588, 0:00:00.066955) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (588, 0:00:00.097484) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (600, 0:00:00.114279) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (600, 0:00:00.049639) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (609, 0:00:00.088437) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (609, 0:00:00.059007) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (614, 0:00:00.070052) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (614, 0:00:00.078322) +- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (619, 0:00:00.099318) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (624, 0:00:00.036736) +- INFO - ----- add-amr-root: 5/5 new triples (629, 0:00:00.032278) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-7/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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 (639, 0:00:00.062236) -- INFO - ----- extract atom individuals: 8/8 new triples (647, 0:00:00.046230) -- INFO - ----- extract atomic properties: 13/13 new triples (660, 0:00:00.041875) -- INFO - ----- extract atom values: 10/10 new triples (670, 0:00:00.054817) -- INFO - ----- extract atom phenomena: 7/7 new triples (677, 0:00:00.035545) -- INFO - ----- propagate atom relations: 11/28 new triples (688, 0:00:00.355223) +- INFO - ----- extract atom classes: 12/12 new triples (641, 0:00:00.073685) +- INFO - ----- extract atom individuals: 8/8 new triples (649, 0:00:00.035509) +- INFO - ----- extract atomic properties: 13/13 new triples (662, 0:00:00.036527) +- INFO - ----- extract atom values: 10/10 new triples (672, 0:00:00.055025) +- INFO - ----- extract atom phenomena: 7/7 new triples (679, 0:00:00.035546) +- INFO - ----- propagate atom relations: 11/28 new triples (690, 0:00:00.377389) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (688, 0:00:00.008335) -- INFO - ----- analyze "polarity" phenomena (2): 13/15 new triples (701, 0:00:00.076709) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (701, 0:00:00.017070) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (701, 0:00:00.029082) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (701, 0:00:00.031629) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (701, 0:00:00.007755) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (690, 0:00:00.011026) +- INFO - ----- analyze "polarity" phenomena (2): 13/15 new triples (703, 0:00:00.065596) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (703, 0:00:00.013608) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (703, 0:00:00.026423) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (703, 0:00:00.036996) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (703, 0:00:00.007393) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (701, 0:00:00.013342) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (701, 0:00:00.012364) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (701, 0:00:00.010210) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (701, 0:00:00.009305) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (703, 0:00:00.013818) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (703, 0:00:00.009882) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (703, 0:00:00.009070) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (703, 0:00:00.008708) +- INFO - --- *** February Transduction *** Sequence: composite property extraction sequence +- INFO - ----- extract action properties: 20/25 new triples (723, 0:00:00.108646) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (701, 0:00:00.023631) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (701, 0:00:00.019970) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (723, 0:00:00.029917) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (723, 0:00:00.023490) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 15/17 new triples (716, 0:00:00.114786) -- INFO - ----- extract ODRL rules: 12/12 new triples (728, 0:00:00.121350) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- INFO - ----- extract ODRL actions: 15/17 new triples (738, 0:00:00.119034) +- INFO - ----- extract ODRL rules: 12/12 new triples (750, 0:00:00.106988) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-7/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//transduction -- INFO - ----- 101 triples extracted during transduction step +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-7/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction +- INFO - ----- 121 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (729, 0:00:00.073433) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- INFO - ----- generate ODRL rule: 1/1 new triple (751, 0:00:00.059167) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-7/tenet.tetras-libre.fr_demo_clara_10_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-7/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- 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/10//factoid +- 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 (466) -- DEBUG - -------- Config Parameter Definition (500) +- DEBUG - -------- Semantic Net Definition (468) +- DEBUG - -------- Config Parameter Definition (502) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (530) +- DEBUG - -------- Base Ontology produced as output (532) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s04.stog.amr.ttl (556) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s04.stog.amr.ttl (558) - DEBUG - --- Export work graph as turtle -- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-8/tenet.tetras-libre.fr_demo_clara_10.ttl +- 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) @@ -712,89 +726,91 @@ - 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.025302) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (558, 0:00:00.024347) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (561, 0:00:00.130304) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (561, 0:00:00.059144) -- INFO - ----- reclassify-concept-3: 4/4 new triples (565, 0:00:00.044130) -- INFO - ----- reclassify-concept-4: 8/8 new triples (573, 0:00:00.060553) -- INFO - ----- reclassify-concept-5: 4/4 new triples (577, 0:00:00.046469) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (577, 0:00:00.058687) -- INFO - ----- reclassify-existing-variable: 22/22 new triples (599, 0:00:00.033310) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (599, 0:00:00.059757) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 15/15 new triples (614, 0:00:00.121055) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (614, 0:00:00.035491) -- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (626, 0:00:00.086132) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (626, 0:00:00.077956) -- INFO - ----- add-amr-edge-for-name-relation: 10/10 new triples (636, 0:00:00.079090) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (636, 0:00:00.059204) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (636, 0:00:00.070988) -- INFO - ----- update-amr-edge-role-1: 6/6 new triples (642, 0:00:00.047208) -- INFO - ----- add-amr-root: 5/5 new triples (647, 0:00:00.028025) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- INFO - ----- reclassify-concept-1: 5/5 new triples (563, 0:00:00.107200) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (563, 0:00:00.069500) +- INFO - ----- reclassify-concept-3: 4/4 new triples (567, 0:00:00.118766) +- INFO - ----- reclassify-concept-4: 8/8 new triples (575, 0:00:00.067690) +- INFO - ----- reclassify-concept-5: 4/4 new triples (579, 0:00:00.052355) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (579, 0:00:00.056409) +- INFO - ----- reclassify-existing-variable: 22/22 new triples (601, 0:00:00.030481) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (601, 0:00:00.054620) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 15/15 new triples (616, 0:00:00.036816) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (616, 0:00:00.035250) +- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (628, 0:00:00.090308) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (628, 0:00:00.077374) +- INFO - ----- add-amr-edge-for-name-relation: 10/10 new triples (638, 0:00:00.075552) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (638, 0:00:00.081523) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (638, 0:00:00.073465) +- INFO - ----- update-amr-edge-role-1: 6/6 new triples (644, 0:00:00.040320) +- INFO - ----- add-amr-root: 5/5 new triples (649, 0:00:00.028140) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-8/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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 (665, 0:00:00.094641) -- INFO - ----- extract atom individuals: 16/16 new triples (681, 0:00:00.103463) -- INFO - ----- extract atomic properties: 13/13 new triples (694, 0:00:00.118206) -- INFO - ----- extract atom values: 10/10 new triples (704, 0:00:00.051119) -- INFO - ----- extract atom phenomena: 7/7 new triples (711, 0:00:00.030289) -- INFO - ----- propagate atom relations: 15/52 new triples (726, 0:00:00.515359) +- INFO - ----- extract atom classes: 18/18 new triples (667, 0:00:00.105641) +- INFO - ----- extract atom individuals: 16/16 new triples (683, 0:00:00.075186) +- INFO - ----- extract atomic properties: 13/13 new triples (696, 0:00:00.049158) +- INFO - ----- extract atom values: 10/10 new triples (706, 0:00:00.051825) +- INFO - ----- extract atom phenomena: 7/7 new triples (713, 0:00:00.040443) +- INFO - ----- propagate atom relations: 15/52 new triples (728, 0:00:00.544076) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (726, 0:00:00.009693) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (726, 0:00:00.018535) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (726, 0:00:00.016086) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (726, 0:00:00.032409) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (726, 0:00:00.033457) -- INFO - ----- analyze modifier phenomena (mod): 21/25 new triples (747, 0:00:00.071651) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (728, 0:00:00.007548) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (728, 0:00:00.016183) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (728, 0:00:00.017371) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (728, 0:00:00.034898) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (728, 0:00:00.034263) +- INFO - ----- analyze modifier phenomena (mod): 21/25 new triples (749, 0:00:00.090413) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (747, 0:00:00.010586) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (747, 0:00:00.008963) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (747, 0:00:00.007717) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (747, 0:00:00.007876) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (749, 0:00:00.009780) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (749, 0:00:00.010434) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (749, 0:00:00.017636) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (749, 0:00:00.009805) +- INFO - --- *** February Transduction *** Sequence: composite property extraction sequence +- INFO - ----- extract action properties: 21/27 new triples (770, 0:00:00.097962) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (747, 0:00:00.015609) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (747, 0:00:00.016859) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (770, 0:00:00.021531) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (770, 0:00:00.029775) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 11/12 new triples (758, 0:00:00.089833) -- INFO - ----- extract ODRL rules: 11/11 new triples (769, 0:00:00.093433) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- INFO - ----- extract ODRL actions: 11/12 new triples (781, 0:00:00.121186) +- INFO - ----- extract ODRL rules: 11/11 new triples (792, 0:00:00.100877) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-8/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//transduction -- INFO - ----- 122 triples extracted during transduction step +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-8/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction +- INFO - ----- 143 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (770, 0:00:00.056156) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- INFO - ----- generate ODRL rule: 1/1 new triple (793, 0:00:00.074371) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-8/tenet.tetras-libre.fr_demo_clara_10_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-8/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- 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/10//factoid +- 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 (466) -- DEBUG - -------- Config Parameter Definition (500) +- DEBUG - -------- Semantic Net Definition (468) +- DEBUG - -------- Config Parameter Definition (502) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (530) +- DEBUG - -------- Base Ontology produced as output (532) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s01.stog.amr.ttl (547) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s01.stog.amr.ttl (549) - DEBUG - --- Export work graph as turtle -- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-9/tenet.tetras-libre.fr_demo_clara_10.ttl +- 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) @@ -803,89 +819,91 @@ - 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 (547, 0:00:00.028951) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (549, 0:00:00.116500) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (552, 0:00:00.091113) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (552, 0:00:00.124456) -- INFO - ----- reclassify-concept-3: 4/4 new triples (556, 0:00:00.047742) -- INFO - ----- reclassify-concept-4: 4/4 new triples (560, 0:00:00.068612) -- DEBUG - ----- reclassify-concept-5: 0/0 new triple (560, 0:00:00.043147) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (560, 0:00:00.046769) -- INFO - ----- reclassify-existing-variable: 13/13 new triples (573, 0:00:00.031718) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (573, 0:00:00.055033) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 9/9 new triples (582, 0:00:00.032959) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (582, 0:00:00.037016) -- INFO - ----- add-amr-edge-for-core-relation: 6/6 new triples (588, 0:00:00.091390) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (588, 0:00:00.080145) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (593, 0:00:00.078225) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (593, 0:00:00.070347) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (593, 0:00:00.085891) -- INFO - ----- update-amr-edge-role-1: 3/3 new triples (596, 0:00:00.027690) -- INFO - ----- add-amr-root: 5/5 new triples (601, 0:00:00.024469) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- INFO - ----- reclassify-concept-1: 5/5 new triples (554, 0:00:00.112914) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (554, 0:00:00.061894) +- INFO - ----- reclassify-concept-3: 4/4 new triples (558, 0:00:00.048361) +- INFO - ----- reclassify-concept-4: 4/4 new triples (562, 0:00:00.071134) +- DEBUG - ----- reclassify-concept-5: 0/0 new triple (562, 0:00:00.052417) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (562, 0:00:00.050426) +- INFO - ----- reclassify-existing-variable: 13/13 new triples (575, 0:00:00.035722) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (575, 0:00:00.061072) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 9/9 new triples (584, 0:00:00.030862) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (584, 0:00:00.031613) +- INFO - ----- add-amr-edge-for-core-relation: 6/6 new triples (590, 0:00:00.097526) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (590, 0:00:00.072320) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (595, 0:00:00.072175) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (595, 0:00:00.071960) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (595, 0:00:00.081693) +- INFO - ----- update-amr-edge-role-1: 3/3 new triples (598, 0:00:00.026521) +- INFO - ----- add-amr-root: 5/5 new triples (603, 0:00:00.025573) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-9/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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 (607, 0:00:00.032515) -- INFO - ----- extract atom individuals: 8/8 new triples (615, 0:00:00.038985) -- INFO - ----- extract atomic properties: 12/12 new triples (627, 0:00:00.045714) -- INFO - ----- extract atom values: 5/5 new triples (632, 0:00:00.026467) -- INFO - ----- extract atom phenomena: 7/7 new triples (639, 0:00:00.040618) -- INFO - ----- propagate atom relations: 7/22 new triples (646, 0:00:00.291384) +- INFO - ----- extract atom classes: 6/6 new triples (609, 0:00:00.041190) +- INFO - ----- extract atom individuals: 8/8 new triples (617, 0:00:00.039094) +- INFO - ----- extract atomic properties: 12/12 new triples (629, 0:00:00.038695) +- INFO - ----- extract atom values: 5/5 new triples (634, 0:00:00.034474) +- INFO - ----- extract atom phenomena: 7/7 new triples (641, 0:00:00.039734) +- INFO - ----- propagate atom relations: 7/22 new triples (648, 0:00:00.307249) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (646, 0:00:00.006883) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (646, 0:00:00.017472) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (646, 0:00:00.015432) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (646, 0:00:00.035043) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (646, 0:00:00.032930) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (646, 0:00:00.008871) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (648, 0:00:00.012748) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (648, 0:00:00.014619) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (648, 0:00:00.015150) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (648, 0:00:00.032787) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (648, 0:00:00.030902) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (648, 0:00:00.007746) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (646, 0:00:00.012208) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (646, 0:00:00.010710) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (646, 0:00:00.011341) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (646, 0:00:00.010141) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (648, 0:00:00.012034) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (648, 0:00:00.011453) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (648, 0:00:00.009736) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (648, 0:00:00.009924) +- INFO - --- *** February Transduction *** Sequence: composite property extraction sequence +- INFO - ----- extract action properties: 17/20 new triples (665, 0:00:00.101750) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (646, 0:00:00.023342) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (646, 0:00:00.028084) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (665, 0:00:00.020945) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (665, 0:00:00.025559) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 11/12 new triples (657, 0:00:00.107964) -- INFO - ----- extract ODRL rules: 11/11 new triples (668, 0:00:00.115576) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- INFO - ----- extract ODRL actions: 11/12 new triples (676, 0:00:00.115678) +- INFO - ----- extract ODRL rules: 11/11 new triples (687, 0:00:00.142584) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-9/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//transduction -- INFO - ----- 67 triples extracted during transduction step +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-9/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction +- INFO - ----- 84 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (669, 0:00:00.069478) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- INFO - ----- generate ODRL rule: 1/1 new triple (688, 0:00:00.093450) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-9/tenet.tetras-libre.fr_demo_clara_10_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-9/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- 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/10//factoid +- 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 (466) -- DEBUG - -------- Config Parameter Definition (500) +- DEBUG - -------- Semantic Net Definition (468) +- DEBUG - -------- Config Parameter Definition (502) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (530) +- DEBUG - -------- Base Ontology produced as output (532) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s08.stog.amr.ttl (553) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s08.stog.amr.ttl (555) - DEBUG - --- Export work graph as turtle -- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-10/tenet.tetras-libre.fr_demo_clara_10.ttl +- 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) @@ -894,89 +912,184 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (553, 0:00:00.107179) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (555, 0:00:00.026863) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (558, 0:00:00.115251) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (558, 0:00:00.073834) -- INFO - ----- reclassify-concept-3: 8/8 new triples (566, 0:00:00.054507) -- DEBUG - ----- reclassify-concept-4: 0/0 new triple (566, 0:00:00.062895) -- INFO - ----- reclassify-concept-5: 4/4 new triples (570, 0:00:00.043256) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (570, 0:00:00.055458) -- INFO - ----- reclassify-existing-variable: 17/17 new triples (587, 0:00:00.037244) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (587, 0:00:00.067819) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (599, 0:00:00.039335) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (599, 0:00:00.038720) -- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (608, 0:00:00.100845) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (608, 0:00:00.071336) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (613, 0:00:00.065210) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (613, 0:00:00.081451) -- INFO - ----- add-amr-edge-for-polarity-relation: 8/8 new triples (621, 0:00:00.072921) -- INFO - ----- update-amr-edge-role-1: 6/6 new triples (627, 0:00:00.043678) -- INFO - ----- add-amr-root: 5/5 new triples (632, 0:00:00.025218) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- INFO - ----- reclassify-concept-1: 5/5 new triples (560, 0:00:00.111197) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (560, 0:00:00.061309) +- INFO - ----- reclassify-concept-3: 8/8 new triples (568, 0:00:00.057306) +- DEBUG - ----- reclassify-concept-4: 0/0 new triple (568, 0:00:00.067970) +- INFO - ----- reclassify-concept-5: 4/4 new triples (572, 0:00:00.057513) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (572, 0:00:00.048541) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (589, 0:00:00.035324) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (589, 0:00:00.062641) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (601, 0:00:00.038114) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (601, 0:00:00.028963) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (610, 0:00:00.087286) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (610, 0:00:00.072747) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (615, 0:00:00.068911) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (615, 0:00:00.060987) +- INFO - ----- add-amr-edge-for-polarity-relation: 8/8 new triples (623, 0:00:00.079844) +- INFO - ----- update-amr-edge-role-1: 6/6 new triples (629, 0:00:00.040394) +- INFO - ----- add-amr-root: 5/5 new triples (634, 0:00:00.029888) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-10/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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 (638, 0:00:00.037111) -- INFO - ----- extract atom individuals: 8/8 new triples (646, 0:00:00.042100) -- INFO - ----- extract atomic properties: 25/25 new triples (671, 0:00:00.072862) -- INFO - ----- extract atom values: 10/10 new triples (681, 0:00:00.057722) -- INFO - ----- extract atom phenomena: 7/7 new triples (688, 0:00:00.036941) -- INFO - ----- propagate atom relations: 12/30 new triples (700, 0:00:00.357283) +- INFO - ----- extract atom classes: 6/6 new triples (640, 0:00:00.039264) +- INFO - ----- extract atom individuals: 8/8 new triples (648, 0:00:00.053656) +- INFO - ----- extract atomic properties: 25/25 new triples (673, 0:00:00.143348) +- INFO - ----- extract atom values: 10/10 new triples (683, 0:00:00.055191) +- INFO - ----- extract atom phenomena: 7/7 new triples (690, 0:00:00.032842) +- INFO - ----- propagate atom relations: 12/30 new triples (702, 0:00:00.345239) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- INFO - ----- analyze "polarity" phenomena (1): 35/42 new triples (735, 0:00:00.098676) -- INFO - ----- analyze "polarity" phenomena (2): 14/17 new triples (749, 0:00:00.066239) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (749, 0:00:00.019217) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (749, 0:00:00.034950) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (749, 0:00:00.035030) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (749, 0:00:00.007536) +- INFO - ----- analyze "polarity" phenomena (1): 35/42 new triples (737, 0:00:00.099857) +- INFO - ----- analyze "polarity" phenomena (2): 14/17 new triples (751, 0:00:00.063700) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (751, 0:00:00.015080) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (751, 0:00:00.029566) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (751, 0:00:00.032579) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (751, 0:00:00.009021) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (749, 0:00:00.011131) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (749, 0:00:00.010405) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (749, 0:00:00.011492) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (749, 0:00:00.009927) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (751, 0:00:00.016373) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (751, 0:00:00.012296) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (751, 0:00:00.010011) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (751, 0:00:00.010130) +- INFO - --- *** February Transduction *** Sequence: composite property extraction sequence +- INFO - ----- extract action properties: 21/28 new triples (772, 0:00:00.116166) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (749, 0:00:00.027653) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (749, 0:00:00.021206) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (772, 0:00:00.036265) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (772, 0:00:00.031545) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 12/14 new triples (761, 0:00:00.124693) -- INFO - ----- extract ODRL rules: 11/11 new triples (772, 0:00:00.225380) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- INFO - ----- extract ODRL actions: 12/14 new triples (784, 0:00:00.181277) +- INFO - ----- extract ODRL rules: 11/11 new triples (795, 0:00:00.105690) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-10/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//transduction -- INFO - ----- 140 triples extracted during transduction step +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-10/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction +- INFO - ----- 161 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (773, 0:00:00.075860) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- INFO - ----- generate ODRL rule: 1/1 new triple (796, 0:00:00.058142) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-10/tenet.tetras-libre.fr_demo_clara_10_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-10/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- 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/10//factoid +- 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 - DEBUG - -------- RDF Schema (320) -- DEBUG - -------- Semantic Net Definition (466) -- DEBUG - -------- Config Parameter Definition (500) +- DEBUG - -------- Semantic Net Definition (468) +- DEBUG - -------- Config Parameter Definition (502) +- DEBUG - ----- Frame Ontology Loading +- DEBUG - -------- Base Ontology produced as output (532) +- DEBUG - --- Source Data Import +- DEBUG - ----- Sentence Loading +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s13.stog.amr.ttl (552) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-11/tenet.tetras-libre.fr_demo_clara_12.ttl +- INFO - ----- Sentence (id): policy_asail_odrl_sentences-13 +- INFO - ----- Sentence (text): You may use 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 (552, 0:00:00.028292) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (557, 0:00:00.101452) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (557, 0:00:00.052138) +- INFO - ----- reclassify-concept-3: 8/8 new triples (565, 0:00:00.037742) +- INFO - ----- reclassify-concept-4: 4/4 new triples (569, 0:00:00.059793) +- DEBUG - ----- reclassify-concept-5: 0/0 new triple (569, 0:00:00.043834) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (569, 0:00:00.044838) +- INFO - ----- reclassify-existing-variable: 16/16 new triples (585, 0:00:00.029455) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (585, 0:00:00.058675) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (597, 0:00:00.037460) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (597, 0:00:00.038893) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (606, 0:00:00.093552) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (606, 0:00:00.078494) +- DEBUG - ----- add-amr-edge-for-name-relation: 0/0 new triple (606, 0:00:00.071811) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (606, 0:00:00.066785) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (606, 0:00:00.073296) +- INFO - ----- update-amr-edge-role-1: 3/3 new triples (609, 0:00:00.038552) +- INFO - ----- add-amr-root: 5/5 new triples (614, 0:00:00.032252) +- 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-11/tenet.tetras-libre.fr_demo_clara_12_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//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 (620, 0:00:00.042683) +- DEBUG - ----- extract atom individuals: 0/0 new triple (620, 0:00:00.014200) +- INFO - ----- extract atomic properties: 24/24 new triples (644, 0:00:00.084522) +- DEBUG - ----- extract atom values: 0/0 new triple (644, 0:00:00.007714) +- INFO - ----- extract atom phenomena: 7/7 new triples (651, 0:00:00.036958) +- INFO - ----- propagate atom relations: 5/12 new triples (656, 0:00:00.248402) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (656, 0:00:00.008746) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (656, 0:00:00.012601) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (656, 0:00:00.016922) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (656, 0:00:00.122795) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (656, 0:00:00.031229) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (656, 0:00:00.007642) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (656, 0:00:00.011314) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (656, 0:00:00.012114) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (656, 0:00:00.009158) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (656, 0:00:00.013596) +- INFO - --- *** February Transduction *** Sequence: composite property extraction sequence +- INFO - ----- extract action properties: 18/21 new triples (674, 0:00:00.109582) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (674, 0:00:00.030077) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (674, 0:00:00.022495) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 11/12 new triples (685, 0:00:00.121607) +- INFO - ----- extract ODRL rules: 11/11 new triples (696, 0:00:00.116682) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-11/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction +- INFO - ----- 82 triples extracted during transduction step +- INFO - -- Applying extraction step: generation +- INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence +- INFO - ----- generate ODRL rule: 1/1 new triple (697, 0:00:00.065734) +- 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 (468) +- DEBUG - -------- Config Parameter Definition (502) - DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (530) +- DEBUG - -------- Base Ontology produced as output (532) - DEBUG - --- Source Data Import - DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s02.stog.amr.ttl (551) +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s02.stog.amr.ttl (553) - DEBUG - --- Export work graph as turtle -- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-11/tenet.tetras-libre.fr_demo_clara_10.ttl +- 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) @@ -985,88 +1098,183 @@ - 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.028532) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (553, 0:00:00.038215) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (556, 0:00:00.111294) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (556, 0:00:00.059087) -- INFO - ----- reclassify-concept-3: 4/4 new triples (560, 0:00:00.047389) -- INFO - ----- reclassify-concept-4: 4/4 new triples (564, 0:00:00.058416) -- INFO - ----- reclassify-concept-5: 4/4 new triples (568, 0:00:00.045843) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (568, 0:00:00.042988) -- INFO - ----- reclassify-existing-variable: 17/17 new triples (585, 0:00:00.034993) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (585, 0:00:00.052071) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (597, 0:00:00.037111) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (597, 0:00:00.034051) -- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (606, 0:00:00.083537) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (606, 0:00:00.071166) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (611, 0:00:00.066313) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (611, 0:00:00.071643) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (611, 0:00:00.063409) -- INFO - ----- update-amr-edge-role-1: 4/4 new triples (615, 0:00:00.027269) -- INFO - ----- add-amr-root: 5/5 new triples (620, 0:00:00.020858) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- INFO - ----- reclassify-concept-1: 5/5 new triples (558, 0:00:00.114269) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (558, 0:00:00.065596) +- INFO - ----- reclassify-concept-3: 4/4 new triples (562, 0:00:00.045035) +- INFO - ----- reclassify-concept-4: 4/4 new triples (566, 0:00:00.070575) +- INFO - ----- reclassify-concept-5: 4/4 new triples (570, 0:00:00.050242) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (570, 0:00:00.050826) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (587, 0:00:00.030102) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (587, 0:00:00.059278) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (599, 0:00:00.032980) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (599, 0:00:00.032849) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (608, 0:00:00.104047) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (608, 0:00:00.074970) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (613, 0:00:00.070897) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (613, 0:00:00.077625) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (613, 0:00:00.080694) +- INFO - ----- update-amr-edge-role-1: 4/4 new triples (617, 0:00:00.034918) +- INFO - ----- add-amr-root: 5/5 new triples (622, 0:00:00.031064) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing - DEBUG - ----- step: preprocessing -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-11/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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 (632, 0:00:00.066052) -- INFO - ----- extract atom individuals: 8/8 new triples (640, 0:00:00.041266) -- INFO - ----- extract atomic properties: 13/13 new triples (653, 0:00:00.041502) -- INFO - ----- extract atom values: 5/5 new triples (658, 0:00:00.028899) -- INFO - ----- extract atom phenomena: 7/7 new triples (665, 0:00:00.035808) -- INFO - ----- propagate atom relations: 10/26 new triples (675, 0:00:00.388371) +- INFO - ----- extract atom classes: 12/12 new triples (634, 0:00:00.062091) +- INFO - ----- extract atom individuals: 8/8 new triples (642, 0:00:00.052074) +- INFO - ----- extract atomic properties: 13/13 new triples (655, 0:00:00.128561) +- INFO - ----- extract atom values: 5/5 new triples (660, 0:00:00.029643) +- INFO - ----- extract atom phenomena: 7/7 new triples (667, 0:00:00.040446) +- INFO - ----- propagate atom relations: 10/26 new triples (677, 0:00:00.376199) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (677, 0:00:00.007474) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (677, 0:00:00.018335) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (677, 0:00:00.018770) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (677, 0:00:00.030087) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (677, 0:00:00.039444) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (677, 0:00:00.010540) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (677, 0:00:00.010675) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (677, 0:00:00.015872) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (677, 0:00:00.011160) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (677, 0:00:00.010468) +- INFO - --- *** February Transduction *** Sequence: composite property extraction sequence +- INFO - ----- extract action properties: 19/23 new triples (696, 0:00:00.109067) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (696, 0:00:00.029424) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (696, 0:00:00.022121) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 14/15 new triples (710, 0:00:00.126438) +- INFO - ----- extract ODRL rules: 12/12 new triples (722, 0:00:00.119199) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-12/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction +- INFO - ----- 100 triples extracted during transduction step +- INFO - -- Applying extraction step: generation +- INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence +- INFO - ----- generate ODRL rule: 1/1 new triple (723, 0:00:00.076934) +- 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 (468) +- DEBUG - -------- Config Parameter Definition (502) +- DEBUG - ----- Frame Ontology Loading +- DEBUG - -------- Base Ontology produced as output (532) +- DEBUG - --- Source Data Import +- DEBUG - ----- Sentence Loading +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s12.stog.amr.ttl (554) +- DEBUG - --- 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 (554, 0:00:00.036147) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (559, 0:00:00.125660) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (559, 0:00:00.065110) +- INFO - ----- reclassify-concept-3: 4/4 new triples (563, 0:00:00.047881) +- INFO - ----- reclassify-concept-4: 8/8 new triples (571, 0:00:00.072939) +- DEBUG - ----- reclassify-concept-5: 0/0 new triple (571, 0:00:00.056593) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (571, 0:00:00.049737) +- INFO - ----- reclassify-existing-variable: 16/16 new triples (587, 0:00:00.036274) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (587, 0:00:00.058161) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (599, 0:00:00.032295) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (599, 0:00:00.029453) +- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (611, 0:00:00.081775) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (611, 0:00:00.079556) +- DEBUG - ----- add-amr-edge-for-name-relation: 0/0 new triple (611, 0:00:00.059168) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (611, 0:00:00.138006) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (611, 0:00:00.080055) +- INFO - ----- update-amr-edge-role-1: 4/4 new triples (615, 0:00:00.029125) +- INFO - ----- add-amr-root: 5/5 new triples (620, 0:00:00.028866) +- 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 (632, 0:00:00.063034) +- DEBUG - ----- extract atom individuals: 0/0 new triple (632, 0:00:00.013346) +- INFO - ----- extract atomic properties: 13/13 new triples (645, 0:00:00.037376) +- DEBUG - ----- extract atom values: 0/0 new triple (645, 0:00:00.004963) +- INFO - ----- extract atom phenomena: 7/7 new triples (652, 0:00:00.038165) +- INFO - ----- propagate atom relations: 7/16 new triples (659, 0:00:00.230254) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (675, 0:00:00.011116) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (675, 0:00:00.017910) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (675, 0:00:00.026961) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (675, 0:00:00.057542) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (675, 0:00:00.054151) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (675, 0:00:00.014926) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (659, 0:00:00.015112) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (659, 0:00:00.014240) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (659, 0:00:00.011875) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (659, 0:00:00.033103) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (659, 0:00:00.036674) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (659, 0:00:00.007597) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (675, 0:00:00.010462) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (675, 0:00:00.016758) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (675, 0:00:00.012253) -- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (675, 0:00:00.009742) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (659, 0:00:00.010037) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (659, 0:00:00.013738) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (659, 0:00:00.011393) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (659, 0:00:00.010696) +- INFO - --- *** February Transduction *** Sequence: composite property extraction sequence +- INFO - ----- extract action properties: 18/21 new triples (677, 0:00:00.115862) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (675, 0:00:00.018448) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (675, 0:00:00.015484) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (677, 0:00:00.025489) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (677, 0:00:00.022062) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 14/15 new triples (689, 0:00:00.108109) -- INFO - ----- extract ODRL rules: 12/12 new triples (701, 0:00:00.117583) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- INFO - ----- extract ODRL actions: 14/15 new triples (691, 0:00:00.216739) +- INFO - ----- extract ODRL rules: 12/12 new triples (703, 0:00:00.100652) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction - DEBUG - ----- step: transduction -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-11/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//transduction -- INFO - ----- 81 triples extracted during transduction step +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_12-13/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction +- INFO - ----- 83 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (702, 0:00:00.096965) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- INFO - ----- generate ODRL rule: 1/1 new triple (704, 0:00:00.085659) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation - DEBUG - ----- step: generation -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-11/tenet.tetras-libre.fr_demo_clara_10_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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 - INFO - ----- 1 triples extracted during generation step -- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-11/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- 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 - ----- Number of factoids: 1 -- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/10//factoid +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/12//factoid - INFO - === Final Ontology Generation === - INFO - -- Making complete factoid graph by merging the result factoids -- INFO - ----- Total factoid number: 12 +- INFO - ----- Total factoid number: 14 - INFO - -- Serializing graph to factoid string -- INFO - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/10//factoid +- INFO - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/12//factoid - INFO - -- Serializing graph to factoid file -- INFO - ----- Ontology Turtle File: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/aos10_factoid.ttl +- INFO - ----- Ontology Turtle File: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos12-20230420/aos12_factoid.ttl - INFO - === Done === - INFO - *** Execution Time *** ----- Function: create_ontology_from_amrld_dir (tenet.main) ------ Total Time: 0:00:29.593185 ------ Process Time: 0:00:29.260256 +----- Total Time: 0:00:36.843799 +----- Process Time: 0:00:36.487473 *** - *** diff --git a/tenet/transduction/net/__init__.py b/tenet/transduction/net/__init__.py index c9523631..adad863b 100644 --- a/tenet/transduction/net/__init__.py +++ b/tenet/transduction/net/__init__.py @@ -8,6 +8,7 @@ from transduction.net.composite_class_net import CompositeClassNet from transduction.net.property_net import PropertyNet from transduction.net.atom_property_net import AtomPropertyNet +from transduction.net.action_property_net import ActionPropertyNet from transduction.net.composite_property_net import CompositePropertyNet from transduction.net.individual_net import IndividualNet diff --git a/tenet/transduction/net/action_property_net.py b/tenet/transduction/net/action_property_net.py new file mode 100644 index 00000000..31b4d8c5 --- /dev/null +++ b/tenet/transduction/net/action_property_net.py @@ -0,0 +1,116 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: Action Property +#------------------------------------------------------------------------------ +# Class to handle semantic nets +#============================================================================== + +from transduction.net import PropertyNet +from transduction.rdfterm_computer import produce_uriref, produce_literal + + +#============================================================================== +# Net Class +#============================================================================== + +class ActionPropertyNet(PropertyNet): + """ Class to handle semantic net. + """ + + #-------------------------------------------------------------------------- + # Constructor(s) + #-------------------------------------------------------------------------- + + def __init__(self, support_graph, uri=None): + + # -- Parent init + super().__init__(support_graph, uri) + + # -- Net Type + self.type_name = 'actionProperty' + self.type_id = 'Action_Property_Net' + self.type_uri = produce_uriref(self.support_graph, f'net:{self.type_id}') + + # -- Net Attributes + self.attr_list += ['core_role', 'target_argument_node', 'property_type', + 'property_name01', 'property_name10', 'property_name12'] + self._core_role = None + self._target_argument_node = [] + self._property_type = None + #self._property_name = None + self._property_name01 = None + self._property_name10 = None + self._property_name12 = None + + + #-------------------------------------------------------------------------- + # Accessors for Net Attributes + #-------------------------------------------------------------------------- + + @property + def core_role(self): + if self._core_role is None: + self._core_role = self.get_value_list_from_graph('_core_role') + #self._core_role = produce_boolean(None, self._core_role) + return self._core_role + + @core_role.setter + def core_role(self, new_value): + self._core_role = self.set_attribute_value_list(new_value, produce_literal) + + + @property + def target_argument_node(self): + if self._target_argument_node == []: + self._target_argument_node = self.get_value_list_from_graph('_target_argument_node') + return self._target_argument_node + + @target_argument_node.setter + def target_argument_node(self, new_value): + self._target_argument_node = self.set_attribute_value_list(new_value, produce_uriref) + + + @property + def property_type(self): + if self._property_type is None: + self._property_type = self.get_value_list_from_graph('_property_type') + return self._property_type + + @property_type.setter + def property_type(self, new_value): + self._property_type = self.set_attribute_value_list(new_value, produce_uriref) + + + @property + def property_name01(self): + if self._property_name01 is None: + self._property_name01 = self.get_value_list_from_graph('_property_name01') + return self._property_name01 + + @property_name01.setter + def property_name01(self, new_value): + self._property_name01 = self.set_attribute_value_list(new_value, produce_literal) + + + @property + def property_name10(self): + if self._property_name10 is None: + self._property_name10 = self.get_value_list_from_graph('_property_name10') + return self._property_name10 + + @property_name10.setter + def property_name10(self, new_value): + self._property_name10 = self.set_attribute_value_list(new_value, produce_literal) + + + @property + def property_name12(self): + if self._property_name12 is None: + self._property_name12 = self.get_value_list_from_graph('_property_name12') + return self._property_name12 + + @property_name12.setter + def property_name12(self, new_value): + self._property_name12 = self.set_attribute_value_list(new_value, produce_literal) diff --git a/tests/dev_tests/test_data/composite-property-extraction-devGraph-1.result.ttl b/tests/dev_tests/test_data/composite-property-extraction-devGraph-1.result.ttl new file mode 100644 index 00000000..9ead05e1 --- /dev/null +++ b/tests/dev_tests/test_data/composite-property-extraction-devGraph-1.result.ttl @@ -0,0 +1,910 @@ +@base <https://amr.tetras-libre.fr/rdf/composite-property-extraction-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 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:permit-01.ARG2 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_p_ARG2_y a :AMR_Edge ; + :hasAmrRole :role_ARG2 ; + :hasRoleID "ARG2" . + +:edge_u_ARG0_y a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_u_ARG1_m 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_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-12 a :AMR_Root ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#root01> ; + :hasRootLeaf :leaf_permit-01_p ; + :hasSentenceID "policy_asail_odrl_sentences-12" ; + :hasSentenceStatement "You may use the movie." . + +: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:Individual_Net a owl:Class ; + rdfs:subClassOf net: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:actionProperty_use_u, + net:atomProperty_use_u ; + :role_ARG2 net:atomClass_you_y ; + 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-12" . + +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-12#root01> a ns21:AMR ; + ns21:has-id "policy_asail_odrl_sentences-12" ; + ns21:has-sentence "You may use the movie." ; + ns21:root <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#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_Predicat_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Relation_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Root a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:concept_movie rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:movie ; + :label "movie" . + +: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_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" . + +:role_ARG2 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG2" . + +:variable_m a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#m> ; + :label "m" . + +:variable_p a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#p> ; + :label "p" . + +:variable_u a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#u> ; + :label "u" . + +:variable_y a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#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:Action_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:actionProperty_use_u a net:Action_Property_Net ; + :role_ARG0 net:atomClass_you_y ; + :role_ARG1 net:atomClass_movie_m ; + net:composeFrom net:atomProperty_use_u ; + net:coverBaseNode :leaf_use-01_u ; + net:coverNode :leaf_use-01_u ; + net:hasNaming "use" ; + net:hasPropertyName "use" ; + net:hasPropertyName01 "useing" ; + net:hasPropertyName10 "use-by" ; + net:hasPropertyName12 "use-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "policy_asail_odrl_sentences-12" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_movie_m, + :leaf_you_y . + +net: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-12#m> a ns2:movie ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#p> a ns11:permit-01 ; + ns11:permit-01.ARG1 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#u> ; + ns11:permit-01.ARG2 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#y> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#u> a ns11:use-01 ; + ns11:use-01.ARG0 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#y> ; + ns11:use-01.ARG1 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#m> ; + 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 . + +ns2:movie a ns21:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:you a ns21:Concept ; + 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_Term_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:Class_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_movie_m a net:Atom_Class_Net ; + net:coverBaseNode :leaf_movie_m ; + net:coverNode :leaf_movie_m ; + net:hasClassName "movie" ; + net:hasNaming "movie" ; + net:hasStructure "policy_asail_odrl_sentences-12" . + +net:atomProperty_use_u a net:Atom_Property_Net, + net:Deprecated_Net ; + :role_ARG0 net:atomClass_you_y ; + :role_ARG1 net:atomClass_movie_m ; + net:coverBaseNode :leaf_use-01_u ; + net:coverNode :leaf_use-01_u ; + net:hasNaming "use" ; + net:hasPropertyName "use" ; + net:hasPropertyName01 "useing" ; + net:hasPropertyName10 "use-by" ; + net:hasPropertyName12 "use-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "policy_asail_odrl_sentences-12" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_movie_m, + :leaf_you_y . + +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#y> a ns2:you ; + 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 ; + :edge_p_ARG2_y :leaf_you_y ; + :hasConcept :concept_permit-01 ; + :hasVariable :variable_p . + +: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:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:atomClass_you_y a net:Atom_Class_Net ; + net:coverBaseNode :leaf_you_y ; + net:coverNode :leaf_you_y ; + net:hasClassName "you" ; + net:hasNaming "you" ; + net:hasStructure "policy_asail_odrl_sentences-12" . + +net:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +ns11:FrameRole a ns21:Role, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Element a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_NonCore_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Role a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_movie_m a :AMR_Leaf ; + :hasConcept :concept_movie ; + :hasVariable :variable_m . + +:leaf_use-01_u a :AMR_Leaf ; + :edge_u_ARG0_y :leaf_you_y ; + :edge_u_ARG1_m :leaf_movie_m ; + :hasConcept :concept_use-01 ; + :hasVariable :variable_u . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +net:netProperty a owl:AnnotationProperty ; + rdfs:label "netProperty" . + +:AMR_Leaf a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_ObjectProperty a owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + +:AMR_Structure a owl:Class . + +:leaf_you_y a :AMR_Leaf ; + :hasConcept :concept_you ; + :hasVariable :variable_y . + +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +rdf:Property a owl:Class . + +:AMR_Edge a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +: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/composite-property-extraction-devGraph-1.ttl b/tests/dev_tests/test_data/composite-property-extraction-devGraph-1.ttl new file mode 100644 index 00000000..9fc182bf --- /dev/null +++ b/tests/dev_tests/test_data/composite-property-extraction-devGraph-1.ttl @@ -0,0 +1,891 @@ +@base <http://https://tenet.tetras-libre.fr/demo/clara/12//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:permit-01.ARG2 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_p_ARG2_y a :AMR_Edge ; + :hasAmrRole :role_ARG2 ; + :hasRoleID "ARG2" . + +:edge_u_ARG0_y a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_u_ARG1_m 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_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-12 a :AMR_Root ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#root01> ; + :hasRootLeaf :leaf_permit-01_p ; + :hasSentenceID "policy_asail_odrl_sentences-12" ; + :hasSentenceStatement "You may use the movie." . + +: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: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 ; + :role_ARG2 net:atomClass_you_y ; + 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-12" . + +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-12#root01> a ns21:AMR ; + ns21:has-id "policy_asail_odrl_sentences-12" ; + ns21:has-sentence "You may use the movie." ; + ns21:root <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#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_Predicat_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Relation_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Root a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:concept_movie rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:movie ; + :label "movie" . + +: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_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" . + +:role_ARG2 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG2" . + +:variable_m a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#m> ; + :label "m" . + +:variable_p a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#p> ; + :label "p" . + +:variable_u a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#u> ; + :label "u" . + +:variable_y a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#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_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_movie_m a net:Atom_Class_Net ; + net:coverBaseNode :leaf_movie_m ; + net:coverNode :leaf_movie_m ; + net:hasClassName "movie" ; + net:hasNaming "movie" ; + net:hasStructure "policy_asail_odrl_sentences-12" . + +net:atomProperty_use_u a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_you_y ; + :role_ARG1 net:atomClass_movie_m ; + net:coverBaseNode :leaf_use-01_u ; + net:coverNode :leaf_use-01_u ; + net:hasNaming "use" ; + net:hasPropertyName "use" ; + net:hasPropertyName01 "useing" ; + net:hasPropertyName10 "use-by" ; + net:hasPropertyName12 "use-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "policy_asail_odrl_sentences-12" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_movie_m, + :leaf_you_y . + +net: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-12#m> a ns2:movie ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#p> a ns11:permit-01 ; + ns11:permit-01.ARG1 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#u> ; + ns11:permit-01.ARG2 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#y> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#u> a ns11:use-01 ; + ns11:use-01.ARG0 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#y> ; + ns11:use-01.ARG1 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#m> ; + 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 . + +ns2:movie a ns21:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:you a ns21:Concept ; + 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_Term_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:Class_Net a owl:Class ; + rdfs:subClassOf net: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-12" . + +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#y> a ns2:you ; + 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 ; + :edge_p_ARG2_y :leaf_you_y ; + :hasConcept :concept_permit-01 ; + :hasVariable :variable_p . + +:leaf_use-01_u a :AMR_Leaf ; + :edge_u_ARG0_y :leaf_you_y ; + :edge_u_ARG1_m :leaf_movie_m ; + :hasConcept :concept_use-01 ; + :hasVariable :variable_u . + +:phenomena_modality a owl:Class ; + rdfs:subClassOf :AMR_Phenomena . + +: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:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +ns11:FrameRole a ns21:Role, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Element a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_movie_m a :AMR_Leaf ; + :hasConcept :concept_movie ; + :hasVariable :variable_m . + +:AMR_NonCore_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Role a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_you_y a :AMR_Leaf ; + :hasConcept :concept_you ; + :hasVariable :variable_y . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +net:netProperty a owl:AnnotationProperty ; + rdfs:label "netProperty" . + +:AMR_Leaf a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_ObjectProperty a owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + +:AMR_Structure a owl:Class . + +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +rdf:Property a owl:Class . + +:AMR_Edge a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +: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_composite_extractor.py b/tests/dev_tests/test_rule_composite_class_extractor.py similarity index 100% rename from tests/dev_tests/test_rule_composite_extractor.py rename to tests/dev_tests/test_rule_composite_class_extractor.py diff --git a/tests/dev_tests/test_rule_composite_property_extractor.py b/tests/dev_tests/test_rule_composite_property_extractor.py new file mode 100644 index 00000000..f0441155 --- /dev/null +++ b/tests/dev_tests/test_rule_composite_property_extractor.py @@ -0,0 +1,145 @@ +#!/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 = 'composite-property-extraction-devGraph-1' + +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_clara_rule.transduction import action_property_extractor as rule_1 +from tenet.scheme import amr_clara_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.property_net.n3(graph.namespace_manager)}' + print(result_str) + return pattern_set + + +def test_search_pattern_2(graph): + print('\n -- Step 1: Search Pattern') + _, pattern_set = rule_2.__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.property_net.n3(graph.namespace_manager)}' + 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) + 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}') + + 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.extract_action_property) + + print('\n *** - ***') \ No newline at end of file diff --git a/tests/input/amrDocuments/dev/asail_odrl_sentences/s12.stog.amr.ttl b/tests/input/amrDocuments/dev/asail_odrl_sentences/s12.stog.amr.ttl new file mode 100644 index 00000000..78bc3b7c --- /dev/null +++ b/tests/input/amrDocuments/dev/asail_odrl_sentences/s12.stog.amr.ttl @@ -0,0 +1,53 @@ +@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/policy_asail_odrl_sentences-12#root01> a ns2:AMR ; + ns2:has-id "policy_asail_odrl_sentences-12" ; + ns2:has-sentence "You may use the movie." ; + ns2:root <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#p> . + +ns1:permit-01.ARG1 a ns1:FrameRole . + +ns1:permit-01.ARG2 a ns1:FrameRole . + +ns1:use-01.ARG0 a ns1:FrameRole . + +ns1:use-01.ARG1 a ns1:FrameRole . + +ns2:NamedEntity a ns2:Concept ; + rdfs:label "AMR-EntityType", + "AMR-Term" . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#m> a <http://amr.isi.edu/rdf/amr-terms#movie> . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#p> a ns1:permit-01 ; + ns1:permit-01.ARG1 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#u> ; + ns1:permit-01.ARG2 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#y> . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#u> a ns1:use-01 ; + ns1:use-01.ARG0 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#y> ; + ns1:use-01.ARG1 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#m> . + +ns1:permit-01 a ns2:Frame . + +ns1:use-01 a ns2:Frame . + +<http://amr.isi.edu/rdf/amr-terms#movie> a ns2:Concept . + +<http://amr.isi.edu/rdf/amr-terms#you> a ns2:Concept . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-12#y> a <http://amr.isi.edu/rdf/amr-terms#you> . + +ns2:Frame a ns2:Concept ; + rdfs:label "AMR-PropBank-Frame" . + +ns1:FrameRole a ns2:Role ; + rdfs:label "AMR-PropBank-Role" . + diff --git a/tests/input/amrDocuments/dev/asail_odrl_sentences/s13.stog.amr.ttl b/tests/input/amrDocuments/dev/asail_odrl_sentences/s13.stog.amr.ttl new file mode 100644 index 00000000..2f508a74 --- /dev/null +++ b/tests/input/amrDocuments/dev/asail_odrl_sentences/s13.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/policy_asail_odrl_sentences-13#root01> a ns2:AMR ; + ns2:has-id "policy_asail_odrl_sentences-13" ; + ns2:has-sentence "You may use the Work." ; + ns2:root <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#p> . + +ns1:permit-01.ARG1 a ns1:FrameRole . + +ns1:use-01.ARG0 a ns1:FrameRole . + +ns1:use-01.ARG1 a ns1:FrameRole . + +ns2:NamedEntity a ns2:Concept ; + rdfs:label "AMR-EntityType", + "AMR-Term" . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#p> a ns1:permit-01 ; + ns1:permit-01.ARG1 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#u> . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#u> a ns1:use-01 ; + ns1:use-01.ARG0 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#y> ; + ns1:use-01.ARG1 <http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#w> . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#w> a ns1:work-01 . + +<http://amr.isi.edu/amr_data/policy_asail_odrl_sentences-13#y> a <http://amr.isi.edu/rdf/amr-terms#you> . + +ns1:permit-01 a ns2:Frame . + +ns1:use-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 67c4c8f0..82dec616 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 = '10' +uuid_num = '12' 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}' -- GitLab