Initial reworking of RDF generation to handle references across nested tables