Skip to content

Commit

Permalink
Merge pull request #31 from julianrojas87/dev
Browse files Browse the repository at this point in the history
Add line reference class and predicate
  • Loading branch information
julianrojas87 authored Jan 29, 2021
2 parents b437930 + 8f5e244 commit 55c9944
Show file tree
Hide file tree
Showing 8 changed files with 6,374 additions and 6,094 deletions.
17 changes: 17 additions & 0 deletions ontology.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,14 @@ era:InternalNodeLink a owl:Class ;
dct:modified "2020-07-29"^^xsd:date ;
vs:term_status "stable" .

era:LineReference a owl:Class ;
rdfs:label "Line Reference"@en ;
rdfs:comment "A reference to a specific national railway line."@en ;
rdfs:isDefinedBy era: ;
dct:created "2021-01-29"^^xsd:date ;
dct:modified "2021-01-29"^^xsd:date ;
vs:term_status "stable" .


######## Implementation Layer #########

Expand Down Expand Up @@ -227,6 +235,15 @@ era:lineNationalId a owl:ObjectProperty ;
dct:modified "2021-01-25"^^xsd:date ;
vs:term_status "stable" .

era:lineReference a owl:ObjectProperty ;
rdfs:label "line referece"@en ;
rdfs:comment "Indicates a relationship with a specific national railway line."@en ;
rdfs:isDefinedBy era: ;
rdfs:range era:LineReference ;
dct:created "2021-01-29"^^xsd:date ;
dct:modified "2021-01-29"^^xsd:date ;
vs:term_status "stable" .

era:startPort a owl:ObjectProperty ;
rdfs:label "start port"@en ;
rdfs:comment "Reference to the starting operational point's node port of a micro link or an internal node link."@en ;
Expand Down
52 changes: 51 additions & 1 deletion public/ontology.json
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,29 @@
} ]
}, {
"@id" : "http://era.europa.eu/ns#LineReference",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ]
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://purl.org/dc/terms/created" : [ {
"@type" : "http://www.w3.org/2001/XMLSchema#date",
"@value" : "2021-01-29"
} ],
"http://purl.org/dc/terms/modified" : [ {
"@type" : "http://www.w3.org/2001/XMLSchema#date",
"@value" : "2021-01-29"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "A reference to a specific national railway line."
} ],
"http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ {
"@id" : "http://era.europa.eu/ns#"
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "Line Reference"
} ],
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ {
"@value" : "stable"
} ]
}, {
"@id" : "http://era.europa.eu/ns#Manufacturer",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
Expand Down Expand Up @@ -2906,6 +2928,34 @@
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ {
"@value" : "stable"
} ]
}, {
"@id" : "http://era.europa.eu/ns#lineReference",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://purl.org/dc/terms/created" : [ {
"@type" : "http://www.w3.org/2001/XMLSchema#date",
"@value" : "2021-01-29"
} ],
"http://purl.org/dc/terms/modified" : [ {
"@type" : "http://www.w3.org/2001/XMLSchema#date",
"@value" : "2021-01-29"
} ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Indicates a relationship with a specific national railway line."
} ],
"http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ {
"@id" : "http://era.europa.eu/ns#"
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@language" : "en",
"@value" : "line referece"
} ],
"http://www.w3.org/2000/01/rdf-schema#range" : [ {
"@id" : "http://era.europa.eu/ns#LineReference"
} ],
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ {
"@value" : "stable"
} ]
}, {
"@id" : "http://era.europa.eu/ns#loadCapability",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
Expand Down
18 changes: 17 additions & 1 deletion public/ontology.nt
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,16 @@ _:genid35 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1
<http://era.europa.eu/ns#lineNationalId> <http://www.w3.org/2000/01/rdf-schema#label> "line national ID"@en .
<http://era.europa.eu/ns#lineNationalId> <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "stable" .
#
# http://era.europa.eu/ns#lineReference
<http://era.europa.eu/ns#lineReference> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
<http://era.europa.eu/ns#lineReference> <http://www.w3.org/2000/01/rdf-schema#range> <http://era.europa.eu/ns#LineReference> .
<http://era.europa.eu/ns#lineReference> <http://purl.org/dc/terms/created> "2021-01-29"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://era.europa.eu/ns#lineReference> <http://purl.org/dc/terms/modified> "2021-01-29"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://era.europa.eu/ns#lineReference> <http://www.w3.org/2000/01/rdf-schema#comment> "Indicates a relationship with a specific national railway line."@en .
<http://era.europa.eu/ns#lineReference> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://era.europa.eu/ns#> .
<http://era.europa.eu/ns#lineReference> <http://www.w3.org/2000/01/rdf-schema#label> "line referece"@en .
<http://era.europa.eu/ns#lineReference> <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "stable" .
#
# http://era.europa.eu/ns#loadCapability
<http://era.europa.eu/ns#loadCapability> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
<http://era.europa.eu/ns#loadCapability> <http://www.w3.org/2000/01/rdf-schema#domain> <http://era.europa.eu/ns#Track> .
Expand Down Expand Up @@ -1328,7 +1338,6 @@ _:genid65 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1
# http://era.europa.eu/ns#kilometer
<http://era.europa.eu/ns#kilometer> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> .
<http://era.europa.eu/ns#kilometer> <http://www.w3.org/2000/01/rdf-schema#domain> <http://era.europa.eu/ns#LineReference> .
<http://era.europa.eu/ns#LineReference> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
<http://era.europa.eu/ns#kilometer> <http://www.w3.org/2000/01/rdf-schema#range> <http://www.w3.org/2001/XMLSchema#double> .
<http://era.europa.eu/ns#kilometer> <http://purl.org/dc/terms/created> "2021-01-29"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://era.europa.eu/ns#kilometer> <http://purl.org/dc/terms/modified> "2021-01-29"^^<http://www.w3.org/2001/XMLSchema#date> .
Expand Down Expand Up @@ -2058,6 +2067,13 @@ _:genid95 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1
<http://era.europa.eu/ns#LineNationalId> <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "stable" .
#
# http://era.europa.eu/ns#LineReference
<http://era.europa.eu/ns#LineReference> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
<http://era.europa.eu/ns#LineReference> <http://purl.org/dc/terms/created> "2021-01-29"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://era.europa.eu/ns#LineReference> <http://purl.org/dc/terms/modified> "2021-01-29"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://era.europa.eu/ns#LineReference> <http://www.w3.org/2000/01/rdf-schema#comment> "A reference to a specific national railway line."@en .
<http://era.europa.eu/ns#LineReference> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://era.europa.eu/ns#> .
<http://era.europa.eu/ns#LineReference> <http://www.w3.org/2000/01/rdf-schema#label> "Line Reference"@en .
<http://era.europa.eu/ns#LineReference> <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "stable" .
#
# http://era.europa.eu/ns#Manufacturer
<http://era.europa.eu/ns#Manufacturer> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
Expand Down
17 changes: 17 additions & 0 deletions public/ontology.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,14 @@ era:InternalNodeLink a owl:Class ;
dct:modified "2020-07-29"^^xsd:date ;
vs:term_status "stable" .

era:LineReference a owl:Class ;
rdfs:label "Line Reference"@en ;
rdfs:comment "A reference to a specific national railway line."@en ;
rdfs:isDefinedBy era: ;
dct:created "2021-01-29"^^xsd:date ;
dct:modified "2021-01-29"^^xsd:date ;
vs:term_status "stable" .


######## Implementation Layer #########

Expand Down Expand Up @@ -227,6 +235,15 @@ era:lineNationalId a owl:ObjectProperty ;
dct:modified "2021-01-25"^^xsd:date ;
vs:term_status "stable" .

era:lineReference a owl:ObjectProperty ;
rdfs:label "line referece"@en ;
rdfs:comment "Indicates a relationship with a specific national railway line."@en ;
rdfs:isDefinedBy era: ;
rdfs:range era:LineReference ;
dct:created "2021-01-29"^^xsd:date ;
dct:modified "2021-01-29"^^xsd:date ;
vs:term_status "stable" .

era:startPort a owl:ObjectProperty ;
rdfs:label "start port"@en ;
rdfs:comment "Reference to the starting operational point's node port of a micro link or an internal node link."@en ;
Expand Down
24 changes: 23 additions & 1 deletion public/ontology.xml
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,21 @@ above the local reference ellipsoid).</rdfs:comment>



<!-- http://era.europa.eu/ns#lineReference -->


<owl:ObjectProperty rdf:about="http://era.europa.eu/ns#lineReference">
<rdfs:range rdf:resource="http://era.europa.eu/ns#LineReference"/>
<terms:created rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2021-01-29</terms:created>
<terms:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2021-01-29</terms:modified>
<rdfs:comment xml:lang="en">Indicates a relationship with a specific national railway line.</rdfs:comment>
<rdfs:isDefinedBy rdf:resource="http://era.europa.eu/ns#"/>
<rdfs:label xml:lang="en">line referece</rdfs:label>
<ns:term_status>stable</ns:term_status>
</owl:ObjectProperty>



<!-- http://era.europa.eu/ns#loadCapability -->


Expand Down Expand Up @@ -2825,7 +2840,14 @@ above the local reference ellipsoid).</rdfs:comment>
<!-- http://era.europa.eu/ns#LineReference -->


<owl:Class rdf:about="http://era.europa.eu/ns#LineReference"/>
<owl:Class rdf:about="http://era.europa.eu/ns#LineReference">
<terms:created rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2021-01-29</terms:created>
<terms:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2021-01-29</terms:modified>
<rdfs:comment xml:lang="en">A reference to a specific national railway line.</rdfs:comment>
<rdfs:isDefinedBy rdf:resource="http://era.europa.eu/ns#"/>
<rdfs:label xml:lang="en">Line Reference</rdfs:label>
<ns:term_status>stable</ns:term_status>
</owl:Class>



Expand Down
71 changes: 70 additions & 1 deletion public/sections/crossref-en.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ <h3 id="classes-headline" class="list">Classes</h3>
<li>
<a href="#LineNationalId" title="http://era.europa.eu/ns#LineNationalId">Line National Id</a>
</li>
<li>
<a href="#LineReference" title="http://era.europa.eu/ns#LineReference">Line Reference</a>
</li>
<li>
<a href="#Manufacturer" title="http://era.europa.eu/ns#Manufacturer">Manufacturer</a>
</li>
Expand Down Expand Up @@ -96,6 +99,39 @@ <h3>Line National Id<sup class="type-c" title="class">c</sup>
</dd>
</dl>
</div>
<div class="entity" id="LineReference">
<h3>Line Reference<sup class="type-c" title="class">c</sup>
<span class="backlink"> back to <a href="#toc">ToC</a> or <a href="#classes">Class ToC</a>
</span>
</h3>
<p>
<strong>IRI:</strong> http://era.europa.eu/ns#LineReference</p>
<div class="comment">
<span class="markdown">A reference to a specific national railway line.</span>
</div>
<dl class="definedBy">
<dt>Is defined by</dt>
<dd>
<a href="http://era.europa.eu/ns#">http://era.europa.eu/ns#</a>
</dd>
</dl>
<dl>
<dt>Term status</dt>
<dd>stable</dd>
</dl>
<dl class="description">
<dt>is in domain of</dt>
<dd>
<a href="#kilometer" title="http://era.europa.eu/ns#kilometer">kilometer</a>
<sup class="type-dp" title="data property">dp</sup>
</dd>
<dt>is in range of</dt>
<dd>
<a href="#lineReference" title="http://era.europa.eu/ns#lineReference">line referece</a>
<sup class="type-op" title="object property">op</sup>
</dd>
</dl>
</div>
<div class="entity" id="Manufacturer">
<h3>Manufacturer<sup class="type-c" title="class">c</sup>
<span class="backlink"> back to <a href="#toc">ToC</a> or <a href="#classes">Class ToC</a>
Expand Down Expand Up @@ -701,6 +737,9 @@ <h3 id="properties" class="list">Object Properties</h3>
<li>
<a href="#lineNationalId" title="http://era.europa.eu/ns#lineNationalId">line national ID</a>
</li>
<li>
<a href="#lineReference" title="http://era.europa.eu/ns#lineReference">line referece</a>
</li>
<li>
<a href="#loadCapability" title="http://era.europa.eu/ns#loadCapability">load capability</a>
</li>
Expand Down Expand Up @@ -1667,6 +1706,36 @@ <h3>line national ID<sup class="type-op" title="object property">op</sup>
</dl>
</div>
</div>
<div class="entity" id="lineReference">
<h3>line referece<sup class="type-op" title="object property">op</sup>
<span class="backlink"> back to <a href="#toc">ToC</a> or <a href="#objectproperties">Object Property ToC</a>
</span>
</h3>
<p>
<strong>IRI:</strong> http://era.europa.eu/ns#lineReference</p>
<div class="comment">
<span class="markdown">Indicates a relationship with a specific national railway line.</span>
</div>
<dl class="definedBy">
<dt>Is defined by</dt>
<dd>
<a href="http://era.europa.eu/ns#">http://era.europa.eu/ns#</a>
</dd>
</dl>
<dl>
<dt>Term status</dt>
<dd>stable</dd>
</dl>
<div class="description">
<dl>
<dt>has range</dt>
<dd>
<a href="#LineReference" title="http://era.europa.eu/ns#LineReference">Line Reference</a>
<sup class="type-c" title="class">c</sup>
</dd>
</dl>
</div>
</div>
<div class="entity" id="loadCapability">
<h3>load capability<sup class="type-op" title="object property">op</sup>
<span class="backlink"> back to <a href="#toc">ToC</a> or <a href="#objectproperties">Object Property ToC</a>
Expand Down Expand Up @@ -4275,7 +4344,7 @@ <h3>kilometer<sup class="type-dp" title="data property">dp</sup>
<dl>
<dt>has domain</dt>
<dd>
<span class="dotted" title="http://era.europa.eu/ns#LineReference">line reference</span>
<a href="#LineReference" title="http://era.europa.eu/ns#LineReference">Line Reference</a>
<sup class="type-c" title="class">c</sup>
</dd>
<dt>has range</dt>
Expand Down
6 changes: 6 additions & 0 deletions public/sections/overview-en.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ <h4>Classes</h4>
<li>
<a href="#LineNationalId" title="http://era.europa.eu/ns#LineNationalId">Line National Id</a>
</li>
<li>
<a href="#LineReference" title="http://era.europa.eu/ns#LineReference">Line Reference</a>
</li>
<li>
<a href="#Manufacturer" title="http://era.europa.eu/ns#Manufacturer">Manufacturer</a>
</li>
Expand Down Expand Up @@ -121,6 +124,9 @@ <h4>Classes</h4>
<li>
<a href="#lineNationalId" title="http://era.europa.eu/ns#lineNationalId">line national ID</a>
</li>
<li>
<a href="#lineReference" title="http://era.europa.eu/ns#lineReference">line referece</a>
</li>
<li>
<a href="#loadCapability" title="http://era.europa.eu/ns#loadCapability">load capability</a>
</li>
Expand Down
Loading

0 comments on commit 55c9944

Please sign in to comment.