-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Frame aliasing @graph
broken when omitGraph = false
#257
Comments
@graph
gives strange result@graph
gives strange result
@filip26 do you have any idea why this happens and what is needed to fix it? I could try to open a PR. |
@lolgab the spec allows to alias any keyword except |
I managed to reproduce the error in tests and fix it :) |
@graph
gives strange result@graph
broken when omitGraph = false
@lolgab excellent, thank you! Please check the second test case, see my comment on PR. |
Fix #257 Frame aliasing `@graph` with omitGraph=true
Describe the bug
I want to rename the
@graph
name to something likedata
to have a Json output which can be consumed by applications that are not aware of Linked Data. This doesn't seem to work on titanium-json-ldTo Reproduce
Steps to reproduce the behavior:
Given this frame:
and this Json-LD:
Framing with the
omitGraph = false
option returns:Where the JSON-LD Playground returns:
Expected behavior
My expectation is to have the same result as JSON-LD Playground
The text was updated successfully, but these errors were encountered: