Methodology
Query only shows what an official source has published. This page explains the rules a record goes through between the source and the page.
Three ground rules
- Data comes only from official sources. Every record shows the source's name and a time.
- Where no source is connected, no data is made up. The page says "no official source connected" and points to the utility's lookup page and fault line.
- CAPTCHAs, bot protection, access tokens and robots.txt bans are never bypassed. Sources we do not read are listed with the reason on the data sources page.
How often sources are read
Each source has its own interval: AFAD every minute, USGS every five minutes, most power and water sources every 5 minutes to 1 hour, and a few sources whose lists rarely change twice a day. A small random offset is added so requests do not pile up on the same second.
If a source cannot be read five times in a row, its interval is multiplied by four. It returns to normal once the utility's site recovers. The crawler's speed and limits are on the WiozenQueryBot page.
Outage statuses
Status is not stored. It is worked out from the record's times every time it is shown:
- Scheduled: the start time has not arrived.
- Ongoing: the start has passed, the end has not arrived or no end was given, and the record is still on the utility's list.
- Resolved: the end time has passed, or the record dropped off the utility's list after it started.
- Cancelled: the record dropped off the list before it started. Cancelled records do not appear in any list or count.
A fault with no end time is shown as "no estimated end given". Place pages also list resolved records from the last 30 days.
Three times
Pages show three times separately. The source's time is the outage start and end. The last change is when the records for that place last changed. The last successful check is when we last managed to read the utility's list.
All times are stored and shown in Turkish time (UTC+3). Sources that publish UTC (AFAD, USGS, AKEDAŞ) are converted.
Quality checks
On every read we check the record format, whether the time range makes sense, and whether the province is in the source's service area. Records that fail are not written.
If a source has at least 20 open records and the new list falls below a fifth of that, the first read is marked suspect and no records are closed. This is how we tell a half-empty or blank response from the utility's site apart from a real change. If the drop is still there on the next read, it is accepted.
Place matching
The province and district list comes from TÜİK's 2025 address register data (81 provinces, 973 districts). Province and district names from a source are matched exactly against this list. There is no fuzzy matching: an outage shown in the wrong district is worse than one not shown at all.
An unmatched district name does not drop the record. The record is shown at province level and the name is noted so it can be added to the matching table. Neighbourhood names are shown as the source spells them, only inside the record; there are no separate neighbourhood pages.
Outages published as announcements
Some water utilities and municipalities publish outages as announcement text instead of a table. Query looks for district and neighbourhood names in the text with exact matching against the place list, and for dates and times with patterns. If a time range and at least one district are found, the record becomes a normal outage.
If not, it is shown as an "announcement": title, publication date, matched places and the utility's link. The announcement text is not copied. Announcements do not count as ongoing outages and drop off after 7 days. No AI model is used.
Earthquake records
Every row shows the source, magnitude type and Turkish time. Values from different agencies are never merged into one number. A new earthquake carries the note "first solution, may change". Depth is shown as approximate.
Earthquakes at sea or abroad are not written to province pages. If the source cannot be reached, the page does not say "no earthquakes"; it says the source is unreachable. No forecasts, risk comments or damage reports. More in earthquake magnitude types.
Retention
- Outage records: 180 days.
- Duty pharmacy lists: 30 days.
- Earthquakes are kept. AFAD's service only returns the latest 1,000 earthquakes, so the archive is Query's own.
- Weather: only the latest forecast is kept for each place.
Switching a source off
Any source can be switched off with a single command. Its data leaves the pages and the API within 15 seconds and the pages go back to "no data". If an agency does not want its data shown here, or you spot a mistake in a record, write to [email protected].
Last updated: