Data Spaces Symposium
Smart Data Models andexchange API in data spaces

Alberto Abella.
FIWARE Foundation
Data Modelling Expert@aabella

Smart Data Models and exchange API in data spaces
3 ideas
1. FIWARE has software for interchanging data and semantic
management across a data space
2. Reusing (selling) data needs some pre-conditions
3. Smart Data Models initiative and pysmartdatamodels
package extends your semantic description within your dataspace

Data Exchange Building block (DSSC)

Smart Data Models and exchange API in data spaces
Context in Data Spaces:▪ Identity is trusted▪ Authorization to access the data resources and services▪ Trusting that economic transactions will be fulfilled

Data Exchange Building block (DSSC)

A data space is a technical resource whereparticipants interchange data and data services-Users, don’t know each other
Users don’t know the details of what is available

Summary could be also applicable to oher value
added services

Frankfurt stock ExchangeSmart Data Models and exchange API in data spaces
How can we ensure that all potential users / buyers will access to / purchase our data services?
Open data dealt with this issue for a decade
Some lessons learnt would be usefulSummary: You cannot take for granted that just offering data services will make successful sales
MELODA metric assess how reusable are the data released for sharing

Academic Details●Started 2011
●Abella, A.; Ortiz-de-Urbina-Criado, M.; De-Pablos-Heredero, C. (2014): Meloda, a metric to assess open datareuse, El profesional de la información, 23/6, noviembre-diciembre, 582-588.
●Abella, A., Ortiz-de-Urbina-Criado, M., & De-Pablos-Heredero, C. (2019). Meloda 5: A metric to assess open
data reusability. Profesional de la información, 28(6).
●4 reports on the situation of open data in Spain●
Assessed more than 1200 datasets in more than 300 data portals●
More than 50 scientific references

Smart Data Models and exchange API in data spaces
MELODA 5 provides 8 questions to answer to allow data reuse.

Q1: What are legal rights to use the data?

Assess data reusability

Q2: What is the access mechanism?

Overall figure assess reusability

Q3: What is the technical format?
Q4: What is the structure of the data?
Q5: Is the information geolocated?
Q6: Is the information updated?
Q7: Are you aware that this data exists?
Q8: Do you trust on the entity providing the data?

Smart Data Models and exchange API in data spaces

Data Exchange Building block (DSSC)

8 questions to answer to allow data reuse.
Data space catalog is based on DCAT.
Q1: What are legal rights to use the data? → Distribution.accessRights
Q2: What is the access mechanism? → Common API. BB data exchange

1

Q3: What is the technical format? → Distribution.format, distribution.mediaType
Q4: What is the structure of the data? → Distribution.conformsTo

2

Q5: Is the information geolocated? → Dataset.spatial
Q6: Is the information updated? → Dataset.frequency
Q7: Are you aware that this data exists? → Hopefully the BB of publication & discovery will deal with it
Q8: Do you trust on the entity providing the data? → Reputation (comments and stars systems)?

Smart Data Models and exchange API in data spaces
1

Common API. Building Block data exchange- Efficient transmission of data
- Querying capabilities diverse data with complex needs and varying data structures geoquerying- Data streaming endpoints to receive real-time continuous streams of data
- Data retrieval endpoints to request datasets such as historical data stored in a database- Mechanisms that enable alerts for updates or modifications of the data sources- Information retrieval in federation scenarios, particularly across different data spaces- Publication of the API specification in the data space- *Allow the retrieval of information on federation scenarios, i.e. across different data spaces
One solution: Data exchange API- General purpose API: NGSI-LD- Standardized by ETSI (9th version)- Proved implementations (3 context broker implementations and>60 components)- Marketplace of solutions (>100 solutions)

https://www.fiware.org/catalogue/#components

Smart Data Models and exchange API in data spaces
2Distribution.conformsTo- One link to point to the standard- What if you need to know the technical structure?
One solution: Smart Data Models semantic resources- Active initiative led by FIWARE, TMForum, OASC, IUDX
- 1000 open-licensed data models. 156.000 terms- Open to contribution (Agile standardization) new DM in 1 week
- 70 subjects available in github- 23 functions including update from central repository and update acontext broker- URI for use in linked data resources and mapping to external
ontologies/vocabularies- Single-source-of-truth json schema. Exports in yaml, sql andexamples csv, json, jsonld

https://smartdatamodels.org

Smart Data Models and exchange API in data spaces
Distribution.conformsTo-2

Soon:Manage your local models without sharing
Validation against models
Contribute your data models to central repository

https://smartdatamodels.org

Smart Data Models and exchange API in data spaces
DemoInserting a value compliant with an official data modelSmart Data Models and exchange API in data spaces
DemoRetrieving the data with the URI as field names

Smart Data Models and exchange API in data spaces
DemoListing the attribute names, data type and description

Summary
1. FIWARE has software for interchanging data (Building Block of Data Exchange) and semanticmanagement (building Block of Data Models) across a data space

2. Reusing (selling) data needs some pre-conditions.
a. MELODA 5 reassess this reusability

3. Smart Data Models initiative and pysmartdatamodels package extends your semantic description withinyour data spacea. Provides a large database of data models
b. Integrate locally in your Data Spacec. Create new data models ‘on the fly’d. Soon: manage locally without sharing

Data Spaces Symposium
Smart Data Models andexchange API in data spaces

ThanksAlberto Abella.
FIWARE Foundation
Data Modelling Expert@aabella