sparql-examples

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

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

NXQ_09632

rq turtle/ttl

Check there are no entries with a variant annotation with the start less than 1

Use at

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

select distinct ?entry where {
  ?entry :isoform /:variant ?var.
  ?var :start ?start.
  filter ( ?start < 1)
}
:isoform
:variant
:start
?entry
?start
?var
?start < '1^^xsd:integer'