A slightly more robust regex for reading rdf triples

Signed-off-by: Daniel Borchmann <daniel.borchmann@mailbox.tu-dresden.de>