yaser-aj commited on
Commit
529faa4
·
verified ·
1 Parent(s): 0596a19

Version 2.1: zone populations from Qatar's Open Data Portal

Browse files

Adds 156 passages (source qatar_open_data, CC BY 4.0, National Planning Council) and a zones field for 78 places. The 1908 files are unchanged.

Files changed (3) hide show
  1. README.md +16 -8
  2. today_passages.jsonl +0 -0
  3. today_places.jsonl +0 -0
README.md CHANGED
@@ -80,12 +80,16 @@ passages = load_dataset("yaser-aj/qatar-1908", "passages", split="train")
80
 
81
  ## Present-day layer (v2, 6 November 2026)
82
 
83
- Version 2 adds two files that describe each 1908 place **today**, from three open sources. The
84
  1908 files (`places`, `passages`, `tribes`) are unchanged from version 1 (tag `v1.0`).
85
 
86
  - **212 of 214 places** have a short present-day summary in English and Arabic (v1: 27).
87
- - **1,655 present-day passages** for search and citation: 1,086 from 312 English and Arabic
88
- Wikipedia articles, 278 from Wikidata, 291 from OpenStreetMap. 209 places can be asked about today.
 
 
 
 
89
  - **58 places** list landmarks near them today (171 links to 100 Wikidata items: Souq Waqif,
90
  the Museum of Islamic Art, Al Janoub Stadium, Lusail Stadium...).
91
  - Every passage carries its own `source`, `license`, `license_url`, `attribution` and `page_url`.
@@ -100,7 +104,7 @@ today = load_dataset("yaser-aj/qatar-1908", "today_passages", split="train")
100
  ```
101
 
102
  Main fields of `today_passages`: `passage_id`, `place_id` and `place_ids` (the 1908 places it is
103
- about), `source` (`wikipedia`, `wikidata` or `openstreetmap`), `lang`, `heading`, `text`,
104
  `page_label`, `page_url`, `license`, `license_url`, `attribution`, `retrieved`, `about_qid`
105
  (the Wikidata item described), `relation` (`same place`, `nearby` or `location`) and
106
  `distance_km` for landmarks.
@@ -108,7 +112,8 @@ about), `source` (`wikipedia`, `wikidata` or `openstreetmap`), `lang`, `heading`
108
  Main fields of `today_places`: `place_id`, `today_qids`, `today_name_en/ar`, `today_kind_en/ar`,
109
  `area_en/ar` and `municipality_en/ar` (from OpenStreetMap), `country_en/ar`, `summary_en/ar` with
110
  `summary_source_en/ar`, `population` (value, year, source), `heritage`, `landmarks` (name, kind,
111
- distance, coordinates, Wikipedia and Wikidata links, Commons image) and `sources`.
 
112
 
113
  How it was made: Wikidata items with an English or Arabic article inside Qatar's bounding box were
114
  matched to the 1908 places by their Wikidata link or by name (`scripts/names.py`), and landmarks by
@@ -120,8 +125,9 @@ repaired or left out, and one sentence (Al Wakrah's lead) is reordered so its 19
120
  not read as today's. No language model wrote any present-day fact. Rebuild steps:
121
  [docs/present-day.md](https://github.com/DustyYak286/qafal/blob/main/docs/present-day.md).
122
 
123
- Not included: Qatar's open data portal and the UNESCO site could not be reached from the build
124
- machine; two places (Ghubaibah, Jazirat Rubadh) have no present-day text.
 
125
 
126
  ## How it was made
127
 
@@ -185,7 +191,9 @@ warning (e.g. matches far from Lorimer's position).
185
  passages are CC BY-SA 4.0 (Wikipedia contributors, article in `page_url`); Wikidata passages CC0 1.0;
186
  OpenStreetMap passages and the `area`/`municipality` fields contain information from
187
  [OpenStreetMap](https://www.openstreetmap.org/copyright), © OpenStreetMap contributors, available
188
- under the Open Database License (ODbL 1.0).
 
 
189
  - Images: each under the licence and author given in its `image` field (Wikimedia Commons).
190
 
191
  Because the present-day layer includes Wikipedia text, the dataset as a whole is released under
 
80
 
81
  ## Present-day layer (v2, 6 November 2026)
82
 
83
+ Version 2 adds two files that describe each 1908 place **today**, from four open sources. The
84
  1908 files (`places`, `passages`, `tribes`) are unchanged from version 1 (tag `v1.0`).
85
 
86
  - **212 of 214 places** have a short present-day summary in English and Arabic (v1: 27).
87
+ - **1,811 present-day passages** for search and citation: 1,086 from 312 English and Arabic
88
+ Wikipedia articles, 278 from Wikidata, 291 from OpenStreetMap, and 156 from Qatar's Open Data
89
+ Portal (v2.1). 209 places can be asked about today.
90
+ - **78 places** carry the numbered zone they lie in today, with the zone's residents and area from
91
+ the National Planning Council's table by zone (2015 figures). The figure is the whole zone's,
92
+ and the passages say so.
93
  - **58 places** list landmarks near them today (171 links to 100 Wikidata items: Souq Waqif,
94
  the Museum of Islamic Art, Al Janoub Stadium, Lusail Stadium...).
95
  - Every passage carries its own `source`, `license`, `license_url`, `attribution` and `page_url`.
 
104
  ```
105
 
106
  Main fields of `today_passages`: `passage_id`, `place_id` and `place_ids` (the 1908 places it is
107
+ about), `source` (`wikipedia`, `wikidata`, `openstreetmap` or `qatar_open_data`), `lang`, `heading`, `text`,
108
  `page_label`, `page_url`, `license`, `license_url`, `attribution`, `retrieved`, `about_qid`
109
  (the Wikidata item described), `relation` (`same place`, `nearby` or `location`) and
110
  `distance_km` for landmarks.
 
112
  Main fields of `today_places`: `place_id`, `today_qids`, `today_name_en/ar`, `today_kind_en/ar`,
113
  `area_en/ar` and `municipality_en/ar` (from OpenStreetMap), `country_en/ar`, `summary_en/ar` with
114
  `summary_source_en/ar`, `population` (value, year, source), `heritage`, `landmarks` (name, kind,
115
+ distance, coordinates, Wikipedia and Wikidata links, Commons image), `zones` (number, name,
116
+ residents, year, km²) and `sources`.
117
 
118
  How it was made: Wikidata items with an English or Arabic article inside Qatar's bounding box were
119
  matched to the 1908 places by their Wikidata link or by name (`scripts/names.py`), and landmarks by
 
125
  not read as today's. No language model wrote any present-day fact. Rebuild steps:
126
  [docs/present-day.md](https://github.com/DustyYak286/qafal/blob/main/docs/present-day.md).
127
 
128
+ Not included: the UNESCO site could not be reached from the build machine, and the open data
129
+ portal's heritage table only counts sites by category; two places (Ghubaibah, Jazirat Rubadh) have
130
+ no present-day text.
131
 
132
  ## How it was made
133
 
 
191
  passages are CC BY-SA 4.0 (Wikipedia contributors, article in `page_url`); Wikidata passages CC0 1.0;
192
  OpenStreetMap passages and the `area`/`municipality` fields contain information from
193
  [OpenStreetMap](https://www.openstreetmap.org/copyright), © OpenStreetMap contributors, available
194
+ under the Open Database License (ODbL 1.0). Zone rows (`source` `qatar_open_data`, `zones`):
195
+ [Qatar Open Data Portal](https://www.data.gov.qa/explore/dataset/population-area-and-population-density-per-square-kilometers-by-zone/),
196
+ National Planning Council, CC BY 4.0.
197
  - Images: each under the licence and author given in its `image` field (Wikimedia Commons).
198
 
199
  Because the present-day layer includes Wikipedia text, the dataset as a whole is released under
today_passages.jsonl CHANGED
The diff for this file is too large to render. See raw diff
 
today_places.jsonl CHANGED
The diff for this file is too large to render. See raw diff