Skip to content

Instantly share code, notes, and snippets.

@aamedina
Created August 20, 2023 20:50
Show Gist options
  • Save aamedina/fd32d0e296e6ae9f9f82e487969a8326 to your computer and use it in GitHub Desktop.
Save aamedina/fd32d0e296e6ae9f9f82e487969a8326 to your computer and use it in GitHub Desktop.
^{:dcat/downloadURL
"https://gist.githubusercontent.com/aamedina/fd32d0e296e6ae9f9f82e487969a8326/raw/a2b9f9e7b15288ec41a0ea826304678008c4293e/IDEAS.ttl",
:rdf/ns-prefix-map
{"cdt" "http://w3id.org/lindt/custom_datatypes#",
"owl" "http://www.w3.org/2002/07/owl#",
"rdf" "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"xsd" "http://www.w3.org/2001/XMLSchema#",
"rdfs" "http://www.w3.org/2000/01/rdf-schema#",
"sosa" "http://www.w3.org/ns/sosa#"}}
[{:rdfa/uri "http://example.org/data/HUMICAP-H",
:sosa/isHostedBy
{:rdfa/uri "http://example.org/data/COPR-HMP45C-L"},
:rdfs/label #xsd/langString "Vaisala HUMICAP H-chip@en",
:rdf/type :sosa/Sensor}
{:rdfa/uri "http://example.org/data/IDEA",
:owl/imports {:rdfa/uri "http://www.w3.org/ns/sosa"},
:rdf/type :owl/Ontology}
{:rdfa/uri "http://example.org/data/MeasuringRelativeHumidity",
:rdfs/comment
#xsd/langString "Instructions for measuring relative humidity@en",
:rdf/type :sosa/Procedure}
{:rdfa/uri "http://example.org/data/COPR",
:rdfs/label #xsd/langString "Coal Oil Point Reserve@en",
:rdfs/comment
#xsd/langString "Coal Oil Point Reserve: UC Santa Barbara Natural Reserve System@en",
:sosa/hasSample {:rdfa/uri "http://example.org/data/COPR_SL"},
:rdf/type :sosa/FeatureOfInterest}
{:rdfa/uri "http://example.org/data/COPR-HMP45C-L",
:sosa/isHostedBy
{:rdfa/uri "http://example.org/data/COPR_Station"},
:sosa/hosts {:rdfa/uri "http://example.org/data/HUMICAP-H"},
:rdfs/label
#xsd/langString "HMP45C-L Temperature and Relative Humidity Probe at Coal Oil Point, UCSB, CA@en",
:rdf/type :sosa/Platform}
{:rdf/type :sosa/Observation,
:sosa/hasSimpleResult #cdt/ucum "92.5 %",
:sosa/resultTime #inst "2017-06-02T10:00:00.000-00:00",
:rdfa/uri
"http://example.org/data/RH_avg_1_COPR_15min_201706020300PM",
:sosa/usedProcedure
{:rdfa/uri "http://example.org/data/MeasuringRelativeHumidity"},
:sosa/hasFeatureOfInterest
{:rdfa/uri "http://example.org/data/COPR_Station_Location"},
:sosa/madeBySensor {:rdfa/uri "http://example.org/data/HUMICAP-H"},
:rdfs/label
#xsd/langString "Relative humidity, AVG, 15min, COPR, 06.02.2017, 3:00 PM@en",
:rdfs/comment
#xsd/langString "Relative humidity as averaged over 15min at COPR.@en",
:sosa/observedProperty
{:rdfa/uri "http://example.org/data/RelativeHumidity"}}
{:rdfa/uri "http://example.org/data/COPR_Station_Location",
:sosa/isSampleOf {:rdfa/uri "http://example.org/data/COPR"},
:rdfs/label #xsd/langString "Air around COPR Station@en",
:rdfs/comment #xsd/langString ".@en",
:rdf/type :sosa/Sample}
{:rdfa/uri "http://example.org/data/COPR_Station",
:sosa/hosts {:rdfa/uri "http://example.org/data/COPR-HMP45C-L"},
:rdfs/seeAlso
{:rdfa/uri "http://www.geog.ucsb.edu/ideas/COPR.html"},
:rdfs/label #xsd/langString "Coal Oil Point Reserve Wx Station@en",
:rdfs/comment
#xsd/langString "Station at Coal Oil Point Reserve, CA (see http://www.geog.ucsb.edu/ideas/COPR.html for details)@en",
:rdf/type :sosa/Platform}
{:rdfa/uri "http://example.org/data/RelativeHumidity",
:rdfs/label #xsd/langString "Relative Humidity@en",
:rdfs/comment
#xsd/langString "Humidity is a measure of the moisture content of air.@en",
:rdf/type :sosa/ObservableProperty}]
@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#> .
@prefix cdt: <http://w3id.org/lindt/custom_datatypes#>.
@base <http://example.org/data/> .
<IDEA> a owl:Ontology ;
owl:imports <http://www.w3.org/ns/sosa> .
<COPR> a sosa:FeatureOfInterest ;
sosa:hasSample <COPR_SL> ;
rdfs:comment "Coal Oil Point Reserve: UC Santa Barbara Natural Reserve System"@en ;
rdfs:label "Coal Oil Point Reserve"@en .
<COPR_Station_Location> a sosa:Sample ;
rdfs:comment "."@en ;
rdfs:label "Air around COPR Station"@en ;
sosa:isSampleOf <COPR> .
<COPR_Station> a sosa:Platform ;
rdfs:comment "Station at Coal Oil Point Reserve, CA (see http://www.geog.ucsb.edu/ideas/COPR.html for details)"@en ;
rdfs:label "Coal Oil Point Reserve Wx Station"@en ;
rdfs:seeAlso <http://www.geog.ucsb.edu/ideas/COPR.html> ;
sosa:hosts <COPR-HMP45C-L> .
<COPR-HMP45C-L> a sosa:Platform ;
rdfs:label "HMP45C-L Temperature and Relative Humidity Probe at Coal Oil Point, UCSB, CA"@en ;
sosa:hosts <HUMICAP-H> ;
sosa:isHostedBy <COPR_Station> .
<HUMICAP-H> a sosa:Sensor ;
rdfs:label "Vaisala HUMICAP H-chip"@en ;
sosa:isHostedBy <COPR-HMP45C-L> .
<RelativeHumidity> a sosa:ObservableProperty ;
rdfs:comment "Humidity is a measure of the moisture content of air."@en ;
rdfs:label "Relative Humidity"@en .
<MeasuringRelativeHumidity> a sosa:Procedure ;
rdfs:comment "Instructions for measuring relative humidity"@en .
<RH_avg_1_COPR_15min_201706020300PM> a sosa:Observation ;
rdfs:comment "Relative humidity as averaged over 15min at COPR."@en ;
rdfs:label "Relative humidity, AVG, 15min, COPR, 06.02.2017, 3:00 PM"@en ;
sosa:madeBySensor <HUMICAP-H> ;
sosa:hasFeatureOfInterest <COPR_Station_Location> ;
sosa:hasSimpleResult "92.5 %"^^cdt:ucum ;
sosa:resultTime "2017-06-02T03:00:00-07:00"^^xsd:dateTime ;
sosa:observedProperty <RelativeHumidity> ;
sosa:usedProcedure <MeasuringRelativeHumidity> .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment