Represent RDF as a hierarchical Python dict