[09:01:22] hello [09:20:59] !admin [09:33:56] Hi HakanIST. How can we help you? [09:34:26] Hello, situation resolved after leaving message on admin noticeboard [09:34:40] thanks though [13:54:32] nom nom, eat the lunch... [13:59:13] what now? [14:03:42] bro293: like in...? [14:10:44] is there gonna be a way to query the wikidata sets in plain english? [14:16:24] natural language parsing is a science of its own [14:18:57] okay. how about not so natural language. what sort of querying might a technical person be able to do on wikidata do you think? something like wolfram alpha maybe? [14:19:57] I guess anything is potentially possible, Lydia_WMDE might be able to advise if there is anything on the WMDE horizon for that [14:20:17] You could file a task on phabricator, and suggest an example of what you're trying to find, and what sort of syntax you'd want to use [14:20:49] You can query wikidata with SPARQL if that's any use to you [14:24:14] oh okay. i guess i just hoped when wikidata started that it would like be able to let someone type in a particular command and have it populate a list of things or like tabulated data. to compare, let's say, the population difference of metro NYC to NYC proper and side by side Toronto metro/toronto proper. [14:24:17] stuff like that [14:34:42] Reedy: https://youtu.be/qslJQUMc9yA [14:35:08] lol [14:46:10] Search fail... https://www.wikidata.org/w/index.php?title=Special%3ASearch&profile=default&search=~%3D%5B%2C%2C_%2C%2C%5D%3A3&fulltext=Search [14:46:22] This is an exact match to an alias of an item [16:15:35] JeroenDeDauw: yes https://www.wikidata.org/w/api.php?action=wbsearchentities&search=~=[,,_,,]:3&language=en [18:22:34] addshore: Thank you for your pull request. Do you want to be added to https://github.com/ProjetPP/WikidataQueryApi maintainers ? [18:22:44] sure ;) [18:23:26] also Tpt https://github.com/addwiki/mediawiki-api-base is already using guzzle 6 on master now ;) Just reimplemented the retying failed requests, need to do some testing etc first and see if there is anything else to be added [18:23:43] addshore: ok, thank you :-) [18:28:50] Tpt: anything you want added to it? :P [18:29:51] addshore: No, I think this lib already does the job very well :-) [18:29:53] Thank you! [18:30:42] So I just created a Wikidata item on a publication -- a manual for analyzing the presence of chemicals -- and I will be creating individual items on the analytical methods included in this publication. What would be the property I want to use to link up the item on the individual method with the publication? [18:31:25] Do I want to use "part of," or something else? [18:34:42] Tpt: I have something very similar to https://github.com/ProjetPP/WikibaseEntityStore/blob/master/src/Api/ApiEntityLookup.php ;) but not EntityDocuments ;) [18:34:53] is EntityDocumentLookup in Services yet? [18:36:33] addshore: https://github.com/wmde/WikibaseDataModelServices/blob/master/src/Lookup/EntityLookup.php ? [18:37:41] oooh, in that case I have those already :P Infact, you might have written them! [18:38:32] yes ;-) [18:38:39] :D [18:38:52] but these interface does not support retrieving more than 1 entity at the same time [18:39:08] Ahh, indeed [18:39:24] I should maybe implement one of those / copy yours? ;) [18:39:41] Yes :-) [18:39:44] oh also, mediawiki-api-base will support async stuff in the next one [18:39:51] great! [18:39:56] and I place on rolling async into the mediawiki-api and wikibase-api libs too [18:39:59] *plan [18:40:26] I think I'll maybe rolling async to in my WikibaseEntityStore in order to increase performances. [18:40:55] (but I consider also drop this lib and switch to a SPARQL based backend) [18:41:02] (but it'll be a strong move) [18:41:10] ooohh, that would be cool [18:41:29] bene has a nice lib for sparql in php [18:41:34] yes :-) [18:41:47] I was going to write a client for our endpoint soon too (as I want to use it) [18:41:56] good :-) [18:42:18] The think that stop me from using SPARQL is that our endpoint is not very reliable yet [18:42:33] and my local clone of MongoDB works fairly well [18:42:44] (except it's very slow for complex queries) [18:43:07] So, I'll maybe run my own endpoint with a slower update rate [18:43:14] And maybe a simpler data model [18:45:07] It would be very nice to have a small library that would allow to interact with the SPARQL database using WikibaseDataModel objects [21:45:18] addshore: Is arbitrary Wikidata querying enabled on the English Wikipedia? [21:45:34] arbritraya access is yes! [21:45:42] Where's it being used? [21:45:50] magic places ;) [21:45:58] Are there examples somewhere? [21:45:58] You can look in a table on labs! [21:46:07] People keep telling me it's being used. [21:46:09] And I'm like "where?" [21:46:15] And then they run away and I'm like :-(. [21:46:32] Like does someone have a specific wiki page that is using this arbitrary access? [21:46:44] https://grafana.wikimedia.org/dashboard/db/wikidata-entity-usage-project?var-project=enwiki [21:46:47] 3 million pages :P [21:47:13] Arbitrary access? [21:47:18] Or that infobox thing? [21:47:21] Or whatever it was before. [21:47:44] 3 million pages have some sort of usage, it would be a fairly hard query to see what is arbritrary and what is /normal/ [21:47:52] Okay. [21:48:00] So for arbitrary access, is there a place I can see that in action? [21:49:18] addshore: JUST ONE EXAMPLE [21:49:23] GOD DAMN IT [21:49:28] aude's user page? ;) [21:49:37] arbitrary kitten is probably there xD [21:49:45] Reedy: ikr [21:49:55] I just want to see how it works. [21:49:55] [[File:{{#property:P18|from=Q147}}|240px]] [21:49:55] Caracteres inválidos en el enlace «File:{{#property:P18»; no están permitidos: #<>[]|{} [21:50:34] AsimovBot: That wasn't for you :P ;) [21:50:40] Okay, so from is a parameter. [21:50:47] I guess I need the documentation for #property as well. [21:50:52] Or whatever else is available. [21:51:56] !task 2007 [21:55:43] Leah: [[mw:Extension:Wikibase Client#Data transclusion]] [21:55:43] 10[1] 10https://www.mediawiki.org/wiki/Extension:Wikibase_Client%23Data_transclusion [22:11:25] Hazard-SJ: Nice, thanks. [22:11:45] anyone here know where i can find a list of events e.g. oscars, superbowl etc as data so i can import it into a calender? [22:11:46] Reedy: I think you mean 2001. Bug 2007 was the tracking tracking bug? [22:12:04] probably [23:07:59] If I have a copy of a publication on Commons, what is the Wikidata property that links an item with the Commons file? [23:09:48] Something like P18 image, but for a document, not an image [23:10:11] harej: https://www.wikidata.org/wiki/Property:P996 ? [23:10:25] That looks like it will work. [23:10:57] Thanks! [23:12:22] nice :)