https://github.com/fiware/tutorials.relationships-linked-data
:blue_book: FIWARE 602: Linked Data Relationships and Data Models
https://github.com/fiware/tutorials.relationships-linked-data
entity-relationships fiware json-ld linked-data ngsi-ld tutorial
Last synced: 6 months ago
JSON representation
:blue_book: FIWARE 602: Linked Data Relationships and Data Models
- Host: GitHub
- URL: https://github.com/fiware/tutorials.relationships-linked-data
- Owner: FIWARE
- License: mit
- Created: 2019-07-29T15:02:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-17T13:57:41.000Z (12 months ago)
- Last Synced: 2025-04-30T18:36:07.383Z (9 months ago)
- Topics: entity-relationships, fiware, json-ld, linked-data, ngsi-ld, tutorial
- Language: Shell
- Homepage: https://www.fiware.org/developers/
- Size: 498 KB
- Stars: 3
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.fiware.org/developers)
[](https://github.com/FIWARE/catalogue/blob/master/core/README.md)
[](https://opensource.org/licenses/MIT)
[](https://stackoverflow.com/questions/tagged/fiware)
[](https://w3c.github.io/json-ld-syntax/)
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](https://ec.haxx.se/) commands throughout, but is also available as
[Postman documentation](https://www.postman.com/downloads/).
# 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.
```console
git clone https://github.com/FIWARE/tutorials.Relationships-Linked-Data.git
cd tutorials.Relationships-Linked-Data
git checkout NGSI-v2
./services create
./services start
```
| [](https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.08.01_60/gs_cim009v010801p.pdf) | :books: [Documentation](https://github.com/FIWARE/tutorials.Relationships-Linked-Data/tree/NGSI-v2) |
[Postman Collection](https://fiware.github.io/tutorials.Relationships-Linked-Data/) | 
| --- | --- | --- | ---
---
## License
[MIT](LICENSE) © 2019-2024 FIWARE Foundation e.V.