Bug #99
Variable graphs being ignored
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
fixed
Description
Selecting from an unbound graph is being ignored by all resolvers. This should not be ignored by the the XAResolver.
example:
select $s $p $o $g from <rmi://localhost/server1#> where $s $p $o $g;
logs: <pre> 2008-04-17 09:55:20,647 WARN XSDResolver - Ignoring solutions for [$s $p $o $g] 2008-04-17 09:55:20,669 WARN [[PrefixResolver]] - Ignoring solutions for [$s $p $o $g] 2008-04-17 09:55:20,673 WARN [[LuceneResolver]] - Ignoring solutions for [$s $p $o $g] </pre> Also, prebinding the graph is also being ignored. This is a real issue as it does not allow for graph selection by property. example: <pre> select $s $p $o $g from <rmi://localhost/server1#> where $g <rdf:type> <mulgara:Model> and $s $p $o $g; </pre> *or* <pre> select $s $p $o $g from <rmi://localhost/server1#> where $s $p $o $g and $g <rdf:type> <mulgara:Model>; </pre> <pre> logs: <pre> 2008-04-17 09:55:20,647 WARN XSDResolver - Ignoring solutions for [$s $p $o $g] 2008-04-17 09:55:20,669 WARN [[PrefixResolver]] - Ignoring solutions for [$s $p $o $g] 2008-04-17 09:55:20,673 WARN [[LuceneResolver]] - Ignoring solutions for [$s $p $o $g] </pre>
Updated by Paula Gearon almost 16 years ago
- Status changed from New to Closed
- Resolution set to fixed
This was found and fixed while working on #120.
The problem was that RelationalResolver cannot handle variable graphs. It dealt with this by throwing an exception on variable graphs, when it should have returned an empty resolution.