sparql-examples

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

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

NXQ_09645

rq turtle/ttl

Check there are no entries with a variant, responsible for a disease, that do not have the keyword KW-0225 (Disease mutation)

Use at

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

select distinct ?entry where {
  ?entry :isoform /:variant /:disease ?dis.
  filter not exists {?entry :isoform /:keyword /:term cv:KW-0225.}
}