HydraCG / Specifications

Specifications created by the Hydra W3C Community Group
Other
138 stars 26 forks source link

JSON-LD context missing @type #201

Closed thewilkybarkid closed 4 years ago

thewilkybarkid commented 4 years ago

The JSON-LD context doesn't contain a @type for hydra:manages, hydra:subject, and hydra:object.

Refs https://gitlab.com/vincenttunru/rdf-namespaces/merge_requests/3.

alien-mcl commented 4 years ago

Indeed, it seems that hydra:manages does not have any @type defined. We may add it, but honestly - I don't expect other than blank nodes here (you'll end up with JSON object in this case).

As for the hydra:subject and hydra:object there is a @type = @vocab defined effectively making values of those predicates nodes with Iri expanded relatively to vocabulary.

alien-mcl commented 4 years ago

@thewilkybarkid - are these answers satisfactory for you? Can I close this issue?

alien-mcl commented 4 years ago

I assume answer satisfies @thewilkybarkid . If not, please feel free to reopen.