Comments (5)
The version we are pushing of more reliable of @context is
http://smartdatamodels.org/context.jsonld
from data-models.
-
https://github.com/smart-data-models/data-models/blob/master/context.jsonld
is the versioned file held in the GitHub repository -
Since the GH-Pages branch for this project is
master
-https://smart-data-models.github.io/data-models/context.jsonld
is the hosted version of the same file. -
GitHub's
raw.githubusercontent.com
domain is used to serve unprocessed versions of files stored in GitHub repositories, sohttps://raw.githubusercontent.com/smart-data-models/data-models/master/context.jsonld
is a rendering of the same file. -
https://schema.lab.fiware.org/ld/context.jsonld
is a completely different context file originally generated from deprecated FIWARE data models repo that Smart Data models is building on. It may be the case that the domain is now forwarding to one of the other locations defined above.
from data-models.
Which among these should be referred for FIWARE context.
https://smart-data-models.github.io/data-models/context.jsonld
is probably the most stable URL, but personally I would host my own copy and refer to that:
https://smart-data-models.github.io
,https://raw.githubusercontent.com/smart-data-models
andhttps://github.com/smart-data-models
are all domains reliant on Microsoft ensuring that GitHub is available 24/7https://schema.lab.fiware.org
requires that the FIWARE Foundation infrastructure is available 24/7
Neither of these are guaranteed.
Furthermore, changes could be made to these files at any moment (e.g. adding new attributes) which may conflict with your own custom @context
file. Much better to copy the relevant sections instead and host them yourself.
from data-models.
The links(https://uri.fiware.org) referred within the context.jsonld are giving 404 error
According to the JSON-LD Spec :
a context is used to map terms to IRIs.
An IRI is not necessarily a URL - see here - it would be nice if the IRI resolved to a web page, but it is not essential.
Indeed, if you take the NGSI-LD Core @context
{
"@context": {
"ngsi-ld": "https://uri.etsi.org/ngsi-ld/",
"geojson": "https://purl.org/geojson/vocab#",
"id": "@id",
"type": "@type",
...
"@vocab": "https://uri.etsi.org/ngsi-ld/default-context/"
}
}
You can see that any unresolved short-name for an attribute will be mapped onto the default context e.g.:
xxx
=>https://uri.etsi.org/ngsi-ld/default-context/xxx
And that URL doesn't exist either.
from data-models.
Thank you for the clarification
from data-models.
Related Issues (20)
- Minor fixes in common-schema.json HOT 1
- Request for inclusion of common fields in common schema HOT 3
- Broken example links HOT 1
- Date related issues HOT 1
- Details needed on x-ngsi HOT 6
- Edit configuration files HOT 2
- Few corrections in ngsi-ld_generator_keyvalues_v0.93.py HOT 1
- Need info for certain example formats. HOT 1
- Rationale for including pieces of the NGSI-LD core context in data models HOT 2
- Question : unit of measure HOT 1
- Which @context to use as reference? HOT 1
- How to automatically generate the model.yaml and swagger.yaml HOT 3
- Install of PYSMARTDATAMODEL fails using poetry HOT 3
- Functionality unclear with regards to properties and attributes in pysmartdatamodels HOT 3
- Subschema's are not deterministic HOT 4
- SAREF terms have outdated URIs HOT 1
- Generate the OpenAPI specification from the file "common-schema.json" HOT 6
- Full context update? HOT 1
- Error in "location" when generating a random example HOT 5
- Missing dependency `ruamel.yaml` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from data-models.