A set of SPARQL examples that are used in different SIB resources
Proteins with a mutagenesis in a position that correspond to an annotated active site
PREFIX : <http://nextprot.org/rdf/>
SELECT DISTINCT ?entry WHERE {
?entry :isoform ?iso.
?iso :mutagenesis /:start ?mutaPos.
?iso :activeSite /:start ?actsitePos.
filter (?mutaPos=?actsitePos)
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?actsitePos")
v3("?entry"):::projected
v4("?iso")
v1("?mutaPos")
a1((" "))
a2((" "))
f0[["?mutaPos = ?actsitePos"]]
f0 --> v1
f0 --> v2
v3 --":isoform"--> v4
v4 --":mutagenesis"--> a1
a1 --":start"--> v1
v4 --":activeSite"--> a2
a2 --":start"--> v2