[Developers] invalid topics return 200 OK in rdf

Drew Perttula drewp at bigasterisk.com
Thu Feb 12 09:48:50 UTC 2009


curl -I http://rdf.freebase.com/rdf/en/beyonce_knowles
HTTP/1.0 200 OK

And the result is just these 4 lines:

@prefix fb: http://rdf.freebase.com/ns/.
@prefix rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#.
@prefix rdfs: http://www.w3.org/2000/01/rdf-schema#.
@prefix xml: http://www.w3.org/XML/1998/namespace.


Just as http://www.freebase.com/view/en/beyonce_knowles returns a 404; I 
was expecting the rdf page to also fail. If this is all working as 
designed, how shall I detect my beyonce_knowles error? Look for a turtle 
document with zero statements?

Curiously, this is the first time Beyoncé has found a single-name celeb 
issue for me. Usually I use Beyoncé to flush out unicode issues in my 
code, and Madonna finds the single-name bugs :)



More information about the Developers mailing list