Hello,

I will need some ideas on importing rdf into Marmotta, and here is the ns
and snippet of the rdf description:

>     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
>     xmlns:vocab="http://localhost:2020/vocab/";
>     xmlns:foaf="http://xmlns.com/foaf/0.1/";
>     xmlns:edm="http://www.europeana.eu/schemas/edm/";
>     xmlns:dc="http://purl.org/dc/elements/1.1/";
>     xmlns:ore="http://www.openarchives.org/ore/terms/";
>     xmlns:dcterms="http://purl.org/dc/terms/";
>     xmlns:xsd="http://www.w3.org/2001/XMLSchema#";
>     xmlns:pcdm="http://pcdm.org/models#";
>     xmlns:dctype="http://purl.org/dc/dcmitype/";
>     xmlns:map="http://localhost:2020/#";
>     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#";>

  *<*rdf:*Description *rdf:about="
> http://sa.library.oregonstate.edu/handle/1957%2F906";
> *>*    *<*pcdm:*hasMember *rdf:resource="
> http://sa.library.oregonstate.edu/handle/1957%2F906/bitstream/3";
> */>*    *<*pcdm:*hasMember *rdf:resource="
> http://sa.library.oregonstate.edu/handle/1957%2F906/bitstream/1";
> */>*    *<*pcdm:*hasMember *rdf:resource="
> http://sa.library.oregonstate.edu/handle/1957%2F906/bitstream/2";
> */>*    *<*dcterms:*subject *rdf:resource="
> http://id.loc.gov/authorities/classification/Wood%20--%20Drying%20--%20Bibliography
> "
> */>*    *<*dcterms:*subject *rdf:resource="
> http://id.loc.gov/authorities/classification/Lumber%20--%20Drying%20--%20Bibliography
> "
> */>*    *<*dcterms:*issued>*1961-08*</*dcterms:
> *issued>*    *<*dcterms:*language>*en_US*</*dcterms:
> *language>*    *<*dcterms:*publisher>*Madison, Wis. : U.S. Dept. of
> Agriculture, Forest Service, Forest Products Laboratory*</*dcterms:
> *publisher>*    *<*edm:*dataProvider>*Oregon State University*</*edm:
> *dataProvider>*    *<*edm:*dataProvider>*Oregon State University*</*edm:
> *dataProvider>*    *<*edm:*dataProvider>*Oregon State University*</*edm:
> *dataProvider>*    *<*rdf:*type *rdf:resource="
> http://pcdm.org/models#Object";
> */>*    *<*rdf:*type *rdf:resource="http://pcdm.org/models#Object";
> */>*    *<*rdf:*type *rdf:resource="http://pcdm.org/models#Object";
> */>*    *<*dcterms:*title>*List of publications on the seasoning of wood
> *</*dcterms:
> *title>*    *<*dcterms:*creator>*Forest Products Laboratory (U.S.)*</*
> dcterms:
> *creator>*    *<*dcterms:*isPartOf>*Report (Forest Products Laboratory
> (U.S.))*</*dcterms:
> *isPartOf>*    *<*dcterms:*isPartOf>*no.446*</*dcterms:
> *isPartOf>*    *<*dcterms:*type>*Book*</*dcterms:
> *type>*    *<*dcterms:*available>*2006-02-01T14:12:12Z*</*dcterms:
> *available>*    *<*dcterms:*identifier>*http://hdl.handle.net/1957/906*</*
> dcterms:
> *identifier>*  *</*rdf:*Description>*

The rdf contains about 50,000 records. And I have tried the admin and curl
to import:
Admin: relation as 'meta' and mime as 'application/rdf+xml', and the error
I get is "http://localhost:8080 unknown or not implemented: unknown error"
curl: curl -sfS -X POST -H "Content-Type: application/rdf+xml;
charset=utf-8" -d @sa-dump.rdf http://localhost:8080/marmotta/ and the
error I get is "The requested URL returned error: 500 Internal Server Error"
What might the cause of the error? IS that related with the new NS such as
'determs' and 'pcdm'? Should I update the meta.properties?

Thanks
--
Hui

Reply via email to