Hi,

I've managed to nail down a problem with filter overwriting all
instances of a variable (as mentioned under different contexts) - here
it is in the simplest form (with live uri's so you can see yourself)

# simple query which returns 113 results
# live run: http://bit.ly/aVpuNK
select * where {
 u:49991734 t:following ?x1
}

# simple query filtered which returns 53 results
# live run: http://bit.ly/9sSOLp
select * where {
 u:49991734 t:following ?x1 .
 ?x1 t:following ?y1 . filter( ?y1 = u:49991734 )
}

# problem query, same as above but with optional
# *should return* 113 results, 53 with optional ?y1 set to u:49991734
# *actually returns* 113 results with all ?y1 overwritten as u:49991734
# live run: http://bit.ly/d1hP4q
select * where {
 u:49991734 t:following ?x1 .
 optional { ?x1 t:following ?y1 . filter( ?y1 = u:49991734 ) }
}

Version is 6.1.0.3127-pthreads as of Feb 16 2010 w/ the last patch you
sent me to speed up IN functionality.

Many Regards,

Nathan

Reply via email to