215_human_proteins_with_solved_structure

rq turtle/ttl

Count how many reviewed human proteins have at least one experimentally determined 3D structure cross-referenced from a PDB entry

Use at

PREFIX up: <http://purl.uniprot.org/core/>
PREFIX taxon: <http://purl.uniprot.org/taxonomy/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT
  (COUNT(DISTINCT ?protein) AS ?proteinsWithStructure)
WHERE {
  ?protein a up:Protein ;
    up:organism taxon:9606 ;
    up:reviewed true ;
    rdfs:seeAlso ?structure .
  ?structure a up:Structure_Resource ;
    up:database <http://purl.uniprot.org/database/PDB> .
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v1("?protein"):::projected 
  v3("?proteinsWithStructure")
  v2("?structure")
  c8(["up:Structure_Resource"]):::iri 
  c10([http://purl.uniprot.org/database/PDB]):::iri 
  c6(["true^^xsd:boolean"]):::literal 
  c2(["up:Protein"]):::iri 
  c4(["taxon:9606"]):::iri 
  v1 --"a"-->  c2
  v1 --"up:organism"-->  c4
  v1 --"up:reviewed"-->  c6
  v1 --"rdfs:seeAlso"-->  v2
  v2 --"a"-->  c8
  v2 --"up:database"-->  c10
  bind1[/"count(?protein)"/]
  v1 --o bind1
  bind1 --as--o v3