SlideShare a Scribd company logo
1 of 21
Download to read offline
This project has received funding from the European Union’s Horizon 2020
research and innovation programme under grant agreements No 731993
and No 814918.
NGSI-LD – an Evolution from NGSIv2
Martin Bauer – NEC Laboratories Europe
Outline
§ NGSI-LD background
§ Evolution from NGSIv2 to NGSI-LD
§ Advantages and new features in NGSI-LD
§ Practical steps for migration
§ Comparison of NGSIv2/NGSI-LD operations
§ Conclusions
àNext talk: NEC‘s Scorpio NGSI-LD Broker
àOutlook Orion-LD: next generation NGSI-LD Context Broker
1
NGSI-LD background
Making NGSI fit for the future
§ History
§ NGSI Context Interfaces originally specified in OMA
§ Evolution in FIWARE with JSON binding and later NGSIv2
§ Decision: Bring NGSI back to standardization in ETSI Industry Specification Group on
Context Information Management (ETSI ISG CIM)
§ Benefits of independent open standard (i.e. ETSI Group Specification)
§ Standards can be referenced in tenders
§ Avoid “vendor lock-in”
§ Good technical specification to achieve good interoperability
§ Scalability and support of different deployment scenarios
§ Basis for AI and connection to world of linked data and semantics
2
Advantages and new features in NGSI-LD
3
All clipart is under Creative Commons BY 4.0 Licence from https://www.svgrepo.com
Advantages and new features in NGSI-LD
Modelling: relationships – from convention to „first-class citizen“
4
Store Store
name: Checker...
address: ...
location: ...
name: Checker
Market
address: ...
location: ...
id: urn:ngsi-ld:Store:001 id: urn:ngsi-ld:Store:001
Customer
id: urn:ngsi-ld:Customer
:285
Customer
id: urn:ngsi-ld:Customer
:285
refVisited: id:
urn:ngsi-
ld:Store:001
name: Paul
name: Paul ...
visited: id: urn:ngsi-ld:Store:001
Attribute
Property
Relationship
• Application‘s may know that the value of an
attribute is the id of another entity, but it
cannot be directly inferred
• Using “ref” as a prefix is a convention that
may help in certain cases, but does not
guarantee the value to refer to an entity
object
• NGSI-LD explicitly introduces the concept of Relationship
• Clear distinction between Properties which have values and
Relationships that have an object pointing to an entity
• No ambiguity and, using JSON-LD, the link is explicit and can
be correctly interpreted by any component, not requiring specific
application knowledge.
Aplication knowledge &
convention
Relationship concept
Advantages and new features in NGSI-LD
Modeling: relationships create graphs of entities
5
<buildingA>
<room5>
<occupancy>1
10</...>
asNDAGAINqwq
Ajksajasdfahdsjfk
ASD2348FNA;W
Asdafnasd;fmasd
ASwt5iqwerjsfg43
a foaf:Person ;
foaf:name
"Jimmy Wales" ;
foaf:mbox
<mailto:jwales@
bomis.com> ;
foaf:homepage
<http://www.jim
mywales.com>
<situation id="GU
ID2A22530C-D4
52-4ae8-B942-9
93BC2923D13" v
ersion="1">
<overallSeverity>
high<
/overallSeverity>
"contextRegistration": [
{ "entities": [ { "id": "E1",
"type": "T1",
“ isPattern": "false" },
{ "id": "E2",
"type": "T2", “
isPattern": "false" } ],
link to
video
link to
3D model
speed
location,
speed
location
location
address
owns
livesAt
isAttached
Entity (type, identifier)
Property
Relationship
Advantages of
NGSI-LD Entity Graph
• = knowledge graph
• ~ index structure,
follow relationships
to find relevant entities
• retrieve relevant
subset of entities and
use advanced graph
tools
All clipart is under Creative Commons BY 4.0 Licence from https://www.svgrepo.com
Advantages and new features in NGSI-LD
Modeling: @context – uniquely defining entity types
6
Customer Product Store InventoryItem
Customer
Product
Store
InventoryItem
Shelf
https://forge.etsi.org/gitlab/primerContext/StoreOntology/Customer
https://forge.etsi.org/gitlab/primerContext/StoreOntology/Product
https://forge.etsi.org/gitlab/primerContext/StoreOntology/Store
https://forge.etsi.org/gitlab/primerContext/StoreOntology/InventoryItem
https://forge.etsi.org/gitlab/primerContext/StoreOntology/Shelf
relatesTo https://forge.etsi.org/gitlab/primerContext/StoreOntology/relatesTo
name https://forge.etsi.org/gitlab/primerContext/StoreOntology/name
Entity Types, relationships and properties
play an important role in NGSI
hasVisited hasPurchased relatesTo holds
name location address price
Simple Strings
ü human readable
ü short
à convenient
û often not unique
û problem when
sharing
URIs
ü unique
û long
à cumbersome
Compromise?
Best of both?
@context in JSON-LD
• Define unique URIs
• Define mapping of shortnames
to URIs in @context
• Reference @context and use
shortnames for serialization
Advantages and new features in NGSI-LD
Modeling: linked data and the world of semantics
§ JSON-LD is JSON for Linked Data – and it is a serialization of RDF
§ Information retrieved via NGSI-LD can be used with semantic tools and combined with
existing linked data
7
The Linked Open Data Cloud from https://lod-cloud.net/
under Creative Commons License
Linked Data
All clipart is under Creative Commons BY 4.0 Licence from https://www.svgrepo.com
Advantages and new features in NGSI-LD
Architectures: standardized multi-architecture support
8
Context
Source
Context
Producer
Context
Source
Context
Consumer
Context
Consumer
Context
Consumer
Query
Subscribe/
Notify
Query
Subscribe/
Notify
Discover
Subscribe/
Notify
Discovery
Register
Discover
Subscribe/
Notify
Discovery
Registry
Server
Broker
Context
Producer
Create
Update
Delete
Enables Evolution
of Deployments
à future-proof
Central
Deployment
Distributed
Deployment
Federated
Deployment
Advantages and new features in NGSI-LD
History: standardized temporal queries
9
/temporal
/entities
/{entityId}
/attrs
/{attrId}
/{instanceId}
Temporal Operations
• Optional temporal functionality in
NGSI-LD
• Implementation options:
• Separate component
• Integrated with Broker
• Primarily for history, but also
enabling predictions
Get
information
about CarA
Get information
about CarA within
time interval
Practical steps for migration
10
Practical steps for migration
Creating and referencing @context
§ @context is main new element in NGSI-LD as it is based on JSON-LD
§ In NGSI-LD operations the @context can be
a. part of the body (content-type: application/ld+json) or
b. there can be a Link header referencing the @context (content-type: application/json)
Link <http://localhost:9090/ngsi-ld/contextes/urn:ngsi-ld:Store:011>;
rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"
§ NGSI-LD core @context: https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld, needs to be
always included (NGSI-LDs own terms)
§ Recommended approach for own @context:
§ Create @context with ALL terms used
§ Make them available on a webserver
§ Reference the @context using Link header
§ Example: For FIWARE data models complete @context is already available:
https://schema.lab.fiware.org/ld/jsonldcontext.jsonld
11
Practical steps for migration
Structural adaptation (1)
12
{
"id": "Store001",
"type": "Store",
"address": {
"type": "PostalAddress",
"value": {
"streetAddress": "Main Street 65 ",
"addressRegion": "Metropolis",
"addressLocality": "Duck Village",
"postalCode": “42000"
}
},
"location": {
"type": "geo:json",
"value": {
"type": "Point",
"coordinates": [13.3986, 52.5547]
}
},
"storeName": {
"type": "Text",
"value": "Checker Market"
}
}
{
"id": "urn:ngsi-ld:Store:001",
"type": "Store",
"address": {
"type": "Property",
"value": {
"streetAddress": "Main Street 65",
"addressRegion": "Metropolis",
"addressLocality": "Duck Village",
"postalCode": "42000"
}
},
"location": {
"type": "GeoProperty",
"value": "{
"type": "Point",
"coordinates": [13.3986, 52.5547]
}
},
"storeName": {
"type": "Property",
"value": "Checker Market"
}
}
Link: <http://mycontext.org/}>; rel="http://www.w3.org/ns/json-
ld#context"; type="application/ld+json"
Header
Practical steps for migration
Structural adaptation (2)
13
{
"id": "Store001",
"type": "Store",
"address": {
"type": "PostalAddress",
"value": {
"streetAddress": "Main Street 65 ",
"addressRegion": "Metropolis",
"addressLocality": "Duck Village",
"postalCode": “42000"
}
"metadata": {
"refProvidedBy": {
"type" : "URI",
"value" : "urn:ngsi-ld:Person:Bob"
}
}
},
...
}
{
"id": "urn:ngsi-ld:Store:001",
"type": "Store",
"address": {
"type": "Property",
"value": {
"streetAddress": "Main Street 65",
"addressRegion": "Metropolis",
"addressLocality": "Duck Village",
"postalCode": "42000"
}
"providedBy": {
"type" : "Relationship",
"object" : "urn:ngsi-ld:Person:Bob"
}
},
...
}
Link: <http://mycontext.org/}>; rel="http://www.w3.org/ns/json-
ld#context"; type="application/ld+json"
Header
Structural Simplification
Practical steps for migration
Structural adaptation (3)
14
{
"id": "urn:ngsi-ld:Store:001",
"type": "Store",
"address": {
"type": "Property",
"value": {
"@type": "PostalAddress",
"@value":{
"streetAddress": "Main Street 65",
"addressRegion": "Metropolis",
"addressLocality": "Duck Village",
"postalCode": "42000" }
}
"providedBy": {
"type" : "Relationship",
"object" : "urn:ngsi-ld:Person:Bob"
},
},
"storeName": {
"type": "Property",
"value": "Checker Market“,
"dataType": {
"type" : "Property",
"value" : "Text"
}
}
Link: <http://mycontext.org/}>; rel="http://www.w3.org/ns/json-
ld#context"; type="application/ld+json"
Header
{
"id": "Store001",
"type": "Store",
"address": {
"type": "PostalAddress",
"value": {
"streetAddress": "Main Street 65",
"addressRegion": "Metropolis",
"addressLocality": "Duck Village",
"postalCode": "42000"
}
"metadata": {
"refProvidedBy": {
"type" : "URI",
"value" : "urn:ngsi-ld:Person:Bob"
}
}
},
"storeName": {
"type": "Text",
"value": "Checker Market"
}
...
}
Data Type Option 1
(complex types)
Data Type Option 2
(simple types)
15
Practical steps for migration
Simplified representation for retrieval (keyValues)
{
"id": "urn:ngsi-ld:OffStreetParking:Downtown1",
"type": "OffStreetParking",
"name": "Downtown One",
"availableSpotNumber": 121,
"totalSpotNumber": 200,
"location": {
"type": "Point",
"coordinates": [-8.5, 41.2]
},
"@context": [
"http://uri.etsi.org/ngsi-ld/coreContext.jsonld",
"http://example.org/cim/parking.jsonld"
]
}
Equivalent in NGSI-LD and NGSIv2
Summary migration
§ Migration Steps from NGSIv2 to NGSI-LD:
§ Create suitable JSON-LD @context, ideally containing all relevant terms and make it
available in a location you can link to
§ NGSI v2 entity id attributes have to be converted to URIs, preferably using the NGSI-LD URN
§ Regular entity attributes have to be converted to JSON-LD nodes of type Property.
§ ref attributes (pointing to other entities) have to be converted to JSON-LD nodes of type
Relationship.
§ The timestamp metadata item has to be mapped to the observedAt member of a Property node.
§ The unitCode metadata item has to be mapped to the unitCode member of a Property node.
§ The NGSI v2 DateTime type has to be properly encoded as per the JSON-LD rules.
§ The NGSI v2 geo:json type has to be renamed to GeoProperty.
https://fiware-datamodels.readthedocs.io/en/latest/ngsi-ld_howto/index.html
A python script is available that does the syntactical conversion and can be adpapted
for specific cases:
https://github.com/Fiware/dataModels/blob/master/tools/normalized2LD.py
16
Comparison NGSIv2 and NGSI-LD Operations
Operation
Retrieve Entity ü ü
Query (List) Entities (incl. type, idPattern, query, geoquery) ü ü
Create Entity ü ü
Update Entity Attributes ü ü
Append Entity Attributes ü ü
Partial Attribute Update ü ü
Delete (Remove) Entity Attribute ü ü
Delete Entity ü ü
Subscription/Notification ü ü
Context Source Registrations (ü) ü
Batch Entity Operations (Create, Upsert, Update, Delete) ü ü
Temporal Entity Operations (Create, Add, Delete Attribute,
Modify instance, Delete instance, Delete)
ü
17
Conclusions
§ NGSI-LD is an evolution of NGSIv2 – it is not a revolution, but there are some changes
§ Overall: in general you can still do what you could do with NGSIv2, in some cases more
§ NGSI-LD is aimed at making NGSI future-proof
§ Standard based on good specification by independent standardization organization
§ Knowledge graph based model – connection to linked data and semantics and basis for AI
§ Support of different deployment architectures
§ Optional temporal API
§ Next Steps
§ Make NGSI-LD Brokers available (next talk on A New NGSI-LD Broker – Features and
Supported Architectures)
§ Evolve other FIWARE GEs to support NGSI-LD
§ Make more NGSI-LD-based data models available with retrievable @context
(already there: FIWARE Data Models, GSMA)
18
19
Orion-LD Status – Next Steps
§ https://github.com/Fiware/context.Orion-LD
§ Alpha Version .- already implemented
§ Create Entity
§ Query / Retrieve Entity(ies) (Basic & Geo)
§ Delete Entity (Attrs)
§ Create Subscription
§ Notification (Basic)
§ Append Attributes
§ Test Suite
§ https://github.com/Fiware/NGSI-LD_TestSuite
§ 130 tests developed. 114 of them passed by Orion-LD
§ Next Steps
§ Add extra tests.
Thank you!
http://fiware.org
Follow @FIWARE on Twitter
This project has received funding from the European Union’s Horizon 2020
research and innovation programme under grant agreements No 731993
and No 814918.
Martin Bauer
NEC Laboratories Europe
martin.bauer@neclab.eu

More Related Content

What's hot

FIWARE Training: IoT and Legacy
FIWARE Training: IoT and LegacyFIWARE Training: IoT and Legacy
FIWARE Training: IoT and Legacy
FIWARE
 
FIWARE Training: API Umbrella
FIWARE Training: API UmbrellaFIWARE Training: API Umbrella
FIWARE Training: API Umbrella
FIWARE
 
Peer DIDs: a secure and scalable method for DIDs that’s entirely off-ledger –...
Peer DIDs: a secure and scalable method for DIDs that’s entirely off-ledger –...Peer DIDs: a secure and scalable method for DIDs that’s entirely off-ledger –...
Peer DIDs: a secure and scalable method for DIDs that’s entirely off-ledger –...
SSIMeetup
 
FIWARE Training: FIWARE Training: i4Trust Marketplace
FIWARE Training: FIWARE Training: i4Trust MarketplaceFIWARE Training: FIWARE Training: i4Trust Marketplace
FIWARE Training: FIWARE Training: i4Trust Marketplace
FIWARE
 

What's hot (20)

Data persistency (draco, cygnus, sth comet, quantum leap)
Data persistency (draco, cygnus, sth comet, quantum leap)Data persistency (draco, cygnus, sth comet, quantum leap)
Data persistency (draco, cygnus, sth comet, quantum leap)
 
FIWARE Training: Introduction to Smart Data Models
FIWARE Training: Introduction to Smart Data ModelsFIWARE Training: Introduction to Smart Data Models
FIWARE Training: Introduction to Smart Data Models
 
NGSIv1 を知っている開発者向けの NGSIv2 の概要 (Orion 1.13.0対応)
NGSIv1 を知っている開発者向けの NGSIv2 の概要 (Orion 1.13.0対応)NGSIv1 を知っている開発者向けの NGSIv2 の概要 (Orion 1.13.0対応)
NGSIv1 を知っている開発者向けの NGSIv2 の概要 (Orion 1.13.0対応)
 
FIWARE Wednesday Webinars - Performing Big Data Analysis Using Cosmos With Sp...
FIWARE Wednesday Webinars - Performing Big Data Analysis Using Cosmos With Sp...FIWARE Wednesday Webinars - Performing Big Data Analysis Using Cosmos With Sp...
FIWARE Wednesday Webinars - Performing Big Data Analysis Using Cosmos With Sp...
 
FIWARE Training: NGSI-LD Advanced Operations
FIWARE Training: NGSI-LD Advanced OperationsFIWARE Training: NGSI-LD Advanced Operations
FIWARE Training: NGSI-LD Advanced Operations
 
Creating a Context-Aware solution, Complex Event Processing with FIWARE Perseo
Creating a Context-Aware solution, Complex Event Processing with FIWARE PerseoCreating a Context-Aware solution, Complex Event Processing with FIWARE Perseo
Creating a Context-Aware solution, Complex Event Processing with FIWARE Perseo
 
FIWARE Context Information Management
FIWARE Context Information ManagementFIWARE Context Information Management
FIWARE Context Information Management
 
FIWARE Orion Context Broker コンテキスト情報管理 (Orion 3.6.0対応)
FIWARE Orion Context Broker コンテキスト情報管理 (Orion 3.6.0対応)FIWARE Orion Context Broker コンテキスト情報管理 (Orion 3.6.0対応)
FIWARE Orion Context Broker コンテキスト情報管理 (Orion 3.6.0対応)
 
FIWARE Training: JSON-LD and NGSI-LD
FIWARE Training: JSON-LD and NGSI-LDFIWARE Training: JSON-LD and NGSI-LD
FIWARE Training: JSON-LD and NGSI-LD
 
FIWARE Training: IoT and Legacy
FIWARE Training: IoT and LegacyFIWARE Training: IoT and Legacy
FIWARE Training: IoT and Legacy
 
FIWARE Training: NGSI-LD Introduction
FIWARE Training: NGSI-LD IntroductionFIWARE Training: NGSI-LD Introduction
FIWARE Training: NGSI-LD Introduction
 
What is an IoT Agent
What is an IoT AgentWhat is an IoT Agent
What is an IoT Agent
 
FIWARE: Managing Context Information at large scale
FIWARE: Managing Context Information at large scaleFIWARE: Managing Context Information at large scale
FIWARE: Managing Context Information at large scale
 
FIWARE Orion Context Broker コンテキスト情報管理 (Orion 3.5.0対応)
FIWARE Orion Context Broker コンテキスト情報管理 (Orion 3.5.0対応)FIWARE Orion Context Broker コンテキスト情報管理 (Orion 3.5.0対応)
FIWARE Orion Context Broker コンテキスト情報管理 (Orion 3.5.0対応)
 
FIWARE Training: API Umbrella
FIWARE Training: API UmbrellaFIWARE Training: API Umbrella
FIWARE Training: API Umbrella
 
Peer DIDs: a secure and scalable method for DIDs that’s entirely off-ledger –...
Peer DIDs: a secure and scalable method for DIDs that’s entirely off-ledger –...Peer DIDs: a secure and scalable method for DIDs that’s entirely off-ledger –...
Peer DIDs: a secure and scalable method for DIDs that’s entirely off-ledger –...
 
FIWARE Wednesday Webinars - Core Context Management
FIWARE Wednesday Webinars - Core Context ManagementFIWARE Wednesday Webinars - Core Context Management
FIWARE Wednesday Webinars - Core Context Management
 
Fiware overview
Fiware overviewFiware overview
Fiware overview
 
FIWARE Training: FIWARE Training: i4Trust Marketplace
FIWARE Training: FIWARE Training: i4Trust MarketplaceFIWARE Training: FIWARE Training: i4Trust Marketplace
FIWARE Training: FIWARE Training: i4Trust Marketplace
 
APOC Pearls - Whirlwind Tour Through the Neo4j APOC Procedures Library
APOC Pearls - Whirlwind Tour Through the Neo4j APOC Procedures LibraryAPOC Pearls - Whirlwind Tour Through the Neo4j APOC Procedures Library
APOC Pearls - Whirlwind Tour Through the Neo4j APOC Procedures Library
 

Similar to FIWARE Global Summit - NGSI-LD – an Evolution from NGSIv2

JPL’s Institutional Knowledge Graph II: A Foundation for Constructing Enterpr...
JPL’s Institutional Knowledge Graph II: A Foundation for Constructing Enterpr...JPL’s Institutional Knowledge Graph II: A Foundation for Constructing Enterpr...
JPL’s Institutional Knowledge Graph II: A Foundation for Constructing Enterpr...
Enterprise Knowledge
 

Similar to FIWARE Global Summit - NGSI-LD – an Evolution from NGSIv2 (20)

FIWARE Global Summit - NGSI-LD: Modelling, Linking and Utilizing Context Info...
FIWARE Global Summit - NGSI-LD: Modelling, Linking and Utilizing Context Info...FIWARE Global Summit - NGSI-LD: Modelling, Linking and Utilizing Context Info...
FIWARE Global Summit - NGSI-LD: Modelling, Linking and Utilizing Context Info...
 
FIWARE Global Summit - Hands-On NGSI-LD
FIWARE Global Summit - Hands-On NGSI-LDFIWARE Global Summit - Hands-On NGSI-LD
FIWARE Global Summit - Hands-On NGSI-LD
 
NGSI-LD Introduction
NGSI-LD IntroductionNGSI-LD Introduction
NGSI-LD Introduction
 
MongoDB - General Purpose Database
MongoDB - General Purpose DatabaseMongoDB - General Purpose Database
MongoDB - General Purpose Database
 
JSON-LD and NGSI-LD
JSON-LD and NGSI-LDJSON-LD and NGSI-LD
JSON-LD and NGSI-LD
 
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Migrate Anything* to MongoDB AtlasMongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
 
Simplifying & accelerating application development with MongoDB's intelligent...
Simplifying & accelerating application development with MongoDB's intelligent...Simplifying & accelerating application development with MongoDB's intelligent...
Simplifying & accelerating application development with MongoDB's intelligent...
 
曾勇 Elastic search-intro
曾勇 Elastic search-intro曾勇 Elastic search-intro
曾勇 Elastic search-intro
 
Scalable database, Scalable language @ JDC 2013
Scalable database, Scalable language @ JDC 2013Scalable database, Scalable language @ JDC 2013
Scalable database, Scalable language @ JDC 2013
 
Slides: Moving from a Relational Model to NoSQL
Slides: Moving from a Relational Model to NoSQLSlides: Moving from a Relational Model to NoSQL
Slides: Moving from a Relational Model to NoSQL
 
Unleashing the Power of Vector Search in .NET - DotNETConf2024.pdf
Unleashing the Power of Vector Search in .NET - DotNETConf2024.pdfUnleashing the Power of Vector Search in .NET - DotNETConf2024.pdf
Unleashing the Power of Vector Search in .NET - DotNETConf2024.pdf
 
Expressing Concept Schemes & Competency Frameworks in CTDL
Expressing Concept Schemes & Competency Frameworks in CTDLExpressing Concept Schemes & Competency Frameworks in CTDL
Expressing Concept Schemes & Competency Frameworks in CTDL
 
The Enterprise Guide to Building a Data Mesh - Introducing SpecMesh
The Enterprise Guide to Building a Data Mesh - Introducing SpecMeshThe Enterprise Guide to Building a Data Mesh - Introducing SpecMesh
The Enterprise Guide to Building a Data Mesh - Introducing SpecMesh
 
CPaaS.io Y1 Review Meeting - Holistic Data Management
CPaaS.io Y1 Review Meeting - Holistic Data ManagementCPaaS.io Y1 Review Meeting - Holistic Data Management
CPaaS.io Y1 Review Meeting - Holistic Data Management
 
Dependency injection Drupal Camp Wrocław 2014
Dependency injection Drupal Camp Wrocław 2014Dependency injection Drupal Camp Wrocław 2014
Dependency injection Drupal Camp Wrocław 2014
 
mongodb_DS.pptx
mongodb_DS.pptxmongodb_DS.pptx
mongodb_DS.pptx
 
Confluent & MongoDB APAC Lunch & Learn
Confluent & MongoDB APAC Lunch & LearnConfluent & MongoDB APAC Lunch & Learn
Confluent & MongoDB APAC Lunch & Learn
 
Microservices Security Patterns & Protocols with Spring & PCF
Microservices Security Patterns & Protocols with Spring & PCFMicroservices Security Patterns & Protocols with Spring & PCF
Microservices Security Patterns & Protocols with Spring & PCF
 
JPL’s Institutional Knowledge Graph II: A Foundation for Constructing Enterpr...
JPL’s Institutional Knowledge Graph II: A Foundation for Constructing Enterpr...JPL’s Institutional Knowledge Graph II: A Foundation for Constructing Enterpr...
JPL’s Institutional Knowledge Graph II: A Foundation for Constructing Enterpr...
 
NGSI-LD IoT Agents
NGSI-LD IoT AgentsNGSI-LD IoT Agents
NGSI-LD IoT Agents
 

More from FIWARE

Cameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptx
Cameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptxCameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptx
Cameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptx
FIWARE
 
Boris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptx
Boris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptxBoris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptx
Boris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptx
FIWARE
 
Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....
Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....
Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....
FIWARE
 
Abdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdf
Abdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdfAbdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdf
Abdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdf
FIWARE
 
FGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdf
FGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdfFGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdf
FGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdf
FIWARE
 

More from FIWARE (20)

Behm_Herne_NeMo_akt.pptx
Behm_Herne_NeMo_akt.pptxBehm_Herne_NeMo_akt.pptx
Behm_Herne_NeMo_akt.pptx
 
Katharina Hogrebe Herne Digital Days.pdf
 Katharina Hogrebe Herne Digital Days.pdf Katharina Hogrebe Herne Digital Days.pdf
Katharina Hogrebe Herne Digital Days.pdf
 
Christoph Mertens_IDSA_Introduction to Data Spaces.pptx
Christoph Mertens_IDSA_Introduction to Data Spaces.pptxChristoph Mertens_IDSA_Introduction to Data Spaces.pptx
Christoph Mertens_IDSA_Introduction to Data Spaces.pptx
 
Behm_Herne_NeMo.pptx
Behm_Herne_NeMo.pptxBehm_Herne_NeMo.pptx
Behm_Herne_NeMo.pptx
 
Evangelists + iHubs Promo Slides.pptx
Evangelists + iHubs Promo Slides.pptxEvangelists + iHubs Promo Slides.pptx
Evangelists + iHubs Promo Slides.pptx
 
Lukas Künzel Smart City Operating System.pptx
Lukas Künzel Smart City Operating System.pptxLukas Künzel Smart City Operating System.pptx
Lukas Künzel Smart City Operating System.pptx
 
Pierre Golz Der Transformationsprozess im Konzern Stadt.pptx
Pierre Golz Der Transformationsprozess im Konzern Stadt.pptxPierre Golz Der Transformationsprozess im Konzern Stadt.pptx
Pierre Golz Der Transformationsprozess im Konzern Stadt.pptx
 
Dennis Wendland_The i4Trust Collaboration Programme.pptx
Dennis Wendland_The i4Trust Collaboration Programme.pptxDennis Wendland_The i4Trust Collaboration Programme.pptx
Dennis Wendland_The i4Trust Collaboration Programme.pptx
 
Ulrich Ahle_FIWARE.pptx
Ulrich Ahle_FIWARE.pptxUlrich Ahle_FIWARE.pptx
Ulrich Ahle_FIWARE.pptx
 
Aleksandar Vrglevski _FIWARE DACH_OSIH.pptx
Aleksandar Vrglevski _FIWARE DACH_OSIH.pptxAleksandar Vrglevski _FIWARE DACH_OSIH.pptx
Aleksandar Vrglevski _FIWARE DACH_OSIH.pptx
 
Water Quality - Lukas Kuenzel.pdf
Water Quality - Lukas Kuenzel.pdfWater Quality - Lukas Kuenzel.pdf
Water Quality - Lukas Kuenzel.pdf
 
Cameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptx
Cameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptxCameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptx
Cameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptx
 
FiWareSummit.msGIS-Data-to-Value.2023.06.12.pptx
FiWareSummit.msGIS-Data-to-Value.2023.06.12.pptxFiWareSummit.msGIS-Data-to-Value.2023.06.12.pptx
FiWareSummit.msGIS-Data-to-Value.2023.06.12.pptx
 
Boris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptx
Boris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptxBoris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.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....
Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....
Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....
 
Abdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdf
Abdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdfAbdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdf
Abdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdf
 
FGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdf
FGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdfFGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdf
FGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdf
 
HTAG_Skalierung_Plattform_lokal_final_versand.pptx
HTAG_Skalierung_Plattform_lokal_final_versand.pptxHTAG_Skalierung_Plattform_lokal_final_versand.pptx
HTAG_Skalierung_Plattform_lokal_final_versand.pptx
 
WE_LoRaWAN _ IoT.pptx
WE_LoRaWAN  _ IoT.pptxWE_LoRaWAN  _ IoT.pptx
WE_LoRaWAN _ IoT.pptx
 
EU Opp_Clara Pezuela - German chapter.pptx
EU Opp_Clara Pezuela - German chapter.pptxEU Opp_Clara Pezuela - German chapter.pptx
EU Opp_Clara Pezuela - German chapter.pptx
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

FIWARE Global Summit - NGSI-LD – an Evolution from NGSIv2

  • 1. This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreements No 731993 and No 814918. NGSI-LD – an Evolution from NGSIv2 Martin Bauer – NEC Laboratories Europe
  • 2. Outline § NGSI-LD background § Evolution from NGSIv2 to NGSI-LD § Advantages and new features in NGSI-LD § Practical steps for migration § Comparison of NGSIv2/NGSI-LD operations § Conclusions àNext talk: NEC‘s Scorpio NGSI-LD Broker àOutlook Orion-LD: next generation NGSI-LD Context Broker 1
  • 3. NGSI-LD background Making NGSI fit for the future § History § NGSI Context Interfaces originally specified in OMA § Evolution in FIWARE with JSON binding and later NGSIv2 § Decision: Bring NGSI back to standardization in ETSI Industry Specification Group on Context Information Management (ETSI ISG CIM) § Benefits of independent open standard (i.e. ETSI Group Specification) § Standards can be referenced in tenders § Avoid “vendor lock-in” § Good technical specification to achieve good interoperability § Scalability and support of different deployment scenarios § Basis for AI and connection to world of linked data and semantics 2
  • 4. Advantages and new features in NGSI-LD 3
  • 5. All clipart is under Creative Commons BY 4.0 Licence from https://www.svgrepo.com Advantages and new features in NGSI-LD Modelling: relationships – from convention to „first-class citizen“ 4 Store Store name: Checker... address: ... location: ... name: Checker Market address: ... location: ... id: urn:ngsi-ld:Store:001 id: urn:ngsi-ld:Store:001 Customer id: urn:ngsi-ld:Customer :285 Customer id: urn:ngsi-ld:Customer :285 refVisited: id: urn:ngsi- ld:Store:001 name: Paul name: Paul ... visited: id: urn:ngsi-ld:Store:001 Attribute Property Relationship • Application‘s may know that the value of an attribute is the id of another entity, but it cannot be directly inferred • Using “ref” as a prefix is a convention that may help in certain cases, but does not guarantee the value to refer to an entity object • NGSI-LD explicitly introduces the concept of Relationship • Clear distinction between Properties which have values and Relationships that have an object pointing to an entity • No ambiguity and, using JSON-LD, the link is explicit and can be correctly interpreted by any component, not requiring specific application knowledge. Aplication knowledge & convention Relationship concept
  • 6. Advantages and new features in NGSI-LD Modeling: relationships create graphs of entities 5 <buildingA> <room5> <occupancy>1 10</...> asNDAGAINqwq Ajksajasdfahdsjfk ASD2348FNA;W Asdafnasd;fmasd ASwt5iqwerjsfg43 a foaf:Person ; foaf:name "Jimmy Wales" ; foaf:mbox <mailto:jwales@ bomis.com> ; foaf:homepage <http://www.jim mywales.com> <situation id="GU ID2A22530C-D4 52-4ae8-B942-9 93BC2923D13" v ersion="1"> <overallSeverity> high< /overallSeverity> "contextRegistration": [ { "entities": [ { "id": "E1", "type": "T1", “ isPattern": "false" }, { "id": "E2", "type": "T2", “ isPattern": "false" } ], link to video link to 3D model speed location, speed location location address owns livesAt isAttached Entity (type, identifier) Property Relationship Advantages of NGSI-LD Entity Graph • = knowledge graph • ~ index structure, follow relationships to find relevant entities • retrieve relevant subset of entities and use advanced graph tools All clipart is under Creative Commons BY 4.0 Licence from https://www.svgrepo.com
  • 7. Advantages and new features in NGSI-LD Modeling: @context – uniquely defining entity types 6 Customer Product Store InventoryItem Customer Product Store InventoryItem Shelf https://forge.etsi.org/gitlab/primerContext/StoreOntology/Customer https://forge.etsi.org/gitlab/primerContext/StoreOntology/Product https://forge.etsi.org/gitlab/primerContext/StoreOntology/Store https://forge.etsi.org/gitlab/primerContext/StoreOntology/InventoryItem https://forge.etsi.org/gitlab/primerContext/StoreOntology/Shelf relatesTo https://forge.etsi.org/gitlab/primerContext/StoreOntology/relatesTo name https://forge.etsi.org/gitlab/primerContext/StoreOntology/name Entity Types, relationships and properties play an important role in NGSI hasVisited hasPurchased relatesTo holds name location address price Simple Strings ü human readable ü short à convenient û often not unique û problem when sharing URIs ü unique û long à cumbersome Compromise? Best of both? @context in JSON-LD • Define unique URIs • Define mapping of shortnames to URIs in @context • Reference @context and use shortnames for serialization
  • 8. Advantages and new features in NGSI-LD Modeling: linked data and the world of semantics § JSON-LD is JSON for Linked Data – and it is a serialization of RDF § Information retrieved via NGSI-LD can be used with semantic tools and combined with existing linked data 7 The Linked Open Data Cloud from https://lod-cloud.net/ under Creative Commons License Linked Data All clipart is under Creative Commons BY 4.0 Licence from https://www.svgrepo.com
  • 9. Advantages and new features in NGSI-LD Architectures: standardized multi-architecture support 8 Context Source Context Producer Context Source Context Consumer Context Consumer Context Consumer Query Subscribe/ Notify Query Subscribe/ Notify Discover Subscribe/ Notify Discovery Register Discover Subscribe/ Notify Discovery Registry Server Broker Context Producer Create Update Delete Enables Evolution of Deployments à future-proof Central Deployment Distributed Deployment Federated Deployment
  • 10. Advantages and new features in NGSI-LD History: standardized temporal queries 9 /temporal /entities /{entityId} /attrs /{attrId} /{instanceId} Temporal Operations • Optional temporal functionality in NGSI-LD • Implementation options: • Separate component • Integrated with Broker • Primarily for history, but also enabling predictions Get information about CarA Get information about CarA within time interval
  • 11. Practical steps for migration 10
  • 12. Practical steps for migration Creating and referencing @context § @context is main new element in NGSI-LD as it is based on JSON-LD § In NGSI-LD operations the @context can be a. part of the body (content-type: application/ld+json) or b. there can be a Link header referencing the @context (content-type: application/json) Link <http://localhost:9090/ngsi-ld/contextes/urn:ngsi-ld:Store:011>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" § NGSI-LD core @context: https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld, needs to be always included (NGSI-LDs own terms) § Recommended approach for own @context: § Create @context with ALL terms used § Make them available on a webserver § Reference the @context using Link header § Example: For FIWARE data models complete @context is already available: https://schema.lab.fiware.org/ld/jsonldcontext.jsonld 11
  • 13. Practical steps for migration Structural adaptation (1) 12 { "id": "Store001", "type": "Store", "address": { "type": "PostalAddress", "value": { "streetAddress": "Main Street 65 ", "addressRegion": "Metropolis", "addressLocality": "Duck Village", "postalCode": “42000" } }, "location": { "type": "geo:json", "value": { "type": "Point", "coordinates": [13.3986, 52.5547] } }, "storeName": { "type": "Text", "value": "Checker Market" } } { "id": "urn:ngsi-ld:Store:001", "type": "Store", "address": { "type": "Property", "value": { "streetAddress": "Main Street 65", "addressRegion": "Metropolis", "addressLocality": "Duck Village", "postalCode": "42000" } }, "location": { "type": "GeoProperty", "value": "{ "type": "Point", "coordinates": [13.3986, 52.5547] } }, "storeName": { "type": "Property", "value": "Checker Market" } } Link: <http://mycontext.org/}>; rel="http://www.w3.org/ns/json- ld#context"; type="application/ld+json" Header
  • 14. Practical steps for migration Structural adaptation (2) 13 { "id": "Store001", "type": "Store", "address": { "type": "PostalAddress", "value": { "streetAddress": "Main Street 65 ", "addressRegion": "Metropolis", "addressLocality": "Duck Village", "postalCode": “42000" } "metadata": { "refProvidedBy": { "type" : "URI", "value" : "urn:ngsi-ld:Person:Bob" } } }, ... } { "id": "urn:ngsi-ld:Store:001", "type": "Store", "address": { "type": "Property", "value": { "streetAddress": "Main Street 65", "addressRegion": "Metropolis", "addressLocality": "Duck Village", "postalCode": "42000" } "providedBy": { "type" : "Relationship", "object" : "urn:ngsi-ld:Person:Bob" } }, ... } Link: <http://mycontext.org/}>; rel="http://www.w3.org/ns/json- ld#context"; type="application/ld+json" Header Structural Simplification
  • 15. Practical steps for migration Structural adaptation (3) 14 { "id": "urn:ngsi-ld:Store:001", "type": "Store", "address": { "type": "Property", "value": { "@type": "PostalAddress", "@value":{ "streetAddress": "Main Street 65", "addressRegion": "Metropolis", "addressLocality": "Duck Village", "postalCode": "42000" } } "providedBy": { "type" : "Relationship", "object" : "urn:ngsi-ld:Person:Bob" }, }, "storeName": { "type": "Property", "value": "Checker Market“, "dataType": { "type" : "Property", "value" : "Text" } } Link: <http://mycontext.org/}>; rel="http://www.w3.org/ns/json- ld#context"; type="application/ld+json" Header { "id": "Store001", "type": "Store", "address": { "type": "PostalAddress", "value": { "streetAddress": "Main Street 65", "addressRegion": "Metropolis", "addressLocality": "Duck Village", "postalCode": "42000" } "metadata": { "refProvidedBy": { "type" : "URI", "value" : "urn:ngsi-ld:Person:Bob" } } }, "storeName": { "type": "Text", "value": "Checker Market" } ... } Data Type Option 1 (complex types) Data Type Option 2 (simple types)
  • 16. 15 Practical steps for migration Simplified representation for retrieval (keyValues) { "id": "urn:ngsi-ld:OffStreetParking:Downtown1", "type": "OffStreetParking", "name": "Downtown One", "availableSpotNumber": 121, "totalSpotNumber": 200, "location": { "type": "Point", "coordinates": [-8.5, 41.2] }, "@context": [ "http://uri.etsi.org/ngsi-ld/coreContext.jsonld", "http://example.org/cim/parking.jsonld" ] } Equivalent in NGSI-LD and NGSIv2
  • 17. Summary migration § Migration Steps from NGSIv2 to NGSI-LD: § Create suitable JSON-LD @context, ideally containing all relevant terms and make it available in a location you can link to § NGSI v2 entity id attributes have to be converted to URIs, preferably using the NGSI-LD URN § Regular entity attributes have to be converted to JSON-LD nodes of type Property. § ref attributes (pointing to other entities) have to be converted to JSON-LD nodes of type Relationship. § The timestamp metadata item has to be mapped to the observedAt member of a Property node. § The unitCode metadata item has to be mapped to the unitCode member of a Property node. § The NGSI v2 DateTime type has to be properly encoded as per the JSON-LD rules. § The NGSI v2 geo:json type has to be renamed to GeoProperty. https://fiware-datamodels.readthedocs.io/en/latest/ngsi-ld_howto/index.html A python script is available that does the syntactical conversion and can be adpapted for specific cases: https://github.com/Fiware/dataModels/blob/master/tools/normalized2LD.py 16
  • 18. Comparison NGSIv2 and NGSI-LD Operations Operation Retrieve Entity ü ü Query (List) Entities (incl. type, idPattern, query, geoquery) ü ü Create Entity ü ü Update Entity Attributes ü ü Append Entity Attributes ü ü Partial Attribute Update ü ü Delete (Remove) Entity Attribute ü ü Delete Entity ü ü Subscription/Notification ü ü Context Source Registrations (ü) ü Batch Entity Operations (Create, Upsert, Update, Delete) ü ü Temporal Entity Operations (Create, Add, Delete Attribute, Modify instance, Delete instance, Delete) ü 17
  • 19. Conclusions § NGSI-LD is an evolution of NGSIv2 – it is not a revolution, but there are some changes § Overall: in general you can still do what you could do with NGSIv2, in some cases more § NGSI-LD is aimed at making NGSI future-proof § Standard based on good specification by independent standardization organization § Knowledge graph based model – connection to linked data and semantics and basis for AI § Support of different deployment architectures § Optional temporal API § Next Steps § Make NGSI-LD Brokers available (next talk on A New NGSI-LD Broker – Features and Supported Architectures) § Evolve other FIWARE GEs to support NGSI-LD § Make more NGSI-LD-based data models available with retrievable @context (already there: FIWARE Data Models, GSMA) 18
  • 20. 19 Orion-LD Status – Next Steps § https://github.com/Fiware/context.Orion-LD § Alpha Version .- already implemented § Create Entity § Query / Retrieve Entity(ies) (Basic & Geo) § Delete Entity (Attrs) § Create Subscription § Notification (Basic) § Append Attributes § Test Suite § https://github.com/Fiware/NGSI-LD_TestSuite § 130 tests developed. 114 of them passed by Orion-LD § Next Steps § Add extra tests.
  • 21. Thank you! http://fiware.org Follow @FIWARE on Twitter This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreements No 731993 and No 814918. Martin Bauer NEC Laboratories Europe martin.bauer@neclab.eu