Added ; and , support in parse_turtle#21
Conversation
|
@lucafabbian Thanks for the ex:Alex ex:Age 10; ex:Friend ex:Bob, ex:Charlie . The current implementation does not work unless Could you include the tokenizer change and tests for Usually we add tests into kolibrie/tests/ Regarding the error with ML it was fixed, thanks for sharing :) |
ladroid
left a comment
There was a problem hiding this comment.
The current implementation does not work unless tokenize_turtle_star_line also emits ; , and . as separate delimiter tokens outside IRIs/literals/quoted triples. With only the parse_turtle change, the object becomes malformed, e.g. "10; ex:Friend ...", and only one bad triple is parsed.
parse_turtlewas not able to ingest things such asex:Alex ex:Age 10; ex:Friend ex:Bob, as it was missing support for;and,.Now it should work.
Tests are not able to go through, but I don't think it's my fault, as I get the same error even without my code changes.