Comments (3)
It looks like there's a difference in the implementations when @id is included in the frame. In your example, if you remove "id": {},
, you should get the output you expect.
In the current draft, the behavior of @id
is undefined. However, in a branch being considered to be merged (which you can see here), it is expected to be one or more IRI or BNodes, which are used to match. However, it seems consistent with other matching to interpret {}
as a wild-card, so this is likely a bug in both the new spec and my implementation.
In the mean time, try just removing id
from the frame.
from json-ld.
Thank you. That appears to be exactly what is going on, and your work-around solves my immediate problem.
from json-ld.
This should be fully supported now.
from json-ld.
Related Issues (20)
- NameError: uninitialized constant JSON::LD::Writer HOT 3
- Problem with framing and bases HOT 1
- Debugging does not work HOT 2
- Error always mentions stdin, and not the real filename HOT 6
- @base not working for integer value in JSON HOT 1
- Failing test as of 2017-09-22 HOT 4
- --no-compact-to-relative option HOT 1
- RDF Dataset Normalization HOT 1
- Over a minute to create a graph HOT 7
- Certificate verification errors HOT 1
- Tutorial or example ? HOT 3
- schema.org seems to break JSON::LD::Reader HOT 4
- @id in JSON LD prevent matching HOT 3
- problem when compacting IRIs that contain `@` HOT 1
- Schema data no longer found in a non-deterministic manner HOT 4
- `JSON::LD::API.toRdf`, when given a Hash as input, may mutate it HOT 5
- Blank @id for embedded schema.org JSON-LD in webpage? HOT 10
- Framing JSON-LD Star HOT 8
- gen_context script usage HOT 5
- Using "@container" : "@type"
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 json-ld.