pub fn parse_by_type<RDF, P, A>(
values: Vec<(IriS, P)>,
default: P,
) -> impl RDFNodeParse<RDF, Output = A>where
RDF: FocusRDF,
P: RDFNodeParse<RDF, Output = A>,
Expand description
Apply a parser to an RDF node associated with the value of it’s rdf:type
property