[00:36:27] Hi! The English article Arap Mosque and the French article Mosquée Arap interwikilink to German Arap-Moschee where in wikidata Q642478 the interwikilinks are correctly entered. Is this a wikidata issue? [00:38:11] DanielK_WMDE: ^ [01:13:13] anyone knows where I can buy a wikidata t-shirt online? [01:16:07] if that's even possible [02:50:14] iiiiiijuuuuu [13:48:28] What should be used as inverse of https://www.wikidata.org/wiki/Property:P2669? [14:05:46] https://phabricator.wikimedia.org/T114904 [14:06:48] https://phabricator.wikimedia.org/T178459 [17:50:54] does anyone know the name of the gadget or userscript that adds that green arrow next to sitelinks? [17:51:37] ah, looks like it was Move [18:19:46] Let's see if I manage to use https://www.mediawiki.org/wiki/Wikidata_query_service/User_Manual/MWAPI to make a list of sitelinks *not* using a certain set of images [18:20:04] First step: translating https://commons.wikimedia.org/w/api.php?action=query&generator=categorymembers&gcmtitle=Category:Media_from_BEIC&gcmnamespace=6&gcmprop=title&prop=globalusage&gcmlimit=100&format=xml to SPARQL-speak [18:31:39] Hmm http://tinyurl.com/ycctjz94 [18:34:13] Nemo_bis: you are probably using wrong xpath, unless you want every row to have the same value [18:34:57] ah wait, no, it's correct... no idea why it has same value [18:46:38] SMalyshev: I was just about to ping you, I see you edited the docs just today :) [18:46:55] SMalyshev: I have no idea what the root or context node is for the xpath evaluation [18:47:00] http://tinyurl.com/y7tx3kzq of course doesn't work [18:47:23] No idea how one is supposed to use variables inside quotes in SPARQL [18:47:25] node is defined by template, it's page one basically [18:47:34] Hmm [18:51:33] i'll look into it, not big xpath expert, not sure about the right syntax [18:52:49] I can hardcode a subsequent node to be matched http://tinyurl.com/ydy6tvtq [18:53:31] Saying to match just the first doesn't seem to change anything http://tinyurl.com/y9t4gldb [18:55:14] I think you should not be using // - that does match relative to root, not current item [18:55:15] Hah! This sort of works http://tinyurl.com/y9tjhmbs [18:55:27] Yep, // was overreaching [18:55:47] yep something like that. Not sure why you need // there but whatever works :) [18:55:52] But then I don't know how to get the nodes other than the first [18:55:56] as I said, my xpath is not that great [18:56:17] hmm I don't think there's an easy way as you get one row per result... [18:56:39] Oh, I had to learn XPath for some ugly data transfers between libraries ^^ [18:56:56] so you could probably do [0] [1] [2] [3] etc. [18:56:56] 10[1] 04https://www.wikidata.org/wiki/Template:convert13 => [18:56:59] 10[2] 04https://www.wikidata.org/wiki/Template:convert13 => [18:57:02] El búfer 3 está vacío. [18:57:11] but that of course sucks [18:57:14] oh thanks bot [18:58:03] You mean like http://tinyurl.com/y6utbfgs ? [18:58:42] Not very handy since some have over a hundred sub-fields [18:59:00] yep I know I said it sucks :) [18:59:11] not sure if xpath can do concats/groups [18:59:43] since you have 1 row per result, you need to somehow convert it to single value [19:00:40] I'd say XPath is just about selecting, XSLT does that kind of stuff [19:00:49] Can I filter out empty rows? http://tinyurl.com/ycx3zeow [19:00:58] (Not that it's a big deal I guess) [19:01:52] Ah that's not working very well [19:02:51] http://tinyurl.com/ycx3zeow but better avoided I guess [19:07:21] you can filter empty ones with FILTER I guess [19:07:28] after the service is done [20:22:10] Asking again: what would be the inverse of https://www.wikidata.org/wiki/Property:P2669 [20:23:12] Just https://www.wikidata.org/wiki/Property:P580? [21:22:55] Does anyone know the best way to go about getting the site and page id information for wiki pages pointed to by sitelinks? [21:44:28] hall1467: Clicking them? What's the context? [21:45:13] sjoerddebruin: https://www.wikidata.org/wiki/Property:P571 ? [21:45:40] Yeah, there are various options. But it's annoying when you want to use constraints. [21:57:54] multichill: I'm looking to gather site name and page_id information for all entity sitelinks [22:28:09] hall1467: To do what? What is your goal? [22:50:34] Hi, I‘m currently editing a translation of https://m.wikidata.org/wiki/Wikidata:SPARQL_query_service/A_gentle_introduction_to_the_Wikidata_Query_Service, how can I link to https://m.wikidata.org/wiki/Wikidata:Introduction/de? [22:51:25] {{ll|Wikidata:Introduction/de|Wikidata-Einführung}} doesn’t work [22:51:26] 10[3] 10https://www.wikidata.org/wiki/Template:ll [22:52:19] multichill: I was going to use that information for an analysis. Turns out I actually already have it and didn't realize it