Skip to content

Commit

Permalink
Update uniprot_primary_accession.ttl
Browse files Browse the repository at this point in the history
modify description
add kw
  • Loading branch information
mcblatter authored and JervenBolleman committed Oct 30, 2024
1 parent 8955a41 commit 1832fda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/UniProt/uniprot_primary_accession.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

ex:uniprot_primary_accession a sh:SPARQLExecutable,
sh:SPARQLSelectExecutable ;
rdfs:comment "Extracting an UniProtKB primary accession from our IRIs. Is done with a bit of string manipulation. While UniProt primary accession are unique within UniProtKB they may be reused by accident or itentionally by other data sources. If we provided them as strings (not IRI) and if you used them in a query that way, you might accidentaly retrieve completly wrong records."@en ;
rdfs:comment "Extracting an UniProtKB primary accession from our IRIs. Is done with a bit of string manipulation. While UniProt primary accession are unique within UniProtKB they may be reused by accident or itentionally by other data sources. If we provided them as strings (not IRI) and if you used them in a query that way, you might accidentaly retrieve completely wrong records."@en ;
sh:prefixes _:sparql_examples_prefixes ;
sh:select """PREFIX uniprotkb: <http://purl.uniprot.org/uniprot/>
PREFIX up: <http://purl.uniprot.org/core/>
Expand All @@ -17,5 +17,6 @@ WHERE {
?protein a up:Protein .
BIND(substr(str(?protein), strlen(str(uniprotkb:))+1) AS ?primaryAccession)
}""" ;
schema:keywords "identifier" , "mapping" ;
schema:target <https://sparql.uniprot.org/sparql/> .

0 comments on commit 1832fda

Please sign in to comment.