[Developers] n3 prefix lines don't parse

Drew Perttula drewp at bigasterisk.com
Fri Jan 30 05:24:18 UTC 2009


When I fetch RDF with "Accept: application/rdf+xml", things look fine. 
But when I retrieve the n3 version (e.g. with "curl 
http://rdf.freebase.com/rdf/user.drewpca") I get what appear to be 
malformed prefix 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.


Shouldn't those look like this?

@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>.


http://www.w3.org/2000/10/swap/grammar/n3-report.html#declaration has 
the grammar.


cheers-
drew



More information about the Developers mailing list