Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Arbitrary SwissProt accession identifier returned when record has multiple #85

Open
abargnesi opened this issue Oct 19, 2015 · 0 comments

Comments

@abargnesi
Copy link
Member

SwissProt namespace concepts from resource-generator's RDF dataset reference primary and secondary accessions through the dcterms:identifier predicate.

For example look at the primary accession Q7Z5M8. This record has multiple secondary accession identifiers.

All primary and secondary identifiers for that record will correctly find Q7Z5M8, but the returned identifier field is incorrect. The API is expecting to return a single identifier, but when a resource has multiple it will pick the last one.

The identifier should be fixed such that the identifier field always holds the primary accession when resolving by primary or secondary. This should be possible by following the dcterms:replaces predicate upstream.

Going further we could also link secondary identifiers to the SKOS concepts if they are available.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant