Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bigbluehat/ldp-on-couchdb
[EXPERIMENTAL] Linked Data Platform on Apache CouchDB
https://github.com/bigbluehat/ldp-on-couchdb
Last synced: 12 days ago
JSON representation
[EXPERIMENTAL] Linked Data Platform on Apache CouchDB
- Host: GitHub
- URL: https://github.com/bigbluehat/ldp-on-couchdb
- Owner: BigBlueHat
- Created: 2015-04-26T22:21:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-28T21:19:14.000Z (over 9 years ago)
- Last Synced: 2024-11-08T04:41:28.575Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 252 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LDP on CouchDB
[Apache CouchDB](http://couchdb.apache.org/)'s HTTP API is quite
similar to LDP's Basic Container system.This project closes the loop by providing a set of CouchApp
functions (`_update`, `_show`, etc) that add the remaining
LDP specific semantics.## Usage
0. `npm install && npm install -g gulp`
1. Copy `config.json.sample` to `config.json`
2. Change `config.json` to match your setup.
3. `gulp` (or only `gulp apps` or `gulp docs`)
4. Send LDP requests to the URL you set in `config.json`
plus `_design/ldp/_rewrite/`
5. (optional) Setup a Virtual Host to make the URL above
prettier.## Sample Requests
Assuming your setup matches mine :smiley_cat:
* http://localhost:5984/ldp-on-couchdb/_design/ldp/_rewrite/
* returns a Turtle representation of the Basic Container (which references
the documents contained in this container.
* http://localhost:5984/ldp-on-couchdb/_design/ldp/_rewrite/a
* returns a JSON-LD representation of the `a` document + the
[Web Annotation Data Model JSON-LD Context](http://www.w3.org/TR/annotation-model/#json-ld-context).## License
Apache License 2.0