Skip to content

What's the correct subject id for RDF representation? #91

Description

@afandian

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 uses http://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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    clarityA point where we should write a test for great clarity on the behaviour.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions