Last active
August 29, 2015 14:21
-
-
Save soylent-grin/f150d1d6310983b10da6 to your computer and use it in GitHub Desktop.
Exampe of sensor description using extension of LIMAP ontology (http://data.uni-muenster.de/php/vocab/limap)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix ssn: <http://purl.oclc.org/NET/ssnx/ssn#> . | |
@prefix hmtr: <http://purl.org/NET/ssnext/heatmeters#> . | |
@prefix ssncom: <http://purl.org/NET/ssnext/communication#> . | |
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> . | |
@prefix geosparql: <http://www.opengis.net/ont/geosparql#> . | |
@prefix dul: <http://www.loa-cnr.it/ontologies/DUL.owl#> . | |
@prefix limapext: <http://purl.org/NET/limapext#> . | |
@prefix limap: <http://data.uni-muenster.de/php/vocab/limap> . | |
<coap://10.1.1.1:6500/meter> a hmtr:HeatMeter ; | |
rdfs:label "Heat Meter #6500" ; | |
ssn:hasSubsystem <coap://10.1.1.1:6500:6500/meter/temperature> ; | |
ssn:hasSubsystem <coap://10.1.1.1:6500:6500/meter/heat> ; | |
limapext:isOccupantOf [ | |
rdf:type limap:Room ; | |
limap:hasLocalCoordinates [ | |
rdf:type limap:LocalCoordinates ; | |
geosparql:hasGeometry "POLYGON(( | |
3.976532 0, | |
6.765645 0, | |
6.765645 2.273458, | |
3.976532 2.2734589))"^^geo:wktLiteral . | |
] ; | |
limap:isLocated [ | |
rdf:type limap:EscapePlan ; | |
limap:hasSourceImage <https://makeitnigeria.com/wp-content/uploads/2012/10/philglad-serviced-self-catering-flat-rental-ikeja-lagos-nigeria-floor-plan.jpg> ; | |
limap:isEscapePlanOf [ | |
rdf:type limap:Floor ; | |
dul:hasLocation [ | |
geo:floor "4"^^xsd:int . | |
], | |
limap:isFloorIn [ | |
rdf:type limap:Building ; | |
geosparql:hasGeometry "POLYGON(( | |
-81.587906 45.336702, | |
-81.148453 39.774769, | |
-69.964371 39.30029, | |
-70.403824 45.58329, | |
-81.587906 45.336702))"^^geo:wktLiteral . | |
] . | |
] . | |
] . | |
] . | |
<coap://10.1.1.1:6500:6500/meter/temperature> a ssn:Sensor ; | |
ssn:observes hmtr:Temperature ; | |
ssncom:hasCommunicationEndpoint <coap://10.1.1.1:6500:6500/meter/temperature/obs> . | |
<coap://10.1.1.1:6500:6500/meter/heat> a ssn:Sensor ; | |
ssn:observes hmtr:Heat ; | |
ssncom:hasCommunicationEndpoint <coap://10.1.1.1:6500:6500/meter/heat/obs> . | |
<coap://10.1.1.1:6500:6500/meter/temperature/obs> a ssncom:CommunicationEndpoint ; | |
ssncom:protocol "COAP" . | |
<coap://10.1.1.1:6500:6500/meter/heat/obs> a ssncom:CommunicationEndpoint ; | |
ssncom:protocol "COAP" . | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment