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

Arbitrary SwissProt accession identifier returned when record has multiple #85

@abargnesi

Description

@abargnesi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions