sparql-examples

A set of SPARQL examples that are used in different SIB resources

View the Project on GitHub sib-swiss/sparql-examples

NXQ_09420

rq turtle/ttl

Check there are no entries that have an end position which is less than 0

Use at

PREFIX : <http://nextprot.org/rdf/>
PREFIX cv: <http://nextprot.org/rdf/terminology/>

select distinct ?entry where {
  ?entry :gene ?gene.
  ?gene :end ?end.
  filter (?end< 0 )
}