Python: Open an RDF graph