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#>

sosa:Procedure a rdfs:Class .

sosa:Observation a rdfs:Class ;
  rdfs:comment """If values are not provided for the following Observation properties, they may be provided by the ObservationCollection of which it is a member:
- hasFeatureOfInterest
- hasUltimateFeatureOfInterest
- madeBySensor
- observedProperty
- phenomenonTime
- resultTime
- usedProcedure""" .

sosa:hasUltimateFeatureOfInterest a rdf:Property ;
  rdfs:label "has ultimate feature of interest" ;
  rdfs:comment "link to the ultimate feature of interest of an observation or act of sampling. This is useful when the proximate feature of interest is a sample of the ultimate feature of interest, directly or trasntitively." ;
  rdfs:range sosa:FeatureOfInterest .

sosa:Sample a rdfs:Class .

sosa:hasOriginalSample a rdf:Property ;
  rdfs:label "has original sample" ;
  rdfs:comment "link to the original sample that is related to the context sample through a chain of isSampleOf relations" ;
  rdfs:domain sosa:Sample ;
  rdfs:range sosa:Sample .

sosa:hasSampledFeature a rdf:Property ;
  rdfs:label "is ultimate sample of" ;
  rdfs:comment "link to the ultimate feature of interest of the context sample - i.e. the end of a chain of isSampleOf relations" ;
  rdfs:domain sosa:Sample ;
  rdfs:range sosa:FeatureOfInterest .

sosa:ObservableProperty a rdfs:Class .

sosa:Sensor a rdfs:Class .

<http://www.w3.org/ns/ssn/Stimulus> a rdfs:Class .

sosa:Actuation a rdfs:Class .

sosa:ObservationCollection a rdfs:Class ;
  rdfs:label "Collection of observations" ;
  rdfs:comment "Collection of observations, typically with one or more property shared by all of its members" .

sosa:observedProperty a rdf:Property ;
  rdfs:range sosa:ObservableProperty .

sosa:phenomenonTime a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://www.w3.org/ns/ssn/wasOriginatedBy> a rdf:Property ;
  rdfs:range <http://www.w3.org/ns/ssn/Stimulus> .

sosa:hasMember a rdf:Property ;
  rdfs:label "member observation" ;
  rdfs:comment "Link to a member within a collection of (observations) or (collections of observations) that share the same value for one or more of the characteristic properties" ;
  rdfs:domain sosa:ObservationCollection ;
  rdfs:range xsd:string .

sosa:resultTime a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

sosa:madeBySensor a rdf:Property ;
  rdfs:range sosa:Sensor .

sosa:hasFeatureOfInterest a rdf:Property ;
  rdfs:range sosa:FeatureOfInterest .

sosa:usedProcedure a rdf:Property ;
  rdfs:range sosa:Procedure .

sosa:Sampling a rdfs:Class .

<https://w3id.org/linkml/Any> a rdfs:Class ;
  rdfs:comment "An unconstrained type or object" .

sosa:FeatureOfInterest a rdfs:Class .
