Skip to content

Commit

Permalink
Merge pull request #276 from w3c/234-link-to-patterns
Browse files Browse the repository at this point in the history
234 link to patterns and examples
  • Loading branch information
dr-shorthair authored Feb 13, 2025
2 parents 299ba0f + 447a736 commit bb98570
Show file tree
Hide file tree
Showing 240 changed files with 13,435 additions and 4,033 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pdf
4 changes: 2 additions & 2 deletions ssn-extensions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h2>Motivation and background</h2>
<section id="namespaces" class="normative">
<h2>Notation and namespaces</h2>
<p>The classes and properties described in this document are denoted using <a href="https://www.w3.org/TR/curie/">Compact URIs</a> [[curie]].
These classes and properties are put into the RDF namespace for SOSA, i.e. <code>http://www.w3.org/ns/sosa/</code> which is used for the core elements of SSN [[vocab-ssn]], since the new classes and properties are expected to be used in the same context.
These classes and properties are put into the RDF namespace for SOSA, i.e., <code>http://www.w3.org/ns/sosa/</code> which is used for the core elements of SSN [[vocab-ssn]], since the new classes and properties are expected to be used in the same context.
However, these extensions to SOSA/SSN are packaged in a separate graph (ontology file) which is denoted <code>http://www.w3.org/ns/ssn/ext/</code>, and is currently available from the <a href="https://raw.githubusercontent.com/w3c/sdw/gh-pages/ssn-extensions/rdf/ssn-ext.ttl">GitHub repository</a>.
</p>
<!--
Expand Down Expand Up @@ -568,7 +568,7 @@ <h4 id="sosa:hasSampledFeature">has sampled feature</h4>
</tr>
<tr>
<td>Definition:</td>
<td>link to the ultimate feature of interest of the context sample - i.e. the end of a chain of isSampleOf relations</td>
<td>link to the ultimate feature of interest of the context sample - i.e., the end of a chain of isSampleOf relations</td>
</tr>
<tr>
<td>Instance of:</td>
Expand Down
6 changes: 3 additions & 3 deletions ssn-extensions/rdf/examples/MODIS-t-series.ttl
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# baseURI: http://example.org/MODIS-t-series
# baseURI: https://example.org/MODIS-t-series
# imports: http://www.w3.org/2006/time
# imports: http://www.w3.org/ns/ssn/ext

@prefix ex: <http://example.org/ssn-ext-example/> .
@prefix ex: <https://example.org/ssn-ext-example/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sosa: <http://www.w3.org/ns/sosa/> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://example.org/MODIS-t-series>
<https://example.org/MODIS-t-series>
a owl:Ontology ;
owl:imports <http://www.w3.org/2006/time> ;
owl:imports <http://www.w3.org/ns/ssn/ext> ;
Expand Down
6 changes: 3 additions & 3 deletions ssn-extensions/rdf/examples/MODIS-t.ttl
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# baseURI: http://example.org/MODIS-t
# baseURI: https://example.org/MODIS-t
# imports: http://www.w3.org/2006/time
# imports: http://www.w3.org/ns/ssn/ext

@prefix ex: <http://example.org/ssn-ext-example/> .
@prefix ex: <https://example.org/ssn-ext-example/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sosa: <http://www.w3.org/ns/sosa/> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://example.org/MODIS-t>
<https://example.org/MODIS-t>
a owl:Ontology ;
owl:imports <http://www.w3.org/2006/time> ;
owl:imports <http://www.w3.org/ns/ssn/ext> ;
Expand Down
6 changes: 3 additions & 3 deletions ssn-extensions/rdf/examples/Sample-chain-geology.ttl
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# baseURI: http://example.org/Sample-chain-geology
# baseURI: https://example.org/Sample-chain-geology
# imports: http://www.w3.org/ns/ssn/ext

@prefix ex: <http://example.org/ssn-ext-example/> .
@prefix ex: <https://example.org/ssn-ext-example/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sosa: <http://www.w3.org/ns/sosa/> .
@prefix ssn: <http://www.w3.org/ns/ssn/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://example.org/Sample-chain-geology>
<https://example.org/Sample-chain-geology>
a owl:Ontology ;
owl:imports ssn:ext ;
.
Expand Down
10 changes: 5 additions & 5 deletions ssn-extensions/rdf/examples/ssn-ext-OA1.ttl
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# baseURI: http://example.org/ssn-ext-OA1
# baseURI: https://example.org/ssn-ext-OA1
# imports: http://www.w3.org/ns/ssn/ext

@prefix : <http://example.org/ssn-ext-example/> .
@prefix ex: <http://example.org/ssn-ext-example/> .
@prefix : <https://example.org/ssn-ext-example/> .
@prefix ex: <https://example.org/ssn-ext-example/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sosa: <http://www.w3.org/ns/sosa/> .
@prefix ssn: <http://www.w3.org/ns/ssn/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://example.org/ssn-ext-OA1>
<https://example.org/ssn-ext-OA1>
a owl:Ontology ;
owl:imports ssn:ext ;
.
ex:F1
a sosa:FeatureOfInterest ;
ssn:hasProperty ex:OP1 ;
sosa:hasProperty ex:OP1 ;
.
ex:OA1
a sosa:Observation ;
Expand Down
12 changes: 6 additions & 6 deletions ssn-extensions/rdf/examples/ssn-ext-OA2.ttl
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# baseURI: http://example.org/ssn-ext-OA2
# baseURI: https://example.org/ssn-ext-OA2
# imports: http://www.w3.org/ns/ssn/ext

@prefix : <http://example.org/ssn-ext-example/> .
@prefix ex: <http://example.org/ssn-ext-example/> .
@prefix : <https://example.org/ssn-ext-example/> .
@prefix ex: <https://example.org/ssn-ext-example/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sosa: <http://www.w3.org/ns/sosa/> .
@prefix ssn: <http://www.w3.org/ns/ssn/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://example.org/ssn-ext-OA2>
<https://example.org/ssn-ext-OA2>
a owl:Ontology ;
owl:imports ssn:ext ;
.
ex:F2
a sosa:FeatureOfInterest ;
ssn:hasProperty ex:OP2 ;
sosa:hasProperty ex:OP2 ;
.
ex:OA2
a sosa:Observation ;
Expand All @@ -38,5 +38,5 @@ ex:R2
ex:S2
a sosa:Sample ;
sosa:isSampleOf ex:F2 ;
ssn:hasProperty ex:OP2 ;
sosa:hasProperty ex:OP2 ;
.
12 changes: 6 additions & 6 deletions ssn-extensions/rdf/examples/ssn-ext-OA3.ttl
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# baseURI: http://example.org/ssn-ext-OA3
# baseURI: https://example.org/ssn-ext-OA3
# imports: http://www.w3.org/ns/ssn/ext

@prefix : <http://example.org/ssn-ext-example/> .
@prefix ex: <http://example.org/ssn-ext-example/> .
@prefix : <https://example.org/ssn-ext-example/> .
@prefix ex: <https://example.org/ssn-ext-example/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sosa: <http://www.w3.org/ns/sosa/> .
@prefix ssn: <http://www.w3.org/ns/ssn/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://example.org/ssn-ext-OA3>
<https://example.org/ssn-ext-OA3>
a owl:Ontology ;
owl:imports ssn:ext ;
.
ex:F3
a sosa:FeatureOfInterest ;
ssn:hasProperty ex:OP3 ;
sosa:hasProperty ex:OP3 ;
.
ex:OA3
a sosa:Observation ;
Expand All @@ -40,7 +40,7 @@ ex:S31
sosa:hasOriginalSample ex:S32 ;
sosa:isSampleOf ex:S32 ;
sosa:hasSampledFeature ex:F3 ;
ssn:hasProperty ex:OP3 ;
sosa:hasProperty ex:OP3 ;
.
ex:S32
a sosa:Sample ;
Expand Down
6 changes: 3 additions & 3 deletions ssn-extensions/rdf/examples/ssn-ext-OC1-1.ttl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# baseURI: http://example.org/ssn-ext-OC1-1
# baseURI: https://example.org/ssn-ext-OC1-1
# imports: http://www.w3.org/2006/time
# imports: http://www.w3.org/ns/ssn/ext

@prefix ex: <http://example.org/ssn-ext-example/> .
@prefix ex: <https://example.org/ssn-ext-example/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
Expand All @@ -11,7 +11,7 @@
@prefix time: <http://www.w3.org/2006/time#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://example.org/ssn-ext-OC1-1>
<https://example.org/ssn-ext-OC1-1>
a owl:Ontology ;
owl:imports <http://www.w3.org/2006/time> ;
owl:imports ssn:ext ;
Expand Down
6 changes: 3 additions & 3 deletions ssn-extensions/rdf/examples/ssn-ext-OC1-2.ttl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# baseURI: http://example.org/ssn-ext-OC1-2
# baseURI: https://example.org/ssn-ext-OC1-2
# imports: http://www.w3.org/2006/time
# imports: http://www.w3.org/ns/ssn/ext

@prefix ex: <http://example.org/ssn-ext-example/> .
@prefix ex: <https://example.org/ssn-ext-example/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
Expand All @@ -11,7 +11,7 @@
@prefix time: <http://www.w3.org/2006/time#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://example.org/ssn-ext-OC1-2>
<https://example.org/ssn-ext-OC1-2>
a owl:Ontology ;
owl:imports <http://www.w3.org/2006/time> ;
owl:imports ssn:ext ;
Expand Down
10 changes: 5 additions & 5 deletions ssn-extensions/rdf/examples/ssn-ext-SA1.ttl
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# baseURI: http://example.org/ssn-ext-SA1
# baseURI: https://example.org/ssn-ext-SA1
# imports: http://www.w3.org/ns/ssn/ext

@prefix : <http://example.org/ssn-ext-example/> .
@prefix ex: <http://example.org/ssn-ext-example/> .
@prefix : <https://example.org/ssn-ext-example/> .
@prefix ex: <https://example.org/ssn-ext-example/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sosa: <http://www.w3.org/ns/sosa/> .
@prefix ssn: <http://www.w3.org/ns/ssn/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://example.org/ssn-ext-SA1>
<https://example.org/ssn-ext-SA1>
a owl:Ontology ;
owl:imports ssn:ext ;
.
ex:F1
a sosa:FeatureOfInterest ;
ssn:hasProperty ex:OP1 ;
sosa:hasProperty ex:OP1 ;
.
ex:S1
a sosa:Sample ;
Expand Down
12 changes: 6 additions & 6 deletions ssn-extensions/rdf/examples/ssn-ext-SA2.ttl
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# baseURI: http://example.org/ssn-ext-SA2
# baseURI: https://example.org/ssn-ext-SA2
# imports: http://www.w3.org/ns/ssn/ext

@prefix : <http://example.org/ssn-ext-example/> .
@prefix ex: <http://example.org/ssn-ext-example/> .
@prefix : <https://example.org/ssn-ext-example/> .
@prefix ex: <https://example.org/ssn-ext-example/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sosa: <http://www.w3.org/ns/sosa/> .
@prefix ssn: <http://www.w3.org/ns/ssn/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://example.org/ssn-ext-SA2>
<https://example.org/ssn-ext-SA2>
a owl:Ontology ;
owl:imports ssn:ext ;
.
ex:F2
a sosa:FeatureOfInterest ;
ssn:hasProperty ex:OP2 ;
sosa:hasProperty ex:OP2 ;
.
ex:OP2
a sosa:ObservableProperty ;
Expand All @@ -33,7 +33,7 @@ ex:S21
ex:S22
a sosa:Sample ;
sosa:isSampleOf ex:F2 ;
ssn:hasProperty ex:OP2 ;
sosa:hasProperty ex:OP2 ;
.
ex:SA2
a sosa:Sampling ;
Expand Down
12 changes: 6 additions & 6 deletions ssn-extensions/rdf/examples/ssn-ext-SA3.ttl
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# baseURI: http://example.org/ssn-ext-SA3
# baseURI: https://example.org/ssn-ext-SA3
# imports: http://www.w3.org/ns/ssn/ext

@prefix : <http://example.org/ssn-ext-example/> .
@prefix ex: <http://example.org/ssn-ext-example/> .
@prefix : <https://example.org/ssn-ext-example/> .
@prefix ex: <https://example.org/ssn-ext-example/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sosa: <http://www.w3.org/ns/sosa/> .
@prefix ssn: <http://www.w3.org/ns/ssn/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://example.org/ssn-ext-SA3>
<https://example.org/ssn-ext-SA3>
a owl:Ontology ;
owl:imports ssn:ext ;
.
ex:F3
a sosa:FeatureOfInterest ;
ssn:hasProperty ex:OP3 ;
sosa:hasProperty ex:OP3 ;
.
ex:OP3
a sosa:ObservableProperty ;
Expand All @@ -33,7 +33,7 @@ ex:S31
ex:S32
a sosa:Sample ;
sosa:isSampleOf ex:S33 ;
ssn:hasProperty ex:OP3 ;
sosa:hasProperty ex:OP3 ;
.
ex:S33
a sosa:Sample ;
Expand Down
Loading

0 comments on commit bb98570

Please sign in to comment.