@prefix ex: <https://example.org/sosa/collection-rule-1/> .
@prefix qk: <http://qudt.org/vocab/quantitykind/> .
@prefix qudt: <http://qudt.org/schema/qudt/> .
@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 unit: <http://qudt.org/vocab/unit/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

ex:oc1
  a sosa:ObservationCollection ;
  sosa:hasMember ex:a11 ;
  sosa:hasMember ex:a12 ;
  sosa:madeBySensor ex:T56 ;
  sosa:observedProperty qk:Temperature ;
  qudt:hasUnit unit:DEG_C ;
  rdfs:comment """
  The properties madeBySensor, observedProperty, and hasUnit are given for the collection. 
  """ ;
.
ex:a11
  a sosa:Observation ;
  sosa:hasFeatureOfInterest ex:F1 ;
  sosa:phenomenonTime [
    a time:Instant ;
    time:inXSDDateTime "2022-05-01T20:33:40+00:00"^^xsd:dateTime ;
  ] ;
  sosa:hasSimpleResult 24.1 ;
  rdfs:comment """
  The properties hasFeatureOfInterest, phenomenonTime, and hasSimpleResult are specific to this individual member. 
  The properties madeBySensor, observedProperty, and hasUnit are inferred from the values for the collection.
  """ ;
.
ex:a12
  a sosa:Observation ;
  sosa:hasFeatureOfInterest ex:F2 ;
  sosa:phenomenonTime [
    a time:Instant ;
    time:inXSDDateTime "2022-05-01T22:33:40+00:00"^^xsd:dateTime ;
  ] ;
  sosa:hasSimpleResult 27.3 ;
  rdfs:comment """
  The properties hasFeatureOfInterest, phenomenonTime, and hasSimpleResult are specific to this individual member. 
  The properties madeBySensor, observedProperty, and hasUnit are inferred from the values for the collection.
  """ ;
.
ex:F1
  a sosa:FeatureOfInterest ;
  rdfs:comment "Room #1" ;
.
ex:F2
  a sosa:FeatureOfInterest ;
  rdfs:comment "Room #2" ;
.
ex:T56
  a sosa:Sensor ;
  rdfs:comment "Thermometer #56" ;
.
qk:Temperature
  a sosa:Property ;
.