I have build a small RDF model: it only contains a few triples describing some items on the human genome.
I want to retain only those items overlapping some genomic segments (say a "gene"), stored in another relational database. This database of genes is far too big to be inserted in my inital RDF model.
Is there any way to extend ARQ to inject some new Statements (the RDF statements describing the only genes overlapping the items) in my model during the query ?
input:
uri:object1 my:hasChromosome "chr1" .
uri:object1 my:hasStartPosition "1235689887" .
uri:object1 my:hasEndPosition "2897979879" .
uri:object1 dc:title "my variation" .
output:
uri:object1 my:hasChromosome "chr1" .
uri:object1 my:hasStartPosition "1235689887" .
uri:object1 my:hasEndPosition "2897979879" .
uri:object1 dc:title "my variation" .
uri:gene1 dc:title "GeneName" .
I've read about http://jena.sourceforge.net/ARQ/arq-query-eval.html but I'm lost: which mechanism of extension should I choose ? Property ? Is there any more complete example on web ?
Thanks,