The new service for the generation of externally referenced @context has now available the mapping of the 13 SAREF ontologies.
Check them out in the ontologies_files directory in the data-models repo.
Category: SmartAeronautics
Local context service
If you want to use data models coming from several subjects you will have to merge (somehow) their @contexts.
In this first step, we offer you a service that allows you to choose what subjects you need to merge and to generate the @context.
See the instructions on the page. Now in Main menu -> @context -> Generate a local context
It also provides you with the conflicts in the attributes’ names, in order to let you solve them manually.
In the next step, possibly next week, you will have another service that will allow you to choose what reference ontologies and vocabularies you want to use and replace the Smart data models IRIs with those coming from these external sources.
Survey. What ontologies are you using, if any?
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
Update the contribution manual
The contribution maual has been updated.
Main changes:
- Only one normalized example is required (formerly 4)
- New image
- Tool for checking properties used on other data models
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.
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).
Open Session 16-8-21
- New data model checker
- Now also reports what properties are already being used in other data models and their definitions
- Slack channel. https://smart-data-models.slack.com
- In progress
-
-
- Work with frictionless data accepted by authors
- Working regarding the adoption of Energy data models
- DDI-CDI integration with NGSI-LD and smart data model
-