Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 51 lines (27 sloc) 2.738 kb
8588382 @danja readme fleshed out
authored
1 **Seki is a front-end to an independent SPARQL server using node.js**
2
3 It operates as a Web server, building queries from HTTP requests and passing them to the SPARQL server and formatting the results to HTML which is passed back to the client (typically a browser).
4
5 ![Block Diagram](https://github.com/danja/seki/raw/master/docs/seki-full.png)
6
9a5c595 @danja tweak
authored
7 For updates see [Seki on G+](https://plus.google.com/b/102910670341143019851/102910670341143019851/posts)
8
9 Also [TODO List](https://workflowy.com/shared/dd5976b2-b48f-9096-0357-105f34b4d6ed/)
583af3d @danja note about branches added
authored
10
11 There are two branches in the git repository: master and dev. Master is essentially frozen (tweaks & bugfixes only). dev is in active development.
8588382 @danja readme fleshed out
authored
12
23b2c9f @danja tweak
authored
13 _to switch to the dev branch you need (I think) to:
14 git branch dev
15 git checkout dev
16 git pull origin dev
17 _
18
19
8588382 @danja readme fleshed out
authored
20 If (were it live) you pointed a browser at http://hyperdata.org/seki/Hello it would take "http://hyperdata.org/seki/Hello" to build a query to find out about that resource - in the data store it will have a title, content etc. - which then get turned into HTML to show in the browser.
21
648108c @danja tweak
authored
22 There is a form to allow POSTing, inserting title, content etc. for a given resource into the RDF store (there's no authentication as yet). Files can also be served from the filesystem.
8588382 @danja readme fleshed out
authored
23
24 It has been built against a Fuseki server, which uses protocols/query syntax according to the latest SPARQL 1.1 drafts, and so it should be reusable with any SPARQL server.
25
5dcab1e @danja tweaked
authored
26 (Note that the current version includes a little SAX-based XML SPARQL results to JSON converter, this was for demo purposes (don't ask!) - future versions *may* use JSON SPARQL results directly).
27
28 At present it considers all resources to be information resources - the ones that get displayed are instances of sioc:Post. Descriptions of those resources are contained in little named graphs (named by the resources in question). The Fuseki config includes _#dataset tdb:unionDefaultGraph true_ so SPARQL queries can be applied over a (virtual) merge of all the named graphs.
8588382 @danja readme fleshed out
authored
29
30 After the tutorial version is stable the plan is to use it as an experimental Read/Write Data Web testbed, e.g. adding support for the linked data API, RDF affordances play.
31
533be51 @danja tweaks
authored
32 See contents.txt in individual folders for description.
2045651 @danja changed dir structure, extra docs & code comments
authored
33
533be51 @danja tweaks
authored
34 Installation/running is easy :
35
36 * install node.js (or copy node.exe into the src dir)
37 * run Fuseki using Fuseki-0.2.0/run.bat (make executable first on *nix)
38 * node seki.js
39 * point a browser at http://localhost:8888/seki/
40
41 post data should have URIs of the form http://hyperdata.org/seki/Hello
42 the Fuseki server (SPARQL endpoint) will be accessible at http://localhost:3030/
43
44 [top-level danja project notes](https://github.com/danja/projects)
45
46 [Danny](http://dannyayers.com/) 2011
8588382 @danja readme fleshed out
authored
47
48
49
50
Something went wrong with that request. Please try again.