Open vanthome opened 9 years ago
I'll put here another question as it seems relevant.
When we define a hydra:Class we know:
How we should guide the client in order to know that /thing/{id}
is the IRI for an instance of this class?
We can not assign this as an @id
and the whole Class node has no other IRI.
Should we use hydra:Link or hydra:TemplatedLink as an rdf:Property of a Class?
That way we are just looking for hydra:Link term in order to proceed, whether it is used as a class or a property.
How we should guide the client in order to know that /thing/{id} is the IRI for an instance of this class?
That's not something the client should know. Rather, the client should know: what is the IRI of this particular instance?
Should we use hydra:Link or hydra:TemplatedLink as an rdf:Property of a Class?
hydra:TemplatedLink
How we should guide the client in order to know that /thing/{id} is the IRI for an instance of this class?
Issue #50 has a possible solution
Although it is intuitive/ logical, that the target IRI is (by default) the IRI defined by the
@id
of the closest subject of thehydra:operation
, this should be specified or at least documented. I think this part is not yet covered by anything in surrounding specs like JSON-LD.