[01:16:48] PROBLEM - High lag on wdqs1003 is CRITICAL: 3603 ge 3600 https://grafana.wikimedia.org/dashboard/db/wikidata-query-service?orgId=1&panelId=8&fullscreen [03:18:59] PROBLEM - WDQS HTTP Port on wdqs1004 is CRITICAL: HTTP CRITICAL: HTTP/1.1 502 Bad Gateway - 380 bytes in 0.001 second response time [03:21:08] PROBLEM - Check systemd state on wdqs1004 is CRITICAL: CRITICAL - degraded: The system is operational but one or more units failed. [03:21:18] RECOVERY - WDQS HTTP Port on wdqs1004 is OK: HTTP OK: HTTP/1.1 200 OK - 434 bytes in 0.021 second response time [03:22:09] RECOVERY - Check systemd state on wdqs1004 is OK: OK - running: The system is fully operational [05:18:58] PROBLEM - High lag on wdqs1005 is CRITICAL: 3.041e+04 ge 3600 https://grafana.wikimedia.org/dashboard/db/wikidata-query-service?orgId=1&panelId=8&fullscreen [05:20:19] PROBLEM - wikidata.org dispatch lag is REALLY high ---4000s- on www.wikidata.org is CRITICAL: HTTP CRITICAL: HTTP/1.1 200 OK - pattern not found - 1979 bytes in 0.063 second response time [05:40:49] RECOVERY - wikidata.org dispatch lag is REALLY high ---4000s- on www.wikidata.org is OK: HTTP OK: HTTP/1.1 200 OK - 1977 bytes in 0.079 second response time [06:32:58] PROBLEM - High lag on wdqs1003 is CRITICAL: 3620 ge 3600 https://grafana.wikimedia.org/dashboard/db/wikidata-query-service?orgId=1&panelId=8&fullscreen [07:01:18] RECOVERY - High lag on wdqs1004 is OK: (C)3600 ge (W)1200 ge 1024 https://grafana.wikimedia.org/dashboard/db/wikidata-query-service?orgId=1&panelId=8&fullscreen [07:31:19] RECOVERY - High lag on wdqs1003 is OK: (C)3600 ge (W)1200 ge 1178 https://grafana.wikimedia.org/dashboard/db/wikidata-query-service?orgId=1&panelId=8&fullscreen [07:33:56] Is there a way to get (via petscan or whatever) a list of how many wikis do have an article for each page in a wiki category? [07:34:46] nikki: maybe you know :) [08:46:00] reosarevok: the only thing I can think of is doing a sql query in quarry [08:46:27] there might be other ways but if so, I don't know about them [08:46:31] Hmm [08:46:48] Does query.wd allow something like "for item in {QXXX, QXXX}"? [08:47:00] (if so I could get the Qs from Petscan and then run that) [08:47:19] yes, "values ?item { wd:Qxxx wd:Qyyy }" [08:48:36] hm... wonder if the mw api support can get category members... I tried before and couldn't do it but maybe I did something wrong [08:49:28] do you have a category I can test with? [08:50:17] https://et.wikipedia.org/wiki/Kategooria:Eestit_v%C3%A4isanud_prominendid is the one we're looking at [08:50:44] oh I think I remember... it didn't used to fetch all pages of results when doing api queries, so even with a generator it didn't work right [08:50:57] ok [08:51:19] but that changed at some point, since I then reported two issues with it fetching all the results :P [08:56:32] http://tinyurl.com/y72bxqdo I think? [08:56:52] Huh. I got different numbers :D [08:56:54] LEt's compare [08:57:07] Oh, you used the API [08:58:01] yeah, after I remembered that that should work now, I figured I should try :P [08:59:50] Hmm. Why does FILTER regex(?article, ".wikipedia.org/") . not work [08:59:54] Do I need to escape something? [09:00:59] (one example in the query examples has FILTER (SUBSTR(str(?article), 11, 15) = ".wikipedia.org/") . but that seems like it would only work for wikis with a specific lang name length ?) [09:00:59] you can use schema:isPartOf/wikibase:wikiGroup "wikipedia" [09:01:35] and you probably need to use str(?article) rather than just ?article [09:01:43] Oh, ok :) [09:01:57] schema:isPartOf/wikibase:wikiGroup "wikipedia". seems to take forever :/ [09:02:34] huh :D [09:02:37] it does sometimes but http://tinyurl.com/yaaf7e6l took 1.8 seconds for me [09:02:39] I still get different numbers [09:02:44] (will be faster now that it's cached) [09:03:10] http://tinyurl.com/yb22q5lg :/ [09:05:10] I'm getting the same numbers as far as I can tell [09:05:18] which one isn't the same for you? [09:05:24] (which item, I mean) [09:05:55] Well my highest seems to be Michael Jackson with 231, but your API query has 264 [09:06:12] And Obama has 300 for you, but 227 for me :/ [09:06:17] (with the regex) [09:06:30] I did say DISTINCT though, wonder if some are dupes? [09:07:14] 264 includes the non-wikipedia ones [09:08:27] Oh [09:08:29] Ok [09:08:39] Yay then :D [09:08:40] in the second link where I said it took 1.8 seconds, I get 230, since I did count(*) - 1 (since obviously etwiki has a page :P) [09:09:14] Ok, if we agree then I guess the results are sane :D [09:09:18] Will send them to the guy who asked [09:09:20] Thanks!!! [09:09:42] no problem :) [09:10:17] Should https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples#Numbers_of_sitelinks_for_items_with_Art_UK_artist_ID_(P1367)_for_each_language be changed? [09:10:24] I'm fairly sure that query is kinda bogus [09:14:29] I think so, yes, but I'm having trouble getting it to not time out :/ [09:14:33] (the fixed version) [09:15:33] I guess your regex works [09:16:31] and it returns a bunch of three-letter language codes too [10:57:31] Lucas_WMDE: any idea why https://query.wikidata.org/#select%20%2a%20%7B%0A%20%20wd%3AQ1707%20p%3AP625%2Fpsv%3AP625%20%3Fa%20.%0A%20%20%3Fa%20%3Fp%20%3Fv%20.%0A%7D returns multiple values for lat/lon/precision? [10:57:57] looking at the json, it seems that there's one set of xsd:decimal and one set of xsd:double but that doesn't explain why there's two sets [10:58:13] and https://www.mediawiki.org/wiki/Wikibase/Indexing/RDF_Dump_Format#Globe_coordinate only mentions decimal [10:59:49] well Special:EntityData returns xsd:double [10:59:53] weird [11:00:21] if it changed at some point, then the xsd:decimal triples are probably older ones that weren’t cleaned, and xsd:double are the newer ones [11:03:34] hm [11:04:29] okay, apparently it was changed from decimal to double in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/387754 [11:04:40] so a) if the documentation still says xsd:decimal, um, oops [11:04:46] and b) apparently we should have reloaded WDQS after that [11:05:00] (no, wait, wasn’t there at least one reload for unrelated reasons since November 2017?) [11:05:26] I don't know, I was taking a long break then [11:05:52] updating the docs is at least easy :) [11:07:19] okay, I’ll update the documentation and open a task for the extra triples [11:07:24] thanks for noticing :) [11:08:03] thanks for helping :D [11:09:52] RECOVERY - High lag on wdqs1005 is OK: (C)3600 ge (W)1200 ge 1142 https://grafana.wikimedia.org/dashboard/db/wikidata-query-service?orgId=1&panelId=8&fullscreen [20:09:20] hi, why does this query return 0 results? "select ?x where { ?x wdt:P31 wdt:Q427626 .}". Q427626 is "taxonomic rank", P31 is "instance of", and i expect to get "species" (Q7432) [20:17:00] Hi, koom [20:17:16] You should use wd:Q427626 instead of wdt:Q427626 [20:17:38] wdt is just for properties [20:26:47] abian, i see, thanks! [20:27:11] :D [20:35:47] Hi, Arkanosis :) [20:36:26] Arkanosis: Is [[User:Skabiosis]] a fan of yours? :) [20:36:26] 10[1] 04https://www.wikidata.org/wiki/User:Skabiosis