[ 
https://issues.apache.org/jira/browse/JENA-460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Seaborne closed JENA-460.
------------------------------
       Resolution: Fixed
    Fix Version/s: Jena 3.0.0

This is fixed at some point but the JIRA didn't get closed.

{{tdbreorder}} reports:
{noformat}
(?x ?y ?z)
(?y rdfs:subPropertyOf <http://example/p>)
(?x <http://example/q> 2)
(?x rdf:type ?t)
 ======== >>>>>>>>
(?y rdfs:subPropertyOf <http://example/p>)
(?x <http://example/q> 2)
(?x ?y ?z)
(?x rdf:type ?t)
{noformat}
and shows {{(?x ?y ?z)}} being weighted 2 when {{?x}} and {{?y}} are defined.

> TDB stats optimizer misguesses "TERM TERM ?var"
> -----------------------------------------------
>
>                 Key: JENA-460
>                 URL: https://issues.apache.org/jira/browse/JENA-460
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: TDB
>    Affects Versions: Jena 2.10.1
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Minor
>             Fix For: Jena 3.0.0
>
>         Attachments: Q1.rq, pat1.sse, stats.dbg
>
>
> It assigns a weighting of -1 to "TERM TERM ?var" which started as ?v1 ?v2 ?v3.
> fixed.opt assigns 2.
> Workaround: add:
> {noformat}
>   ( (TERM TERM VAR 2) )
> {noformat}
> to the stats file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to