Comments (7)
Can the result be JSON-LD please ? :-)
It would certainly be interesting to look at extending JSON-LD to cover RDF* triples as well, but note that what we are talking about here is a JSON format for a tabular query result, not for RDF data. As such, I don't immediately see how we could make this particular format a JSON-LD format.
from rdf-star.
Adding JSON-LD into the mix makes the effort of supporting the proposed format that much harder (it effectively will require a completely new parser/writer implementation for most software packages), and will hamper uptake.
Not necessarily. Ideally only a JSON-LD context needs to be added. But that would need to be looked at closer.
I suggest that you open a separate github issue (either here or perhaps more appropriately over at the SPARQL 1.2 community group, since this idea does not seem specific to RDF* to me) about formulating a JSON-LD format for tabular SPARQL query results.
Done: w3c/sparql-dev#125
from rdf-star.
I agree with @jeenbroekstra.
As a side note, work on JSON-LD for RDF* has already started: https://json-ld.github.io/json-ld-star/
from rdf-star.
@jeenbroekstra wrote:
... what we are talking about here is a JSON format for a tabular query result, not for RDF data. As such, I don't immediately see how we could make this particular format a JSON-LD format.
Half a decade ago quite a bit of effort went into creating a set of W3C Recommendations enabling conversions from tabular data to RDF:
https://www.w3.org/2013/csvw/wiki/Main_Page
I think this work can and should be used to enable the new SPARQL version to output JSON-LD (or JSON-LD*) and not just JSON. This first of all requires a JSON-LD context - which could become part of the new SPARQL specification.
from rdf-star.
Can the result be JSON-LD please ? :-)
from rdf-star.
Half a decade ago quite a bit of effort went into creating a set of W3C Recommendations enabling conversions from tabular data to RDF:
https://www.w3.org/2013/csvw/wiki/Main_Page
I think this work can and should be used to enable the new SPARQL version to output JSON-LD (or JSON-LD*) and not just JSON. This first of all requires a JSON-LD context - which could become part of the new SPARQL specification.
There may well be a use case for what you propose, a more comprehensibly enriched JSON-LD format for SPARQL tabular query results, and I'be interested to see a proposal to that effect. I do note, however, that having such a format is not contingent on the availability of RDF* in the data. As such, it is out of scope for the issue proposed here, which is purely about a minimal syntactical extension of a specific standard JSON format to enable carrying query results involving RDF* data.
We need this to be minimal to allow low-effort uptake by various implementors (i.e. a simple adjustment of the currently existing parser/writer code in various software packages). Adding JSON-LD into the mix makes the effort of supporting the proposed format that much harder (it effectively will require a completely new parser/writer implementation for most software packages), and will hamper uptake.
I suggest that you open a separate github issue (either here or perhaps more appropriately over at the SPARQL 1.2 community group, since this idea does not seem specific to RDF* to me) about formulating a JSON-LD format for tabular SPARQL query results.
from rdf-star.
This was solved a while ago by #39
from rdf-star.
Related Issues (20)
- SPARQL-star DESCRIBE Queries
- RDF-star semantics (as currently defined) is non-monotonic HOT 4
- sparql-compare type signature conflicts with description
- Confusing definition of sparql-compare for triples with IRI components HOT 1
- Issue with sparql-compare semantics and ORDER BY
- RDF-star IRI 404 HOT 1
- Self-referential resource URI for testing manifest documents is incorrect HOT 6
- [Question] Indexing strategies for reified triples HOT 2
- deeply nested triples or blank nodes? HOT 2
- Referential opacity entailment examples HOT 2
- Clarification on comparison to reified statements
- What is the graph of a quoted triple? HOT 14
- [Question] RDF-star and Nesting Annotations HOT 2
- Subset of RDF-star without recursion HOT 1
- Question about sparql-star-pattern-9 eval test HOT 2
- [Request]: Negative syntax tests for annotation syntax n-triples and n-quads HOT 2
- (tracking) need explicit notes that `<<` and `>>` are not any of the visually similar characters HOT 9
- trig-star : grammar and tests are inconsistent HOT 2
- How can a data property be restricted to apply only to a specific type of statement? HOT 2
- Triple annotation with Parser Tokens HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rdf-star.