[03:24:19] PROBLEM - WDQS SPARQL on wdqs1012 is CRITICAL: CRITICAL - Socket timeout after 10 seconds https://wikitech.wikimedia.org/wiki/Wikidata_query_service/Runbook [03:28:53] RECOVERY - WDQS SPARQL on wdqs1012 is OK: HTTP OK: HTTP/1.1 200 OK - 689 bytes in 1.066 second response time https://wikitech.wikimedia.org/wiki/Wikidata_query_service/Runbook [09:45:21] can anyone help with a Wikidata query? I'm trying to list (a sample of) non-human authors with not much success https://w.wiki/35tH [09:45:40] If I try to add authorLabel, it goes "Query timeout limit reached". [10:58:31] I don't know why the label service is causing it to time out, but if you replace the service { ... } part with optional { ?author rdfs:label ?authorLabel filter (lang(?authorLabel) = "en") } it works [11:05:44] nikki: ! Thanks a lot [11:06:57] and I immediately found items to fix, like those with 'book' and 'art' as author [11:15:45] [mattermost] this work is so art it was arted by Art itself! [11:50:27] A new step for the muses [11:50:54] dethrone the prophets [19:51:45] hi everyone! [19:51:52] is there a way of adding a new language to wikidata ? [19:52:01] e.g. i have tried to use `quc` as a language code [19:52:42] but it says "not recognised" [20:33:48] spectie: it's possible but it can take a while. whereabouts were you trying to use it? [20:38:48] nikki: i'm planning on making a language learning tool [20:39:00] i'd like to be able to extract words + images from wikidata [20:39:32] is there somewhere i can make a request ? [20:43:51] I meant whereabouts in wikidata. there isn't a single list of usable languages, it depends whether you want to add labels, monolingual text statements or lexemes [20:44:33] https://www.wikidata.org/wiki/Help:Monolingual_text_languages talks about what to do for monolingual text and has a button that takes you to a partially-filled out new ticket on phabricator (the issue tracker) [20:45:05] for labels or lexemes, you'd want to make a ticket that's similar but that says labels or lexemes rather than monolingual text [20:45:26] aha [20:45:28] https://phabricator.wikimedia.org/T277391 [20:46:48] i missed the template because i had troubles logging in [20:46:50] now i updated it [20:47:04] nikki: what are labels? [20:47:23] also do i need to make a separate ticket for all of those ? [20:48:19] https://phabricator.wikimedia.org/T277392 [20:48:22] labels are what appear in the box at the top of the page for items [20:49:08] domestic dogCanis lupus familiarisCanis familiarisdogs [20:49:10] like thse? [20:49:14] for e.g. https://www.wikidata.org/wiki/Q144 [20:49:32] yep, exactly [20:49:34] cool [20:49:55] so i should add a separate ticket for each of [lexeme, label, monolingual] ? [20:50:33] I'm not sure what's best but I would probably make separate tickets [20:51:02] ok [20:51:58] if i'm planning to work with multiple languages is it a good idea to get all the codes added up front ? [20:52:08] some of them will already be in there, but others might not [20:52:50] i'm wondering what the balance is between lead time (if i do them in order and it takes a month per ticket) and "spamming/overload" (E.g. if i made 10-20 tickets at once)