I now imported a file:


# baseURI: http://localhost:8080/marmotta/resource

# imports: http://localhost:8080/marmotta/resource/cbnl-extension.ttl



@prefix : <http://localhost:8080/marmotta/resource#> .

@prefix ext: <http://localhost:8080/marmotta/resource/cbnl-extension.ttl#> .

@prefix owl: <http://www.w3.org/2002/07/owl#> .

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

@prefix unit: <http://qudt.org/vocab/unit#> .

@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .



<http://localhost:8080/marmotta/resource>

  rdf:type owl:Ontology ;

  owl:imports <http://localhost:8080/marmotta/resource/cbnl-extension.ttl> ;

.

:Deck

  rdf:type owl:Class ;

  rdfs:subClassOf owl:Thing ;

.

:Deck_1

  rdf:type :Deck ;



.. I get:



[cid:image001.png@01CFE3E5.8EDDF300]





Must be something small?



Dr. ir. H.M. (Michel) Bohms

Sr. Research Scientist

Structural Reliability

T +31 (0)88 866 31 07

M +31 (0)63 038 12 20

E michel.bo...@tno.nl



This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. TNO accepts no liability 
for the content of this e-mail, for the manner in which you use it and for 
damage of any kind resulting from the risks inherent to the electronic 
transmission of messages.



-----Original Message-----
From: Sergio Fernández [mailto:wik...@apache.org]
Sent: donderdag 9 oktober 2014 16:33
To: users@marmotta.apache.org
Subject: Re: Rép. : Re: How to use Marmotta for Linked data publishing ?



Hi,



On 09/10/14 09:32, Fabian Cretton wrote:

> I think it is because your real resource URL is not

> <http://localhost:8080/marmotta/resource/Deck_1>

> But it is <http://ont.cbnl.org/cbnl-extension-example.ttl#Deck_1>

> Marmotta doesn't handle URL-rewriting. See in my example that I did

> use the Marmotta's url for my test resources.



then you can alternatively request:



http://localhost:8080/marmotta/resource?uri=http%3A%2F%2Font.cbnl.org%2Fcbnl-extension-example.ttl%23Deck_1



But that's a very basic Linked Data assumption: you can't directly serve 
resources named with uris you do not control ;-)



I'll try dump to the webpage/wiki some of the hint I'm collecting for the ISWC 
tutorial. BTW, if someone is attending, you may find it

interesting:



   http://marmotta.apache.org/events/iswc2014



Cheers,



--

Sergio Fernández

Partner Technology Manager

Redlink GmbH

m: +43 660 2747 925

e: sergio.fernan...@redlink.co<mailto:sergio.fernan...@redlink.co>

w: http://redlink.co

Reply via email to