Comments (7)
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.
This is something I have interest in as well. Has there been any movement on supporting compact serialization of json-ld?
from rdflib-jsonld.
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.
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.
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.
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.
From google/yamlfmt#125 ; it's called JSON-LD Framing :
reframe/compact/expand the underlying JSON-LD graph
- https://json-ld.org/playground/ has {Expanded, Compacted, Flattened, Framed,} JSON-LD 'compactions'(?)
- Compact serialization RDFLib/rdflib-jsonld#93
- https://www.w3.org/TR/json-ld11-framing/#framing-0
The following sections describe algorithms for framing JSON-LD documents. Framing is the process of taking a JSON-LD document, which expresses a graph of information, and applying a specific graph layout (called a Frame).
from rdflib-jsonld.
Related Issues (20)
- Parsing of @context string fails HOT 1
- JSON-LD data import adds trailing slashes to IRIs HOT 2
- RDFS Type to @type property HOT 3
- Graph formatted as json-ld contains all default namespaces as @context HOT 1
- jsonld with multiple datasets
- JSON-LD Star, YAML-LD Star HOT 1
- YAML-LD HOT 1
- v0.4.0 fails to parse what 0.5.0.dev0 can HOT 2
- Doesn't interpret newlines with python3 HOT 3
- Hierarchical JSON and @reverse
- HTTP Error 500: Internal Server Error => JSONDecodeError HOT 16
- Schema.org moving from HTTP Content Negotiation to JSON-LD 1.1 "Link:" header for context file HOT 9
- Aliased property serialized with namespace HOT 1
- Calling rdflib.tools.rdfpipe results in AttributeError: 'str' object has no attribute 'decode' HOT 1
- Broken stdin (-) handling HOT 2
- Support JSON-LD Framing HOT 1
- Cannot parse JSON-LD document if the scheme of @base IRI is non-standard HOT 1
- On parsing, @included section is ignored unless the JSON-LD document is flattened
- Parse all the data in the json-ld file?
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 rdflib-jsonld.