rdf-ext-archive / rdf-parser-jsonld Goto Github PK
View Code? Open in Web Editor NEWDeprecated - JSON-LD parser that follows the RDF Interface specification
Deprecated - JSON-LD parser that follows the RDF Interface specification
When the input data is invalid JSON, it is not parsed, and doesn't handle a promise rejection. It should be caught at JSON.parse(data)
in this.process
: https://github.com/rdf-ext/rdf-parser-jsonld/blob/master/index.js#L48
rdf-parser-jsonld is written in new Javascript syntax and this fails in Internet Explorer during development. I cannot build our front end project either, since npm packages are not processed.
This code should be in ES5
https://github.com/rdf-ext/rdf-parser-jsonld/blob/master/lib/ParserStream.js
Read more about this issue here
https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify
I noticed the jsonld parser only accepts strings as literals. I'm wondering if it is correct to use "x": 50,
instead of "x": "50"
in json-ld, but I couldn't find the answer in the spec. Do you have the answer?
The new version doesn't come with all the RDFa stuff :-)
How to use the string-to-stream lib in a browser version? In the example a require is used for this.
The jsonld.toRDF output is closer to the RDF-Ext format. Using that function to convert the JSON-LD input should simplify the rdf-parser-jsonld code.
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.