W3C home > Mailing lists > Public > public-rdf-ruby@w3.org > May 2010

Re: dbpedia lite

From: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Date: Fri, 14 May 2010 15:43:00 -0400
Cc: Nicholas Humfrey <nicholas.humfrey@bbc.co.uk>, public-lod@w3.org, public-rdf-ruby@w3.org
Message-Id: <CB4EE8FD-BFEC-4296-A85A-35AB3B50FDD4@openlinksw.com>
To: Kingsley Idehen <kidehen@openlinksw.com>
Nick --

On May 14, 2010, at 12:33 PM, Kingsley Idehen wrote:

> Nicholas Humfrey wrote:
>> There is RDFa already there for the Thing pages. Is there something missing?
>> Is it Void type stuff that you want me to add to the RDFa? 
> 
> Hmm, I get:
> http://linkeddata.uriburner.com/about/html/http/dbpedialite.org/things/52780
> 
> Which returns:
> Unable to retrieve RDF data from "http://dbpedialite.org/things/52780": HTTP/1.0 400 Bad Request



Something seems to be broken in the dbpedialite.org server's
content negotiation.

Try these curl commands (which should all get the same output -- 
I'm not changing any values, just the order of the MIME types) --

curl -i -H "Accept: application/rdf+xml; q=0.9, application/xhtml+xml; q=1.0, text/rdf+n3; q=0.8, application/rdf+turtle; q=0.7, application/x-turtle; q=0.6, application/turtle; q=0.5, application/xml; q=0.2, */*; q=0.1" http://dbpedialite.org/things/52780

curl -i -H "Accept: text/rdf+n3; q=0.8, application/xhtml+xml; q=1.0, application/rdf+xml; q=0.9, application/rdf+turtle; q=0.7, application/x-turtle; q=0.6, application/turtle; q=0.5, application/xml; q=0.2, */*; q=0.1" http://dbpedialite.org/things/52780

curl -i -H "Accept: application/rdf+turtle; q=0.7, application/xhtml+xml; q=1.0, application/rdf+xml; q=0.9, text/rdf+n3; q=0.8, application/x-turtle; q=0.6, application/turtle; q=0.5, application/xml; q=0.2, */*; q=0.1" http://dbpedialite.org/things/52780

curl -i -H "Accept: application/x-turtle; q=0.6, application/xhtml+xml; q=1.0, application/rdf+xml; q=0.9, text/rdf+n3; q=0.8, application/rdf+turtle; q=0.7, application/turtle; q=0.5, application/xml; q=0.2, */*; q=0.1" http://dbpedialite.org/things/52780

curl -i -H "Accept: application/xhtml+xml; q=1.0, application/rdf+xml; q=0.9, text/rdf+n3; q=0.8, application/rdf+turtle; q=0.7, application/x-turtle; q=0.6, application/turtle; q=0.5, application/xml; q=0.2, */*; q=0.1" http://dbpedialite.org/things/52780


Note that the result for each is based on the first MIME type in
the list -- no matter that it supports a later listed type, nor
that a later listed type has a higher quality rating -- and that
all but the last gets an error.

Be seeing you,

Ted




--
A: Yes.                      http://www.guckes.net/faq/attribution.html
| Q: Are you sure?
| | A: Because it reverses the logical flow of conversation.
| | | Q: Why is top posting frowned upon?

Ted Thibodeau, Jr.           //               voice +1-781-273-0900 x32
Evangelism & Support         //        mailto:tthibodeau@openlinksw.com
                             //              http://twitter.com/TallTed
OpenLink Software, Inc.      //              http://www.openlinksw.com/
        10 Burlington Mall Road, Suite 265, Burlington MA 01803
                                 http://www.openlinksw.com/weblogs/uda/
OpenLink Blogs              http://www.openlinksw.com/weblogs/virtuoso/
                               http://www.openlinksw.com/blog/~kidehen/
    Universal Data Access and Virtual Database Technology Providers
Received on Friday, 14 May 2010 19:44:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 14 May 2010 19:44:39 GMT