drlivingston / kr

Clojure API for RDF and SPARQL - provides consistent access to APIs including Jena and Sesame
56 stars 17 forks source link

Problem with Sparql queries with named graph #13

Open nicolasGuillouet opened 9 years ago

nicolasGuillouet commented 9 years ago

Hi Kevin,

I have a problem with querying on KB : I create some Jena KB, with many named models. Then I want to make some named graph sparql queries on all the dataset (the query can for example use two differents graphs). I tried to do things without success :-(.

After exploring code, i can see :

(defn jena-query-setup [kb query-string]
(QueryExecutionFactory/create (QueryFactory/create query-string)
(model! kb)))

Where the function use the default model and then not all the dataset.

Is it possible to complete this function and having a third parameter if we want to use all the dataset ?

Nicolas