Matches a line containing a triple or quad.
Matches a line containing a triple or quad. Usage example:
line.trim match { case Quad(quad) => { ... } }
WARNING: there are several deviations from the N-Triples / Turtle specifications.
TODO: Clean up this code a bit. Fix the worst deviations from Turtle/N-Triples spec, clearly document the others. Unescape \U stuff while parsing the line?
TODO: Move this to its own TerseParser class, make it configurable: - N-Triples or Turtle syntax? - Unescape \U stuff or not? - triples or quads?