Is GeneralizedTerm a good name?
@pchampin I'm currently releasing a new version of Rio and, while doing so, I am questioning myself about the use of the word "generalized". Any generalization of RDF Terms/Quads could be called "generalized". Do you think about a better word to use for the generalization Rio is currently supporting?
I can't really think of a better word :-/ Actually, if another (useful) way of generalizing RDF triples/quads was proposed, I would consider adding support for it in gtrig.
If really you want a better caracterization, I would call it ARV-generalization
- Any term can be used in any position of a triple/quad
- Relative IRIs are supported (in the abstract syntax, not just concrete syntaxes)
- Variables are an additional type of term
Thank you for your reply. I just released version 0.4. This version adds also full validation of IRIs. If you want to use it for Sophia, I could move it to a stand-alone "iri" crate. But it should already be usable for e.g. benchmarks in the current state as part of rio_api.
Great. I just integrated it in sophia https://github.com/pchampin/sophia_rs/commit/f3ed2f8d010f89540d5bd23cf3e857d802e31621 . I'll have a look at your IRI parser.