Hi, I am having trouble parsing the response I get from the DBpedia sparql endpoint. The HTTP header I am using is "text/n3".
I have isolated a few lines from the response that according to an RDF/N3 validator [1] is not valid syntax. Here are the lines: 1 @prefix dbpedia: <http://dbpedia.org/resource/> . 2 @prefix owl: <http://www.w3.org/2002/07/owl#> . 3 @prefix ns10: <http://fr.dbpedia.org/resource/> . 4 dbpedia:Edinburgh owl:sameAs ns10:Édimbourg , 5 <http://sws.geonames.org/2650225/> . Error message: "Validation failed: Expecting a period, semicolon, comma, close-bracket, or close-brace but found '‰', line 4 col 35." This is an exert from the SPARQL response for the query: DESCRIBE <http://dbpedia.org/resource/Edinburgh> Request URI: http://dbpedia.org/sparql?query=PREFIX%20dbpedia%3A%20%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2F%3E%20DESCRIBE%20dbpedia%3AEdinburgh%20WHERE%20%7B%7D Header: Accept "text/n3" Method: GET Feeding the response through [1] tells me that the syntax is not valid. I have pasted the entire HTTP response: http://pastebin.com/xAvvMcjY . Could someone comment? [1] - http://www.rdfabout.com/demo/validator/ -- Rob Stewart ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Dbpedia-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
