A set of SPARQL examples that are used in different SIB resources
Proteins whose gene is annotated to be induced by interferons
PREFIX : <http://nextprot.org/rdf/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?entry WHERE {
?entry :isoform ?iso.
?iso :induction /rdfs:comment ?comment.
filter(regex (?comment,'IFN|interferon',"i"))
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?comment")
v2("?entry"):::projected
v3("?iso")
a1((" "))
f0[["regex(?comment,'IFN|interferon','i')"]]
f0 --> v1
v2 --":isoform"--> v3
v3 --":induction"--> a1
a1 --"rdfs:comment"--> v1