Skip to content

Commit 055b0ce

Browse files
Integrate OWL-Time and GeoSPARQL standard vocabularies for enhanced spatiotemporal modeling
- **Added standard vocabulary imports**: geo.ttl, time.ttl, time-agg.ttl, time-prov.ttl, profile.ttl to imports cache - **Enhanced SpatioTemporalExtent pattern**: Full W3C Time and GeoSPARQL integration with domain-specific extensions - **Updated core event module**: Events now properly subclass time:TemporalEntity and geo:SpatialObject - **Enhanced supply chain events**: Added spatial transport properties (origin/destination) and temporal sequencing - **Improved state transitions**: W3C Time integration for transition intervals and temporal constraints - **Updated import registry**: Added metadata entries for all 5 new standard vocabularies - **Build validation**: All templates generate valid RDF with proper namespace integration This integration enables W3C/OGC standard compliance while preserving domain-specific supply chain semantics. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 53456ca commit 055b0ce

File tree

95 files changed

+200659
-4314
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+200659
-4314
lines changed

modules-deprecated/imports/geo.ttl

Lines changed: 1086 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,181 @@
1+
PREFIX dcterms: <http://purl.org/dc/terms/>
2+
PREFIX owl: <http://www.w3.org/2002/07/owl#>
3+
PREFIX prof: <http://www.w3.org/ns/dx/prof/>
4+
PREFIX role: <http://www.w3.org/ns/dx/prof/role/>
5+
PREFIX sdo: <https://schema.org/>
6+
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
7+
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
8+
9+
<http://www.opengis.net/def/geosparql>
10+
a prof:Profile ;
11+
dcterms:created "2020-10-11"^^xsd:date ;
12+
dcterms:creator "OGC GeoSPARQL Standards Working Group" ;
13+
dcterms:description "This is a 'profile declaration' for the GeoSPARQL 1.1 specification (standard). It describes the multiple parts of the specification and how the standard relates to other standards. It is formulated according to the Profiles Vocabulary."@en ;
14+
dcterms:license "https://www.ogc.org/license"^^xsd:anyURI ;
15+
dcterms:modified "2021-06-16"^^xsd:date ;
16+
dcterms:publisher [
17+
a sdo:Organization ;
18+
sdo:name "Open Geospatial Consortium" ;
19+
sdo:url "https://www.ogc.org"^^xsd:anyURI
20+
] ;
21+
dcterms:rights "(c) 2021 Open Geospatial Consortium" ;
22+
dcterms:title "GeoSPARQL 1.1 Profile" ;
23+
owl:versionIRI <http://www.opengis.net/def/geosparql/1.1> ;
24+
owl:versionInfo "OGC GeosPARQL 1.1" ;
25+
skos:scopeNote "Profile declarations are used to allow data to identify specifications in a way that allows data to make conformance claims to them - a broader conformance claim than that made to individual 'conformance classes' that are commonly found in recent OGC specifications. Profile declarations are also used to describe and relate the often multiple parts of specifications: ontologies, specification 'documents', vocabularies, validators and so on. This declaration describes where those parts are, what form (format) they take, what information models they implement and what roles they play."@en ;
26+
prof:hasResource
27+
<http://www.opengis.net/def/geosparql/extended-examples> ,
28+
<http://www.opengis.net/def/geosparql/funcsrules> ,
29+
<http://www.opengis.net/def/geosparql/geo-jsonldcontext> ,
30+
<http://www.opengis.net/def/geosparql/repository> ,
31+
<http://www.opengis.net/def/geosparql/reqs> ,
32+
<http://www.opengis.net/def/geosparql/safuncs> ,
33+
<http://www.opengis.net/def/geosparql/sf-jsonldcontext> ,
34+
<http://www.opengis.net/def/geosparql/validator> ,
35+
<http://www.opengis.net/doc/IS/geosparql/1.1> ,
36+
<http://www.opengis.net/doc/IS/geosparql/1.1.pdf> ,
37+
<http://www.opengis.net/doc/IS/geosparql/release-notes-1.1> ,
38+
<http://www.opengis.net/ont/geosparql> ,
39+
<http://www.opengis.net/ont/geosparql.json> ,
40+
<http://www.opengis.net/ont/sf> ;
41+
.
42+
43+
<http://www.opengis.net/ont/gml>
44+
a prof:ResourceDescriptor ;
45+
dcterms:conformsTo <http://www.w3.org/TR/owl2-rdf-based-semantics/> ;
46+
dcterms:description "An OWL ontology (vocabulary) of the GML geometry types"@en ;
47+
dcterms:format "text/xml" ;
48+
dcterms:title "GML Geometry Types Vocabulary"@en ;
49+
prof:hasArtifact "https://schemas.opengis.net/gml/3.2.1/gml_32_geometries.rdf"^^xsd:anyURI ;
50+
prof:hasRole role:vocabulary ;
51+
.
52+
53+
<https://ror.org/00fsdxs93>
54+
a
55+
owl:NamedIndividual ,
56+
sdo:Organization ;
57+
sdo:name "Open Geospatial Consortium" ;
58+
sdo:url <https://www.ogc.org> ;
59+
.
60+
61+
<http://www.opengis.net/def/geosparql/extended-examples>
62+
a prof:ResourceDescriptor ;
63+
dcterms:description "Examples that are too long to sensibly fit within the Specification's Annex B. They are presented as individual files within a version control repository directory."@en ;
64+
dcterms:title "Extended Examples"@en ;
65+
prof:hasArtifact "https://github.com/opengeospatial/ogc-geosparql/tree/master/1.1/examples"^^xsd:anyURI ;
66+
prof:hasRole role:example ;
67+
.
68+
69+
<http://www.opengis.net/def/geosparql/funcsrules>
70+
a prof:ResourceDescriptor ;
71+
dcterms:conformsTo <https://www.w3.org/TR/skos-reference/> ;
72+
dcterms:description "all GeoSPARQL functions and rules presented as a SKOS vocabulary"@en ;
73+
dcterms:format "text/turtle" ;
74+
dcterms:title "GeoSPARQL Functions & Rules vocabulary"@en ;
75+
prof:hasArtifact "http://defs-dev.opengis.net/static/definitions/conceptschemes/functions_geosparql.ttl"^^xsd:anyURI ;
76+
prof:hasRole role:vocabulary ;
77+
.
78+
79+
<http://www.opengis.net/def/geosparql/geo-jsonldcontext>
80+
a prof:ResourceDescriptor ;
81+
dcterms:description "This is a JSON-LD context which can be used to incorporate the GeoSPARQL vocabulary in a JSON-LD file"@en ;
82+
dcterms:format "text/json" ;
83+
dcterms:title "JSON-LD context for the GeoSPARQL ontology"@en ;
84+
prof:hasArtifact "https://github.com/opengeospatial/ogc-geosparql/blob/master/1.1/contexts/geo-context.json"^^xsd:anyURI ;
85+
prof:hasRole role:specification ;
86+
.
87+
88+
<http://www.opengis.net/def/geosparql/repository>
89+
a prof:ResourceDescriptor ;
90+
dcterms:description "Code repository storing all Profile artifacts"@en ;
91+
dcterms:title "Profile code repository"@en ;
92+
prof:hasArtifact "https://github.com/opengeospatial/ogc-geosparql"^^xsd:anyURI ;
93+
prof:hasRole role:repository ;
94+
.
95+
96+
<http://www.opengis.net/def/geosparql/reqs>
97+
a prof:ResourceDescriptor ;
98+
dcterms:conformsTo <https://www.w3.org/TR/skos-reference/> ;
99+
dcterms:description "A vocabulary of the requirements and conformance classes in the GeoSPARQL 1.1 specification"@en ;
100+
dcterms:format "text/turtle" ;
101+
dcterms:title "GeoSPARQL 1.1 Requirement and Conformance Class Vocabulary"@en ;
102+
prof:hasArtifact "https://github.com/opengeospatial/ogc-geosparql/blob/master/1.1/reqs.ttl"^^xsd:anyURI ;
103+
prof:hasRole role:specification ;
104+
.
105+
106+
<http://www.opengis.net/def/geosparql/safuncs>
107+
a prof:ResourceDescriptor ;
108+
dcterms:conformsTo <https://www.w3.org/TR/skos-reference/> ;
109+
dcterms:description "all GeoSPARQL Spatial Aggregate functions presented as a SKOS vocabulary"@en ;
110+
dcterms:format "text/turtle" ;
111+
dcterms:title "GeoSPARQL Spatial Aggregate Functions"@en ;
112+
prof:hasArtifact "http://defs-dev.opengis.net/static/definitions/conceptschemes/sa_functions.ttl"^^xsd:anyURI ;
113+
prof:hasRole role:vocabulary ;
114+
.
115+
116+
<http://www.opengis.net/def/geosparql/sf-jsonldcontext>
117+
a prof:ResourceDescriptor ;
118+
dcterms:description "This is a JSON-LD context which can be used to incorporate the Simple Features vocabulary in a JSON-LD file"@en ;
119+
dcterms:format "text/json" ;
120+
dcterms:title "JSON-LD context for the Simple Features vocabulary"@en ;
121+
prof:hasArtifact "https://github.com/opengeospatial/ogc-geosparql/blob/master/1.1/contexts/sf-context.json"^^xsd:anyURI ;
122+
prof:hasRole role:specification ;
123+
.
124+
125+
<http://www.opengis.net/def/geosparql/validator>
126+
a prof:ResourceDescriptor ;
127+
dcterms:conformsTo <https://www.w3.org/TR/shacl/> ;
128+
dcterms:description "A [Shapes Constraint Language (SHACL)](https://www.w3.org/TR/shacl/) file that specifies rules for RDF data that can be used to test the conformance of data to the GeoSPARQL standard."@en ;
129+
dcterms:format "text/turtle" ;
130+
dcterms:title "GeoSPARQL RDF Shapes Validator"@en ;
131+
prof:hasArtifact "https://github.com/opengeospatial/ogc-geosparql/master/1.1/validator.ttl"^^xsd:anyURI ;
132+
prof:hasRole role:validation ;
133+
.
134+
135+
<http://www.opengis.net/doc/IS/geosparql/1.1>
136+
a prof:ResourceDescriptor ;
137+
dcterms:format "text/html" ;
138+
dcterms:title
139+
"GeoSPARQL 1.1 Release Notes"@en ,
140+
"GeoSPARQL Specification online"@en ;
141+
prof:hasArtifact
142+
"https://github.com/opengeospatial/ogc-geosparql/master/1.1/spec/_11-052r4.html"^^xsd:anyURI ,
143+
"https://opengeospatial.github.io/ogc-geosparql/geosparql11/releasenotes.html"^^xsd:anyURI ;
144+
prof:hasRole role:specification ;
145+
.
146+
147+
<http://www.opengis.net/doc/IS/geosparql/1.1.pdf>
148+
a prof:ResourceDescriptor ;
149+
dcterms:format "application/pdf" ;
150+
dcterms:title "GeoSPARQL Specification Document as a PDF"@en ;
151+
prof:hasArtifact "https://github.com/opengeospatial/ogc-geosparql/master/1.1/spec/_11-052r4.pdf"^^xsd:anyURI ;
152+
prof:hasRole role:specification ;
153+
.
154+
155+
<http://www.opengis.net/ont/geosparql>
156+
a prof:ResourceDescriptor ;
157+
dcterms:description "The GeoSPARQL 1.1 ontology in RDF (turtle)"@en ;
158+
dcterms:format "text/turtle" ;
159+
dcterms:title "GeoSPARQL Ontology"@en ;
160+
prof:hasArtifact "https://github.com/opengeospatial/ogc-geosparql/master/1.1/geo.ttl"^^xsd:anyURI ;
161+
prof:hasRole role:schema ;
162+
.
163+
164+
<http://www.opengis.net/ont/geosparql.json>
165+
a prof:ResourceDescriptor ;
166+
dcterms:description "The GeoSPARQL 1.1 ontology in RDF (JSON-LD)"@en ;
167+
dcterms:format "application/ld+json" ;
168+
dcterms:title "GeoSPARQL Ontology"@en ;
169+
prof:hasArtifact "https://github.com/opengeospatial/ogc-geosparql/master/1.1/geo.json"^^xsd:anyURI ;
170+
prof:hasRole role:schema ;
171+
.
172+
173+
<http://www.opengis.net/ont/sf>
174+
a prof:ResourceDescriptor ;
175+
dcterms:conformsTo <http://www.w3.org/TR/owl2-rdf-based-semantics/> ;
176+
dcterms:description "An OWL ontology (vocabulary) of the Simple Features geometry types"@en ;
177+
dcterms:format "text/turtle" ;
178+
dcterms:title "Simple Features Vocabulary"@en ;
179+
prof:hasArtifact "https://github.com/opengeospatial/ogc-geosparql/blob/master/1.1/sf_geometries.ttl"^^xsd:anyURI ;
180+
prof:hasRole role:vocabulary ;
181+
.
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# baseURI: https://www.w3.org/2006/time/agg
2+
# imports: http://purl.org/dc/elements/1.1/
3+
# imports: http://www.w3.org/2006/time
4+
5+
@prefix dct: <http://purl.org/dc/terms/> .
6+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
7+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9+
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
10+
@prefix time: <http://www.w3.org/2006/time#> .
11+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
12+
13+
time:TemporalAggregate
14+
a owl:Class ;
15+
rdfs:comment """A temporal aggregate is temporal entity that is an aggregation of temporal entities
16+
17+
Note: no ordering relationships are implied amongst the parts. Relationships between temporal entities are supported by explicit properties, such as time:after time:intervalMeets, etc""" ;
18+
rdfs:label "Temporal aggregate" ;
19+
rdfs:subClassOf time:TemporalEntity ;
20+
rdfs:subClassOf [
21+
a owl:Restriction ;
22+
owl:minCardinality "1"^^xsd:nonNegativeInteger ;
23+
owl:onProperty time:hasPart ;
24+
] ;
25+
skos:example """
26+
ex:VicSchoolTerms2020
27+
a time:TemporalAggregate ;
28+
rdfs:label \"Public school year - Victoria 2020 \" ;
29+
time:hasBeginning ex:t1b ;
30+
time:hasEnd ex:t4e ;
31+
time:hasPart ex:t1 ;
32+
time:hasPart ex:t2 ;
33+
time:hasPart ex:t3 ;
34+
time:hasPart ex:t4 ;
35+
.
36+
""" ;
37+
.
38+
time:hasPart
39+
a owl:ObjectProperty ;
40+
rdfs:comment "Link to a temporal entity that is a part of this temporal aggregate" ;
41+
rdfs:domain time:TemporalAggregate ;
42+
rdfs:label "has a part" ;
43+
rdfs:range time:TemporalEntity ;
44+
rdfs:subPropertyOf dct:hasPart ;
45+
rdfs:subPropertyOf rdfs:member ;
46+
skos:example """
47+
ex:VicSchoolTerms2020
48+
a time:TemporalAggregate ;
49+
time:hasPart ex:t1 ;
50+
.
51+
ex:t1
52+
a time:ProperInterval ;
53+
.
54+
""" ;
55+
.
56+
time:isPartOf
57+
a owl:ObjectProperty ;
58+
rdfs:comment "Link to a temporal aggregate of which this temporal entity is a part" ;
59+
rdfs:domain time:TemporalEntity ;
60+
rdfs:label "is a part of" ;
61+
rdfs:range time:TemporalAggregate ;
62+
owl:inverseOf time:hasPart ;
63+
skos:example """
64+
ex:t1
65+
a time:ProperInterval ;
66+
time:isPartOf ex:VicSchoolTerms2020 ;
67+
.
68+
ex:VicSchoolTerms2020
69+
a time:TemporalAggregate ;
70+
.
71+
""" ;
72+
.
73+
<https://www.w3.org/2006/time/agg>
74+
a owl:Ontology ;
75+
dct:created "2020-01-16"^^xsd:date ;
76+
dct:creator <https://orcid.org/0000-0002-3884-3420> ;
77+
dct:license <https://creativecommons.org/share-your-work/public-domain/cc0/> ;
78+
dct:modified "2020-04-17"^^xsd:date ;
79+
dct:title "An extension of OWL-Time for temporal aggregates" ;
80+
rdfs:label "Temporal aggregates" ;
81+
rdfs:comment """This document describes some extensions to OWL-Time to represent temporal entities composed of other temporal entities.
82+
New classes and properties are specified in the original OWL-Time namespace.
83+
The classes, properties, and axioms in this RDF graph are described in https://w3c.github.io/sdw/time-aggregates/
84+
Their status is non-normative, and OWL-Time applications are not required to recognize or support them. """ ;
85+
owl:imports <http://purl.org/dc/elements/1.1/> ;
86+
owl:imports <http://www.w3.org/2006/time> ;
87+
.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# baseURI: http://www.w3.org/2006/time/prov
2+
# imports: http://www.w3.org/2006/time
3+
# imports: http://www.w3.org/ns/prov-o#
4+
# prefix: time-prov
5+
6+
@prefix dc: <http://purl.org/dc/elements/1.1/> .
7+
@prefix dcterms: <http://purl.org/dc/terms/> .
8+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
9+
@prefix prov: <http://www.w3.org/ns/prov#> .
10+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
11+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
12+
@prefix time: <http://www.w3.org/2006/time#> .
13+
@prefix time-prov: <http://www.w3.org/2006/time/prov#> .
14+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
15+
16+
time:inXSDDateTimeStamp
17+
rdfs:subPropertyOf time:inXSDDateTime ;
18+
.
19+
<http://www.w3.org/2006/time/prov>
20+
rdf:type owl:Ontology ;
21+
dc:creator "Simon J D Cox" ;
22+
dcterms:created "2017-04-13"^^xsd:date ;
23+
rdfs:comment "Alignment of the the W3C/OGC OWL-Time Ontology with the W3C PROV-O Ontology"@en ;
24+
rdfs:label "Alignment of OWL-Time with PROV-O"@en ;
25+
owl:imports <http://www.w3.org/2006/time> ;
26+
owl:imports <http://www.w3.org/ns/prov-o#> ;
27+
.
28+
prov:Activity
29+
rdfs:subClassOf time:TemporalEntity ;
30+
.
31+
prov:InstantaneousEvent
32+
rdfs:subClassOf time:Instant ;
33+
.
34+
prov:atTime
35+
rdfs:subPropertyOf time:inXSDDateTime ;
36+
.
37+
prov:endedAtTime
38+
owl:propertyChainAxiom (
39+
time:hasEnd
40+
time:inXSDDateTime
41+
) ;
42+
.
43+
prov:startedAtTime
44+
owl:propertyChainAxiom (
45+
time:hasBeginning
46+
time:inXSDDateTime
47+
) ;
48+
.

0 commit comments

Comments
 (0)