We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Using "@container" : "@type" when Framing JSON-LD fails when @type is missing.
Graph
{ "@context": { "@vocab": "http://schema.org/" }, "@type": "Event", "location": { "@id": "http://kg.artsdata.ca/resource/K11-200" } }
Frame
{ "@context": { "@vocab": "http://schema.org/", "location": { "@type": "@id", "@container": "@type" } }, "@type": "Event" }
"@none" when there is no @type.
Result from JSON-LD Playground
{ "@context": { "@vocab": "http://schema.org/", "location": { "@type": "@id", "@container": "@type" } }, "@type": "Event", "location": { "@none": "http://kg.artsdata.ca/resource/K11-200" } }
NoMethodError: undefined method `keys' for "http://kg.artsdata.ca/resource/K11-200":String if compacted_item.keys.length == 1 && expanded_item.keys.include?('@id')
The text was updated successfully, but these errors were encountered:
Add compaction to @type map when the compacted item is not already a …
fb6d594
…map. From ruby-rdf/json-ld#62.
be7e7a5
No branches or pull requests
Using "@container" : "@type" when Framing JSON-LD fails when @type is missing.
Test
Graph
Frame
Expected behaviour
"@none" when there is no @type.
Result from JSON-LD Playground
Current behaviour
The text was updated successfully, but these errors were encountered: