Hi everyone!
filip26 / ld-cli Goto Github PK
View Code? Open in Web Editor NEWA Command Line Interface for Linked Data Processing
License: Apache License 2.0
A Command Line Interface for Linked Data Processing
License: Apache License 2.0
Hi everyone!
e.g. utopia barcodes examples
{
"code": 100,
"context": {
"https://www.w3.org/ns/credentials/v2": 32768,
"https://w3id.org/vc-barcodes/v1": 32769,
"https://w3id.org/utopia/v2": 32770
},
"https://w3id.org/security#cryptosuiteString": {
"ecdsa-rdfc-2019": 1,
"ecdsa-sd-2023": 2,
"eddsa-rdfc-2022": 3,
"ecdsa-xi-2023": 4
}
}
Having <input>
optional enables reading from standard input.
Rename the project to linked-data-cli
and add commands sign
,verify
, keygen
allowing to process verifiable credentials and presentations.
Use iron-verifiable-credentials when ready.
e.g.
com.apicatalog.cborld.decoder.DecoderError: The encoded document must be at least 4 bytes but is [0].
at com.apicatalog.cborld.decoder.Decoder.decode(Decoder.java:64)
at com.apicatalog.cli.command.DecompressCmd.call(DecompressCmd.java:74)
at com.apicatalog.cli.command.DecompressCmd.call(DecompressCmd.java:27)
at picocli.CommandLine.executeUserObject(CommandLine.java:2045)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2465)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2457)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2419)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2421)
at picocli.CommandLine.execute(CommandLine.java:2174)
at com.apicatalog.cli.App.main(App.java:82)
at [email protected]/java.lang.invoke.LambdaForm$DMH/sa346b79c.invokeStaticInit(LambdaForm$DMH)
only the first three lines are relevant
blocked by filip26/titanium-json-ld#217
Enable Windows build by adding windows-latest
into build matrix ( .github/workflows/executables.yml
). Resolve missing cl.exe
command issue.
Add commands allowing to encode/decode JSON-LD document into/from CBOR-LD
use Iridium CBOR-LD when ready
e.g. a new command canonicalize
taking RDF as an input and producing canonicalized RDF as an output
e.g. a file with mapping
{
"[URL]": "[FILEPATH]"
}
provided as an option to ld-cli --cache contexts.json ...
This works:
ld-cli flatten --mode=1.1 --input=file:"$PWD"/test/picasso.json
with this picasso.json
, which has (x2) @context
loading this picasso-context.jsonld
.
When I remove (x2) the @context
, as I will in https://github.com/enola-dev/enola/pull/796/files (WIP), then this doesn't work, there is no failure, but content is missing:
ld-cli flatten --mode=1.1 --context=file:"$PWD"/test/picasso-context.jsonld --input=file:"$PWD"/test/picasso.json
PS, just FYI: I had used ld-cli
for exploring and learning JSON-LD (Thank You for creating it!), and am now moving on to directly using https://github.com/filip26/titanium-json-ld (actually its https://github.com/HASMAC-AS/hasmac-json-ld fork, via https://github.com/eclipse-rdf4j/rdf4j) and it works there. So I don't really need a fix, but just wanted to let you know about this, in case you wanted to look into it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.