David,

Thanks for the example.

I got

OntModel:

[500] Bindings (batches of 50): 668
[25000] Query all: 437
[500] Naive: 422
[500] Union (no batching): 179
[500] Filter (batches of 50): 57

and changing to a default Model:

[500] Bindings (batches of 50): 351
[25000] Query all: 209
[500] Naive: 460
[500] Union (no batching): 192
[500] Filter (batches of 50): 70

The OntModel results were more variable, the plain default model results were more stable.

IN is optimized (not sure which versions ...)

BINDINGs are (lightly) optimized - it (nowadays) tries to turn them into a sequence of more grounded queries but that optimization wasn't in earlier version of ARQ with BINDINGS.

qparse --print=opt --query=Q.rq will print out what the high-level optimizer is doing.

        Andy


On 14/10/11 23:23, David Allsopp wrote:
Excellent, will get a copy of the latest ARQ and try again...


On 14 October 2011 16:31, Damian Steer<[email protected]>  wrote:


On 14 Oct 2011, at 14:43, David Allsopp wrote:

Here's the full benchmark

Thanks David.

(tried to attach the source file, but Gmail won't
cooperate for some reason, so it's included below in message body).

I have a feeling apache strips out attachments, so probably safer this way.

Here's the output on my machine with current (working ;-) ARQ:

[500] Bindings (batches of 50): 471
[25000] Query all: 1077
[500] Naive: 859
[500] Union (no batching): 338
[500] Filter (batches of 50): 228

I also hacked a no-batch version of bindings:

[500] Bindings (batches of 50): 481
[500] Bindings: 165
[25000] Query all: 947
[500] Naive: 998
[500] Union (no batching): 322
[500] Filter (batches of 50): 212

Damian



Reply via email to