Handle BNode object type
Closed this issue · 3 comments
samuell commented
This happens when trying to import certain RDF/XML constructs:
Some links with relevant info:
samuell commented
After adding a switch case for bnode (adfe9de), one can now see how badly RDF/XML import works.
Trying to import this:
<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:ns0="http://www.recshop.fake/cd#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<rdf:Description rdf:about="http://www.recshop.fake/cd/Empire Burlesque">
<ns0:artist>Bob Dylan</ns0:artist>
<ns0:country>
<rdf:Description rdf:about="http://www.countries.org/onto/USA">
<rdfs:label>USA</rdfs:label>
</rdf:Description>
</ns0:country>
<ns0:company>Columbia</ns0:company>
<ns0:price>10.90</ns0:price>
<ns0:year>1985</ns0:year>
<rdf:type>Album</rdf:type>
</rdf:Description>
<rdf:Description rdf:about="http://www.recshop.fake/cd/Hide your heart">
<ns0:artist>Bonnie Tyler</ns0:artist>
<ns0:country>UK</ns0:country>
<ns0:company>CBS Records</ns0:company>
<ns0:price>9.90</ns0:price>
<ns0:year>1988</ns0:year>
<rdf:type>Album</rdf:type>
</rdf:Description>
<rdf:Description rdf:about="http://www.countries.org/onto/Albums">
<rdfs:subClassOf rdf:resource="http://www.countries.org/onto/MediaCollections"/>
</rdf:Description>
</rdf:RDF>
... results in this: