[10:17:06] does it seems notable enough to you? https://www.wikidata.org/wiki/Q28147082 [11:49:23] Harmonia_Boulot: Was that message for me? or...? [11:50:07] not particularly [11:50:19] but I deleted the item after further investigation [11:52:01] okay, never mind :D [11:52:21] Thought it was about my question above: [11:52:22] Question: P27 says: country of citizenship. But when you want to write the Nationality, it refers to P27 as well. Is there a property for ''Nationality'' where you can write: ''Brittish'', ''dansk'', ''Nederlandse''? For now it seems strange to have: "country of citizenship": ''Brittish'' or "Nationality": ''Denmark''. Do you understand? [11:54:54] why would we do that? [11:55:13] seems like something which should be treated when re-using data [11:55:28] since the information is sctrictly identical [11:58:03] Rodejong: why do you need that? [11:58:35] Well, in dutch, as well as in Danish, Norwegian and other languages, we normally don't say [11:58:35] Nationality: The Netherlands, Denmark, etc. We say: [11:58:35] Nationality: Dutch, Danish [11:59:17] well yes, and ? [11:59:18] "country of citizenship" is a rather unused form [11:59:34] and? [11:59:44] so in Infoboxes it would be confusing for the readers [11:59:50] well, no [11:59:54] Well, yes [12:00:02] you need to treat the problem in your lua module [12:00:10] ? [12:00:13] it's what we do in the French wikipedia [12:00:18] Where exactly? [12:00:26] Can you show me? [12:00:26] Wikidata says country of citizenship: France [12:00:36] and the infobox show : nationality : French [12:00:47] that's not a wikidata problem [12:00:52] it's a re-using data one [12:01:01] the data is perfectly correct [12:01:45] okay.. I am personally not so familiar with LUA, so I'll have to ask around then. [12:01:49] no problem at all from a Wikidatian point of view [12:02:09] I can edit infoboxes and Wikidata sheets [12:02:25] so I am a n00b at this [12:02:26] :D [12:02:33] thanks for helping though [12:02:38] And the patience [12:04:53] Rodejong: https://fr.wikipedia.org/wiki/Module:Country_data [12:05:22] Thanks... looking... [12:06:16] Rodejong: i'm not a lua specialist but you definitely have a lua problem [12:06:21] not a wikidata one ;) [12:06:35] Rodejong: Are you looking for https://www.wikidata.org/wiki/Property:P1549 ? [12:06:38] thanks again. [12:07:12] Ainali .. YES!! [12:07:47] Rodejong: you basically should ask your infoboxes not to show the country of citizenship but the P1549 in your language which is on the item of the country of citizenship [12:08:07] Rodejong: do you understand? [12:08:11] Yea [12:08:23] It wasn't in the Person list [12:08:36] https://www.wikidata.org/wiki/Special:MyLanguage/Wikidata:List_of_properties/Person [12:08:42] Rodejong: several wiki already use that on their infoboxes, so they are lua modules for that [12:08:50] because it's not a person property [12:08:56] it's a location one [12:09:11] P1549 should only be used on locations items [12:09:48] ah ok [12:09:58] back to the modules then [12:10:09] Rodejong: for exemple, a person will have country of citizenship:France [12:10:45] your lua module will search : France, what is the P1549? oh, French. So the infobox will shows "French" [12:11:04] the person link to France [12:11:09] and France link to French [12:11:14] is that more clear? [12:11:20] yes it is [12:11:23] :) [12:11:28] Thanks again [12:11:40] links* (third-person, sorry) [12:13:46] no worries, I got that [12:42:18] Harmonia_Boulot [12:42:34] Do you have time for one more? [12:43:06] shoot [12:43:09] https://da.wikipedia.org/wiki/Robin_Williams [12:43:25] Wikidata places all three links in stead of just one [12:43:39] so the infobox doesn't know how to handle that [12:43:57] (rather... I don't know how to fix that) [12:43:58] that's also a lua module problem [12:44:08] oh [12:44:17] the module should be restricted to only take one picture [12:44:18] same module? [12:45:22] urgh [12:45:23] https://da.wikipedia.org/w/index.php?title=Skabelon:Infoboks_skuespiller&action=edit [12:45:29] that's not clean *at all* [12:45:36] bad bad coding [12:46:14] i don't know how to clean that in wikicode [12:46:25] it would be better to actually write the infobox in lua [12:46:51] hmmm HELP! hehe [12:47:00] How would I edit that [12:47:09] but once again, not a wikidata problem [12:47:15] that's a wikipedia one [12:47:35] someone wrote a bad/not clean template [12:47:54] Where can I ask that? Because our Danish community is very small [12:48:30] go find lua writers in more important comminities? [12:48:40] -i+u [12:48:51] ok [12:48:58] will do that then [12:49:02] thanks again [12:49:42] no problem [12:50:14] I would love to help you but i haven't written anything in lua since a full year and I've half-fogotten the language [12:50:36] I can understand existing modules but certainly not write a new module right now [12:51:00] Rodejong: we have several good lua writers in the French Wikipedia, even some speaking English [12:51:17] there are probably many on the English WP as well [12:51:49] okay.. dives in to the jungle then :D [12:52:23] sorry ^^ [12:53:52] No worries, you helped me just fine, thanks [20:05:10] leszek_wmde: What time is it for you right now? 9pm here. [20:05:45] Thiemo_WMDE: hi! I was wondering why you're not sleeping :) It is just after the noon over here [20:06:11] I'm actually sleeping. ;-) [20:18:19] ok, now I have banged my head against enough walls. There is something here I dont get. I am under the impression that when I want to list all counties and all munipicalities of Norway, with their respective official website, then wikidata might be of use to me. Is that correct? [20:20:46] atluxity: yes, as long as someone has entered the data properly :) [20:21:19] for things like that, we would normally write a query at https://query.wikidata.org/ [20:22:50] alright [20:22:55] this looks useful [20:24:21] there are lots of example queries you can look at, but if you can't figure it out, the people who watch https://www.wikidata.org/wiki/Wikidata:Request_a_query will surely be willing to help (also various people in here, like me :)) [20:26:28] yes, good , thanks [20:26:32] but I want to try this a bit first [20:26:40] this can be a useful skill [20:36:06] ok, now I get a list of URLs [20:36:22] what do I ask it to show to get names besides the url? [20:36:46] add this line, and then also select ?itemLabel for a variable ?item (or ?humanLabel for a variable ?human, etc.) [20:36:47] SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } [20:37:04] (also available as autocompletion, so you can type SERV and then ctrl+space) [20:37:37] ah, I wondered if the talk of sparql would summon you, WikidataFacts :D [20:37:49] hehe :) [20:39:27] once you speak SparQL the world of WikiData will open on you [20:39:41] and most tools eat SparQL queries... like PetScan does [20:43:32] WikidataFacts, instructions unclear... [20:43:58] I pretty much depend on the "show" button on the left at this point [20:44:02] oh, okay [20:44:22] I don’t think that interface can add the label service at the moment [20:44:27] so you’ll have to edit the query code [20:44:35] and add that line before the closing } [20:44:45] ah, ok [20:44:46] and then add ?itemLabel to the SELECT clause [20:44:57] so SELECT ?item ?itemLabel WHERE { instead of SELECT ?item WHERE { [20:45:05] assuming the variable is called ?item… might be something else [20:47:42] this is what it looks like after I follow your instructions - http://pastebin.com/HsWgyqPq [20:48:10] and that gives me a column callen ItemLabel which is blank [20:48:16] okay, in that case the variable needs to be ?_official_websiteLabel [20:48:29] ?_official_website would be the url [20:48:30] also, you can delete one of those lines (e. g. line 3) [20:48:34] oh, right [20:48:38] ?countryLabel then [20:48:39] sorry [20:48:48] oh [20:48:50] gotta think before typing ;) [20:49:09] oh, the variable is already used in the ORDER BY clause too [20:49:23] aha [20:49:55] that does it [20:49:58] thanks! [20:50:57] np :) [20:51:15] oh, and one more thing... [20:51:17] :D [20:51:37] no, I'm gonna try a bit more myself [20:53:04] alright, good luck :D [20:55:47] no... [20:55:53] ok, so now I list Q192299 [20:56:14] i want to list Q192299 AND Q755707 [20:56:25] I believe that ?ItemLabel will not give results... but ?itemLabel probably will [20:56:26] or, now I list Q755707, but you get the point [20:56:35] E-doderoo, thats resolved [20:56:54] ?countryLabel was the magic [20:57:10] yeah [20:57:39] atluxity: you mean, items that are instance of (P31) one or the other? [20:57:51] yes [20:57:57] I figure I could just do two selects [20:58:04] no, that’s a bit more tricky [20:58:04] but thats not sexy [20:58:21] oh, really [20:58:46] I think this is the most elegant solution I can offer: http://tinyurl.com/z8dwu7r [20:58:57] here with an example: all items that are instance of “dog” or “cat” [20:59:15] you can list any number of classes in the VALUES clause [20:59:37] ok... I can work with this