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

New version of the spreadsheet for drafting data models

You can see in the main page an image like the one below.

It takes you to a google spreadsheet where you can draft simple data models even without knowledge of json schema.

Json schema is the format that stores the master description of the data models in the Smart Data Models.

Now there are two additional tabs, ADOPTERS.yaml and notes.yaml which helps you to fill those files which are mandatory to be present but empty if you do not want to disclose your use case or you do not need to add additional explanations about the submitted data model.

Note: if you want to use the spreadsheet you need to:

– Create a local copy in your google account

– Allow the scripts to be executed

– Fill the yellow cells and click on the buttons

Feedback is always welcomed at info@smartdatamodels.org

Distribution and Catalogue from STAT-DCAT-AP new data models published

The mapping of the STAT-DCAT-AP 1.0.1 ha been extended with the mapping of two new classes Distribution and Catalogue in the subject (subject is a group of data models).

Thanks to the collaboration with the project INTERSTAT these two models has been mapped.

  • Catalogue. Catalogue of datasets compliant with STAT-DCAT-AP 1.0.1 specification.
  • Distribution. This is a distribution belonging to a dataset according to the STAT-DCAT-AP standard 1.0.1

Their terms are already available in the @context of the subject.