- From: Mark Wilkinson UPM <mark.wilkinson@upm.es>
- Date: Fri, 27 Apr 2018 11:58:56 +0200
- To: Lorenzo Moriondo <tunedconsulting@gmail.com>
- Cc: Hydra <public-hydra@w3.org>
Hi,
Well, it helps in that it seems to confirm that I cannot use message
schema definitions outside of what Hydra allows... :-)
M
On 04/27/2018 11:54 AM, Lorenzo Moriondo wrote:
> Hi,
>
> As per the definition of `hydra:expects`: its domain is a type
> `hydra:Operation` and its range is a type `hydra:Class`.
>
> https://github.com/lanthaler/Hydra/blob/master/spec/latest/core/core.jsonld#L256
>
> So it is that it is not possible to use these properties to reference
> entities that are not Hydra classes or its subclasses.
> Hope this helps.
>
> Regards
>
> On Fri, Apr 27, 2018, 10:41 AM Mark Wilkinson UPM
> <mark.wilkinson@upm.es <mailto:mark.wilkinson@upm.es>> wrote:
>
> I may be misinterpreting your answer.
>
> Specifically: I assume that the "reference to external
> vocabulary" (as
> you say in your response) would happen using the hydra:expects
> hydra:returns properties? And that the value of that property
> could be
> any externally-defined class or schema (e.g. an RDFS, or an XML
> Schema,
> or a JSON-Schema, or even an OWL Class?) If that interpretation of
> your answer is correct, then that is the answer to my question.
>
>
> Mark
>
>
>
>
> On 04/27/2018 11:18 AM, Lorenzo Moriondo wrote:
> > Hi,
> >
> > I don't know if I got the question right but the Hydra vocabulary
> > itself provides the syntax to describe endpoints, allowed
> methods and
> > their properties (for a full example check
> >
> https://github.com/HTTP-APIs/hydra-flock-vocab/blob/master/hydra_flock.jsonld
>
> > ). In general, Hydra is an extension of RDF so any referencing to
> > external vocabulary you may want can be specified in the JSON-LD
> > context and then assigned as a property to an Hydra class.
> >
> > Regards
> >
> > On Fri, Apr 27, 2018, 9:53 AM Mark Wilkinson UPM
> > <mark.wilkinson@upm.es <mailto:mark.wilkinson@upm.es>
> <mailto:mark.wilkinson@upm.es <mailto:mark.wilkinson@upm.es>>> wrote:
> >
> > Hello Hydra-ers!
> >
> > Quick Q: I've gone through the documentation (admittedly, not
> > deeply)
> > looking for some way to use the Hydra vocab to indicate where a
> > client
> > should go to find a schema defining the structure/syntax for
> a POST
> > operation (e.g. RDFS, XSD, JSON-Schema, etc.). I have had
> no luck
> > finding this myself, so hopefully someone on this list can point
> > me in
> > the right direction?
> >
> > Thanks!
> >
> > Mark
> >
> >
> >
> >
>
> --
> Dr. Mark D. Wilkinson
> BBVA-UPM Industry Chair on Biotechnology
> Isaac Peral Distinguished Researcher
> Centro de Biotecnología y Genómica de Plantas UPM-INIA (CBGP)
> Campus Montegancedo,
> Autopista M-40 (Km 38)
> 28223-Pozuelo de Alarcón (Madrid)
>
>
> "The urge to save humanity is almost always a false front
> for the urge to rule it"
>
> -- H. L. Mencken
>
--
Dr. Mark D. Wilkinson
BBVA-UPM Industry Chair on Biotechnology
Isaac Peral Distinguished Researcher
Centro de Biotecnología y Genómica de Plantas UPM-INIA (CBGP)
Campus Montegancedo,
Autopista M-40 (Km 38)
28223-Pozuelo de Alarcón (Madrid)
"The urge to save humanity is almost always a false front
for the urge to rule it"
-- H. L. Mencken
Received on Friday, 27 April 2018 09:59:28 UTC