diff --git a/tenet/scheme/amr_clara_rule/__init__.py b/tenet/scheme/amr_clara_rule/__init__.py index a4dd4a8c65cbcfb9b6e6ee02875ee7cb8d1b5322..e2afc58d9223feb54be78263f387bdb489395fe6 100644 --- a/tenet/scheme/amr_clara_rule/__init__.py +++ b/tenet/scheme/amr_clara_rule/__init__.py @@ -19,6 +19,8 @@ from scheme.amr_clara_rule.transduction.phenomena_polarity_analyzer_5 import * from scheme.amr_clara_rule.transduction.phenomena_mod_analyzer_1 import * from scheme.amr_clara_rule.transduction.phenomena_or_analyzer_1 import * from scheme.amr_clara_rule.transduction.phenomena_or_analyzer_2 import * +from scheme.amr_clara_rule.transduction.phenomena_and_analyzer_1 import * +from scheme.amr_clara_rule.transduction.phenomena_and_analyzer_2 import * from scheme.amr_clara_rule.transduction.odrl_action_extractor import * from scheme.amr_clara_rule.transduction.odrl_rule_extractor import * diff --git a/tenet/scheme/amr_clara_rule/transduction/phenomena_and_analyzer_1.py b/tenet/scheme/amr_clara_rule/transduction/phenomena_and_analyzer_1.py new file mode 100644 index 0000000000000000000000000000000000000000..81ef7ea9f1b98681fa30a56da55676f7860d37a5 --- /dev/null +++ b/tenet/scheme/amr_clara_rule/transduction/phenomena_and_analyzer_1.py @@ -0,0 +1,206 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: Rule to conjunctive phenomena and (rule 1) +#------------------------------------------------------------------------------ +# Net Expansion AMR rule to analyse conjunctive phenomena (and) +# Rule: property(class, and_phenomena) => 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: property(class, and_phenomena) +#============================================================================== + +CONJUNCTION_PHENOMENA_URI = 'amr:phenomena_conjunction_and' + +def __search_pattern(graph): + select_data_list = ['?property_net', '?class_net', '?phenomena_net'] + clause_list = [f'?property_net a [rdfs:subClassOf* net:Property_Net].', + f'?class_net a [rdfs:subClassOf* net:Class_Net].', + f'?phenomena_net a [rdfs:subClassOf* net:Phenomena_Net].', + f'?phenomena_net net:hasPhenomenaType {CONJUNCTION_PHENOMENA_URI}.', + f'?property_net amr:role_ARG0 ?class_net.', + f'?property_net amr:role_ARG1 ?phenomena_net.'] + query_code = generate_select_query(graph, select_data_list, clause_list) + result_set = graph.query(query_code) + return query_code, result_set + + + +#============================================================================== +# Useful Additional Search +#============================================================================== + +def __class_op_pattern_query_code(graph, phenomena_net_uri, num): + assert 1 <= num <= 9, f'invalid number ({num})' + select_data_list = ['?class_net'] + clause_list = [f'?class_net a [rdfs:subClassOf* net:Class_Net].'] + clause_list.append((phenomena_net_uri, f'amr:role_op{num}', '?class_net')) + query_code = generate_select_query(graph, select_data_list, clause_list) + return query_code + + +def __search_class_phenomena_operator(graph, phenomena_net_uri): + op_set = [] + for num in range(1, 9+1): + query_code = __class_op_pattern_query_code(graph, phenomena_net_uri, num) + op_set += graph.query(query_code) + return op_set + + + +#============================================================================== +# Useful Computation Method(s) +#============================================================================== + +def __filter_relation(relation_list): + result_list = [] + for relation in relation_list: + check = True + (s, p, o) = relation + if s == o: check = False + if check: result_list.append(relation) + return result_list + + +def __propagate_relation(target_net, base_net): + # -- target_net.input_relation_list = base_net.input_relation_list + out_relation_list = __filter_relation(base_net.output_relation_list) + target_net.output_relation_list = out_relation_list + + + +#============================================================================== +# Construct Method(s) +#============================================================================== + +def __construct_restriction_net(graph, property_net_1, property_net_2): + + restriction_net = net.RestrictionNet(graph) + restriction_net.compose(property_net_1, property_net_2) + + # -- Data Computation + restriction_net.restriction_property = property_net_1.uri + restriction_net.restriction_net_value = property_net_2.uri + + # -- Relation Propagation: None + + # -- Net Naming + restriction_net.naming = define_restriction_naming(property_net_1, property_net_2) + + # -- Finalization + restriction_net.finalize() + triple_list = restriction_net.generate_triple_definition() + + return restriction_net, triple_list + + + +def __construct_composite_class_net_from_3_nets( + graph, base_class_net, core_property_net, target_class_net): + + # -- Net Composition + composite_class_net = net.CompositePropertyNet(graph) + composite_class_net.compose(base_class_net, core_property_net, target_class_net) + + # -- Data Computation + composite_class_net.mother_class_net = base_class_net.uri + + # -- Restriction Computation + restriction_net, triple_list_1 = __construct_restriction_net(graph, core_property_net, target_class_net) + composite_class_net.restriction = restriction_net.uri + + # -- Relation Propagation + __propagate_relation(composite_class_net, base_class_net) + + # -- Net Naming + composite_class_net.naming = define_composite_naming_1( + base_class_net, core_property_net, target_class_net) + + # -- Finalization + composite_class_net.finalize() + triple_list_2 = composite_class_net.generate_triple_definition() + result_triple_list = triple_list_1 + triple_list_2 + + return composite_class_net, result_triple_list + + + +def __construct_class_union_net(graph, base_class_net, class_net_list): + + # -- Net Composition + class_union_net = net.PropertyUnionNet(graph) + class_union_net.compose(base_class_net, class_net_list) + + # -- Data Computation: None + + # -- Restriction Computation: None + + # -- Relation Propagation + __propagate_relation(class_union_net, base_class_net) + + # -- Net Naming + class_union_net.naming = define_union_naming(base_class_net) + + # -- Finalization + class_union_net.finalize() + triple_list = class_union_net.generate_triple_definition() + + return class_union_net, triple_list + + +#============================================================================== +# Main Method +#============================================================================== + +def analyze_phenomena_and_1(graph): + + # -- Rule Initialization + rule_label = 'analyze "and" phenomena (1)' + rule_triple_list = [] + + # -- Search for patterns + _, pattern_set = __search_pattern(graph) + + # -- Pattern Analysis + for pattern in pattern_set: + class_net_1 = net.ClassNet(graph, uri=pattern.class_net) + property_net = net.PropertyNet(graph, uri=pattern.property_net) + phenomena_net = net.PhenomenaNet(graph, uri=pattern.phenomena_net) + + # -- Search for phenomena operators + class_operator_set = __search_class_phenomena_operator(graph, phenomena_net.uri) + + # -- Selection Analyzing (2) + class_net_list = [] + for selection_2 in class_operator_set: + # print(f' *** DEVTEST *** {selection_2.class_net}') + + # -- Net Selection + class_net_2 = net.ClassNet(graph, uri=selection_2.class_net) + + # -- New Net Construction (from 3 nets) + new_class, triple_list = __construct_composite_class_net_from_3_nets( + graph, class_net_1, property_net, class_net_2) + + # -- Resulting List Update + class_net_list.append(new_class) + rule_triple_list += triple_list + + # -- Deprecation: Origin Class Net + rule_triple_list += class_net_1.deprecate() + + # -- New Net Construction (as union of properties) + # _, triple_list = __construct_class_union_net(graph, class_net_1, class_net_list) + # rule_triple_list += triple_list + + return rule_label, rule_triple_list \ No newline at end of file diff --git a/tenet/scheme/amr_clara_rule/transduction/phenomena_and_analyzer_2.py b/tenet/scheme/amr_clara_rule/transduction/phenomena_and_analyzer_2.py new file mode 100644 index 0000000000000000000000000000000000000000..67a27ad2cb5d3c0cb5854b09133371a19b758239 --- /dev/null +++ b/tenet/scheme/amr_clara_rule/transduction/phenomena_and_analyzer_2.py @@ -0,0 +1,210 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: Rule to conjunctive phenomena and (rule 2) +#------------------------------------------------------------------------------ +# Net Expansion AMR rule to analyse conjunctive phenomena (and) +# Rule: property(property, and_phenomena) => compositeProperty +#============================================================================== + +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 + + +#============================================================================== +# Search for patterns: property(property, and_phenomena) +#============================================================================== + +CONJUNCTION_PHENOMENA_URI = 'amr:phenomena_conjunction_and' + +def __search_pattern(graph): + select_data_list = ['?property_net_core', '?property_net_arg0', '?phenomena_net'] + clause_list = [f'?property_net_core a [rdfs:subClassOf* net:Property_Net].', + f'?property_net_arg0 a [rdfs:subClassOf* net:Property_Net].', + f'?phenomena_net a [rdfs:subClassOf* net:Phenomena_Net].', + f'?phenomena_net net:hasPhenomenaType {CONJUNCTION_PHENOMENA_URI}.', + f'?property_net_core amr:role_ARG0 ?property_net_arg0.', + f'?property_net_core amr:role_ARG1 ?phenomena_net.'] + query_code = generate_select_query(graph, select_data_list, clause_list) + result_set = graph.query(query_code) + return query_code, result_set + + + +#============================================================================== +# Search for phenomena operators: +#============================================================================== + +def __property_op_pattern_query_code(graph, phenomena_net_uri, num): + assert 1 <= num <= 9, f'invalid number ({num})' + select_data_list = ['?property_net'] + clause_list = [f'?property_net a [rdfs:subClassOf* net:Property_Net].'] + clause_list.append((phenomena_net_uri, f'amr:role_op{num}', '?property_net')) + query_code = generate_select_query(graph, select_data_list, clause_list) + return query_code + + +def __search_property_phenomena_operator(graph, phenomena_net_uri): + op_set = [] + for num in range(1, 9+1): + query_code = __property_op_pattern_query_code(graph, phenomena_net_uri, num) + op_set += graph.query(query_code) + return op_set + + + +#============================================================================== +# Relation Propagation +#============================================================================== + +def __filter_relation(relation_list): + result_list = [] + for relation in relation_list: + check = True + (s, p, o) = relation + if s == o: check = False + if check: result_list.append(relation) + return result_list + + +def __propagate_relation(target_net, base_net): + # -- target_net.input_relation_list = base_net.input_relation_list + out_relation_list = __filter_relation(base_net.output_relation_list) + target_net.output_relation_list = out_relation_list + + + +#============================================================================== +# Construct Methods: construction of composite property net +#============================================================================== + +def __construct_restriction_net(graph, property_net_1, property_net_2): + + restriction_net = net.RestrictionNet(graph) + restriction_net.compose(property_net_1, property_net_2) + + # -- Data Computation + restriction_net.restriction_property = property_net_1.uri + restriction_net.restriction_net_value = property_net_2.uri + + # -- Relation Propagation: None + + # -- Net Naming + restriction_net.naming = define_restriction_naming(property_net_1, property_net_2) + + # -- Finalization + restriction_net.finalize() + triple_list = restriction_net.generate_triple_definition() + + return restriction_net, triple_list + + + +def __construct_composite_property_net_from_3_properties( + graph, base_property_net, core_property_net, target_property_net): + + # -- Net Composition + composite_property_net = net.CompositePropertyNet(graph) + composite_property_net.compose(base_property_net, core_property_net, target_property_net) + + # -- Data Computation + composite_property_net.mother_property_net = base_property_net.uri + composite_property_net.property_type = 'owl:ObjectProperty' + + # -- Restriction Computation + restriction_net, triple_list_1 = __construct_restriction_net(graph, core_property_net, target_property_net) + composite_property_net.restriction = restriction_net.uri + + # -- Relation Propagation + __propagate_relation(composite_property_net, base_property_net) + + # -- Net Naming + composite_property_net.naming = define_composite_naming_1( + base_property_net, core_property_net, target_property_net) + + # -- Finalization + composite_property_net.finalize() + triple_list_2 = composite_property_net.generate_triple_definition() + result_triple_list = triple_list_1 + triple_list_2 + + return composite_property_net, result_triple_list + + + +def __construct_property_union_net(graph, base_property_net, property_net_list): + + # -- Net Composition + property_union_net = net.PropertyUnionNet(graph) + property_union_net.compose(base_property_net, property_net_list) + + # -- Data Computation: None + + # -- Restriction Computation: None + + # -- Relation Propagation + __propagate_relation(property_union_net, base_property_net) + + # -- Net Naming + property_union_net.naming = define_union_naming(base_property_net) + + # -- Finalization + property_union_net.finalize() + triple_list = property_union_net.generate_triple_definition() + + return property_union_net, triple_list + + + +#============================================================================== +# Main Method: analyze_phenomena_and_2 +#============================================================================== + +def analyze_phenomena_and_2(graph): + + # -- Rule Initialization + rule_label = 'analyze "and" phenomena (2)' + rule_triple_list = [] + + # -- Search for patterns + _, pattern_set = __search_pattern(graph) + + # -- Pattern Analysis + for pattern in pattern_set: + property_net_1 = net.PropertyNet(graph, uri=pattern.property_net_arg0) + property_net_2 = net.PropertyNet(graph, uri=pattern.property_net_core) + phenomena_net = net.PhenomenaNet(graph, uri=pattern.phenomena_net) + + # -- Search for phenomena operators + property_operator_set = __search_property_phenomena_operator(graph, phenomena_net.uri) + + # -- Selection Analyzing (2) + property_net_list = [] + for selection_2 in property_operator_set: + # print(f' *** DEVTEST *** {selection_2.property_net}') + + # -- Net Selection + property_net_3 = net.PropertyNet(graph, uri=selection_2.property_net) + + # -- New Net Construction (from 3 property nets) + new_property, triple_list = __construct_composite_property_net_from_3_properties( + graph, property_net_1, property_net_2, property_net_3) + + # -- Resulting List Update + property_net_list.append(new_property) + rule_triple_list += triple_list + + # -- Deprecation: Origin Property Net + rule_triple_list += property_net_1.deprecate() + + # -- New Net Construction (as union of properties) + # _, triple_list = __construct_property_union_net(graph, property_net_1, property_net_list) + # rule_triple_list += triple_list + + return rule_label, rule_triple_list + + \ No newline at end of file diff --git a/tenet/scheme/amr_scheme_clara_1.py b/tenet/scheme/amr_scheme_clara_1.py index 88bc556d00d62c556f05b7a821d7b4c7e74737b1..6e0965bd4d6025463fb7ba21782e005fb4dfb42c 100644 --- a/tenet/scheme/amr_scheme_clara_1.py +++ b/tenet/scheme/amr_scheme_clara_1.py @@ -192,7 +192,9 @@ phenomena_analyze_sequence_1 = ['phenomena analyze sequence (1)', phenomena_analyze_sequence_2 = ['phenomena analyze sequence (2)', rule.analyze_phenomena_or_1, - rule.analyze_phenomena_or_2] + rule.analyze_phenomena_or_2, + rule.analyze_phenomena_and_1, + rule.analyze_phenomena_and_2] composite_class_extraction_sequence = ['composite class extraction sequence', rule.extract_composite_class_1, diff --git a/tenet/tenet.log b/tenet/tenet.log index ad737fd0ca4ef556293295dcca2fec4562a9bd04..d7f1b3d46e3381fad463c2ceaf98d135a7dd9f71 100644 --- a/tenet/tenet.log +++ b/tenet/tenet.log @@ -50,7 +50,7 @@ ----- output file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06.ttl *** - *** - DEBUG - -- Counting number of graph files (sentences) -- INFO - ----- Number of Graphs: 9 +- INFO - ----- Number of Graphs: 11 - INFO - === Extraction Processing === - INFO - *** sentence 1 *** @@ -64,75 +64,77 @@ - DEBUG - -------- Base Ontology produced as output (530) - 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/s11.stog.amr.ttl (561) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-1/tenet.tetras-libre.fr_demo_clara_06.ttl -- INFO - ----- Sentence (id): asail_odrl_sentences-05 -- INFO - ----- Sentence (text): Movie9899 can be displayed only after 2019. +- INFO - ----- Sentence (id): asail_odrl_sentences-11 +- INFO - ----- Sentence (text): John is obligated to reproduce the movie and the picture. - INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) - DEBUG - ----- Step number: 3 - INFO - -- Loading Extraction Rules (amr_clara_rule/*) - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (560, 0:00:00.036923) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (561, 0:00:00.029480) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (565, 0:00:00.115527) -- INFO - ----- reclassify-concept-2: 8/8 new triples (573, 0:00:00.058537) -- INFO - ----- reclassify-concept-3: 4/4 new triples (577, 0:00:00.046254) -- INFO - ----- reclassify-concept-4: 8/8 new triples (585, 0:00:00.058727) -- DEBUG - ----- reclassify-concept-5: 0/0 new triple (585, 0:00:00.046772) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (585, 0:00:00.045987) -- INFO - ----- reclassify-existing-variable: 25/25 new triples (610, 0:00:00.030600) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (610, 0:00:00.040958) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (628, 0:00:00.033568) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (628, 0:00:00.037406) -- INFO - ----- add-amr-edge-for-core-relation: 15/15 new triples (643, 0:00:00.106846) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (643, 0:00:00.083781) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (648, 0:00:00.074208) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (648, 0:00:00.070137) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (648, 0:00:00.094279) -- INFO - ----- update-amr-edge-role-1: 5/5 new triples (653, 0:00:00.051120) -- INFO - ----- add-amr-root: 5/5 new triples (658, 0:00:00.024393) +- INFO - ----- reclassify-concept-1: 10/10 new triples (571, 0:00:00.184571) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (571, 0:00:00.087279) +- INFO - ----- reclassify-concept-3: 4/4 new triples (575, 0:00:00.074475) +- INFO - ----- reclassify-concept-4: 4/4 new triples (579, 0:00:00.105633) +- INFO - ----- reclassify-concept-5: 8/8 new triples (587, 0:00:00.050919) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (587, 0:00:00.073846) +- INFO - ----- reclassify-existing-variable: 25/25 new triples (612, 0:00:00.125435) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (612, 0:00:00.077420) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (630, 0:00:00.054106) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (630, 0:00:00.044946) +- INFO - ----- add-amr-edge-for-core-relation: 18/18 new triples (648, 0:00:00.109781) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (648, 0:00:00.080806) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (653, 0:00:00.088756) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (653, 0:00:00.114203) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (653, 0:00:00.104636) +- INFO - ----- update-amr-edge-role-1: 7/7 new triples (660, 0:00:00.066371) +- INFO - ----- add-amr-root: 5/5 new triples (665, 0:00:00.035283) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-1/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//preprocessing -- INFO - ----- 98 triples extracted during preprocessing step +- INFO - ----- 104 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.072020) -- INFO - ----- extract atom individuals: 8/8 new triples (678, 0:00:00.046655) -- INFO - ----- extract atomic properties: 36/36 new triples (714, 0:00:00.197352) -- INFO - ----- extract atom values: 5/5 new triples (719, 0:00:00.028267) -- INFO - ----- extract atom phenomena: 7/7 new triples (726, 0:00:00.037152) -- INFO - ----- propagate atom relations: 11/30 new triples (737, 0:00:00.521450) +- INFO - ----- extract atom classes: 18/18 new triples (683, 0:00:00.116755) +- INFO - ----- extract atom individuals: 8/8 new triples (691, 0:00:00.065555) +- INFO - ----- extract atomic properties: 13/13 new triples (704, 0:00:00.060003) +- INFO - ----- extract atom values: 5/5 new triples (709, 0:00:00.044800) +- INFO - ----- extract atom phenomena: 14/14 new triples (723, 0:00:00.090684) +- INFO - ----- propagate atom relations: 16/46 new triples (739, 0:00:00.556302) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (737, 0:00:00.007876) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (737, 0:00:00.013552) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (737, 0:00:00.016216) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (737, 0:00:00.031187) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (737, 0:00:00.039191) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (737, 0:00:00.009354) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (739, 0:00:00.011083) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (739, 0:00:00.014672) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (739, 0:00:00.015257) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (739, 0:00:00.036307) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (739, 0:00:00.050914) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (739, 0:00:00.012480) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (737, 0:00:00.017509) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (737, 0:00:00.010148) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (739, 0:00:00.011516) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (739, 0:00:00.013267) +- INFO - ----- analyze "and" phenomena (1): 44/47 new triples (783, 0:00:00.217234) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (783, 0:00:00.014830) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (737, 0:00:00.023526) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (737, 0:00:00.026598) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (783, 0:00:00.026627) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (783, 0:00:00.020885) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 11/12 new triples (748, 0:00:00.119875) -- INFO - ----- extract ODRL rules: 11/11 new triples (759, 0:00:00.109284) +- INFO - ----- extract ODRL actions: 11/12 new triples (794, 0:00:00.122367) +- INFO - ----- extract ODRL rules: 11/11 new triples (805, 0:00:00.125886) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-1/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//transduction -- INFO - ----- 101 triples extracted during transduction step +- INFO - ----- 140 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.068705) +- INFO - ----- generate ODRL rule: 1/1 new triple (806, 0:00:00.099313) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ @@ -153,66 +155,68 @@ - DEBUG - -------- Base Ontology produced as output (530) - 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/s05.stog.amr.ttl (560) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-2/tenet.tetras-libre.fr_demo_clara_06.ttl -- INFO - ----- Sentence (id): asail_odrl_sentences-03 -- INFO - ----- Sentence (text): John is not allowed to play the movie. +- INFO - ----- Sentence (id): asail_odrl_sentences-05 +- INFO - ----- Sentence (text): Movie9899 can be displayed only after 2019. - INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) - DEBUG - ----- Step number: 3 - INFO - -- Loading Extraction Rules (amr_clara_rule/*) - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (552, 0:00:00.033897) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (560, 0:00:00.038993) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (557, 0:00:00.125054) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (557, 0:00:00.061433) -- INFO - ----- reclassify-concept-3: 4/4 new triples (561, 0:00:00.062283) -- INFO - ----- reclassify-concept-4: 4/4 new triples (565, 0:00:00.066571) -- INFO - ----- reclassify-concept-5: 4/4 new triples (569, 0:00:00.048644) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (569, 0:00:00.054264) -- INFO - ----- reclassify-existing-variable: 17/17 new triples (586, 0:00:00.036581) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (586, 0:00:00.054443) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (598, 0:00:00.033332) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (598, 0:00:00.029671) -- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (607, 0:00:00.095269) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (607, 0:00:00.077713) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (612, 0:00:00.079002) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (612, 0:00:00.080232) -- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (617, 0:00:00.159620) -- INFO - ----- update-amr-edge-role-1: 5/5 new triples (622, 0:00:00.045684) -- INFO - ----- add-amr-root: 5/5 new triples (627, 0:00:00.024441) +- INFO - ----- reclassify-concept-1: 5/5 new triples (565, 0:00:00.206240) +- INFO - ----- reclassify-concept-2: 8/8 new triples (573, 0:00:00.106618) +- INFO - ----- reclassify-concept-3: 4/4 new triples (577, 0:00:00.135705) +- INFO - ----- reclassify-concept-4: 8/8 new triples (585, 0:00:00.074115) +- DEBUG - ----- reclassify-concept-5: 0/0 new triple (585, 0:00:00.055443) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (585, 0:00:00.057354) +- INFO - ----- reclassify-existing-variable: 25/25 new triples (610, 0:00:00.037588) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (610, 0:00:00.065305) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (628, 0:00:00.054806) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (628, 0:00:00.043832) +- INFO - ----- add-amr-edge-for-core-relation: 15/15 new triples (643, 0:00:00.138569) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (643, 0:00:00.088159) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (648, 0:00:00.078691) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (648, 0:00:00.098412) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (648, 0:00:00.076904) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (653, 0:00:00.045794) +- INFO - ----- add-amr-root: 5/5 new triples (658, 0:00:00.029122) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-2/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//preprocessing -- INFO - ----- 75 triples extracted during preprocessing step +- 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 (639, 0:00:00.067243) -- INFO - ----- extract atom individuals: 8/8 new triples (647, 0:00:00.047393) -- INFO - ----- extract atomic properties: 13/13 new triples (660, 0:00:00.045024) -- INFO - ----- extract atom values: 10/10 new triples (670, 0:00:00.070049) -- INFO - ----- extract atom phenomena: 7/7 new triples (677, 0:00:00.052715) -- INFO - ----- propagate atom relations: 11/28 new triples (688, 0:00:00.442880) +- INFO - ----- extract atom classes: 12/12 new triples (670, 0:00:00.090222) +- INFO - ----- extract atom individuals: 8/8 new triples (678, 0:00:00.063131) +- INFO - ----- extract atomic properties: 36/36 new triples (714, 0:00:00.152099) +- INFO - ----- extract atom values: 5/5 new triples (719, 0:00:00.038974) +- INFO - ----- extract atom phenomena: 7/7 new triples (726, 0:00:00.050120) +- INFO - ----- propagate atom relations: 11/30 new triples (737, 0:00:00.615993) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (688, 0:00:00.014354) -- INFO - ----- analyze "polarity" phenomena (2): 13/15 new triples (701, 0:00:00.074091) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (701, 0:00:00.016848) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (701, 0:00:00.030785) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (701, 0:00:00.029614) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (701, 0:00:00.007994) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (737, 0:00:00.010102) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (737, 0:00:00.020356) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (737, 0:00:00.013248) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (737, 0:00:00.038459) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (737, 0:00:00.044799) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (737, 0:00:00.011345) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (701, 0:00:00.017309) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (701, 0:00:00.012614) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (737, 0:00:00.012576) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (737, 0:00:00.015106) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (737, 0:00:00.015456) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (737, 0:00:00.018809) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (701, 0:00:00.021504) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (701, 0:00:00.018956) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (737, 0:00:00.022452) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (737, 0:00:00.021145) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 15/17 new triples (716, 0:00:00.119438) -- INFO - ----- extract ODRL rules: 12/12 new triples (728, 0:00:00.125679) +- INFO - ----- extract ODRL actions: 11/12 new triples (748, 0:00:00.121971) +- INFO - ----- extract ODRL rules: 11/11 new triples (759, 0:00:00.128213) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ @@ -221,7 +225,7 @@ - INFO - ----- 101 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (729, 0:00:00.080821) +- INFO - ----- generate ODRL rule: 1/1 new triple (760, 0:00:00.075611) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ @@ -242,75 +246,77 @@ - DEBUG - -------- Base Ontology produced as output (530) - 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/s03.stog.amr.ttl (552) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-3/tenet.tetras-libre.fr_demo_clara_06.ttl -- INFO - ----- Sentence (id): asail_odrl_sentences-07 -- INFO - ----- Sentence (text): John is prohibited not to reproduce the Work. +- INFO - ----- Sentence (id): asail_odrl_sentences-03 +- INFO - ----- Sentence (text): John is not allowed to play the movie. - INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) - DEBUG - ----- Step number: 3 - INFO - -- Loading Extraction Rules (amr_clara_rule/*) - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (553, 0:00:00.024157) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (552, 0:00:00.033009) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (558, 0:00:00.118098) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (558, 0:00:00.062341) -- INFO - ----- reclassify-concept-3: 8/8 new triples (566, 0:00:00.054130) -- DEBUG - ----- reclassify-concept-4: 0/0 new triple (566, 0:00:00.068256) -- INFO - ----- reclassify-concept-5: 4/4 new triples (570, 0:00:00.044570) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (570, 0:00:00.051368) -- INFO - ----- reclassify-existing-variable: 17/17 new triples (587, 0:00:00.032951) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (587, 0:00:00.058414) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (599, 0:00:00.038841) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (599, 0:00:00.038287) -- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (611, 0:00:00.102759) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (611, 0:00:00.092550) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (616, 0:00:00.146769) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (616, 0:00:00.075911) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (616, 0:00:00.075294) -- INFO - ----- update-amr-edge-role-1: 5/5 new triples (621, 0:00:00.037033) -- INFO - ----- add-amr-root: 5/5 new triples (626, 0:00:00.025040) +- INFO - ----- reclassify-concept-1: 5/5 new triples (557, 0:00:00.115394) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (557, 0:00:00.070092) +- INFO - ----- reclassify-concept-3: 4/4 new triples (561, 0:00:00.047658) +- INFO - ----- reclassify-concept-4: 4/4 new triples (565, 0:00:00.066489) +- INFO - ----- reclassify-concept-5: 4/4 new triples (569, 0:00:00.052590) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (569, 0:00:00.056417) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (586, 0:00:00.040610) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (586, 0:00:00.088478) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (598, 0:00:00.051857) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (598, 0:00:00.048584) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (607, 0:00:00.134906) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (607, 0:00:00.102057) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (612, 0:00:00.076087) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (612, 0:00:00.097096) +- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (617, 0:00:00.125162) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (622, 0:00:00.055011) +- INFO - ----- add-amr-root: 5/5 new triples (627, 0:00:00.042087) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-3/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//preprocessing -- INFO - ----- 73 triples extracted during preprocessing step +- INFO - ----- 75 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.036188) -- INFO - ----- extract atom individuals: 8/8 new triples (640, 0:00:00.051644) -- INFO - ----- extract atomic properties: 24/24 new triples (664, 0:00:00.077383) -- INFO - ----- extract atom values: 5/5 new triples (669, 0:00:00.028447) -- INFO - ----- extract atom phenomena: 7/7 new triples (676, 0:00:00.042951) -- INFO - ----- propagate atom relations: 12/38 new triples (688, 0:00:00.473471) +- INFO - ----- extract atom classes: 12/12 new triples (639, 0:00:00.093688) +- INFO - ----- extract atom individuals: 8/8 new triples (647, 0:00:00.057693) +- INFO - ----- extract atomic properties: 13/13 new triples (660, 0:00:00.059303) +- INFO - ----- extract atom values: 10/10 new triples (670, 0:00:00.077504) +- INFO - ----- extract atom phenomena: 7/7 new triples (677, 0:00:00.046942) +- INFO - ----- propagate atom relations: 11/28 new triples (688, 0:00:00.406163) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (688, 0:00:00.012390) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (688, 0:00:00.013330) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (688, 0:00:00.015670) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (688, 0:00:00.039878) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (688, 0:00:00.038318) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (688, 0:00:00.007519) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (688, 0:00:00.012250) +- INFO - ----- analyze "polarity" phenomena (2): 13/15 new triples (701, 0:00:00.094159) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (701, 0:00:00.021364) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (701, 0:00:00.048962) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (701, 0:00:00.049213) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (701, 0:00:00.012103) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (688, 0:00:00.012118) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (688, 0:00:00.014931) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (701, 0:00:00.017527) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (701, 0:00:00.011114) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (701, 0:00:00.011472) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (701, 0:00:00.015927) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (688, 0:00:00.021452) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (688, 0:00:00.021410) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (701, 0:00:00.026968) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (701, 0:00:00.022259) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 11/12 new triples (699, 0:00:00.137797) -- INFO - ----- extract ODRL rules: 11/11 new triples (710, 0:00:00.127402) +- INFO - ----- extract ODRL actions: 15/17 new triples (716, 0:00:00.124623) +- INFO - ----- extract ODRL rules: 12/12 new triples (728, 0:00:00.154124) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-3/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//transduction -- INFO - ----- 84 triples extracted during transduction step +- INFO - ----- 101 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (711, 0:00:00.085131) +- INFO - ----- generate ODRL rule: 1/1 new triple (729, 0:00:00.069941) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ @@ -331,75 +337,77 @@ - DEBUG - -------- Base Ontology produced as output (530) - 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/s07.stog.amr.ttl (553) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-4/tenet.tetras-libre.fr_demo_clara_06.ttl -- INFO - ----- Sentence (id): asail_odrl_sentences-09 -- INFO - ----- Sentence (text): John is obligated not to reproduce the Work. +- INFO - ----- Sentence (id): asail_odrl_sentences-07 +- INFO - ----- Sentence (text): John is prohibited not to reproduce the Work. - INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) - DEBUG - ----- Step number: 3 - INFO - -- Loading Extraction Rules (amr_clara_rule/*) - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (554, 0:00:00.036439) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (553, 0:00:00.041295) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (559, 0:00:00.104860) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (559, 0:00:00.045767) -- INFO - ----- reclassify-concept-3: 8/8 new triples (567, 0:00:00.053142) -- DEBUG - ----- reclassify-concept-4: 0/0 new triple (567, 0:00:00.065776) -- INFO - ----- reclassify-concept-5: 4/4 new triples (571, 0:00:00.036900) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (571, 0:00:00.041088) -- INFO - ----- reclassify-existing-variable: 17/17 new triples (588, 0:00:00.030651) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (588, 0:00:00.048025) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (600, 0:00:00.122799) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (600, 0:00:00.040829) -- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (612, 0:00:00.090198) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (612, 0:00:00.070716) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (617, 0:00:00.069440) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (617, 0:00:00.060541) -- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (622, 0:00:00.082610) -- INFO - ----- update-amr-edge-role-1: 6/6 new triples (628, 0:00:00.040891) -- INFO - ----- add-amr-root: 5/5 new triples (633, 0:00:00.028868) +- INFO - ----- reclassify-concept-1: 5/5 new triples (558, 0:00:00.132019) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (558, 0:00:00.117309) +- INFO - ----- reclassify-concept-3: 8/8 new triples (566, 0:00:00.065724) +- DEBUG - ----- reclassify-concept-4: 0/0 new triple (566, 0:00:00.064151) +- INFO - ----- reclassify-concept-5: 4/4 new triples (570, 0:00:00.042527) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (570, 0:00:00.049339) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (587, 0:00:00.050279) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (587, 0:00:00.061955) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (599, 0:00:00.034296) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (599, 0:00:00.040588) +- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (611, 0:00:00.095362) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (611, 0:00:00.066661) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (616, 0:00:00.056369) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (616, 0:00:00.063999) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (616, 0:00:00.061782) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (621, 0:00:00.030057) +- INFO - ----- add-amr-root: 5/5 new triples (626, 0:00:00.028816) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-4/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//preprocessing -- INFO - ----- 79 triples extracted during preprocessing step +- 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 (639, 0:00:00.039103) -- INFO - ----- extract atom individuals: 8/8 new triples (647, 0:00:00.051808) -- INFO - ----- extract atomic properties: 25/25 new triples (672, 0:00:00.092903) -- INFO - ----- extract atom values: 10/10 new triples (682, 0:00:00.055521) -- INFO - ----- extract atom phenomena: 7/7 new triples (689, 0:00:00.040099) -- INFO - ----- propagate atom relations: 14/40 new triples (703, 0:00:00.397458) +- INFO - ----- extract atom classes: 6/6 new triples (632, 0:00:00.035835) +- INFO - ----- extract atom individuals: 8/8 new triples (640, 0:00:00.034190) +- INFO - ----- extract atomic properties: 24/24 new triples (664, 0:00:00.080005) +- INFO - ----- extract atom values: 5/5 new triples (669, 0:00:00.025099) +- INFO - ----- extract atom phenomena: 7/7 new triples (676, 0:00:00.041306) +- INFO - ----- propagate atom relations: 12/38 new triples (688, 0:00:00.378460) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- INFO - ----- analyze "polarity" phenomena (1): 35/42 new triples (738, 0:00:00.109890) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (738, 0:00:00.016606) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (738, 0:00:00.015841) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (738, 0:00:00.033634) -- INFO - ----- analyze "polarity" phenomena (5): 15/19 new triples (753, 0:00:00.084708) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (753, 0:00:00.010438) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (688, 0:00:00.007574) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (688, 0:00:00.013675) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (688, 0:00:00.012468) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (688, 0:00:00.040685) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (688, 0:00:00.042044) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (688, 0:00:00.010468) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (753, 0:00:00.011378) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (753, 0:00:00.011560) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (688, 0:00:00.013740) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (688, 0:00:00.012785) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (688, 0:00:00.018230) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (688, 0:00:00.023726) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (753, 0:00:00.024387) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (753, 0:00:00.019458) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (688, 0:00:00.040832) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (688, 0:00:00.036430) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 12/14 new triples (765, 0:00:00.130892) -- INFO - ----- extract ODRL rules: 11/11 new triples (776, 0:00:00.131060) +- INFO - ----- extract ODRL actions: 11/12 new triples (699, 0:00:00.150637) +- INFO - ----- extract ODRL rules: 11/11 new triples (710, 0:00:00.118313) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-4/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//transduction -- INFO - ----- 143 triples extracted during transduction step +- INFO - ----- 84 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (777, 0:00:00.080756) +- INFO - ----- generate ODRL rule: 1/1 new triple (711, 0:00:00.074739) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ @@ -420,75 +428,77 @@ - DEBUG - -------- Base Ontology produced as output (530) - 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/s09.stog.amr.ttl (554) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-5/tenet.tetras-libre.fr_demo_clara_06.ttl -- INFO - ----- Sentence (id): asail_odrl_sentences-06 -- INFO - ----- Sentence (text): John is not allowed to play the movie. +- INFO - ----- Sentence (id): asail_odrl_sentences-09 +- INFO - ----- Sentence (text): John is obligated not to reproduce the Work. - INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) - DEBUG - ----- Step number: 3 - INFO - -- Loading Extraction Rules (amr_clara_rule/*) - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (552, 0:00:00.036668) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (554, 0:00:00.122194) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (557, 0:00:00.118547) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (557, 0:00:00.063135) -- INFO - ----- reclassify-concept-3: 4/4 new triples (561, 0:00:00.061094) -- INFO - ----- reclassify-concept-4: 4/4 new triples (565, 0:00:00.076517) -- INFO - ----- reclassify-concept-5: 4/4 new triples (569, 0:00:00.134791) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (569, 0:00:00.053703) -- INFO - ----- reclassify-existing-variable: 17/17 new triples (586, 0:00:00.029246) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (586, 0:00:00.054151) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (598, 0:00:00.041515) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (598, 0:00:00.037999) -- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (607, 0:00:00.101620) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (607, 0:00:00.096763) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (612, 0:00:00.082625) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (612, 0:00:00.093437) -- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (617, 0:00:00.073358) -- INFO - ----- update-amr-edge-role-1: 5/5 new triples (622, 0:00:00.041059) -- INFO - ----- add-amr-root: 5/5 new triples (627, 0:00:00.034890) +- INFO - ----- reclassify-concept-1: 5/5 new triples (559, 0:00:00.125087) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (559, 0:00:00.060976) +- INFO - ----- reclassify-concept-3: 8/8 new triples (567, 0:00:00.059343) +- DEBUG - ----- reclassify-concept-4: 0/0 new triple (567, 0:00:00.069390) +- INFO - ----- reclassify-concept-5: 4/4 new triples (571, 0:00:00.047021) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (571, 0:00:00.054188) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (588, 0:00:00.042508) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (588, 0:00:00.057144) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (600, 0:00:00.035102) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (600, 0:00:00.033445) +- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (612, 0:00:00.100098) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (612, 0:00:00.068089) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (617, 0:00:00.082489) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (617, 0:00:00.076169) +- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (622, 0:00:00.072431) +- INFO - ----- update-amr-edge-role-1: 6/6 new triples (628, 0:00:00.048208) +- INFO - ----- add-amr-root: 5/5 new triples (633, 0:00:00.031110) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-5/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//preprocessing -- INFO - ----- 75 triples extracted during preprocessing step +- INFO - ----- 79 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.068852) -- INFO - ----- extract atom individuals: 8/8 new triples (647, 0:00:00.046162) -- INFO - ----- extract atomic properties: 13/13 new triples (660, 0:00:00.045696) -- INFO - ----- extract atom values: 10/10 new triples (670, 0:00:00.060752) -- INFO - ----- extract atom phenomena: 7/7 new triples (677, 0:00:00.044294) -- INFO - ----- propagate atom relations: 11/28 new triples (688, 0:00:00.404866) +- INFO - ----- extract atom classes: 6/6 new triples (639, 0:00:00.038791) +- INFO - ----- extract atom individuals: 8/8 new triples (647, 0:00:00.053770) +- INFO - ----- extract atomic properties: 25/25 new triples (672, 0:00:00.081141) +- INFO - ----- extract atom values: 10/10 new triples (682, 0:00:00.058423) +- INFO - ----- extract atom phenomena: 7/7 new triples (689, 0:00:00.040018) +- INFO - ----- propagate atom relations: 14/40 new triples (703, 0:00:00.431918) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (688, 0:00:00.009112) -- INFO - ----- analyze "polarity" phenomena (2): 13/15 new triples (701, 0:00:00.064310) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (701, 0:00:00.014507) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (701, 0:00:00.029800) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (701, 0:00:00.028425) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (701, 0:00:00.008411) +- INFO - ----- analyze "polarity" phenomena (1): 35/42 new triples (738, 0:00:00.114543) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (738, 0:00:00.014757) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (738, 0:00:00.015106) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (738, 0:00:00.034782) +- INFO - ----- analyze "polarity" phenomena (5): 15/19 new triples (753, 0:00:00.079731) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (753, 0:00:00.012978) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (701, 0:00:00.013847) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (701, 0:00:00.015070) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (753, 0:00:00.012713) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (753, 0:00:00.009944) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (753, 0:00:00.010562) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (753, 0:00:00.010405) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (701, 0:00:00.019553) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (701, 0:00:00.017349) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (753, 0:00:00.024130) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (753, 0:00:00.022106) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 15/17 new triples (716, 0:00:00.121874) -- INFO - ----- extract ODRL rules: 12/12 new triples (728, 0:00:00.121943) +- INFO - ----- extract ODRL actions: 12/14 new triples (765, 0:00:00.135140) +- INFO - ----- extract ODRL rules: 11/11 new triples (776, 0:00:00.118894) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-5/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//transduction -- INFO - ----- 101 triples extracted during transduction step +- 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 (729, 0:00:00.089328) +- INFO - ----- generate ODRL rule: 1/1 new triple (777, 0:00:00.068482) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ @@ -509,83 +519,85 @@ - DEBUG - -------- Base Ontology produced as output (530) - 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/s10.stog.amr.ttl (565) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-6/tenet.tetras-libre.fr_demo_clara_06.ttl -- INFO - ----- Sentence (id): asail_odrl_sentences-04 -- INFO - ----- Sentence (text): Movie9899 can be displayed only in Germany. +- INFO - ----- Sentence (id): asail_odrl_sentences-10 +- INFO - ----- Sentence (text): John is obligated to reproduce and distribute the Work. - INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) - DEBUG - ----- Step number: 3 - INFO - -- Loading Extraction Rules (amr_clara_rule/*) - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (556, 0:00:00.027362) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (565, 0:00:00.027135) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (561, 0:00:00.215070) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (561, 0:00:00.065321) -- INFO - ----- reclassify-concept-3: 4/4 new triples (565, 0:00:00.049954) -- INFO - ----- reclassify-concept-4: 8/8 new triples (573, 0:00:00.083164) -- INFO - ----- reclassify-concept-5: 4/4 new triples (577, 0:00:00.054823) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (577, 0:00:00.045772) -- INFO - ----- reclassify-existing-variable: 22/22 new triples (599, 0:00:00.033684) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (599, 0:00:00.060475) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 15/15 new triples (614, 0:00:00.039139) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (614, 0:00:00.033717) -- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (626, 0:00:00.098263) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (626, 0:00:00.089773) -- INFO - ----- add-amr-edge-for-name-relation: 10/10 new triples (636, 0:00:00.082097) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (636, 0:00:00.085202) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (636, 0:00:00.088331) -- INFO - ----- update-amr-edge-role-1: 6/6 new triples (642, 0:00:00.048087) -- INFO - ----- add-amr-root: 5/5 new triples (647, 0:00:00.025679) +- INFO - ----- reclassify-concept-1: 10/10 new triples (575, 0:00:00.145785) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (575, 0:00:00.062650) +- INFO - ----- reclassify-concept-3: 12/12 new triples (587, 0:00:00.062679) +- DEBUG - ----- reclassify-concept-4: 0/0 new triple (587, 0:00:00.063640) +- INFO - ----- reclassify-concept-5: 4/4 new triples (591, 0:00:00.057829) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (591, 0:00:00.056453) +- INFO - ----- reclassify-existing-variable: 25/25 new triples (616, 0:00:00.043505) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (616, 0:00:00.050119) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (634, 0:00:00.042505) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (634, 0:00:00.036804) +- INFO - ----- add-amr-edge-for-core-relation: 24/24 new triples (658, 0:00:00.104417) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (658, 0:00:00.086862) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (663, 0:00:00.072573) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (663, 0:00:00.083753) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (663, 0:00:00.074131) +- INFO - ----- update-amr-edge-role-1: 9/9 new triples (672, 0:00:00.063818) +- INFO - ----- add-amr-root: 5/5 new triples (677, 0:00:00.025209) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-6/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//preprocessing -- INFO - ----- 91 triples extracted during preprocessing step +- INFO - ----- 112 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.107672) -- INFO - ----- extract atom individuals: 16/16 new triples (681, 0:00:00.086632) -- INFO - ----- extract atomic properties: 13/13 new triples (694, 0:00:00.049437) -- INFO - ----- extract atom values: 10/10 new triples (704, 0:00:00.051376) -- INFO - ----- extract atom phenomena: 7/7 new triples (711, 0:00:00.036834) -- INFO - ----- propagate atom relations: 15/52 new triples (726, 0:00:00.542057) +- INFO - ----- extract atom classes: 6/6 new triples (683, 0:00:00.034772) +- INFO - ----- extract atom individuals: 8/8 new triples (691, 0:00:00.058626) +- INFO - ----- extract atomic properties: 37/37 new triples (728, 0:00:00.123398) +- INFO - ----- extract atom values: 5/5 new triples (733, 0:00:00.029408) +- INFO - ----- extract atom phenomena: 14/14 new triples (747, 0:00:00.068612) +- INFO - ----- propagate atom relations: 19/62 new triples (766, 0:00:00.552402) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (726, 0:00:00.012683) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (726, 0:00:00.015977) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (726, 0:00:00.016489) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (726, 0:00:00.029169) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (726, 0:00:00.029569) -- INFO - ----- analyze modifier phenomena (mod): 21/25 new triples (747, 0:00:00.099888) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (766, 0:00:00.009456) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (766, 0:00:00.087835) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (766, 0:00:00.019679) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (766, 0:00:00.029507) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (766, 0:00:00.030777) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (766, 0:00:00.007382) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (747, 0:00:00.015511) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (747, 0:00:00.011003) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (766, 0:00:00.009257) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (766, 0:00:00.008901) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (766, 0:00:00.009774) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (766, 0:00:00.011477) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (747, 0:00:00.024495) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (747, 0:00:00.020557) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (766, 0:00:00.023589) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (766, 0:00:00.015968) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 11/12 new triples (758, 0:00:00.124792) -- INFO - ----- extract ODRL rules: 11/11 new triples (769, 0:00:00.121126) +- DEBUG - ----- extract ODRL actions: 0/0 new triple (766, 0:00:00.022642) +- DEBUG - ----- extract ODRL rules: 0/0 new triple (766, 0:00:00.067946) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-6/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//transduction -- INFO - ----- 122 triples extracted during transduction step +- INFO - ----- 89 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.181507) +- DEBUG - ----- generate ODRL rule: 0/0 new triple (766, 0:00:00.005287) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-6/tenet.tetras-libre.fr_demo_clara_06_generation.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//generation -- INFO - ----- 1 triples extracted during generation step +- INFO - ----- 0 triples extracted during generation step - DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-6/tenet.tetras-libre.fr_demo_clara_06_factoid.ttl) -- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Number of factoids: 0 - DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/06//factoid - INFO - *** sentence 7 *** - INFO - -- Work Structure Preparation @@ -598,75 +610,77 @@ - DEBUG - -------- Base Ontology produced as output (530) - 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/s06.stog.amr.ttl (552) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-7/tenet.tetras-libre.fr_demo_clara_06.ttl -- INFO - ----- Sentence (id): asail_odrl_sentences-01 -- INFO - ----- Sentence (text): Movie9898 can be used. +- INFO - ----- Sentence (id): asail_odrl_sentences-06 +- INFO - ----- Sentence (text): John is not allowed to play the movie. - INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) - DEBUG - ----- Step number: 3 - INFO - -- Loading Extraction Rules (amr_clara_rule/*) - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (547, 0:00:00.041268) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (552, 0:00:00.021765) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (552, 0:00:00.239869) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (552, 0:00:00.076134) -- INFO - ----- reclassify-concept-3: 4/4 new triples (556, 0:00:00.040492) -- INFO - ----- reclassify-concept-4: 4/4 new triples (560, 0:00:00.063367) -- DEBUG - ----- reclassify-concept-5: 0/0 new triple (560, 0:00:00.038054) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (560, 0:00:00.043772) -- INFO - ----- reclassify-existing-variable: 13/13 new triples (573, 0:00:00.025644) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (573, 0:00:00.046208) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 9/9 new triples (582, 0:00:00.033376) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (582, 0:00:00.026599) -- INFO - ----- add-amr-edge-for-core-relation: 6/6 new triples (588, 0:00:00.080992) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (588, 0:00:00.073086) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (593, 0:00:00.074926) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (593, 0:00:00.062092) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (593, 0:00:00.069564) -- INFO - ----- update-amr-edge-role-1: 3/3 new triples (596, 0:00:00.025390) -- INFO - ----- add-amr-root: 5/5 new triples (601, 0:00:00.021986) +- INFO - ----- reclassify-concept-1: 5/5 new triples (557, 0:00:00.117946) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (557, 0:00:00.052671) +- INFO - ----- reclassify-concept-3: 4/4 new triples (561, 0:00:00.041684) +- INFO - ----- reclassify-concept-4: 4/4 new triples (565, 0:00:00.057603) +- INFO - ----- reclassify-concept-5: 4/4 new triples (569, 0:00:00.042906) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (569, 0:00:00.043762) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (586, 0:00:00.025929) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (586, 0:00:00.046678) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (598, 0:00:00.030424) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (598, 0:00:00.025977) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (607, 0:00:00.082981) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (607, 0:00:00.060399) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (612, 0:00:00.057156) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (612, 0:00:00.061725) +- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (617, 0:00:00.070491) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (622, 0:00:00.031811) +- INFO - ----- add-amr-root: 5/5 new triples (627, 0:00:00.020621) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-7/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//preprocessing -- INFO - ----- 54 triples extracted during preprocessing step +- INFO - ----- 75 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.034270) -- INFO - ----- extract atom individuals: 8/8 new triples (615, 0:00:00.065058) -- INFO - ----- extract atomic properties: 12/12 new triples (627, 0:00:00.051281) -- INFO - ----- extract atom values: 5/5 new triples (632, 0:00:00.047310) -- INFO - ----- extract atom phenomena: 7/7 new triples (639, 0:00:00.038085) -- INFO - ----- propagate atom relations: 7/22 new triples (646, 0:00:00.377316) +- INFO - ----- extract atom classes: 12/12 new triples (639, 0:00:00.059034) +- INFO - ----- extract atom individuals: 8/8 new triples (647, 0:00:00.035437) +- INFO - ----- extract atomic properties: 13/13 new triples (660, 0:00:00.043585) +- INFO - ----- extract atom values: 10/10 new triples (670, 0:00:00.042352) +- INFO - ----- extract atom phenomena: 7/7 new triples (677, 0:00:00.040749) +- INFO - ----- propagate atom relations: 11/28 new triples (688, 0:00:00.298781) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (646, 0:00:00.009378) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (646, 0:00:00.013550) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (646, 0:00:00.014833) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (646, 0:00:00.045156) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (646, 0:00:00.033539) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (646, 0:00:00.007712) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (688, 0:00:00.006701) +- INFO - ----- analyze "polarity" phenomena (2): 13/15 new triples (701, 0:00:00.050775) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (701, 0:00:00.011068) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (701, 0:00:00.031922) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (701, 0:00:00.032328) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (701, 0:00:00.007306) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (646, 0:00:00.012436) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (646, 0:00:00.011418) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (701, 0:00:00.010538) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (701, 0:00:00.009440) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (701, 0:00:00.009069) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (701, 0:00:00.016754) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (646, 0:00:00.023639) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (646, 0:00:00.020145) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (701, 0:00:00.024205) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (701, 0:00:00.016856) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 11/12 new triples (657, 0:00:00.113399) -- INFO - ----- extract ODRL rules: 11/11 new triples (668, 0:00:00.109372) +- INFO - ----- extract ODRL actions: 15/17 new triples (716, 0:00:00.120291) +- INFO - ----- extract ODRL rules: 12/12 new triples (728, 0:00:00.187267) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-7/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//transduction -- INFO - ----- 67 triples extracted during transduction step +- INFO - ----- 101 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (669, 0:00:00.070824) +- INFO - ----- generate ODRL rule: 1/1 new triple (729, 0:00:00.064087) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ @@ -687,75 +701,77 @@ - DEBUG - -------- Base Ontology produced as output (530) - 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/s04.stog.amr.ttl (556) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-8/tenet.tetras-libre.fr_demo_clara_06.ttl -- INFO - ----- Sentence (id): asail_odrl_sentences-08 -- INFO - ----- Sentence (text): John is not allowed not to reproduce the Work. +- INFO - ----- Sentence (id): asail_odrl_sentences-04 +- INFO - ----- Sentence (text): Movie9899 can be displayed only in Germany. - INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) - DEBUG - ----- Step number: 3 - INFO - -- Loading Extraction Rules (amr_clara_rule/*) - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (553, 0:00:00.025388) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (556, 0:00:00.027778) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (558, 0:00:00.121476) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (558, 0:00:00.067428) -- INFO - ----- reclassify-concept-3: 8/8 new triples (566, 0:00:00.054030) -- DEBUG - ----- reclassify-concept-4: 0/0 new triple (566, 0:00:00.060180) -- INFO - ----- reclassify-concept-5: 4/4 new triples (570, 0:00:00.057378) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (570, 0:00:00.050403) -- INFO - ----- reclassify-existing-variable: 17/17 new triples (587, 0:00:00.041783) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (587, 0:00:00.052092) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (599, 0:00:00.045680) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (599, 0:00:00.036421) -- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (608, 0:00:00.089970) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (608, 0:00:00.086585) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (613, 0:00:00.066845) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (613, 0:00:00.074438) -- INFO - ----- add-amr-edge-for-polarity-relation: 8/8 new triples (621, 0:00:00.082295) -- INFO - ----- update-amr-edge-role-1: 6/6 new triples (627, 0:00:00.057875) -- INFO - ----- add-amr-root: 5/5 new triples (632, 0:00:00.029471) +- INFO - ----- reclassify-concept-1: 5/5 new triples (561, 0:00:00.101585) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (561, 0:00:00.048289) +- INFO - ----- reclassify-concept-3: 4/4 new triples (565, 0:00:00.046269) +- INFO - ----- reclassify-concept-4: 8/8 new triples (573, 0:00:00.061051) +- INFO - ----- reclassify-concept-5: 4/4 new triples (577, 0:00:00.048339) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (577, 0:00:00.037888) +- INFO - ----- reclassify-existing-variable: 22/22 new triples (599, 0:00:00.032770) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (599, 0:00:00.046526) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 15/15 new triples (614, 0:00:00.029563) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (614, 0:00:00.033307) +- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (626, 0:00:00.075026) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (626, 0:00:00.064015) +- INFO - ----- add-amr-edge-for-name-relation: 10/10 new triples (636, 0:00:00.066447) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (636, 0:00:00.054814) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (636, 0:00:00.072952) +- INFO - ----- update-amr-edge-role-1: 6/6 new triples (642, 0:00:00.034709) +- INFO - ----- add-amr-root: 5/5 new triples (647, 0:00:00.021089) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-8/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//preprocessing -- INFO - ----- 79 triples extracted during preprocessing step +- INFO - ----- 91 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.041984) -- INFO - ----- extract atom individuals: 8/8 new triples (646, 0:00:00.040378) -- INFO - ----- extract atomic properties: 25/25 new triples (671, 0:00:00.074969) -- INFO - ----- extract atom values: 10/10 new triples (681, 0:00:00.051836) -- INFO - ----- extract atom phenomena: 7/7 new triples (688, 0:00:00.039009) -- INFO - ----- propagate atom relations: 12/30 new triples (700, 0:00:00.455260) +- INFO - ----- extract atom classes: 18/18 new triples (665, 0:00:00.084722) +- INFO - ----- extract atom individuals: 16/16 new triples (681, 0:00:00.055624) +- INFO - ----- extract atomic properties: 13/13 new triples (694, 0:00:00.039897) +- INFO - ----- extract atom values: 10/10 new triples (704, 0:00:00.042854) +- INFO - ----- extract atom phenomena: 7/7 new triples (711, 0:00:00.042083) +- INFO - ----- propagate atom relations: 15/52 new triples (726, 0:00:00.535599) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- INFO - ----- analyze "polarity" phenomena (1): 35/42 new triples (735, 0:00:00.100453) -- INFO - ----- analyze "polarity" phenomena (2): 14/17 new triples (749, 0:00:00.063677) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (749, 0:00:00.020476) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (749, 0:00:00.033043) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (749, 0:00:00.033802) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (749, 0:00:00.011741) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (726, 0:00:00.006579) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (726, 0:00:00.012414) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (726, 0:00:00.011290) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (726, 0:00:00.028279) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (726, 0:00:00.026244) +- INFO - ----- analyze modifier phenomena (mod): 21/25 new triples (747, 0:00:00.071784) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (749, 0:00:00.014457) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (749, 0:00:00.016878) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (747, 0:00:00.009534) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (747, 0:00:00.009277) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (747, 0:00:00.008524) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (747, 0:00:00.008829) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (749, 0:00:00.022107) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (749, 0:00:00.018460) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (747, 0:00:00.016778) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (747, 0:00:00.016988) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 12/14 new triples (761, 0:00:00.116854) -- INFO - ----- extract ODRL rules: 11/11 new triples (772, 0:00:00.120739) +- INFO - ----- extract ODRL actions: 11/12 new triples (758, 0:00:00.093457) +- INFO - ----- extract ODRL rules: 11/11 new triples (769, 0:00:00.088490) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-8/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//transduction -- INFO - ----- 140 triples extracted during transduction step +- INFO - ----- 122 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.081893) +- INFO - ----- generate ODRL rule: 1/1 new triple (770, 0:00:00.054985) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ @@ -776,75 +792,77 @@ - DEBUG - -------- Base Ontology produced as output (530) - 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/s01.stog.amr.ttl (547) - DEBUG - --- Export work graph as turtle - DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-9/tenet.tetras-libre.fr_demo_clara_06.ttl -- INFO - ----- Sentence (id): asail_odrl_sentences-02 -- INFO - ----- Sentence (text): John must play the movie. +- INFO - ----- Sentence (id): asail_odrl_sentences-01 +- INFO - ----- Sentence (text): Movie9898 can be used. - INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) - DEBUG - ----- Step number: 3 - INFO - -- Loading Extraction Rules (amr_clara_rule/*) - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (551, 0:00:00.026760) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (547, 0:00:00.025291) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (556, 0:00:00.133450) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (556, 0:00:00.063236) -- INFO - ----- reclassify-concept-3: 4/4 new triples (560, 0:00:00.044043) -- INFO - ----- reclassify-concept-4: 4/4 new triples (564, 0:00:00.076241) -- INFO - ----- reclassify-concept-5: 4/4 new triples (568, 0:00:00.059806) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (568, 0:00:00.057537) -- INFO - ----- reclassify-existing-variable: 17/17 new triples (585, 0:00:00.038064) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (585, 0:00:00.060755) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (597, 0:00:00.038036) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (597, 0:00:00.033429) -- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (606, 0:00:00.101773) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (606, 0:00:00.077886) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (611, 0:00:00.078761) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (611, 0:00:00.162881) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (611, 0:00:00.081050) -- INFO - ----- update-amr-edge-role-1: 4/4 new triples (615, 0:00:00.032170) -- INFO - ----- add-amr-root: 5/5 new triples (620, 0:00:00.026791) +- INFO - ----- reclassify-concept-1: 5/5 new triples (552, 0:00:00.097556) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (552, 0:00:00.047175) +- INFO - ----- reclassify-concept-3: 4/4 new triples (556, 0:00:00.041552) +- INFO - ----- reclassify-concept-4: 4/4 new triples (560, 0:00:00.049510) +- DEBUG - ----- reclassify-concept-5: 0/0 new triple (560, 0:00:00.043545) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (560, 0:00:00.043721) +- INFO - ----- reclassify-existing-variable: 13/13 new triples (573, 0:00:00.029070) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (573, 0:00:00.052784) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 9/9 new triples (582, 0:00:00.027521) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (582, 0:00:00.033307) +- INFO - ----- add-amr-edge-for-core-relation: 6/6 new triples (588, 0:00:00.070931) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (588, 0:00:00.075497) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (593, 0:00:00.075877) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (593, 0:00:00.078878) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (593, 0:00:00.070735) +- INFO - ----- update-amr-edge-role-1: 3/3 new triples (596, 0:00:00.022902) +- INFO - ----- add-amr-root: 5/5 new triples (601, 0:00:00.109793) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-9/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//preprocessing -- INFO - ----- 69 triples extracted during preprocessing step +- INFO - ----- 54 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.080839) -- INFO - ----- extract atom individuals: 8/8 new triples (640, 0:00:00.041714) -- INFO - ----- extract atomic properties: 13/13 new triples (653, 0:00:00.047734) -- INFO - ----- extract atom values: 5/5 new triples (658, 0:00:00.030491) -- INFO - ----- extract atom phenomena: 7/7 new triples (665, 0:00:00.040102) -- INFO - ----- propagate atom relations: 10/26 new triples (675, 0:00:00.354812) +- INFO - ----- extract atom classes: 6/6 new triples (607, 0:00:00.034214) +- INFO - ----- extract atom individuals: 8/8 new triples (615, 0:00:00.059438) +- INFO - ----- extract atomic properties: 12/12 new triples (627, 0:00:00.056905) +- INFO - ----- extract atom values: 5/5 new triples (632, 0:00:00.026488) +- INFO - ----- extract atom phenomena: 7/7 new triples (639, 0:00:00.035437) +- INFO - ----- propagate atom relations: 7/22 new triples (646, 0:00:00.268637) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (675, 0:00:00.009172) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (675, 0:00:00.012514) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (675, 0:00:00.016782) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (675, 0:00:00.034264) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (675, 0:00:00.033376) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (675, 0:00:00.011714) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (646, 0:00:00.007573) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (646, 0:00:00.015049) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (646, 0:00:00.011751) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (646, 0:00:00.032896) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (646, 0:00:00.026368) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (646, 0:00:00.006573) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (675, 0:00:00.013416) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (675, 0:00:00.011886) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (646, 0:00:00.009932) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (646, 0:00:00.009476) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (646, 0:00:00.008969) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (646, 0:00:00.008881) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (675, 0:00:00.026214) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (675, 0:00:00.021397) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (646, 0:00:00.022120) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (646, 0:00:00.019714) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 14/15 new triples (689, 0:00:00.129458) -- INFO - ----- extract ODRL rules: 12/12 new triples (701, 0:00:00.129295) +- INFO - ----- extract ODRL actions: 11/12 new triples (657, 0:00:00.096352) +- INFO - ----- extract ODRL rules: 11/11 new triples (668, 0:00:00.097255) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-9/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//transduction -- INFO - ----- 81 triples extracted during transduction step +- INFO - ----- 67 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.091941) +- INFO - ----- generate ODRL rule: 1/1 new triple (669, 0:00:00.057157) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ @@ -854,10 +872,192 @@ - DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-9/tenet.tetras-libre.fr_demo_clara_06_factoid.ttl) - DEBUG - ----- Number of factoids: 1 - DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/06//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 - ----- Frame Ontology Loading +- DEBUG - -------- Base Ontology produced as output (530) +- 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 - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-10/tenet.tetras-libre.fr_demo_clara_06.ttl +- INFO - ----- Sentence (id): asail_odrl_sentences-08 +- INFO - ----- Sentence (text): John is not allowed not to reproduce the Work. +- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) +- DEBUG - ----- Step number: 3 +- INFO - -- Loading Extraction Rules (amr_clara_rule/*) +- DEBUG - ----- Total rule number: 87 +- INFO - -- Applying extraction step: preprocessing +- INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (553, 0:00:00.022469) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (558, 0:00:00.100560) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (558, 0:00:00.056768) +- INFO - ----- reclassify-concept-3: 8/8 new triples (566, 0:00:00.036632) +- DEBUG - ----- reclassify-concept-4: 0/0 new triple (566, 0:00:00.053603) +- INFO - ----- reclassify-concept-5: 4/4 new triples (570, 0:00:00.035877) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (570, 0:00:00.037751) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (587, 0:00:00.028239) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (587, 0:00:00.041474) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (599, 0:00:00.034253) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (599, 0:00:00.027708) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (608, 0:00:00.085033) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (608, 0:00:00.059600) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (613, 0:00:00.144513) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (613, 0:00:00.058719) +- INFO - ----- add-amr-edge-for-polarity-relation: 8/8 new triples (621, 0:00:00.067786) +- INFO - ----- update-amr-edge-role-1: 6/6 new triples (627, 0:00:00.043655) +- INFO - ----- add-amr-root: 5/5 new triples (632, 0:00:00.032576) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-10/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//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.036272) +- INFO - ----- extract atom individuals: 8/8 new triples (646, 0:00:00.039079) +- INFO - ----- extract atomic properties: 25/25 new triples (671, 0:00:00.070991) +- INFO - ----- extract atom values: 10/10 new triples (681, 0:00:00.047632) +- INFO - ----- extract atom phenomena: 7/7 new triples (688, 0:00:00.037408) +- INFO - ----- propagate atom relations: 12/30 new triples (700, 0:00:00.317639) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- INFO - ----- analyze "polarity" phenomena (1): 35/42 new triples (735, 0:00:00.085099) +- INFO - ----- analyze "polarity" phenomena (2): 14/17 new triples (749, 0:00:00.058657) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (749, 0:00:00.012648) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (749, 0:00:00.034400) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (749, 0:00:00.028350) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (749, 0:00:00.007101) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (749, 0:00:00.011415) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (749, 0:00:00.009026) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (749, 0:00:00.010197) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (749, 0:00:00.016254) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (749, 0:00:00.026858) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (749, 0:00:00.018853) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 12/14 new triples (761, 0:00:00.103216) +- INFO - ----- extract ODRL rules: 11/11 new triples (772, 0:00:00.098374) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-10/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//transduction +- INFO - ----- 140 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.064187) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-10/tenet.tetras-libre.fr_demo_clara_06_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-10/tenet.tetras-libre.fr_demo_clara_06_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/06//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 - ----- Frame Ontology Loading +- DEBUG - -------- Base Ontology produced as output (530) +- 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 - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-11/tenet.tetras-libre.fr_demo_clara_06.ttl +- INFO - ----- Sentence (id): asail_odrl_sentences-02 +- INFO - ----- Sentence (text): John must play the movie. +- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) +- DEBUG - ----- Step number: 3 +- INFO - -- Loading Extraction Rules (amr_clara_rule/*) +- DEBUG - ----- Total rule number: 87 +- INFO - -- Applying extraction step: preprocessing +- INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (551, 0:00:00.027442) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (556, 0:00:00.095161) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (556, 0:00:00.052323) +- INFO - ----- reclassify-concept-3: 4/4 new triples (560, 0:00:00.047927) +- INFO - ----- reclassify-concept-4: 4/4 new triples (564, 0:00:00.060180) +- INFO - ----- reclassify-concept-5: 4/4 new triples (568, 0:00:00.042240) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (568, 0:00:00.038871) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (585, 0:00:00.032364) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (585, 0:00:00.126156) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (597, 0:00:00.038630) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (597, 0:00:00.035030) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (606, 0:00:00.080454) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (606, 0:00:00.060857) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (611, 0:00:00.074942) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (611, 0:00:00.071937) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (611, 0:00:00.072551) +- INFO - ----- update-amr-edge-role-1: 4/4 new triples (615, 0:00:00.031088) +- INFO - ----- add-amr-root: 5/5 new triples (620, 0:00:00.021601) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-11/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//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.064508) +- INFO - ----- extract atom individuals: 8/8 new triples (640, 0:00:00.039274) +- INFO - ----- extract atomic properties: 13/13 new triples (653, 0:00:00.039512) +- INFO - ----- extract atom values: 5/5 new triples (658, 0:00:00.033050) +- INFO - ----- extract atom phenomena: 7/7 new triples (665, 0:00:00.044302) +- INFO - ----- propagate atom relations: 10/26 new triples (675, 0:00:00.342424) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (675, 0:00:00.006840) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (675, 0:00:00.011165) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (675, 0:00:00.015775) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (675, 0:00:00.031216) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (675, 0:00:00.031275) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (675, 0:00:00.007895) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (675, 0:00:00.013074) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (675, 0:00:00.008960) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (675, 0:00:00.009167) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (675, 0:00:00.008926) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (675, 0:00:00.028243) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (675, 0:00:00.017516) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 14/15 new triples (689, 0:00:00.113400) +- INFO - ----- extract ODRL rules: 12/12 new triples (701, 0:00:00.099937) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-11/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//transduction +- INFO - ----- 81 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.072909) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-11/tenet.tetras-libre.fr_demo_clara_06_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-11/tenet.tetras-libre.fr_demo_clara_06_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/06//factoid - INFO - === Final Ontology Generation === - INFO - -- Making complete factoid graph by merging the result factoids -- INFO - ----- Total factoid number: 9 +- INFO - ----- Total factoid number: 10 - INFO - -- Serializing graph to factoid string - INFO - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/06//factoid - INFO - -- Serializing graph to factoid file @@ -867,6 +1067,6 @@ - INFO - *** Execution Time *** ----- Function: create_ontology_from_amrld_dir (tenet.main) ------ Total Time: 0:00:24.946716 ------ Process Time: 0:00:24.468895 +----- Total Time: 0:00:29.988663 +----- Process Time: 0:00:29.676404 *** - *** diff --git a/tests/dev_tests/test_data/negation-devGraph-1.result.ttl b/tests/dev_tests/test_data/negation-devGraph-1.result.ttl index 749ab4c0a99df604737e0c870d9edb5566697176..e326552a969c9e8b39213bd2c9628a4d1dc96c73 100644 --- a/tests/dev_tests/test_data/negation-devGraph-1.result.ttl +++ b/tests/dev_tests/test_data/negation-devGraph-1.result.ttl @@ -546,30 +546,6 @@ net:atomType a owl:AnnotationProperty ; rdfs:label "atom type" ; rdfs:subPropertyOf net:objectType . -net:axiom_disjointProperty_not-share_share_s a net:Axiom_Net ; - net:composeFrom net:atomProperty_share_s, - net:compositeProperty_not-share_s ; - net:coverBaseNode :leaf_share-01_s ; - net:coverNode :leaf_share-01_s ; - net:hasAxiomName "disjointProperty" ; - net:hasAxiomURI owl:propertyDisjointWith ; - net:hasNaming "disjointProperty_not-share_share" ; - net:hasNetArgument net:atomProperty_share_s, - net:compositeProperty_not-share_s ; - net:hasStructure "cc-sentence-examples-03" . - -net:axiom_disjointProperty_share_not-share_s a net:Axiom_Net ; - net:composeFrom net:atomProperty_share_s, - net:compositeProperty_not-share_s ; - net:coverBaseNode :leaf_share-01_s ; - net:coverNode :leaf_share-01_s ; - net:hasAxiomName "disjointProperty" ; - net:hasAxiomURI owl:propertyDisjointWith ; - net:hasNaming "disjointProperty_share_not-share" ; - net:hasNetArgument net:atomProperty_share_s, - net:compositeProperty_not-share_s ; - net:hasStructure "cc-sentence-examples-03" . - net:class a owl:Class ; rdfs:label "class" ; rdfs:subClassOf net:Type . @@ -919,6 +895,15 @@ sys:Feature a owl:Class ; sys:Out_AnnotationProperty a owl:AnnotationProperty . +net:Axiom_Net a owl:Class ; + rdfs:subClassOf net: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 . @@ -968,8 +953,7 @@ net:phenomena_conjunction-AND_a a net:Phenomena_Net ; net:phenomena_conjunction_c a net:Phenomena_Net ; :role_ARG1 net:atomProperty_license_l2 ; - :role_ARG2 net:atomProperty_share_s, - net:compositeProperty_not-share_s ; + :role_ARG2 net:atomProperty_share_s ; net:coverBaseNode :leaf_contrast-01_c ; net:coverNode :leaf_contrast-01_c ; net:hasNaming "conjunction" ; @@ -1012,6 +996,13 @@ net:restriction_shareing_material a net:Restriction_Net ; net:hasRestrictionNetValue net:atomClass_material_m ; net:hasRestrictionOnProperty net:atomProperty_share_s . +net:value_negative_blankNode a net:Value_Net ; + net:hasNaming "negative" ; + net:hasStructure "cc-sentence-examples-03" ; + net:hasValueLabel "negative" ; + net:trackProgress net:initialized, + net:relation_propagated . + <http://amr.isi.edu/amr_data/cc-sentence-examples-03#a> a ns3:and ; ns2:op1 <http://amr.isi.edu/amr_data/cc-sentence-examples-03#p2> ; ns2:op2 <http://amr.isi.edu/amr_data/cc-sentence-examples-03#r> ; @@ -1116,12 +1107,6 @@ sys:Out_ObjectProperty a owl:ObjectProperty . net:Class_Net a owl:Class ; rdfs:subClassOf net:Net . -net:Composite_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 . @@ -1156,16 +1141,36 @@ net:atomProperty_license_l2 a net:Atom_Property_Net ; net:trackProgress net:initialized, net:relation_propagated . -net:objectProperty a owl:AnnotationProperty ; - rdfs:label "object attribute" . - -net:value_negative_blankNode a net:Value_Net ; - net:hasNaming "negative" ; +net:atomProperty_share_s a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_you_y, + net:compositeClass_you-produceing-material_y, + net:compositeClass_you-reproduceing-material_y, + net:compositeClass_you-shareing-material_y, + net:individual_you-produceing-material_fromClass, + net:individual_you-reproduceing-material_fromClass, + net:individual_you-shareing-material_fromClass, + net:individual_you_fromClass ; + :role_ARG1 net:atomClass_material_m ; + :role_polarity net:value_negative_blankNode ; + net:coverBaseNode :leaf_share-01_s ; + net:coverNode :leaf_share-01_s ; + net:hasNaming "share" ; + net:hasPropertyName "share" ; + net:hasPropertyName01 "shareing" ; + net:hasPropertyName10 "share-by" ; + net:hasPropertyName12 "share-of" ; + net:hasPropertyType owl:ObjectProperty ; net:hasStructure "cc-sentence-examples-03" ; - net:hasValueLabel "negative" ; + net:isCoreRoleLinked true ; + net:targetArgumentNode :leaf_material_m, + :leaf_you_y, + :value_negative ; net:trackProgress net:initialized, net:relation_propagated . +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + <http://amr.isi.edu/amr_data/cc-sentence-examples-03#l> a ns11:license-01 ; ns2:mod <http://amr.isi.edu/amr_data/cc-sentence-examples-03#t> ; rdfs:subClassOf :AMR_Linked_Data . @@ -1216,9 +1221,6 @@ ns11:license-01 a ns3:Frame ; net:Atom_Class_Net a owl:Class ; rdfs:subClassOf net:Class_Net . -net:Axiom_Net a owl:Class ; - rdfs:subClassOf net:Net . - net:Composite_Class_Net a owl:Class ; rdfs:subClassOf net:Class_Net . @@ -1304,22 +1306,52 @@ sys:Out_Structure a owl:Class ; net:Individual_Net a owl:Class ; rdfs:subClassOf net:Net . -net:compositeProperty_not-share_s a net:Composite_Property_Net ; - :role_ARG0 net:atomClass_you_y, +net:individual_you-produceing-material_fromClass a net:Individual_Net ; + net:coverBaseNode :leaf_you_y ; + net:coverNode :leaf_you_y ; + net:fromClassNet net:compositeClass_you-produceing-material_y ; + net:hasBaseClassName "Feature" ; + net:hasIndividualLabel "you-produceing-material" ; + net:hasMotherClassNet net:atomClass_you_y, net:compositeClass_you-produceing-material_y, net:compositeClass_you-reproduceing-material_y, - net:compositeClass_you-shareing-material_y, - net:individual_you-produceing-material_fromClass, - net:individual_you-reproduceing-material_fromClass, - net:individual_you-shareing-material_fromClass, - net:individual_you_fromClass ; - :role_ARG1 net:atomClass_material_m ; - :role_polarity net:value_negative_blankNode ; - net:composeFrom net:atomProperty_share_s ; - net:coverBaseNode :leaf_share-01_s ; - net:coverNode :leaf_share-01_s ; - net:hasNaming "not-share" ; - net:hasPropertyType owl:ObjectProperty ; + net:compositeClass_you-shareing-material_y ; + net:hasStructure "cc-sentence-examples-03" . + +net:individual_you-reproduceing-material_fromClass a net:Individual_Net ; + net:coverBaseNode :leaf_you_y ; + net:coverNode :leaf_you_y ; + net:fromClassNet net:compositeClass_you-reproduceing-material_y ; + net:hasBaseClassName "Feature" ; + net:hasIndividualLabel "you-reproduceing-material" ; + net:hasMotherClassNet net:atomClass_you_y, + net:compositeClass_you-produceing-material_y, + net:compositeClass_you-reproduceing-material_y, + net:compositeClass_you-shareing-material_y ; + net:hasStructure "cc-sentence-examples-03" . + +net:individual_you-shareing-material_fromClass a net:Individual_Net ; + net:coverBaseNode :leaf_you_y ; + net:coverNode :leaf_you_y ; + net:fromClassNet net:compositeClass_you-shareing-material_y ; + net:hasBaseClassName "Feature" ; + net:hasIndividualLabel "you-shareing-material" ; + net:hasMotherClassNet net:atomClass_you_y, + net:compositeClass_you-produceing-material_y, + net:compositeClass_you-reproduceing-material_y, + net:compositeClass_you-shareing-material_y ; + net:hasStructure "cc-sentence-examples-03" . + +net:individual_you_fromClass a net:Individual_Net ; + net:coverBaseNode :leaf_you_y ; + net:coverNode :leaf_you_y ; + net:fromClassNet net:atomClass_you_y ; + net:hasBaseClassName "Feature" ; + net:hasIndividualLabel "you" ; + net:hasMotherClassNet net:atomClass_you_y, + net:compositeClass_you-produceing-material_y, + net:compositeClass_you-reproduceing-material_y, + net:compositeClass_you-shareing-material_y ; net:hasStructure "cc-sentence-examples-03" . net:netProperty a owl:AnnotationProperty ; @@ -1351,6 +1383,13 @@ net:netProperty a owl:AnnotationProperty ; :hasConcept :concept_reproduce-01 ; :hasVariable :variable_r . +:leaf_share-01_s a :AMR_Leaf ; + :edge_s_ARG0_y :leaf_you_y ; + :edge_s_ARG1_m :leaf_material_m ; + :edge_s_polarity_negative :value_negative ; + :hasConcept :concept_share-01 ; + :hasVariable :variable_s . + :leaf_this_t a :AMR_Leaf ; :hasConcept :concept_this ; :hasVariable :variable_t . @@ -1415,54 +1454,6 @@ net:atomProperty_reproduce_r a net:Atom_Property_Net ; net:trackProgress net:initialized, net:relation_propagated . -net:individual_you-produceing-material_fromClass a net:Individual_Net ; - net:coverBaseNode :leaf_you_y ; - net:coverNode :leaf_you_y ; - net:fromClassNet net:compositeClass_you-produceing-material_y ; - net:hasBaseClassName "Feature" ; - net:hasIndividualLabel "you-produceing-material" ; - net:hasMotherClassNet net:atomClass_you_y, - net:compositeClass_you-produceing-material_y, - net:compositeClass_you-reproduceing-material_y, - net:compositeClass_you-shareing-material_y ; - net:hasStructure "cc-sentence-examples-03" . - -net:individual_you-reproduceing-material_fromClass a net:Individual_Net ; - net:coverBaseNode :leaf_you_y ; - net:coverNode :leaf_you_y ; - net:fromClassNet net:compositeClass_you-reproduceing-material_y ; - net:hasBaseClassName "Feature" ; - net:hasIndividualLabel "you-reproduceing-material" ; - net:hasMotherClassNet net:atomClass_you_y, - net:compositeClass_you-produceing-material_y, - net:compositeClass_you-reproduceing-material_y, - net:compositeClass_you-shareing-material_y ; - net:hasStructure "cc-sentence-examples-03" . - -net:individual_you-shareing-material_fromClass a net:Individual_Net ; - net:coverBaseNode :leaf_you_y ; - net:coverNode :leaf_you_y ; - net:fromClassNet net:compositeClass_you-shareing-material_y ; - net:hasBaseClassName "Feature" ; - net:hasIndividualLabel "you-shareing-material" ; - net:hasMotherClassNet net:atomClass_you_y, - net:compositeClass_you-produceing-material_y, - net:compositeClass_you-reproduceing-material_y, - net:compositeClass_you-shareing-material_y ; - net:hasStructure "cc-sentence-examples-03" . - -net:individual_you_fromClass a net:Individual_Net ; - net:coverBaseNode :leaf_you_y ; - net:coverNode :leaf_you_y ; - net:fromClassNet net:atomClass_you_y ; - net:hasBaseClassName "Feature" ; - net:hasIndividualLabel "you" ; - net:hasMotherClassNet net:atomClass_you_y, - net:compositeClass_you-produceing-material_y, - net:compositeClass_you-reproduceing-material_y, - net:compositeClass_you-shareing-material_y ; - net:hasStructure "cc-sentence-examples-03" . - rdf:Property a owl:Class . :AMR_Predicat_Concept a owl:Class ; @@ -1474,31 +1465,14 @@ rdf:Property a owl:Class . net:Relation a owl:Class ; rdfs:subClassOf net:Net_Structure . -net:atomProperty_share_s a net:Atom_Property_Net, - net:Deprecated_Net ; - :role_ARG0 net:atomClass_you_y, - net:compositeClass_you-produceing-material_y, - net:compositeClass_you-reproduceing-material_y, - net:compositeClass_you-shareing-material_y, - net:individual_you-produceing-material_fromClass, - net:individual_you-reproduceing-material_fromClass, - net:individual_you-shareing-material_fromClass, - net:individual_you_fromClass ; - :role_ARG1 net:atomClass_material_m ; - :role_polarity net:value_negative_blankNode ; - net:coverBaseNode :leaf_share-01_s ; - net:coverNode :leaf_share-01_s ; - net:hasNaming "share" ; - net:hasPropertyName "share" ; - net:hasPropertyName01 "shareing" ; - net:hasPropertyName10 "share-by" ; - net:hasPropertyName12 "share-of" ; - net:hasPropertyType owl:ObjectProperty ; +net:atomClass_material_m a net:Atom_Class_Net ; + net:coverBaseNode :leaf_material_m ; + net:coverNode :leaf_material_m ; + net:coverNodeCount 1 ; + net:hasClassName "material" ; + net:hasClassType sys:Entity ; + net:hasNaming "material" ; net:hasStructure "cc-sentence-examples-03" ; - net:isCoreRoleLinked true ; - net:targetArgumentNode :leaf_material_m, - :leaf_you_y, - :value_negative ; net:trackProgress net:initialized, net:relation_propagated . @@ -1525,17 +1499,6 @@ net:Type a owl:Class ; rdfs:label "Semantic Net Type" ; rdfs:subClassOf net:Net_Structure . -net:atomClass_material_m a net:Atom_Class_Net ; - net:coverBaseNode :leaf_material_m ; - net:coverNode :leaf_material_m ; - net:coverNodeCount 1 ; - net:hasClassName "material" ; - net:hasClassType sys:Entity ; - net:hasNaming "material" ; - net:hasStructure "cc-sentence-examples-03" ; - net:trackProgress net:initialized, - net:relation_propagated . - net:has_object a owl:AnnotationProperty ; rdfs:label "relation" ; rdfs:subPropertyOf net:netProperty . @@ -1593,13 +1556,6 @@ net:compositeClass_you-shareing-material_y a net:Composite_Class_Net ; net:trackProgress net:initialized, net:relation_propagated . -:leaf_share-01_s a :AMR_Leaf ; - :edge_s_ARG0_y :leaf_you_y ; - :edge_s_ARG1_m :leaf_material_m ; - :edge_s_polarity_negative :value_negative ; - :hasConcept :concept_share-01 ; - :hasVariable :variable_s . - :AMR_Variable a owl:Class ; rdfs:subClassOf :AMR_Element . diff --git a/tests/dev_tests/test_data/negation-devGraph-2.result.ttl b/tests/dev_tests/test_data/negation-devGraph-2.result.ttl new file mode 100644 index 0000000000000000000000000000000000000000..04578dbbccff2251cd0aa80e834b240f597cfbb6 --- /dev/null +++ b/tests/dev_tests/test_data/negation-devGraph-2.result.ttl @@ -0,0 +1,1770 @@ +@base <https://amr.tetras-libre.fr/rdf/negation-devGraph-2/result> . +@prefix amr: <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/rdf/amr-terms#> . +@prefix ns21: <http://amr.isi.edu/rdf/core-amr#> . +@prefix ns31: <http://amr.isi.edu/frames/ld/v1.2.2/> . +@prefix ns4: <http://amr.isi.edu/entity-types#> . +@prefix owl: <http://www.w3.org/2002/07/owl#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix sys: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . + +<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> . + +ns31:bind-01.ARG0 a ns31:FrameRole, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns31:bind-01.ARG1 a ns31:FrameRole, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns31:orbit-01.ARG0 a ns31:FrameRole, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns31:orbit-01.ARG1 a ns31:FrameRole, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns11:domain a ns21:Role, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns11:op1 a ns21:Role, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns11:op2 a ns21:Role, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns11:polarity a owl:AnnotationProperty . + +ns21:has-id a owl:AnnotationProperty . + +ns21:has-sentence a owl:AnnotationProperty . + +ns21:hasID a owl:AnnotationProperty . + +ns21:hasSentence a owl:AnnotationProperty . + +ns21:root a owl:AnnotationProperty . + +rdf:Property a owl:Class . + +<https://amr.tetras-libre.fr/rdf/schema> a owl:Ontology ; + owl:versionIRI amr:0.1 . + +amr:AMR_DataProperty a owl:DatatypeProperty . + +amr:AMR_Prep_Role a owl:Class ; + rdfs:subClassOf amr:AMR_Role . + +amr:edge_a_op1_s2 a owl:AnnotationProperty, + owl:NamedIndividual, + amr:AMR_Edge ; + amr:hasAmrRole amr:role_op1 ; + amr:hasRoleID "op1" . + +amr:edge_a_op2_o a owl:AnnotationProperty, + owl:NamedIndividual, + amr:AMR_Edge ; + amr:hasAmrRole amr:role_op2 ; + amr:hasRoleID "op2" . + +amr:edge_b_ARG0_g a owl:AnnotationProperty, + owl:NamedIndividual, + amr:AMR_Edge ; + amr:hasAmrRole amr:role_ARG0 ; + amr:hasRoleID "ARG0" . + +amr:edge_b_ARG1_s a owl:AnnotationProperty, + owl:NamedIndividual, + amr:AMR_Edge ; + amr:hasAmrRole amr:role_ARG1 ; + amr:hasRoleID "ARG1" . + +amr:edge_d2_polarity_negative a owl:AnnotationProperty, + owl:NamedIndividual, + amr:AMR_Edge ; + amr:hasAmrRole amr:role_polarity ; + amr:hasRoleID "polarity" . + +amr:edge_m9_ARG0_o2 a owl:AnnotationProperty, + owl:NamedIndividual, + amr:AMR_Edge ; + amr:hasAmrRole amr:role_ARG0 ; + amr:hasRoleID "ARG0" . + +amr:edge_m9_ARG1_o3 a owl:AnnotationProperty, + owl:NamedIndividual, + amr:AMR_Edge ; + amr:hasAmrRole amr:role_ARG1 ; + amr:hasRoleID "ARG1" . + +amr:edge_o2_ARG0_o a owl:AnnotationProperty, + owl:NamedIndividual, + amr:AMR_Edge ; + amr:hasAmrRole amr:role_ARG0 ; + amr:hasRoleID "ARG0" . + +amr:edge_o2_ARG1_s2 a owl:AnnotationProperty, + owl:NamedIndividual, + amr:AMR_Edge ; + amr:hasAmrRole amr:role_ARG1 ; + amr:hasRoleID "ARG1" . + +amr:edge_o3_op1_d a owl:AnnotationProperty, + owl:NamedIndividual, + amr:AMR_Edge ; + amr:hasAmrRole amr:role_op1 ; + amr:hasRoleID "op1" . + +amr:edge_o3_op2_d2 a owl:AnnotationProperty, + owl:NamedIndividual, + amr:AMR_Edge ; + amr:hasAmrRole amr:role_op2 ; + amr:hasRoleID "op2" . + +amr:edge_p9_ARG0_s a owl:AnnotationProperty, + owl:NamedIndividual, + amr:AMR_Edge ; + amr:hasAmrRole amr:role_ARG0 ; + amr:hasRoleID "ARG0" . + +amr:edge_p9_ARG1_a a owl:AnnotationProperty, + owl:NamedIndividual, + amr:AMR_Edge ; + amr:hasAmrRole amr:role_ARG1 ; + amr:hasRoleID "ARG1" . + +amr:edge_p_name_SolarSystem a owl:AnnotationProperty, + owl:NamedIndividual, + amr:AMR_Edge ; + amr:hasAmrRole amr:role_name ; + amr:hasRoleID "name" . + +amr:edge_s_domain_p a owl:AnnotationProperty, + owl:NamedIndividual, + amr:AMR_Edge ; + amr:hasAmrRole amr:role_domain ; + amr:hasRoleID "domain" . + +amr:fromAmrLkFramerole a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:fromAmrLk . + +amr:fromAmrLkRole a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:fromAmrLk . + +amr:fromAmrLkRoot a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:fromAmrLk . + +amr:getDirectPropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:getProperty . + +amr:getInversePropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:getProperty . + +amr:getPropertyType a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:getProperty . + +amr:hasAmrRole a owl:AnnotationProperty . + +amr:hasConcept a owl:ObjectProperty ; + rdfs:domain amr:AMR_Leaf ; + rdfs:subPropertyOf amr:AMR_ObjectProperty . + +amr:hasConceptLink a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:hasLink . + +amr:hasEdgeLink a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:hasLink . + +amr:hasPhenomenaLink a owl:AnnotationProperty . + +amr:hasReification a owl:AnnotationProperty ; + rdfs:range xsd:boolean ; + rdfs:subPropertyOf amr:AMR_AnnotationProperty . + +amr:hasReificationConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:hasReificationDefinition . + +amr:hasReificationDomain a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:hasReificationDefinition . + +amr:hasReificationRange a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:hasReificationDefinition . + +amr:hasRelationName a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:AMR_AnnotationProperty . + +amr:hasRoleID a owl:ObjectProperty ; + rdfs:domain amr:AMR_Edge ; + rdfs:subPropertyOf amr:AMR_ObjectProperty . + +amr:hasRoleTag a owl:ObjectProperty ; + rdfs:domain amr:AMR_Edge ; + rdfs:subPropertyOf amr:AMR_ObjectProperty . + +amr:hasRolesetID a owl:ObjectProperty ; + rdfs:domain amr:AMR_Edge ; + rdfs:subPropertyOf amr:AMR_ObjectProperty . + +amr:hasRootLeaf a owl:ObjectProperty ; + rdfs:subPropertyOf amr:AMR_ObjectProperty . + +amr:hasSentenceID a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:AMR_AnnotationProperty . + +amr:hasSentenceStatement a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:AMR_AnnotationProperty . + +amr:hasVariable a owl:ObjectProperty ; + rdfs:domain amr:AMR_Leaf ; + rdfs:subPropertyOf amr:AMR_ObjectProperty . + +amr:isReifiedConcept a owl:AnnotationProperty . + +amr:isReifiedLeaf a owl:AnnotationProperty . + +amr:isReifiedVariable a owl:AnnotationProperty . + +amr:label a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:AMR_AnnotationProperty . + +amr:name a owl:AnnotationProperty . + +amr:phenomena_degree a owl:Class ; + rdfs:subClassOf amr:AMR_Phenomena ; + amr:hasConceptLink "have-degree-91" ; + amr:label "degree" . + +amr:relation_domain a owl:Class ; + rdfs:subClassOf amr:AMR_Relation ; + amr:hasReification false ; + amr:hasRelationName "domain" . + +amr:relation_manner a owl:Class ; + rdfs:subClassOf amr:AMR_Relation ; + amr:hasReification true ; + amr:hasReificationConcept "hasManner" ; + amr:hasReificationDomain "ARG1" ; + amr:hasReificationRange "ARG2" ; + amr:hasRelationName "manner" . + +amr:relation_mod a owl:Class ; + rdfs:subClassOf amr:AMR_Relation ; + amr:hasReification false ; + amr:hasRelationName "mod" . + +amr:relation_name a owl:Class ; + rdfs:subClassOf amr:AMR_Relation ; + amr:hasReification false ; + amr:hasRelationName "name" . + +amr:relation_part a owl:Class ; + rdfs:subClassOf amr:AMR_Relation ; + amr:hasReification true ; + amr:hasReificationConcept "hasPart" ; + amr:hasReificationDomain "ARG1" ; + amr:hasReificationRange "ARG2" ; + amr:hasRelationName "part" . + +amr:relation_polarity a owl:Class ; + rdfs:subClassOf amr:AMR_Relation ; + amr:hasReification false ; + amr:hasRelationName "polarity" . + +amr:relation_quant a owl:Class ; + rdfs:subClassOf amr:AMR_Relation ; + amr:hasReification false ; + amr:hasRelationName "quant" . + +amr:role_ARG2 a owl:Class ; + rdfs:subClassOf amr:AMR_Core_Role ; + amr:label "ARG2" . + +amr:role_ARG3 a owl:Class ; + rdfs:subClassOf amr:AMR_Core_Role ; + amr:label "ARG3" . + +amr:role_ARG4 a owl:Class ; + rdfs:subClassOf amr:AMR_Core_Role ; + amr:label "ARG4" . + +amr:role_ARG5 a owl:Class ; + rdfs:subClassOf amr:AMR_Core_Role ; + amr:label "ARG5" . + +amr:role_ARG6 a owl:Class ; + rdfs:subClassOf amr:AMR_Core_Role ; + amr:label "ARG6" . + +amr:role_ARG7 a owl:Class ; + rdfs:subClassOf amr:AMR_Core_Role ; + amr:label "ARG7" . + +amr:role_ARG8 a owl:Class ; + rdfs:subClassOf amr:AMR_Core_Role ; + amr:label "ARG8" . + +amr:role_ARG9 a owl:Class ; + rdfs:subClassOf amr:AMR_Core_Role ; + amr:label "ARG9" . + +amr:role_have-degree-91 a owl:Class ; + rdfs:subClassOf amr:AMR_Specific_Role ; + amr:getPropertyType <net:specificProperty> . + +amr:role_manner a owl:Class ; + rdfs:subClassOf amr:AMR_NonCore_Role ; + amr:getDirectPropertyName "manner" ; + amr:getPropertyType owl:DataProperty ; + amr:label "manner" ; + amr:toReifyAsConcept "manner" ; + amr:toReifyWithBaseEdge "ARG0" ; + amr:toReifyWithHeadEdge "ARG1" . + +amr:role_mod a owl:Class ; + rdfs:subClassOf amr:AMR_NonCore_Role ; + amr:getDirectPropertyName "hasFeature" ; + amr:getPropertyType rdfs:subClassOf, + owl:ObjectProperty ; + amr:label "mod" ; + amr:toReifyAsConcept "mod" ; + amr:toReifyWithBaseEdge "ARG0" ; + amr:toReifyWithHeadEdge "ARG1" . + +amr:role_op3 a owl:Class ; + rdfs:subClassOf amr:AMR_Op_Role ; + amr:label "op3" . + +amr:role_op4 a owl:Class ; + rdfs:subClassOf amr:AMR_Op_Role ; + amr:label "op4" . + +amr:role_op5 a owl:Class ; + rdfs:subClassOf amr:AMR_Op_Role ; + amr:label "op5" . + +amr:role_op6 a owl:Class ; + rdfs:subClassOf amr:AMR_Op_Role ; + amr:label "op6" . + +amr:role_op7 a owl:Class ; + rdfs:subClassOf amr:AMR_Op_Role ; + amr:label "op7" . + +amr:role_op8 a owl:Class ; + rdfs:subClassOf amr:AMR_Op_Role ; + amr:label "op8" . + +amr:role_op9 a owl:Class ; + rdfs:subClassOf amr:AMR_Op_Role ; + amr:label "op9" . + +amr:role_part a owl:Class ; + rdfs:subClassOf amr:AMR_NonCore_Role ; + amr:getDirectPropertyName "hasPart" ; + amr:getInversePropertyName "partOf" ; + amr:getPropertyType owl:ObjectProperty ; + amr:toReifyAsConcept "part" ; + amr:toReifyWithBaseEdge "ARG0" ; + amr:toReifyWithHeadEdge "ARG1" . + +amr:role_quant a owl:Class ; + rdfs:subClassOf amr:AMR_Specific_Role ; + amr:label "quant" . + +amr:root_SSC-01-01 a owl:NamedIndividual, + amr:AMR_Root ; + amr:fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#root01> ; + amr:hasRootLeaf amr:leaf_system_s ; + amr:hasSentenceID "SSC-01-01" ; + amr:hasSentenceStatement "The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly." . + +amr:toReifyAsConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:toReify . + +amr:toReifyWithBaseEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:toReify . + +amr:toReifyWithHeadEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:toReify . + +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 . + +cprm:Config_Parameters a owl:Class, + owl:NamedIndividual ; + 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 owl:AnnotationProperty, + owl:DatatypeProperty ; + rdfs:label "Base URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:netURI a owl:AnnotationProperty, + owl:DatatypeProperty ; + rdfs:label "Net URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newClassRef a owl:AnnotationProperty ; + rdfs:label "Reference for a new class" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newPropertyRef a owl:AnnotationProperty ; + rdfs:label "Reference for a new property" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:objectRef a owl:AnnotationProperty ; + rdfs:label "Object Reference" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:targetOntologyURI a owl:AnnotationProperty, + owl:DatatypeProperty ; + rdfs:label "URI of classes in target ontology" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +net:Composite_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Instance a owl:Class ; + rdfs:label "Semantic Net Instance" ; + rdfs:subClassOf net:Net_Structure . + +net:Object a owl:Class ; + rdfs:label "Object using in semantic net instance" ; + rdfs:subClassOf net:Net_Structure . + +net:Property_Direction a owl:Class ; + rdfs:subClassOf net:Feature . + +net:abstractionClass a owl:AnnotationProperty ; + rdfs:label "abstraction class" ; + rdfs:subPropertyOf net:objectValue . + +net:atom a owl:Class ; + rdfs:label "atom" ; + rdfs:subClassOf net:Type . + +net:atomOf a owl:AnnotationProperty ; + rdfs:label "atom of" ; + rdfs:subPropertyOf net:typeProperty . + +net:atomProperty_hasManner_m9 a owl:NamedIndividual, + net:Atom_Property_Net ; + amr:role_ARG0 net:atomProperty_orbit_o2 ; + amr:role_ARG1 net:atomProperty_direct_d, + net:atomProperty_direct_d2, + net:phenomena_conjunction-OR_o3 ; + net:coverBaseNode amr:leaf_hasManner_m9 ; + net:coverNode amr:leaf_hasManner_m9 ; + net:hasNaming "hasManner" ; + net:hasPropertyName "hasManner" ; + net:hasPropertyName01 "hasManner" ; + net:hasPropertyName10 "hasManner" ; + net:hasPropertyName12 "hasManner" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" ; + net:isCoreRoleLinked true ; + net:targetArgumentNode amr:leaf_or_o3, + amr:leaf_orbit-01_o2 ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:atomType a owl:AnnotationProperty ; + rdfs:label "atom type" ; + rdfs:subPropertyOf net:objectType . + +net:bindPropertyNet a owl:AnnotationProperty . + +net:bindRestriction a owl:AnnotationProperty . + +net:class a owl:Class ; + rdfs:label "class" ; + rdfs:subClassOf net:Type . + +net:composite a owl:Class ; + rdfs:label "composite" ; + rdfs:subClassOf net:Type . + +net:conjunctive_list a owl:Class ; + rdfs:label "conjunctive-list" ; + rdfs:subClassOf net:list . + +net:containsNet a owl:AnnotationProperty . + +net:containsNet1 a owl:AnnotationProperty . + +net:containsNet2 a owl:AnnotationProperty . + +net:coverBaseNode a owl:AnnotationProperty . + +net:coverNode a owl:AnnotationProperty . + +net:coverNodeCount a owl:AnnotationProperty . + +net:coverTargetNode a owl:AnnotationProperty . + +net:disjunctive_list a owl:Class ; + rdfs:label "disjunctive-list" ; + rdfs:subClassOf net:list . + +net:entityClass a owl:AnnotationProperty ; + rdfs:label "entity class" ; + rdfs:subPropertyOf net:objectValue . + +net:entity_class_list a owl:Class ; + rdfs:label "entityClassList" ; + rdfs:subClassOf net:class_list . + +net:event a owl:Class ; + rdfs:label "event" ; + rdfs:subClassOf net:Type . + +net:featureClass a owl:AnnotationProperty ; + rdfs:label "feature class" ; + rdfs:subPropertyOf net:objectValue . + +net:hasClassName a owl:AnnotationProperty . + +net:hasClassType a owl:AnnotationProperty . + +net:hasIndividualLabel a owl:AnnotationProperty . + +net:hasLogicalConstraint a owl:AnnotationProperty . + +net:hasMotherClassName a owl:AnnotationProperty . + +net:hasMotherClassNet a owl:AnnotationProperty . + +net:hasNaming a owl:AnnotationProperty . + +net:hasPhenomenaRef a owl:AnnotationProperty . + +net:hasPhenomenaType a owl:AnnotationProperty . + +net:hasPropertyName a owl:AnnotationProperty . + +net:hasPropertyName01 a owl:AnnotationProperty . + +net:hasPropertyName10 a owl:AnnotationProperty . + +net:hasPropertyName12 a owl:AnnotationProperty . + +net:hasPropertyType a owl:AnnotationProperty . + +net:hasRestriction01 a owl:AnnotationProperty . + +net:hasRestrictionNetValue a owl:AnnotationProperty . + +net:hasRestrictionOnProperty a owl:AnnotationProperty . + +net:hasStructure a owl:AnnotationProperty . + +net:hasValueLabel a owl:AnnotationProperty . + +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:isCoreRoleLinked a owl:AnnotationProperty . + +net:listBy a owl:AnnotationProperty ; + rdfs:label "list by" ; + rdfs:subPropertyOf net:typeProperty . + +net:listGuiding a owl:AnnotationProperty ; + rdfs:label "Guiding connector of a list (or, and)" ; + rdfs:subPropertyOf net:objectValue . + +net:listOf a owl:AnnotationProperty ; + rdfs:label "list of" ; + rdfs:subPropertyOf net:typeProperty . + +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:relation a owl:Class ; + rdfs:label "relation" ; + rdfs:subClassOf net:Type . + +net:relationOf a owl:AnnotationProperty ; + rdfs:label "relation of" ; + rdfs:subPropertyOf net:typeProperty . + +net:state_property a owl:Class ; + rdfs:label "stateProperty" ; + rdfs:subClassOf net:Type . + +net:targetArgumentNode a owl:AnnotationProperty . + +net:trackMainNetComposante a owl:AnnotationProperty . + +net:trackNetComposante a owl:AnnotationProperty . + +net:trackProgress a owl:AnnotationProperty . + +net:type a owl:AnnotationProperty ; + rdfs:label "type "@fr ; + rdfs:subPropertyOf net:netProperty . + +net:unary_list a owl:Class ; + rdfs:label "unary-list" ; + rdfs:subClassOf net:list . + +net:verbClass a owl:AnnotationProperty ; + rdfs:label "verb class" ; + rdfs:subPropertyOf net:objectValue . + +<http://amr.isi.edu/amr_data/SSC-01-01#b> a ns31:bind-01, + owl:Class, + owl:NamedIndividual ; + ns31:bind-01.ARG0 <http://amr.isi.edu/amr_data/SSC-01-01#g> ; + ns31:bind-01.ARG1 <http://amr.isi.edu/amr_data/SSC-01-01#s> ; + rdfs:subClassOf amr:AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#o2> a ns31:orbit-01, + owl:Class, + owl:NamedIndividual ; + ns31:orbit-01.ARG0 <http://amr.isi.edu/amr_data/SSC-01-01#o> ; + ns31:orbit-01.ARG1 <http://amr.isi.edu/amr_data/SSC-01-01#s2> ; + ns11:manner <http://amr.isi.edu/amr_data/SSC-01-01#o3> ; + rdfs:subClassOf amr:AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#root01> a ns21:AMR, + owl:NamedIndividual ; + ns21:has-id "SSC-01-01" ; + ns21:has-sentence "The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly." ; + ns21:root <http://amr.isi.edu/amr_data/SSC-01-01#s> . + +<http://amr.isi.edu/amr_data/test-1#s> ns11:domain <http://amr.isi.edu/amr_data/test-1#s2> . + +<http://amr.isi.edu/amr_data/test-2#p> rdfs:label "Earth" . + +ns4:planet a ns21:NamedEntity, + owl:Class, + owl:NamedIndividual ; + rdfs:comment "bug" ; + rdfs:subClassOf amr:AMR_Linked_Data . + +ns21:AMR a owl:Class ; + rdfs:subClassOf amr:AMR_Linked_Data . + +amr:AMR_Root a owl:Class ; + rdfs:subClassOf amr:AMR_Structure . + +amr:concept_and a owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Relation_Concept ; + amr:fromAmrLk ns21:and ; + amr:hasPhenomenaLink amr:phenomena_conjunction_and ; + amr:label "and" . + +amr:concept_bind-01 a owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Predicat_Concept ; + amr:fromAmrLk ns31:bind-01 ; + amr:label "bind-01" . + +amr:concept_gravitation a owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Term_Concept ; + amr:fromAmrLk ns11:gravitation ; + amr:label "gravitation" . + +amr:concept_manner a owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Predicat_Concept ; + amr:fromAmrLk ns11:manner ; + amr:isReifiedConcept true ; + amr:label "hasManner" . + +amr:concept_object a owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Term_Concept ; + amr:fromAmrLk ns11:object ; + amr:label "object" . + +amr:concept_or a owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Relation_Concept ; + amr:fromAmrLk ns21:or ; + amr:hasPhenomenaLink amr:phenomena_conjunction_or ; + amr:label "or" . + +amr:concept_orbit-01 a owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Predicat_Concept ; + amr:fromAmrLk ns31:orbit-01 ; + amr:label "orbit-01" . + +amr:concept_part a owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Predicat_Concept ; + amr:fromAmrLk ns11:part ; + amr:isReifiedConcept true ; + amr:label "hasPart" . + +amr:concept_sun a owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Term_Concept ; + amr:fromAmrLk ns11:sun ; + amr:label "sun" . + +amr:role_domain a owl:AnnotationProperty, + owl:Class, + owl:NamedIndividual, + net:Relation ; + rdfs:subClassOf amr:AMR_NonCore_Role ; + amr:hasRelationName "domain" ; + amr:label "domain" ; + amr:toReifyAsConcept "domain" ; + amr:toReifyWithBaseEdge "ARG0" ; + amr:toReifyWithHeadEdge "ARG1" . + +amr:role_name a owl:AnnotationProperty, + owl:Class, + owl:NamedIndividual, + net:Relation ; + rdfs:subClassOf amr:AMR_NonCore_Role ; + amr:label "name" . + +amr:role_polarity a owl:AnnotationProperty, + owl:Class, + owl:NamedIndividual, + net:Relation ; + rdfs:subClassOf amr:AMR_Specific_Role ; + amr:label "polarity" . + +amr:value_SolarSystem a owl:NamedIndividual, + amr:AMR_Value ; + rdfs:label "Solar System" . + +amr:variable_a a owl:NamedIndividual, + amr:AMR_Variable ; + amr:fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#a> ; + amr:label "a" . + +amr:variable_b a owl:NamedIndividual, + amr:AMR_Variable ; + amr:fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#b> ; + amr:label "b" . + +amr:variable_d a owl:NamedIndividual, + amr:AMR_Variable ; + amr:fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#d> ; + amr:label "d" . + +amr:variable_d2 a owl:NamedIndividual, + amr:AMR_Variable ; + amr:fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#d2> ; + amr:label "d2" . + +amr:variable_g a owl:NamedIndividual, + amr:AMR_Variable ; + amr:fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#g> ; + amr:label "g" . + +amr:variable_m9 a ns11:manner, + owl:NamedIndividual, + amr:AMR_Variable ; + amr:isReifiedVariable true ; + amr:label "m9" . + +amr:variable_o a owl:NamedIndividual, + amr:AMR_Variable ; + amr:fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#o> ; + amr:label "o" . + +amr:variable_o2 a owl:NamedIndividual, + amr:AMR_Variable ; + amr:fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#o2> ; + amr:label "o2" . + +amr:variable_o3 a owl:NamedIndividual, + amr:AMR_Variable ; + amr:fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#o3> ; + amr:label "o3" . + +amr:variable_p a owl:NamedIndividual, + amr:AMR_Variable ; + amr:fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#p> ; + amr:label "p" ; + amr:name "Solar System" . + +amr:variable_p9 a ns11:part, + owl:NamedIndividual, + amr:AMR_Variable ; + amr:isReifiedVariable true ; + amr:label "p9" . + +amr:variable_s a owl:NamedIndividual, + amr:AMR_Variable ; + amr:fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#s> ; + amr:label "s" . + +amr:variable_s2 a owl:NamedIndividual, + amr:AMR_Variable ; + amr:fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#s2> ; + amr:label "s2" . + +sys:Degree 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:Feature a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Logical_Set_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomProperty_bind_b a owl:NamedIndividual, + net:Atom_Property_Net ; + amr:role_ARG0 net:atomClass_gravitation_g, + net:compositeClass_gravitation-binding-system-hasPart-sun-and-object_g ; + amr:role_ARG1 net:atomClass_system_s, + net:compositeClass_system-hasPart-sun-and-object-hasPart-object_s, + net:compositeClass_system-hasPart-sun-and-object-hasPart-sun_s, + net:compositeClass_system-hasPart-sun-and-object_s ; + net:coverBaseNode amr:leaf_bind-01_b ; + net:coverNode amr:leaf_bind-01_b ; + net:hasNaming "bind" ; + net:hasPropertyName "bind" ; + net:hasPropertyName01 "binding" ; + net:hasPropertyName10 "bind-by" ; + net:hasPropertyName12 "bind-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" ; + net:isCoreRoleLinked true ; + net:targetArgumentNode amr:leaf_gravitation_g, + amr:leaf_system_s ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:class_list a owl:Class ; + rdfs:label "classList" ; + rdfs:subClassOf net:Type . + +net:compositeClass_gravitation-binding-system-hasPart-sun-and-object_g a owl:NamedIndividual, + net:Composite_Class_Net ; + net:coverBaseNode amr:leaf_gravitation_g ; + net:coverNode amr:leaf_and_a, + amr:leaf_bind-01_b, + amr:leaf_gravitation_g, + amr:leaf_hasPart_p9, + amr:leaf_system_s ; + net:coverNodeCount 5 ; + net:hasClassName "gravitation-binding-system-hasPart-sun-and-object" ; + net:hasClassType sys:Entity ; + net:hasMotherClassNet net:atomClass_gravitation_g ; + net:hasRestriction01 net:restriction_binding_system-hasPart-sun-and-object ; + net:hasStructure "SSC-01-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:has_value a owl:AnnotationProperty ; + rdfs:subPropertyOf net:netProperty . + +net:objectType a owl:AnnotationProperty ; + rdfs:label "object type" ; + rdfs:subPropertyOf net:objectProperty . + +net:phenomena_conjunction-AND_a a owl:NamedIndividual, + net:Phenomena_Net ; + amr:role_op1 net:atomClass_sun_s2 ; + amr:role_op2 net:atomClass_object_o ; + net:coverBaseNode amr:leaf_and_a ; + net:coverNode amr:leaf_and_a ; + net:hasNaming "conjunction-AND" ; + net:hasPhenomenaRef "and" ; + net:hasPhenomenaType amr:phenomena_conjunction_and ; + net:hasStructure "SSC-01-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:phenomena_conjunction-OR_o3 a owl:NamedIndividual, + net:Phenomena_Net ; + amr:role_op1 net:atomProperty_direct_d ; + amr:role_op2 net:atomProperty_direct_d2 ; + net:coverBaseNode amr:leaf_or_o3 ; + net:coverNode amr:leaf_or_o3 ; + net:hasNaming "conjunction-OR" ; + net:hasPhenomenaRef "or" ; + net:hasPhenomenaType amr:phenomena_conjunction_or ; + net:hasStructure "SSC-01-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:restriction_binding_system-hasPart-sun-and-object a owl:NamedIndividual, + net:Restriction_Net ; + net:coverBaseNode amr:leaf_gravitation_g ; + net:coverNode amr:leaf_and_a, + amr:leaf_bind-01_b, + amr:leaf_gravitation_g, + amr:leaf_hasPart_p9, + amr:leaf_system_s ; + net:coverTargetNode amr:leaf_and_a, + amr:leaf_bind-01_b, + amr:leaf_hasPart_p9, + amr:leaf_system_s ; + net:hasNaming "gravitation-binding-system-hasPart-sun-and-object" ; + net:hasRestrictionNetValue net:compositeClass_system-hasPart-sun-and-object_s ; + net:hasRestrictionOnProperty net:atomProperty_bind_b . + +net:value_negative_blankNode a owl:NamedIndividual, + net:Value_Net ; + net:hasNaming "negative" ; + net:hasStructure "SSC-01-01" ; + net:hasValueLabel "negative" ; + net:trackProgress net:initialized, + net:relation_propagated . + +<http://amr.isi.edu/amr_data/SSC-01-01#a> a ns21:and, + owl:Class, + owl:NamedIndividual ; + ns11:op1 <http://amr.isi.edu/amr_data/SSC-01-01#s2> ; + ns11:op2 <http://amr.isi.edu/amr_data/SSC-01-01#o> ; + rdfs:subClassOf amr:AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#d> a ns31:direct-02, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#d2> a ns31:direct-02, + owl:Class, + owl:NamedIndividual ; + ns11:polarity "-" ; + rdfs:subClassOf amr:AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#g> a ns11:gravitation, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#o3> a ns21:or, + owl:Class, + owl:NamedIndividual ; + ns11:op1 <http://amr.isi.edu/amr_data/SSC-01-01#d> ; + ns11:op2 <http://amr.isi.edu/amr_data/SSC-01-01#d2> ; + rdfs:subClassOf amr:AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#p> a ns4:planet, + ns4:system, + owl:Class, + owl:NamedIndividual ; + rdfs:label "Solar System" ; + rdfs:subClassOf amr:AMR_Linked_Data . + +ns4:system a ns21:NamedEntity, + owl:Class, + owl:NamedIndividual ; + rdfs:label "system" ; + rdfs:subClassOf amr:AMR_Linked_Data . + +ns31:bind-01 a ns21:Frame, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Linked_Data . + +ns31:orbit-01 a ns21:Frame, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Linked_Data . + +ns11:gravitation a ns21:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Linked_Data . + +ns11:manner a ns21:Role, + owl:AnnotationProperty, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Linked_Data . + +ns11:object a ns21:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Linked_Data . + +ns11:part a ns21:Role, + owl:AnnotationProperty, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Linked_Data . + +ns11:sun a ns21:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Linked_Data . + +ns11:system a ns21:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Linked_Data . + +ns21:NamedEntity a ns21:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-EntityType", + "AMR-Term" ; + rdfs:subClassOf amr:AMR_Linked_Data . + +ns21:and a ns21:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Linked_Data . + +ns21:or a ns21:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Linked_Data . + +amr:AMR_Phenomena a owl:Class ; + rdfs:subClassOf amr:AMR_Structure . + +amr:AMR_Relation_Concept a owl:Class ; + rdfs:subClassOf amr:AMR_Concept . + +amr:AMR_Value a owl:Class ; + rdfs:subClassOf amr:AMR_Element . + +amr:concept_direct-02 a owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Predicat_Concept ; + amr:fromAmrLk ns31:direct-02 ; + amr:label "direct-02" . + +amr:concept_system a owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Term_Concept ; + amr:fromAmrLk ns4:system, + ns11:system ; + amr:label "system" . + +amr:hasLink a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:AMR_AnnotationProperty . + +amr:leaf_hasManner_m9 a owl:NamedIndividual, + amr:AMR_Leaf ; + amr:edge_m9_ARG0_o2 amr:leaf_orbit-01_o2 ; + amr:edge_m9_ARG1_o3 amr:leaf_or_o3 ; + amr:hasConcept amr:concept_manner ; + amr:hasVariable amr:variable_m9 ; + amr:isReifiedLeaf true . + +amr:phenomena_conjunction a owl:Class ; + rdfs:subClassOf amr:AMR_Phenomena ; + amr:hasConceptLink "contrast-01", + "either", + "neither" ; + amr:label "conjunction" . + +amr:phenomena_conjunction_and a owl:Class ; + rdfs:subClassOf amr:phenomena_conjunction ; + amr:hasConceptLink "and" ; + amr:label "conjunction-AND" . + +amr:phenomena_conjunction_or a owl:Class ; + rdfs:subClassOf amr:phenomena_conjunction ; + amr:hasConceptLink "or" ; + amr:label "conjunction-OR" . + +amr:role_op1 a owl:AnnotationProperty, + owl:Class, + owl:NamedIndividual, + net:Relation ; + rdfs:subClassOf amr:AMR_Op_Role ; + amr:label "op1" . + +amr:role_op2 a owl:AnnotationProperty, + owl:Class, + owl:NamedIndividual, + net:Relation ; + rdfs:subClassOf amr:AMR_Op_Role ; + amr:label "op2" . + +amr:value_negative a owl:NamedIndividual, + amr:AMR_Value ; + rdfs:label "negative" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Class_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Property_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Value_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_gravitation_g a owl:NamedIndividual, + net:Atom_Class_Net ; + net:coverBaseNode amr:leaf_gravitation_g ; + net:coverNode amr:leaf_gravitation_g ; + net:coverNodeCount 1 ; + net:hasClassName "gravitation" ; + net:hasClassType sys:Entity ; + net:hasNaming "gravitation" ; + net:hasStructure "SSC-01-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:atomProperty_direct_d a owl:NamedIndividual, + net:Atom_Property_Net ; + net:coverBaseNode amr:leaf_direct-02_d ; + net:coverNode amr:leaf_direct-02_d ; + net:hasNaming "direct" ; + net:hasPropertyName "direct" ; + net:hasPropertyName01 "directing" ; + net:hasPropertyName10 "direct-by" ; + net:hasPropertyName12 "direct-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" ; + net:isCoreRoleLinked true ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:atomProperty_direct_d2 a owl:NamedIndividual, + net:Atom_Property_Net ; + amr:role_polarity net:value_negative_blankNode ; + net:coverBaseNode amr:leaf_direct-02_d2 ; + net:coverNode amr:leaf_direct-02_d2 ; + net:hasNaming "direct" ; + net:hasPropertyName "direct" ; + net:hasPropertyName01 "directing" ; + net:hasPropertyName10 "direct-by" ; + net:hasPropertyName12 "direct-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" ; + net:isCoreRoleLinked true ; + net:targetArgumentNode amr:value_negative ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:logicalSet_and_a a owl:NamedIndividual, + net:Logical_Set_Net ; + amr:role_op1 net:atomClass_sun_s2 ; + amr:role_op2 net:atomClass_object_o ; + net:bindPropertyNet net:atomProperty_hasPart_p9 ; + net:bindRestriction net:restriction_hasPart_object, + net:restriction_hasPart_sun ; + net:containsNet net:atomClass_object_o, + net:atomClass_sun_s2 ; + net:containsNet1 net:atomClass_sun_s2 ; + net:containsNet2 net:atomClass_object_o ; + net:coverBaseNode amr:leaf_and_a ; + net:coverNode amr:leaf_and_a ; + net:hasLogicalConstraint "AND" ; + net:hasNaming "hasPart-sun-and-object" ; + net:hasStructure "SSC-01-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + +net:value_SolarSystem_blankNode a owl:NamedIndividual, + net:Value_Net ; + net:hasNaming "Solar System" ; + net:hasStructure "SSC-01-01" ; + net:hasValueLabel "Solar System" ; + net:trackProgress net:initialized, + net:relation_propagated . + +<http://amr.isi.edu/amr_data/SSC-01-01#o> a ns11:object, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#s> a ns11:system, + owl:Class, + owl:NamedIndividual ; + ns11:domain <http://amr.isi.edu/amr_data/SSC-01-01#p> ; + ns11:part <http://amr.isi.edu/amr_data/SSC-01-01#a> ; + rdfs:subClassOf amr:AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#s2> a ns11:sun, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Linked_Data . + +ns31:direct-02 a ns21:Frame, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf amr:AMR_Linked_Data . + +ns21:Frame a ns21:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Frame" ; + rdfs:subClassOf amr:AMR_Linked_Data . + +amr:AMR_Concept a owl:Class ; + rdfs:subClassOf amr:AMR_Element . + +amr:AMR_Specific_Role a owl:Class ; + rdfs:subClassOf amr:AMR_Role . + +amr:fromAmrLk a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:AMR_AnnotationProperty . + +amr:getProperty a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:AMR_AnnotationProperty . + +amr:hasReificationDefinition a owl:AnnotationProperty ; + rdfs:range rdfs:Literal ; + rdfs:subPropertyOf amr:AMR_AnnotationProperty . + +amr:leaf_direct-02_d a owl:NamedIndividual, + amr:AMR_Leaf ; + amr:hasConcept amr:concept_direct-02 ; + amr:hasVariable amr:variable_d . + +amr:leaf_direct-02_d2 a owl:NamedIndividual, + amr:AMR_Leaf ; + amr:edge_d2_polarity_negative amr:value_negative ; + amr:hasConcept amr:concept_direct-02 ; + amr:hasVariable amr:variable_d2 . + +amr:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf amr:AMR_AnnotationProperty . + +net:Restriction_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomProperty_orbit_o2 a owl:NamedIndividual, + net:Atom_Property_Net, + net:Deprecated_Net ; + amr:role_ARG0 net:atomClass_object_o ; + amr:role_ARG1 net:atomClass_sun_s2 ; + net:coverBaseNode amr:leaf_orbit-01_o2 ; + net:coverNode amr:leaf_orbit-01_o2 ; + net:hasNaming "orbit" ; + net:hasPropertyName "orbit" ; + net:hasPropertyName01 "orbiting" ; + net:hasPropertyName10 "orbit-by" ; + net:hasPropertyName12 "orbit-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" ; + net:isCoreRoleLinked true ; + net:targetArgumentNode amr:leaf_object_o, + amr:leaf_sun_s2 ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:compositeClass_system-hasPart-sun-and-object-hasPart-object_s a owl:NamedIndividual, + net:Composite_Class_Net ; + amr:role_domain net:atomClass_system_p, + net:individual_system_SolarSystem ; + net:coverBaseNode amr:leaf_system_s ; + net:coverNode amr:leaf_and_a, + amr:leaf_hasPart_p9, + amr:leaf_object_o, + amr:leaf_system_s ; + net:coverNodeCount 4 ; + net:hasClassName "system-hasPart-sun-and-object-hasPart-object" ; + net:hasClassType sys:Entity ; + net:hasMotherClassNet net:atomClass_system_p, + net:compositeClass_system-hasPart-sun-and-object_s ; + net:hasRestriction01 net:restriction_hasPart_object ; + net:hasStructure "SSC-01-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:compositeClass_system-hasPart-sun-and-object-hasPart-sun_s a owl:NamedIndividual, + net:Composite_Class_Net ; + amr:role_domain net:atomClass_system_p, + net:individual_system_SolarSystem ; + net:coverBaseNode amr:leaf_system_s ; + net:coverNode amr:leaf_and_a, + amr:leaf_hasPart_p9, + amr:leaf_sun_s2, + amr:leaf_system_s ; + net:coverNodeCount 4 ; + net:hasClassName "system-hasPart-sun-and-object-hasPart-sun" ; + net:hasClassType sys:Entity ; + net:hasMotherClassNet net:atomClass_system_p, + net:compositeClass_system-hasPart-sun-and-object_s ; + net:hasRestriction01 net:restriction_hasPart_sun ; + net:hasStructure "SSC-01-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +net:list a owl:Class ; + rdfs:label "list" ; + rdfs:subClassOf net:Type . + +net:restriction_hasPart_object a owl:NamedIndividual, + net:Restriction_Net ; + amr:role_domain net:atomProperty_orbit_o2 ; + net:coverBaseNode amr:leaf_system_s ; + net:coverNode amr:leaf_and_a, + amr:leaf_hasPart_p9, + amr:leaf_object_o, + amr:leaf_system_s ; + net:coverTargetNode amr:leaf_hasPart_p9, + amr:leaf_object_o ; + net:hasNaming "system-hasPart-sun-and-object-hasPart-object" ; + net:hasRestrictionNetValue net:atomClass_object_o ; + net:hasRestrictionOnProperty net:atomProperty_hasPart_p9 . + +net:restriction_hasPart_sun a owl:NamedIndividual, + net:Restriction_Net ; + amr:role_domain net:atomProperty_orbit_o2 ; + net:coverBaseNode amr:leaf_system_s ; + net:coverNode amr:leaf_and_a, + amr:leaf_hasPart_p9, + amr:leaf_sun_s2, + amr:leaf_system_s ; + net:coverTargetNode amr:leaf_hasPart_p9, + amr:leaf_sun_s2 ; + net:hasNaming "system-hasPart-sun-and-object-hasPart-sun" ; + net:hasRestrictionNetValue net:atomClass_sun_s2 ; + net:hasRestrictionOnProperty net:atomProperty_hasPart_p9 . + +ns31:FrameRole a ns21:Role, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Role" ; + rdfs:subClassOf amr:AMR_Linked_Data . + +amr:AMR_Element a owl:Class ; + rdfs:subClassOf amr:AMR_Structure . + +amr:AMR_Term_Concept a owl:Class ; + rdfs:subClassOf amr:AMR_Concept . + +amr:leaf_or_o3 a owl:NamedIndividual, + amr:AMR_Leaf ; + amr:edge_o3_op1_d amr:leaf_direct-02_d ; + amr:edge_o3_op2_d2 amr:leaf_direct-02_d2 ; + amr:hasConcept amr:concept_or ; + amr:hasVariable amr:variable_o3 . + +amr:leaf_orbit-01_o2 a owl:NamedIndividual, + amr:AMR_Leaf ; + amr:edge_o2_ARG0_o amr:leaf_object_o ; + amr:edge_o2_ARG1_s2 amr:leaf_sun_s2 ; + amr:hasConcept amr:concept_orbit-01 ; + amr:hasVariable amr:variable_o2 . + +amr:role_ARG0 a owl:AnnotationProperty, + owl:Class, + owl:NamedIndividual, + net:Relation ; + rdfs:subClassOf amr:AMR_Core_Role ; + amr:label "ARG0" . + +amr:role_ARG1 a owl:AnnotationProperty, + owl:Class, + owl:NamedIndividual, + net:Relation ; + rdfs:subClassOf amr:AMR_Core_Role ; + amr:label "ARG1" . + +net:Composite_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:atomProperty_hasPart_p9 a owl:NamedIndividual, + net:Atom_Property_Net ; + amr:role_ARG0 net:atomClass_system_s, + net:compositeClass_system-hasPart-sun-and-object-hasPart-object_s, + net:compositeClass_system-hasPart-sun-and-object-hasPart-sun_s, + net:compositeClass_system-hasPart-sun-and-object_s ; + amr:role_ARG1 net:atomClass_object_o, + net:atomClass_sun_s2, + net:logicalSet_and_a, + net:phenomena_conjunction-AND_a ; + net:coverBaseNode amr:leaf_hasPart_p9 ; + net:coverNode amr:leaf_hasPart_p9 ; + net:hasNaming "hasPart" ; + net:hasPropertyName "hasPart" ; + net:hasPropertyName01 "hasPart" ; + net:hasPropertyName10 "hasPart" ; + net:hasPropertyName12 "hasPart" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" ; + net:isCoreRoleLinked true ; + net:targetArgumentNode amr:leaf_and_a, + amr:leaf_system_s ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:individual_system_SolarSystem a owl:NamedIndividual, + net:Individual_Net ; + amr:role_name net:value_SolarSystem_blankNode ; + net:coverBaseNode amr:leaf_system_p ; + net:coverNode amr:leaf_system_p ; + net:hasIndividualLabel "Solar System" ; + net:hasMotherClassName net:atomClass_system_p ; + net:hasMotherClassNet net:atomClass_system_p, + net:atomClass_system_s, + net:compositeClass_system-hasPart-sun-and-object-hasPart-object_s, + net:compositeClass_system-hasPart-sun-and-object-hasPart-sun_s, + net:compositeClass_system-hasPart-sun-and-object_s ; + net:hasNaming "system" ; + net:hasStructure "SSC-01-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:typeProperty a owl:AnnotationProperty ; + rdfs:label "type property" . + +amr:AMR_NonCore_Role a owl:Class ; + rdfs:subClassOf amr:AMR_Role . + +amr:AMR_Predicat_Concept a owl:Class ; + rdfs:subClassOf amr:AMR_Concept . + +amr:AMR_Role a owl:Class ; + rdfs:subClassOf amr:AMR_Element . + +amr:leaf_bind-01_b a owl:NamedIndividual, + amr:AMR_Leaf ; + amr:edge_b_ARG0_g amr:leaf_gravitation_g ; + amr:edge_b_ARG1_s amr:leaf_system_s ; + amr:hasConcept amr:concept_bind-01 ; + amr:hasVariable amr:variable_b . + +amr:leaf_system_p a owl:NamedIndividual, + amr:AMR_Leaf ; + amr:edge_p_name_SolarSystem amr:value_SolarSystem ; + amr:hasConcept amr:concept_system ; + amr:hasVariable amr:variable_p . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +net:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:netProperty a owl:AnnotationProperty ; + rdfs:label "netProperty" . + +ns21:Role a owl:Class ; + rdfs:label "AMR-Role" ; + rdfs:subClassOf amr:AMR_Linked_Data . + +amr:AMR_ObjectProperty a owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + +amr:AMR_Structure a owl:Class . + +cprm:configParamProperty a owl:AnnotationProperty ; + rdfs:label "Config Parameter Property" . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Net_Structure a owl:Class ; + rdfs:label "Semantic Net Structure" ; + rdfs:comment "A semantic net captures a set of nodes, and associates this set with type(s) and value(s)." . + +net:atomClass_system_s a owl:NamedIndividual, + net:Atom_Class_Net, + net:Deprecated_Net ; + amr:role_domain net:atomClass_system_p, + net:individual_system_SolarSystem ; + net:coverBaseNode amr:leaf_system_s ; + net:coverNode amr:leaf_system_s ; + net:coverNodeCount 1 ; + net:hasClassName "system" ; + net:hasClassType sys:Entity ; + net:hasMotherClassNet net:atomClass_system_p ; + net:hasNaming "system" ; + net:hasStructure "SSC-01-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:compositeClass_system-hasPart-sun-and-object_s a owl:NamedIndividual, + net:Composite_Class_Net ; + amr:role_domain net:atomClass_system_p, + net:individual_system_SolarSystem ; + net:coverBaseNode amr:leaf_system_s ; + net:coverNode amr:leaf_and_a, + amr:leaf_hasPart_p9, + amr:leaf_system_s ; + net:coverNodeCount 3 ; + net:hasClassName "system-hasPart-sun-and-object" ; + net:hasClassType sys:Entity ; + net:hasMotherClassNet net:atomClass_system_s ; + net:hasNaming "system-hasPart-sun-and-object" ; + net:hasRestriction01 net:restriction_hasPart_object, + net:restriction_hasPart_sun ; + net:hasStructure "SSC-01-01" ; + net:trackMainNetComposante net:atomClass_system_s ; + net:trackNetComposante net:atomClass_system_s, + net:atomProperty_hasPart_p9, + net:logicalSet_and_a ; + net:trackProgress net:initialized, + net:relation_propagated . + +amr:AMR_Relation a owl:Class ; + rdfs:subClassOf amr:AMR_Structure . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:atomClass_object_o a owl:NamedIndividual, + net:Atom_Class_Net ; + net:coverBaseNode amr:leaf_object_o ; + net:coverNode amr:leaf_object_o ; + net:coverNodeCount 1 ; + net:hasClassName "object" ; + net:hasClassType sys:Entity ; + net:hasNaming "object" ; + net:hasStructure "SSC-01-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:atomClass_sun_s2 a owl:NamedIndividual, + net:Atom_Class_Net ; + net:coverBaseNode amr:leaf_sun_s2 ; + net:coverNode amr:leaf_sun_s2 ; + net:coverNodeCount 1 ; + net:hasClassName "sun" ; + net:hasClassType sys:Entity ; + net:hasNaming "sun" ; + net:hasStructure "SSC-01-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +ns21:Concept a owl:Class ; + rdfs:label "AMR-Concept" ; + rdfs:subClassOf amr:AMR_Linked_Data . + +amr:leaf_gravitation_g a owl:NamedIndividual, + amr:AMR_Leaf ; + amr:hasConcept amr:concept_gravitation ; + amr:hasVariable amr:variable_g . + +amr:leaf_object_o a owl:NamedIndividual, + amr:AMR_Leaf ; + amr:hasConcept amr:concept_object ; + amr:hasVariable amr:variable_o . + +amr:leaf_sun_s2 a owl:NamedIndividual, + amr:AMR_Leaf ; + amr:hasConcept amr:concept_sun ; + amr:hasVariable amr:variable_s2 . + +net:Net a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Type a owl:Class ; + rdfs:label "Semantic Net Type" ; + rdfs:subClassOf net:Net_Structure . + +net:has_object a owl:AnnotationProperty ; + rdfs:label "relation" ; + rdfs:subPropertyOf net:netProperty . + +amr:AMR_Op_Role a owl:Class ; + rdfs:subClassOf amr:AMR_Role . + +sys:Entity a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +net:atomClass_system_p a owl:NamedIndividual, + net:Atom_Class_Net ; + amr:role_name net:value_SolarSystem_blankNode ; + net:coverBaseNode amr:leaf_system_p ; + net:coverNode amr:leaf_system_p ; + net:coverNodeCount 1 ; + net:hasClassName "system" ; + net:hasNaming "system" ; + net:hasStructure "SSC-01-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +amr:AMR_AnnotationProperty a owl:AnnotationProperty . + +amr:AMR_Core_Role a owl:Class ; + rdfs:subClassOf amr:AMR_Role . + +amr:leaf_hasPart_p9 a owl:NamedIndividual, + amr:AMR_Leaf ; + amr:edge_p9_ARG0_s amr:leaf_system_s ; + amr:edge_p9_ARG1_a amr:leaf_and_a ; + amr:hasConcept amr:concept_part ; + amr:hasVariable amr:variable_p9 ; + amr:isReifiedLeaf true . + +amr:AMR_Variable a owl:Class ; + rdfs:subClassOf amr:AMR_Element . + +amr:leaf_and_a a owl:NamedIndividual, + amr:AMR_Leaf ; + amr:edge_a_op1_s2 amr:leaf_sun_s2 ; + amr:edge_a_op2_o amr:leaf_object_o ; + amr:hasConcept amr:concept_and ; + amr:hasVariable amr:variable_a . + +amr:AMR_Leaf a owl:Class ; + rdfs:subClassOf amr:AMR_Structure . + +net:objectValue a owl:AnnotationProperty ; + rdfs:label "valuations"@fr ; + rdfs:subPropertyOf net:objectProperty . + +amr:AMR_Edge a owl:Class ; + rdfs:subClassOf amr:AMR_Structure . + +amr:leaf_system_s a owl:NamedIndividual, + amr:AMR_Leaf ; + amr:edge_s_domain_p amr:leaf_system_p ; + amr:hasConcept amr:concept_system ; + amr:hasVariable amr:variable_s . + +amr:AMR_Linked_Data a owl:Class . + +[] a owl:AllDisjointClasses ; + owl:members ( sys:Degree sys:Entity sys:Feature ) . + diff --git a/tests/dev_tests/test_rule_phenomena_and_analyzer.py b/tests/dev_tests/test_rule_phenomena_and_analyzer.py new file mode 100644 index 0000000000000000000000000000000000000000..c13a2a5cd42ac4d0ace1ff99967a2e1bf7262a26 --- /dev/null +++ b/tests/dev_tests/test_rule_phenomena_and_analyzer.py @@ -0,0 +1,192 @@ +#!/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 = 'negation-devGraph-1' +TEST_FILE_NAME_2 = 'negation-devGraph-2' + +from context import tenet +from tenet.scheme.amr_clara_rule.transduction import phenomena_and_analyzer_1 as rule_1 +from tenet.scheme.amr_clara_rule.transduction import phenomena_and_analyzer_2 as rule_2 +from tenet.scheme import amr_clara_rule as rule + +from tenet.transduction.rdfterm_computer import __update_uri_with_prefix +from tenet.transduction import query_builder +from tenet.transduction import prefix_handle + +INDENT_STR = ' ' + + + +#============================================================================== +# 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 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 + graph_length = len(graph) + for triple in triple_list: + graph.add(triple) + if graph_length < len(graph): + n += 1 + graph_length = len(graph) + print_triple(graph, triple, num=n) + + 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 Test +#============================================================================== + +def test_search_pattern_1(graph): + query_code, pattern_set = rule_1.__search_pattern(graph) + print(f'\n ----- query code: {query_code}') + print(f'\n ----- number of selection found: {len(pattern_set)}') + for selection in pattern_set: + result_str = f'>>> ' + result_str += f'{selection.property_net.n3(graph.namespace_manager)}' + result_str += f' {selection.class_net.n3(graph.namespace_manager)}' + result_str += f' {selection.phenomena_net.n3(graph.namespace_manager)}' + print(result_str) + return pattern_set + + +def test_search_pattern_2(graph): + query_code, pattern_set = rule_2.__search_pattern(graph) + print(f'\n ----- query code: {query_code}') + print(f'\n ----- number of selection found: {len(pattern_set)}') + for selection in pattern_set: + result_str = f'>>> ' + result_str += f'{selection.property_net_core.n3(graph.namespace_manager)}' + result_str += f' {selection.property_net_arg0.n3(graph.namespace_manager)}' + result_str += f' {selection.phenomena_net.n3(graph.namespace_manager)}' + print(result_str) + return pattern_set + + +def test_search_operators(graph, phenomena_net_uri): + print('\n *** DEVTEST *** Search for operators') + query_code = rule_2.__property_op_pattern_query_code(graph, phenomena_net_uri, 1) + print(f' -- query code for operator 1: \n{query_code}') + result_set = rule_2.__search_property_phenomena_operator(graph, phenomena_net_uri) + print(f'\n ----- number of selection found: {len(result_set)}') + for selection in result_set: + result_str = f'>>> ' + result_str += f'{selection.property_net.n3(graph.namespace_manager)}' + print(result_str) + + +def devtest_add_triple(graph, triple): + print(f'\n -- Adding triple in a graph') + print(f"----- Graph length before update: {len(graph)}") + print(f"----- Triple added: {triple}") + graph.add(triple) + print(f"----- Graph length after update: {len(graph)}") + + + +#============================================================================== +# 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) + graph_2 = load_test_graph(TEST_FILE_NAME_2) + uriref = URIRef('net:compositeClass_orbit_hasManner_conjunction-OR') + type_uriref = URIRef('net:Composite_Class_Net') + triple = (uriref, RDF.type, type_uriref) + phenomena_net_uri = 'net:phenomena_conjunction-AND_o3' + print('\n \n') + + + print('\n ///////////////////// Extraction Rule 1') + + print('\n *** Step Test ***') + + print('\n -- Step 1: Search Pattern') + 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.analyze_phenomena_and_1) + print('\n \n') + + + print('\n ///////////////////// Extraction Rule 2') + + print('\n *** Step Test ***') + + print('\n -- Step 1: Search Pattern') + pattern_set = test_search_pattern_2(graph_2) + test_search_operators(graph_2, phenomena_net_uri) + print('\n \n') + + print('\n *** Unit Test ***') + test_rule_application(TEST_FILE_NAME_2, graph_2, rule.analyze_phenomena_and_2) + print('\n \n') + + + print('\n *** - ***') \ No newline at end of file diff --git a/tests/input/amrDocuments/dev/asail_odrl_sentences/s10.stog.amr.ttl b/tests/input/amrDocuments/dev/asail_odrl_sentences/s10.stog.amr.ttl new file mode 100644 index 0000000000000000000000000000000000000000..da707e69177fcd504061cb85a480938cdf1d5694 --- /dev/null +++ b/tests/input/amrDocuments/dev/asail_odrl_sentences/s10.stog.amr.ttl @@ -0,0 +1,75 @@ +@prefix ns1: <http://amr.isi.edu/frames/ld/v1.2.2/> . +@prefix ns2: <http://amr.isi.edu/rdf/core-amr#> . +@prefix ns3: <http://amr.isi.edu/rdf/amr-terms#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . + +ns2:Concept a rdfs:Class ; + rdfs:label "AMR-Concept" . + +ns2:Role a rdfs:Class ; + rdfs:label "AMR-Role" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#root01> a ns2:AMR ; + ns2:has-id "asail_odrl_sentences-10" ; + ns2:has-sentence "John is obligated to reproduce and distribute the Work." ; + ns2:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#o> . + +ns1:distribute-01.ARG0 a ns1:FrameRole . + +ns1:distribute-01.ARG1 a ns1:FrameRole . + +ns1:obligate-01.ARG1 a ns1:FrameRole . + +ns1:obligate-01.ARG2 a ns1:FrameRole . + +ns1:reproduce-01.ARG0 a ns1:FrameRole . + +ns1:reproduce-01.ARG1 a ns1:FrameRole . + +ns3:op1 a ns2:Role . + +ns3:op2 a ns2:Role . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#a> a ns2:and ; + ns3:op1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#r> ; + ns3:op2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#d> . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#d> a ns1:distribute-01 ; + ns1:distribute-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + ns1:distribute-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#o> a ns1:obligate-01 ; + ns1:obligate-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + ns1:obligate-01.ARG2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#a> . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#r> a ns1:reproduce-01 ; + ns1:reproduce-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + ns1:reproduce-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> . + +<http://amr.isi.edu/entity-types#person> a ns2:NamedEntity . + +ns1:distribute-01 a ns2:Frame . + +ns1:obligate-01 a ns2:Frame . + +ns1:reproduce-01 a ns2:Frame . + +ns1:work-01 a ns2:Frame . + +ns2:NamedEntity a ns2:Concept ; + rdfs:label "AMR-EntityType", + "AMR-Term" . + +ns2:and a ns2:Concept . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> a ns1:work-01 . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> a <http://amr.isi.edu/entity-types#person> ; + rdfs:label "John" . + +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/s11.stog.amr.ttl b/tests/input/amrDocuments/dev/asail_odrl_sentences/s11.stog.amr.ttl new file mode 100644 index 0000000000000000000000000000000000000000..dfeab3e829ffa687162ecd55f1feb9b26aa4b567 --- /dev/null +++ b/tests/input/amrDocuments/dev/asail_odrl_sentences/s11.stog.amr.ttl @@ -0,0 +1,69 @@ +@prefix ns1: <http://amr.isi.edu/rdf/amr-terms#> . +@prefix ns2: <http://amr.isi.edu/frames/ld/v1.2.2/> . +@prefix ns3: <http://amr.isi.edu/rdf/core-amr#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . + +ns3:Concept a rdfs:Class ; + rdfs:label "AMR-Concept" . + +ns3:Role a rdfs:Class ; + rdfs:label "AMR-Role" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-11#root01> a ns3:AMR ; + ns3:has-id "asail_odrl_sentences-11" ; + ns3:has-sentence "John is obligated to reproduce the movie and the picture." ; + ns3:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-11#o> . + +ns2:obligate-01.ARG1 a ns2:FrameRole . + +ns2:obligate-01.ARG2 a ns2:FrameRole . + +ns2:reproduce-01.ARG0 a ns2:FrameRole . + +ns2:reproduce-01.ARG1 a ns2:FrameRole . + +ns1:op1 a ns3:Role . + +ns1:op2 a ns3:Role . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-11#a> a ns3:and ; + ns1:op1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-11#m> ; + ns1:op2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-11#p2> . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-11#m> a ns1:movie . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-11#o> a ns2:obligate-01 ; + ns2:obligate-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-11#p> ; + ns2:obligate-01.ARG2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-11#r> . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-11#p2> a <http://amr.isi.edu/entity-types#picture> . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-11#r> a ns2:reproduce-01 ; + ns2:reproduce-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-11#p> ; + ns2:reproduce-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-11#a> . + +<http://amr.isi.edu/entity-types#person> a ns3:NamedEntity . + +<http://amr.isi.edu/entity-types#picture> a ns3:NamedEntity . + +ns2:obligate-01 a ns3:Frame . + +ns2:reproduce-01 a ns3:Frame . + +ns1:movie a ns3:Concept . + +ns3:and a ns3:Concept . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-11#p> a <http://amr.isi.edu/entity-types#person> ; + rdfs:label "John" . + +ns3:Frame a ns3:Concept ; + rdfs:label "AMR-PropBank-Frame" . + +ns3:NamedEntity a ns3:Concept ; + rdfs:label "AMR-EntityType", + "AMR-Term" . + +ns2:FrameRole a ns3:Role ; + rdfs:label "AMR-PropBank-Role" . +