Giter Site home page Giter Site logo

Comments (7)

abrokenjester avatar abrokenjester commented on July 1, 2024 2

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.

akuckartz avatar akuckartz commented on July 1, 2024 2

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.

hartig avatar hartig commented on July 1, 2024 1

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.

akuckartz avatar akuckartz commented on July 1, 2024 1

@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.

akuckartz avatar akuckartz commented on July 1, 2024

Can the result be JSON-LD please ? :-)

from rdf-star.

abrokenjester avatar abrokenjester commented on July 1, 2024

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.

pchampin avatar pchampin commented on July 1, 2024

This was solved a while ago by #39

from rdf-star.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.