What is the correct way to select all data (quads) from the triplestore that is composed of triples and quads? #5320
-
Wondering if I'm missing something here. I'm trying to retrieve all triples and quads from my 3s. I have a data-set of 2 triples (quads):
I'd like a query that selects these 2 triples inclusive of graphname. I've tried:
but I want the graphname.
has an extra "sara" triple.
is this a bug?
gives me:
??
SELECT distinct ?s ?p ?o ?g
|
Beta Was this translation helpful? Give feedback.
Answered by
hmottestad
Apr 25, 2025
Replies: 1 comment
-
Try to do two unions with named graph. The first with ?g and the second with the hardcoded |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hmottestad
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try to do two unions with named graph. The first with ?g and the second with the hardcoded
<http://rdf4j.org/schema/rdf4j#nil>
to represent the unnamed graph.