rdf: support tied genid output between graphs