[Developers] RDF Service

Rodolfo Stecher stecher at l3s.de
Fri Nov 28 16:37:52 UTC 2008


Thanks Richard,
It works now.

Cheers,
rodolfo

-----Original Message-----
From: developers-bounces at freebase.com
[mailto:developers-bounces at freebase.com] On Behalf Of Richard Newman
Sent: Freitag, 28. November 2008 16:43
To: For discussions about MQL, Freebase API and apps built on Freebase
Subject: Re: [Developers] RDF Service

Hi Rodolfo,

> //setting the type of results I want to receive as specified in:
> http://rdf.freebase.com/
> rdfConn.addRequestProperty("Accept", "RDF/XML");

You need to specify a MIME type here, not just any string. E.g.,

rdfConn.addRequestProperty("Accept", "application/rdf+xml");

Sorry, that should be more clear in the docs. This is all HTTP.


> Server returned HTTP response code: 500 for URL:
> http://rdf.freebase.com/rdf/type.lang


... and this should be a better error (last I checked it was, or a default 
representation was used).

Thanks,

-Richard
_______________________________________________
Developers mailing list
Developers at freebase.com
http://lists.freebase.com/mailman/listinfo/developers



More information about the Developers mailing list