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

Update system ontology for ERTMS

parent 76f0fd21
No related branches found
No related tags found
No related merge requests found
...@@ -7,3 +7,4 @@ corpus/ERTMS* ...@@ -7,3 +7,4 @@ corpus/ERTMS*
.project .project
*.ttl.tbc *.ttl.tbc
output*.ttl output*.ttl
output/*
...@@ -43,8 +43,18 @@ sys:Feature ...@@ -43,8 +43,18 @@ sys:Feature
rdfs:label "caractéristique"@fr ; rdfs:label "caractéristique"@fr ;
rdfs:label "feature"@en ; rdfs:label "feature"@en ;
rdfs:subClassOf sys:Structure ; rdfs:subClassOf sys:Structure ;
sys:has_mother_class sys:Feature ;
sys:has_restriction "icl>how" ;
sys:is_class "Feature" ; sys:is_class "Feature" ;
. .
sys:Information
rdf:type owl:Class ;
rdfs:label "Information" ;
rdfs:subClassOf sys:Structure ;
sys:has_mother_class sys:Information ;
sys:has_restriction "icl>state" ;
sys:is_class "Information" ;
.
sys:State_Property sys:State_Property
rdf:type owl:Class ; rdf:type owl:Class ;
rdfs:label "Propriété d'état"@fr ; rdfs:label "Propriété d'état"@fr ;
...@@ -68,6 +78,7 @@ sys:abstract_thing ...@@ -68,6 +78,7 @@ sys:abstract_thing
rdfs:subClassOf sys:Abstraction ; rdfs:subClassOf sys:Abstraction ;
sys:has_mother_class sys:Abstraction ; sys:has_mother_class sys:Abstraction ;
sys:has_restriction "icl>abstract_thing" ; sys:has_restriction "icl>abstract_thing" ;
sys:has_restriction "icl>rate" ;
sys:is_class "abstract_thing" ; sys:is_class "abstract_thing" ;
. .
sys:action_verb sys:action_verb
...@@ -97,6 +108,14 @@ sys:attributive_verb ...@@ -97,6 +108,14 @@ sys:attributive_verb
sys:has_restriction "icl>be" ; sys:has_restriction "icl>be" ;
sys:is_class "attributive_verb" ; sys:is_class "attributive_verb" ;
. .
sys:change_of_state
rdf:type owl:Class ;
rdfs:label "change of state" ;
rdfs:subClassOf sys:Information ;
sys:has_mother_class sys:Information ;
sys:has_restriction "icl>change_of_state" ;
sys:is_class "sys:change_of_state" ;
.
sys:classProperty sys:classProperty
rdf:type rdf:Property ; rdf:type rdf:Property ;
rdfs:label "System Property" ; rdfs:label "System Property" ;
...@@ -211,7 +230,10 @@ sys:place ...@@ -211,7 +230,10 @@ sys:place
rdfs:subClassOf sys:Feature ; rdfs:subClassOf sys:Feature ;
sys:has_mother_class sys:Feature ; sys:has_mother_class sys:Feature ;
sys:has_restriction "icl>air_base_installation" ; sys:has_restriction "icl>air_base_installation" ;
sys:has_restriction "icl>formation" ;
sys:has_restriction "icl>place" ; sys:has_restriction "icl>place" ;
sys:has_restriction "icl>public_transport" ;
sys:has_restriction "trackside" ;
sys:is_class "place" ; sys:is_class "place" ;
. .
sys:seedProperty sys:seedProperty
......
...@@ -202,9 +202,9 @@ def run(corpus, output_ref, output_file): ...@@ -202,9 +202,9 @@ def run(corpus, output_ref, output_file):
if __name__ == '__main__': if __name__ == '__main__':
#run(req_100, 'R100', 'output100.ttl') #run(req_100, 'R100', 'output100.ttl')
#run(req_200, 'R200', 'output200.ttl') #run(req_200, 'R200', 'output200.ttl')
run(req_300, 'R300b', 'output300b.ttl') #run(req_300, 'R300b', 'output300b.ttl')
run(corpus_40, 'Corpus-CCTP-40c', 'outputCCTP40c.ttl') #run(corpus_40, 'Corpus-CCTP-40c', 'outputCCTP40c.ttl')
#run(corpus_ERTMS, 'Corpus-ERTMS', 'outputERTMS.ttl') run(corpus_ERTMS, 'Corpus-ERTMSb', 'outputERTMSb.ttl')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment