Skip to content

Commit

Permalink
Merge pull request #94 from w3c/revert-conflicted-directory-renames
Browse files Browse the repository at this point in the history
Revert "Removed confusing duplicates - integrated now in rdf subdirectory"
  • Loading branch information
dr-shorthair committed Sep 20, 2023
2 parents 4e46f92 + 09f09f4 commit e012084
Show file tree
Hide file tree
Showing 51 changed files with 5,030 additions and 599 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
646 changes: 646 additions & 0 deletions ssn/integrated/sosa.ttl

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions ssn/rdf/README.md0
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
sosa.ttl is a copy of RDF document containing the SOSA ontology.
This is an old version, and should not be used.
It has been left here to support the audit trail of the development activity.

The current version of this document is at ../integrated/sosa.ttl

Simon Cox, [email protected]
2017-04-18
23 changes: 23 additions & 0 deletions ssn/rdf/bfo-prov-mapping.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# baseURI: http://www.w3.org/ns/sosa/bfo-prov
# imports: http://purl.obolibrary.org/obo/bfo/
# imports: http://www.w3.org/ns/prov-o#
# prefix: bfo-prov

@prefix obo: <http://purl.obolibrary.org/obo/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

prov:Activity
owl:equivalentClass obo:BFO_0000015 ;
.
prov:Entity
owl:equivalentClass obo:BFO_0000004 ;
.
<http://www.w3.org/ns/sosa/bfo-prov>
rdf:type owl:Ontology ;
owl:imports <http://purl.obolibrary.org/obo/bfo/> ;
owl:imports <http://www.w3.org/ns/prov-o#> ;
.
75 changes: 75 additions & 0 deletions ssn/rdf/documentation_examples/sosa-core_examples.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# baseURI: http://www.w3.org/ns/sosa/examples
# imports: http://www.w3.org/ns/sosa

@prefix ex: <http://www.w3.org/ns/sosa/examples#> .
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://www.w3.org/ns/sosa/examples>
rdf:type owl:Ontology ;
owl:imports <http://www.w3.org/ns/sosa> ;
.
<http://www.w3.org/ns/sosa/examples#4830EH_UCSB>
rdf:type sosa:Sample ;
rdfs:comment "Instead of measuring temperature at every single office, we select room 4830 Ellison Hall, UCSB as a sample and thereby assume that the temperature observed there is a good proxy for the temperatures in other offices."^^xsd:string ;
rdfs:label "4830 Ellison Hall"^^xsd:string ;
sosa:isSampleOf ex:UCSB ;
.
ex:RoomTemperature
rdf:type sosa:Procedure ;
rdfs:comment "How is this linked to platform & sensor?--> It s not explicitly linked (see also the comment for ex:TempObservation1) One could add a back-pointing relation to the observation here but in reality one would not do so as this would crate millions of triples as part of each procedure, thereby cluttering a procedure repository. This is/can be handled via UNION queries in SPARQL pr simply an inverse property (path) in your query."^^xsd:string ;
rdfs:comment "This is a procedure for measuring room temperatures. To ensure a meaningful interpretation of results and interoperability, all room temperature observations need to follow the same procedure. (1) The sensor should be put at least 1m above ground. (2) The sensor should be shielded from direct sun light and circulating air, e.g., via an open window. Other heat sources such as computers should be avoided as well. (3) The sensor should not be moved during observations. (4) Room temperature observations are only comparable if they were taken during comparable outside conditions and with closed windows and doors. (5)...."^^xsd:string ;
.
ex:SamsungGalaxyS4_23
rdf:type sosa:Platform ;
rdfs:comment "A Samsung Galaxy S4 smartphone that carries multiple sensors. The S4 remains popular as it contains more sensors than later editions. For example, it can sense temperature."^^xsd:string ;
rdfs:label "Samsung Galaxy S4"^^xsd:string ;
sosa:hosts ex:TempSensorS4_23 ;
.
ex:TempObservation1
rdf:type sosa:Observation ;
rdfs:comment "A temperature observation created using the SamsungGalaxyS4_23."^^xsd:string ;
rdfs:comment "Not yet linked through to the platform or sensor. ---> (kj). Yes, this will be 'linked' via SPARQL queries and possible via future axioms outside of SOSA-core. There is no need to habve explicit relations between anything and everything. Also, keep in mind that this is all under the OWA."^^xsd:string ;
rdfs:label "Temperature observation 1."^^xsd:string ;
sosa:madeBySensor ex:TempSensorS4_23;
sosa:hasFeatureOfInterest <http://www.w3.org/ns/sosa/examples#4830EH_UCSB> ;
sosa:hasResult ex:TempObservationResult1 ;
sosa:resultTime "2016-08-10T08:30:00"^^xsd:dateTime ;
sosa:usedProcedure ex:RoomTemperature ;
.
ex:TempSensorS4_23
rdf:type sosa:Sensor ;
rdfs:label "The temperature sensor mounted on the S4 platform with the ID 23."^^xsd:string ;
sosa:hostedBy ex:SamsungGalaxyS4_23 ;
.
ex:TempObservationResult1
rdf:type sosa:Result ;
rdfs:comment "The observed temperature for observation 1."^^xsd:string ;
rdfs:label "Result of temperature observation 1."^^xsd:string ;
sosa:hasValue "23.8"^^xsd:double ;
.
ex:TempObservation2
rdf:type sosa:Observation ;
rdfs:comment "A temperature observation created using the SamsungGalaxyS4_23."^^xsd:string ;
rdfs:label "Temperature observation 2. We usue this here to demonstrate that all room temperature observations use the same procedure."^^xsd:string ;
sosa:madeBySensor ex:TempSensorS4_23;
sosa:hasFeatureOfInterest ex:4830EH_UCSB ;
sosa:hasResult [ rdf:value 23.8 ] ;
sosa:resultTime "2016-08-10T09:33:00"^^xsd:dateTime ;
sosa:usedProcedure ex:RoomTemperature ;
.
ex:TempObservationResult2
rdf:type sosa:Result ;
rdfs:comment "The observed temperature for observation 2."^^xsd:string ;
rdfs:label "Result of temperature observation 2."^^xsd:string ;
sosa:hasValue "24.3"^^xsd:double ;
.
ex:UCSB
rdf:type sosa:FeatureOfInterest ;
sosa:hasSample ex:4830EH_UCSB ;
rdfs:comment "In our example we would like to study the average room temperature of offices at UCSB. Hence, UCSB is the feature of interest. We will only observe the temperature at some offices that will act as samples."^^xsd:string ;
rdfs:label "University of California, Santa Barbara"^^xsd:string ;
.
67 changes: 67 additions & 0 deletions ssn/rdf/sample-relations.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# baseURI: http://www.w3.org/ns/sosa/sampling
# imports: http://www.w3.org/ns/ssn/

@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@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 sampling: <http://www.w3.org/ns/sosa/sampling/> .
@prefix schema: <http://schema.org/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix sosa: <http://www.w3.org/ns/sosa/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

sosa:sampling
rdf:type owl:Ontology ;
owl:imports <http://www.w3.org/ns/ssn/> ;
dcterms:creator [
rdf:type foaf:Agent ;
foaf:name "W3C/OGC Spatial Data on the Web Working Group"@en ;
] ;
dcterms:license <http://www.opengeospatial.org/ogc/Software> ;
dcterms:license <http://www.w3.org/Consortium/Legal/2015/copyright-software-and-document> ;
dcterms:rights "Copyright 2017 W3C/OGC." ;
.
sampling:RelationshipNature
rdf:type owl:Class ;
rdfs:label "Nature of relationship (between samples)"@en ;
rdfs:subClassOf skos:Concept ;
skos:definition "Members of this class indicate the nature of a relationship between two samples"@en ;
skos:example "Adjacent flight-line" ;
skos:example "Females" ;
skos:example "Juveniles" ;
skos:example "Males" ;
skos:example "Pixel within image or scene" ;
skos:example "Probe spot on polished specimen" ;
skos:example "Specimen taken from borehole" ;
skos:example "Split of core sample" ;
skos:example "Station along a traverse" ;
skos:example "Sub-sample with grain size smaller than specified seive mesh" ;
.
sampling:SampleRelationship
rdf:type owl:Class ;
rdfs:label "Sample relationship"@en ;
skos:definition "Members of this class represent a relationship between a sample and another"@en ;
.
sampling:hasSampleRelationship
rdf:type owl:ObjectProperty ;
schema:domainIncludes sosa:Sample ;
schema:rangeIncludes sampling:SampleRelationship ;
rdfs:label "has sample relationship"@en ;
skos:definition "Links a sample to a sample relationship (which links to a related sample)"@en ;
.
sampling:natureOfRelationship
rdf:type owl:ObjectProperty ;
schema:domainIncludes sampling:SampleRelationship ;
schema:rangeIncludes sampling:RelationshipNature ;
rdfs:label "nature of (sample) relationship"@en ;
skos:definition "Links a SampleRelationship to an indication of the nature of the relationship"@en ;
.
sampling:relatedSample
rdf:type owl:ObjectProperty ;
schema:domainIncludes sampling:SampleRelationship ;
schema:rangeIncludes sosa:Sample ;
rdfs:label "related sample"@en ;
skos:definition "Links a sample relationship to the related sample"@en ;
.
Loading

0 comments on commit e012084

Please sign in to comment.