Timeout exception from LOD remote endpoints when performing queries with the 
Entity Hub.
----------------------------------------------------------------------------------------

                 Key: STANBOL-222
                 URL: https://issues.apache.org/jira/browse/STANBOL-222
             Project: Stanbol
          Issue Type: Bug
          Components: Entity Hub
            Reporter: Andrea Nuzzolese


The sparql constructs serialized by the Entity Hub that is used for querying 
remote LOD endpoints contain OPTIONAL patterns that require too much time to be 
evaluated.
An example is the following

CONSTRUCT { ... }
WHERE {     
        { {?id <http://www.w3.org/2002/07/owl#sameAs> 
<http://www4.wiwiss.fu-berlin.de/factbook/resource/United_States> }}    
         { OPTIONAL { ?id <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
?v_1 . } }   
         { OPTIONAL { ?id <http://www.w3.org/2000/01/rdf-schema#label> ?v_2 . } 
} 
}  
...

The sparql engine tries to satisfy the optional clauses in the whole graph 
ignoring the first condition ?id <http://www.w3.org/2002/07/owl#sameAs> 
<http://www4.wiwiss.fu-berlin.de/factbook/resource/United_States>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to