How to retrieve XML/RDF data from a dbpedia link or URL?
问题 Recently I have been trying to learn Semantic Web. For a project I need to retrieve data from a given dbPedia link. e.g http://dbpedia.org/page/Berlin . But when retrieve data using java.net.URLConnection I get the html data. How can I get the xml from the same link ? I know that there is link in every dbpedia page to download the XML but that is not what I want to do. Thanks in advance. 回答1: Note that the URI of the resource is actually http://dbpedia.org/resource/Berlin (with resource , not