Skip to content

Instantly share code, notes, and snippets.

@jctoledo
Created March 26, 2014 01:53
Show Gist options
  • Save jctoledo/9775522 to your computer and use it in GitHub Desktop.
Save jctoledo/9775522 to your computer and use it in GitHub Desktop.
get a list of all cycle uris and the size of their respective fist degree neighbourhood
select distinct ?a count(?b)
from <http://bio2rdf.org/rna_cycles_pdb>
where{
?a a <http://bio2rdf.org/narf_vocabulary:cycle>.
?fdn a <http://bio2rdf.org/narf_vocabulary:first_degree_cycle_neighbour_set>.
?a <http://bio2rdf.org/narf_vocabulary:has_attribute> ?fdn.
?fdn <http://bio2rdf.org/narf_vocabulary:has_member> ?b.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment