view lib/readme.rdfjs @ 1404:025c91f8baa4

frontwindow display config, move keys out Ignore-this: 1d725d6548558e8cbcba30768c604c9f darcs-hash:0e084d33fda38aa2689131cb5c746bbc202b05af
author drewp <drewp@bigasterisk.com>
date Tue, 23 Jul 2019 10:25:56 -0700
parents a081772508bc
children
line wrap: on
line source

Notes on js rdf libs:

https://github.com/RubenVerborgh/N3.js
- claims to be fast, probably is
- awkward string syntax for uri/literal/etc
- quad support: yes, but
- sparql: yes, but no initial-bindings api :( https://github.com/tomayac/ldf-client/issues/3#issuecomment-138468212
- json-ld: no?

https://github.com/RubenVerborgh/SPARQL.js
- js query format looks nice
- reads triples from N3.js format

https://github.com/antoniogarrote/rdfstore-js
- "mid-rewrite" 2015-08
- contains interface to jsonld.js parser
- quad APIs are inconsistent or difficult. Parsed jsonld data is silently reduced to triples
- interesting observer api, including for sparql query results: https://github.com/antoniogarrote/rdfstore-js/blob/c038228134a19832ede2495bd13d281a13026438/README.md#events-api

https://code.google.com/p/rdfquery/
http://www.jenitennison.com/rdfquery/
- last edit 2011?
- reads rdf/json

https://github.com/digitalbazaar/jsonld.js/
- json-ld <-> nquads text
- various json-ld reformatters so you can walk the graph as plain js objects