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

ASF subversion and git services commented on MARMOTTA-552:
----------------------------------------------------------

Commit fa8ef614e2029d2a3d1eb27d756a968199e2ce94 in marmotta's branch 
refs/heads/develop from [~wastl]
[ https://git-wip-us.apache.org/repos/asf?p=marmotta.git;h=fa8ef61 ]

fix MARMOTTA-552 (complex UNION with subquery)


> 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
>            Assignee: Sebastian Schaffert
>              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)

Reply via email to