Skip to content
Henrik Jürges edited this page Oct 25, 2017 · 7 revisions

Manual setup

Manually setting up the framework requires Apache Maven. So start of by getting Maven over here if you haven't already done so. Next, clone the git repository to a destination of your choice.

mkdir ~/dwerft_lpdc
git clone https://github.com/yovisto/dwerft.git ~/dwerft_lpdc

RML

Since there is a bug within rml you have to checkout the rml repository and fix one line.

1. $ git clone https://github.com/RMLio/RML-Mapper.git

2. Change .gitmodules from:
[submodule "RML-LogicalSourceHandler"]
  path = RML-LogicalSourceHandler
  url = https://github.com/RMLio/RML-LogicalSourceHandler.git
to:
[submodule "RML-LogicalSourceHandler"]
  path = RML-LogicalSourceHandler
  url = https://github.com/santifa/RML-LogicalSourceHandler.git

3. $ git submodule update --init --recursive 

Lastly provide rml with mvn clean install.

TailR

git clone https://github.com/SemanticMultimedia/tlr-java-api.git
cd tlr-java-api
mvn clean install -DskipTests

If you plan on using an operation which utilizes the Preproducer API, make sure to provide valid credentials. Simply copy the template we provide to the tools directory, and with an editor of your choice add your credentials. Adjust other settings to your needs.

cd ~/dwerft_lpdc/tools
cp src/main/resources/DwerftConfig.properties .
vim DwerftConfig.properties

Irrespective of whether you added credentials or not, you can now execute the lpdc project by running the run script provided. The various arguments available are listed in the next section.

./run.sh <your_arguments>

The Arguments have their own wiki page.

Clone this wiki locally