Uploaded image for project: 'Marmotta (Retired)'
  1. Marmotta (Retired)
  2. MARMOTTA-552

Sparql Query for Dataset View fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      The dataset view tries to list classes with a SPARQL query that fails:

      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
      

        Attachments

          Activity

            People

            • Assignee:
              wastl Sebastian Schaffert
              Reporter:
              tkurz@apache.org Thomas Kurz
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: