A set of SPARQL examples that are used in different SIB resources
Proteins with a mature chain of from 300 to 400 residues
PREFIX : <http://nextprot.org/rdf/>
SELECT DISTINCT ?entry WHERE {
?entry :isoform ?iso.
?iso :matureProtein [ :start ?mstart ; :end ?mend].
filter (?mend-?mstart > 0). # chain fully defined
bind(?mend - ?mstart as ?mlen)
filter(?mlen >= 300 && ?mlen <= 400)
}