On Jan 12, 2012, at 2:18 PM, Karen Coyle wrote:

> I don't remember at this point what this was about, presumably a  
> comment that came in on the list. It MAY have been a reference to the  
> URI/Ls in the namespace section of the XML. Since we can't seem to  
> find a problem, I'd say we should ignore it. If it matters, it'll come  
> up again.

Ah, I remember... Yes, this is specific to Namespace URIs in RDF. 

Namespace URIs should end in either / or #, so that RDF URI Refs can be 
constructed by concatenation of the Namespace URI and a local name without 
adding any separators. 

This concat operation is defined here: http://www.w3.org/TR/REC-rdf-syntax/

Ben, can you send a pull request with only the change of appending the trailing 
'/'?

Thanks!
-raj


> 
> kc
> 
> 
> Quoting raj kumar <[email protected]>:
> 
>> 
>> On Jan 7, 2012, at 7:53 AM, Ben Companjen wrote:
>>>> *: in the RDF improvement bug report,
>>>> https://bugs.launchpad.net/openlibrary/+bug/703664, Karen says all
>>>> URIs should end with "/".
>>> What do people think now? Most example URIs I see do not have "/"  
>>> at the end.
>>> It is of course possible to say of all <URIs without "/"> <owl:sameAs>
>>> <URIs with "/">, but I haven't seen any situation in which that is
>>> applied.
>>> The Talis Open Library dataset only contains URIs without slash. The
>>> other datasets in the LOD cloud that link the OL dataset are either
>>> unavailable or apparently do not contain OL URIs.
>> 
>> I don't understand why. A url that ends with a slash just redirects  
>> to the same url without a slash on the end:
>> 
>>> curl -v http://openlibrary.org/books/OL18215289M/
>> < Location: http://openlibrary.org/books/OL18215289M
>> 
>> When you request the url without a slash, you get a redirect to the  
>> canonical url for the edition:
>>> curl -v http://openlibrary.org/books/OL18215289M
>> < Location: http://openlibrary.org/books/OL18215289M/Code
>> 
>> Also, I fixed the double /works//works/ key in the edition.rdf
>> 
>> -raj
> 
> 
> 
> -- 
> Karen Coyle
> [email protected] http://kcoyle.net
> ph: 1-510-540-7596
> m: 1-510-435-8234
> skype: kcoylenet
> 
> _______________________________________________
> Ol-tech mailing list
> [email protected]
> http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech
> To unsubscribe from this mailing list, send email to 
> [email protected]

_______________________________________________
Ol-tech mailing list
[email protected]
http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech
To unsubscribe from this mailing list, send email to 
[email protected]

Reply via email to