A set of SPARQL examples that are used in different SIB resources
Check there are no entries with peptide mapping annotations with peptides of length 6 aa or less
PREFIX : <http://nextprot.org/rdf/>
PREFIX cv: <http://nextprot.org/rdf/terminology/>
select distinct ?entry where {
?entry :isoform / :peptideMapping /:position ?pmpos .
?pmpos :start ?start; :end ?end .
filter((?end - ?start + 1) <= 6 )
}