2

The format of the citations on Wikipedia, by and large, follows one of two standard citation models, with the exciting names Citation Style 1 (https://en.wikipedia.org/wiki/Help:Citation_Style_1) and Citation Style 2 (https://en.wikipedia.org/wiki/Help:Citation_Style_2). These are easy to parse, when they are using the standard templates. Lesser used ...


1

Cities only have point geometry, so how do you define the "boundary"? Taking https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries#Places_within_1_km_of_the_Arc_de_Triomphe_(Q64436) as an example, here are Wikidata entries within 1 km of London: https://w.wiki/yrX SELECT ?place ?placeLabel ?page ?location ?dist WHERE { wd:Q84 wdt:...


1

Properly formatted references include COinS metadata (which does require HTML parsing, but at least it's a standardized format).


1

The title field in that datadump appears to be the same as the page title, and thus can be used as the page URL - standard Wikipedia URLs are of the form .../wiki/Page_title { "id": "54551", "url": "https://en.wikipedia.org/wiki?curid=54551", "title": "Preston Tucker", "...


Only top voted, non community-wiki answers of a minimum length are eligible