W3C home > Mailing lists > Public > public-lod@w3.org > March 2012

Re: Change Proposal for HttpRange-14

From: Kingsley Idehen <kidehen@openlinksw.com>
Date: Tue, 27 Mar 2012 16:08:36 -0400
Message-ID: <4F721E44.6020109@openlinksw.com>
To: public-lod@w3.org
On 3/27/12 3:23 PM, Melvin Carvalho wrote:
> curl --trace-time -v http://www.legislation.gov.uk/ukpga/1985/67/contents
> and it showed the result coming back in 59ms.
> When someone uses the identifier URI for the abstract concept of an 
> item of legislation, there's no caching so the request goes right back 
> to the server. I just tried:
> curl --trace-time -v http://www.legislation.gov.uk/id/ukpga/1985/67
What do you get for timing results when you compare:

curl --trace-time -v http://www.legislation.gov.uk/id/ukpga/1985/67


curl --trace-time -v 
http://www.legislation.gov.uk/ukpga/1985/67/2009-09-01/data.rdf ?

I would expect the delta to be the overhead contributed by indirection 
delivered via the 303 redirection heuristic.

 From my U.S. location I get the following results:

for: time curl -v 

real    0m1.117s
user    0m0.002s
sys    0m0.003s

for: time curl -v http://www.legislation.gov.uk/id/ukpga/1985/67

real    0m1.521s
user    0m0.002s
sys    0m0.003s

Also note, if you add wdrs:describedby relations to your RDF documents 
the descripton subject URI or its descriptor document URL will work fine 
i.e., existing Linked Data clients will ultimately end up in a 
follow-your-nose friendly Linked Data graph. The relation in question is 
a triple of the form:

<http://www.legislation.gov.uk/id/ukpga/1985/67> wdrs:describedby 

Here is placeholder URI for my suggestion: 
. If you make the change, reload using URL pattern: 

As for: http://www.legislation.gov.uk/ukpga/1985/67/contents, what about 
a <link/> relation in its <head/> section that establishes 
http://www.legislation.gov.uk/ukpga/1985/67/2009-09-01/data.rdf as an 
alternative representation? You already have this sort of relation in 
place as per the following entry:
<link rel="alternate" type="application/xml" 
href="http://legislation.data.gov.uk/ukpga/1985/67/contents/data.xml" />



Kingsley Idehen	
Founder&  CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca handle: @kidehen
Google+ Profile: https://plus.google.com/112399767740508618350/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen

Received on Tuesday, 27 March 2012 20:08:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:16:20 UTC