Skip to content

Instantly share code, notes, and snippets.

@jctoledo
Created February 26, 2014 02:07
Show Gist options
  • Save jctoledo/9222051 to your computer and use it in GitHub Desktop.
Save jctoledo/9222051 to your computer and use it in GitHub Desktop.
get the cycle uris of all cycles that have a part in a ligand neighbourhood
select distinct ?a as ?cycle_uri
from <http://bio2rdf.org/narf:rna_cycles_nr>
where{
?a a <http://bio2rdf.org/narf_vocabulary:cycle>.
?a <http://bio2rdf.org/narf_vocabulary:has_part> ?b.
?b a <http://bio2rdf.org/lighood_vocabulary:neighbor>.
?lh <http://bio2rdf.org/lighood_vocabulary:has_member> ?b.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment