Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
tenet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tetras MARS
tenet
Commits
38794edb
Commit
38794edb
authored
3 years ago
by
Aurélien Lamercerie
Browse files
Options
Downloads
Patches
Plain Diff
Generic CTS to create mod list nets
parent
002d116f
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
config/semantic-net.ttl
+44
-45
44 additions, 45 deletions
config/semantic-net.ttl
config/transduction-schemes.ttl
+168
-220
168 additions, 220 deletions
config/transduction-schemes.ttl
prepare_work_data.py
+5
-5
5 additions, 5 deletions
prepare_work_data.py
with
217 additions
and
270 deletions
config/semantic-net.ttl
+
44
−
45
View file @
38794edb
...
...
@@ -30,11 +30,6 @@ net:Type
rdfs:
label
"Semantic Net Type"
;
rdfs:
subClassOf
net:
Structure
;
.
net:
abstraction
rdf:
type
owl:
Class
;
rdfs:
label
"abstraction"
;
rdfs:
subClassOf
net:
Type
;
.
net:
abstractionClass
rdf:
type
rdf:
Property
;
rdfs:
label
"abstraction class"
;
...
...
@@ -48,7 +43,7 @@ net:atom
net:
atomOf
rdf:
type
rdf:
Property
;
rdfs:
label
"atom of"
;
rdfs:
subPropertyOf
net:
type
;
rdfs:
subPropertyOf
net:
type
Property
;
.
net:
atomType
rdf:
type
rdf:
Property
;
...
...
@@ -70,20 +65,20 @@ net:class_list
rdfs:
label
"classList"
;
rdfs:
subClassOf
net:
Type
;
.
net:
comp
lement
net:
comp
osite
rdf:
type
owl:
Class
;
rdfs:
label
"comp
lement
"
;
rdfs:
label
"comp
osite
"
;
rdfs:
subClassOf
net:
Type
;
.
net:
co
mplement_mod
_list
net:
co
njunctive
_list
rdf:
type
owl:
Class
;
rdfs:
label
"co
mplement mod
list"
;
rdfs:
subClassOf
net:
mod_
list
;
rdfs:
label
"co
njunctive-
list"
;
rdfs:
subClassOf
net:
list
;
.
net:
entity
net:
disjunctive_list
rdf:
type
owl:
Class
;
rdfs:
label
"
entity
"
;
rdfs:
subClassOf
net:
Type
;
rdfs:
label
"
disjunctive-list
"
;
rdfs:
subClassOf
net:
list
;
.
net:
entityClass
rdf:
type
rdf:
Property
;
...
...
@@ -95,21 +90,11 @@ net:entity_class_list
rdfs:
label
"entityClassList"
;
rdfs:
subClassOf
net:
class_list
;
.
net:
entity_mod_list
rdf:
type
owl:
Class
;
rdfs:
label
"entity mod list"
;
rdfs:
subClassOf
net:
mod_list
;
.
net:
event
rdf:
type
owl:
Class
;
rdfs:
label
"event"
;
rdfs:
subClassOf
net:
Type
;
.
net:
feature
rdf:
type
owl:
Class
;
rdfs:
label
"feature"
;
rdfs:
subClassOf
net:
Type
;
.
net:
featureClass
rdf:
type
rdf:
Property
;
rdfs:
label
"feature class"
;
...
...
@@ -118,7 +103,7 @@ net:featureClass
net:
has_actor
rdf:
type
rdf:
Property
;
rdfs:
label
"has actor"
;
rdfs:
subPropertyOf
net:
has_
object
;
rdfs:
subPropertyOf
net:
has_
atom
;
.
net:
has_atom
rdf:
type
rdf:
Property
;
...
...
@@ -158,12 +143,12 @@ net:has_mother_class
net:
has_node
rdf:
type
rdf:
Property
;
rdfs:
label
"UNL Node"
;
rdfs:
subPropertyOf
net:
p
roperty
;
rdfs:
subPropertyOf
net:
netP
roperty
;
.
net:
has_object
rdf:
type
rdf:
Property
;
rdfs:
label
"relation"
;
rdfs:
subPropertyOf
net:
p
roperty
;
rdfs:
subPropertyOf
net:
netP
roperty
;
.
net:
has_parent_class
rdf:
type
rdf:
Property
;
...
...
@@ -183,7 +168,7 @@ net:has_possible_range
net:
has_structure
rdf:
type
rdf:
Property
;
rdfs:
label
"Linguistic Structure (in UNL Document)"
;
rdfs:
subPropertyOf
net:
p
roperty
;
rdfs:
subPropertyOf
net:
netP
roperty
;
.
net:
has_subClass
rdf:
type
rdf:
Property
;
...
...
@@ -193,23 +178,38 @@ net:has_subClass
net:
has_target
rdf:
type
rdf:
Property
;
rdfs:
label
"has target"
;
rdfs:
subPropertyOf
net:
has_
object
;
rdfs:
subPropertyOf
net:
has_
atom
;
.
net:
has_verb
rdf:
type
rdf:
Property
;
rdfs:
label
"has verb"
;
rdfs:
subPropertyOf
net:
has_
object
;
rdfs:
subPropertyOf
net:
has_
atom
;
.
net:
instanceUri
rdf:
type
rdf:
Property
;
rdfs:
label
"instance uri"
;
rdfs:
subPropertyOf
net:
objectValue
;
.
net:
list
rdf:
type
owl:
Class
;
rdfs:
label
"list"
;
rdfs:
subClassOf
net:
Type
;
.
net:
listBy
rdf:
type
rdf:
Property
;
rdfs:
label
"list by"
;
rdfs:
subPropertyOf
net:
typeProperty
;
.
net:
listGuiding
rdf:
type
rdf:
Property
;
rdfs:
label
"Guiding connector of a list (or, and)"
;
rdfs:
subPropertyOf
net:
objectValue
;
.
net:
listOf
rdf:
type
rdf:
Property
;
rdfs:
label
"list of"
;
rdfs:
subPropertyOf
net:
typeProperty
;
.
net:
modCat1
rdf:
type
rdf:
Property
;
rdfs:
label
"Modality Category (level 1)"
;
...
...
@@ -220,34 +220,29 @@ net:modCat2
rdfs:
label
"Modality Category (level 2)"
;
rdfs:
subPropertyOf
net:
objectValue
;
.
net:
mod_list
rdf:
type
owl:
Class
;
rdfs:
label
"modList"
;
rdfs:
subClassOf
net:
Type
;
net:
netProperty
rdf:
type
rdf:
Property
;
rdfs:
label
"netProperty"
;
.
net:
object
Attribute
net:
object
Property
rdf:
type
rdf:
Property
;
rdfs:
label
"object attribute"
;
.
net:
objectType
rdf:
type
rdf:
Property
;
rdfs:
label
"object type"
;
rdfs:
subPropertyOf
net:
object
Attribute
;
rdfs:
subPropertyOf
net:
object
Property
;
.
net:
objectValue
rdf:
type
rdf:
Property
;
rdfs:
label
"valuations"
@fr
;
rdfs:
subPropertyOf
net:
object
Attribute
;
rdfs:
subPropertyOf
net:
object
Property
;
.
net:
parentClassUri
rdf:
type
rdf:
Property
;
rdfs:
label
"parent class uri"
;
rdfs:
subPropertyOf
net:
objectValue
;
.
net:
property
rdf:
type
rdf:
Property
;
rdfs:
label
"netProperty"
;
.
net:
state_property
rdf:
type
owl:
Class
;
rdfs:
label
"stateProperty"
;
...
...
@@ -256,12 +251,16 @@ net:state_property
net:
type
rdf:
type
rdf:
Property
;
rdfs:
label
"type "
@fr
;
rdfs:
subPropertyOf
net:
p
roperty
;
rdfs:
subPropertyOf
net:
netP
roperty
;
.
net:
verb
net:
typeProperty
rdf:
type
rdf:
Property
;
rdfs:
label
"type property"
;
.
net:
unary_list
rdf:
type
owl:
Class
;
rdfs:
label
"
verb
"
;
rdfs:
subClassOf
net:
Type
;
rdfs:
label
"
unary-list
"
;
rdfs:
subClassOf
net:
list
;
.
net:
verbClass
rdf:
type
rdf:
Property
;
...
...
This diff is collapsed.
Click to expand it.
config/transduction-schemes.ttl
+
168
−
220
View file @
38794edb
This diff is collapsed.
Click to expand it.
prepare_work_data.py
+
5
−
5
View file @
38794edb
...
...
@@ -205,11 +205,11 @@ def run(corpus, source_ref, target_ref):
if
__name__
==
'
__main__
'
:
target_ref
=
"
system
"
run
(
req_100
,
'
R100
'
,
target_ref
)
run
(
req_200
,
'
R200
'
,
target_ref
)
run
(
req_300
,
'
R300
a
'
,
target_ref
)
run
(
corpus_40
,
'
Corpus-CCTP-40c
'
,
target_ref
)
run
(
corpus_ERTMS
,
'
Corpus-ERTMS
'
,
target_ref
)
run
(
req_100
,
'
R100
b
'
,
target_ref
)
run
(
req_200
,
'
R200
b
'
,
target_ref
)
run
(
req_300
,
'
R300
b
'
,
target_ref
)
#
run(corpus_40, 'Corpus-CCTP-40c', target_ref)
#
run(corpus_ERTMS, 'Corpus-ERTMS', target_ref)
...
...
This diff is collapsed.
Click to expand it.
Aurélien Lamercerie
@alam
mentioned in issue
#8 (closed)
·
3 years ago
mentioned in issue
#8 (closed)
mentioned in issue #8
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment