From: <tr...@do...> - 2011-11-28 17:35:49
|
The following issue has been added to a project that you are monitoring. Title: TriplePattern.GetTriples() is not as selective as it could be in some cases Project: Core Library (dotNetRDF.dll) Created By: Rob Vesse Milestone: 0.6.0 Beta Category: Query Priority: High Type: Improvement Description: In TriplePattern.GetTriples() we may not always be as selective as we can, for example consider a query like the following: SELECT * WHERE { ?s a <http://example.org/Person> . FILTER(?s = <http://example.org/Me> ) } With the right optimisers applied that query boils down to IdentityFilter(Bgp()) in which case the Bgp() would still call GetTriplesWithPredicateObject() even though ?s is bound. It would be far more performant to make one/more calls to Contains() based on the bound values for ?s More information on this issue can be found at http://www.dotnetrdf.org/tracker/Issues/IssueDetail.aspx?id=151 If you no longer wish to receive notifications, please visit http://www.dotnetrdf.org/tracker/UserProfile.aspx and change your notifications options. |