Querying the RKB SPARQL Endpoint
We have made available an RDF store that enables users (human or other) to query the RKB and the PDB for all RNA containing records via the SPARQL language. Results can be exported into a variety of formats. You can visit our SPARQL endpoint by clicking here.
You may also explore our data by making use of Virtuoso's Faceted Browser by following this link.
Our data model enables the execution of SPARQL queries including:
- Find all nucleotide base pairs that are found in PDB 1Y27 (View results here):
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX ss: <http://semanticscience.org/resource/> PREFIX rkb: <http://semanticscience.org/rkb:> SELECT ?basePairLabel ?structureModelLabel WHERE { ?x rdf:type rkb:RKB_000001. ?x rdfs:label ?basePairLabel. ?z ss:isAbout ?x. ?z rdfs:label ?structureModelLabel. FILTER regex(?structureModelLabel, "1y27", "i") }- Find all G-C nucleotide base pairs that are found in model 4 of PDB 2I7E (View results here):
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX ss: <http://semanticscience.org/resource/> PREFIX rkb: <http://semanticscience.org/rkb:> PREFIX rnao: <http://purl.obofoundry.org/obo/rnao/> SELECT ?y ?w WHERE{ ?x rdf:type rkb:RKB_000001. ?x rdfs:label ?y. ?z ss:isAbout ?x. ?z rdfs:label ?w. FILTER regex(?y, "(G-C)|(C-G)"). FILTER regex(?y, "2i7e", "i"). FILTER regex(?w, "model 4") }- Find all sub edge interactions that take part in PDB 1Y27 (View results here):
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX ss: <http://semanticscience.org/resource/> PREFIX rkb: <http://semanticscience.org/rkb:> PREFIX rnao: <http://purl.obofoundry.org/obo/rnao/> SELECT ?subEdge1 ?subEdge2 WHERE{ ?x rdf:type rkb:RKB_000100. ?x rdfs:label ?subEdge1. ?x rnao:externally_connected_to ?e. ?e rdfs:label ?subEdge2. ?w ss:isAbout ?x. ?w rdfs:label ?wl. FILTER regex(?wl, "1y27") }

