1 Reply Latest reply: Sep 20, 2011 11:02 AM by alwu-Oracle RSS

    Allegrograph Error

    864912
      Hi all,


      I am working on my master thesis presently where I have to use Allegro 3.3 in windows platform. I managed to load 25million triples into the store. For most of the queries(SPARQL) i could access the store and get results but for the query involving FILTERS I get the following error. I have no clue about what it is trying to say. Can anyone help me interpret this error please ??



      PS : I dont think there is any problem with the code as the same code works perfectly fine with a smaller dataset having 40,000 triples


      ERROR


      Exception in thread "main" java.lang.IllegalArgumentException: Operation :call[8
      ] signalled an error in server: age-client-error -- #<sparql.util:sparql-parse-e
      rror-unexpected-terminal @ #x102372c72> Parse error: unexpected terminal integer
      -negative (value: "-09").
      Expected terminals: (|| = , + && ) != ! * < > - / <= >=). in Backtrace for #<spa
      rql.util:sparql-parse-error-unexpected-terminal @
      #x102ab66d2> in ag-apply ag-twinql-select
      Parse error: unexpected terminal integer-negative (value: "-09").
      Expected terminals: (|| = , + && ) != ! * < > - / <= >=).

      Evaluation stack:
      (db.agraph.servers::zoom-to-log #1# #2#)
      ((:internal db.agraph.servers::ag-apply 0) #2#)
      (signal #2#)
      (error sparql.util:sparql-parse-error-unexpected-terminal :value
      "-09" :terminal :integer-negative :expected-terminals
      (:\|\| := :|,| :+ :&& :|)| :!= :! :* :< ...))
      (sparql.parser:parse-sparql
      #3="PREFIX bsbm: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/vocabular
      y/> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX rdf: <http://www.w3.org/199
      9/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PRE
      FIX dc: <http://purl.org/dc/elements/1.1/> PREFIX rev: <http://purl.org/stuff/re
      v#> SELECT ?productLabel ?offer ?price ?vendor ?vendorTitle ?review ?revTitle ?r
      eviewer ?revName ?rating1 ?rating2WHERE {<http://www4.wiwiss.fu-berlin.de/bizer/
      bsbm/v01/instances/dataFromProducer1/Product5>rdfs:label ?productLabel .OPTIONAL
      {?offer bsbm:product <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/
      dataFromProducer1/Product5>.?offer bsbm:price ?price .?offer bsbm:vendor ?vendor
      .?vendor rdfs:label ?vendorTitle .?vendor bsbm:country <http://downlode.org/rdf
      /iso-3166/countries#DE>.?offer dc:publisher ?vendor .?offer bsbm:validTo ?date .
      FILTER (?date > 2001-09-16 ) }OPTIONAL {?review bsbm:reviewFor <http://www4.wiwi
      ss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer1/Product5>.?review rev
      :reviewer ?reviewer .?reviewer foaf:name ?revName .?review dc:title ?revTitle .O
      PTIONAL { ?review bsbm:rating1 ?rating1 . }OPTIONAL { ?review bsbm:rating2 ?rati
      ng2 . } }}"
      nil nil)
      ((method sparql:db-run-sparql (t (eql :algebra) . #6=(t)))
      #4=#<triple-store::triple-db
      C:\AllegroGraphFSE33.64\AllegroGraphExamples-3.2\ts\loadntriples, ope
      n
      @ #x10201cd82>
      :algebra #3# :output-stream
      #5=#<null-simple-stream [not completely built] @ #x1002d1822>
      :limit nil :offset nil ...)
      #<Printer Error, obj=#x102372ac2: Can't locate the module "pe">
      ((:internal excl::effective-method-eql 0) #4# :algebra #3#
      :output-stream #5# :limit
      nil :offset nil ...)
      #<Printer Error, obj=#x102425572: Can't locate the module "pe">
      (excl::checking-miss
      #<standard-generic-function sparql:db-run-sparql>
      (#4# :algebra #3# :output-stream #5# :limit nil :offset nil
      :results-format ...)
      #<Closure # @ #x101d0dfc2> #(0 nil nil nil nil nil nil nil))
      #<Printer Error, obj=#x102437522: Can't locate the module "pe">
      (sparql:run-sparql #3# :limit nil :offset nil :results-format :lists
      :output-stream nil)
      #<Printer Error, obj=#x1024494d2: Can't locate the module "pe">
      (db.agraph.servers::ag-twinql-select #3# nil 0 0 #8="slimit" 1000
      #9="use-reasoner" nil)
      #<Printer Error, obj=#x10245be22: Can't locate the module "pe">
      (db.agraph.servers::ag-apply 105 #7="ag-twinql-select")
      #<Printer Error, obj=#x10246ea12: Can't locate the module "pe">
      ((method db.agraph.dlink::do-operation
      (db.agraph.dlink::data-port (eql :call) . #10=(t . #6#)))
      #11=#<db.agraph.dlink::data-port localhost:4567 0 @ #x102018882>
      :call 8
      #12=("db.agraph.servers::ag-apply" 105 #7# #3# nil 0 0 #8# 1000
      #9# ...))
      ((method db.agraph.dlink::do-operation :around
      (db.agraph.dlink::data-port t . #10#))
      #11# :call 8 #12#)
      ((:internal (:effective-method 4 nil nil t t) 0) #11# :call 8 #12#)
      #<Printer Error, obj=#x102480fa2: Can't locate the module "pe">
      ((:internal excl::effective-method-eql 0) #11# :call 8 #12#)
      ((method db.agraph.dlink::do-connection-action
      (db.agraph.dlink::data-port (eql 206)))
      #11# 206)
      #<Printer Error, obj=#x102492fd2: Can't locate the module "pe">
      ((:internal excl::effective-method-eql 0) #11# 206)
      ((method db.agraph.dlink::do-connection
      (db.agraph.dlink::data-port))
      #11#)
      #<Printer Error, obj=#x1024a5462: Can't locate the module "pe">
      (excl::thread-reset-catcher)
      (excl::setup-required-thread-bindings)
      (excl::lisp-thread-start nil nil)

      at com.franz.agbase.transport.AGDirectLink.portInOp(AGDirectLink.java:10
      02)
      at com.franz.agbase.transport.AGDirectLink.portInOp(AGDirectLink.java:97
      6)
      at com.franz.agbase.transport.AGDirectLink.opResIn(AGDirectLink.java:560
      )
      at com.franz.agbase.transport.AGDirectLink.sendOpTail(AGDirectLink.java:
      537)
      at com.franz.agbase.transport.AGDirectLink.sendOp3n(AGDirectLink.java:46
      9)
      at com.franz.agbase.transport.AGDirectConnector.tsApplyA(AGDirectConnect
      or.java:91)
      at com.franz.agbase.transport.AGDirectConnector.twinqlSelect(AGDirectCon
      nector.java:894)
      at com.franz.agbase.SPARQLQuery.select(SPARQLQuery.java:543)
      at com.franz.agbase.examples.AGSparqlSelect_query7.doSparqlSelect(AGSpar
      qlSelect_query7.java:84)
      at com.franz.agbase.examples.AGSparqlSelect_query7.main(AGSparqlSelect_q
      uery7.java:66)



      Thanks
      Shri