Skip to content
jpcik edited this page Jul 5, 2012 · 1 revision

Morph is a rdb2rdf tool that uses r2rml mappings to generate rdf triples from databases.

Requirements:

  • Java 6
  • Scala 2.9.1
  • sbt for compiling, testing and dependency management (github.com/harrah/xsbt)

Bulding:

>sbt compile

Running test cases (includes r2rml-tc)

  • all tests:
>sbt test 
  • only r2rml-tc
>sbt
>project morph-r2rml-tc 
>test 
  • only some test case (e.g. D014)
>test-only *D014Test 

Developing in eclipse

  • get the Scala IDE for eclipse (scala-ide.org)
  • get the sbt eclipse plugin (github.com/typesafehub/sbteclipse)
  • first generate the eclipse project files ``

sbt eclipse ``

  • the eclipse project and classpath files are created, just open eclispe