more robust NTriples parsing