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

Generic CTS to create mod list nets

parent 002d116f
No related branches found
No related tags found
No related merge requests found
......@@ -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:typeProperty ;
.
net:atomType
rdf:type rdf:Property ;
......@@ -70,20 +65,20 @@ net:class_list
rdfs:label "classList" ;
rdfs:subClassOf net:Type ;
.
net:complement
net:composite
rdf:type owl:Class ;
rdfs:label "complement" ;
rdfs:label "composite" ;
rdfs:subClassOf net:Type ;
.
net:complement_mod_list
net:conjunctive_list
rdf:type owl:Class ;
rdfs:label "complement mod list" ;
rdfs:subClassOf net:mod_list ;
rdfs:label "conjunctive-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:property ;
rdfs:subPropertyOf net:netProperty ;
.
net:has_object
rdf:type rdf:Property ;
rdfs:label "relation" ;
rdfs:subPropertyOf net:property ;
rdfs:subPropertyOf net:netProperty ;
.
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:property ;
rdfs:subPropertyOf net:netProperty ;
.
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:objectAttribute
net:objectProperty
rdf:type rdf:Property ;
rdfs:label "object attribute" ;
.
net:objectType
rdf:type rdf:Property ;
rdfs:label "object type" ;
rdfs:subPropertyOf net:objectAttribute ;
rdfs:subPropertyOf net:objectProperty ;
.
net:objectValue
rdf:type rdf:Property ;
rdfs:label "valuations"@fr ;
rdfs:subPropertyOf net:objectAttribute ;
rdfs:subPropertyOf net:objectProperty ;
.
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:property ;
rdfs:subPropertyOf net:netProperty ;
.
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.
......@@ -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, 'R300a', target_ref)
run(corpus_40, 'Corpus-CCTP-40c', target_ref)
run(corpus_ERTMS, 'Corpus-ERTMS', target_ref)
run(req_100, 'R100b', target_ref)
run(req_200, 'R200b', target_ref)
run(req_300, 'R300b', target_ref)
#run(corpus_40, 'Corpus-CCTP-40c', target_ref)
#run(corpus_ERTMS, 'Corpus-ERTMS', target_ref)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment