Local @context improved

The local @context, used by NGSI-LD users of the platform has now taken into account those generic terms which are in the commons-schema.json at the root.

In fact, there is a @context based on these terms named common-context.jsonld.

So, the common terms have an IRI with this pattern https://smartdatamodels.org/term that in most cases is taking you to an actual page with some information about the term.

 

Local context available in all subjects

We the middle of a reorganization of the @context resources.

Our first priority is to not touch the @context that is currently available. We grant you we keep it.

Why is this new option being created?, because otherwise is not possible to solve the conflicts in the IRI when we have attributes with the same ‘name’ but with different meanings. Consequently, their long IRIs (for use in NGSI-LD) need to be different.

WHAT IS AVAILABLE TODAY

The first step is the creation of a local context.jsonld in the root of every subject. It has been made available today.

You can see an example of this local @context for the subject weather.

The long IRI has the format  (predictable):

“https://smartdatamodels.org/” +  subject name + “/” + attribute name

Ej. “precipitation”: “https://smartdatamodels.org/dataModel.Weather/precipitation”,

Soon there will be pages on that IRI (they are in fact URL) with some info about the attribute you could use for any purpose.

WHAT WILL BE AVAILABLE

1) In the coming future, you will be able to use the local IRI from the Smart Data Models program or commonly used ontologies and vocabularies.

2) A core of attributes will be kept common for many data models e.g. name, description, alternateName, location, address, etc. They will have IRI in the format

“https://smartdatamodels.org/” + attribute name

currently we already have these IRI but there will be also a translator for the properties in the format

“https://smartdatamodels.org/dataModel.Weather/category”: “https://smartdatamodels.org/category”,

3) Additionally,  the Smart Data Models to remain interoperable with external ontologies and vocabularies. so there will be also the option to create a @context with external references in the format

“https://smartdatamodels.org/name”: “schema:name”

Your comments are welcomed

Register to the open session all Mondays. Calendar shortcut. #support

Open sessions are 30 minutes of live support for users and contributors of the Smart Data Models held every Monday at 14:00 CET. You can also comment on your ideas about new required data models.
Now you can see in the announcement banner in the upper part of the page this icon

It allows you to add to your google calendar the open sessions all Mondays.

Updated the resources for generating automatic examples

Once you have the json schema of a smart Data model there are two services that allow you to generate random payloads compliant with the JSON schema in NGSI-LD.
both services are for generating

these services have been updated and some errors were fixed.

Soon these services will be also available for NGSI v2 platform.

 

600 data models. Call complains subject published and 4 new data models.

4 new data models are available for the CallComplaints subject. These data models are meant to help the management of a call center to gather complaints of users. Thanks to the contributors for their support of this publication. they belong to the cross sector domain.

  • CallUser. This entity contains a harmonized description of a generic User-made for the Call Complaints domain.
  • Complaint. This entity contains a harmonized description of a generic Complaint made for the Call Complaints domain.
  • ComplaintsCollection. This entity contains a harmonized description of a generic Complaints Collection made for the Call Complaints domain.
  • ComplaintsOrganization. This entity contains a harmonized description of a generic Organization made for the Call Complaints domain.

We reach the 600 hundred data models threshold with this contribution.

These models are quite far from the most popular image about complaint management on the net. 😀
Complaint Department Grenade

Completed the mapping of DCAT-AP 2.0.1 standard into smart data models. DataServiceDCAT-AP

DCAT-AP is the standard for the publication of information in open data portals in the EU and other countries. Based on the 2.0.1 version these data models are mapping the data Service class.

In the subject datamodel.DCAT-AP there is one data model, dataServiceDCAT-AP for describing this class,

  • DataServiceDCAT-AP. Data Service adapted from DCAT-AP 2.0 specification but extended with additional properties and compatible with NGSI standard

The most important classes of the standard DCAT-AP 2.0.1 have been mapped into smart data models in the subject datamodel.DCAT-AP.

 

CatalogueRecordDCAT-AP data model published in DCAT-AP subject

DCAT-AP is the standard for the publication of information in open data portals in the EU and other countries. Based on the 2.0.1 version these data models are mapping the catalogue record class.

In the subject datamodel.DCAT-AP there is one data model, catalogueRecord for describing these classes,

  • CatalogueRecord. This is a Catalogue Record belonging to a dataset according to the DCAT-AP standard 2.0.1

The remaining classes are in progress in the incubated repository

Image of the full classes diagram

3 new data models in FrictionlessData subject CSVDialectFrictionlessData, DataResourceFrictionlessData and TableSchemaFrictionlessData

The adaptation of the frictionless data standard is completed with these three new data models in the datamodel.FrictionlessData subject

  • CSVDialectFrictionlessData. The CSV dialect descriptor. Converted for Smart Data Models initiative from original frictionless data
  • DataResourceFrictionlessData. Data Resource. Converted for Smart Data Models initiative from original frictionless data
  • TableSchemaFrictionlessData. A Table Schema for this resource, compliant with the Table Schema specification. Converted for Smart Data Models initiative from original frictionless data

These data models can easy the integration with OpenSDG a tool for demonstrate the progress in terms of SDG for a region, large organization or country. Open SDG is an open source, free-to-reuse platform for managing and publishing data and statistics related to the UN Sustainable Development Goals (SDGs).