Skip to content

LODSPeaKr

timrdf edited this page Feb 29, 2012 · 65 revisions

What's first

What we'll cover

This page provides some DataFAQs-specific developer notes about LODSPeaKr. Though, the best stuff is on Alvaro's github.

Let's get to it

Alvaro Graves has a simple Linked Data publishing kit

This page has my DataFAQs-specific notes about lodspeakr. I'm putting the more general stuff onto his wiki directly. I've forked Alvaro's lodspeakr at https://github.com/timrdf/DataFAQs-lodspeakr to contain datafaqs-specific models and views. The plan it to always merge his latest into mine, with the only difference being my models and views.

Flush the meta/db.sqlite

sqlite3 meta/db.sqlite
sqlite> delete from document;
^D

I had to create the following diagram to keep track of the tokens that lodspeakr wants me to mention in different places. After seeing the disconnection, I proposed https://github.com/alangrafu/lodspeakr/issues/69

lodspeakr model and view mapping

forking lodspeakr

  1. fork on github

  2. if you already have, make a new github repos

check out lodspeakr, mv the files into the new github. commit citing his url.

make a URL to point to your install (e.g. http://purl.org/twc/projects/prov-lodspeakr/install -> https://raw.github.com/timrdf/prov-lodspeakr/master/utils/install)

change https://github.com/timrdf/prov-lodspeakr/blob/master/utils/install :

lodspeakr_repository="git://github.com/alangrafu/lodspeakr.git"
lodspeakr_repository="git@github.com:timrdf/prov-lodspeakr.git"

Tie into the Alvaro's original lodspeakr so you can get his latest changes.

bash-3.2$ pwd
/Users/lebot/afrl/phd/prov-wg/github/prov-lodspeakr
bash-3.2$ git remote add alvaro git@github.com:alangrafu/lodspeakr.git
bash-3.2$ git fetch alvaro
warning: no common commits
remote: Counting objects: 2218, done.
remote: Compressing objects: 100% (992/992), done.
remote: Total 2218 (delta 1197), reused 2069 (delta 1056)
Receiving objects: 100% (2218/2218), 668.72 KiB | 762 KiB/s, done.
Resolving deltas: 100% (1197/1197), done.
From github.com:alangrafu/lodspeakr
 * [new branch]      development -> alvaro/development
 * [new branch]      experimental -> alvaro/experimental
 * [new branch]      hotfixes   -> alvaro/hotfixes
 * [new branch]      master     -> alvaro/master
 * [new branch]      multiple_queries -> alvaro/multiple_queries
 * [new branch]      newNaming  -> alvaro/newNaming
 * [new branch]      priority_of_queries -> alvaro/priority_of_queries
 * [new branch]      test       -> alvaro/test
 * [new branch]      test_multiple_queries -> alvaro/test_multiple_queries
 * [new branch]      test_sqlite -> alvaro/test_sqlite
bash-3.2$ git merge alvaro/master
Auto-merging README
CONFLICT (add/add): Merge conflict in README
Auto-merging utils/install
CONFLICT (add/add): Merge conflict in utils/install
Automatic merge failed; fix conflicts and then commit the result.

What's next

Clone this wiki locally