Closed peta closed 11 years ago
That is indeed a wierd problem! I think it might relate to a fix I made to the EBNF library they both use. Are you using the gems from RubyGems or the top-of-the trunk of the Turtle and SPARQL repos? I believe the problem is solved on the trunk, but I haven't been able to release updates just yet; I hope to do so within the week.
I now updated to ebnf 0.3.0 and it works.
Released with 1.0.6.
I have a script where I Graph.load a Turtle file and parse a SPARQL query from a string. When I do both in the same file the query parsing fails; when I do only one of it (deleting/commenting out the other statement) it works.
See details: https://gist.github.com/peta/aadf06ac91ca09262138