Code Monkey home page Code Monkey logo

Comments (7)

nicholascar avatar nicholascar commented on September 24, 2024 1

I don't think this issue should block the new rdflib major release

Agreed. We discussed just bringing rdflib-jsonld into main rdflib right now but I think it sensible to prove the 1.1 support and then do that, since the support is part-way implemented already. Then we retain the Issues/PRs and commit history that added the 1.1 support here for historical record but port over all issues such as this to the main rdflib Issues tracker.

from rdflib-jsonld.

sblack-usu avatar sblack-usu commented on September 24, 2024 1

This is something I have interest in as well. Has there been any movement on supporting compact serialization of json-ld?

from rdflib-jsonld.

jbkoh avatar jbkoh commented on September 24, 2024

I'd be interested in this issue too. I understand it's easier to assign ids to blank nodes for serialization, but one of the upsides of JSON-LD is the nested format with JSON, which is more human-readable.

from rdflib-jsonld.

westurner avatar westurner commented on September 24, 2024

See also #52 :

How to use this from the command line with rdfpipe to convert from one format to another (with optional {compaction,}) could be helpfully added to README.rst.

from rdflib-jsonld.

nicholascar avatar nicholascar commented on September 24, 2024

The RDFlib maintainers are hoping to see JSON-LD 1.1 support completed soon and then for this package to me merged into the main RDFlib package as a main serializer/parser plugin.

If any of you are interested in completing JSON-LD 1.1 support in order to then take up other issues, such as this one, please let me or the rdflib-dev mailing list know. We have a couple of developers getting ready to look into this but more help will be greatly appreciated.

from rdflib-jsonld.

westurner avatar westurner commented on September 24, 2024

Is PyLD the only JSON-LD implementation with support for compaction at present? https://github.com/digitalbazaar/pyld/blob/316fbc2c9e25b3cf718b4ee189012a64b91f17e7/tests/runtests.py#L664

I don't think this issue should block the new rdflib major release which will hopefully contain a completed integrated json-ld 1.1 parser/serializer. Looking at https://rdflib.dev/ , JSON-LD [1.1] compaction (and docs for how to specify the serializer format parameter w/ the RDFlib API and the rdfpipe CLI [#52]) would probably entail a minor version bump to e.g. 6.1.0?

from rdflib-jsonld.

westurner avatar westurner commented on September 24, 2024

From google/yamlfmt#125 ; it's called JSON-LD Framing :

reframe/compact/expand the underlying JSON-LD graph

from rdflib-jsonld.

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.