Hi Mike,

it's not that simple ;-)

I can offer you ~10K Grade I listed buildings and their coordinates from
Wikidata:
https://tools.wmflabs.org/wikidata-todo/tabernacle.html?wdq=claim%5B1435%3A15700818%5D&props=P625&items=&show=1
(there's a download button)

We also have ~23K Grade II* buildings:
https://tools.wmflabs.org/wikidata-todo/tabernacle.html?wdq=claim%5B1435%3A15700831%5D&props=P625&items=&show=1

Many of those won't have an article on English Wikipedia. For those that
do, you can use the Wikidata items (Qxxx) from above to get the English
Wikipedia articles via the Wikidata api:
https://www.wikidata.org/w/api.php?action=help&modules=wbgetentities

Once you have those, you can try to get the initial "blurb":
https://en.wikipedia.org/w/api.php?action=help&modules=query%2Bextracts

Cheers,
Magnus


On Wed, Jun 3, 2015 at 9:11 PM Mike Cummins <[email protected]> wrote:

> I apologise in advance for asking this in what seems a Technical List, but
> @pigsonthewing tells me I can.
>
>
> I want to extract all National Trust names, co-ordinates and the first
> part of the description from wiki.
>
>
> Having spent a day working through the API, I still cannot see how to do
> this aside from scraping.
>
>
> I am sure I am missing something very simple, so if anyone would kindly
> email me, I would be grateful.
>
>
> Mike
>
> _______________________________________________
> Wikidata mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikidata
>
_______________________________________________
Wikidata mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata

Reply via email to