Hi Frans, On Tue, Apr 26, 2016 at 4:14 PM, Frans Knibbe <frans.kni...@geodan.nl> wrote: > > What doesn't work (yet) is dereferencing the URIs in my dataset. For > example, http://www.example.com/mydataset or > http://www.example.com/mydataset/myResource give HTTP 404 errors > (produced by Tomcat). > > Is there a way to enable or configure URI dereferencing in Marmotta? >
Whenever either a context or a resource is not named (located) under the default namespace, http://www.example.com/context/... and http://www.example.com/resource/... respectively, Marmotta provides an alternative way to dereference them: * /context?graph=<URI> * /resource?uri=<URI> In your case: * http://www.example.com/context?graph=http%3A%2F%2Fwww.example.com%2Fmydataset * http://www.example.com/resource?uri=http%3A%2F%2Fwww.example.com%2Fmydataset%2FmyResource If you are interested about further background, that's the relevant documentation: * Graph Identification at SPARQL 1.1 Graph Store HTTP Protocol: https://www.w3.org/TR/sparql11-http-rdf-update/#graph-identification * https://bitbucket.org/srfgkmt/lmf/wiki/Principles-Linked-Media Hope that helps. Cheers, -- Sergio Fernández Partner Technology Manager Redlink GmbH m: +43 6602747925 e: sergio.fernan...@redlink.co w: http://redlink.co