A set of SPARQL examples that are used in different SIB resources
Proteins with cross-references to InterPro
PREFIX : <http://nextprot.org/rdf/>
PREFIX db: <http://nextprot.org/rdf/db/>
SELECT DISTINCT ?entry ?iprac WHERE {
?entry :reference ?ref.
?ref :provenance db:InterPro.
?ref :accession ?iprac}
order by ?entry ?iprac
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?entry"):::projected
v2("?iprac"):::projected
v3("?ref")
c3([":db/InterPro"]):::iri
v1 --":reference"--> v3
v3 --":provenance"--> c3
v3 --":accession"--> v2