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

Update extraction process (fix minor bugs)

parent ad5c367c
No related branches found
No related tags found
No related merge requests found
Showing
with 6123 additions and 16 deletions
...@@ -18,7 +18,7 @@ from importlib.machinery import SourceFileLoader ...@@ -18,7 +18,7 @@ from importlib.machinery import SourceFileLoader
import importlib.util import importlib.util
import importlib import importlib
from utility.timer import timed, timer_return from utility.timer import timer_return
from novTransduction.nov_rule import NovRule from novTransduction.nov_rule import NovRule
from novTransduction.nov_sequence import NovSequence from novTransduction.nov_sequence import NovSequence
...@@ -168,7 +168,7 @@ def _apply_sequence(config, graph, sequence_list): ...@@ -168,7 +168,7 @@ def _apply_sequence(config, graph, sequence_list):
new_triple_count = len(graph) - graph_length_before new_triple_count = len(graph) - graph_length_before
str = f" [{config.process_ref}] ----- {rule_label}: " str = f" [{config.process_ref}] ----- {rule_label}: "
str += f"{new_triple_count}/{len(extracted_triple_set)} new triple" str += f"{new_triple_count}/{len(extracted_triple_set)} new triple"
if new_triple_count > 1: str += f"s" if new_triple_count > 1: str += "s"
str += f" ({len(graph)}, {exec_time_date})" str += f" ({len(graph)}, {exec_time_date})"
if (new_triple_count > 0): if (new_triple_count > 0):
logger.info(str) logger.info(str)
...@@ -183,8 +183,6 @@ def _apply_sequence(config, graph, sequence_list): ...@@ -183,8 +183,6 @@ def _apply_sequence(config, graph, sequence_list):
except: except:
logger.error(f" [{config.process_ref}] *** Error while processing extraction (_apply_new_rule_sequence) ***") logger.error(f" [{config.process_ref}] *** Error while processing extraction (_apply_new_rule_sequence) ***")
logger.debug(f" [{config.process_ref}] ----- len(sequence): {len(rule.query_list)} ") logger.debug(f" [{config.process_ref}] ----- len(sequence): {len(rule.query_list)} ")
logger.debug(f" [{config.process_ref}] ----- last rule: {query_label} ")
logger.debug(f" [{config.process_ref}] ----- last SPARQL query: \n{sparql_query} ")
logger.debug(f" [{config.process_ref}] ----- len(extracted_triple_set): {len(extracted_triple_set)} ") logger.debug(f" [{config.process_ref}] ----- len(extracted_triple_set): {len(extracted_triple_set)} ")
logger.debug(f" [{config.process_ref}] ----- new_triple_count: {new_triple_count} ") logger.debug(f" [{config.process_ref}] ----- new_triple_count: {new_triple_count} ")
logger.debug(f" [{config.process_ref}] ----- exec_time_date: {exec_time_date} ") logger.debug(f" [{config.process_ref}] ----- exec_time_date: {exec_time_date} ")
...@@ -235,7 +233,7 @@ def apply_step(config, graph, rule_set, step_number, step_name, step_sequence_de ...@@ -235,7 +233,7 @@ def apply_step(config, graph, rule_set, step_number, step_name, step_sequence_de
# -- Log extracted triple number # -- Log extracted triple number
new_triple_count = len(graph) - graph_length_before_step new_triple_count = len(graph) - graph_length_before_step
str = f" [{config.process_ref}] ----- {new_triple_count} triples extracted during {step_name} step" logger.info(f" [{config.process_ref}] ----- {new_triple_count} triples extracted during {step_name} step")
return graph, step_triple_list return graph, step_triple_list
...@@ -247,7 +245,6 @@ def apply_step(config, graph, rule_set, step_number, step_name, step_sequence_de ...@@ -247,7 +245,6 @@ def apply_step(config, graph, rule_set, step_number, step_name, step_sequence_de
logger.debug(f' [{config.process_ref}] ----- step_name = {step_name}') logger.debug(f' [{config.process_ref}] ----- step_name = {step_name}')
logger.debug(f' [{config.process_ref}] ----- len(step_sequence_def) = {len(step_sequence_def)}') logger.debug(f' [{config.process_ref}] ----- len(step_sequence_def) = {len(step_sequence_def)}')
logger.debug(f' [{config.process_ref}] ----- last sequence def = {sequence_def}') logger.debug(f' [{config.process_ref}] ----- last sequence def = {sequence_def}')
logger.debug(f' [{config.process_ref}] ----- last sequence label = {sequence.label}')
#============================================================================== #==============================================================================
......
...@@ -56,16 +56,16 @@ test_data_dir = f'{INPUT_DIR_PATH}amrDocuments/' ...@@ -56,16 +56,16 @@ test_data_dir = f'{INPUT_DIR_PATH}amrDocuments/'
# onto_prefix = f'SimpleTest' # onto_prefix = f'SimpleTest'
# base_output_name = f'SimpleTest' # base_output_name = f'SimpleTest'
# uuid_num = '03' uuid_num = '03'
# amrld_dir_path = f'{test_data_dir}dev/solar-system-{uuid_num}/' 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' amrld_file_path = f'{amrld_dir_path}SSC-{uuid_num}-01.stog.amr.ttl'
# base_output_name = f'SolarSystemDev{uuid_num}' base_output_name = f'SolarSystemDev{uuid_num}'
# onto_prefix = f"https://tenet.tetras-libre.fr/demo/{uuid_num}/" onto_prefix = f"https://tenet.tetras-libre.fr/demo/{uuid_num}/"
amrld_dir_path = f'{test_data_dir}prod/SolarSystem-20230731/' # amrld_dir_path = f'{test_data_dir}prod/SolarSystem-20230731/'
onto_prefix = 'SolarSystemProd' # onto_prefix = 'SolarSystemProd'
base_output_name = 'SolarSystemProd' # base_output_name = 'SolarSystemProd'
onto_prefix = f"https://tenet.tetras-libre.fr/demo/{base_output_name}/" # onto_prefix = f"https://tenet.tetras-libre.fr/demo/{base_output_name}/"
# uuid_num = '03' # uuid_num = '03'
# amrld_dir_path = f'{test_data_dir}dev/cc-sentence-examples/' # amrld_dir_path = f'{test_data_dir}dev/cc-sentence-examples/'
......
@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-20230802
- INFO - ----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev03-20230802/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-20230802
----- output directory: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev03-20230802/tenet.tetras-libre.fr_demo_03-20230802/
----- sentence output directory: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev03-20230802/technical-data/
----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev03-20230802/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-20230802/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-20230802/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.021579)
- 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.136948)
- INFO - [P-1] ----- reclassify AMR-LD concept (2): 8/8 new triples (655, 0:00:00.054166)
- INFO - [P-1] ----- reclassify AMR-LD concept (3): 24/24 new triples (679, 0:00:00.032718)
- INFO - [P-1] ----- reclassify AMR-LD concept (4): 28/28 new triples (707, 0:00:00.055874)
- INFO - [P-1] ----- reclassify AMR-LD concept (5): 4/4 new triples (711, 0:00:00.030933)
- DEBUG - [P-1] ----- reify roles as concept: 0/0 new triple (711, 0:00:00.041182)
- INFO - [P-1] ----- reclassify existing variable: 85/85 new triples (796, 0:00:00.022547)
- DEBUG - [P-1] ----- add new variable for reified concept: 0/0 new triple (796, 0:00:00.056745)
- INFO - [P-1] ----- add AMR leaf for reclassified concept: 63/63 new triples (859, 0:00:00.036458)
- DEBUG - [P-1] ----- add AMR leaf for reified concept: 0/0 new triple (859, 0:00:00.012074)
- INFO - [P-1] ----- add AMR edge for core relation: 63/63 new triples (922, 0:00:00.126109)
- DEBUG - [P-1] ----- add AMR edge for reified concept: 0/0 new triple (922, 0:00:00.025559)
- INFO - [P-1] ----- add AMR edge for name relation: 5/5 new triples (927, 0:00:00.023973)
- INFO - [P-1] ----- add AMR edge for quant relation: 5/5 new triples (932, 0:00:00.025485)
- INFO - [P-1] ----- add AMR edge for polarity relation: 5/5 new triples (937, 0:00:00.033410)
- INFO - [P-1] ----- update AMR edge role 1: 24/24 new triples (961, 0:00:00.104050)
- INFO - [P-1] ----- add AMR root: 5/5 new triples (966, 0:00:00.012613)
- 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-20230802/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] ----- 329 triples extracted during Preprocessing step
- 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.272142)
- INFO - [P-1] ----- extract atom individuals: 8/8 new triples (1028, 0:00:00.048495)
- INFO - [P-1] ----- extract atomic properties: 112/112 new triples (1140, 0:00:00.322445)
- INFO - [P-1] ----- extract atom values: 15/15 new triples (1155, 0:00:00.146695)
- INFO - [P-1] ----- extract atom phenomena: 21/21 new triples (1176, 0:00:00.097374)
- INFO - [P-1] ----- propagate atom relations: 38/118 new triples (1214, 0:00:01.602787)
- INFO - [P-1] --- Sequence: classification sequence (1)
- DEBUG - [P-1] ----- classify modality phenomena: 0/0 new triple (1214, 0:00:00.020533)
- INFO - [P-1] ----- reclassify argument property to class: 21/26 new triples (1235, 0:00:00.115187)
- INFO - [P-1] --- Sequence: phenomena analyze sequence (1)
- INFO - [P-1] ----- analyze "polarity" phenomena (1): 33/38 new triples (1268, 0:00:00.102289)
- DEBUG - [P-1] ----- analyze "polarity" phenomena (2): 0/0 new triple (1268, 0:00:00.017780)
- DEBUG - [P-1] ----- analyze "polarity" phenomena (3): 0/0 new triple (1268, 0:00:00.018140)
- DEBUG - [P-1] ----- analyze "polarity" phenomena (4): 0/0 new triple (1268, 0:00:00.038389)
- DEBUG - [P-1] ----- analyze "polarity" phenomena (5): 0/0 new triple (1268, 0:00:00.040720)
- DEBUG - [P-1] ----- analyze modifier phenomena (mod): 0/0 new triple (1268, 0:00:00.010798)
- DEBUG - [P-1] ----- classify modality phenomena: 0/0 new triple (1268, 0:00:00.021058)
- INFO - [P-1] --- Sequence: phenomena analyze sequence (2)
- DEBUG - [P-1] ----- analyze "or" phenomena (1): 0/0 new triple (1268, 0:00:00.012118)
- DEBUG - [P-1] ----- analyze "or" phenomena (2): 0/0 new triple (1268, 0:00:00.012182)
- DEBUG - [P-1] ----- analyze "and" phenomena (1): 0/0 new triple (1268, 0:00:00.013086)
- DEBUG - [P-1] ----- analyze "and" phenomena (2): 0/0 new triple (1268, 0:00:00.012299)
- INFO - [P-1] --- Sequence: composite class extraction sequence
- DEBUG - [P-1] ----- extract composite classes (1): 0/0 new triple (1268, 0:00:00.038075)
- INFO - [P-1] ----- extract composite classes (2): 47/50 new triples (1315, 0:00:00.224363)
- 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.313884)
- DEBUG - [P-1] ----- classify class net as entity from :part relation: 0/0 new triple (1333, 0:00:00.008901)
- DEBUG - [P-1] ----- classify class net as entity from degree arguments: 0/0 new triple (1333, 0:00:00.017853)
- DEBUG - [P-1] ----- Associate mother to class net from :domain relation: 0/0 new triple (1333, 0:00:00.011785)
- DEBUG - [P-1] ----- Propagate individuals to net with same base node: 0/20 new triple (1333, 0:00:00.045711)
- DEBUG - [P-1] ----- Propagate individuals to net with domain link: 0/0 new triple (1333, 0:00:00.008859)
- 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-20230802/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] ----- 367 triples extracted during Transduction step
- 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.476652)
- INFO - [P-1] ----- generate OWL property: 25/27 new triples (1408, 0:00:00.243934)
- INFO - [P-1] ----- generate OWL individual: 4/4 new triples (1412, 0:00:00.048267)
- 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-20230802/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
- INFO - [P-1] ----- 79 triples extracted during Generation step
- DEBUG - [P-1] --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev03-20230802/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-20230802/SolarSystemDev03_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#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" .
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment