-
Notifications
You must be signed in to change notification settings - Fork 2
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
Allow dataset formats to be valid in LOAD with no INTO #41
Comments
This is following through on the RDF 1.1 Concept definition of RDF Dataset allowing blank nodes for graph names. See also w3c/sparql-query#152 |
JSON-LD is often used as a graph-only format. Maybe we can allow |
Yes, that seems natural. All the formats allow a graph-only subset. The one I come across sometimes is nquads as a dataset dump and the dataset only has a default graph. |
What is supposed to happen in this case? Are dataset formats acceptable if there is an INTO? |
This issue is "with no INTO". I now think it needs to discussed and considered separately. |
On reconsideration, that We can treat it as a separate issue (if anyone wants to raise it). For this issue, we can make progress on the "without INTO" case. |
I think (As Andy says, the latter part potentially as a separate issue.) |
This could be viewed as "errata" because LOAD talks about "RDF Document" which is defined in RDF Concepts as includeing dataset formats. |
See also PR #46. A behavior when encountering quadswhen loading "INTO" could be to take only the default graph from the RDF document/dataset. I don't think we should require that or give it much weight but there is an issue when loading a large document only to find quads after a lot of work has been done. Easy if fully ACID-transactional-serialized but ideal behaviour can be hard/costly to provide otherwise. We could give this behavior some status by making it a |
+1 to this behavior. An other possible behavior is to load the default graph from the RDF document/dataset into the named graph specified by |
This was discussed during the #rdf-star meeting on 05 December 2024. View the transcriptAllow dataset formats to be valid in LOAD with no INTO 4<gb> Pull Request 46 LOAD RDF document clarification (description section and definition section) (by afs) AndyS: At the time SPARQL Update was written, it worked only on graphs. It's undefined on how to load documents that describe datasets. ora: If I were loading N-Quads, and it specified the graph to load into, would it be an error AndyS: Yes, that would be an error. If there is no graph name, it would go into the target graph. pchampin: Could we say that the "INTO" is where default triples go? And other triples go into their specified graph. AndyS: There are systems that would just use the default data, and they would not be compliant. james: How does this align with the graph-store protocol, which is also underspecified. Can they be aligned? AndyS: The graph-store protocol is not quite the same thing, as you need to explicitly name the target. james: It's odd that that the graph-store protocol is not sufficient. I think it's inability to handle other graphs as an erratum. ora: Nothing prevents us from fixing the graph-store protocol from being inline with this. Do you object to fixing this right now? james: I'd like to know specifically where we're going to understand the expected behavior, as these are interrelated. AndyS: Perhaps james can read the definitional part of Op Load. Please make a separate proposal, but people actually need to work on it. ora: I suggest we fix LOAD now and consider a matrix approach in the future. PROPOSAL: Continue with #41 <gb> Issue 41 Allow dataset formats to be valid in LOAD with no INTO (by afs) [Errata] [needs discussion] [spec:enhancement] <ktk> +1 <niklasl> +1 <gtw> +1 <gkellogg> +1 <pchampin> +1 <ora> +1 <AndyS> +1 <james> +1 <Souri> +1 <Tpt> +1 <william_vw> +1 <tl> +1 <olaf> +1 <AZ> +1 <TallTed> +1 <doerthe> +1 <eBremer> +1 RESOLUTION: Continue with #41 <gb> Issue 41 Allow dataset formats to be valid in LOAD with no INTO (by afs) [Errata] [needs discussion] [spec:enhancement] james: I will add a matrix to the issue to see if I have understood correctly. <gb> Issue 130 vocabulary to refer to the individual nodes in a triple term (by rat10) [discuss-f2f] <gb> Issue 130 vocabulary to refer to the individual nodes in a triple term (by rat10) [discuss-f2f] <Zakim> tl, you wanted to ask about status label of issue #130 <w3c/rdf-star-wg#130> |
WG Resolution from the meeting of 2024-12-05:
|
Here are two tables which indicate the disposition for content included in each category of
In the first table, one applies the logic that the latest specification for the value should supersede any earlier specification and follows the control flow model, that the content creation precedes the operation, which leads to the following effects.
The pull request suggest a logic which rejects over-constrained operations.
|
The comment above relates to w3c/sparql-graph-store-protocol#24. |
yes, it does relate to that, but it is not intended to be restricted to that. |
There is more material in GSP (Graph Store Protocol) related to the topic: e.g. GSP uses SPARQL Update (and Query) to define its operation in some places. |
Formats: TriG, N-Quads, JSON-LD.
The text was updated successfully, but these errors were encountered: