Skip to content

Instantly share code, notes, and snippets.

@aamedina
Created August 20, 2023 20:45
Show Gist options
  • Save aamedina/6ced445c0b70994fd0939faa914e43f1 to your computer and use it in GitHub Desktop.
Save aamedina/6ced445c0b70994fd0939faa914e43f1 to your computer and use it in GitHub Desktop.
^{:dcat/downloadURL
"https://www.w3.org/TR/vocab-ssn/integrated/examples/iphone_barometer-sosa.ttl",
:rdf/ns-prefix-map
{"cdt" "http://w3id.org/lindt/custom_datatypes#",
"qudt-unit-1-1" "http://qudt.org/1.1/vocab/unit#",
"rdf" "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"qudt-1-1" "http://qudt.org/1.1/schema/qudt#",
"xsd" "http://www.w3.org/2001/XMLSchema#",
"rdfs" "http://www.w3.org/2000/01/rdf-schema#",
"time" "http://www.w3.org/2006/time#",
"sosa" "http://www.w3.org/ns/sosa/"}}
[{:rdfa/uri "http://example.org/data/iphone7/35-207306-844818-0",
:sosa/hosts
{:rdfa/uri
"http://example.org/data/sensor/35-207306-844818-0/BMP282"},
:rdfs/comment
#xsd/langString "IPhone 7 - IMEI 35-207306-844818-0 - John Doe@en",
:rdfs/label
#xsd/langString "IPhone 7 - IMEI 35-207306-844818-0@en",
:rdf/type :sosa/Platform}
{:rdfa/uri "http://example.org/data/Observation/346344",
:sosa/resultTime #inst "2017-06-06T12:36:12.000-00:00",
:sosa/hasSimpleResult #cdt/ucum "1021.45 hPa",
:sosa/madeBySensor
{:rdfa/uri
"http://example.org/data/sensor/35-207306-844818-0/BMP282"},
:sosa/hasFeatureOfInterest
{:rdfa/uri "http://example.org/data/earthAtmosphere"},
:sosa/observedProperty
{:rdfa/uri
"http://example.org/data/sensor/35-207306-844818-0/BMP282/atmosphericPressure"},
:rdf/type :sosa/Observation}
{:rdfa/uri "http://example.org/data/earthAtmosphere",
:rdfs/label #xsd/langString "Atmosphere of Earth@en",
:rdf/type :sosa/FeatureOfInterest}
{:db/id "730a349896ea2a930c1e55b86835d4ca",
:time/inXSDDateTimeStamp #inst "2017-06-06T12:36:13.000-00:00",
:rdf/type :time/Instant}
{:rdfa/uri "http://example.org/data/Observation/346345",
:sosa/resultTime {:db/id "730a349896ea2a930c1e55b86835d4ca"},
:sosa/hasResult {:db/id "f66dcce906949ef61614d30a2295bd73"},
:sosa/madeBySensor
{:rdfa/uri
"http://example.org/data/sensor/35-207306-844818-0/BMP282"},
:sosa/hasFeatureOfInterest
{:rdfa/uri "http://example.org/data/earthAtmosphere"},
:sosa/observedProperty
{:rdfa/uri
"http://example.org/data/sensor/35-207306-844818-0/BMP282/atmosphericPressure"},
:rdf/type :sosa/Observation}
{:db/id "f66dcce906949ef61614d30a2295bd73",
:qudt-1-1/unit :qudt-unit-1-1/Pascal,
:qudt-1-1/numericValue 101936.0,
:rdf/type :qudt-1-1/QuantityValue}
{:rdfa/uri
"http://example.org/data/sensor/35-207306-844818-0/BMP282",
:sosa/observes
{:rdfa/uri
"http://example.org/data/sensor/35-207306-844818-0/BMP282/atmosphericPressure"},
:rdfs/label #xsd/langString "Bosch Sensortec BMP282@en",
:rdf/type :sosa/Sensor}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment