185_proteins_by_keyword_complete_enumeration
- keyword
- classification
- enzyme
Count reviewed proteins classified with the controlled-vocabulary keyword Kinase (keywords:418) via up:classifiedWith. This is the complete route to "every kinase": a free-text search over protein names or comments for the word "kinase" would miss proteins named with the synonym "Phosphotransferase" (keywords:418's own skos:altLabel) instead, while curator-assigned keyword classification catches both consistently
Use at
PREFIX up: <http://purl.uniprot.org/core/>
PREFIX keywords: <http://purl.uniprot.org/keywords/>
SELECT
(COUNT(DISTINCT ?protein) AS ?count)
WHERE {
?protein up:reviewed true ;
up:classifiedWith keywords:418 .
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?count")
v1("?protein"):::projected
c4(["keywords:418"]):::iri
c2(["true^^xsd:boolean"]):::literal
v1 --"up:reviewed"--> c2
v1 --"up:classifiedWith"--> c4
bind1[/"count(?protein)"/]
v1 --o bind1
bind1 --as--o v2