You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support both @view sugar AND explicit ui:view predicate聽#4
Just like @type expands to rdf:type, @view should expand to jsonld:view.
Implementation
When parsing JSON-LD, solid-shim should:
Recognize @view as a reserved keyword
Expand it to http://www.w3.org/ns/json-ld#view
Store the triple: <subject> jsonld:view <viewUrl>
// In parseJsonLdToStore or similarif(data['@view']){constVIEW=$rdf.Namespace('http://www.w3.org/ns/json-ld#')store.add(subject,VIEW('view'),$rdf.sym(data['@view']))}
Semantic Equivalence
For interop with Solid's ui vocabulary:
jsonld:view owl:equivalentProperty ui:view .
This means queries for either predicate should match.
Activity