Skip to content

Instantly share code, notes, and snippets.

@jctoledo
Created March 12, 2014 22:03
Show Gist options
  • Save jctoledo/9517428 to your computer and use it in GitHub Desktop.
Save jctoledo/9517428 to your computer and use it in GitHub Desktop.
find the pdbids of all structure files where the cycle 445c69d2714e43b727182b7496657eb1 occurs. Filter by resolution
select distinct ?pdb_record
from <http://bio2rdf.org/rna_cycles_pdb>
where{
?mcb <http://bio2rdf.org/narf_vocabulary:derived_from> ?pdb_record.
?mcb <http://bio2rdf.org/narf_vocabulary:has_member> ?acycle.
?acycle <http://bio2rdf.org/narf_vocabulary:has_attribute> ?a.
?a <http://bio2rdf.org/narf_vocabulary:has_md5hash> ?ahash.
FILTER regex(?ahash, "445c69d2714e43b727182b7496657eb1").
?pdb_record <http://bio2rdf.org/pdb_vocabulary:hasPart> ?struct_deter.
?struct_deter <http://bio2rdf.org/pdb_vocabulary:hasPart> ?refinement.
?refinement <http://bio2rdf.org/pdb_vocabulary:hasLsDResHigh> ?res.
?res a <http://bio2rdf.org/pdb_vocabulary:LsDResHigh>.
?res <http://bio2rdf.org/pdb_vocabulary:hasValue> ?aResolution .
FILTER ( ?aResolution <2)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment