rio icon indicating copy to clipboard operation
rio copied to clipboard

Is GeneralizedTerm a good name?

Open Tpt opened this issue 5 years ago • 3 comments

@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?

Tpt avatar Jan 07 '20 11:01 Tpt

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

pchampin avatar Jan 07 '20 13:01 pchampin

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.

Tpt avatar Jan 07 '20 17:01 Tpt

Great. I just integrated it in sophia https://github.com/pchampin/sophia_rs/commit/f3ed2f8d010f89540d5bd23cf3e857d802e31621 . I'll have a look at your IRI parser.

pchampin avatar Jan 08 '20 16:01 pchampin