Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A simple Linked Data demo app.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bootstrap
Octocat-spinner-32 doc
Octocat-spinner-32 img
Octocat-spinner-32 rdb2rdf
Octocat-spinner-32 README.md
Octocat-spinner-32 b2b-app.js
Octocat-spinner-32 b2b_server.py
Octocat-spinner-32 index.html
Octocat-spinner-32 jquery.js
Octocat-spinner-32 json.js
Octocat-spinner-32 rdf_store_min.js
README.md

Beer2Beer - The beer preferences directory

A simple Linked Data app. Just open the index.html document in your browser ...

Creating the Linked Data

  • To create the RDF data, load rdb2rdf/b2b_db.sql in a RDBMS (I'm using PostgreSQL)
  • Then, after installing D2RQ, you run the rdb2rdf/generate_direct_mapping command (note: you'll have to patch the path to your D2RQ installation in this command) - this generates a mapping you can customise to your own needs.
  • If you want to use my mapping (rdb2rdf/b2b_mapping.ttl) you can the either run the D2RQ server (SPARQL endpoint) or dump that data to a file (see below)

To run the D2RQ server I run (in the D2RQ home directory):

./d2r-server /Users/michael/Documents/events/TUT_STA2012/b2b-app/rdb2rdf/b2b_mapping.ttl

To dump the data I run (in the D2RQ home directory):

./dump-rdf /Users/michael/Documents/events/TUT_STA2012/b2b-app/rdb2rdf/b2b_mapping.ttl > b2b_dump.n3

License

This software is licensed under Apache 2.0 Software License.

Something went wrong with that request. Please try again.