'<rdf:RDF xml:base="http://dbpedia.org/ontology/"\n    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"\n    xmlns:owl="http://www.w3.org/2002/07/owl#"\n    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"\n    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"\n    xmlns="http://dbpedia.org/ontology/">\n    <owl:Class rdf:about="http://dbpedia.org/ontology/BasketballLeague">\n        <rdfs:label xml:lang="en">basketball league</rdfs:label>\n        <rdfs:comment xml:lang="en">\n          a group of sports teams that compete against each other\n          in Basketball\n        </rdfs:comment>\n    </owl:Class>\n</rdf:RDF>'
Разбор XML с пространством имен в Python через ElementTree