-
Notifications
You must be signed in to change notification settings - Fork 152
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
Framing and @reverse #588
Comments
@azaroth42 could you come up with a specific, minimal example which illustrates the issue? You might use my distiller as a way of expressing the actual behavior, at least until the last bits of framing support are in the playground. |
Input JSON-LD:
Input Frame:
Output JSON-LD:
Note the presence of both |
@azaroth42 doesn't look like this was ever resolved or put into the framing spec, do you want to replicate it over there? |
Yes I am also facing an issue regarding the same, About |
It's not an error to include this triple, but you can construct a frame which will eliminate it (playground): {
"@context": {
"eg": "https://example.org/ns/",
"reversed": {"@reverse": "eg:forwards", "@type": "@id"},
"forwards": {"@id": "eg:forwards", "@type": "@id"},
"Thing": {"@id": "eg:Thing"}
},
"@id": "http://example.com/1",
"reversed": {
"@embed": "@always",
"@explicit": true
}
} |
Hi, I quite a dint understand what changes I need to do in the frame as per my sample example? |
I added |
òk..I tried doing it but still get the same response there is no part info test:hasPart in the output |
I can't parse your example, as there may be encoding issues. Can you send a (shortened) link to the playground with your example loaded? |
Here is the URL, the output I get of Playground is not that I get from the jsonld-java |
jsonld-java may not support |
ahh ok |
Further to #311, should the predicate that triggered the use of an
@reverse
property in a frame be removed from its resource to avoid a necessarily circular reference?For example, if the data shape is:
X includes Y
Z is Y
Z in X
And there's a @reverse of "in" called "proxies" which is then @embed always via a Frame, should the Z resources also have in back to X?
I would have expected:
But instead the
in
property is still present in Z.Use Case: http://openarchives.org/ore/0.9/jsonld#proxies
The text was updated successfully, but these errors were encountered: