Niclas Hedhman wrote:
>>        <association xmlns="urn:qi4j:association:org.qi4j.rest.TestEntity:"
>> rdf:resource="urn:qi4j:org.qi4j.rest.TestEntity/test1"/>
> 
> Doesn't REST call for URLs so that applications can directly follow of
> links a la a web browser?

Yes, but this is RDF and not REST so in a sense it's ok. But preferably 
I want the URL's to be real web/http URL's. The problem is that I don't 
know how to generate relative ones. I might have to pass in the base ref 
whenever I generate RDF, to get it right, but it doesn't feel like the 
best way to do it.

One way to do it would be to use the URL as the resource, and then 
attach the "urn:qi4j:..." one as a Dublin Core Identifier 
(http://dublincore.org/2008/01/14/dcterms.rdf#identifier).

> But that could be going against RDF specs (don't have that in my
> head), which I guess expect complete URIs for resources.

Yeah, that's the problem.

/Rickard


_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to