Skip to content
Snippets Groups Projects
Commit ad5c367c authored by Aurélien Lamercerie's avatar Aurélien Lamercerie
Browse files

Update Preprocessing: Fix bug with quant relation

parent e4829835
No related branches found
No related tags found
No related merge requests found
Showing
with 14403 additions and 193 deletions
......@@ -24,15 +24,15 @@ from transduction.rdfterm_computer import ( produce_uriref, produce_literal )
#==============================================================================
def __search_pattern(graph):
select_data_list = ['?leaf', '?varLabel', '?valueLabel']
select_data_list = ['?leaf', '?varLabel', '?valueLabel', '?valueLeaf']
clause_list = ['?leaf a amr:AMR_Leaf.',
'?leaf amr:hasVariable ?v.',
'?leaf amr:hasConcept ?c.',
'?v a amr:AMR_Variable.',
'?v amr:label ?varLabel.',
'?v amr:fromAmrLk ?vLink.',
'?vLink ns2:quant ?vQuant.',
'BIND (REPLACE(?vQuant, " ", "") AS ?valueLabel).'
'?vLink ns2:quant ?valueLeaf.',
'BIND (REPLACE(?valueLeaf, " ", "") AS ?valueLabel).'
]
query_code = generate_select_query(graph, select_data_list, clause_list)
result_set = graph.query(query_code)
......@@ -89,7 +89,15 @@ def add_amr_edge_for_quant_relation(graph):
# -- Selection Analyzing
rule_triple_list = []
for pattern in pattern_set:
# case 1: quant relation targeting a number (value)
if pattern.valueLabel is not None:
rule_triple_list += __add_amr_edge(
graph, pattern.leaf, pattern.varLabel, pattern.valueLabel)
# case 2: quand relation targeting a concept
else:
# TODO: handle the case of a quant relation targeting a concept
pass
return rule_label, rule_triple_list
......@@ -151,156 +151,3 @@ scheme = {
}
#!/usr/bin/python3.10
# -*-coding:Utf-8 -*
#==============================================================================
# TENET: Composition Transduction Scheme for AMR analysis
#------------------------------------------------------------------------------
# Composition Transduction Scheme (CTS) using CTR (rules) for analysis of AMR
# structure.
#==============================================================================
import scheme.amr_master_rule as rule
#==============================================================================
# Rule Directory
#==============================================================================
rule_dir = 'amr_master_rule/'
#==============================================================================
# Prefix using in CTR
#==============================================================================
prefix_list = [('owl', '<http://www.w3.org/2002/07/owl#>'),
('odrl', '<http://www.w3.org/ns/odrl/2/>'),
('cc', '<https://creativecommons.org/ns#>'),
('rdf', '<http://www.w3.org/1999/02/22-rdf-syntax-ns#>'),
('rdfs', '<http://www.w3.org/2000/01/rdf-schema#>'),
('xsd', '<http://www.w3.org/2001/XMLSchema#>'),
('amr', '<https://amr.tetras-libre.fr/rdf/schema#>'),
('ns1', '<http://amr.isi.edu/frames/ld/v1.2.2/>'),
('ns2', '<http://amr.isi.edu/rdf/amr-terms#>'),
('ns3', '<http://amr.isi.edu/rdf/core-amr#>'),
('ns4', '<http://amr.isi.edu/entity-types#>'),
('net', '<https://tenet.tetras-libre.fr/semantic-net#>'),
('cprm', '<https://tenet.tetras-libre.fr/config/parameters#>'),
('fprm', '<https://tenet.tetras-libre.fr/frame/parameters#>'),
('base-out', '<https://tenet.tetras-libre.fr/base-ontology#>'),
('ext-out', '<https://tenet.tetras-libre.fr/extract-result#>')]
#==============================================================================
# Sequences
#==============================================================================
# ---------------------------------------------
# Preprocessing Sequence(s)
# ---------------------------------------------
amr_bug_fixing_sequence = ['Bug fixing for some known anomalies of AMR-LD data',
rule.fix_amr_bug_1
]
amr_reification_sequence = ['AMR reification from AMR-Linked-Data to AMR (tenet) structure',
rule.reclassify_concept_1,
rule.reclassify_concept_2,
rule.reclassify_concept_3,
rule.reclassify_concept_4,
rule.reclassify_concept_5,
rule.reify_roles_as_concept,
rule.reclassify_existing_variable,
rule.add_new_variable_for_reified_concept,
rule.add_amr_leaf_for_reclassified_concept,
rule.add_amr_leaf_for_reified_concept,
rule.add_amr_edge_for_core_relation,
rule.add_amr_edge_for_reified_concept,
rule.add_amr_edge_for_name_relation,
rule.add_amr_edge_for_quant_relation,
rule.add_amr_edge_for_polarity_relation,
rule.update_amr_edge_role_1,
rule.add_amr_root
]
# ---------------------------------------------
# Transduction Sequences
# ---------------------------------------------
atomic_extraction_sequence = ['atomic extraction sequence',
rule.extract_atom_class,
rule.extract_atom_individual,
rule.extract_atom_property,
rule.extract_atom_value,
rule.extract_atom_phenomena,
rule.propagate_atom_relation]
classification_sequence_1 = ['classification sequence (1)',
rule.classify_modality_phenomena,
rule.reclassify_argument_property_to_class
]
phenomena_analyze_sequence_1 = ['phenomena analyze sequence (1)',
rule.analyze_phenomena_polarity_1,
rule.analyze_phenomena_polarity_2,
rule.analyze_phenomena_polarity_3,
rule.analyze_phenomena_polarity_4,
rule.analyze_phenomena_polarity_5,
rule.analyze_phenomena_mod_1,
rule.classify_modality_phenomena
]
phenomena_analyze_sequence_2 = ['phenomena analyze sequence (2)',
rule.analyze_phenomena_or_1,
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,
rule.extract_composite_class_2]
classification_sequence_2 = ['classification sequence (2)',
rule.classify_entity_from_core_arguments,
rule.classify_entity_from_part_relation,
rule.classify_entity_from_degree_arguments,
rule.classify_mother_from_domain_relation,
rule.propagate_individual_1,
rule.propagate_individual_2
]
# # ---------------------------------------------
# # OWL Generation
# # ---------------------------------------------
owl_generation_sequence = ['OWL Generation Sequence',
rule.generate_owl_class,
rule.generate_owl_property,
rule.generate_owl_individual
]
#==============================================================================
# Transduction Scheme
#==============================================================================
scheme = {
'Preprocessing': [amr_bug_fixing_sequence,
amr_reification_sequence],
'Transduction': [atomic_extraction_sequence,
classification_sequence_1,
phenomena_analyze_sequence_1,
phenomena_analyze_sequence_2,
composite_class_extraction_sequence,
classification_sequence_2],
'Generation': [owl_generation_sequence]
}
@base <https://amr.tetras-libre.fr/rdf/atom-extraction-devGraph-1/result> .
@prefix : <https://amr.tetras-libre.fr/rdf/schema#> .
@prefix cprm: <https://tenet.tetras-libre.fr/config/parameters#> .
@prefix net: <https://tenet.tetras-libre.fr/semantic-net#> .
......@@ -22,16 +21,6 @@ ns2:Role a rdfs:Class,
rdfs:label "AMR-Role" ;
rdfs:subClassOf :AMR_Linked_Data .
<amr_concept_and> rdfs:subClassOf :AMR_Relation_Concept ;
:fromAmrLk ns2:and ;
:hasPhenomenaLink :phenomena_conjunction_and ;
:label "and" .
<amr_concept_or> rdfs:subClassOf :AMR_Relation_Concept ;
:fromAmrLk ns2:or ;
:hasPhenomenaLink :phenomena_conjunction_or ;
:label "or" .
<http://amr.isi.edu/amr_data/test-1#root01> ns2:hasID "test-1" ;
ns2:hasSentence "The sun is a star." ;
ns2:root <http://amr.isi.edu/amr_data/test-1#s> .
......@@ -774,6 +763,16 @@ ns2:AMR a owl:Class ;
:hasConcept :concept_system ;
:hasVariable :variable_p .
:phenomena_conjunction_and a owl:Class ;
rdfs:subClassOf :phenomena_conjunction ;
:hasConceptLink "and" ;
:label "conjunction-AND" .
:phenomena_conjunction_or a owl:Class ;
rdfs:subClassOf :phenomena_conjunction ;
:hasConceptLink "or" ;
:label "conjunction-OR" .
:role_domain a owl:Class ;
rdfs:subClassOf :AMR_NonCore_Role ;
:hasRelationName "domain" ;
......@@ -939,9 +938,18 @@ ns2:NamedEntity a ns2:Concept,
"AMR-Term" ;
rdfs:subClassOf :AMR_Linked_Data .
ns2:and a ns2:Concept ;
rdfs:subClassOf :AMR_Linked_Data .
ns2:or a ns2:Concept ;
rdfs:subClassOf :AMR_Linked_Data .
:AMR_Phenomena a owl:Class ;
rdfs:subClassOf :AMR_Structure .
:AMR_Relation_Concept a owl:Class ;
rdfs:subClassOf :AMR_Concept .
:AMR_Value a owl:Class ;
rdfs:subClassOf :AMR_Element .
......@@ -972,16 +980,6 @@ ns2:NamedEntity a ns2:Concept,
"neither" ;
:label "conjunction" .
:phenomena_conjunction_and a owl:Class ;
rdfs:subClassOf :phenomena_conjunction ;
:hasConceptLink "and" ;
:label "conjunction-AND" .
:phenomena_conjunction_or a owl:Class ;
rdfs:subClassOf :phenomena_conjunction ;
:hasConceptLink "or" ;
:label "conjunction-OR" .
:role_op1 a owl:Class ;
rdfs:subClassOf :AMR_Op_Role ;
:label "op1" .
......@@ -1021,12 +1019,6 @@ ns2:Frame a ns2:Concept,
rdfs:label "AMR-PropBank-Frame" ;
rdfs:subClassOf :AMR_Linked_Data .
ns2:and a ns2:Concept ;
rdfs:subClassOf :AMR_Linked_Data .
ns2:or a ns2:Concept ;
rdfs:subClassOf :AMR_Linked_Data .
:AMR_Concept a owl:Class ;
rdfs:subClassOf :AMR_Element .
......@@ -1068,9 +1060,6 @@ ns3:FrameRole a ns2:Role,
:AMR_Element a owl:Class ;
rdfs:subClassOf :AMR_Structure .
:AMR_Relation_Concept a owl:Class ;
rdfs:subClassOf :AMR_Concept .
:AMR_Term_Concept a owl:Class ;
rdfs:subClassOf :AMR_Concept .
......
This diff is collapsed.
This diff is collapsed.
......@@ -17,11 +17,11 @@ INPUT_DIR_PATH = f'{FILE_PATH}/test_data/'
OUTPUT_DIR_PATH = f'{FILE_PATH}/test_data/'
TEST_FILE_NAME_1 = 'atom-extraction-devGraph-1'
TEST_FILE_NAME_2 = 'atom-extraction-devGraph-2'
TEST_FILE_NAME_3 = 'atom-extraction-devGraph-3'
TEST_FILE_NAME_2 = 'testGraph-quant-preprocessing'
from context import tenet
from scheme.amr_master_rule.preprocessing import amr_reification_1 as test_rule_1
from scheme.amr_master_rule.preprocessing import amr_reification_14 as test_rule_14
from tenet.scheme import amr_master_rule
from tenet.transduction.rdfterm_computer import __update_uri_with_prefix
......@@ -96,6 +96,18 @@ def test_search_pattern_1(graph):
return pattern_set
def test_search_pattern_14(graph):
_, pattern_set = test_rule_14.__search_pattern(graph)
print(f'\n ----- number of selection found: {len(pattern_set)}')
for row in pattern_set:
result_str = f'>>> '
result_str += f'{row.leaf.n3(graph.namespace_manager)}'
result_str += f' | {row.varLabel}'
result_str += f' | {row.valueLabel}'
result_str += f' | {row.valueLeaf}'
print(result_str)
return pattern_set
#==============================================================================
# Unit Test
......@@ -120,10 +132,9 @@ if __name__ == '__main__':
print('\n *** Test Preparation ***')
graph_1 = load_test_graph(TEST_FILE_NAME_1)
graph_2 = load_test_graph(TEST_FILE_NAME_2)
graph_3 = load_test_graph(TEST_FILE_NAME_3)
print('\n \n')
print('\n ///////////////////// Extraction Rule 1')
print('\n ///////////////////// Reclassify Concept 1')
print('\n *** Step Test ***')
print('\n -- Step 1: Search Pattern')
......@@ -134,4 +145,15 @@ if __name__ == '__main__':
test_rule_application(TEST_FILE_NAME_1, graph_1, test_rule_1.reclassify_concept_1)
print('\n \n')
print('\n ///////////////////// Add AMR Edge for Quant Relation')
print('\n *** Step Test ***')
print('\n -- Step 1: Search Pattern')
pattern_set = test_search_pattern_14(graph_2)
print('\n \n')
print('\n *** Unit Test ***')
test_rule_application(TEST_FILE_NAME_2, graph_2, test_rule_14.add_amr_edge_for_quant_relation)
print('\n \n')
print('\n *** - ***')
\ No newline at end of file
......@@ -56,7 +56,7 @@ test_data_dir = f'{INPUT_DIR_PATH}amrDocuments/'
# onto_prefix = f'SimpleTest'
# base_output_name = f'SimpleTest'
# uuid_num = '01'
# uuid_num = '03'
# amrld_dir_path = f'{test_data_dir}dev/solar-system-{uuid_num}/'
# amrld_file_path = f'{amrld_dir_path}SSC-{uuid_num}-01.stog.amr.ttl'
# base_output_name = f'SolarSystemDev{uuid_num}'
......
@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
<https://tenet.tetras-libre.fr/extract-result#SolarSystem> a owl:Individual,
<https://tenet.tetras-libre.fr/extract-result#system> ;
rdfs:label "SolarSystem" ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#direct> a owl:ObjectProperty ;
rdfs:label "direct" ;
rdfs:subPropertyOf ns1:Out_ObjectProperty ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#dwarf-planet> a owl:Class ;
rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#planet> ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#hasPart> a owl:ObjectProperty ;
rdfs:label "hasPart" ;
rdfs:subPropertyOf ns1:Out_ObjectProperty ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#large> a owl:Class ;
rdfs:label "large" ;
rdfs:subClassOf ns1:Entity ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#more> a owl:ObjectProperty ;
rdfs:label "more" ;
rdfs:subPropertyOf ns1:Out_ObjectProperty ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#most> a owl:ObjectProperty ;
rdfs:label "most" ;
rdfs:subPropertyOf ns1:Out_ObjectProperty ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#object> a owl:Class ;
rdfs:label "object" ;
rdfs:subClassOf ns1:Entity ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#orbit> a owl:Class ;
rdfs:label "orbit" ;
rdfs:subClassOf ns1:Entity ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#remain> a owl:ObjectProperty ;
rdfs:label "remain" ;
rdfs:subPropertyOf ns1:Out_ObjectProperty ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#small-body> a owl:Class ;
rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#body> ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#sun> a owl:Class ;
rdfs:label "sun" ;
rdfs:subClassOf ns1:Entity ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#body> a owl:Class ;
rdfs:label "body" ;
rdfs:subClassOf ns1:Entity ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#dwarf> a owl:Class,
owl:Individual,
<https://tenet.tetras-libre.fr/extract-result#dwarf> ;
rdfs:label "dwarf" ;
rdfs:subClassOf ns1:Undetermined_Thing ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#planet> a owl:Class ;
rdfs:label "planet" ;
rdfs:subClassOf ns1:Entity ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#small> a owl:Class,
owl:Individual,
<https://tenet.tetras-libre.fr/extract-result#small> ;
rdfs:label "small" ;
rdfs:subClassOf ns1:Entity,
ns1:Undetermined_Thing ;
ns1:fromStructure "unknown" .
- INFO - [TENET] Extraction Processing
- INFO -
=== Process Initialization ===
- INFO - -- Process Setting
- INFO - ----- Corpus source: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_data/amrDocuments/dev/solar-system-02/ (amr)
- INFO - ----- Base output dir: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev02-20230731
- INFO - ----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev02-20230731/technical-data/
- INFO - ----- Ontology target (id): https://tenet.tetras-libre.fr/demo/02/
- INFO - ----- Current path: /home/lamenji/Workspace/Tetras/tenet/tenet
- DEBUG - ----- Config file: /home/lamenji/Workspace/Tetras/tenet/tenet/owl_amr_config.xml
- DEBUG -
*** Config (Full Parameters) ***
-- Base Parameters
----- config file: /home/lamenji/Workspace/Tetras/tenet/tenet/owl_amr_config.xml
----- uuid: https://tenet.tetras-libre.fr/demo/02/
----- technical base name: tenet.tetras-libre.fr_demo_02
----- source corpus: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_data/amrDocuments/dev/solar-system-02/
----- target reference: base
----- process level: sentence
----- source type: amr
----- extraction scheme: owl_amr_scheme_1
-- Directories
----- base directory: ./
----- structure directory: ./structure/
----- CTS directory: ./scheme/
----- target frame directory: ./../input/targetFrameStructure/
----- input document directory:
----- base output dir: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev02-20230731
----- output directory: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev02-20230731/tenet.tetras-libre.fr_demo_02-20230731/
----- sentence output directory: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev02-20230731/technical-data/
----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev02-20230731/technical-data/
-- Config File Definition
----- schema file: ./structure/amr-rdf-schema.ttl
----- semantic net file: ./structure/owl-snet-schema.ttl
----- config param file: ./structure/config-parameters.ttl
----- base ontology file: ./structure/base-ontology.ttl
----- CTS file: ./scheme/owl_amr_scheme_1.py
-- Useful References for Ontology
----- base URI: https://tenet.tetras-libre.fr/working
----- ontology suffix: -ontology.ttl
----- ontology seed suffix: -ontology-seed.ttl
-- Source File Definition
----- source sentence file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_data/amrDocuments/dev/solar-system-02/**/*.ttl
-- Target File Definition
----- frame ontology file: ./../input/targetFrameStructure/base-ontology.ttl
----- frame ontology seed file: ./../input/targetFrameStructure/base-ontology-seed.ttl
-- Output
----- ontology namespace: https://tenet.tetras-libre.fr/base-ontology/
----- output file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev02-20230731/technical-data/tenet.tetras-libre.fr_demo_02.ttl
*** - ***
- DEBUG - -- Counting number of graph files (sentences)
- INFO - ----- Number of Graphs: 1
- INFO -
=== Extraction Processing ===
- INFO - Single-Processing Run
- INFO -
[P-1] *** extraction from sentence 1 ***
- INFO - [P-1] -- Work Structure Preparation
- DEBUG - [P-1] --- Graph Initialization
- DEBUG - [P-1] ----- Configuration Loading
- DEBUG - [P-1] -------- RDF Schema (320)
- DEBUG - [P-1] -------- Semantic Net Definition (486)
- DEBUG - [P-1] -------- Config Parameter Definition (520)
- DEBUG - [P-1] ----- Frame Ontology Loading
- DEBUG - [P-1] -------- Base Ontology produced as output (550)
- DEBUG - [P-1] --- Source Data Import
- DEBUG - [P-1] ----- Sentence Loading
- DEBUG - [P-1] -------- /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_data/amrDocuments/dev/solar-system-02/SSC-02-01.stog.amr.ttl (625)
- DEBUG - [P-1] --- Export work graph as turtle
- DEBUG - [P-1] ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev02-20230731/technical-data/tenet.tetras-libre.fr_demo_02-1/tenet.tetras-libre.fr_demo_02.ttl
- INFO - [P-1] ----- Sentence (id): SSC-02-01
- INFO - [P-1] ----- Sentence (text): Of the objects that orbit the Sun directly, the largest are the eight planets, with the remainder being smaller objects, the dwarf planets and small Solar System bodies.
- INFO - [P-1] -- Loading Extraction Scheme (owl_amr_scheme_1)
- DEBUG - [P-1] ----- Step number: 3
- INFO - [P-1] -- Loading Extraction Rules (amr_master_rule/*)
- DEBUG - [P-1] ----- Total rule number: 0
- INFO - [P-1] -- Step 1: Preprocessing
- INFO - [P-1] --- Sequence: Bug fixing for some known anomalies of AMR-LD data
- DEBUG - [P-1] ----- fix AMR bug (1): 0/0 new triple (625, 0:00:00.019451)
- INFO - [P-1] --- Sequence: AMR reification from AMR-Linked-Data to AMR (tenet) structure
- INFO - [P-1] ----- reclassify AMR-LD concept (1): 10/10 new triples (635, 0:00:00.098740)
- INFO - [P-1] ----- reclassify AMR-LD concept (2): 8/8 new triples (643, 0:00:00.045414)
- INFO - [P-1] ----- reclassify AMR-LD concept (3): 12/12 new triples (655, 0:00:00.033267)
- INFO - [P-1] ----- reclassify AMR-LD concept (4): 28/28 new triples (683, 0:00:00.049468)
- INFO - [P-1] ----- reclassify AMR-LD concept (5): 4/4 new triples (687, 0:00:00.030240)
- INFO - [P-1] ----- reify roles as concept: 5/5 new triples (692, 0:00:00.046128)
- INFO - [P-1] ----- reclassify existing variable: 81/81 new triples (773, 0:00:00.024410)
- INFO - [P-1] ----- add new variable for reified concept: 4/4 new triples (777, 0:00:00.058967)
- INFO - [P-1] ----- add AMR leaf for reclassified concept: 60/60 new triples (837, 0:00:00.035039)
- INFO - [P-1] ----- add AMR leaf for reified concept: 4/4 new triples (841, 0:00:00.013011)
- INFO - [P-1] ----- add AMR edge for core relation: 54/54 new triples (895, 0:00:00.142218)
- INFO - [P-1] ----- add AMR edge for reified concept: 6/6 new triples (901, 0:00:00.095913)
- INFO - [P-1] ----- add AMR edge for name relation: 5/5 new triples (906, 0:00:00.023595)
- INFO - [P-1] ----- add AMR edge for quant relation: 5/5 new triples (911, 0:00:00.027411)
- DEBUG - [P-1] ----- add AMR edge for polarity relation: 0/0 new triple (911, 0:00:00.034231)
- INFO - [P-1] ----- update AMR edge role 1: 22/22 new triples (933, 0:00:00.098330)
- INFO - [P-1] ----- add AMR root: 5/5 new triples (938, 0:00:00.010453)
- DEBUG - [P-1] --- Serializing graph to tenet.tetras-libre.fr_demo_02_Preprocessing
- DEBUG - [P-1] ----- step: Preprocessing
- DEBUG - [P-1] ----- id: https://tenet.tetras-libre.fr/demo/02/
- DEBUG - [P-1] ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev02-20230731/technical-data/tenet.tetras-libre.fr_demo_02-1/tenet.tetras-libre.fr_demo_02_Preprocessing.ttl
- DEBUG - [P-1] ----- base: http://https://tenet.tetras-libre.fr/demo/02//Preprocessing
- INFO - [P-1] -- Step 2: Transduction
- INFO - [P-1] --- Sequence: atomic extraction sequence
- INFO - [P-1] ----- extract atom classes: 66/66 new triples (1004, 0:00:00.437697)
- INFO - [P-1] ----- extract atom individuals: 8/8 new triples (1012, 0:00:00.047947)
- INFO - [P-1] ----- extract atomic properties: 72/72 new triples (1084, 0:00:00.206242)
- INFO - [P-1] ----- extract atom values: 10/10 new triples (1094, 0:00:00.052838)
- INFO - [P-1] ----- extract atom phenomena: 28/28 new triples (1122, 0:00:00.188134)
- INFO - [P-1] ----- propagate atom relations: 35/96 new triples (1157, 0:00:01.538150)
- INFO - [P-1] --- Sequence: classification sequence (1)
- DEBUG - [P-1] ----- classify modality phenomena: 0/0 new triple (1157, 0:00:00.019835)
- INFO - [P-1] ----- reclassify argument property to class: 11/14 new triples (1168, 0:00:00.069218)
- INFO - [P-1] --- Sequence: phenomena analyze sequence (1)
- DEBUG - [P-1] ----- analyze "polarity" phenomena (1): 0/0 new triple (1168, 0:00:00.007294)
- DEBUG - [P-1] ----- analyze "polarity" phenomena (2): 0/0 new triple (1168, 0:00:00.016873)
- DEBUG - [P-1] ----- analyze "polarity" phenomena (3): 0/0 new triple (1168, 0:00:00.016023)
- DEBUG - [P-1] ----- analyze "polarity" phenomena (4): 0/0 new triple (1168, 0:00:00.038800)
- DEBUG - [P-1] ----- analyze "polarity" phenomena (5): 0/0 new triple (1168, 0:00:00.036309)
- INFO - [P-1] ----- analyze modifier phenomena (mod): 43/50 new triples (1211, 0:00:00.176297)
- DEBUG - [P-1] ----- classify modality phenomena: 0/0 new triple (1211, 0:00:00.020851)
- INFO - [P-1] --- Sequence: phenomena analyze sequence (2)
- DEBUG - [P-1] ----- analyze "or" phenomena (1): 0/0 new triple (1211, 0:00:00.011476)
- DEBUG - [P-1] ----- analyze "or" phenomena (2): 0/0 new triple (1211, 0:00:00.011954)
- INFO - [P-1] ----- analyze "and" phenomena (1): 5/50 new triples (1216, 0:00:00.145590)
- DEBUG - [P-1] ----- analyze "and" phenomena (2): 0/0 new triple (1216, 0:00:00.013342)
- INFO - [P-1] --- Sequence: composite class extraction sequence
- DEBUG - [P-1] ----- extract composite classes (1): 0/0 new triple (1216, 0:00:00.032120)
- DEBUG - [P-1] ----- extract composite classes (2): 0/0 new triple (1216, 0:00:00.032710)
- INFO - [P-1] --- Sequence: classification sequence (2)
- INFO - [P-1] ----- classify class net as entity from core arguments: 24/132 new triples (1240, 0:00:00.301972)
- DEBUG - [P-1] ----- classify class net as entity from :part relation: 0/0 new triple (1240, 0:00:00.009050)
- DEBUG - [P-1] ----- classify class net as entity from degree arguments: 0/0 new triple (1240, 0:00:00.017743)
- DEBUG - [P-1] ----- Associate mother to class net from :domain relation: 0/0 new triple (1240, 0:00:00.009212)
- DEBUG - [P-1] ----- Propagate individuals to net with same base node: 0/16 new triple (1240, 0:00:00.076940)
- DEBUG - [P-1] ----- Propagate individuals to net with domain link: 0/0 new triple (1240, 0:00:00.008244)
- DEBUG - [P-1] --- Serializing graph to tenet.tetras-libre.fr_demo_02_Transduction
- DEBUG - [P-1] ----- step: Transduction
- DEBUG - [P-1] ----- id: https://tenet.tetras-libre.fr/demo/02/
- DEBUG - [P-1] ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev02-20230731/technical-data/tenet.tetras-libre.fr_demo_02-1/tenet.tetras-libre.fr_demo_02_Transduction.ttl
- DEBUG - [P-1] ----- base: http://https://tenet.tetras-libre.fr/demo/02//Transduction
- INFO - [P-1] -- Step 3: Generation
- INFO - [P-1] --- Sequence: OWL Generation Sequence
- INFO - [P-1] ----- generate OWL class: 39/50 new triples (1279, 0:00:00.428286)
- INFO - [P-1] ----- generate OWL property: 20/20 new triples (1299, 0:00:00.168243)
- INFO - [P-1] ----- generate OWL individual: 8/12 new triples (1307, 0:00:00.152646)
- DEBUG - [P-1] --- Serializing graph to tenet.tetras-libre.fr_demo_02_Generation
- DEBUG - [P-1] ----- step: Generation
- DEBUG - [P-1] ----- id: https://tenet.tetras-libre.fr/demo/02/
- DEBUG - [P-1] ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev02-20230731/technical-data/tenet.tetras-libre.fr_demo_02-1/tenet.tetras-libre.fr_demo_02_Generation.ttl
- DEBUG - [P-1] ----- base: http://https://tenet.tetras-libre.fr/demo/02//Generation
- DEBUG - [P-1] --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev02-20230731/technical-data/tenet.tetras-libre.fr_demo_02-1/tenet.tetras-libre.fr_demo_02_factoid.ttl)
- DEBUG - [P-1] ----- Number of factoids: 82
- DEBUG - [P-1] ----- Graph base: http://https://tenet.tetras-libre.fr/demo/02//factoid
- INFO - [P-1] Success (82 extracted triple(s))
- INFO -
=== Final Ontology Generation ===
- INFO - -- Making complete factoid graph by merging the result factoids
- INFO - ----- Total factoid number: 82
- INFO - -- Serializing graph to factoid string
- INFO - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/02//factoid
- INFO - -- Serializing graph to factoid file
- INFO - ----- Ontology Turtle File: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev02-20230731/SolarSystemDev02_factoid.ttl
- INFO -
=== Done ===
@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
<https://tenet.tetras-libre.fr/extract-result#SolarSystem> a owl:Individual,
<https://tenet.tetras-libre.fr/extract-result#system> ;
rdfs:label "SolarSystem" ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#direct> a owl:ObjectProperty ;
rdfs:label "direct" ;
rdfs:subPropertyOf ns1:Out_ObjectProperty ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#dwarf-planet> a owl:Class ;
rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#planet> ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#hasPart> a owl:ObjectProperty ;
rdfs:label "hasPart" ;
rdfs:subPropertyOf ns1:Out_ObjectProperty ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#large> a owl:Class ;
rdfs:label "large" ;
rdfs:subClassOf ns1:Entity ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#more> a owl:ObjectProperty ;
rdfs:label "more" ;
rdfs:subPropertyOf ns1:Out_ObjectProperty ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#most> a owl:ObjectProperty ;
rdfs:label "most" ;
rdfs:subPropertyOf ns1:Out_ObjectProperty ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#object> a owl:Class ;
rdfs:label "object" ;
rdfs:subClassOf ns1:Entity ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#orbit> a owl:Class ;
rdfs:label "orbit" ;
rdfs:subClassOf ns1:Entity ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#remain> a owl:ObjectProperty ;
rdfs:label "remain" ;
rdfs:subPropertyOf ns1:Out_ObjectProperty ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#small-body> a owl:Class ;
rdfs:subClassOf <https://tenet.tetras-libre.fr/extract-result#body> ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#sun> a owl:Class ;
rdfs:label "sun" ;
rdfs:subClassOf ns1:Entity ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#body> a owl:Class ;
rdfs:label "body" ;
rdfs:subClassOf ns1:Entity ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#dwarf> a owl:Class,
owl:Individual,
<https://tenet.tetras-libre.fr/extract-result#dwarf> ;
rdfs:label "dwarf" ;
rdfs:subClassOf ns1:Undetermined_Thing ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#planet> a owl:Class ;
rdfs:label "planet" ;
rdfs:subClassOf ns1:Entity ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#small> a owl:Class,
owl:Individual,
<https://tenet.tetras-libre.fr/extract-result#small> ;
rdfs:label "small" ;
rdfs:subClassOf ns1:Entity,
ns1:Undetermined_Thing ;
ns1:fromStructure "unknown" .
@prefix ns1: <https://tenet.tetras-libre.fr/base-ontology#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
<https://tenet.tetras-libre.fr/extract-result#Mercury> a owl:Individual,
<https://tenet.tetras-libre.fr/extract-result#planet> ;
rdfs:label "Mercury" ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#almost> a owl:Class ;
rdfs:label "almost" ;
rdfs:subClassOf ns1:Undetermined_Thing ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#equal> a owl:ObjectProperty ;
rdfs:label "equal" ;
rdfs:subPropertyOf ns1:Out_ObjectProperty ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#large> a owl:Class ;
rdfs:label "large" ;
rdfs:subClassOf ns1:Entity ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#more> a owl:Class,
owl:ObjectProperty ;
rdfs:label "more" ;
rdfs:subClassOf ns1:Entity ;
rdfs:subPropertyOf ns1:Out_ObjectProperty ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#most> a owl:ObjectProperty ;
rdfs:label "most" ;
rdfs:subPropertyOf ns1:Out_ObjectProperty ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#natural> a owl:ObjectProperty ;
rdfs:label "natural" ;
rdfs:subPropertyOf ns1:Out_ObjectProperty ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#not-direct> a owl:ObjectProperty ;
rdfs:subPropertyOf ns1:Out_ObjectProperty ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#object-include-object> a owl:Class ;
rdfs:subClassOf [ a owl:Restriction ;
owl:onProperty <https://tenet.tetras-libre.fr/extract-result#include> ;
owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#object> ],
<https://tenet.tetras-libre.fr/extract-result#object> ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#object-mean-satellite> a owl:Class ;
rdfs:subClassOf [ a owl:Restriction ;
owl:onProperty <https://tenet.tetras-libre.fr/extract-result#mean> ;
owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#satellite> ],
<https://tenet.tetras-libre.fr/extract-result#object> ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#orbit> a owl:Class ;
rdfs:label "orbit" ;
rdfs:subClassOf ns1:Entity ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#size> a owl:Class ;
rdfs:label "size" ;
rdfs:subClassOf ns1:Undetermined_Thing ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#small> a owl:Class ;
rdfs:label "small" ;
rdfs:subClassOf ns1:Entity ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#sun> a owl:Class ;
rdfs:label "sun" ;
rdfs:subClassOf ns1:Entity ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#include> a owl:ObjectProperty ;
rdfs:label "include" ;
rdfs:subPropertyOf ns1:Out_ObjectProperty ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#mean> a owl:ObjectProperty ;
rdfs:label "mean" ;
rdfs:subPropertyOf ns1:Out_ObjectProperty ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#satellite> a owl:Class ;
rdfs:label "satellite" ;
rdfs:subClassOf ns1:Entity ;
ns1:fromStructure "unknown" .
<https://tenet.tetras-libre.fr/extract-result#object> a owl:Class ;
rdfs:label "object" ;
rdfs:subClassOf ns1:Entity ;
ns1:fromStructure "unknown" .
- INFO - [TENET] Extraction Processing
- INFO -
=== Process Initialization ===
- INFO - -- Process Setting
- INFO - ----- Corpus source: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_data/amrDocuments/dev/solar-system-03/ (amr)
- INFO - ----- Base output dir: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev03-20230731
- INFO - ----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev03-20230731/technical-data/
- INFO - ----- Ontology target (id): https://tenet.tetras-libre.fr/demo/03/
- INFO - ----- Current path: /home/lamenji/Workspace/Tetras/tenet/tenet
- DEBUG - ----- Config file: /home/lamenji/Workspace/Tetras/tenet/tenet/owl_amr_config.xml
- DEBUG -
*** Config (Full Parameters) ***
-- Base Parameters
----- config file: /home/lamenji/Workspace/Tetras/tenet/tenet/owl_amr_config.xml
----- uuid: https://tenet.tetras-libre.fr/demo/03/
----- technical base name: tenet.tetras-libre.fr_demo_03
----- source corpus: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_data/amrDocuments/dev/solar-system-03/
----- target reference: base
----- process level: sentence
----- source type: amr
----- extraction scheme: owl_amr_scheme_1
-- Directories
----- base directory: ./
----- structure directory: ./structure/
----- CTS directory: ./scheme/
----- target frame directory: ./../input/targetFrameStructure/
----- input document directory:
----- base output dir: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev03-20230731
----- output directory: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev03-20230731/tenet.tetras-libre.fr_demo_03-20230731/
----- sentence output directory: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev03-20230731/technical-data/
----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev03-20230731/technical-data/
-- Config File Definition
----- schema file: ./structure/amr-rdf-schema.ttl
----- semantic net file: ./structure/owl-snet-schema.ttl
----- config param file: ./structure/config-parameters.ttl
----- base ontology file: ./structure/base-ontology.ttl
----- CTS file: ./scheme/owl_amr_scheme_1.py
-- Useful References for Ontology
----- base URI: https://tenet.tetras-libre.fr/working
----- ontology suffix: -ontology.ttl
----- ontology seed suffix: -ontology-seed.ttl
-- Source File Definition
----- source sentence file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_data/amrDocuments/dev/solar-system-03/**/*.ttl
-- Target File Definition
----- frame ontology file: ./../input/targetFrameStructure/base-ontology.ttl
----- frame ontology seed file: ./../input/targetFrameStructure/base-ontology-seed.ttl
-- Output
----- ontology namespace: https://tenet.tetras-libre.fr/base-ontology/
----- output file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev03-20230731/technical-data/tenet.tetras-libre.fr_demo_03.ttl
*** - ***
- DEBUG - -- Counting number of graph files (sentences)
- INFO - ----- Number of Graphs: 1
- INFO -
=== Extraction Processing ===
- INFO - Single-Processing Run
- INFO -
[P-1] *** extraction from sentence 1 ***
- INFO - [P-1] -- Work Structure Preparation
- DEBUG - [P-1] --- Graph Initialization
- DEBUG - [P-1] ----- Configuration Loading
- DEBUG - [P-1] -------- RDF Schema (320)
- DEBUG - [P-1] -------- Semantic Net Definition (486)
- DEBUG - [P-1] -------- Config Parameter Definition (520)
- DEBUG - [P-1] ----- Frame Ontology Loading
- DEBUG - [P-1] -------- Base Ontology produced as output (550)
- DEBUG - [P-1] --- Source Data Import
- DEBUG - [P-1] ----- Sentence Loading
- DEBUG - [P-1] -------- /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_data/amrDocuments/dev/solar-system-03/SSC-03-01.stog.amr.ttl (637)
- DEBUG - [P-1] --- Export work graph as turtle
- DEBUG - [P-1] ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev03-20230731/technical-data/tenet.tetras-libre.fr_demo_03-1/tenet.tetras-libre.fr_demo_03.ttl
- INFO - [P-1] ----- Sentence (id): SSC-03-01
- INFO - [P-1] ----- Sentence (text): Of the objects that orbit the Sun indirectly—the natural satellites—two are larger than the smallest planet, Mercury, and one more almost equals it in size.
- INFO - [P-1] -- Loading Extraction Scheme (owl_amr_scheme_1)
- DEBUG - [P-1] ----- Step number: 3
- INFO - [P-1] -- Loading Extraction Rules (amr_master_rule/*)
- DEBUG - [P-1] ----- Total rule number: 0
- INFO - [P-1] -- Step 1: Preprocessing
- INFO - [P-1] --- Sequence: Bug fixing for some known anomalies of AMR-LD data
- DEBUG - [P-1] ----- fix AMR bug (1): 0/0 new triple (637, 0:00:00.019523)
- INFO - [P-1] --- Sequence: AMR reification from AMR-Linked-Data to AMR (tenet) structure
- INFO - [P-1] ----- reclassify AMR-LD concept (1): 10/10 new triples (647, 0:00:00.103167)
- INFO - [P-1] ----- reclassify AMR-LD concept (2): 8/8 new triples (655, 0:00:00.047495)
- INFO - [P-1] ----- reclassify AMR-LD concept (3): 24/24 new triples (679, 0:00:00.034208)
- INFO - [P-1] ----- reclassify AMR-LD concept (4): 28/28 new triples (707, 0:00:00.047888)
- INFO - [P-1] ----- reclassify AMR-LD concept (5): 4/4 new triples (711, 0:00:00.028563)
- DEBUG - [P-1] ----- reify roles as concept: 0/0 new triple (711, 0:00:00.038609)
- INFO - [P-1] ----- reclassify existing variable: 85/85 new triples (796, 0:00:00.020198)
- DEBUG - [P-1] ----- add new variable for reified concept: 0/0 new triple (796, 0:00:00.043450)
- INFO - [P-1] ----- add AMR leaf for reclassified concept: 63/63 new triples (859, 0:00:00.035266)
- DEBUG - [P-1] ----- add AMR leaf for reified concept: 0/0 new triple (859, 0:00:00.010673)
- INFO - [P-1] ----- add AMR edge for core relation: 63/63 new triples (922, 0:00:00.114699)
- DEBUG - [P-1] ----- add AMR edge for reified concept: 0/0 new triple (922, 0:00:00.020376)
- INFO - [P-1] ----- add AMR edge for name relation: 5/5 new triples (927, 0:00:00.021595)
- INFO - [P-1] ----- add AMR edge for quant relation: 5/5 new triples (932, 0:00:00.028841)
- INFO - [P-1] ----- add AMR edge for polarity relation: 5/5 new triples (937, 0:00:00.032158)
- INFO - [P-1] ----- update AMR edge role 1: 24/24 new triples (961, 0:00:00.097810)
- INFO - [P-1] ----- add AMR root: 5/5 new triples (966, 0:00:00.009984)
- DEBUG - [P-1] --- Serializing graph to tenet.tetras-libre.fr_demo_03_Preprocessing
- DEBUG - [P-1] ----- step: Preprocessing
- DEBUG - [P-1] ----- id: https://tenet.tetras-libre.fr/demo/03/
- DEBUG - [P-1] ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev03-20230731/technical-data/tenet.tetras-libre.fr_demo_03-1/tenet.tetras-libre.fr_demo_03_Preprocessing.ttl
- DEBUG - [P-1] ----- base: http://https://tenet.tetras-libre.fr/demo/03//Preprocessing
- INFO - [P-1] -- Step 2: Transduction
- INFO - [P-1] --- Sequence: atomic extraction sequence
- INFO - [P-1] ----- extract atom classes: 54/54 new triples (1020, 0:00:00.264614)
- INFO - [P-1] ----- extract atom individuals: 8/8 new triples (1028, 0:00:00.054027)
- INFO - [P-1] ----- extract atomic properties: 112/112 new triples (1140, 0:00:00.310148)
- INFO - [P-1] ----- extract atom values: 15/15 new triples (1155, 0:00:00.138019)
- INFO - [P-1] ----- extract atom phenomena: 21/21 new triples (1176, 0:00:00.108372)
- INFO - [P-1] ----- propagate atom relations: 38/118 new triples (1214, 0:00:01.561867)
- INFO - [P-1] --- Sequence: classification sequence (1)
- DEBUG - [P-1] ----- classify modality phenomena: 0/0 new triple (1214, 0:00:00.020023)
- INFO - [P-1] ----- reclassify argument property to class: 21/26 new triples (1235, 0:00:00.114953)
- INFO - [P-1] --- Sequence: phenomena analyze sequence (1)
- INFO - [P-1] ----- analyze "polarity" phenomena (1): 33/38 new triples (1268, 0:00:00.097586)
- DEBUG - [P-1] ----- analyze "polarity" phenomena (2): 0/0 new triple (1268, 0:00:00.018994)
- DEBUG - [P-1] ----- analyze "polarity" phenomena (3): 0/0 new triple (1268, 0:00:00.016877)
- DEBUG - [P-1] ----- analyze "polarity" phenomena (4): 0/0 new triple (1268, 0:00:00.035043)
- DEBUG - [P-1] ----- analyze "polarity" phenomena (5): 0/0 new triple (1268, 0:00:00.037701)
- DEBUG - [P-1] ----- analyze modifier phenomena (mod): 0/0 new triple (1268, 0:00:00.012552)
- DEBUG - [P-1] ----- classify modality phenomena: 0/0 new triple (1268, 0:00:00.021040)
- INFO - [P-1] --- Sequence: phenomena analyze sequence (2)
- DEBUG - [P-1] ----- analyze "or" phenomena (1): 0/0 new triple (1268, 0:00:00.011754)
- DEBUG - [P-1] ----- analyze "or" phenomena (2): 0/0 new triple (1268, 0:00:00.011736)
- DEBUG - [P-1] ----- analyze "and" phenomena (1): 0/0 new triple (1268, 0:00:00.011975)
- DEBUG - [P-1] ----- analyze "and" phenomena (2): 0/0 new triple (1268, 0:00:00.011097)
- INFO - [P-1] --- Sequence: composite class extraction sequence
- DEBUG - [P-1] ----- extract composite classes (1): 0/0 new triple (1268, 0:00:00.032884)
- INFO - [P-1] ----- extract composite classes (2): 47/50 new triples (1315, 0:00:00.217734)
- INFO - [P-1] --- Sequence: classification sequence (2)
- INFO - [P-1] ----- classify class net as entity from core arguments: 18/142 new triples (1333, 0:00:00.303768)
- DEBUG - [P-1] ----- classify class net as entity from :part relation: 0/0 new triple (1333, 0:00:00.009415)
- DEBUG - [P-1] ----- classify class net as entity from degree arguments: 0/0 new triple (1333, 0:00:00.017532)
- DEBUG - [P-1] ----- Associate mother to class net from :domain relation: 0/0 new triple (1333, 0:00:00.008853)
- DEBUG - [P-1] ----- Propagate individuals to net with same base node: 0/20 new triple (1333, 0:00:00.044033)
- DEBUG - [P-1] ----- Propagate individuals to net with domain link: 0/0 new triple (1333, 0:00:00.009328)
- DEBUG - [P-1] --- Serializing graph to tenet.tetras-libre.fr_demo_03_Transduction
- DEBUG - [P-1] ----- step: Transduction
- DEBUG - [P-1] ----- id: https://tenet.tetras-libre.fr/demo/03/
- DEBUG - [P-1] ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev03-20230731/technical-data/tenet.tetras-libre.fr_demo_03-1/tenet.tetras-libre.fr_demo_03_Transduction.ttl
- DEBUG - [P-1] ----- base: http://https://tenet.tetras-libre.fr/demo/03//Transduction
- INFO - [P-1] -- Step 3: Generation
- INFO - [P-1] --- Sequence: OWL Generation Sequence
- INFO - [P-1] ----- generate OWL class: 50/54 new triples (1383, 0:00:00.461422)
- INFO - [P-1] ----- generate OWL property: 25/27 new triples (1408, 0:00:00.237224)
- INFO - [P-1] ----- generate OWL individual: 4/4 new triples (1412, 0:00:00.049118)
- DEBUG - [P-1] --- Serializing graph to tenet.tetras-libre.fr_demo_03_Generation
- DEBUG - [P-1] ----- step: Generation
- DEBUG - [P-1] ----- id: https://tenet.tetras-libre.fr/demo/03/
- DEBUG - [P-1] ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev03-20230731/technical-data/tenet.tetras-libre.fr_demo_03-1/tenet.tetras-libre.fr_demo_03_Generation.ttl
- DEBUG - [P-1] ----- base: http://https://tenet.tetras-libre.fr/demo/03//Generation
- DEBUG - [P-1] --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev03-20230731/technical-data/tenet.tetras-libre.fr_demo_03-1/tenet.tetras-libre.fr_demo_03_factoid.ttl)
- DEBUG - [P-1] ----- Number of factoids: 85
- DEBUG - [P-1] ----- Graph base: http://https://tenet.tetras-libre.fr/demo/03//factoid
- INFO - [P-1] Success (85 extracted triple(s))
- INFO -
=== Final Ontology Generation ===
- INFO - -- Making complete factoid graph by merging the result factoids
- INFO - ----- Total factoid number: 85
- INFO - -- Serializing graph to factoid string
- INFO - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/03//factoid
- INFO - -- Serializing graph to factoid file
- INFO - ----- Ontology Turtle File: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev03-20230731/SolarSystemDev03_factoid.ttl
- INFO -
=== Done ===
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment