Skip to content

FIWARE/tutorials.Relationships-Linked-Data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FIWARE Banner

FIWARE Core Context Management License: MIT Support badge JSON LD

This tutorial discusses relationships between linked data entities and how the concepts of JSON-LD and NGSI-LD can be used to interrogate entities and navigate from one entity to another. The tutorial discusses a series of simple linked-data data models based around the supermarket chain’s store finder application, and demonstrates how to design models holding one-to-one, one-to-many and many-to-many relationships. This NGSI-LD tutorial is a direct analogue to the earlier Understanding Entities and Relationships tutorial (which was based on the NGSI v2 interface). The differences in relationships created using NGSI v2 and NGSI-LD are highlighted and discussed in detail.

The tutorial uses cUrl commands throughout, but is also available as Postman documentation.

Start-Up

NGSI-LD Smart Supermarket

NGSI-LD offers JSON-LD based interoperability used for Federations and Data Spaces. To run this NGSI-LD tutorial for NGSI-v2 developers, use the NGSI-v2 branch.

git clone https://github.com/FIWARE/tutorials.Relationships-Linked-Data.git
cd tutorials.Relationships-Linked-Data
git checkout NGSI-v2

./services create
./services start
NGSI LD 📚 Documentation Postman Collection

License

MIT © 2019-2024 FIWARE Foundation e.V.