- From: Kingsley Idehen <kidehen@openlinksw.com>
- Date: Tue, 05 Feb 2013 19:56:12 -0500
- To: public-lod@w3.org
- Message-ID: <5111AA2C.80705@openlinksw.com>
On 2/5/13 6:49 PM, Bernard Vatant wrote: > Hello all > > Back in 2006, I thought had understood with the help of folks around > here, how to configure my server for content negotiation at > lingvoj.org <http://lingvoj.org>. > Both vocabulary and instances were published in RDF/XML. > > I updated the ontology last week, and since after years of happy > living with RDF/XML people eventually convinced that it was a bad, > prehistoric and ugly syntax, I decided to be trendy and published the > new version in Turtle at http://www.lingvoj.org/ontology_v2.0.ttl > > The vocabulary URI is still the same : > http://www.lingvoj.org/ontology, and the namespace > http://www.lingvoj.org/ontology# (cool URI don't change) > > Then I turned to Vapour to test this new publication, and found out > that to be happy with the vocabulary URI it has to find some answer > when requesting application/rdf+xml. But since I have no more RDF/XML > file for this version, what should I do? > I turned to best practices document at > http://www.w3.org/TR/swbp-vocab-pub, but it does not provide examples > with Turtle, only RDF/XML. > > So I blindly put the following in the .htaccess : AddType > application/rdf+xml .ttl > I found it a completely stupid and dirty trick ... but amazigly it > makes Vapour happy. > > But now Firefox chokes on http://www.lingvoj.org/ontology_v2.0.ttl > because it seems to expect a XML file. Chrome has not this issue. > The LOV-Bot says there is a content negotiation issue and can't get > the file. So does Parrot. > > I feel dumb, but I'm certainly not the only one, I've stumbled upon a > certain number of vocabularies published in Turtle for which the > conneg does not seem to be perfectly clear either. > > What do I miss, folks? Should I forget about it, and switch back to > good ol' RDF/XML? Hoping you see the contradiction re. content-type: curl -IL http://www.lingvoj.org/ontology HTTP/1.1 303 See Other Date: Wed, 06 Feb 2013 00:54:13 GMT Server: Apache Location: http://www.lingvoj.org/ontology_v2.0.ttl Content-Type: text/html; charset=iso-8859-1 HTTP/1.1 200 OK Date: Wed, 06 Feb 2013 00:54:13 GMT Server: Apache Last-Modified: Fri, 01 Feb 2013 19:16:02 GMT ETag: "60172428-5258-4d4ae92f95333" Accept-Ranges: bytes Content-Length: 21080 Content-Type: application/rdf+xml Kingsley > > Bernard > > -- > *Bernard Vatant > * > Vocabularies & Data Engineering > Tel : + 33 (0)9 71 48 84 59 > Skype : bernard.vatant > Blog : the wheel and the hub <http://blog.hubjects.com/> > -------------------------------------------------------- > *Mondeca***** > 3 cité Nollez 75018 Paris, France > www.mondeca.com <http://www.mondeca.com/> > Follow us on Twitter : @mondecanews <http://twitter.com/#%21/mondecanews> > ---------------------------------------------------------- > > Meet us at Documation <http://www.documation.fr/> in Paris, March 20-21 > -- Regards, 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
Attachments
- application/pkcs7-signature attachment: S/MIME Cryptographic Signature
Received on Wednesday, 6 February 2013 00:56:35 UTC