script to generate RDF dump of index