A set of SPARQL examples that are used in different SIB resources
Check there are no entries with GO biological process annotations with evidence NOT from the GO Consortium or neXtProt
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 :goBiologicalProcess /:evidence /:assignedBy ?src.
filter ( ?src not in (source:AgBase,
source:Alzheimers_University_of_Toronto,
source:ARUK-UCL,
source:BHF-UCL,
source:CACAO,
source:CAFA,
source:DFLAT,
source:dictyBase,
source:Ensembl,
source:FlyBase,
source:GDB,
source:GO_central,
source:GOC,
source:HGNC,
source:HGNC-UCL,
source:IntAct,
source:InterPro,
source:LIFEdb,
source:MGI,
source:MTBbase,
source:NTNU_SB,
source:ParkinsonsUK-UCL,
source:PINC,
source:Reactome,
source:RGD,
source:Roslin_Institute,
source:SGD,
source:SynGO,
source:SynGO-UCL,
source:SYSCILIA_CCNET,
source:Uniprot,
source:WB,
source:YuBioLab,
source:NextProt))
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?entry"):::projected
v3("?iso")
v1("?src"):::projected
a1((" "))
a2((" "))
f0[["?src != ':source/AgBase'?src != ':source/Alzheimers_University_of_Toronto'?src != ':source/ARUK-UCL'?src != ':source/BHF-UCL'?src != ':source/CACAO'?src != ':source/CAFA'?src != ':source/DFLAT'?src != ':source/dictyBase'?src != ':source/Ensembl'?src != ':source/FlyBase'?src != ':source/GDB'?src != ':source/GO_central'?src != ':source/GOC'?src != ':source/HGNC'?src != ':source/HGNC-UCL'?src != ':source/IntAct'?src != ':source/InterPro'?src != ':source/LIFEdb'?src != ':source/MGI'?src != ':source/MTBbase'?src != ':source/NTNU_SB'?src != ':source/ParkinsonsUK-UCL'?src != ':source/PINC'?src != ':source/Reactome'?src != ':source/RGD'?src != ':source/Roslin_Institute'?src != ':source/SGD'?src != ':source/SynGO'?src != ':source/SynGO-UCL'?src != ':source/SYSCILIA_CCNET'?src != ':source/Uniprot'?src != ':source/WB'?src != ':source/YuBioLab'?src != ':source/NextProt'"]]
f0 --> v1
v2 --":isoform"--> v3
v3 --":goBiologicalProcess"--> a1
a1 --":evidence"--> a2
a2 --":assignedBy"--> v1