Fix #issue101

This fixes #101. In particular, it removes duplicate triples from RDF exports, thereby making RDF exporing about twice as fast (less than 3h for all exports).