kr icon indicating copy to clipboard operation
kr copied to clipboard

Problem with Sparql queries with named graph

Open nicolasGuillouet opened this issue 10 years ago • 0 comments

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

nicolasGuillouet avatar Dec 19 '14 12:12 nicolasGuillouet