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

Init project (0.1.0)

parent 73fdede6
No related branches found
No related tags found
No related merge requests found
*.pyc
__pycache__
*.todo
devtemp.py
corpus/CCTP-SRSA-IP*
...@@ -24,10 +24,4 @@ All notable changes to this project will be documented in this file. ...@@ -24,10 +24,4 @@ All notable changes to this project will be documented in this file.
### Added ### Added
- Init project - Init project
- Module: -- - Directory: config, corpus, frame
### Changed
- TODO
### Fix
- TODO
# TENET - Terminology Extraction using Net Extension by (semantic) Transduction # TENET - Tool for Extraction using Net Extension by (semantic) Transduction
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
This tool exploits an intermediate semantic representation (UNL-RDF graphs) to This tool exploits an intermediate semantic representation (UNL-RDF graphs) to
...@@ -43,7 +43,15 @@ All dependencies are listed in requirements.txt. These dependencies are used for ...@@ -43,7 +43,15 @@ All dependencies are listed in requirements.txt. These dependencies are used for
The input directories contain evaluation files with some test corpus. The input directories contain evaluation files with some test corpus.
## 3 - Execution ## 3 - Content
The **config** directory contains various configuration files for the process:
- **unl-rdf-schema.ttl**: RDF schema for the interpretation of UNL graphs
- **smenet.ttl**: RDF schema of the semantic rules
## 4 - Execution
The application runs in a terminal using the tenet.py script: **python3 tenet.py <command> <args>**. The application runs in a terminal using the tenet.py script: **python3 tenet.py <command> <args>**.
...@@ -56,7 +64,7 @@ The following times were measured for the processing of a file of 10 sentences: ...@@ -56,7 +64,7 @@ The following times were measured for the processing of a file of 10 sentences:
* about xxx second for reasonning process. * about xxx second for reasonning process.
## 4 - Commands ## 5 - Commands
Following commands are proposed to execute the different steps of the process: Following commands are proposed to execute the different steps of the process:
...@@ -68,14 +76,14 @@ Following commands are proposed to execute the different steps of the process: ...@@ -68,14 +76,14 @@ Following commands are proposed to execute the different steps of the process:
These commands are used with the python script _tenet.py_. These commands are used with the python script _tenet.py_.
## 5 - Example ## 6 - Example
[TODO: end-to-end example] [TODO: end-to-end example]
## 5 - Evaluation ## 7 - Evaluation
[TODO: experimentation] [TODO: experimentation]
......
# baseURI: https://unsel.tenet.fr/semnet
# prefix: net
@prefix net: <https://unsel.tenet.fr/semnet#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<https://unsel.tenet.fr/semnet>
rdf:type owl:Ontology ;
.
net:Instance
rdf:type owl:Class ;
rdfs:label "Semantic Net" ;
rdfs:subClassOf owl:Thing ;
.
net:Type
rdf:type owl:Class ;
rdfs:label "Semantic Net Type" ;
rdfs:subClassOf owl:Thing ;
.
net:agent
rdf:type owl:Class ;
rdfs:label "agent "@fr ;
rdfs:subClassOf net:Type ;
.
net:class
rdf:type owl:Class ;
rdfs:label "Agent" ;
rdfs:label "Class" ;
rdfs:label "Complement" ;
rdfs:subClassOf net:Type ;
.
net:class1
rdf:type rdf:Property ;
rdfs:label "class1 "@fr ;
rdfs:subPropertyOf net:value ;
.
net:class2
rdf:type rdf:Property ;
rdfs:label "class2 "@fr ;
rdfs:subPropertyOf net:value ;
.
net:class_list
rdf:type owl:Class ;
rdfs:label "List of classes" ;
rdfs:subClassOf net:Type ;
.
net:complement
rdf:type owl:Class ;
rdfs:label "complement "@fr ;
rdfs:subClassOf net:Type ;
.
net:concept
rdf:type rdf:Property ;
rdfs:label "concept "@fr ;
rdfs:subPropertyOf net:value ;
.
net:mod_list
rdf:type owl:Class ;
rdfs:label "List of modifiers" ;
rdfs:subClassOf net:Type ;
.
net:node
rdf:type rdf:Property ;
rdfs:label "node "@fr ;
.
net:type
rdf:type rdf:Property ;
rdfs:label "type "@fr ;
.
net:value
rdf:type rdf:Property ;
rdfs:label "valuations"@fr ;
.
This diff is collapsed.
# baseURI: https://unsel.tetras-libre.fr/rdf/requirement-ontology
# prefix: requirement-ontology
@prefix CCTP-SRSA-IP-20210625: <http://rdf-unl.org/CCTP-SRSA-IP-20210625#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix requirement-ontology: <https://unsel.tetras-libre.fr/rdf/requirement-ontology#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<https://unsel.tetras-libre.fr/rdf/requirement-ontology>
rdf:type owl:Ontology ;
owl:versionInfo "Created with TopBraid Composer" ;
.
requirement-ontology:contingent
rdf:type owl:Class ;
rdfs:comment "if it is not necessarily false and not necessarily true (i.e. possible but not necessarily true)" ;
rdfs:label "contingent "@fr ;
rdfs:label "contingent"@en ;
rdfs:subClassOf requirement-ontology:modality ;
.
requirement-ontology:impossible
rdf:type owl:Class ;
rdfs:comment "if it is not possibly true (i.e. false and necessarily false)" ;
rdfs:label "impossible "@fr ;
rdfs:label "impossible"@en ;
rdfs:subClassOf requirement-ontology:modality ;
.
requirement-ontology:modality
rdf:type owl:Class ;
rdfs:label "modality"@en ;
rdfs:label "modalité"@fr ;
rdfs:subClassOf owl:Thing ;
.
requirement-ontology:necessary
rdf:type owl:Class ;
rdfs:comment "if it is not possibly false (i.e. true and necessarily true)" ;
rdfs:label "necessary"@en ;
rdfs:label "nécessaire "@fr ;
rdfs:subClassOf requirement-ontology:modality ;
.
requirement-ontology:possible
rdf:type owl:Class ;
rdfs:comment "if it is not necessarily false (regardless of whether it is actually true or actually false)" ;
rdfs:label "possible "@fr ;
rdfs:label "possible"@en ;
rdfs:subClassOf requirement-ontology:modality ;
.
requirement-ontology:requirement
rdf:type owl:Class ;
rdfs:label "exigence"@fr ;
rdfs:label "requirement"@en ;
rdfs:subClassOf requirement-ontology:statement_type ;
.
requirement-ontology:statement_type
rdf:type owl:Class ;
rdfs:label "Statement type"@en ;
rdfs:label "Type d'énoncé "@fr ;
rdfs:subClassOf owl:Thing ;
.
requirement-ontology:terminology
rdf:type owl:Class ;
rdfs:label "terminologie "@fr ;
rdfs:label "terminology"@en ;
rdfs:subClassOf requirement-ontology:statement_type ;
.
requirement-ontology:unknown
rdf:type owl:Class ;
rdfs:label "inconnu"@fr ;
rdfs:label "unknown "@en ;
rdfs:subClassOf requirement-ontology:modality ;
.
# baseURI: https://unsel.tetras-libre.fr/rdf/system-ontology
# prefix: system-ontology
@prefix : <https://unsel.tetras-libre.fr/rdf/system-ontology#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix system-ontology: <https://unsel.tetras-libre.fr/rdf/system-ontology#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<https://unsel.tetras-libre.fr/rdf/system-ontology>
rdf:type owl:Ontology ;
owl:versionInfo "Created with TopBraid Composer" ;
.
system-ontology:action
rdf:type owl:Class ;
rdfs:label "action "@en ;
rdfs:label "action "@fr ;
rdfs:subClassOf system-ontology:property ;
.
system-ontology:agent
rdf:type owl:Class ;
rdfs:label "agent"@en ;
rdfs:label "agent"@fr ;
rdfs:subClassOf system-ontology:entity ;
.
system-ontology:attribute
rdf:type owl:Class ;
rdfs:label "attribut"@fr ;
rdfs:label "attribute "@en ;
rdfs:subClassOf system-ontology:property ;
.
system-ontology:component
rdf:type owl:Class ;
rdfs:label "component"@en ;
rdfs:label "composant"@fr ;
rdfs:subClassOf system-ontology:entity ;
.
system-ontology:entity
rdf:type owl:Class ;
rdfs:label "entity"@en ;
rdfs:label "entité"@fr ;
rdfs:subClassOf owl:Thing ;
.
system-ontology:message
rdf:type owl:Class ;
rdfs:label "message"@en ;
rdfs:label "message"@fr ;
rdfs:subClassOf system-ontology:entity ;
.
system-ontology:property
rdf:type owl:Class ;
rdfs:label "property"@en ;
rdfs:label "propriété"@fr ;
rdfs:subClassOf owl:Thing ;
.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment