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
Content Negotiation #124
Comments
The PR #127 adds a section describing the role of Content Negotiation. |
requirement is understood... the wrinkle here is that is not so easy to define how to return an "OWL snippet" - because generally many different pieces of an ontology may refer to a class - such as rdfs:domain and range statements, statements about the properties of the class etc.. so generally we'll return an entire OWL file or an HTML rendering of OWL file with a fragment identifier etc. stay tuned - working on this now - I've just completed a flexible automated entailment and SHACL validation environment in python which can be run on the desktop or as a github action - this is because the "whole repository" approach previously available was nearly impossible to debug. I now have to extend the scope of the processing to the incubation area for models such as this.. |
@rob-metalinkage How about simply running a For example, See the output on the attached screenshot (using Postman). |
https://www.w3.org/Submission/CBD/ was a useful start. I'd add inverse links as well as outbound relations. |
@ghobona I understand that DESCRIBE is implementation specific. |
I presume that CBD was submitted to W3C in 2005 and never approved as a W3C Recommendation. Am I right? |
That's correct. |
The query above demonstrating the deficinecy, Content Negotiation by Profile suggests that the server should not respond with Not Found but instead with the default profile/format combo. I suggest that the ConnegP instructions should be followed but that a note similar to "A profile for the requested URI base exists but no rules match for the requested format" be included in the response. This may clean up some perceptions of the Content Negotiation implementation. CBDIt does appear, from multiple projects not just here, that we generally need a profile defined around the CBD definition which is then all data the system holds centered on the requested object. I expect such a profile is a "fundamental" profile, just as "Container Members" and "Container Annotations" (all info other than member listing) are such profiles. We - OGC and all of us - are missing a catalogue of such fundamental profiles. |
The "Container Annotations" fundamental profile is defined: https://w3id.org/profile/contanno. I will:
|
Additional request for Content Negotiation to enable access to JSON and XML representations of Tile Matrix Sets. Cc: @jerstlouis |
Revisiting the original issue - a) text/ttl not supported (its text/turtle) - an elegant response to be provided. We'll sort these out. |
Related to #123 but with some different nuance
i am struggling with content negotiation with the OGC registry
I expect
to return the turtle encoded Owl Ontology
this currently works using a hard coded redirect, as described in #123
i also expect this pattern to work for individual resources.
So, while
successfully resolves to the html web page
I would expect
to return the Owl definition of the
owl:Class
bald:Reference
but no, i get an `ERROR 404: Not Found' response
this is surprising and concerning
more experimentation unearths the pattern
but this returns a payload of
This is also unexpected. The resource
https://www.opengis.net/def/binary-array-ld/Reference
is defined withinhttps://www.opengis.net/def/binary-array-ld
asbut I don't seem to be able to return this payload from the definitions server
Please may you help / advise on this behaviour and whether the requirement from me is clear?
thank you
mark
The text was updated successfully, but these errors were encountered: