A set of SPARQL examples that are used in different SIB resources
Proteins whose sequence was updated in 2014
PREFIX : <http://nextprot.org/rdf/>
SELECT DISTINCT ?entry WHERE {
?entry a :Entry.
?entry :history / :lastSequenceUpdate ?sequpd.
filter(contains(str(?sequpd),"2014"))
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?entry"):::projected
v1("?sequpd")
a1((" "))
c3([":Entry"]):::iri
f0[["contains(str(?sequpd),'2014')"]]
f0 --> v1
v2 --"a"--> c3
v2 --":history"--> a1
a1 --":lastSequenceUpdate"--> v1