These are not in the same graph pattern as I understand the spec, an OPTIONAL is a new graph pattern. The FILTER is only applying over an implicit empty BGP in your example
Putting queries into the validator at
sparql.org and selecting the SPARQL algebra option can be quite enlightening in cases like this. I think the difference between the output for the two variations of the query should confirm my above statement
Rob
Sent via BlackBerry by AT&T
-----Original Message-----
From: Robert Butler <
rbu...@pancaketech.com>
Date: Mon, 25 Jun 2012 15:45:51
To: Stardog<
sta...@clarkparsia.com>
Reply-To:
sta...@clarkparsia.com
Subject: [stardog-users] Query filter bug
--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to
sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en