We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ORION_LD 1.6.0-pre-1570
Create an Entity with a VocabularyProperty
url -s -X POST \ 'http://localhost:1026/ngsi-ld/v1/entities/' \ -H 'Content-Type: application/ld+json' \ -d '{ "id": "urn:ngsi-ld:Building:store001", "type": "Building", "category": {"type": "VocabularyProperty", "vocab": "commercial"}, "address": { "type": "Property", "value": {"streetAddress": "Bornholmer Straße 65", "addressRegion": "Berlin", "addressLocality": "Prenzlauer Berg", "postalCode": "10439"}, "verified": {"type": "Property", "value": true} }, "location": {"type": "GeoProperty", "value": {"type": "Point", "coordinates": [13.3986, 52.5547]} }, "name": {"type": "Property", "value": "Bösebrücke Einkauf"}, "furniture": { "type": "Relationship", "object": [ "urn:ngsi-ld:Shelf:unit001", "urn:ngsi-ld:Shelf:unit002", "urn:ngsi-ld:Shelf:unit003" ] }, "@context": "http://context/ngsi-context.jsonld" }'
vocab
"category": {"type": "VocabularyProperty", "vocab": ["commercial"]},
options=simplified
format=simplified
curl -L 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Building:store001/?options=keyValues'
Returns the category in Normalized format.
"category": { "type": "VocabularyProperty", "vocab": "commercial" },
options=concisr
format=concise
curl -L http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Building:store001/?options=concise
Causes the broker to crash.
curl -L 'http://localhost:1026/ngsi-ld/v1/entities/' \ -H 'Content-Type: application/ld+json' \ --data-raw '{ "id": "urn:ngsi-ld:Building:store005", "type": "ビル", "カテゴリー": { "type": "VocabularyProperty", "vocab": "コマーシャル" }, "住所": { "type": "Property", "value": { "streetAddress": "Eisenacher Straße 98", "addressRegion": "Berlin", "addressLocality": "Marzahn", "postalCode": "12685" } }, "場所": { "type": "GeoProperty", "value": { "type": "Point", "coordinates": [13.5646, 52.5435] } }, "名前": { "type": "Property", "value": "Yuusui-en" }, "@context":"http://context/japanese-user-context.jsonld" }'
Inserts successfully, but retrieval using another context.
curl -L 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Building:store005' \ -H 'Content-Type: application/json' \ -H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"'
causes the broker to crash.
All the @context files can be found here: https://github.com/FIWARE/tutorials.Working-with-Linked-Data/tree/feature/vocab/data-models
@context
The text was updated successfully, but these errors were encountered:
Array reduction - part of multi-issue #1542
93f9f14
Merge pull request #1543 from FIWARE/bug/1542
af6c4a0
Further investigation. No crash occurs when running with
-dbhost mongo-db -logLevel DEBUG -experimental
However, the broker exits If I use:
-dbhost mongo-db -logLevel DEBUG -experimental -forwarding
Sorry, something went wrong.
kzangeli
No branches or pull requests
ORION_LD 1.6.0-pre-1570
Create an Entity with a VocabularyProperty
vocab
as an array of one item, it is returned as an array and not reduced.options=simplified
,format=simplified
)curl -L 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Building:store001/?options=keyValues'
Returns the category in Normalized format.
options=concisr
,format=concise
)curl -L http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Building:store001/?options=concise
Causes the broker to crash.
Inserts successfully, but retrieval using another context.
causes the broker to crash.
All the
@context
files can be found here: https://github.com/FIWARE/tutorials.Working-with-Linked-Data/tree/feature/vocab/data-modelsThe text was updated successfully, but these errors were encountered: