SlideShare a Scribd company logo
An NGSI-LD compatible
graph-based platform
for contextual
system-level representation
of IoT/CPS environments
Dr. G. Privat
Senior Scientist
Orange Labs
Grenoble, France
Thing’in
FIWARE Summit
October 23, 2019 , Berlin23
1.What’s Thing’in?
A social networks of things, i.e. a graph
2.What are these « things » in Thing’in?
From IoT/M2M Devices to things, from things to context entities, from
context entities to Cyber-Physical Systems
3.What’s this Thing’in graph? Why a graph? What kind of graph?
Property Graphs vs. RDF graphs
4.What kind of systems are captured by the Thing’in graph?
Multilevel Cyber-Physical System decomposition
Capturing bottom-up vs top-down systems in NGSI-LD & Thing’in
Outline
1.What’s Thing’in?
2.What are these « things » in Thing’in?
3.What’s this Thing’in graph? Why a graph? What kind of graph?
4.What kind of systems are captured by the Thing’in graph?
Thing’in is :
• A graph database
• maintaining persistent and curated representations of IoT environments at large…
• …as a property graph , with « things » ( FIWARE entities) as its nodes
• capturing structural and semantic context as things relationships, properties and classes
• A multi-sided platform
• mediating consolidated information between:
• data providers
• other platforms
• applications
• enabler developers
Thing’in enablers Thing’in
graph & platform
IoT Applications
IoT networks &
platfoms
Other data
sources (open
data, etc)
Linked
open data
Thing’in is NOT:
• Just another IoT platform:
• Thing’in does not manage IoT/M2M devices and their connectivity
• Thing’in does not store raw data
• A pure « knowledge graph » à la Google:
• Thing’in is exclusively about instances of physical things
• Thing’in’s scaffolding is structural relationships between things
• Semantic graph is an overlay, « the icing on the cake »
• The Web of Things, or the web of data:
• Thing’in may be distributed ,...but not to that extent:
• Thing’in is centrally managed and curated
Thing’in as a complementary platform to FIWARE
sensor data sources
developers
end users
other data
providers
FIWARE
Apps
LiveObjects Other IoT Platforms:
OpenMTC, OM2M…
sensor data sources
Open
Data
Repositories
Thing’in
1.What’s Thing’in?
2.What are these « things » in Thing’in?
3.What’s this Thing’in graph? Why a graph? What kind of graph?
4.What kind of systems are captured by the Thing’in graph?
8
Internet of Things
Internet of Devices
Core
Internet
Actuator
Sensor
Beyond the Internet of (connected) Devices:
bringing un-connected physical things into the IoT fold
Thing
Thing
Thing
Thing
Thing
Thing
Thing
Thing
Thing
Thing
Digital avatars / twinsPhysical « Things »
stand for
Physical Things, digital twins
& networked-device proxies
networked
device
proxies
Sensor
Actuator
10
10
{« street X » :
« hasState » : [
« Congested »
……
]
}
Information abstraction “à la FIWARE” vs. Thing’in
FIWARE “Context Entities” are implicitly thought of as “container things” or “things containers”
consolidate and jointly abstract away multiple sources of context data
relay corresponding information to applications
Thing’in captures all granularities:
atomic things & devices
containers and basic systems
composite systems & systems of systems
What’s the current
traffic density
in street “X”?
FIWARE context API
inductive-loop vehicle
detector
surveillance
cameras
driver smartphones
Notify me in case of congestion
of street “X”
Cyber-Physical Systems
From IoT/WoT to CPS (Cyber-Physical Systems)
opening up « black-box » Things
Internet of Devices
Actuator
Sensor
Core Internet
1.What’s Thing’in?
2.What are these « things » in Thing’in?
3.What’s this Thing’in graph? Why a graph? What kind of graph?
4.What kind of systems are captured by the Thing’in graph?
Why graph representations?
Graphs are the most universal, versatile and adaptable way to structure information
−graphs do not enforce any other rigid a priori structuration
−they work by default under « open world » assumptions
Graphs capture multi-scale & multi-level « systems of systems » composition
Graphs build up incrementally and become richer with each added link
−self-reinforcing information percolation within the graph
Graph databases are extensively used: they scale!
Example of FIWARE-level
Graph model example in city environment
Street S1
congested
monitors
Inductive-loop
detector
hasState
monitors Camera
Crossing C1 Controls Traffic light L1isConnectedTo
Vehicle V1
isInside
smartphone locates
Relationships between entities capture invariant or slowly varying configuration info
Properties of entities may capture instant state information or permanent features
hasPart
lane
15
A tale of two graphs: Property Graphs vs RDF…
Property Graphs (PG) = common denominator model of most graph data bases
Halfway between object data models & semantics-oriented graph models (à la RDF)
− nodes of the graph have attached properties
− just as objects have attached key-value attributes
− relationships are « first-class citizens » of the model
− they can also have properties
Differences with RDF
− strong distinction between properties with literal objects
and those with resource objects relationships
− relationships & properties are uniquely identified
when instantiated
no reification needed
Street S1
hasCoverage
congested
monitorsCamera
hasState
70%
16
The NGSI-LD Information Model, as applied in Thing’in
Things /devices AND systems at all levels of nesting are all represented by nodes (vertices) of the graph
Systems are also captured as subgraphs of the overall graph
Relationships capture the structure of these systems mostly static or semi-static
– for systems that are physical networks (e.g. electrical grid, water distribution system), the graph matches
the structure of the physical network
Properties may capture:
– permanent features of a thing
– state of a system (in the sense of dynamical system theory)
All nodes and relationships are defined by reference to known classes/categories of shared ontologies
/vocabularies
NGSI-LD cross-domain ontology provides grounding for common-denominator IoT/CPS classes
The Thing’in NGSI-LD graph can be exported as an RDF graph to become part of the Linked Open
data cloud
Referent Physical Entities
to class)
Structural graph
Ontology graph
Semantic Referencing
Graph
ParkingLot P1
thoroughfare
street parking Lot
parking
structure
Street S1 Parking lot PL1Traffic Light TL1
refersto
refersto
1.What’s Thing’in?
2.What are these « things » in Thing’in?
3.What’s this Thing’in graph? Why a graph? What kind of graph?
4.What kind of systems are captured by the Thing’in graph?
Thing’in as system description graph:
Capturing nested & entwined Cyber-Physical Systems
Multiple system composition levels in complex environments:
the building is inside the city, but building subsystems are not directly city subsystems
the apartment is inside the building, but home « things » are not directly building subsystems
Need for proper separation of concerns
data structuration is still paramount!
Distinguish different views of same physical « plant »
Should be used to manage privacy, security
& legal ownership issues with corresponding data
opensOnto
Street S1 Crossing C1 opensOnto
Controls
Traffic light L1
adjacentTo
hasState red
hasState
congested
monitorsCamera C2
hasCoverage
70%
BuildingA
hasPart
Apartment A
Parking
GarageG1
LiveBox B1
LED LightL1
TeddyBear
isContainedIn
hasPart
(Outdoor)
CameraC1
ElectronicGateLockEG1
AlarmA1
isContainedIn
isContainedIn
FireSensorFS1
Place PG2
hasPart
Room R1
hasPart
isContainedIn
Parking
Lot L1
1865/01/01
Place PL3
available
Y/N
Place PA1
available
Y/N
Parking
Lot L2
hasPart
Place PL2
Gate
G1
actuates
monitors
ConstructedAt
isLocatedAt
N 47° 37' 9.7536'‘
E 6° 9' 10.5726''
Building Structural Graph
Building
Security
System
Graph
Parking Garage Graph
Smart
City
Graph
opensOnto
Street S1 Crossing C1 opensOnto
Controls
Traffic light L1
adjacentTo
hasState red
hasState
congested
monitorsCamera C2
hasCoverage
70%
BuildingA
hasPart
Apartment A
Parking
GarageG1
LiveBox B1
LED LightL1
TeddyBear
isContai
nedIn
hasPart
(Outdoor)
CameraC1 Electronic
GateLock
EG1
AlarmA1 isContained
In
isContain
edIn
FireSensorFS1
Place PG2
hasPart
Room R1
hasPart
isContai
nedIn
Parking
Lot L1
1865/01/01
Place PL3
available
Y/N
Place
PA1
available
Y/N
Parking
Lot L2
hasPart
Place PL2
Gate
G1
actuates
monitors
ConstructedAt
Apartment Graph
Parking Management
System Graph
isLocatedAt
N 47° 37' 9.7536'‘
E 6° 9' 10.5726''
City C
Building
B1
Building
B2
isContainedIn isContainedIn
Building B1
Wall W1 Floor F1
hasPart hasPart
Top-
Down
System
comp.
Bottom
-up
System
comp.
Top-down vs bottom-up system composition
Referent Physical Entities
to class)
Ontology graph
Semantic Referencing
Graph
thoroughfare
street parking Lot
parking
structure
Structural graph
Street S1 Parking lot PL1Traffic Light TL1
System composition graph
Trafic management
System graph
Parking management
graph
Traffic Lights
graph
BuildingA
hasPart
Apartment A
Parking
GarageG1
LiveBox B1
LED LightL1
TeddyBear
isContai
nedIn
hasPart
(Outdoor)
CameraC1
Electronic
GateLock
EG1
AlarmA1 isContained
In
isContain
edIn
FireSensorFS1
Place PG2
hasPart
Room R1
hasPart
isContai
nedIn
Parking
Lot L1
ParkingAggregation
SystemS1
Graph
hasAvailabilities
1865/01/01
Building Security
System Graph
isNodeOf
Graph
Overall
Building Graph
Building Structure
Graph
isSub
GraphOf
ApartmentGraph
isNodeOf
Graph
Overall
CityGraph
isSub
GraphOf
isNodeOf
Graph
Place PL3
available
Y/N
Place
PA1
available
Y/N
Parking
Lot L2
Building
ParkingGraph
hasPart
Place PL2
Gate
G1
actuates
monitors
isNodeOf
Graph
isNodeOf
Graph
isSub
GraphOf
ParkingLot
Graph
isNodeOf
Graph
createdAt
ConstructedAt
2019/01/01
42OneM2M:
device
OneM2M:
thing
SOSA:Sensor
NGSI-LD:
graph
Sosa:
observes
SOSA:
actuation
DUL:PhysicalObject DUL:
InformationEntity
RDFS:SubClassOf
RDF:type
Complementary Example :
graph for sharing & interlinking information
between 3 smart city operators flat view
Retractable
Bollard B1
Surveillance
Camera A1
Parking
A
parking
space B
Alley B
Street A
hasState
gate A
hasState
hasState
hasState
hasState
Parking A
Management
System
Parking B
Management
System
Traffic Management
System
Open/closed
Empty/
Occupied
open/
closed
y%
congested
n/N available
spaces
Inductive
sensor
Barrier B
handicapped
parking space
AH1
hasState
Empty/
Occupied
EV charging
space AE1
hasState
Empty/
Occupied EV fast charger
hasPower
P watts
hasDirection
OneWay/TwoWay
hasCoverage
70%
Traffic Light TL1
Complementary Example :
graph for sharing & interlinking information
between 3 smart city operators viewed at the graph composition level
Retractable
Bollard B1
Surveillance
Camera A1
Parking A
parking space B
Alley B
Street A
hasState
gate A
hasState
hasState
hasState
hasState
Open/close
d
Empty/
Occupied
open/
closed
y%
congested
n/N available
spaces
Inductive
sensor
Barrier B
handicapped
parking space AH1
hasState
Empty/
Occupied
EV charging
space AE1
hasState
Empty/
Occupied EV fast charger
hasPower
P watts
hasDirection
OneWay/TwoWay
hasCoverage
7
0
%
Traffic
management
System Graph
isNodeOf
Graph
Parking A
management
System Graph
Smart City
System Graph
Parking A
management
System Graph
isNodeOf
Graph
isSub
GraphOf
Traffic-lights
control System
Graph
Traffic Light TL1
isNodeOf
Graph
isNodeOf
Graph
May Override
Take-home message
The Thing’in graph is a special type of NGSI-LD compatible property graph that captures
− IoT devices with their sensing and actuation relationships to their environment
− the multilevel system composition of this environment
The graph is the basis for cross-silo configuration-stage information mediation between
− IoT applications
− low-level IoT platforms
− other data sources (e.g. Open Data repositories)
Formal semantics gets overlaid to the graph
The graph is part of the linked open data cloud through RDF import/export
IoT
IoT IoT
IoT IoT IoT IoT
Thank you
https://thinginthefuture.com
https://hellofuture.orange.com/en/thingin-the-things-graph-platform

More Related Content

PDF
FIWARE Global Summit - Advanced ML/AI Techniques with FIWARE and Connected Io...
PDF
FIWARE Global Summit - The Role of Blockchain in “Powered by FIWARE” Architec...
PDF
FIWARE Global Summit - Standard Data Models for the Integration of FIWARE and...
PDF
Introduction to FIWARE technology
PDF
FIWARE Global Summit - Smart Data-Contextualization towards NGSI Data Economy...
PPTX
Building the Smart City Platform on FIWARE Lab
PDF
FIWARE Global Summit - Keyrock: Protecting Microservices
PDF
FIWARE and Robotics
FIWARE Global Summit - Advanced ML/AI Techniques with FIWARE and Connected Io...
FIWARE Global Summit - The Role of Blockchain in “Powered by FIWARE” Architec...
FIWARE Global Summit - Standard Data Models for the Integration of FIWARE and...
Introduction to FIWARE technology
FIWARE Global Summit - Smart Data-Contextualization towards NGSI Data Economy...
Building the Smart City Platform on FIWARE Lab
FIWARE Global Summit - Keyrock: Protecting Microservices
FIWARE and Robotics

What's hot (20)

PDF
FIWARE Global Summit - Empowering and Enhancing IoT Agent for Device Manageme...
PDF
Power to Smart Citizens: reTHINK @ Smart Cities, Paulo Chainho, TADSummit 2018
PPTX
FIWARE Global Summit - International Data Spaces - A New Idea for Data Sharing
PDF
FIWARE Identity Management and Access Control
PDF
FIWARE Global Summit - Exploring a New Opportunity in Data Economy: A Case of...
PDF
FIWARE Global Summit - Using IoT to Enhance the Standard of the Life of Citizens
PDF
FIWARE Global Summit - BIIOT: Blockchain In Internet of Things
PPTX
FIWARE and Smart Data Models
PDF
On The Advanced Services That 5G May Provide to IoT Applications
PPT
CityPulse: Large-scale data analysis for smart city applications
PDF
AUTODAPS: Automatic Topology Analysis for Distributed Anomalies Prevention Sy...
PPT
Information Engineering in the Age of the Internet of Things
PDF
Blockchain in iot: from connecting things to make them trustworthy
PPTX
iot building automation
PDF
Vahan Hovsepyan - Internet of Things: Big Data and Big Opportunities for Econ...
PPT
Smart Gateways, Blockchain and the Internet of Things (Charalampos Doukas-Cre...
PPT
Internet of Things: The story so far
PDF
The iEx.ec Distributed Cloud: Latest Developments and Perspectives
PDF
SC7 Workshop 3: Big Data Europe Project
PDF
The full service mechanic for your big data project
FIWARE Global Summit - Empowering and Enhancing IoT Agent for Device Manageme...
Power to Smart Citizens: reTHINK @ Smart Cities, Paulo Chainho, TADSummit 2018
FIWARE Global Summit - International Data Spaces - A New Idea for Data Sharing
FIWARE Identity Management and Access Control
FIWARE Global Summit - Exploring a New Opportunity in Data Economy: A Case of...
FIWARE Global Summit - Using IoT to Enhance the Standard of the Life of Citizens
FIWARE Global Summit - BIIOT: Blockchain In Internet of Things
FIWARE and Smart Data Models
On The Advanced Services That 5G May Provide to IoT Applications
CityPulse: Large-scale data analysis for smart city applications
AUTODAPS: Automatic Topology Analysis for Distributed Anomalies Prevention Sy...
Information Engineering in the Age of the Internet of Things
Blockchain in iot: from connecting things to make them trustworthy
iot building automation
Vahan Hovsepyan - Internet of Things: Big Data and Big Opportunities for Econ...
Smart Gateways, Blockchain and the Internet of Things (Charalampos Doukas-Cre...
Internet of Things: The story so far
The iEx.ec Distributed Cloud: Latest Developments and Perspectives
SC7 Workshop 3: Big Data Europe Project
The full service mechanic for your big data project
Ad

Similar to FIWARE Global Summit - Thing’in, an NGSI-LD-compatible Graph Database for System-level Representation of IoT Environments (20)

PPTX
IoT Discovery GE: An Introduction
PPTX
Towards Digital Twin standards following an open source approach
PDF
NGSI-LD IoT Agents
PPTX
MartinBauer-NGSI-LD_Roadmap.pptx
PPTX
Connecting the Next Billion Devices to the Internet - Standards and Protocols
PDF
FIWARE Global Summit - FIWARE Context Information Management
PDF
SOFIA - RDF Recipes for Context Aware Interoperability in Pervasive Systems. NXP
PPT
Semantic Sensor Service Networks
PPTX
Semantic Sensor Networks and Linked Stream Data
PDF
FIWARE Training: JSON-LD and NGSI-LD
PDF
Connecting to the internet of things (IoT)
PDF
Seongmyung_Jeong_Presentation.pdf
PPTX
Linked Sensor Data 101 (FIS2011)
PPTX
ThingSpeak: apps for social things
PDF
FIWARE Training: JSON-LD and NGSI-LD
PDF
DCA Symposium 6 Feb 2023.pdf
PPTX
CQRS and Event Sourcing for IoT applications
PDF
JSON-LD and NGSI-LD
PDF
From Sensor Data to Triples: Information Flow in Semantic Sensor Networks
PDF
Session 2 - NGSI-LD primer & Smart Data Models | Train the Trainers Program
IoT Discovery GE: An Introduction
Towards Digital Twin standards following an open source approach
NGSI-LD IoT Agents
MartinBauer-NGSI-LD_Roadmap.pptx
Connecting the Next Billion Devices to the Internet - Standards and Protocols
FIWARE Global Summit - FIWARE Context Information Management
SOFIA - RDF Recipes for Context Aware Interoperability in Pervasive Systems. NXP
Semantic Sensor Service Networks
Semantic Sensor Networks and Linked Stream Data
FIWARE Training: JSON-LD and NGSI-LD
Connecting to the internet of things (IoT)
Seongmyung_Jeong_Presentation.pdf
Linked Sensor Data 101 (FIS2011)
ThingSpeak: apps for social things
FIWARE Training: JSON-LD and NGSI-LD
DCA Symposium 6 Feb 2023.pdf
CQRS and Event Sourcing for IoT applications
JSON-LD and NGSI-LD
From Sensor Data to Triples: Information Flow in Semantic Sensor Networks
Session 2 - NGSI-LD primer & Smart Data Models | Train the Trainers Program
Ad

More from FIWARE (20)

PPTX
Behm_Herne_NeMo_akt.pptx
PDF
Katharina Hogrebe Herne Digital Days.pdf
PPTX
Christoph Mertens_IDSA_Introduction to Data Spaces.pptx
PPTX
Behm_Herne_NeMo.pptx
PPTX
Evangelists + iHubs Promo Slides.pptx
PPTX
Lukas Künzel Smart City Operating System.pptx
PPTX
Pierre Golz Der Transformationsprozess im Konzern Stadt.pptx
PPTX
Dennis Wendland_The i4Trust Collaboration Programme.pptx
PPTX
Ulrich Ahle_FIWARE.pptx
PPTX
Aleksandar Vrglevski _FIWARE DACH_OSIH.pptx
PDF
Water Quality - Lukas Kuenzel.pdf
PPTX
Cameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptx
PPTX
FiWareSummit.msGIS-Data-to-Value.2023.06.12.pptx
PPTX
Boris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptx
PPTX
Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....
PDF
Abdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdf
PDF
FGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdf
PPTX
HTAG_Skalierung_Plattform_lokal_final_versand.pptx
PPTX
WE_LoRaWAN _ IoT.pptx
PPTX
EU Opp_Clara Pezuela - German chapter.pptx
Behm_Herne_NeMo_akt.pptx
Katharina Hogrebe Herne Digital Days.pdf
Christoph Mertens_IDSA_Introduction to Data Spaces.pptx
Behm_Herne_NeMo.pptx
Evangelists + iHubs Promo Slides.pptx
Lukas Künzel Smart City Operating System.pptx
Pierre Golz Der Transformationsprozess im Konzern Stadt.pptx
Dennis Wendland_The i4Trust Collaboration Programme.pptx
Ulrich Ahle_FIWARE.pptx
Aleksandar Vrglevski _FIWARE DACH_OSIH.pptx
Water Quality - Lukas Kuenzel.pdf
Cameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptx
FiWareSummit.msGIS-Data-to-Value.2023.06.12.pptx
Boris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptx
Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....
Abdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdf
FGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdf
HTAG_Skalierung_Plattform_lokal_final_versand.pptx
WE_LoRaWAN _ IoT.pptx
EU Opp_Clara Pezuela - German chapter.pptx

Recently uploaded (20)

PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
DOCX
The AUB Centre for AI in Media Proposal.docx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Empathic Computing: Creating Shared Understanding
PDF
KodekX | Application Modernization Development
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Machine learning based COVID-19 study performance prediction
Diabetes mellitus diagnosis method based random forest with bat algorithm
Dropbox Q2 2025 Financial Results & Investor Presentation
The AUB Centre for AI in Media Proposal.docx
“AI and Expert System Decision Support & Business Intelligence Systems”
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Understanding_Digital_Forensics_Presentation.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
MYSQL Presentation for SQL database connectivity
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Empathic Computing: Creating Shared Understanding
KodekX | Application Modernization Development
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Machine learning based COVID-19 study performance prediction

FIWARE Global Summit - Thing’in, an NGSI-LD-compatible Graph Database for System-level Representation of IoT Environments

  • 1. An NGSI-LD compatible graph-based platform for contextual system-level representation of IoT/CPS environments Dr. G. Privat Senior Scientist Orange Labs Grenoble, France Thing’in FIWARE Summit October 23, 2019 , Berlin23
  • 2. 1.What’s Thing’in? A social networks of things, i.e. a graph 2.What are these « things » in Thing’in? From IoT/M2M Devices to things, from things to context entities, from context entities to Cyber-Physical Systems 3.What’s this Thing’in graph? Why a graph? What kind of graph? Property Graphs vs. RDF graphs 4.What kind of systems are captured by the Thing’in graph? Multilevel Cyber-Physical System decomposition Capturing bottom-up vs top-down systems in NGSI-LD & Thing’in Outline
  • 3. 1.What’s Thing’in? 2.What are these « things » in Thing’in? 3.What’s this Thing’in graph? Why a graph? What kind of graph? 4.What kind of systems are captured by the Thing’in graph?
  • 4. Thing’in is : • A graph database • maintaining persistent and curated representations of IoT environments at large… • …as a property graph , with « things » ( FIWARE entities) as its nodes • capturing structural and semantic context as things relationships, properties and classes • A multi-sided platform • mediating consolidated information between: • data providers • other platforms • applications • enabler developers Thing’in enablers Thing’in graph & platform IoT Applications IoT networks & platfoms Other data sources (open data, etc) Linked open data
  • 5. Thing’in is NOT: • Just another IoT platform: • Thing’in does not manage IoT/M2M devices and their connectivity • Thing’in does not store raw data • A pure « knowledge graph » à la Google: • Thing’in is exclusively about instances of physical things • Thing’in’s scaffolding is structural relationships between things • Semantic graph is an overlay, « the icing on the cake » • The Web of Things, or the web of data: • Thing’in may be distributed ,...but not to that extent: • Thing’in is centrally managed and curated
  • 6. Thing’in as a complementary platform to FIWARE sensor data sources developers end users other data providers FIWARE Apps LiveObjects Other IoT Platforms: OpenMTC, OM2M… sensor data sources Open Data Repositories Thing’in
  • 7. 1.What’s Thing’in? 2.What are these « things » in Thing’in? 3.What’s this Thing’in graph? Why a graph? What kind of graph? 4.What kind of systems are captured by the Thing’in graph?
  • 8. 8 Internet of Things Internet of Devices Core Internet Actuator Sensor Beyond the Internet of (connected) Devices: bringing un-connected physical things into the IoT fold Thing Thing Thing Thing Thing Thing Thing Thing Thing Thing
  • 9. Digital avatars / twinsPhysical « Things » stand for Physical Things, digital twins & networked-device proxies networked device proxies Sensor Actuator
  • 10. 10 10 {« street X » : « hasState » : [ « Congested » …… ] } Information abstraction “à la FIWARE” vs. Thing’in FIWARE “Context Entities” are implicitly thought of as “container things” or “things containers” consolidate and jointly abstract away multiple sources of context data relay corresponding information to applications Thing’in captures all granularities: atomic things & devices containers and basic systems composite systems & systems of systems What’s the current traffic density in street “X”? FIWARE context API inductive-loop vehicle detector surveillance cameras driver smartphones Notify me in case of congestion of street “X”
  • 11. Cyber-Physical Systems From IoT/WoT to CPS (Cyber-Physical Systems) opening up « black-box » Things Internet of Devices Actuator Sensor Core Internet
  • 12. 1.What’s Thing’in? 2.What are these « things » in Thing’in? 3.What’s this Thing’in graph? Why a graph? What kind of graph? 4.What kind of systems are captured by the Thing’in graph?
  • 13. Why graph representations? Graphs are the most universal, versatile and adaptable way to structure information −graphs do not enforce any other rigid a priori structuration −they work by default under « open world » assumptions Graphs capture multi-scale & multi-level « systems of systems » composition Graphs build up incrementally and become richer with each added link −self-reinforcing information percolation within the graph Graph databases are extensively used: they scale!
  • 14. Example of FIWARE-level Graph model example in city environment Street S1 congested monitors Inductive-loop detector hasState monitors Camera Crossing C1 Controls Traffic light L1isConnectedTo Vehicle V1 isInside smartphone locates Relationships between entities capture invariant or slowly varying configuration info Properties of entities may capture instant state information or permanent features hasPart lane
  • 15. 15 A tale of two graphs: Property Graphs vs RDF… Property Graphs (PG) = common denominator model of most graph data bases Halfway between object data models & semantics-oriented graph models (à la RDF) − nodes of the graph have attached properties − just as objects have attached key-value attributes − relationships are « first-class citizens » of the model − they can also have properties Differences with RDF − strong distinction between properties with literal objects and those with resource objects relationships − relationships & properties are uniquely identified when instantiated no reification needed Street S1 hasCoverage congested monitorsCamera hasState 70%
  • 16. 16 The NGSI-LD Information Model, as applied in Thing’in Things /devices AND systems at all levels of nesting are all represented by nodes (vertices) of the graph Systems are also captured as subgraphs of the overall graph Relationships capture the structure of these systems mostly static or semi-static – for systems that are physical networks (e.g. electrical grid, water distribution system), the graph matches the structure of the physical network Properties may capture: – permanent features of a thing – state of a system (in the sense of dynamical system theory) All nodes and relationships are defined by reference to known classes/categories of shared ontologies /vocabularies NGSI-LD cross-domain ontology provides grounding for common-denominator IoT/CPS classes The Thing’in NGSI-LD graph can be exported as an RDF graph to become part of the Linked Open data cloud
  • 17. Referent Physical Entities to class) Structural graph Ontology graph Semantic Referencing Graph ParkingLot P1 thoroughfare street parking Lot parking structure Street S1 Parking lot PL1Traffic Light TL1 refersto refersto
  • 18. 1.What’s Thing’in? 2.What are these « things » in Thing’in? 3.What’s this Thing’in graph? Why a graph? What kind of graph? 4.What kind of systems are captured by the Thing’in graph?
  • 19. Thing’in as system description graph: Capturing nested & entwined Cyber-Physical Systems Multiple system composition levels in complex environments: the building is inside the city, but building subsystems are not directly city subsystems the apartment is inside the building, but home « things » are not directly building subsystems Need for proper separation of concerns data structuration is still paramount! Distinguish different views of same physical « plant » Should be used to manage privacy, security & legal ownership issues with corresponding data opensOnto Street S1 Crossing C1 opensOnto Controls Traffic light L1 adjacentTo hasState red hasState congested monitorsCamera C2 hasCoverage 70% BuildingA hasPart Apartment A Parking GarageG1 LiveBox B1 LED LightL1 TeddyBear isContainedIn hasPart (Outdoor) CameraC1 ElectronicGateLockEG1 AlarmA1 isContainedIn isContainedIn FireSensorFS1 Place PG2 hasPart Room R1 hasPart isContainedIn Parking Lot L1 1865/01/01 Place PL3 available Y/N Place PA1 available Y/N Parking Lot L2 hasPart Place PL2 Gate G1 actuates monitors ConstructedAt isLocatedAt N 47° 37' 9.7536'‘ E 6° 9' 10.5726''
  • 20. Building Structural Graph Building Security System Graph Parking Garage Graph Smart City Graph opensOnto Street S1 Crossing C1 opensOnto Controls Traffic light L1 adjacentTo hasState red hasState congested monitorsCamera C2 hasCoverage 70% BuildingA hasPart Apartment A Parking GarageG1 LiveBox B1 LED LightL1 TeddyBear isContai nedIn hasPart (Outdoor) CameraC1 Electronic GateLock EG1 AlarmA1 isContained In isContain edIn FireSensorFS1 Place PG2 hasPart Room R1 hasPart isContai nedIn Parking Lot L1 1865/01/01 Place PL3 available Y/N Place PA1 available Y/N Parking Lot L2 hasPart Place PL2 Gate G1 actuates monitors ConstructedAt Apartment Graph Parking Management System Graph isLocatedAt N 47° 37' 9.7536'‘ E 6° 9' 10.5726''
  • 21. City C Building B1 Building B2 isContainedIn isContainedIn Building B1 Wall W1 Floor F1 hasPart hasPart Top- Down System comp. Bottom -up System comp. Top-down vs bottom-up system composition
  • 22. Referent Physical Entities to class) Ontology graph Semantic Referencing Graph thoroughfare street parking Lot parking structure Structural graph Street S1 Parking lot PL1Traffic Light TL1 System composition graph Trafic management System graph Parking management graph Traffic Lights graph
  • 23. BuildingA hasPart Apartment A Parking GarageG1 LiveBox B1 LED LightL1 TeddyBear isContai nedIn hasPart (Outdoor) CameraC1 Electronic GateLock EG1 AlarmA1 isContained In isContain edIn FireSensorFS1 Place PG2 hasPart Room R1 hasPart isContai nedIn Parking Lot L1 ParkingAggregation SystemS1 Graph hasAvailabilities 1865/01/01 Building Security System Graph isNodeOf Graph Overall Building Graph Building Structure Graph isSub GraphOf ApartmentGraph isNodeOf Graph Overall CityGraph isSub GraphOf isNodeOf Graph Place PL3 available Y/N Place PA1 available Y/N Parking Lot L2 Building ParkingGraph hasPart Place PL2 Gate G1 actuates monitors isNodeOf Graph isNodeOf Graph isSub GraphOf ParkingLot Graph isNodeOf Graph createdAt ConstructedAt 2019/01/01 42OneM2M: device OneM2M: thing SOSA:Sensor NGSI-LD: graph Sosa: observes SOSA: actuation DUL:PhysicalObject DUL: InformationEntity RDFS:SubClassOf RDF:type
  • 24. Complementary Example : graph for sharing & interlinking information between 3 smart city operators flat view Retractable Bollard B1 Surveillance Camera A1 Parking A parking space B Alley B Street A hasState gate A hasState hasState hasState hasState Parking A Management System Parking B Management System Traffic Management System Open/closed Empty/ Occupied open/ closed y% congested n/N available spaces Inductive sensor Barrier B handicapped parking space AH1 hasState Empty/ Occupied EV charging space AE1 hasState Empty/ Occupied EV fast charger hasPower P watts hasDirection OneWay/TwoWay hasCoverage 70% Traffic Light TL1
  • 25. Complementary Example : graph for sharing & interlinking information between 3 smart city operators viewed at the graph composition level Retractable Bollard B1 Surveillance Camera A1 Parking A parking space B Alley B Street A hasState gate A hasState hasState hasState hasState Open/close d Empty/ Occupied open/ closed y% congested n/N available spaces Inductive sensor Barrier B handicapped parking space AH1 hasState Empty/ Occupied EV charging space AE1 hasState Empty/ Occupied EV fast charger hasPower P watts hasDirection OneWay/TwoWay hasCoverage 7 0 % Traffic management System Graph isNodeOf Graph Parking A management System Graph Smart City System Graph Parking A management System Graph isNodeOf Graph isSub GraphOf Traffic-lights control System Graph Traffic Light TL1 isNodeOf Graph isNodeOf Graph May Override
  • 26. Take-home message The Thing’in graph is a special type of NGSI-LD compatible property graph that captures − IoT devices with their sensing and actuation relationships to their environment − the multilevel system composition of this environment The graph is the basis for cross-silo configuration-stage information mediation between − IoT applications − low-level IoT platforms − other data sources (e.g. Open Data repositories) Formal semantics gets overlaid to the graph The graph is part of the linked open data cloud through RDF import/export IoT IoT IoT IoT IoT IoT IoT