Extension of the Smart Data Models

Hopefully you have unnoticed about several structural changes this weekend that has happen at SDM.

Database of attributes,

Now there are several additional information included.

— A unique id for every attribute of a version of a data model (i.e.

— The link to the parent’s attribute (whenever there is a parent) context link (i.e. https://smartdatamodels.org/address)

— The unique id of the parent attribute (whenever there is a parent) (i.e.

— The @context link of the attributes pointing to an existing web page with some details about the attribute (i.e. https://smartdatamodels.org/postOfficeBoxNumber)

Specifications

Now the second level of attributes is available in the specification document for all the languages (i.e. https://github.com/smart-data-models/dataModel.User/blob/master/Activity/doc/spec.md)

Context file

Now the second and subsequent levels of the attributes have URI entries in the @context included in the file context.jsonld file in every subject (i.e. https://github.com/smart-data-models/dataModel.Environment/blob/master/context.jsonld)

The URI of the data models points to a existing web page (i.e. https://smartdatamodels.org/dataModel.Environment/ambientNoiseTSA)

Besides this we welcome a new member of the SDM team, Rihab Feki.


questions/suggestions to info@smartdatamodels.org

New data models TouristRental and ConsumptionBehaviour

There are two new data models in the subject tourist destinations, TouristRental and ConsumptionBehaviour.

These data models are contributed thanks to the project I4trust for data spaces and the group Tourilab.

  • ConsumptionBehaviour. This model is designed to record and track the consumption of various resources such as electricity, diesel, and water over a specified period.
  • TouristRental. A rental of a facility from a tourist

Vacation Rental in Atenas Costa Rica

New Version of the Python Package pysmartdatamodels 0.6.0

There is a new version of the python package for pysmartdatamodels 0.6.0.

This python package includes all the data models and several functions to use them in your developments.

Changelog:

– Four new functions

  • New functions to generate fake example files given the schema payload of the data model in normalized ngsi-ld format,  key value ngsi-ld format and geojson feature format
  • New function to update a broker compliant with a specific data model

– Acknowledgement session has been added into the README.

pysmartdatamodels 0.6.0

Get more details on the pypi page and feel free to try it out!

Would you use an attestation of your contribution to SDM?

We are considering to officially provide an attestation of your contributions to SDM.

Before launching it officially we have created a drafted document for those contributors with a valid mail and name (there are people who do not want to disclose their contribution).

Accordingly, if you browse the database of contributors you will see a new column with the heading attestation and a download draft link.

By clicking on that link you can download the draft version of an attestation of your contribution.

We’ll be glad to receive your feedback on this initiative and the format and content of the attestation in the info@smartdatamodels.org address.

You can see an example below

attestation_alberto.abella@fiware.org_dataModel.Agrifood_2022

 

Discord channel for Smart data models, #smart-data-models

Now you can see in the right widget a new entry with the link for our channel on discord #smart-data-models, you can also send your question there. (But only once you have joined by using this invitation )

If you need help on discord channel you can browse this link.

 

Simple but useful programs to interact with a broker in PHP

We have released two very simple programs to create an entity in a context broker and for removing an entity based on its id.

Although this is pretty straight forward, being coded in PHP allows you to integrate with, in example, in a WordPress site.

In fact these programs are working in the test Orion-LD broker option, located here at home -> tools -> test Orion-LD broker

The source code is available at the utils directory and the  data-models umbrella repository

create_broker_entity.php

remove_broker_entity.php

Test an Orion-LD broker populated with the SDM examples

In the tools menu there is a new option “Test Orion-LD broker“.
In this address https://smartdatamodels:1026 there is an Orion-LD Broker installed open for testing purposes. You can check

It is wiped out every hour, on minute 27, and then repopulated with some hundreds of examples (most of the current examples in data models).

Some examples of queries:

full specification 1.6.1

FIWARE summit: Presentation on SALTED project. Data enrichment.

Here there are the slides of the SALTED project presented at the session on SDM during past FIWARE summit held at Vienna.

It deals with data enrichment and how to merge heterogeneous data sources.

FIWARE summit presentations. Training on SDM.

In these links you can find the two presentations of the training camp held during past week FIWARE summit.