I just noticed that Darmstadt.rdf contains lines like <!-- <p: xmlns:p="http://dbpedia.org/property/h%C3%B6he" rdf:datatype="http://www.w3.org/2001/XMLSchema#int">144</p:> -->
I guess that properties like these used to cause errors. I also guess that OpenLink recently upgraded Virtuoso to omit such properties from RDF/XML. In the upcoming 3.8 release, problems like these are much reduced: Most datasets use IRIs instead of URIs. The property URI above is now extracted as <http://dbpedia.org/property/höhe>, which can be represented in RDF/XML as <p:höhe xmlns:p="http://dbpedia.org/property/" ... There still are some properties that could not be represented in RDF/XML, for example <http://dbpedia.org/property/audioSample%3F>. We now append an underscore to such properties: <http://dbpedia.org/property/audioSample%3F_> can be represented as <p:_ xmlns:p="http://dbpedia.org/property/audioSample%3F" ... It's a bit ugly, but there's no other way to deal with this in RDF/XML. In short, all properties in DBpedia 3.8 can be represented in RDF/XML. The XML namespaces and names will sometimes be ugly, but they'll be well-formed. Cheers, JC On Tue, Jun 5, 2012 at 6:41 PM, Jona Christopher Sahnwaldt <[email protected]> wrote: > Works for me... what was the error message? Do you have other examples? > > On Jun 5, 2012 5:42 PM, "Heiko Paulheim" <[email protected]> > wrote: >> >> Hi all, >> >> I've noticed that there are some resources in DBpedia that returned >> non-well-formed RDF/XML, e.g. >> http://dbpedia.org/data/Darmstadt.rdf >> >> http://validator.w3.org/check?uri=http%3A%2F%2Fdbpedia.org%2Fdata%2FDarmstadt.rdf&charset=%28detect+automatically%29&doctype=Inline&group=0 >> >> Is that problem known? And is there a simple workaround for dealing with >> such non-well-formed RDF/XML documents, e.g., when processing them with >> Jena? >> >> Best, >> Heiko. >> >> >> -- >> Dr. Heiko Paulheim >> Knowledge Engineering Group >> Technische Universität Darmstadt >> Phone: +49 6151 16 6634 >> Fax: +49 6151 16 5482 >> http://www.ke.tu-darmstadt.de/staff/heiko-paulheim >> >> >> >> ------------------------------------------------------------------------------ >> 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 ------------------------------------------------------------------------------ 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
