Re: Few concepts

Hi Karol,

> 1. The most annoying thing from my perspective is Hydra’s expect/returns predicates. In general, an operation returns (or expects) a class. I think this is most unfortunate as first thoughs are that it expects a class definition. This is not the case – it expects a resource that is of a given class. And here is my issue with current implementation. Instead of having:
> my:restOperation a hydra:Operation.
> my:restOperation hydra:expects schema:Action.
> 
> I’d prefer:
> my:restOperation a hydra:Operation.
> my:restOperation hydra:expects _:someResource.
> _:someResource a hydra:Resource.
> _:someResource imaginary:ofClass schema:Action.

Actually, don't we just need SHACL here?

Ruben

Received on Friday, 9 October 2015 09:09:59 UTC