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

Update OWL AMR config

parent 0aa62f6b
No related branches found
No related tags found
No related merge requests found
Showing
with 7645 additions and 1208 deletions
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<file <file
amr_input_data_schema = "amr-rdf-schema" amr_input_data_schema = "amr-rdf-schema"
unl_input_data_schema = "unl-rdf-schema" unl_input_data_schema = "unl-rdf-schema"
semantic_net_schema = "odrl-snet-schema" semantic_net_schema = "owl-snet-schema"
config_param = "config-parameters" config_param = "config-parameters"
/> />
......
This diff is collapsed.
...@@ -29,7 +29,7 @@ from context import tenet ...@@ -29,7 +29,7 @@ from context import tenet
# -- Input Data # -- Input Data
test_data_dir = f'{INPUT_DIR_PATH}amrDocuments/' test_data_dir = f'{INPUT_DIR_PATH}amrDocuments/'
uuid_num = '00' uuid_num = '16'
amrld_dir_path = f'{test_data_dir}dev/asail_odrl_sentences/' amrld_dir_path = f'{test_data_dir}dev/asail_odrl_sentences/'
amrld_file_path = f'{amrld_dir_path}s{uuid_num}.stog.amr.ttl' amrld_file_path = f'{amrld_dir_path}s{uuid_num}.stog.amr.ttl'
base_output_name = f'aos{uuid_num}' base_output_name = f'aos{uuid_num}'
...@@ -50,16 +50,16 @@ technical_dir_path = f'{out_dir_path}technical-data/' ...@@ -50,16 +50,16 @@ technical_dir_path = f'{out_dir_path}technical-data/'
# ----------------------------------------------- # -----------------------------------------------
# -- Extraction from a file # -- Extraction from a file
# factoids = tenet.generate_odrl_from_amrld_file(amrld_file_path, factoids = tenet.generate_odrl_from_amrld_file(amrld_file_path,
# onto_prefix=onto_prefix,
# out_file_path=out_file_path,
# technical_dir_path=technical_dir_path)
# -- Extraction from a directory (all files in a directory)
factoids = tenet.generate_odrl_from_amrld_dir(amrld_dir_path,
onto_prefix=onto_prefix, onto_prefix=onto_prefix,
out_file_path=out_file_path, out_file_path=out_file_path,
technical_dir_path=technical_dir_path) technical_dir_path=technical_dir_path)
# -- Extraction from a directory (all files in a directory)
# factoids = tenet.generate_odrl_from_amrld_dir(amrld_dir_path,
# onto_prefix=onto_prefix,
# out_file_path=out_file_path,
# technical_dir_path=technical_dir_path)
print(factoids) print(factoids)
\ No newline at end of file
...@@ -55,7 +55,7 @@ test_data_dir = f'{INPUT_DIR_PATH}amrDocuments/' ...@@ -55,7 +55,7 @@ test_data_dir = f'{INPUT_DIR_PATH}amrDocuments/'
# amrld_dir_path = f'{test_data_dir}dev/test/' # amrld_dir_path = f'{test_data_dir}dev/test/'
# onto_prefix = f'SimpleTest' # onto_prefix = f'SimpleTest'
uuid_num = '02' uuid_num = '01'
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}'
......
@base <http://https://tenet.tetras-libre.fr/demo/clara/12//factoid> .
@prefix ns1: <http://www.w3.org/ns/odrl/2/> .
<https://tenet.tetras-libre.fr/extract-result#policy_policy_asail_odrl_sentences-12> ns1:permission """[
odrl:target <http://example.com/asset:any.movie> ;
odrl:assignee <http://example.com/asset:any.you> ;
odrl:action odrl:use ]""" .
- 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/asail_odrl_sentences/s12.stog.amr.ttl (amr)
- INFO - ----- Base output dir: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos12-20230512/aos12_factoid.ttl
- INFO - ----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos12-20230512/technical-data/
- INFO - ----- Ontology target (id): https://tenet.tetras-libre.fr/demo/clara/12/
- INFO - ----- Current path: /home/lamenji/Workspace/Tetras/tenet/tenet
- DEBUG - ----- Config file: /home/lamenji/Workspace/Tetras/tenet/tenet/odrl_amr_config.xml
- DEBUG -
*** Config (Full Parameters) ***
-- Base Parameters
----- config file: /home/lamenji/Workspace/Tetras/tenet/tenet/odrl_amr_config.xml
----- uuid: https://tenet.tetras-libre.fr/demo/clara/12/
----- technical base name: tenet.tetras-libre.fr_demo_clara_12
----- source corpus: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_data/amrDocuments/dev/asail_odrl_sentences/s12.stog.amr.ttl
----- target reference: base
----- process level: sentence
----- source type: amr
----- extraction scheme: odrl_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_odrl_output/aos12-20230512/aos12_factoid.ttl
----- output directory: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos12-20230512/aos12_factoid.ttltenet.tetras-libre.fr_demo_clara_12-20230512/
----- sentence output directory: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos12-20230512/technical-data/
----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos12-20230512/technical-data/
-- Config File Definition
----- schema file: ./structure/amr-rdf-schema.ttl
----- semantic net file: ./structure/odrl-snet-schema.ttl
----- config param file: ./structure/config-parameters.ttl
----- base ontology file: ./structure/base-ontology.ttl
----- CTS file: ./scheme/odrl_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/asail_odrl_sentences/s12.stog.amr.ttl**/*.ttl
-- Target File Definition
----- frame ontology file: ./../input/targetFrameStructure/base-ontology.ttl
----- frame ontology seed file: ./../input/targetFrameStructure/base-ontology-seed.ttl
-- Output
----- ontology namespace: https://tenet.tetras-libre.fr/base-ontology/
----- output file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos12-20230512/technical-data/tenet.tetras-libre.fr_demo_clara_12.ttl
*** - ***
- INFO -
=== Extraction Processing ===
- INFO - -- Work Structure Preparation
- DEBUG - --- Graph Initialization
- DEBUG - ----- Configuration Loading
- DEBUG - -------- RDF Schema (320)
- DEBUG - -------- Semantic Net Definition (470)
- DEBUG - -------- Config Parameter Definition (504)
- DEBUG - ----- Frame Ontology Loading
- DEBUG - -------- Base Ontology produced as output (534)
- DEBUG - --- Source Data Import
- DEBUG - ----- Sentence Loading
- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_data/amrDocuments/dev/asail_odrl_sentences/s12.stog.amr.ttl (556)
- DEBUG - --- Export work graph as turtle
- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos12-20230512/technical-data/tenet.tetras-libre.fr_demo_clara_12-0/tenet.tetras-libre.fr_demo_clara_12.ttl
- INFO - ----- Sentence (id): policy_asail_odrl_sentences-12
- INFO - ----- Sentence (text): You may use the movie.
- INFO - -- Loading Extraction Scheme (odrl_amr_scheme_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.041077)
- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence
- INFO - ----- reclassify-concept-1: 5/5 new triples (561, 0:00:00.147672)
- DEBUG - ----- reclassify-concept-2: 0/0 new triple (561, 0:00:00.084873)
- INFO - ----- reclassify-concept-3: 4/4 new triples (565, 0:00:00.056139)
- INFO - ----- reclassify-concept-4: 8/8 new triples (573, 0:00:00.093827)
- DEBUG - ----- reclassify-concept-5: 0/0 new triple (573, 0:00:00.060683)
- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (573, 0:00:00.055384)
- INFO - ----- reclassify-existing-variable: 16/16 new triples (589, 0:00:00.029376)
- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (589, 0:00:00.053611)
- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (601, 0:00:00.031735)
- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (601, 0:00:00.030812)
- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (613, 0:00:00.104698)
- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (613, 0:00:00.089424)
- DEBUG - ----- add-amr-edge-for-name-relation: 0/0 new triple (613, 0:00:00.070333)
- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (613, 0:00:00.074703)
- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (613, 0:00:00.091299)
- INFO - ----- update-amr-edge-role-1: 4/4 new triples (617, 0:00:00.048618)
- INFO - ----- add-amr-root: 5/5 new triples (622, 0:00:00.050334)
- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_preprocessing
- DEBUG - ----- step: preprocessing
- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/
- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos12-20230512/technical-data/tenet.tetras-libre.fr_demo_clara_12-0/tenet.tetras-libre.fr_demo_clara_12_preprocessing.ttl
- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//preprocessing
- INFO - ----- 66 triples extracted during preprocessing step
- INFO - -- Applying extraction step: transduction
- INFO - --- *** February Transduction *** Sequence: atomic extraction sequence
- INFO - ----- extract atom classes: 12/12 new triples (634, 0:00:00.091775)
- DEBUG - ----- extract atom individuals: 0/0 new triple (634, 0:00:00.015552)
- INFO - ----- extract atomic properties: 13/13 new triples (647, 0:00:00.139670)
- DEBUG - ----- extract atom values: 0/0 new triple (647, 0:00:00.008187)
- INFO - ----- extract atom phenomena: 7/7 new triples (654, 0:00:00.055680)
- INFO - ----- propagate atom relations: 7/16 new triples (661, 0:00:00.302023)
- INFO - --- *** February Transduction *** Sequence: classification sequence (1)
- INFO - ----- classify modality phenomena: 1/5 new triple (662, 0:00:00.052468)
- DEBUG - ----- reclassify argument property to class: 0/0 new triple (662, 0:00:00.036384)
- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1)
- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (662, 0:00:00.013788)
- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (662, 0:00:00.022657)
- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (662, 0:00:00.022523)
- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (662, 0:00:00.051224)
- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (662, 0:00:00.049289)
- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (662, 0:00:00.012804)
- DEBUG - ----- classify modality phenomena: 0/10 new triple (662, 0:00:00.080605)
- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2)
- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (662, 0:00:00.016495)
- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (662, 0:00:00.016695)
- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (662, 0:00:00.017013)
- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (662, 0:00:00.017957)
- INFO - --- *** February Transduction *** Sequence: action property extraction sequence
- INFO - ----- extract action properties (1): 18/21 new triples (680, 0:00:00.151412)
- DEBUG - ----- extract action properties (2): 0/0 new triple (680, 0:00:00.099474)
- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence
- DEBUG - ----- extract composite classes (1): 0/0 new triple (680, 0:00:00.024384)
- DEBUG - ----- extract composite classes (2): 0/0 new triple (680, 0:00:00.022558)
- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence
- INFO - ----- extract ODRL actions: 14/15 new triples (694, 0:00:00.150026)
- INFO - ----- extract ODRL rules: 12/24 new triples (706, 0:00:00.168410)
- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_transduction
- DEBUG - ----- step: transduction
- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/
- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos12-20230512/technical-data/tenet.tetras-libre.fr_demo_clara_12-0/tenet.tetras-libre.fr_demo_clara_12_transduction.ttl
- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//transduction
- INFO - ----- 84 triples extracted during transduction step
- INFO - -- Applying extraction step: generation
- INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence
- INFO - ----- generate ODRL rule: 1/1 new triple (707, 0:00:00.060570)
- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_12_generation
- DEBUG - ----- step: generation
- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/12/
- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos12-20230512/technical-data/tenet.tetras-libre.fr_demo_clara_12-0/tenet.tetras-libre.fr_demo_clara_12_generation.ttl
- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/12//generation
- INFO - ----- 1 triples extracted during generation step
- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos12-20230512/technical-data/tenet.tetras-libre.fr_demo_clara_12-0/tenet.tetras-libre.fr_demo_clara_12_factoid.ttl)
- DEBUG - ----- Number of factoids: 1
- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/12//factoid
- INFO -
=== Final Ontology Generation ===
- INFO - -- Making complete factoid graph by merging the result factoids
- INFO - ----- Total factoid number: 1
- INFO - -- Serializing graph to factoid string
- INFO - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/12//factoid
- INFO - -- Serializing graph to factoid file
- INFO - ----- Ontology Turtle File: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos12-20230512/aos12_factoid.ttl
- INFO -
=== Done ===
@base <http://https://tenet.tetras-libre.fr/demo/clara/12//factoid> .
@prefix ns1: <http://www.w3.org/ns/odrl/2/> .
<https://tenet.tetras-libre.fr/extract-result#policy_policy_asail_odrl_sentences-12> ns1:permission """[
odrl:target <http://example.com/asset:any.movie> ;
odrl:assignee <http://example.com/asset:any.you> ;
odrl:action odrl:use ]""" .
@base <http://https://tenet.tetras-libre.fr/demo/clara/14//factoid> .
@prefix ns1: <http://www.w3.org/ns/odrl/2/> .
<https://tenet.tetras-libre.fr/extract-result#policy_asail_odrl_sentences-14> ns1:permission """[
odrl:target <http://example.com/asset:any.work> ;
odrl:assignee <http://example.com/asset:any.you> ;
odrl:action cc:Distribution ]""" .
- 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/asail_odrl_sentences/s14.stog.amr.ttl (amr)
- INFO - ----- Base output dir: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos14-20230512/aos14_factoid.ttl
- INFO - ----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos14-20230512/technical-data/
- INFO - ----- Ontology target (id): https://tenet.tetras-libre.fr/demo/clara/14/
- INFO - ----- Current path: /home/lamenji/Workspace/Tetras/tenet/tenet
- DEBUG - ----- Config file: /home/lamenji/Workspace/Tetras/tenet/tenet/odrl_amr_config.xml
- DEBUG -
*** Config (Full Parameters) ***
-- Base Parameters
----- config file: /home/lamenji/Workspace/Tetras/tenet/tenet/odrl_amr_config.xml
----- uuid: https://tenet.tetras-libre.fr/demo/clara/14/
----- technical base name: tenet.tetras-libre.fr_demo_clara_14
----- source corpus: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_data/amrDocuments/dev/asail_odrl_sentences/s14.stog.amr.ttl
----- target reference: base
----- process level: sentence
----- source type: amr
----- extraction scheme: odrl_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_odrl_output/aos14-20230512/aos14_factoid.ttl
----- output directory: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos14-20230512/aos14_factoid.ttltenet.tetras-libre.fr_demo_clara_14-20230512/
----- sentence output directory: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos14-20230512/technical-data/
----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos14-20230512/technical-data/
-- Config File Definition
----- schema file: ./structure/amr-rdf-schema.ttl
----- semantic net file: ./structure/odrl-snet-schema.ttl
----- config param file: ./structure/config-parameters.ttl
----- base ontology file: ./structure/base-ontology.ttl
----- CTS file: ./scheme/odrl_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/asail_odrl_sentences/s14.stog.amr.ttl**/*.ttl
-- Target File Definition
----- frame ontology file: ./../input/targetFrameStructure/base-ontology.ttl
----- frame ontology seed file: ./../input/targetFrameStructure/base-ontology-seed.ttl
-- Output
----- ontology namespace: https://tenet.tetras-libre.fr/base-ontology/
----- output file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos14-20230512/technical-data/tenet.tetras-libre.fr_demo_clara_14.ttl
*** - ***
- INFO -
=== Extraction Processing ===
- INFO - -- Work Structure Preparation
- DEBUG - --- Graph Initialization
- DEBUG - ----- Configuration Loading
- DEBUG - -------- RDF Schema (320)
- DEBUG - -------- Semantic Net Definition (470)
- DEBUG - -------- Config Parameter Definition (504)
- DEBUG - ----- Frame Ontology Loading
- DEBUG - -------- Base Ontology produced as output (534)
- DEBUG - --- Source Data Import
- DEBUG - ----- Sentence Loading
- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_data/amrDocuments/dev/asail_odrl_sentences/s14.stog.amr.ttl (554)
- DEBUG - --- Export work graph as turtle
- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos14-20230512/technical-data/tenet.tetras-libre.fr_demo_clara_14-0/tenet.tetras-libre.fr_demo_clara_14.ttl
- INFO - ----- Sentence (id): asail_odrl_sentences-14
- INFO - ----- Sentence (text): You may distribute the Work.
- INFO - -- Loading Extraction Scheme (odrl_amr_scheme_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.034984)
- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence
- INFO - ----- reclassify-concept-1: 5/5 new triples (559, 0:00:00.109677)
- DEBUG - ----- reclassify-concept-2: 0/0 new triple (559, 0:00:00.066370)
- INFO - ----- reclassify-concept-3: 8/8 new triples (567, 0:00:00.049493)
- INFO - ----- reclassify-concept-4: 4/4 new triples (571, 0:00:00.058855)
- DEBUG - ----- reclassify-concept-5: 0/0 new triple (571, 0:00:00.049251)
- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (571, 0:00:00.068271)
- INFO - ----- reclassify-existing-variable: 16/16 new triples (587, 0:00:00.040703)
- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (587, 0:00:00.067817)
- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (599, 0:00:00.052805)
- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (599, 0:00:00.039360)
- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (608, 0:00:00.123196)
- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (608, 0:00:00.096113)
- DEBUG - ----- add-amr-edge-for-name-relation: 0/0 new triple (608, 0:00:00.097203)
- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (608, 0:00:00.093256)
- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (608, 0:00:00.095491)
- INFO - ----- update-amr-edge-role-1: 3/3 new triples (611, 0:00:00.037784)
- INFO - ----- add-amr-root: 5/5 new triples (616, 0:00:00.032289)
- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_14_preprocessing
- DEBUG - ----- step: preprocessing
- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/14/
- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos14-20230512/technical-data/tenet.tetras-libre.fr_demo_clara_14-0/tenet.tetras-libre.fr_demo_clara_14_preprocessing.ttl
- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/14//preprocessing
- INFO - ----- 62 triples extracted during preprocessing step
- INFO - -- Applying extraction step: transduction
- INFO - --- *** February Transduction *** Sequence: atomic extraction sequence
- INFO - ----- extract atom classes: 6/6 new triples (622, 0:00:00.048090)
- DEBUG - ----- extract atom individuals: 0/0 new triple (622, 0:00:00.014863)
- INFO - ----- extract atomic properties: 24/24 new triples (646, 0:00:00.145967)
- DEBUG - ----- extract atom values: 0/0 new triple (646, 0:00:00.006093)
- INFO - ----- extract atom phenomena: 7/7 new triples (653, 0:00:00.034230)
- INFO - ----- propagate atom relations: 5/12 new triples (658, 0:00:00.231383)
- INFO - --- *** February Transduction *** Sequence: classification sequence (1)
- INFO - ----- classify modality phenomena: 1/3 new triple (659, 0:00:00.037350)
- INFO - ----- reclassify argument property to class: 9/10 new triples (668, 0:00:00.067839)
- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1)
- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (668, 0:00:00.008543)
- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (668, 0:00:00.017809)
- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (668, 0:00:00.015491)
- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (668, 0:00:00.037010)
- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (668, 0:00:00.040740)
- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (668, 0:00:00.012537)
- DEBUG - ----- classify modality phenomena: 0/6 new triple (668, 0:00:00.050878)
- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2)
- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (668, 0:00:00.012501)
- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (668, 0:00:00.010738)
- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (668, 0:00:00.009381)
- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (668, 0:00:00.011037)
- INFO - --- *** February Transduction *** Sequence: action property extraction sequence
- INFO - ----- extract action properties (1): 19/23 new triples (687, 0:00:00.104025)
- DEBUG - ----- extract action properties (2): 0/0 new triple (687, 0:00:00.093124)
- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence
- DEBUG - ----- extract composite classes (1): 0/0 new triple (687, 0:00:00.031396)
- DEBUG - ----- extract composite classes (2): 0/0 new triple (687, 0:00:00.024641)
- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence
- INFO - ----- extract ODRL actions: 14/15 new triples (701, 0:00:00.120010)
- INFO - ----- extract ODRL rules: 12/24 new triples (713, 0:00:00.155325)
- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_14_transduction
- DEBUG - ----- step: transduction
- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/14/
- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos14-20230512/technical-data/tenet.tetras-libre.fr_demo_clara_14-0/tenet.tetras-libre.fr_demo_clara_14_transduction.ttl
- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/14//transduction
- INFO - ----- 97 triples extracted during transduction step
- INFO - -- Applying extraction step: generation
- INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence
- INFO - ----- generate ODRL rule: 1/1 new triple (714, 0:00:00.055854)
- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_14_generation
- DEBUG - ----- step: generation
- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/14/
- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos14-20230512/technical-data/tenet.tetras-libre.fr_demo_clara_14-0/tenet.tetras-libre.fr_demo_clara_14_generation.ttl
- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/14//generation
- INFO - ----- 1 triples extracted during generation step
- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos14-20230512/technical-data/tenet.tetras-libre.fr_demo_clara_14-0/tenet.tetras-libre.fr_demo_clara_14_factoid.ttl)
- DEBUG - ----- Number of factoids: 1
- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/14//factoid
- INFO -
=== Final Ontology Generation ===
- INFO - -- Making complete factoid graph by merging the result factoids
- INFO - ----- Total factoid number: 1
- INFO - -- Serializing graph to factoid string
- INFO - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/14//factoid
- INFO - -- Serializing graph to factoid file
- INFO - ----- Ontology Turtle File: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos14-20230512/aos14_factoid.ttl
- INFO -
=== Done ===
@base <http://https://tenet.tetras-libre.fr/demo/clara/14//factoid> .
@prefix ns1: <http://www.w3.org/ns/odrl/2/> .
<https://tenet.tetras-libre.fr/extract-result#policy_asail_odrl_sentences-14> ns1:permission """[
odrl:target <http://example.com/asset:any.work> ;
odrl:assignee <http://example.com/asset:any.you> ;
odrl:action cc:Distribution ]""" .
@base <http://https://tenet.tetras-libre.fr/demo/clara/15//factoid> .
@prefix ns1: <http://www.w3.org/ns/odrl/2/> .
<https://tenet.tetras-libre.fr/extract-result#policy_asail_odrl_sentences-15> ns1:obligation """[
odrl:assignee <http://example.com/asset:any.you> ;
odrl:action cc:Notice ]""" .
- 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/asail_odrl_sentences/s15.stog.amr.ttl (amr)
- INFO - ----- Base output dir: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos15-20230512/aos15_factoid.ttl
- INFO - ----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos15-20230512/technical-data/
- INFO - ----- Ontology target (id): https://tenet.tetras-libre.fr/demo/clara/15/
- INFO - ----- Current path: /home/lamenji/Workspace/Tetras/tenet/tenet
- DEBUG - ----- Config file: /home/lamenji/Workspace/Tetras/tenet/tenet/odrl_amr_config.xml
- DEBUG -
*** Config (Full Parameters) ***
-- Base Parameters
----- config file: /home/lamenji/Workspace/Tetras/tenet/tenet/odrl_amr_config.xml
----- uuid: https://tenet.tetras-libre.fr/demo/clara/15/
----- technical base name: tenet.tetras-libre.fr_demo_clara_15
----- source corpus: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_data/amrDocuments/dev/asail_odrl_sentences/s15.stog.amr.ttl
----- target reference: base
----- process level: sentence
----- source type: amr
----- extraction scheme: odrl_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_odrl_output/aos15-20230512/aos15_factoid.ttl
----- output directory: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos15-20230512/aos15_factoid.ttltenet.tetras-libre.fr_demo_clara_15-20230512/
----- sentence output directory: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos15-20230512/technical-data/
----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos15-20230512/technical-data/
-- Config File Definition
----- schema file: ./structure/amr-rdf-schema.ttl
----- semantic net file: ./structure/odrl-snet-schema.ttl
----- config param file: ./structure/config-parameters.ttl
----- base ontology file: ./structure/base-ontology.ttl
----- CTS file: ./scheme/odrl_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/asail_odrl_sentences/s15.stog.amr.ttl**/*.ttl
-- Target File Definition
----- frame ontology file: ./../input/targetFrameStructure/base-ontology.ttl
----- frame ontology seed file: ./../input/targetFrameStructure/base-ontology-seed.ttl
-- Output
----- ontology namespace: https://tenet.tetras-libre.fr/base-ontology/
----- output file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos15-20230512/technical-data/tenet.tetras-libre.fr_demo_clara_15.ttl
*** - ***
- INFO -
=== Extraction Processing ===
- INFO - -- Work Structure Preparation
- DEBUG - --- Graph Initialization
- DEBUG - ----- Configuration Loading
- DEBUG - -------- RDF Schema (320)
- DEBUG - -------- Semantic Net Definition (470)
- DEBUG - -------- Config Parameter Definition (504)
- DEBUG - ----- Frame Ontology Loading
- DEBUG - -------- Base Ontology produced as output (534)
- DEBUG - --- Source Data Import
- DEBUG - ----- Sentence Loading
- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_data/amrDocuments/dev/asail_odrl_sentences/s15.stog.amr.ttl (593)
- DEBUG - --- Export work graph as turtle
- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos15-20230512/technical-data/tenet.tetras-libre.fr_demo_clara_15-0/tenet.tetras-libre.fr_demo_clara_15.ttl
- INFO - ----- Sentence (id): asail_odrl_sentences-15
- INFO - ----- Sentence (text): You must keep intact any copyright or Database Right notices and notices that refer to this License.
- INFO - -- Loading Extraction Scheme (odrl_amr_scheme_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 (593, 0:00:00.032888)
- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence
- INFO - ----- reclassify-concept-1: 15/15 new triples (608, 0:00:00.198616)
- DEBUG - ----- reclassify-concept-2: 0/0 new triple (608, 0:00:00.083750)
- INFO - ----- reclassify-concept-3: 24/24 new triples (632, 0:00:00.053387)
- INFO - ----- reclassify-concept-4: 20/20 new triples (652, 0:00:00.107956)
- DEBUG - ----- reclassify-concept-5: 0/0 new triple (652, 0:00:00.110007)
- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (652, 0:00:00.067688)
- INFO - ----- reclassify-existing-variable: 60/60 new triples (712, 0:00:00.029688)
- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (712, 0:00:00.051782)
- INFO - ----- add-amr-leaf-for-reclassified-concept: 45/45 new triples (757, 0:00:00.073073)
- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (757, 0:00:00.027305)
- INFO - ----- add-amr-edge-for-core-relation: 42/42 new triples (799, 0:00:00.130194)
- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (799, 0:00:00.095914)
- DEBUG - ----- add-amr-edge-for-name-relation: 0/0 new triple (799, 0:00:00.094340)
- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (799, 0:00:00.098200)
- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (799, 0:00:00.109126)
- INFO - ----- update-amr-edge-role-1: 14/14 new triples (813, 0:00:00.106268)
- INFO - ----- add-amr-root: 5/5 new triples (818, 0:00:00.036060)
- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_15_preprocessing
- DEBUG - ----- step: preprocessing
- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/15/
- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos15-20230512/technical-data/tenet.tetras-libre.fr_demo_clara_15-0/tenet.tetras-libre.fr_demo_clara_15_preprocessing.ttl
- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/15//preprocessing
- INFO - ----- 225 triples extracted during preprocessing step
- INFO - -- Applying extraction step: transduction
- INFO - --- *** February Transduction *** Sequence: atomic extraction sequence
- INFO - ----- extract atom classes: 30/30 new triples (848, 0:00:00.168285)
- DEBUG - ----- extract atom individuals: 0/0 new triple (848, 0:00:00.018374)
- INFO - ----- extract atomic properties: 85/85 new triples (933, 0:00:00.280581)
- DEBUG - ----- extract atom values: 0/0 new triple (933, 0:00:00.007898)
- INFO - ----- extract atom phenomena: 21/21 new triples (954, 0:00:00.098115)
- INFO - ----- propagate atom relations: 21/56 new triples (975, 0:00:00.951439)
- INFO - --- *** February Transduction *** Sequence: classification sequence (1)
- INFO - ----- classify modality phenomena: 1/3 new triple (976, 0:00:00.035004)
- INFO - ----- reclassify argument property to class: 20/24 new triples (996, 0:00:00.097907)
- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1)
- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (996, 0:00:00.007252)
- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (996, 0:00:00.010788)
- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (996, 0:00:00.010266)
- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (996, 0:00:00.029961)
- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (996, 0:00:00.030972)
- INFO - ----- analyze modifier phenomena (mod): 21/23 new triples (1017, 0:00:00.172305)
- DEBUG - ----- classify modality phenomena: 0/6 new triple (1017, 0:00:00.047073)
- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2)
- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (1017, 0:00:00.010967)
- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (1017, 0:00:00.014997)
- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (1017, 0:00:00.011627)
- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (1017, 0:00:00.018530)
- INFO - --- *** February Transduction *** Sequence: action property extraction sequence
- INFO - ----- extract action properties (1): 18/21 new triples (1035, 0:00:00.122780)
- INFO - ----- extract action properties (2): 22/26 new triples (1057, 0:00:00.176795)
- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence
- INFO - ----- extract composite classes (1): 25/25 new triples (1082, 0:00:00.134491)
- DEBUG - ----- extract composite classes (2): 0/0 new triple (1082, 0:00:00.026139)
- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence
- INFO - ----- extract ODRL actions: 13/15 new triples (1095, 0:00:00.128193)
- INFO - ----- extract ODRL rules: 12/24 new triples (1107, 0:00:00.163676)
- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_15_transduction
- DEBUG - ----- step: transduction
- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/15/
- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos15-20230512/technical-data/tenet.tetras-libre.fr_demo_clara_15-0/tenet.tetras-libre.fr_demo_clara_15_transduction.ttl
- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/15//transduction
- INFO - ----- 289 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 (1108, 0:00:00.059798)
- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_15_generation
- DEBUG - ----- step: generation
- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/15/
- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos15-20230512/technical-data/tenet.tetras-libre.fr_demo_clara_15-0/tenet.tetras-libre.fr_demo_clara_15_generation.ttl
- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/15//generation
- INFO - ----- 1 triples extracted during generation step
- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos15-20230512/technical-data/tenet.tetras-libre.fr_demo_clara_15-0/tenet.tetras-libre.fr_demo_clara_15_factoid.ttl)
- DEBUG - ----- Number of factoids: 1
- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/15//factoid
- INFO -
=== Final Ontology Generation ===
- INFO - -- Making complete factoid graph by merging the result factoids
- INFO - ----- Total factoid number: 1
- INFO - -- Serializing graph to factoid string
- INFO - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/15//factoid
- INFO - -- Serializing graph to factoid file
- INFO - ----- Ontology Turtle File: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_odrl_output/aos15-20230512/aos15_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