1 of 10

NGSI-LD Overview

27/02/2025

Martin Bauer

2 of 10

World-wide Adoption of NGSI-LD

Europe

Connecting Europe

Facility (CEF)

Context Broker

🡪 NGSI-LD

Worldwide

Open Agile Smart

Cities (OASC)

Minimum Interoperability�Mechanism, Local Digital Twin�🡪 NGSI-LD

India

India Urban Data�Exchange (IUDX)

IUDX Resource Server

  • NGSI-LD

(NGSI-LD is integrated in BIS �“Unified Data Exchange standard �– IS 18003”)

South Korea

CityHub Platform

Data Service Broker

  • NGSI-LD

TTA is doing certification�for NGSI-LD based�platform based on ETSI�test suite

Japan

Smart City SIP

NGSI-LD mentioned

as interface option

Worldwide

Smart Data Models

Collaboration FIWARE/tmforum/�IUDX/OASC, defining�NGSI-LD compatible data models

Worldwide

FIWARE

NGSI-LD is now successor of NGSIv2 as core API

Europe/Worldwide

Data Spaces Business Alliance (DSBA)

NGSI-LD as Data Exchange API

© ETSI 2021

2

3 of 10

NGSI-LD – Evolution and specification in ETSI ISG CIM

  • European Telecommunications Standards Institute (ETSI)
    • ETSI produces globally-applicable standards for Information and Communications Technologies (ICT)
    • It is officially recognized by the European Commission as a European Standards Organization
    • Industry Specification Groups (ISG) allow participation of non-ETSI-members
  • ETSI ISG for cross-cutting Context Information Management (ETSI ISG CIM)
    • Established in 2017 – extended until 2027 (likely move to TC Data working group)
    • Currently about 30 supporting organizations
    • Evolution of NGSI Context Interfaces 🡪NGSI-LD

https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.08.01_60/gs_CIM009v010801p.pdf

Context API �in Open Mobile�Alliance (OMA)

2010 OMA NGSI

FIWARE project develops binding and evolves OMA NGSI standard

2012-2016: NGSI v1/v2

Evolution as ETSI�ISG CIM specification�based on JSON-LD

2019: NGSI-LD

© ETSI 2021

3

4 of 10

High-Level Design Goals of NGSI-LD

  • Evolution of OMA/FIWARE NGSI Context Interfaces
  • Enable applications to specify WHAT information they require (based on the NGSI-LD Information (Meta) Model) – with projection and selection, including geographic scoping, graph query functionality, and temporal interface
  • Put NGSI-LD Information Model on a solid conceptual grounding
    • Property graph model
    • Enable semantic concept definitions
    • Enable linking to existing information
  • Support central as well as distributed and federated NGSI-LD system architectures with arbitrary information distribution

Linked Data

© ETSI 2021

4

5 of 10

Logical NGSI-LD Information Model�

Entity

id, type

Relationship

Property

Value

hasRelationship

hasObject

hasSubject

hasProperty

hasSubject

hasValue

+ Meta Information

hasProperty

hasRelationship

hasProperty

hasRelationship

speed

80

inFrontof

source

speedometer

hasSubject

hasSubject

© ETSI 2021

5

6 of 10

NGSI-LD Information Model (Property Graph)�

  • NGSI-LD Information Model (Property Graph)

<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.jimmywales.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" } ],

Entity (type, identifier)

Property

Relationship

link to�video

link to�3D model

speed

location,

speed

location

location

address

owns

livesAt

isAttached

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

Data Lake with silos of�heterogeneous data

Attribute

© ETSI 2021

6

7 of 10

NGSI-LD-compatible Data Model�

  • NGSI-LD-compatible Data Models

<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.jimmywales.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

What entity types are there?

What properties can�instances of a certain

entity type have?

What relationships can�instances of a certain

entity type have?

🡪 Data Models

Property

Relationship

Entity (type, identifier)

All clipart is under Creative Commons BY 4.0 Licence from https://www.svgrepo.com

© ETSI 2021

7

8 of 10

NGSI-LD API – Example: Retrieve Specific Entity�

What do applications need to know:

  • Base URL: http://localhost:9090/ngsi-ld/v1/entities/
  • Entity Id: urn:ngsi-ld:Person:Sam
  • Data Model: location property
  • Security credentials (orthogonal aspect, not shown on following slides)

No need to know:

  • Where the information is stored

© ETSI 2021

8

9 of 10

NGSI-LD API – Example: Geographic Query�

What do applications need to know:

  • Base URL: http://localhost:9090/ngsi-ld/v1/entities/
  • Data Model: car type
  • Geographic location

No need to know:

  • Where the information is stored

Query: filter according to speed e.g. speed>50

Discovery & Retrieval in Single Step

© ETSI 2021

9

10 of 10

NGSI-LD API – Example: Subscription / Notification�

“Notify me, if any new cars are detected in the specified geographic area“�Two cases to be monitored at the same time:

  • new car added to the system with location in the area
  • location of existing car has changed and�is now within specified area.

Notification Provides

the Relevant Information

© ETSI 2021

10