1

Wikipedia has unstructured and structured information about any topic. I specially want to get structured data which is always displayed at the right side of an article. This side contains different data as you can see in an example below:

Country Turkey
Region  Central Anatolia
Province    Ankara
Area
 • Capital City 2,516 km2 (971 sq mi)
Elevation   938 m (3,077 ft)
Population (2011)[1][2]
 • Capital City 4,338,620
 • Density  1,551/km2 (4,020/sq mi)
 • Metro    4,965,542
Time zone   EET (UTC+2)
 • Summer (DST) EEST (UTC+3)

Structured data as shown in wikipedia

How can I read that data using Java and the JSON response?

4

1 回答 1

2

[假设维基百科的意思]

DBpedia [1] 是一个旨在从维基百科中提取结构化数据的项目。您可以使用 SPARQL 端点查询他们的数据库。例如,您可以获得属性值对,您可以在此处获得连接到柏林的结构化数据 [2]。

[1] http://wiki.dbpedia.org/ [2] http://dbpedia.org/page/Berlin

于 2013-05-28T15:20:25.307 回答