Replies: 1 comment 2 replies
-
|
@Tpt if you have any reference to such formats, we would be interested (to document the existing use-cases). If this is a common practice, I agree that we should address it. Possible alternative: use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you for this work on JSON-LD-star. It's great to see it coming forward!
I encountered multiple datasources where an attribute I would like to parse as an RDF* annotation is in the same level as the other attributes of the triple object.
For example I would like to be able to parse
"role"into an annotation of the"actor"relation from the following JSON:{ "name": "My movie", "actor": { "name": "John Doe", "role": "the vilain" } }for that, allowing something like
"@container": "@annotation"in the context might be convenient.To follow the example, it might be very handy to write a context like:
{ "@vocab": "http://schema.org/", "actor": {"@type": "Person"}, "role": {"@container": "@annotation"} }To get the following RDF*:
What do you think about it?
Beta Was this translation helpful? Give feedback.
All reactions