A set of SPARQL examples that are used in different SIB resources
Check there are no entries with catalytic activity annotations with evidence from UniProt that is negative
PREFIX : <http://nextprot.org/rdf/>
PREFIX cv: <http://nextprot.org/rdf/terminology/>
PREFIX source: <http://nextprot.org/rdf/source/>
select distinct ?entry where {
?entry :isoform /:catalyticActivity /:evidence ?ev.
?ev :assignedBy source:Uniprot.
?ev :negative 1.
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?entry"):::projected
v2("?ev")
a1((" "))
a2((" "))
c7(["1^^xsd:integer"]):::literal
c5([":source/Uniprot"]):::iri
v1 --":isoform"--> a1
a1 --":catalyticActivity"--> a2
a2 --":evidence"--> v2
v2 --":assignedBy"--> c5
v2 --":negative"--> c7