[13:29:40] Hi [13:31:25] Hi! is there a joker in wikidata API ? [13:31:35] Like * in https://www.wikidata.org/w/api.php?action=wbsearchentities&search=gerani*&language=fr [13:33:24] plz halp: https://www.wikidata.org/wiki/Wikidata:Project_chat#franchising_(Q171947)_instance_of_(P31)_business_model_(Q815823)_or_franchising_(Q171947)_subclass_of_(P279)_business_model_(Q815823) [13:35:07] jmvanel: a wildcard [13:35:40] is the word you are looking for [13:35:44] I don't know but I don't think so [13:49:58] wildcard yes sorry [13:50:26] joker is an english french word :) [13:50:45] I'm sure there is something that does a search from the start of a string, but I can't remember what it is [13:52:24] I tried also SPARQL with or without the label server but that did a timeout . [13:59:25] nikki, I found this https://www.mediawiki.org/wiki/Help:CirrusSearch [14:06:46] This is about the search box , but nothing about the web API :( [14:17:09] nikki, found also this API but it does not seem to return anything useful : https://www.wikidata.org/w/api.php?action=help&recursivesubmodules=1#query+prefixsearch [14:17:49] nikki: wbsearchentities is I think already searching for the beginning of the string [14:18:08] remove the * and it should find all entities starting with gerani [14:18:28] labels or aliases [14:25:08] Indeed , dcausse I was stupid not to try !!! [14:27:11] ohh, right :D [14:35:49] However, it goves a priority to complete words, which is normal, but it does not take in account non ASCII characters , which is bad : https://www.wikidata.org/w/api.php?action=wbsearchentities&search=ch%C3%AAn&language=fr&limit=20 https://www.wikidata.org/w/api.php?action=wbsearchentities&search=ch%C3%AAn&language=fr&limit=20 [14:36:33] "chên" stands for chêne (oak) [14:40:30] The service behind CirrusSearch box would be worth trying, but I guess that's not a stable API ... [14:41:49] jmvanel: wbsearchentities uses cirrus behing the scene [14:45:17] regarding the diacritic it's scoring issue I believe, typing up to n "chên" brings Q12004 on the 4th pos [15:24:20] OK, these 2 things I learned should be in the doc :) [15:27:10] scoring issue, to say the least; Chen, although a complete word should pass behind "chêne" that has the right starting letters ... IMHO [16:42:28] Hello [16:42:51] Who do i bother to help me write my query? [17:52:01] !ask | erentar [17:52:09] (Meh. Doesn't work here?) [17:52:32] erentar: please don't ask to ask. If anybody see your questoin and can help, they will help. [17:52:35] ok is that the dont ask to ask lecture [17:52:39] there we go [17:53:01] i was making sure this was the right place to waste pople's time [17:55:01] https://paste.gnome.org/pzorhxsyf [17:55:03] i am trying to get a table with all elements q: numbers and symbols, query does not return anthing. what am i doing wrong? [18:10:05] if it's not the right place then someone would point out a better place [18:10:23] asking a question which starts with "who" does not imply that though :) [18:48:10] erentar: you need to swap ?element and ?symbol [18:50:25] https://paste.gnome.org/pelm3iieb#line-1 [18:50:39] still get no matching records found [18:50:43] oh, oops, I mean on line 3 [18:51:19] nice, it works [18:51:22] thanks! [18:51:34] no problem :) [19:06:22] nikki: hey how it's going [19:11:47] hi! [19:11:57] I did forget about your query :P [19:16:11] of course you did :D [20:12:12] SothoTalKer_: this seems to work for the 9 digit ones https://w.wiki/RH$ [20:12:18] haven't worked out how the rest work yet [22:49:36] nice :) [22:52:55] nikki: did you see the Lua module? https://de.wikipedia.org/wiki/Modul:URIutil