You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@marmotta.apache.org by "Sebastian Schaffert (JIRA)" <ji...@apache.org> on 2014/10/16 11:21:33 UTC
[jira] [Resolved] (MARMOTTA-552) Sparql Query for Dataset View
fails
[ https://issues.apache.org/jira/browse/MARMOTTA-552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebastian Schaffert resolved MARMOTTA-552.
------------------------------------------
Resolution: Fixed
> Sparql Query for Dataset View fails
> -----------------------------------
>
> Key: MARMOTTA-552
> URL: https://issues.apache.org/jira/browse/MARMOTTA-552
> Project: Marmotta
> Issue Type: Bug
> Reporter: Thomas Kurz
> Labels: SPARQL
>
> The dataset view tries to list classes with a SPARQL query that fails:
> {code}
> SELECT ?class (count(?s) AS ?count)
> WHERE
> { { ?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?class }
> UNION
> { SELECT ?s
> WHERE
> { ?s ?a ?b
> FILTER NOT EXISTS {?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?class }
> }
> GROUP BY ?s
> }
> }
> GROUP BY ?class
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)