? taxonomy_server
? taxonomy_xml-791376_hooks.patch
? taxonomy_xml-retain_bnodes.patch
? taxonomy_xml_rdf.inc
? samples/LOC-Disaster_relief-rdfa.html
? samples/taxonomy_dewey_system_1000_terms.xml.xml
Index: rdf_format.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/taxonomy_xml/rdf_format.inc,v
retrieving revision 1.1.4.12.2.14
diff -u -p -r1.1.4.12.2.14 rdf_format.inc
--- rdf_format.inc	19 May 2010 03:51:26 -0000	1.1.4.12.2.14
+++ rdf_format.inc	26 May 2010 14:08:00 -0000
@@ -674,6 +674,12 @@ function taxonomy_xml_convert_triples_to
         $object_val = $statement['o']['bnode_id'];
         if (isset($statement['o']['bnode_id'] )) {
           $subject->predicates[$predicate][$statement['o']['bnode_id']] = $object_val;
+
+          # 2010-05-27 dman
+          # Generally we discard bnodes after sucking the usefulness out of them
+          # BUT if they are really useful structured data, hang on to them for
+          # possible later, deeper processing.
+          $subject->bnodes[$predicate][$statement['o']['bnode_id']] = &$resources[$object_val];
         }
         break;
     }
