You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2017/03/03 09:06:45 UTC

[jira] [Commented] (JENA-1300) Using alternative path in Fuseki runs forever

    [ https://issues.apache.org/jira/browse/JENA-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15893949#comment-15893949 ] 

Andy Seaborne commented on JENA-1300:
-------------------------------------

(which version?)

You may find that reversing the order to put the {{rdfs:label}} first helps or using {{UNION}} not {{|}}.

This is all highly dependent of the size and shape of the data. If run as the first query after restart, then TDB is stil warming up as well. Machine hardware is a factor.


> Using alternative path in Fuseki runs forever
> ---------------------------------------------
>
>                 Key: JENA-1300
>                 URL: https://issues.apache.org/jira/browse/JENA-1300
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Fuseki, TDB
>            Reporter: Natan Cox
>
> When doing a query with alternative paths like in this example 'isOwnedBy' and 'exploitatie' then Fuseki seems to run forever.
> If I remove on of the 2 the response is immediate.
> {code:none}
> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
> PREFIX protontop: <http://www.ontotext.com/protontop#>
> PREFIX milieu: <http://id.milieuinfo.be/def#>
> SELECT (count(*) as ?total)
> WHERE {
>   GRAPH <http://id.milieuinfo.be/graph/imjv#id> {
>     ?x protontop:isOwnedBy|milieu:exploitatie ?site. 
>     ?site rdfs:label ?label.
>   }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)