Replies: 1 comment 3 replies
-
I think adding a Quad type to the core library would make sense. I would imagine that we would add:
What I would suggest is that (for now at least) we don't really do anything in terms of changing the underlying implementations. Quad could be a simple wrapper around a tuple of ( |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We don't really have quads in dotNetRDF. I think it's worth discussing whether we should introduce them.
Of course we do support several quad serialization formats as well as SPARQL and JSON-LD.
But the way we do it is basically a
Triple
+ an IRI node (for theg
element of the quad).I.e. there is no
VDS.RDF.Quad
in dotNetRDF.CoreThis became apparent to me while working on #608. I would have rather introduced support for Quad Pattern Fragments, but there was no mechanism that lent itself to a simple, initial implementation like the one I'd chosen there for triples.
#615 is also relevant. Of course canonicalization could be implemented (I think) without a native quad interface, but that issue also points to a concept widely used by the community that is missing from dotNetRDF.
Personally, I prefer to rely on 'plain' statements for modelling. I think quads are 'cheating'. But who cares?
Look at RDF/JS, look at Commons RDF, look at Jena, look at RDF4J.
I don't have suggestions at the moment for how we should do this.
Beta Was this translation helpful? Give feedback.
All reactions