A set of SPARQL examples that are used in different SIB resources
Select enzymes that have ligands known to have an allosteric effect
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX up: <http://purl.uniprot.org/core/>
SELECT
?protein
?ligandName
?ligandNote
?chebi
WHERE {
?protein up:annotation ?annotation .
?annotation a up:Binding_Site_Annotation .
?annotation up:ligand ?ligand .
?ligand rdfs:comment ?ligandNote ;
rdfs:subClassOf ?chebi ;
rdfs:label ?ligandName .
FILTER(REGEX(?ligandNote, "allosteric", "i"))
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?annotation")
v5("?chebi"):::projected
v4("?ligand")
v6("?ligandName"):::projected
v1("?ligandNote"):::projected
v2("?protein"):::projected
c5(["up:Binding_Site_Annotation"]):::iri
f0[["regex(?ligandNote,'allosteric','i')"]]
f0 --> v1
v2 --"up:annotation"--> v3
v3 --"a"--> c5
v3 --"up:ligand"--> v4
v4 --"rdfs:comment"--> v1
v4 --"rdfs:subClassOf"--> v5
v4 --"rdfs:label"--> v6