Details

      Description

      The following negative parser tests are failing. I think that many of these would be failed by the AST optimizers, but I am not 100%
      positive of that. I have provided brief summaries of why each one is probably a "bad" query, but also see the manifest files for more information. These queries are run from SPARQL11SyntaxTest, which is a manifest driven test suite based on DAWG approved tests.

      syn-bad-01
      # Not allowed with GROUP BY
      SELECT * { ?s ?p ?o } GROUP BY ?s
       ----
      syn-bad-02
      # required syntax error : out of scope variable in SELECT from group
      SELECT ?o { ?s ?p ?o } GROUP BY ?s
       ----
      syn-bad-02 # double-declaration of variable in select clause.
      SELECT (1 AS ?X) (1 AS ?X) {}
       ----
      #syntax-construct-where-05
      # CONSTRUCT where clause does not accept filter if optional template is not given?
      PREFIX : <http://example.org/>
      CONSTRUCT 
      WHERE { ?s ?p ?o FILTER ( ?o = :o1) }
       ----
      #syntax-construct-where-06
      # CONSTRUCT where clause does not accept GRAPH?
      CONSTRUCT 
      WHERE { GRAPH <data.ttl> { ?s ?p ?o } }
       ----
      

        Activity

        Hide
        bryanthompson bryanthompson added a comment -

        The CONSTRUCT WHERE negative parser tests are now fixed.

        Show
        bryanthompson bryanthompson added a comment - The CONSTRUCT WHERE negative parser tests are now fixed.
        Hide
        bryanthompson bryanthompson added a comment -

        Mike, have these test cases been fixed? Are we ready to close this ticket? Bryan

        Show
        bryanthompson bryanthompson added a comment - Mike, have these test cases been fixed? Are we ready to close this ticket? Bryan
        Hide
        mikepersonick mikepersonick added a comment -

        Yes I believe they have all been fixed.

        Show
        mikepersonick mikepersonick added a comment - Yes I believe they have all been fixed.

          People

          • Assignee:
            mikepersonick mikepersonick
            Reporter:
            bryanthompson bryanthompson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: