Skip to content

Any tips on which IRI implementation to use for what? #112

Answered by pchampin
gmorpheme asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, the high-level user documentation is long overdue :-/ But at the moment I'm busy refactoring the code. Hopefully, once this is done, it will be less of a mess ;-)

In the meantime, I will try to help you make sense of it.

Why are there something like six representations of the concept of an IRI? What's the principle?

sophia_iri (republished as sophia::iri) provides simple string wrappers whose sole purpose is to guarantee that the string is a valid IRI (resp. IRI reference). That's the most basic way to represent an IRI.

sophia_term (republished as sophia_term), on the other hand, provides a number of types for representing RDF terms (using different kinds of smart pointers for stri…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@damooo
Comment options

@pchampin
Comment options

@damooo
Comment options

@pchampin
Comment options

@damooo
Comment options

Answer selected by gmorpheme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants