You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@marmotta.apache.org by Reto Gmür <re...@apache.org> on 2014/01/21 14:12:01 UTC

Linked Data Platform Features

Hello,

I wanted to give the LDP features of Marmotta a closer look. I managed to
install and start marmotta but I don't find the documentation onusing LDP
features. Starting with: how do I create an LDPC?

Thanks for any pointer.

Cheers,
Reto

Re: Linked Data Platform Features

Posted by Jakob Frank <ja...@apache.org>.
Hi Reto,

On 22 January 2014 22:49, Reto Gmür <re...@apache.org> wrote:
> How do I do this? Do I have to define a subspace of the URI Space to be
> such a read-write web space? On all the URIs I tried putting rdf I got an
> 403 response, e.g.:
>
> $ curl -D - -T myfoaf.rdf -u "admin:admin" -H "Content-Type:
> application/rdf+xml" http://localhost:8080/test
You can access resources (r/w) using the "resource" web-service using
http://localhost:8080/resource?uri=http://www.example.com/my/resource

For resources that share the same base-uri with the server, you can
use a shortcut:
http://localhost:8080/resource?uri=http://localhost:8080/resource/foo/bar
is the same as http://localhost:8080/resource/foo/bar

For bulk-imports there are io-services, placed under (POST)
http://localhost:8080/import/upload

A full list of web-services is available in the RESTdoc under
http://localhost:8080/core/doc/rest/overview-index.html

Best,
Jakob

Re: Linked Data Platform Features

Posted by Reto Gmür <re...@apache.org>.
Hi Sergio,

Thanks for your answer.

In the meantime you can use Marmotta as a regular Read-Write Linked Data
> server (i.e., not strictly LDP). Thanks for your interest.
>
>
How do I do this? Do I have to define a subspace of the URI Space to be
such a read-write web space? On all the URIs I tried putting rdf I got an
403 response, e.g.:

$ curl -D - -T myfoaf.rdf -u "admin:admin" -H "Content-Type:
application/rdf+xml" http://localhost:8080/test
HTTP/1.1 100 Continue

HTTP/1.1 403 Forbidden
Server: Apache Marmotta/3.0.1 (build 0)
Content-Type: text/html;charset=utf-8
Content-Length: 961
Date: Wed, 22 Jan 2014 21:45:03 GMT

<html><head><title>Apache Tomcat/7.0.30 - Error report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head><body><h1>HTTP Status 403 - </h1><HR size="1"
noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
<u></u></p><p><b>description</b> <u>Access to the specified resource has
been forbidden.</u></p><HR size="1" noshade="noshade"><h3>Apache
Tomcat/7.0.30</h3></body></html>



Cheers,
Reto

Re: Linked Data Platform Features

Posted by Sergio Fernández <se...@salzburgresearch.at>.
Hi Reto,

On 21/01/14 14:12, Reto Gmür wrote:
> I wanted to give the LDP features of Marmotta a closer look. I managed to
> install and start marmotta but I don't find the documentation onusing LDP
> features. Starting with: how do I create an LDPC?

Actually there is no production code according the last LDP drafts, just 
some proofs of concept.

My plan, hopefully I can do it, is to go back to this soon, probably 
plan a sprint in the beginning of February. Stay tuned to the mailing 
list to further news.

In the meantime you can use Marmotta as a regular Read-Write Linked Data 
server (i.e., not strictly LDP). Thanks for your interest.

Cheers,

-- 
Sergio Fernández
Senior Researcher
Knowledge and Media Technologies
Salzburg Research Forschungsgesellschaft mbH
Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
T: +43 662 2288 318 | M: +43 660 2747 925
sergio.fernandez@salzburgresearch.at
http://www.salzburgresearch.at

Re: Linked Data Platform Features

Posted by Szaby Grünwald <sz...@apache.org>.
Hm, you're right, the documentation on the website isn't very verbose yet.
As I used the REST services earlier, it just worked as I remember. Maybe
the security layer came inbetween that has to be configured before you can
use it, I don't know. But I'm sure the core developers can help you further.

Cheers,
Szaby


On 21 January 2014 17:13, Reto Gmür <re...@apache.org> wrote:

> Hi Szaby
>
> I've seen this document but I don't any reference to LDP or it's core
> concepts LDPR and LDPC. But it raises another question: How do I access the
> REST API, the root of the webapp seems to return only html (tried asking
> for turtle and rdf/xml).
>
> Cheers,
> Reto
>
>
> On Tue, Jan 21, 2014 at 2:15 PM, Szaby Grünwald <sz...@apache.org> wrote:
>
> > Hi Reto,
> > http://marmotta.apache.org/platform/index.html
> > cheers,
> > Szaby
> >
> >
> > On 21 January 2014 14:12, Reto Gmür <re...@apache.org> wrote:
> >
> > > Hello,
> > >
> > > I wanted to give the LDP features of Marmotta a closer look. I managed
> to
> > > install and start marmotta but I don't find the documentation onusing
> LDP
> > > features. Starting with: how do I create an LDPC?
> > >
> > > Thanks for any pointer.
> > >
> > > Cheers,
> > > Reto
> > >
> >
>

Re: Linked Data Platform Features

Posted by Reto Gmür <re...@apache.org>.
Hi Szaby

I've seen this document but I don't any reference to LDP or it's core
concepts LDPR and LDPC. But it raises another question: How do I access the
REST API, the root of the webapp seems to return only html (tried asking
for turtle and rdf/xml).

Cheers,
Reto


On Tue, Jan 21, 2014 at 2:15 PM, Szaby Grünwald <sz...@apache.org> wrote:

> Hi Reto,
> http://marmotta.apache.org/platform/index.html
> cheers,
> Szaby
>
>
> On 21 January 2014 14:12, Reto Gmür <re...@apache.org> wrote:
>
> > Hello,
> >
> > I wanted to give the LDP features of Marmotta a closer look. I managed to
> > install and start marmotta but I don't find the documentation onusing LDP
> > features. Starting with: how do I create an LDPC?
> >
> > Thanks for any pointer.
> >
> > Cheers,
> > Reto
> >
>

Re: Linked Data Platform Features

Posted by Szaby Grünwald <sz...@apache.org>.
Hi Reto,
http://marmotta.apache.org/platform/index.html
cheers,
Szaby


On 21 January 2014 14:12, Reto Gmür <re...@apache.org> wrote:

> Hello,
>
> I wanted to give the LDP features of Marmotta a closer look. I managed to
> install and start marmotta but I don't find the documentation onusing LDP
> features. Starting with: how do I create an LDPC?
>
> Thanks for any pointer.
>
> Cheers,
> Reto
>