sparql-examples

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

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

NXQ_09037

rq turtle/ttl

Check there are no entries with glycosylation site annotations with evidence NOT from UniProt, neXtProt or GlyConnect

Use at

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

select distinct ?entry ?src where {
  ?entry :isoform ?iso.
  ?iso :glycosylationSite /:evidence /:assignedBy ?src.
  filter ( ?src not in (source:Uniprot, source:NextProt, source:GlyConnect))
}
:isoform
:glycosylationSite
:evidence
:assignedBy
?entry
?iso
?src
?src != ':source/Uniprot'?src != ':source/NextProt'?src != ':source/GlyConnect'