Test, validate and match regular expressions
This regex matches lines formatted as RDF triples, commonly found in DBpedia or other semantic web datasets using the N-Triples format. It effectively captures the subject and predicate URIs enclosed in angle brackets, followed by an object that can be either a quoted literal string or another URI. This pattern is particularly useful for parsing basic knowledge graph entries without diving into deeper levels of nesting.