sparql-examples

A set of SPARQL examples that are used in different SIB resources

View the Project on GitHub sib-swiss/sparql-examples

neXtProt/NXQ_00065

Proteins that have more than one catalytic activity

Use at

PREFIX : <http://nextprot.org/rdf/>

SELECT DISTINCT ?entry WHERE {
 ?entry :isoform / :enzymeClassification / :term ?ec .
}
group by ?entry having (count(distinct ?ec)>1)
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v3("?_anon_524857e97b124dceaa8a4ecc8d1a18271834")
  v2("?ec")
  v1("?entry"):::projected 
  a2((" "))
  a3((" "))
  a1((" "))
  f0[[" > '1^^xsd:integer'"]]
  f0 --> a1
  v1 --":isoform"-->  a2
  a2 --":enzymeClassification"-->  a3
  a3 --":term"-->  v2
  bind2[/"count(?ec)"/]
  v2 --o bind2
  bind2 --as--o v3