-
Notifications
You must be signed in to change notification settings - Fork 28
Vocabulary extensions #182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -59,6 +59,19 @@ | |
| "mapping": "hydra:mapping", | ||
| "IriTemplateMapping": "hydra:IriTemplateMapping", | ||
| "variable": "hydra:variable", | ||
| "skip": { "@id": "hydra:skip", "@type": "xsd:integer" }, | ||
| "take": { "@id": "hydra:take", "@type": "xsd:integer" }, | ||
| "returnsHeader": { "@id": "hydra:returnsHeader", "@type": "xsd:string" }, | ||
| "expectsHeader": { "@id": "hydra:expectsHeader", "@type": "xsd:string" }, | ||
| "mediaType": { "@id": "hydra:mediaType", "@type": "hydra:MediaType" }, | ||
| "MediaType": "hydra:MediaType", | ||
| "Header": "hydra:Header", | ||
| "HeaderTemplate": "hydra:HeaderTemplate", | ||
| "MediaTypedResource": "hydra:MediaTypedResource", | ||
| "CollectionSpecification": "hydra:CollectionSpecification", | ||
| "Template": "hydra:Template", | ||
| "headerName": { "@id": "hydra:headerName", "@type": "xsd:string" }, | ||
| "target": { "@id": "hydra:target", "@type": "@id" }, | ||
| "defines": { "@reverse": "rdfs:isDefinedBy" }, | ||
| "comment": "rdfs:comment", | ||
| "label": "rdfs:label", | ||
|
|
@@ -240,7 +253,7 @@ | |
| "label": "expects", | ||
| "comment": "The information expected by the Web API.", | ||
| "domain": "hydra:Operation", | ||
| "range": "hydra:Class", | ||
| "range": "hydra:Resource", | ||
| "vs:term_status": "testing" | ||
| }, | ||
| { | ||
|
|
@@ -249,7 +262,7 @@ | |
| "label": "returns", | ||
| "comment": "The information returned by the Web API on success", | ||
| "domain": "hydra:Operation", | ||
| "range": "hydra:Class", | ||
| "range": "hydra:Resource", | ||
| "vs:term_status": "testing" | ||
| }, | ||
| { | ||
|
|
@@ -428,7 +441,7 @@ | |
| { | ||
| "@id": "hydra:IriTemplate", | ||
| "@type": "hydra:Class", | ||
| "subClassOf": "hydra:Resource", | ||
| "subClassOf": ["hydra:Template", "hydra:Resource"], | ||
| "label": "IRI Template", | ||
| "comment": "The class of IRI templates.", | ||
| "vs:term_status": "testing" | ||
|
|
@@ -485,7 +498,7 @@ | |
| "@type": "rdf:Property", | ||
| "label": "mapping", | ||
| "comment": "A variable-to-property mapping of the IRI template.", | ||
| "domain": "hydra:IriTemplate", | ||
| "domain": "hydra:Template", | ||
| "range": "hydra:IriTemplateMapping", | ||
| "vs:term_status": "testing" | ||
| }, | ||
|
|
@@ -505,6 +518,112 @@ | |
| "domain": "hydra:IriTemplateMapping", | ||
| "range": "xsd:string", | ||
| "vs:term_status": "testing" | ||
| }, | ||
| { | ||
| "@id": "hydra:target", | ||
| "@type": "rdf:Property", | ||
| "label": "invocation target", | ||
| "comment": "Explicit target of the invocation of the operation.", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Related to #154? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep, as it is stated in the PR's description at the very beginning |
||
| "domain": "hydra:Operation", | ||
| "rangeIncludes": ["hydra:IriTemplate", "hydra:Resource"], | ||
| "vs:term_status": "testing" | ||
| }, | ||
| { | ||
| "@id": "hydra:returnsHeader", | ||
| "@type": "rdf:Property", | ||
| "label": "returns header", | ||
| "comment": "Name of the header returned by the operation.", | ||
| "domain": "hydra:Operation", | ||
| "range": "xsd:string", | ||
| "vs:term_status": "testing" | ||
| }, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How about There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I actually tried to be consistent with |
||
| { | ||
| "@id": "hydra:expectsHeader", | ||
| "@type": "rdf:Property", | ||
| "label": "expects header", | ||
| "comment": "Specification of the header expected by the operation.", | ||
| "domain": "hydra:Operation", | ||
| "rangeIncludes": ["hydra:Header", "hydra:HeaderTemplate"], | ||
| "vs:term_status": "testing" | ||
| }, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto, I propose to rename to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While I believe both returned and expected headers should be connected to each other conceptually, this name is OK for me. For |
||
| { | ||
| "@id": "hydra:Template", | ||
| "@type": "rdfs:Class", | ||
| "label": "Template", | ||
| "comment": "Some abstract template.", | ||
| "vs:term_status": "testing" | ||
| }, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is way too vague. Why do you think we need an "abstract template"? Sound very much like OOP There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was for backward compatibility - I didn't want to introduce another term for template in headers, thus I had to revamp the domain of the existing one. I also didn't want to replace |
||
| { | ||
| "@id": "hydra:Header", | ||
| "@type": "rdfs:DataType", | ||
| "label": "Header", | ||
| "comment": "Specification of the header, including name and value(s).", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wonder, what is the current stand on Hydra vs HTTP? I mean, adding headers to the core signifies a close relation with the protocol. Did we ever decide to keep Hydra somewhat agnostic in that regard? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Point taken |
||
| "vs:term_status": "testing" | ||
| }, | ||
| { | ||
| "@id": "hydra:HeaderTemplate", | ||
| "@type": "rdfs:Class", | ||
| "subClassOf": "hydra:Template", | ||
| "label": "Header template", | ||
| "comment": "Specification of the header template with variables to be replaced with actual values.", | ||
| "vs:term_status": "testing" | ||
| }, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is the practical need for this Header template? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was just wondering i.e. about an |
||
| { | ||
| "@id": "hydra:headerName", | ||
| "@type": "rdf:Property", | ||
| "label": "header name", | ||
| "comment": "Name of the header.", | ||
| "domain": "hydra:HeaderTemplate", | ||
| "range": "xsd:string", | ||
| "vs:term_status": "testing" | ||
| }, | ||
| { | ||
| "@id": "hydra:MediaTypedResource", | ||
| "@type": "rdfs:Class", | ||
| "subClassOf": "hydra:Resource", | ||
| "label": "Resource with media type", | ||
| "comment": "Resource that has an RFC 6838 compliant media type specified.", | ||
| "vs:term_status": "testing" | ||
| }, | ||
| { | ||
| "@id": "hydra:mediaType", | ||
| "@type": "rdf:Property", | ||
| "label": "media type", | ||
| "comment": "Points to the RFC 6838 compliant media type specification.", | ||
| "domain": "hydra:MediaTypedResource", | ||
| "range": "hydra:MediaType", | ||
| "vs:term_status": "testing" | ||
| }, | ||
| { | ||
| "@id": "hydra:MediaType", | ||
| "@type": "rdfs:DataType", | ||
| "label": "Media type", | ||
| "comment": "An RFC 6838 compliant media type specification.", | ||
| "vs:term_status": "testing" | ||
| }, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The media type stuff is cool in principle but how does it relate to the other changes within this PR? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wanted to enable hydra to expect/return resources other than RDF. One of the approach of describing a resource would be to use the media type, i.e. for JPG or DOCX file that would be expected by the API |
||
| { | ||
| "@id": "hydra:CollectionSpecification", | ||
| "@type": "rdfs:Class", | ||
| "subClassOf": "hydra:Collection", | ||
| "label": "Collection specification", | ||
| "comment": "Describes a collection returned by the operation.", | ||
| "vs:term_status": "testing" | ||
| }, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where does that come from? How would this come up against the "manages block"? Sounds similar There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ther was an issue on denoting on the API what the collection describes. This was an attempt of enabling that part of the spec with such a description. |
||
| { | ||
| "@id": "hydra:skip", | ||
| "@type": "rdf:Property", | ||
| "label": "skip", | ||
| "comment": "Instructs to skip N elements of the set.", | ||
| "range": "xsd:integer", | ||
| "vs:term_status": "testing" | ||
| }, | ||
| { | ||
| "@id": "hydra:take", | ||
| "@type": "rdf:Property", | ||
| "label": "take", | ||
| "comment": "Instructs to limit set only to N elements.", | ||
| "range": "xsd:integer", | ||
| "vs:term_status": "testing" | ||
| } | ||
| ] | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| <mxfile modified="2019-02-05T19:54:49.436Z" host="www.draw.io" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0" etag="Z2rhXDptmFDliVCD3Pqa" version="10.1.3-4" type="device"><diagram id="XnWQGJoGxgPmXKETyfLD" name="Page-1">7V1te5s60v41/dhcgEDAxzZt9+xuu9vT9tmz+3yjNkk4dYwX4zbpr19hI2xmBAiQBGlIztUTYxkD98xoXm6NXpDr+4e/ZNHu7kO6jjcvHGv98IK8eeE4tk189r/iyOPpiG/R04HbLFmXg84HPic/4/KgVR49JOt4XxuYp+kmT3b1g6t0u41Xee1YlGXpj/qwm3RT/9ZddBujA59X0QYf/SNZ53f8vmh4fuO3OLm9K786cMobvo/44PJO9nfROv1xcYi8fUGuszTNT3/dP1zHm+Lh8edy+ty7hnerC8vibS7zgf+Ej/94Q/Z3vx9+7j7QmG5e5/9+Wd7F92hzKG/41S55k64O9+ysUZ6k2/Li80f+RPY/kvtNtGWvXt+k2/xz+Y7FXq/uks36ffSYHoor2ufR6ht/9fouzZKfbHy0YW/Z7AB7O8tLwB1anC3ZbK7TTZodv4fEVvFb++Tn4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GTJLADWR6aCshgQg3HyE1LSNMwHqTQJriUkvB9KwpLuVx0sxpWiHcZ2Mo0SSEs4drNi7lG7dMIOR1d9MZ28dmdci+N7SIb5+EBs1Cw0S+pSmGxBxzWp84lcgTtMpxoMi7wCHzoE+rW+T7rVBUIvKD958RCGx35XucwM5cDlHnAH/ofjGwxCJZGenNkIWrkfyOlYZQP8IaKVCPs8PXPl8oRd/uGY7qhORbq/h9sgnJFzJpqvbEo4t2lvG4g9SVo9JG9wsxfyhvkpQl+ShhNueSfAzxlor30W7HHv+C6whcRYQ/XbgK9ynFladya/NP0fYW66z8tlC9liA1uhud26KWcByXIVm0Zg0Fu4HrzLLAJaMkgDlU6bAP9ibFp2rwPs6n4gPTm5t9PNZTFkoOjg1Lydkfvh4Xpv7zZoT4dLaDP5NHe21o+mvJGPWVyRg7FQ0t16f26d/ZyRsOzJi8MXHLRUvo5QWtz0bUcntDP2F5CokyecKnMitD4tkYZ2250YrjV5t9OtJi4X0Qm2RJwZ6FT0iwqm7bY8UKnUirULGXWZrml8OzaHf3IV3HxYj/AQ==</diagram></mxfile> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that skip/take are too specific go beyond Hydra Core. Sound more like Data than generic API description language.
I agree it's a desired feature but maybe this could became part of an extension focused on handling collections in different way?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it is a desired feature, it should be provided in the core. I'm opened for alternative approaches though. These are just terms that are commonly used in other querying languages like SQL (TOP, LIMIT), LINQ (Skip, Take), etc.