sparql-examples

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

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

neXtProt/NXQ_09453

Check there are no entries with a keyword in the category "Molecular function" that does not apply to human proteins

Use at

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

select distinct ?entry where {  # Include ?kw if result is not 0 to identify problem keyword
  values ?kw {
  cv:KW-0008 # Acetylcholine receptor inhibiting toxin
  cv:KW-0022 # Alpha-amylase inhibitor
  cv:KW-0878 # Amphibian defense peptide
  cv:KW-0047 # Antifreeze protein
  cv:KW-0063 # Aspartyl esterase
  cv:KW-0078 # Bacteriocin
  cv:KW-1204 # Blood coagulation cascade activating toxin
  cv:KW-1222 # Bradykinin receptor impairing toxin
  cv:KW-0108 # Calcium channel impairing toxin
  cv:KW-1221 # Calcium-activated potassium channel impairing toxin
  cv:KW-0123 # Cardiotoxin
  cv:KW-1217 # Cell adhesion impairing toxin
  cv:KW-1265 # Chloride channel impairing toxin
  cv:KW-1216 # Complement system impairing toxin
  cv:KW-1061 # Dermonecrotic toxin
  cv:KW-0230 # DNA invertase
  cv:KW-0260 # Enterotoxin
  cv:KW-1206 # Fibrinogenolytic toxin
  cv:KW-1205 # Fibrinolytic toxin
  cv:KW-0302 # Gap protein
  cv:KW-1214 # G-protein coupled acetylcholine receptor impairing toxin
  cv:KW-1213 # G-protein coupled receptor impairing toxin
  cv:KW-1200 # Hemorrhagic toxin
  cv:KW-1199 # Hemostasis impairing toxin
  cv:KW-0387 # Ice nucleation
  cv:KW-0872 # Ion channel impairing toxin
  cv:KW-1028 # Ionotropic glutamate receptor inhibitor
  cv:KW-0425 # Lantibiotic
  cv:KW-0428 # Leader peptide
  cv:KW-0437 # Light-harvesting polypeptide
  cv:KW-0499 # Mobility protein
  cv:KW-0502 # Monoclonal antibody
  cv:KW-0504 # Morphogen
  cv:KW-0959 # Myotoxin
  cv:KW-0528 # Neurotoxin
  cv:KW-0562 # Pair-rule protein
  cv:KW-0568 # Pathogenesis-related protein
  cv:KW-0588 # Pheromone
  cv:KW-1202 # Platelet aggregation activating toxin
  cv:KW-1201 # Platelet aggregation inhibiting toxin
  cv:KW-0629 # Postsynaptic neurotoxin
  cv:KW-0632 # Potassium channel impairing toxin
  cv:KW-0638 # Presynaptic neurotoxin
  cv:KW-1275 # Proton-gated sodium channel impairing toxin
  cv:KW-0655 # Prothrombin activator
  cv:KW-1219 # Ryanodine-sensitive calcium-release channel impairing toxin
  cv:KW-0708 # Seed storage protein
  cv:KW-0709 # Segmentation polarity protein
  cv:KW-0731 # Sigma factor
  cv:KW-0737 # Silk protein
  cv:KW-0758 # Storage protein
  cv:KW-0766 # Superantigen
  cv:KW-0941 # Suppressor of RNA silencing
  cv:KW-0776 # Taste-modifying protein
  cv:KW-0800 # Toxin
  cv:KW-1242 # Viral contractile tail ejection system
  cv:KW-1255 # Viral exotoxin
  cv:KW-1182 # Viral ion channel
  cv:KW-1243 # Viral long flexible tail ejection system
  cv:KW-0916 # Viral movement protein
  cv:KW-0543 # Viral nucleoprotein
  cv:KW-1244 # Viral short tail ejection system
  cv:KW-1218 # Voltage-gated calcium channel impairing toxin
  cv:KW-0870 # Voltage-gated chloride channel impairing toxin
  cv:KW-1220 # Voltage-gated potassium channel impairing toxin
  cv:KW-0738 # Voltage-gated sodium channel impairing toxin
  }
  ?entry :isoform /:keyword /:term ?kw.
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v2("?entry"):::projected 
  v1("?kw")
  a1((" "))
  a2((" "))
  bind0[/VALUES ?kw/]
  bind0-->v1
  bind00([":terminology/KW-0008"])
  bind00 --> bind0
  bind01([":terminology/KW-0022"])
  bind01 --> bind0
  bind02([":terminology/KW-0878"])
  bind02 --> bind0
  bind03([":terminology/KW-0047"])
  bind03 --> bind0
  bind04([":terminology/KW-0063"])
  bind04 --> bind0
  bind05([":terminology/KW-0078"])
  bind05 --> bind0
  bind06([":terminology/KW-1204"])
  bind06 --> bind0
  bind07([":terminology/KW-1222"])
  bind07 --> bind0
  bind08([":terminology/KW-0108"])
  bind08 --> bind0
  bind09([":terminology/KW-1221"])
  bind09 --> bind0
  bind010([":terminology/KW-0123"])
  bind010 --> bind0
  bind011([":terminology/KW-1217"])
  bind011 --> bind0
  bind012([":terminology/KW-1265"])
  bind012 --> bind0
  bind013([":terminology/KW-1216"])
  bind013 --> bind0
  bind014([":terminology/KW-1061"])
  bind014 --> bind0
  bind015([":terminology/KW-0230"])
  bind015 --> bind0
  bind016([":terminology/KW-0260"])
  bind016 --> bind0
  bind017([":terminology/KW-1206"])
  bind017 --> bind0
  bind018([":terminology/KW-1205"])
  bind018 --> bind0
  bind019([":terminology/KW-0302"])
  bind019 --> bind0
  bind020([":terminology/KW-1214"])
  bind020 --> bind0
  bind021([":terminology/KW-1213"])
  bind021 --> bind0
  bind022([":terminology/KW-1200"])
  bind022 --> bind0
  bind023([":terminology/KW-1199"])
  bind023 --> bind0
  bind024([":terminology/KW-0387"])
  bind024 --> bind0
  bind025([":terminology/KW-0872"])
  bind025 --> bind0
  bind026([":terminology/KW-1028"])
  bind026 --> bind0
  bind027([":terminology/KW-0425"])
  bind027 --> bind0
  bind028([":terminology/KW-0428"])
  bind028 --> bind0
  bind029([":terminology/KW-0437"])
  bind029 --> bind0
  bind030([":terminology/KW-0499"])
  bind030 --> bind0
  bind031([":terminology/KW-0502"])
  bind031 --> bind0
  bind032([":terminology/KW-0504"])
  bind032 --> bind0
  bind033([":terminology/KW-0959"])
  bind033 --> bind0
  bind034([":terminology/KW-0528"])
  bind034 --> bind0
  bind035([":terminology/KW-0562"])
  bind035 --> bind0
  bind036([":terminology/KW-0568"])
  bind036 --> bind0
  bind037([":terminology/KW-0588"])
  bind037 --> bind0
  bind038([":terminology/KW-1202"])
  bind038 --> bind0
  bind039([":terminology/KW-1201"])
  bind039 --> bind0
  bind040([":terminology/KW-0629"])
  bind040 --> bind0
  bind041([":terminology/KW-0632"])
  bind041 --> bind0
  bind042([":terminology/KW-0638"])
  bind042 --> bind0
  bind043([":terminology/KW-1275"])
  bind043 --> bind0
  bind044([":terminology/KW-0655"])
  bind044 --> bind0
  bind045([":terminology/KW-1219"])
  bind045 --> bind0
  bind046([":terminology/KW-0708"])
  bind046 --> bind0
  bind047([":terminology/KW-0709"])
  bind047 --> bind0
  bind048([":terminology/KW-0731"])
  bind048 --> bind0
  bind049([":terminology/KW-0737"])
  bind049 --> bind0
  bind050([":terminology/KW-0758"])
  bind050 --> bind0
  bind051([":terminology/KW-0766"])
  bind051 --> bind0
  bind052([":terminology/KW-0941"])
  bind052 --> bind0
  bind053([":terminology/KW-0776"])
  bind053 --> bind0
  bind054([":terminology/KW-0800"])
  bind054 --> bind0
  bind055([":terminology/KW-1242"])
  bind055 --> bind0
  bind056([":terminology/KW-1255"])
  bind056 --> bind0
  bind057([":terminology/KW-1182"])
  bind057 --> bind0
  bind058([":terminology/KW-1243"])
  bind058 --> bind0
  bind059([":terminology/KW-0916"])
  bind059 --> bind0
  bind060([":terminology/KW-0543"])
  bind060 --> bind0
  bind061([":terminology/KW-1244"])
  bind061 --> bind0
  bind062([":terminology/KW-1218"])
  bind062 --> bind0
  bind063([":terminology/KW-0870"])
  bind063 --> bind0
  bind064([":terminology/KW-1220"])
  bind064 --> bind0
  bind065([":terminology/KW-0738"])
  bind065 --> bind0
  v2 --":isoform"-->  a1
  a1 --":keyword"-->  a2
  a2 --":term"-->  v1