[
https://issues.apache.org/jira/browse/MARMOTTA-617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergio Fernández updated MARMOTTA-617:
--------------------------------------
Comment: was deleted
(was: Thanks, [~dglachs]. Definetelly that looks like a bug in the visitor that
builds the sql query. In principle the
[patch|https://github.com/apache/marmotta/commit/56bcb6d299f6ec232f0b0fe82ef93697f91e4f0b|]
look fine. But if you can also post here the query and some sample data, that
would help to debug the issue.)
> 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)