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

Sergio Fernández updated MARMOTTA-617:
--------------------------------------
    Description: 
The following SPARQL-Command fails when using the configuration setting 
{{native}} for {{sparql.strategy}}:

{code}
SELECT DISTINCT ?uri ?title ?children {
  GRAPH <http://host/context/graph> {
    ?uri a <http://www.w3.org/2004/02/skos/core#ConceptScheme> .
    OPTIONAL { 
      ?uri <http://www.w3.org/2000/01/rdf-schema#label> ?title . 
      FILTER (lang(?title) = 'en') 
    }
    BIND ( EXISTS { ?uri <http://www.w3.org/2004/02/skos/core#hasTopConcept> 
?_top } AS ?children )
  }
}
{code}

when using {{sparql.strategy=memory}} the query works!

  was:
The following SPARQL-Command fails when using the configuration setting 
"native" for sparql.strategy:

SELECT DISTINCT ?uri ?title ?children {GRAPH <http://host/context/graph> {?uri 
a <http://www.w3.org/2004/02/skos/core#ConceptScheme>.OPTIONAL { ?uri 
<http://www.w3.org/2000/01/rdf-schema#label> ?title. FILTER (lang(?title) = 
'en') }BIND ( EXISTS { ?uri <http://www.w3.org/2004/02/skos/core#hasTopConcept> 
?_top } AS ?children )}}

when using sparql.strategy "memory" the query works!


> SPARQL-command with "native" sparql.strategy setting fails
> ----------------------------------------------------------
>
>                 Key: MARMOTTA-617
>                 URL: https://issues.apache.org/jira/browse/MARMOTTA-617
>             Project: Marmotta
>          Issue Type: Bug
>          Components: KiWi Triple Store
>    Affects Versions: 3.3.0
>            Reporter: Dietmar Glachs
>
> The following SPARQL-Command fails when using the configuration setting 
> {{native}} for {{sparql.strategy}}:
> {code}
> SELECT DISTINCT ?uri ?title ?children {
>   GRAPH <http://host/context/graph> {
>     ?uri a <http://www.w3.org/2004/02/skos/core#ConceptScheme> .
>     OPTIONAL { 
>       ?uri <http://www.w3.org/2000/01/rdf-schema#label> ?title . 
>       FILTER (lang(?title) = 'en') 
>     }
>     BIND ( EXISTS { ?uri <http://www.w3.org/2004/02/skos/core#hasTopConcept> 
> ?_top } AS ?children )
>   }
> }
> {code}
> when using {{sparql.strategy=memory}} the query works!



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

Reply via email to