Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"iudx:SmartParking" part of the context in the OffStreetParking example, but not in OnStreetParking #25

Closed
fbattello opened this issue Oct 28, 2022 · 1 comment

Comments

@fbattello
Copy link

Hi,

"iudx:SmartParking" is present in the context of the OffStreetParking example.
Is this normal ?

The broker - in my case Orion-LD - refuses - for that reason - to persist the OffStreetParking example.
It seems that it hasn't been able to resolve the uri.
Showing me this error message : NgsiInternalError: Timeout during download of an @context : iudx:SmartParking.
After removing it from the context, I can persist the entity in the broker.

Strangely this "iudx:SmartParking" part of the context is not present in the OnStreetParking example.

@albertoabellagarcia
Copy link
Contributor

This is an actual example, so they use what they need. Examples are there for illustrative reasons, and the internal configuration of their systems, like adding additional context sources is possible. You can remove it definitely.

We create a @context always in the root of the subject. Visit it here
https://github.com/smart-data-models/dataModel.Parking/blob/master/context.jsonld

But you can use anything you want, and in fact we have two tools at smartdatamodels.org to help you with that

Home -> tools-> Mapper @context with external ontologies for mapping the terms of the SDM with external ontologies.
Home -> tools -> Subjects' @context merger for merging several @contexts coming from different subjects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants