Hi!

I'm evaluating Apache Marmotta for use as an LDP store for storing and publishing bibliographic Linked Data at the National Library of Finland. Our usage scenario is somewhat similar to that of DPLA. We would like to store at least a million - possibly several million - small (50-100 triples) RDF documents, representing bibliographic metadata derived from MARC records, in a triple store. Marmotta seems attractive because it seems relatively simple (cf. Virtuoso which tries to do way too many things in the same package!), supports LDP and SPARQL 1.1, and uses a solid database (PostgreSQL) underneath.


I've done some initial tests using Marmotta 3.3.0 but I wanted to try also the most recent development version since a 3.4.0 release seems to be imminent. However, I have some problems building the development version.

Building the LDP module results in a test failure. Here is the output:

--snip--
Results :



Failed tests:

  LdpWebServiceTest.testPUT:438 1 expectation failed.

Response body doesn't match expectation.

Expected: RDF/XML String (

to contain Statement(<http://localhost:9540/marmotta/ldp/x/PUT> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Example>) and

to contain Statement(<http://localhost:9540/marmotta/ldp/x/PUT> <http://www.w3.org/2000/01/rdf-schema#label> null) and not

to contain Statement(<http://localhost:9540/marmotta/ldp/x/PUT> <http://www.w3.org/ns/ldp#contains> <http://localhost:9540/marmotta/ldp/x/PUT>))

  Actual: <?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF

        xmlns:ldp="http://www.w3.org/ns/ldp#";

        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";

        xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#";

        xmlns:xsd="http://www.w3.org/2001/XMLSchema#";

        xmlns:dcterms="http://purl.org/dc/terms/";

        xmlns:parent="http://localhost:9540/marmotta/ldp/x/";

        xmlns:child="http://localhost:9540/marmotta/ldp/x/PUT/";

        xmlns:this="http://localhost:9540/marmotta/ldp/x/PUT#";>



<rdf:Description rdf:about="http://localhost:9540/marmotta/ldp/x/PUT";>

        <rdf:type rdf:resource="http://www.w3.org/ns/ldp#Resource"/>

        <rdf:type rdf:resource="http://www.w3.org/ns/ldp#RDFSource"/>

        <ldp:interactionModel 
rdf:resource="http://www.w3.org/ns/ldp#Container"/>

        <rdf:type rdf:resource="http://www.w3.org/ns/ldp#Container"/>

        <rdf:type rdf:resource="http://www.w3.org/ns/ldp#BasicContainer"/>

<dcterms:created rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime";>2016-09-22T10:37:18.585+03:00</dcterms:created>

<dcterms:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime";>2016-09-22T10:37:18.834+03:00</dcterms:modified>

</rdf:Description>



</rdf:RDF>





Tests run: 8, Failures: 1, Errors: 0, Skipped: 0
--snip--


In an attempt to build Marmotta despite the test failure, I tried adding the -DskipTests=true parameter. However, this time the build fails at the Linked Data Query CLI module. As far as I can tell, this is the only relevant error message:

[WARNING] The POM for com.fasterxml.jackson.jr:jackson-jr-objects:jar:2.3.5 is missing, no dependency information available

Downloading: https://repository.apache.org/content/repositories/releases/com/fasterxml/jackson/jr/jackson-jr-objects/2.3.5/jackson-jr-objects-2.3.5.jar


Here are my build commands:
(cleared ~/.m2 just to be sure)
git clone git://git.apache.org/marmotta.git
git checkout develop
mvn clean package
mvn clean package -DskipTests=true

My system is Ubuntu 16.04 amd64.
Here's the output of mvn --version:

Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 1.8.0_91, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: fi_FI, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-36-generic", arch: "amd64", family: "unix"


Am I doing something wrong?

Thanks in advance,
Osma


--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 26 (Kaikukatu 4)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
osma.suomi...@helsinki.fi
http://www.nationallibrary.fi

Reply via email to