Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-1148

double prefix syntax error no longer detected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress
    • Resolution: Unresolved
    • Affects Version/s: BIGDATA_RELEASE_1_4_0
    • Fix Version/s: None
    • Component/s: Bigdata SAIL
    • Labels:
      None

      Description

      The following SPARQL

      base <http://localhost:8000/>
      prefix owl: <http://www.w3.org/2002/07/owl#>
      prefix s: </bdm/api/>
      prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
      prefix bds: <http://www.bigdata.com/rdf/search#>
      prefix xsd: <http://www.w3.org/2001/XMLSchema#>
      prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
      prefix skos: <http://www.w3.org/2004/02/skos/core#>
      prefix dc: <http://purl.org/dc/elements/1.1/>
      prefix syapse: </graph/syapse#>
      prefix sys: </bdm/api/kbobject/sys:>
      prefix c2: </bdm/api/kbobject/c2:>
      prefix base: </bdm/api/kbobject/base:>
      
                      select (sum($recordPartCount) as $count) (count(distinct $record) as $recordCount)
                      where {
                        {
                           select $recordPart (count(*) as $recordPartCount)
                           where
                           { 
              $recordPart $p '4' .
              $p rdfs:range c2:c2:flow_cell_lane .
              
                           } group by $recordPart
                         }
                         $record syapse:partlet $recordPart
      
                      }
      
      

      was correctly rejected by bigdata 1.3.3 but is accepted by 1.4.0.
      On 1.3.3 the error message is: MalformedQueryException: Encountered " ":flow_cell_lane "" at line 22, column 28, and the syntax highlighter in the Web UI correctly identifies the error

        Attachments

          Activity

            People

            Assignee:
            jeremycarroll jeremycarroll
            Reporter:
            jeremycarroll jeremycarroll
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: