Date: 2012-09-20 14:27:17
From: sinan.yurtsever@atosresearch.eu
Hello
For optimizing queries I would like to learn more about the resolution
order of such a query:
Imagine that I have such a query:
SELECT ?s
WHERE{
?s <exampleURI1> <exampleURI2>. (tripleA)
SELECT ?s WHERE{
?s <exampleURI3> <exampleURI4>.
(tripleB)
}
}
Here which will be the resolution order:
a)      URIs validating both triples are retrieved seperately, then
their intersection will be the final resultSet
b)      URIs validating the tripleA will be retrieved. Apart from these
URIs, ones that validate tripleB will be retrieved. 
c)       URIs validating the tripleB will be retrieved. Apart from these
URIs, ones that validate tripleA will be retrieved.
Kind Regards, 
Sinan Yurtsever

asked 03 Apr '13, 11:00

Discussion-Board-Archive's gravatar image

Discussion-B...
6.1k136156214
accept rate: 30%


Date: 2012-09-24 09:05:18
From: barry.bishop@ontotext.com
Hello Sinan,
The query optimiser in OWLIM-SE/OWLIM-Enterprise will decide which of 
the approaches to take based on the statistics it holds for each of the 
predicate/statement patterns.
This means that you have several options for how to write the query, but 
they will be evaluated in the same way.
I hope this helps,
barry
link

answered 03 Apr '13, 11:00

Discussion-Board-Archive's gravatar image

Discussion-B...
6.1k136156214
accept rate: 30%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×261
×242
×38

Asked: 03 Apr '13, 11:00

Seen: 1,153 times

Last updated: 03 Apr '13, 11:00

powered by BitNami OSQA