-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use RDF Dataset definition from RDF Concepts #152
Conversation
We should align to the RDF Concepts definition - that is to be expected; it was spec timing that caused the divergence. It is not editorial though because of the blank node change. The consequences are limited by the fact that allowing blanks in syntax mostly has no consequence because the blank node is not one in the graph. An info box in the RDF dataset could mention this. To work though though the specs:
The main use case for blank node named graph comes from loading RDF syntax forms that allow it. Currently, I only see point 4 as necessary. |
Where is the notion of an "RDF Dataset Merge" actually used in the spec? I searched the HTML source code for "defn_RDFDatasetMerge" but couldn't find it anywhere else. |
You seem to be right. I also can't find any direct usages. |
In update, maybe. It, or the graph store equivalent, will be if LOAD takes quads. Even if it's not, I think we need a definition somewhere because of the blank shared between graphs. It could go in RDF concepts if rewritten to be "concepts" style. |
I would say no because I am not sure what this would even mean. One potential interpretation might be to understand such a blank node as something like a variable, as is the case for blank nodes in BGPs. However, this interpretation doesn't make much sense as SPARQL also doesn't allow something like Another potential interpretation might be to understand such a blank node as a way to refer to a named graph that is named with that blank node in the underlying RDF dataset of the triple store. Yet, this wouldn't work because the blank node cannot be given directly but must be written via a blank node identifier, e.g.,
which the SPARQL parser would then turn into a fresh blank node rather than some blank node that is used as a graph name in some dataset.
Probably not. It has almost the same problem as
I don't immediately see a problem with that. Notice, however, that
I think that's an orthogonal question. A related question that is not orthogonal is whether the |
Update has it's own notion, see 5.2.1 Dataset-UNION Notice that this one is slightly different from "RDF Dataset Merge" in Query. In particular, Dataset-UNION is defined in terms of set union of graphs whereas "RDF Dataset Merge" is defined in terms of the graph merge operation of RDF.
Yes, RDF Concepts seems to be a more suitable place for such a definition. |
OK - I was getting ahead of myself and imaging an |
Good point. It has use for loading data, preparing it, then updating the dataset. There is also the order dataset operations We don't want to pile too much work - we could agree a design on sparql-update issues where it can done, if time, else leave to the ongoing WG after the 2024-2026 charter end. Recorded for now : w3c/sparql-update#42 This PR can be for "RDF Dataset" in SPARQL Query only. |
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Thanks @rubensworks for resolving the comments. Do we still want to remove the definition of the notion of "RDF Dataset Merge" as considered above? |
I've created an issue for this (#155). Since there are some differing opinion, it may be better to discuss it there. (maybe even to be discussed during one of our weekly meeting) |
Ah, I must have missed that one. Perfect. Then I am fine as well with merging this PR. |
It was discussed and agreed in the workgroup meeting of 2024-10-31 to move the definition of dataset merge in RDF Semantiucs (section 10)
|
Closes #28
Preview | Diff