#################################### #################################### ####### additional file 1 ######## #### examples of SPARQL queries #### #################################### #################################### ###Author: Adrien Coulet, Stanford University & University of Nancy ###Date: November 16th, 2010 ###Last modification: January 18th, 2011 ###Location: http://www.loria.fr/~coulet/jbs_material/additional_file_1.txt ##################### ###SPARQL endpoint### ##################### http://sparql.bioontology.org/webui/ ##################### ###loaded resource### ##################### http://www.loria.fr/~coulet/jbs_material/phare.pd.owl ############### ###graph URI### ############### rmi:phare.owl#pd #################### ###SPARQL queries### #################### ###all triples### select $x $y $z from where $x $y $z; ###all triples with the gene uchl1 as a subject### select $y $z from where $y $z; ###all sentences where the gene UCHL1 is subject of a relation select $y from where $rel $y and $rel ; ###relations and their provenance where uchl1 gene is subject select $r $o $provenance from where $rel $provenance and ($rel and $rel $r and $rel $o); ###all objects associated with a Variant### select $x $z from where $x and $x $z; ###all triples with the variant of the gene apoe as a subject### select $y $z from where $y $z; ###all objects associated with parkinson=disease### select $x from where $x ; ####################### ###loaded resource 2### ####################### http://www.loria.fr/~coulet/jbs_material/phare.vip.owl ############### ###graph URI### ############### rmi:phare.owl#vip ###load into ;### ###################### ###SPARQL queries 2### ###################### #####all drugs that interact with gene SULT1A1###### ###n.b. interact is synonym of is_associated_with### select $x from where $x and $x; select $x from where $x and $x ; ####everything that interacts with a drug target#### ###n.b. interact is synonym of is_associated_with### select $x from where $y and $y $x; select $x from where $y and $x $y;