[foaf-dev] Drupal user profiles in RDFa

Toby Inkster tai at g5n.co.uk
Mon Oct 12 13:51:51 CEST 2009


On 12 Oct 2009, at 12:42, Toby Inkster wrote:

>>   2.1 Use a markup similar to the one above, but the cons is that  
>> the user profile URI will not be dereferencable (and hereby  
>> breaking one of the Linked Data principles). It will return a 403  
>> Access denied.
>>
>> <span rel="sioc:has_creator foaf:maker" class="username"><span  
>> resource="/user/1" typeof="sioc:User" property="foaf:name">Henry</ 
>> span></span>
>
> I think this is the right thing to do.


You want @about here though. @about is for setting subjects,  
@resource is for setting objects. (It's possible to use them the  
other way around, but not a good idea usually.)

My point though, was that, yes, I think it's fine to use URIs here  
which currently resolve to 403. That's an accurate representation of  
the situation (that the data exists but access is denied).

-- 
Toby A Inkster
<mailto:mail at tobyinkster.co.uk>
<http://tobyinkster.co.uk>





More information about the foaf-dev mailing list