SlideShare a Scribd company logo
1 of 29
4th International Workshop on Semantic Sensor Networks
                        ISWC 2011




Semantic Sensor Data Search in a
   Federated Sensor Network



       Jean-Paul Calbimonte1, Hoyoung Jeung2,
           Oscar Corcho1 and Karl Aberer2
                       1Ontology   Engineering Group.
         Facultad de Informática, Universidad Politécnica de Madrid.
                 2Distributed Information Systems Laboratory

       School of Computer Science & Communication Systems, EPFL.



                        jp.calbimonte@upm.es


                                                                       Date: 23/10/2011
Outline


• Introduction
    • Sensor data
    • Sensor metadata
•   Ontological representation
•   Mapping sensor streams
•   Sensor data search
•   Query translation
    • GSN URL API
• Conclusions




                             2
Swiss-Experiment


  • FP7 Network of Excellence

             Environmental and GeoScience research
                           Swiss Alps
   Geo
Researcher
                                                     ...               Snow,
                                                           Real-time   Wind,
                                                     ...     data
                                                     ...               Radiation.
                                                                       Lots of stuff




       I want data to
         create my
•How much snow is lost to evaporation?
         models and
•Snow redistribution by wind
          compare
• Wind erosion of sand
• ...


                                           3
Swiss-Experiment Infrastructure


• Global Sensor Networks, deployment for SwissEx.



• Distributed environment: GSN Davos, GSN Zurich,
  etc.
   • In each site, a number of sensors available
   • Each one with different Sensor observations
                             schema
• Metadata stored in wiki
   • Federated metadata management:
   •                                     Sensor metadata
       Jeung H., Sarni, S., Paparrizos, I., Sathe, S., Aberer, K., Dawes, N., Papaioannus, T.,
       Lehning, M.Effective Metadata Management in federated Sensor Networks. in SUTC,
       2010




                                              4
Sensor Metadata



        station

            location

                       sensors

model


                        properties




                  5
Sensor Metadata


• What properties are measured

• Which sensors available

• Where are they located

• How are they configured

• Who is responsible




                            6
Sensor Data: Observations




Heterogeneity

Integration




  7
W3C SSN-XG Ontology


• SSN Ontology

                             ssn:isProducedBy
                                                        ssn:SensorOutput
         ssn:Sensor

                      ssn:observedBy
                                            ssn:observationResult             ssn:hasValue


                            ssn:Observation                          ssn:ObservationValue

 ssn:observes
                                                    ssn:featureOfInterest
                                                                                             quantityValue
                   ssn:observedProperty

                                             ssn:FeatureOfInterest

                                                                                         xsd:datatype

            ssn:Property                  ssn:hasProperty




                                                        8
W3C SSN-XG Ontology


                                                          ssn:OperatingRange


                                                                    ssn:hasOperatingRange
                                                                                                       ssn:Deployment
               ssn:Sensing                                                 ssn:hasDeployment

                                                              ssn:System
                               ssn:implements                                                  ssn:deployedOnPlatform


                         ssn:Sensor                                         ssn:onPlatform


                                                              ssn:Device                                 ssn:Platform
ssn:hasMeasurementCapability




    ssn:MeasurementCapability


                                                ssn:SensingDevice




                                                                9
Example

swissex:Sensor1
   rdf:type ssn:Sensor;
   ssn:onPlatform swissex:Station1;
   ssn:observes [rdf:type sweetSpeed:WindSpeed].
swissex:Sensor2
                                                    station
   rdf:type ssn:Sensor;
   ssn:onPlatform swissex:Station1;
   ssn:observes [rdf:type sweetTemp:Temperature].
swissex:Station1
   :hasGeometry [ rdf:type wgs84:Point;
                   wgs84:lat "46.8037166";
                   wgs84:long "9.7780305"].




                                          10
Example

swissex:WindSpeedObservation1
   rdf:type ssn:Observation;
   ssn:featureOfInterest [rdf:type sweetAtmoWind:Wind];
   ssn:observedProperty [rdf:type sweetSpeed:WindSpeed];
   ssn:observationResult [rdf:type ssn:SensorOutput;
   ssn:hasValue [qudt:numericValue "6.245"^^xsd:double]];
   ssn:observationResultTime [time:inXSDDatatime "2011-10-26T21:32:52"];
   ssn:observedBy swissex:Sensor1 ;

                                WindSpeed : 6.245
                                   At: 2011-10-
                                  26T21:32:52




                                       11
Where is the Data?

GSN server instance

                       ..                       wan7
                       sensor1
                       sensor2             timed: datetime PK
      GSN              sensor3             sp_wind: float
                       …




                                      Mappings

     ssn:Observation




                                 12
Creating Mappings



                                                                 ssn:observedProperty

                                       ssn:Observation                                  ssn:Property
                                                     http://swissex.ch/data#
                     ssn:observationResult     Wan7/WindSpeed/Observation{timed}           sweetSpeed:WindSpeed



      wan7                            ssn:SensorOutput
timed: datetime PK                                     http://swissex.ch/data#
sp_wind: float                ssn:hasValue      Wan7/ WindSpeed/ ObsOutput{timed}


                                      ssn:ObservationValue
                                                       http://swissex.ch/data#
                           qudt:numericValue      Wan7/WindSpeed/ObsValue{timed}


                                         xsd:decimal
                                                             sp_wind




                                                        13
R2RML


• RDB2RDF W3C Group, R2RML Mapping language:
     • http://www.w3.org/2001/sw/rdb2rdf/r2rml/
  :Wan4WindSpeed a rr:TriplesMapClass;
    rr:tableName "wan7";
    rr:subjectMap [ rr:template
        "http://swissex.ch/ns#WindSpeed/Wan7/{timed}";
         rr:class ssn:ObservationValue; rr:graph ssg:swissexsnow.srdf ];
    rr:predicateObjectMap [ rr:predicateMap [ rr:predicate ssn:hasQuantityValue ];
    rr:objectMap[ rr:column "sp_wind" ] ];      .




<http://swissex.ch/ns#/WindSpeed/Wan7/2011-05-20:20:00 >
a ssn:ObservationValue
<http://swissex.ch/ns#/WindSpeed/Wan7/2011-05-20:20:00 >
ssn:hasQuantityValue " 4.5"



                                         14
Searching for Sensors


• Transformed wiki metadata to SSN instances in RDF
• Generated R2RML mappings for all sensors
• Numbers: 28 Deployments
   • Aprox. 50 sensors in each deployment. More than 1500
     sensors

SELECT DISTINCT?lat ?long ?platformName ?deploymentName
WHERE {
        ?sensor ssn:observes [a prop:MotionProperty];
        ?system ssn:hasSubSystem ?sensor;
                  ssn:onPlatform ?platform;
                  ssn:hasDeployment ?deployment.
        ?deployment foaf:name ?deploymentName.
        ?platform dul:hasLocation [swissex:hasGeometry ?link];
                  foaf:name ?platformName.
        ?link omgeo:within(46.3 8.7 47.2 9.8);
                  geo-pos:lat ?lat;
                  geo-pos:long ?long. }

                                     15
Sensor Data Portal Application


• Problems
   • Too many sensors
   • Too Heterogeneous
• Any sensors available in this region?
• Sensors that measure wind speed?
• How about getting the data?




                           16
Playing with it




17
Querying the Observations


• Implementation of Ontology-based querying over
  GSN
• Using the R2RML mappings
• Fronting GSN with SPARQL-Stream queries
• Query & Data translation process




                          18
Query & Data Translation
  SELECT ?waveheight
  FROM STREAM <www.ssg4env.eu/SensorReadings.srdf>
  [NOW -10 MINUTES TO NOW]
  WHERE {
   ?WaveObs a ssn:Observation;
              sea:hasValue ?waveheight; }


                             Query
               q          translation
                                         Target query




                                                                          Sensor Networks
         SPARQLStream
                                        q’
                           mappings                  Query
Client




                                                   Processing
                                        d’
               d
                             Data            [tuple]            [tuple]
          [triple]        translation


                        Ontology-based sensor query service




                                   19
Data Access


• GSN Web Services
• GSN URL API
     • Compose the query as a URL:


        http://montblanc.slf.ch :22001/ multidata ?vs [0]= wan7 &
        field [0]= sp_wind &
        from =15/05/2011+05:00:00& to =15/05/2011+10:00:00&
        c_vs [0]= wan7 & c_field [0]= sp_wind & c_min [0]=10




    SELECT sp_wind FROM wan7 [NOW -5 HOUR] WHERE sp_wind >10
                                                                                                   ?
                                    SPARQL-Stream
Calbimonte, J-P., Corcho O., Gray, A. Enabling Ontology-based Access to Streaming Data Sources. In ISWC 2010.

                                                    20
Using the Mappings


                                                                             π timed,
                                                                                   sp_wind
SELECT ?waveheight

                                                                             σ
FROM STREAM <www.ssg4env.eu/SensorReadings.srdf>
[NOW – 5 HOUR TO NOW]
                                                                                   sp_wind>10
WHERE {
 ?WaveObs a ssn:ObservationValue;
            qudt:numericalValue ?waveheight;                                 ω 5 Hour
 FILTER (?waveheight>10) }
                                                                           wan7



            wan7                     ssn:ObservationValue
                                                       http://swissex.ch/data#
      timed: datetime PK    qudt:numericalValue   Wan7/WindSpeed/ObsValue{timed}
      sp_wind: float

                                  xsd:datatype
                                                             sp_wind


                                         21
Algebra expressions



π timed,              http://montblanc.slf.ch :22001/ multidata ?vs [0]= wan7 &
                      field [0]= sp_wind &
                      from =15/05/2011+05:00:00& to =15/05/2011+10:00:00&
   sp_wind            c_vs [0]= wan7 & c_field [0]= sp_wind & c_min [0]=10



σ sp_wind>10

ω 5 Hour
               SELECT sp_wind FROM wan7 [NOW -5 HOUR] WHERE sp_wind >10

wan7


                                 22
Algebra construction


              π timed,
                   sp_wind
windsensor1
windsensor2   σ sp_wind>10

              ω 5 Hour

              wan7



              23
Static optimization




           π timed,             π timed,         π timed,
                    sp_wind        windvalue        windvalue


           σ sp_wind>10         σ windvalue>10   σ windvalue>10

          ω 5 Hour              ω 5 Hour         ω 5 Hour

        wan7                    windsensor1      windsensor2
Sensors, Mappings and Queries          24
Querying the Observations
                        SELECT ?waveheight
                        FROM STREAM <www.ssg4env.eu/SensorReadings.srdf>
                        [NOW -10 MINUTES TO NOW STEP 1 MINUTE]
                        WHERE {
                         ?WaveObs a sea:WaveHeightObservation; :22001/ multidata ?vs [0]= wan7 &
                                           http://montblanc.slf.ch
                                           field [0]= sp_wind
                                    sea:hasValue ?waveheight; }


                                           Query
:Wan4WindSpeed a rr:TriplesMapClass;    translation      GSN
  rr:tableName "wan7";
                  SPARQLStream                           API
  rr:subjectMap [ rr:template

"http://swissex.ch/ns#WindSpeed/Wan7/{timed}";
Client




        rr:class ssn:ObservationValue; rr:graph
ssg:swissexsnow.srdf ];                       Mappings             Query
    rr:predicateObjectMap [ rr:predicateMap [                    Processing
rr:predicate ssn:hasQuantityValue ];                                           Sensor
    rr:objectMap[ rr:column "sp_wind" ] ];                                     Network


                                                              [tuples]
                                           Data
            [triples]                   translation


                R2RML
                Mappings

                                                         25
Translation overhead




Sensors, Mappings and Queries   26
Conclusions


• Use of the SSN Ontology
   • Sensor metadata
   • Sensor observations
• Using R2RML mappings for virtual sensors
• We can translate to query languages and APIs
   • Abstract expressions for representing queries
• Applications
   • Improved sensor search
   • Federated environment
   • Schema heterogeneity




                               27
TODO


•   Explore expressivity of queries
•   Expose as Linked Stream Data
•   Integrate with stored RDF data
•   Apply to other environments
    •   Complex-event-processing engines
    •   OGC SOS Services
    •   Pachube
    •   etc
• Experimentation
    •   Latency
    •   Performance
    •   Tuple rates
    •   Query complexity

                                28
Thanks!



http://code.google.com/p/semanticstreams/




           Questions, please.

         jp.calbimonte@upm.es
                    29

More Related Content

Similar to SSN11: Semantic Sensor Data Search in a Federated Sensor Network

XGSN: An Open-source Semantic Sensing Middleware for the Web of Things
XGSN: An Open-source Semantic Sensing Middleware for the Web of ThingsXGSN: An Open-source Semantic Sensing Middleware for the Web of Things
XGSN: An Open-source Semantic Sensing Middleware for the Web of ThingsJean-Paul Calbimonte
 
Quality Reasoning in the Semantic Web
Quality Reasoning in the Semantic WebQuality Reasoning in the Semantic Web
Quality Reasoning in the Semantic WebChris Baillie
 
Publishing consuming Linked Sensor Data meetup Cuenca
Publishing consuming Linked Sensor Data meetup CuencaPublishing consuming Linked Sensor Data meetup Cuenca
Publishing consuming Linked Sensor Data meetup CuencaJean-Paul Calbimonte
 
System monitoring and network intrusion using DDS and CEP
System monitoring and network intrusion using DDS and CEPSystem monitoring and network intrusion using DDS and CEP
System monitoring and network intrusion using DDS and CEPGerardo Pardo-Castellote
 
“Efficient Neuromorphic Computing with Dynamic Vision Sensor, Spiking Neural ...
“Efficient Neuromorphic Computing with Dynamic Vision Sensor, Spiking Neural ...“Efficient Neuromorphic Computing with Dynamic Vision Sensor, Spiking Neural ...
“Efficient Neuromorphic Computing with Dynamic Vision Sensor, Spiking Neural ...Edge AI and Vision Alliance
 
StarFL - A new Metadata Language for Sensor Descriptions
StarFL - A new Metadata Language for Sensor DescriptionsStarFL - A new Metadata Language for Sensor Descriptions
StarFL - A new Metadata Language for Sensor DescriptionsCybera Inc.
 
APPLICATION OF WIRELESS NANO SENSOR NETWORKS FOR WILD LIVES
APPLICATION OF WIRELESS NANO SENSOR NETWORKS FOR WILD LIVESAPPLICATION OF WIRELESS NANO SENSOR NETWORKS FOR WILD LIVES
APPLICATION OF WIRELESS NANO SENSOR NETWORKS FOR WILD LIVESAmy Roman
 
Sensors presentation-06a
Sensors presentation-06aSensors presentation-06a
Sensors presentation-06aabhijitrao
 
SRBench Streaming RDF SPARQL Benchmark
SRBench Streaming  RDF SPARQL BenchmarkSRBench Streaming  RDF SPARQL Benchmark
SRBench Streaming RDF SPARQL BenchmarkJean-Paul Calbimonte
 
BehavioMetrics: A Big Data Approach
BehavioMetrics: A Big Data ApproachBehavioMetrics: A Big Data Approach
BehavioMetrics: A Big Data ApproachJiang Zhu
 
Semantic Sensor Network Ontology: Description et usage
Semantic Sensor Network Ontology: Description et usageSemantic Sensor Network Ontology: Description et usage
Semantic Sensor Network Ontology: Description et usagecatherine roussey
 
Jirka - Integrating the ogc sensor web enablement framework into the ogc cata...
Jirka - Integrating the ogc sensor web enablement framework into the ogc cata...Jirka - Integrating the ogc sensor web enablement framework into the ogc cata...
Jirka - Integrating the ogc sensor web enablement framework into the ogc cata...Arne Bröring
 
Lviv Data Science Club (Oles Petriv)
Lviv Data Science Club   (Oles Petriv)Lviv Data Science Club   (Oles Petriv)
Lviv Data Science Club (Oles Petriv)Lviv Startup Club
 
Citron : Context Information Acquisition Framework on Personal Devices
Citron : Context Information Acquisition Framework on Personal DevicesCitron : Context Information Acquisition Framework on Personal Devices
Citron : Context Information Acquisition Framework on Personal DevicesTetsuo Yamabe
 
Prediction Based Moving Object Tracking in Wireless Sensor Network
Prediction Based Moving Object Tracking in Wireless Sensor NetworkPrediction Based Moving Object Tracking in Wireless Sensor Network
Prediction Based Moving Object Tracking in Wireless Sensor NetworkIRJET Journal
 
Sensors and location based services
Sensors and location based servicesSensors and location based services
Sensors and location based servicesChinmay V S
 

Similar to SSN11: Semantic Sensor Data Search in a Federated Sensor Network (20)

XGSN: An Open-source Semantic Sensing Middleware for the Web of Things
XGSN: An Open-source Semantic Sensing Middleware for the Web of ThingsXGSN: An Open-source Semantic Sensing Middleware for the Web of Things
XGSN: An Open-source Semantic Sensing Middleware for the Web of Things
 
Quality Reasoning in the Semantic Web
Quality Reasoning in the Semantic WebQuality Reasoning in the Semantic Web
Quality Reasoning in the Semantic Web
 
Linked Sensor Data 101 (FIS2011)
Linked Sensor Data 101 (FIS2011)Linked Sensor Data 101 (FIS2011)
Linked Sensor Data 101 (FIS2011)
 
Publishing consuming Linked Sensor Data meetup Cuenca
Publishing consuming Linked Sensor Data meetup CuencaPublishing consuming Linked Sensor Data meetup Cuenca
Publishing consuming Linked Sensor Data meetup Cuenca
 
System monitoring and network intrusion using DDS and CEP
System monitoring and network intrusion using DDS and CEPSystem monitoring and network intrusion using DDS and CEP
System monitoring and network intrusion using DDS and CEP
 
“Efficient Neuromorphic Computing with Dynamic Vision Sensor, Spiking Neural ...
“Efficient Neuromorphic Computing with Dynamic Vision Sensor, Spiking Neural ...“Efficient Neuromorphic Computing with Dynamic Vision Sensor, Spiking Neural ...
“Efficient Neuromorphic Computing with Dynamic Vision Sensor, Spiking Neural ...
 
StarFL - A new Metadata Language for Sensor Descriptions
StarFL - A new Metadata Language for Sensor DescriptionsStarFL - A new Metadata Language for Sensor Descriptions
StarFL - A new Metadata Language for Sensor Descriptions
 
APPLICATION OF WIRELESS NANO SENSOR NETWORKS FOR WILD LIVES
APPLICATION OF WIRELESS NANO SENSOR NETWORKS FOR WILD LIVESAPPLICATION OF WIRELESS NANO SENSOR NETWORKS FOR WILD LIVES
APPLICATION OF WIRELESS NANO SENSOR NETWORKS FOR WILD LIVES
 
Sensors presentation-06a
Sensors presentation-06aSensors presentation-06a
Sensors presentation-06a
 
Bi24385389
Bi24385389Bi24385389
Bi24385389
 
SRBench Streaming RDF SPARQL Benchmark
SRBench Streaming  RDF SPARQL BenchmarkSRBench Streaming  RDF SPARQL Benchmark
SRBench Streaming RDF SPARQL Benchmark
 
BehavioMetrics: A Big Data Approach
BehavioMetrics: A Big Data ApproachBehavioMetrics: A Big Data Approach
BehavioMetrics: A Big Data Approach
 
Semantic Sensor Network Ontology: Description et usage
Semantic Sensor Network Ontology: Description et usageSemantic Sensor Network Ontology: Description et usage
Semantic Sensor Network Ontology: Description et usage
 
Jirka - Integrating the ogc sensor web enablement framework into the ogc cata...
Jirka - Integrating the ogc sensor web enablement framework into the ogc cata...Jirka - Integrating the ogc sensor web enablement framework into the ogc cata...
Jirka - Integrating the ogc sensor web enablement framework into the ogc cata...
 
Lviv Data Science Club (Oles Petriv)
Lviv Data Science Club   (Oles Petriv)Lviv Data Science Club   (Oles Petriv)
Lviv Data Science Club (Oles Petriv)
 
Citron : Context Information Acquisition Framework on Personal Devices
Citron : Context Information Acquisition Framework on Personal DevicesCitron : Context Information Acquisition Framework on Personal Devices
Citron : Context Information Acquisition Framework on Personal Devices
 
Prediction Based Moving Object Tracking in Wireless Sensor Network
Prediction Based Moving Object Tracking in Wireless Sensor NetworkPrediction Based Moving Object Tracking in Wireless Sensor Network
Prediction Based Moving Object Tracking in Wireless Sensor Network
 
Semantics and Sensors
Semantics and SensorsSemantics and Sensors
Semantics and Sensors
 
Prdc2012
Prdc2012Prdc2012
Prdc2012
 
Sensors and location based services
Sensors and location based servicesSensors and location based services
Sensors and location based services
 

More from Jean-Paul Calbimonte

Towards Collaborative Creativity in Persuasive Multi-agent Systems
Towards Collaborative Creativity in Persuasive Multi-agent SystemsTowards Collaborative Creativity in Persuasive Multi-agent Systems
Towards Collaborative Creativity in Persuasive Multi-agent SystemsJean-Paul Calbimonte
 
A Platform for Difficulty Assessment and Recommendation of Hiking Trails
A Platform for Difficulty Assessment andRecommendation of Hiking TrailsA Platform for Difficulty Assessment andRecommendation of Hiking Trails
A Platform for Difficulty Assessment and Recommendation of Hiking TrailsJean-Paul Calbimonte
 
Decentralized Management of Patient Profiles and Trajectories through Semanti...
Decentralized Management of Patient Profiles and Trajectories through Semanti...Decentralized Management of Patient Profiles and Trajectories through Semanti...
Decentralized Management of Patient Profiles and Trajectories through Semanti...Jean-Paul Calbimonte
 
Personal Data Privacy Semantics in Multi-Agent Systems Interactions
Personal Data Privacy Semantics in Multi-Agent Systems InteractionsPersonal Data Privacy Semantics in Multi-Agent Systems Interactions
Personal Data Privacy Semantics in Multi-Agent Systems InteractionsJean-Paul Calbimonte
 
SanTour: Personalized Recommendation of Hiking Trails to Health Pro files
SanTour: Personalized Recommendation of Hiking Trails to Health ProfilesSanTour: Personalized Recommendation of Hiking Trails to Health Profiles
SanTour: Personalized Recommendation of Hiking Trails to Health Pro filesJean-Paul Calbimonte
 
Multi-agent interactions on the Web through Linked Data Notifications
Multi-agent interactions on the Web through Linked Data NotificationsMulti-agent interactions on the Web through Linked Data Notifications
Multi-agent interactions on the Web through Linked Data NotificationsJean-Paul Calbimonte
 
The MedRed Ontology for Representing Clinical Data Acquisition Metadata
The MedRed Ontology for Representing Clinical Data Acquisition MetadataThe MedRed Ontology for Representing Clinical Data Acquisition Metadata
The MedRed Ontology for Representing Clinical Data Acquisition MetadataJean-Paul Calbimonte
 
Linked Data Notifications for RDF Streams
Linked Data Notifications for RDF StreamsLinked Data Notifications for RDF Streams
Linked Data Notifications for RDF StreamsJean-Paul Calbimonte
 
Fundamentos de Scala (Scala Basics) (español) Catecbol
Fundamentos de Scala (Scala Basics) (español) CatecbolFundamentos de Scala (Scala Basics) (español) Catecbol
Fundamentos de Scala (Scala Basics) (español) CatecbolJean-Paul Calbimonte
 
Connecting Stream Reasoners on the Web
Connecting Stream Reasoners on the WebConnecting Stream Reasoners on the Web
Connecting Stream Reasoners on the WebJean-Paul Calbimonte
 
RDF Stream Processing Tutorial: RSP implementations
RDF Stream Processing Tutorial: RSP implementationsRDF Stream Processing Tutorial: RSP implementations
RDF Stream Processing Tutorial: RSP implementationsJean-Paul Calbimonte
 
Query Rewriting in RDF Stream Processing
Query Rewriting in RDF Stream ProcessingQuery Rewriting in RDF Stream Processing
Query Rewriting in RDF Stream ProcessingJean-Paul Calbimonte
 
Toward Semantic Sensor Data Archives on the Web
Toward Semantic Sensor Data Archives on the WebToward Semantic Sensor Data Archives on the Web
Toward Semantic Sensor Data Archives on the WebJean-Paul Calbimonte
 
Detection of hypoglycemic events through wearable sensors
Detection of hypoglycemic events through wearable sensorsDetection of hypoglycemic events through wearable sensors
Detection of hypoglycemic events through wearable sensorsJean-Paul Calbimonte
 
RDF Stream Processing and the role of Semantics
RDF Stream Processing and the role of SemanticsRDF Stream Processing and the role of Semantics
RDF Stream Processing and the role of SemanticsJean-Paul Calbimonte
 
The Schema Editor of OpenIoT for Semantic Sensor Networks
The Schema Editor of OpenIoT for Semantic Sensor NetworksThe Schema Editor of OpenIoT for Semantic Sensor Networks
The Schema Editor of OpenIoT for Semantic Sensor NetworksJean-Paul Calbimonte
 
Scala Programming for Semantic Web Developers ESWC Semdev2015
Scala Programming for Semantic Web Developers ESWC Semdev2015Scala Programming for Semantic Web Developers ESWC Semdev2015
Scala Programming for Semantic Web Developers ESWC Semdev2015Jean-Paul Calbimonte
 

More from Jean-Paul Calbimonte (20)

Towards Collaborative Creativity in Persuasive Multi-agent Systems
Towards Collaborative Creativity in Persuasive Multi-agent SystemsTowards Collaborative Creativity in Persuasive Multi-agent Systems
Towards Collaborative Creativity in Persuasive Multi-agent Systems
 
A Platform for Difficulty Assessment and Recommendation of Hiking Trails
A Platform for Difficulty Assessment andRecommendation of Hiking TrailsA Platform for Difficulty Assessment andRecommendation of Hiking Trails
A Platform for Difficulty Assessment and Recommendation of Hiking Trails
 
Stream reasoning agents
Stream reasoning agentsStream reasoning agents
Stream reasoning agents
 
Decentralized Management of Patient Profiles and Trajectories through Semanti...
Decentralized Management of Patient Profiles and Trajectories through Semanti...Decentralized Management of Patient Profiles and Trajectories through Semanti...
Decentralized Management of Patient Profiles and Trajectories through Semanti...
 
Personal Data Privacy Semantics in Multi-Agent Systems Interactions
Personal Data Privacy Semantics in Multi-Agent Systems InteractionsPersonal Data Privacy Semantics in Multi-Agent Systems Interactions
Personal Data Privacy Semantics in Multi-Agent Systems Interactions
 
RDF data validation 2017 SHACL
RDF data validation 2017 SHACLRDF data validation 2017 SHACL
RDF data validation 2017 SHACL
 
SanTour: Personalized Recommendation of Hiking Trails to Health Pro files
SanTour: Personalized Recommendation of Hiking Trails to Health ProfilesSanTour: Personalized Recommendation of Hiking Trails to Health Profiles
SanTour: Personalized Recommendation of Hiking Trails to Health Pro files
 
Multi-agent interactions on the Web through Linked Data Notifications
Multi-agent interactions on the Web through Linked Data NotificationsMulti-agent interactions on the Web through Linked Data Notifications
Multi-agent interactions on the Web through Linked Data Notifications
 
The MedRed Ontology for Representing Clinical Data Acquisition Metadata
The MedRed Ontology for Representing Clinical Data Acquisition MetadataThe MedRed Ontology for Representing Clinical Data Acquisition Metadata
The MedRed Ontology for Representing Clinical Data Acquisition Metadata
 
Linked Data Notifications for RDF Streams
Linked Data Notifications for RDF StreamsLinked Data Notifications for RDF Streams
Linked Data Notifications for RDF Streams
 
Fundamentos de Scala (Scala Basics) (español) Catecbol
Fundamentos de Scala (Scala Basics) (español) CatecbolFundamentos de Scala (Scala Basics) (español) Catecbol
Fundamentos de Scala (Scala Basics) (español) Catecbol
 
Connecting Stream Reasoners on the Web
Connecting Stream Reasoners on the WebConnecting Stream Reasoners on the Web
Connecting Stream Reasoners on the Web
 
RDF Stream Processing Tutorial: RSP implementations
RDF Stream Processing Tutorial: RSP implementationsRDF Stream Processing Tutorial: RSP implementations
RDF Stream Processing Tutorial: RSP implementations
 
Query Rewriting in RDF Stream Processing
Query Rewriting in RDF Stream ProcessingQuery Rewriting in RDF Stream Processing
Query Rewriting in RDF Stream Processing
 
Toward Semantic Sensor Data Archives on the Web
Toward Semantic Sensor Data Archives on the WebToward Semantic Sensor Data Archives on the Web
Toward Semantic Sensor Data Archives on the Web
 
Detection of hypoglycemic events through wearable sensors
Detection of hypoglycemic events through wearable sensorsDetection of hypoglycemic events through wearable sensors
Detection of hypoglycemic events through wearable sensors
 
RDF Stream Processing and the role of Semantics
RDF Stream Processing and the role of SemanticsRDF Stream Processing and the role of Semantics
RDF Stream Processing and the role of Semantics
 
The Schema Editor of OpenIoT for Semantic Sensor Networks
The Schema Editor of OpenIoT for Semantic Sensor NetworksThe Schema Editor of OpenIoT for Semantic Sensor Networks
The Schema Editor of OpenIoT for Semantic Sensor Networks
 
Scala Programming for Semantic Web Developers ESWC Semdev2015
Scala Programming for Semantic Web Developers ESWC Semdev2015Scala Programming for Semantic Web Developers ESWC Semdev2015
Scala Programming for Semantic Web Developers ESWC Semdev2015
 
Streams of RDF Events Derive2015
Streams of RDF Events Derive2015Streams of RDF Events Derive2015
Streams of RDF Events Derive2015
 

Recently uploaded

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 

Recently uploaded (20)

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 

SSN11: Semantic Sensor Data Search in a Federated Sensor Network

  • 1. 4th International Workshop on Semantic Sensor Networks ISWC 2011 Semantic Sensor Data Search in a Federated Sensor Network Jean-Paul Calbimonte1, Hoyoung Jeung2, Oscar Corcho1 and Karl Aberer2 1Ontology Engineering Group. Facultad de Informática, Universidad Politécnica de Madrid. 2Distributed Information Systems Laboratory School of Computer Science & Communication Systems, EPFL. jp.calbimonte@upm.es Date: 23/10/2011
  • 2. Outline • Introduction • Sensor data • Sensor metadata • Ontological representation • Mapping sensor streams • Sensor data search • Query translation • GSN URL API • Conclusions 2
  • 3. Swiss-Experiment • FP7 Network of Excellence Environmental and GeoScience research Swiss Alps Geo Researcher ... Snow, Real-time Wind, ... data ... Radiation. Lots of stuff I want data to create my •How much snow is lost to evaporation? models and •Snow redistribution by wind compare • Wind erosion of sand • ... 3
  • 4. Swiss-Experiment Infrastructure • Global Sensor Networks, deployment for SwissEx. • Distributed environment: GSN Davos, GSN Zurich, etc. • In each site, a number of sensors available • Each one with different Sensor observations schema • Metadata stored in wiki • Federated metadata management: • Sensor metadata Jeung H., Sarni, S., Paparrizos, I., Sathe, S., Aberer, K., Dawes, N., Papaioannus, T., Lehning, M.Effective Metadata Management in federated Sensor Networks. in SUTC, 2010 4
  • 5. Sensor Metadata station location sensors model properties 5
  • 6. Sensor Metadata • What properties are measured • Which sensors available • Where are they located • How are they configured • Who is responsible 6
  • 8. W3C SSN-XG Ontology • SSN Ontology ssn:isProducedBy ssn:SensorOutput ssn:Sensor ssn:observedBy ssn:observationResult ssn:hasValue ssn:Observation ssn:ObservationValue ssn:observes ssn:featureOfInterest quantityValue ssn:observedProperty ssn:FeatureOfInterest xsd:datatype ssn:Property ssn:hasProperty 8
  • 9. W3C SSN-XG Ontology ssn:OperatingRange ssn:hasOperatingRange ssn:Deployment ssn:Sensing ssn:hasDeployment ssn:System ssn:implements ssn:deployedOnPlatform ssn:Sensor ssn:onPlatform ssn:Device ssn:Platform ssn:hasMeasurementCapability ssn:MeasurementCapability ssn:SensingDevice 9
  • 10. Example swissex:Sensor1 rdf:type ssn:Sensor; ssn:onPlatform swissex:Station1; ssn:observes [rdf:type sweetSpeed:WindSpeed]. swissex:Sensor2 station rdf:type ssn:Sensor; ssn:onPlatform swissex:Station1; ssn:observes [rdf:type sweetTemp:Temperature]. swissex:Station1 :hasGeometry [ rdf:type wgs84:Point; wgs84:lat "46.8037166"; wgs84:long "9.7780305"]. 10
  • 11. Example swissex:WindSpeedObservation1 rdf:type ssn:Observation; ssn:featureOfInterest [rdf:type sweetAtmoWind:Wind]; ssn:observedProperty [rdf:type sweetSpeed:WindSpeed]; ssn:observationResult [rdf:type ssn:SensorOutput; ssn:hasValue [qudt:numericValue "6.245"^^xsd:double]]; ssn:observationResultTime [time:inXSDDatatime "2011-10-26T21:32:52"]; ssn:observedBy swissex:Sensor1 ; WindSpeed : 6.245 At: 2011-10- 26T21:32:52 11
  • 12. Where is the Data? GSN server instance .. wan7 sensor1 sensor2 timed: datetime PK GSN sensor3 sp_wind: float … Mappings ssn:Observation 12
  • 13. Creating Mappings ssn:observedProperty ssn:Observation ssn:Property http://swissex.ch/data# ssn:observationResult Wan7/WindSpeed/Observation{timed} sweetSpeed:WindSpeed wan7 ssn:SensorOutput timed: datetime PK http://swissex.ch/data# sp_wind: float ssn:hasValue Wan7/ WindSpeed/ ObsOutput{timed} ssn:ObservationValue http://swissex.ch/data# qudt:numericValue Wan7/WindSpeed/ObsValue{timed} xsd:decimal sp_wind 13
  • 14. R2RML • RDB2RDF W3C Group, R2RML Mapping language: • http://www.w3.org/2001/sw/rdb2rdf/r2rml/ :Wan4WindSpeed a rr:TriplesMapClass; rr:tableName "wan7"; rr:subjectMap [ rr:template "http://swissex.ch/ns#WindSpeed/Wan7/{timed}"; rr:class ssn:ObservationValue; rr:graph ssg:swissexsnow.srdf ]; rr:predicateObjectMap [ rr:predicateMap [ rr:predicate ssn:hasQuantityValue ]; rr:objectMap[ rr:column "sp_wind" ] ]; . <http://swissex.ch/ns#/WindSpeed/Wan7/2011-05-20:20:00 > a ssn:ObservationValue <http://swissex.ch/ns#/WindSpeed/Wan7/2011-05-20:20:00 > ssn:hasQuantityValue " 4.5" 14
  • 15. Searching for Sensors • Transformed wiki metadata to SSN instances in RDF • Generated R2RML mappings for all sensors • Numbers: 28 Deployments • Aprox. 50 sensors in each deployment. More than 1500 sensors SELECT DISTINCT?lat ?long ?platformName ?deploymentName WHERE { ?sensor ssn:observes [a prop:MotionProperty]; ?system ssn:hasSubSystem ?sensor; ssn:onPlatform ?platform; ssn:hasDeployment ?deployment. ?deployment foaf:name ?deploymentName. ?platform dul:hasLocation [swissex:hasGeometry ?link]; foaf:name ?platformName. ?link omgeo:within(46.3 8.7 47.2 9.8); geo-pos:lat ?lat; geo-pos:long ?long. } 15
  • 16. Sensor Data Portal Application • Problems • Too many sensors • Too Heterogeneous • Any sensors available in this region? • Sensors that measure wind speed? • How about getting the data? 16
  • 18. Querying the Observations • Implementation of Ontology-based querying over GSN • Using the R2RML mappings • Fronting GSN with SPARQL-Stream queries • Query & Data translation process 18
  • 19. Query & Data Translation SELECT ?waveheight FROM STREAM <www.ssg4env.eu/SensorReadings.srdf> [NOW -10 MINUTES TO NOW] WHERE { ?WaveObs a ssn:Observation; sea:hasValue ?waveheight; } Query q translation Target query Sensor Networks SPARQLStream q’ mappings Query Client Processing d’ d Data [tuple] [tuple] [triple] translation Ontology-based sensor query service 19
  • 20. Data Access • GSN Web Services • GSN URL API • Compose the query as a URL: http://montblanc.slf.ch :22001/ multidata ?vs [0]= wan7 & field [0]= sp_wind & from =15/05/2011+05:00:00& to =15/05/2011+10:00:00& c_vs [0]= wan7 & c_field [0]= sp_wind & c_min [0]=10 SELECT sp_wind FROM wan7 [NOW -5 HOUR] WHERE sp_wind >10 ? SPARQL-Stream Calbimonte, J-P., Corcho O., Gray, A. Enabling Ontology-based Access to Streaming Data Sources. In ISWC 2010. 20
  • 21. Using the Mappings π timed, sp_wind SELECT ?waveheight σ FROM STREAM <www.ssg4env.eu/SensorReadings.srdf> [NOW – 5 HOUR TO NOW] sp_wind>10 WHERE { ?WaveObs a ssn:ObservationValue; qudt:numericalValue ?waveheight; ω 5 Hour FILTER (?waveheight>10) } wan7 wan7 ssn:ObservationValue http://swissex.ch/data# timed: datetime PK qudt:numericalValue Wan7/WindSpeed/ObsValue{timed} sp_wind: float xsd:datatype sp_wind 21
  • 22. Algebra expressions π timed, http://montblanc.slf.ch :22001/ multidata ?vs [0]= wan7 & field [0]= sp_wind & from =15/05/2011+05:00:00& to =15/05/2011+10:00:00& sp_wind c_vs [0]= wan7 & c_field [0]= sp_wind & c_min [0]=10 σ sp_wind>10 ω 5 Hour SELECT sp_wind FROM wan7 [NOW -5 HOUR] WHERE sp_wind >10 wan7 22
  • 23. Algebra construction π timed, sp_wind windsensor1 windsensor2 σ sp_wind>10 ω 5 Hour wan7 23
  • 24. Static optimization π timed, π timed, π timed, sp_wind windvalue windvalue σ sp_wind>10 σ windvalue>10 σ windvalue>10 ω 5 Hour ω 5 Hour ω 5 Hour wan7 windsensor1 windsensor2 Sensors, Mappings and Queries 24
  • 25. Querying the Observations SELECT ?waveheight FROM STREAM <www.ssg4env.eu/SensorReadings.srdf> [NOW -10 MINUTES TO NOW STEP 1 MINUTE] WHERE { ?WaveObs a sea:WaveHeightObservation; :22001/ multidata ?vs [0]= wan7 & http://montblanc.slf.ch field [0]= sp_wind sea:hasValue ?waveheight; } Query :Wan4WindSpeed a rr:TriplesMapClass; translation GSN rr:tableName "wan7"; SPARQLStream API rr:subjectMap [ rr:template "http://swissex.ch/ns#WindSpeed/Wan7/{timed}"; Client rr:class ssn:ObservationValue; rr:graph ssg:swissexsnow.srdf ]; Mappings Query rr:predicateObjectMap [ rr:predicateMap [ Processing rr:predicate ssn:hasQuantityValue ]; Sensor rr:objectMap[ rr:column "sp_wind" ] ]; Network [tuples] Data [triples] translation R2RML Mappings 25
  • 27. Conclusions • Use of the SSN Ontology • Sensor metadata • Sensor observations • Using R2RML mappings for virtual sensors • We can translate to query languages and APIs • Abstract expressions for representing queries • Applications • Improved sensor search • Federated environment • Schema heterogeneity 27
  • 28. TODO • Explore expressivity of queries • Expose as Linked Stream Data • Integrate with stored RDF data • Apply to other environments • Complex-event-processing engines • OGC SOS Services • Pachube • etc • Experimentation • Latency • Performance • Tuple rates • Query complexity 28
  • 29. Thanks! http://code.google.com/p/semanticstreams/ Questions, please. jp.calbimonte@upm.es 29