Am 26.09.2013 14:54, schrieb Nicholas Humfrey: > Wikidata uses a fork of EasyRdf: > https://github.com/Wikidata/easyrdf_lite > > Which should handle this correctly.
Looks like it doesn't, but I'll investigate. > However I don't seem to be able to content negotiate for Turtle today. > This is returning HTML for me now: > curl -H 'Accept: text/turtle' http://www.wikidata.org/wiki/Q76 > > Does anyone have an example curl command working? That's because <http://www.wikidata.org/wiki/Q76> is the URI of the HTML document. The URI of the entity itself is <http://www.wikidata.org/entity/Q76>, which will perform content negotiation (though you need to tell curl to follow redirects): curl -L -H 'Accept: text/turtle' http://www.wikidata.org/entity/Q76 The URI of the turtle representation is <https://www.wikidata.org/wiki/Special:EntityData/Q76.n3> (<http://www.wikidata.org/entity/Q76.ttl> will also work). -- daniel _______________________________________________ Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l