Let's say I want to retrieve the yeast-specific identifier for a certain protein, in the example below it will be P00330 which I would like to link to YOL086C.
When I go to uniprot's sparql UI and type
PREFIX up:<http://purl.uniprot.org/core/>
PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#>
SELECT *
WHERE
{
Bind(<http://purl.uniprot.org/uniprot/P00330> as ?protein).
?protein rdfs:seeAlso ?db .
?db up:database <http://purl.uniprot.org/database/SGD> .
}
it returns
protein db
http://purl.uniprot.org/uniprot/P00330 http://purl.uniprot.org/sgd/S000005446
How would I now go on and find the YOL086C
? When I add the line
?db ?p ?o
to the query above, I don't see anything that would directly lead me to the identifier.
I also tried to access another database
?db2 up:database <http://purl.uniprot.org/database/EuPathDB>
but this returns all kind of databases while I am interested only in the FungiDB
. How could I select this one?
How could I link the two IDs to each other?