Thanks Rob for your thoughts! I've been looking at configuration several times. 
Hopefully, I get my head wrapped around this. :)

On 2016-05-29 18:43, "brent.shamba...@gmail.com"<brent.shamba...@gmail.com> 
wrote: 
> I imported the file as follows:
> Core Services > Import > File
> 1. Select imput source type: File
> 2. Select File: Choose File: lmf-export- ....ttl
> 3. Import:
> Source: File
> Relation: meta
> Mime: text/turtle
> Context: use existing
> 4. Select context url: http://www.w3.org/ns/ldp# 
> 
> This works, except the context is http://www.w3.org/ns/ldp instead of 
> http://www.w3.org/ns/ldp# . In other words, the hash was truncated.
> 
> On 2016-05-29 16:28, "brent.shamba...@gmail.com"<brent.shamba...@gmail.com> 
> wrote: 
> > Okay, this is funny. It did work, but I did not look like it was working 
> > since it does not show up at http://localhost:8080/marmotta/ldp when I type 
> > it into the browser. To get there I click on 
> > http://localhost:8080/marmotta/ldp right below Triples. 
> > 
> > Observation:
> > 
> > When I first go to (http://localhost:8080/marmotta/ldp) in the new instance 
> > of Marmotta with the import I see Views and Triples below the Apache 
> > Marmotta logo.
> > 
> > When I got to (http://localhost:8080/marmotta/ldp) in the previous instance 
> > of Marmotta from where the import came from, I see Views, Triples, and 
> > Inspector.
> > 
> > When I click on http://localhost:8080/marmotta/ldp in the new instance the 
> > page looks like the previous instance except the content is 
> > http://localhost:8080/marmotta/ldp/W .
> > 
> > I will have to investigate this further
> > 
> > -Brent
> > 
> > On 2016-05-27 18:13, Brent Shambaugh <brent.shamba...@gmail.com> wrote: 
> > > Dear all,
> > > 
> > > I am trying to migrate a marmotta backup  to another new marmotta 
> > > instance.
> > > I tried the simple import thing and it got everything in there from the
> > > export with a selection of all, but it was not browsable from
> > > http://localhost:8080/marmotta/ldp.  I also could not do a GET as well to
> > > get a similar response to the instance that I backed up.
> > > 
> > > So, I turned to curl.
> > > After reading the LDP primer I found PUT does not allow for the creation 
> > > of
> > > LDP containers, so I guessed that PATCH would allow this
> > > 
> > > I tried:
> > > 
> > > curl -iX PATCH -H "Content-Type: text/turtle" --data @./ijsg.ttl -H
> > > 'If-Match: W/"1464384711000"' http://localhost:8080/marmotta/ldp/
> > > 
> > > and
> > > 
> > > curl -iX PATCH -H "Content-Type: text/turtle" --data @./ijsg.ldp -H
> > > 'If-Match: W/"1464384711000"' http://localhost:8080/marmotta/ldp/
> > > 
> > > I am getting a 401 unauthorized even though the security profile is set to
> > > simple.
> > > 
> > > Is there something I need to change?
> > > 
> > > Thanks for your time.
> > > 
> > > -Brent Shambaugh
> > > 
> > 
> 

Reply via email to