Skip to content

Instantly share code, notes, and snippets.

@jctoledo
Last active December 19, 2015 01:59
Show Gist options
  • Save jctoledo/5880104 to your computer and use it in GitHub Desktop.
Save jctoledo/5880104 to your computer and use it in GitHub Desktop.
Q9: retrieve orthologous human and mouse genes annotated with function to bind ATP
SPARQL-DL : Type(?human_gene, 'gene'), Type(?mouse_gene, 'gene'), Type(?homologene_group, HomoloGene_Group), PropertyValue(?human_gene, has_taxid, 'Homo sapiens'), PropertyValue(?mouse_gene, has_taxid, 'Mus musculus'), PropertyValue(?human_gene,'has function', 'ATP binding'), PropertyValue(?mouse_gene, 'has function', 'ATP binding'), PropertyValue(?homologene_group, has_gene, ?human_gene), PropertyValue(?homologene_group, has_gene, ?mouse_gene)
# gene : http://semanticscience.org/resource/SIO_010035
# HomoloGene_Group : http://bio2rdf.org/homologene_vocabulary:HomoloGene_Group
# has_taxid : http://bio2rdf.org/geneid_vocabulary:has_taxid
# 'Homo sapiens' : http://bio2rdf.org/taxon:9606
# 'Mus musculus' : http://bio2rdf.org/taxon:10090
# 'has function' : http://semanticscience.org/resource/SIO_000225
# 'ATP binding' : http://bio2rdf.org/go:0005524
# has_gene : http://bio2rdf.org/homologene_vocabulary:has_gene
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment