Generating RDF database.