I have a local resource that I am serving up through Apache on my Mac for 
testing.  The file has ttl formatted triples.  It is a very simple file with 
just 3 triples.

Works:

  *   view directly in browser as served from Apache...  http://localhost/test  
- correctly displays the triples in my browser
  *   import as File at...  
http://localhost:8988/marmotta/core/admin/import.html  - 1) select File, 2) 
choose the file via dialog 3) Relation: meta, Mime: text/turtle, Context: 
default 4) Import!  - triples import into marmotta
  *   import as URL at...  
http://localhost:8988/marmotta/core/admin/import.html  - 1) select URL, 2) url: 
http://localhost/test 3) Relation: meta, Mime: text/turtle, Context: default 4) 
Import!  - triples import into marmotta
  *   http://localhost:8988/marmotta/resource?uri=http%3A%2F%2Flocalhost%2Ftest 
- The http://localhost/test URL accessed via marmotta/resource shows the 
triples if-and-only-iff the URL was imported first via Core Services -> Import
  *   
http://localhost:8988/marmotta/resource?uri=http%3A%2F%2Faims.fao.org%2Faos%2Fagrovoc%2Fc_3954
  - Accessing an external authority via marmotta/resource works all the time 
without importing first

Doesn't Work:

  *   http://localhost:8988/marmotta/resource?uri=http%3A%2F%2Flocalhost%2Ftest 
- The http://localhost/test URL accessed via marmotta/resource gets Error: 404 
Not Found if the URL was NOT imported first

I wasn't able to find documentation on marmotta/resource usage, so I'm not 
clear why this doesn't work.  I'm guessing some configuration of the header via 
Apache may be incorrect.

Any suggestion?  Or any documentation that would be useful?


E. Lynette Rayle

--------------------------------------------------

    Linked Data for Libraries

    Mann Library

    Cornell University

--------------------------------------------------

Reply via email to