-
Notifications
You must be signed in to change notification settings - Fork 9
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
What's the correct subject id for RDF representation? #91
Comments
I think there are two areas to consider:
1 would be ideal because it is the primary resource (assuming that the HTTPS DOI URI is used as PID) that's describing itself. This is the most common RDF/LD-safe route. If 1 is not possible (which seems to be case right now that's live), 2 should definitely be in place ie.: <http://dx.doi.org/10.1007/978-3-319-60131-1_33>
owl:sameAs <https://doi.org/10.1007/978-3-319-60131-1_33> . This is so that there is at least some semantic path to equating those things. Otherwise, we are forced to fall back to having consuming applications make "out of band" decisions (and hardcoding it) on the idea that the |
We already have the following:
So it's not such a stretch to expand this to include e.g.
|
I don't know the history of this too well, but I think that:
should be: But, yes, adding: would be a good start. Again, assuming that we want to use should have a response including the subject URI (as the primary thing that's being described) ie. using I'm not sure what purpose the dx.doi.org serves currently.. whether it is there for legacy reasons.. being phased out or.. so whether to include it or to signal that it is deprecated or not is something you'd know better. Note also the current HTTP headers:
and whether |
Issue moved to https://gitlab.com/crossref/rest_api/-/issues/91 as part of our transition to Gitlab. |
Given the RDF representation returned by this query:
https://api.crossref.org/works/10.1007/978-3-319-60131-1_33/transform/application/rdf+xml
The current RDF response refers to the subject using the
http://dx.doi.org
resolver:<rdf:Description rdf:about="http://dx.doi.org/10.1007/978-3-319-60131-1_33">
The same behaviour is observed when using a full URL DOI with a different resolver:
http://api.crossref.org/works/https://doi.org/10.1007/978-3-319-60131-1_33/transform/application/rdf+xml
This response is used for content negotiation queries, which may use a variety of DOI resolvers. If Content Negotiation is performed against
https://doi.org
but the response useshttp://dx.doi.org
then there is a mis-match.Question: Is this behaviour incorrect? Should the RDF response always use exactly the same DOI representation as was used in the query?
The text was updated successfully, but these errors were encountered: