pub fn term_defect(token: &str) -> Option<IriDefect>Expand description
Classify a canonical N-Triples term token — <iri>, _:b, "lit",
"lit"^^<dt>, "lit"@en, or an RDF-star <<s p o>> — returning the first
IRI defect it carries, or None.
Every IRI a term can hide is checked: the term itself, a literal’s datatype, and (recursively) the three components of a quoted triple.