reteplayground
Select

hsa-mir-21 on the genome, from BOTH coordinate sources

SELECT ?chr ?start ?end ?assembly ?source WHERE {
  ?hp rdfs:label "hsa-mir-21" ; mb:location ?r .
  ?r faldo:reference/rdfs:label ?chr ;
     mb:coordinateSource/rdfs:label ?source ;
     faldo:begin/faldo:position ?start ;
     faldo:end/faldo:position ?end .
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → no server, no download — the query runs in your browser.

The query

PREFIX mb: <https://w3id.org/rete/mirbase#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX faldo: <http://biohackathon.org/resource/faldo#> SELECT ?chr ?start ?end ?assembly ?source WHERE { ?hp rdfs:label "hsa-mir-21" ; mb:location ?r . ?r faldo:reference/rdfs:label ?chr ; mb:coordinateSource/rdfs:label ?source ; faldo:begin/faldo:position ?start ; faldo:end/faldo:position ?end . OPTIONAL { ?r mb:assembly/rdfs:label ?assembly } }

rete playground · documentation · github.com/caviri/rete