This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="post" xmlns:dc="http://purl.org/dc/terms/" xmlns:xsd="http://www.w3.org/2001/XMLSchema#"> | |
<h2 property="dc:title">SemanticJournal blog engine</h2> | |
<div class="post_meta"> | |
By <span rel="dc:creator" resource="http://swirrl.com/ric.rdf#me" >Ric Roberts</span> | |
on <span property="dc:date" datatype="xsd:dateTime" content="2009-12-30T12:30:23+00:00" >30 Dec 2009</span> | |
</div> | |
<div class="post_content"> | |
Sorry if I’ve introduced... | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$:.unshift File.join(File.dirname(__FILE__), 'lib') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'capistrano/recipes/deploy/strategy/remote_cache' | |
module Capistrano | |
module Deploy | |
module Strategy | |
# Implements the deployment strategy that keeps a cached checkout of | |
# the source code on each remote server. Each deploy simply updates the | |
# cached checkout, and then does a copy from the cached copy to the | |
# final deployment location. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set :deploy_via, "remote_cache_with_project_root" | |
set :project_root, "subfolder_name" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export TDBROOT="/path/to/TDB-0.8.7" | |
export JOSEKIROOT="/path/to/Joseki-3.4.2" | |
export JENAROOT="/path/to/Jena-2.6.3" | |
export PATH="$TDBROOT/bin:$JOSEKIROOT/bin:$PATH" | |
export CLASSPATH=".:$JENAROOT/lib/*.jar:$TDBROOT/lib/*.jar:$JOSEKIROOT/lib/*.jar" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /path/to/Joseki-3.4.2 | |
chmod u+x bin/* | |
cd /path/to/TDB-0.8.7 | |
chmod u+x bin/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<servlet-mapping> | |
<servlet-name>SPARQL service processor</servlet-name> | |
<url-pattern>/myservice</url-pattern> | |
</servlet-mapping> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /path/to/Joseki-3.4.2 | |
./bin/rdfserver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Service 3 - SPARQL processor only handling a given dataset | |
<#service3> | |
rdf:type joseki:Service ; | |
rdfs:label "My New Service" ; | |
joseki:serviceRef "myservice" ; # web.xml must route this name to Joseki | |
# dataset part | |
joseki:dataset <#mydatasetname> ; | |
# Service part. |
OlderNewer