[08:45:45] hello folks, i’d like to ask u a question. [08:45:45] i plan to code a python script to connect to wikidata and obtain lists of articles according to some criteria/properties. [08:45:45] which way do u think is best (performance, usability...)? [08:45:45] a) using the SPARQLWrapper library (SPARQL Endpoint interface to Python https://rdflib.github.io/sparqlwrapper/ https://people.wikimedia.org/~bearloga/notes/wdqs-python.html) [08:45:47] b) using this sparql-client for python (https://pypi.python.org/pypi/sparql-client) [08:45:49] c) using requesters library like in this example: http://ramiro.org/notebook/us-presidents-causes-of-death/ [08:45:51] thanks! [09:36:30] anyone? [09:37:49] marmick: in general I find that the libraries don't make much difference [09:38:23] just using requests works well (option c) [09:38:24] ah [09:38:54] i guess performance is the same [09:38:56] I don't really see the point of the sparqlwrapper library to be honest (but it is going to work well too) [09:39:08] as it depends on the server [09:39:21] but aren't libraries more comfortable to use? [09:39:21] yes the performance only depends on your query [09:39:58] well, in all three cases it's just a few lines of code to make a sparql query [09:40:41] and no matter what you choose now, it's going to be easy to switch to something else if you change your mind [09:41:12] so I really wouldn't worry about that at all [09:41:26] it's true [09:41:42] just wanted to see if there was one option more popular [09:41:47] for a reason i didn't know [10:41:14] Jonas_WMDE: Hej! Can I put https://gerrit.wikimedia.org/r/#/c/400461/ on your list in the next 4 hours? (asking as it's a GCI task). Thanks! :) [10:44:51] andre____ yes saw it [10:45:01] and already tested some [10:45:05] but I am on holiday [10:48:16] Jonas_WMDE: ah sorry. Someone else I could ask for a review? [11:02:28] is there any way to get aliases of any wikipedia entity? [11:02:55] Hi, is there anyone available? [11:03:28] hi [11:03:35] :( [11:04:23] yo [11:09:47] Guest35134: hi! [11:15:09] Is there any guidance on how many queries is too many queries for the SPARQL endpoint? [11:19:07] Looking at some of the operational data I have determined that I have nothing to worry about. [13:34:19] hi folks. I have a question... I am just learning about Wikidata. I was wondering whether there exist any project that transforms Wikipedia article categories into Wikidata item's properties. [14:09:24] marmick: there are some tools for that (such as https://petscan.wmflabs.org/) but nothing completely automatic (wikipedia categories are noisy and often hard to map directly to statements) [14:11:34] yes, it's noisy [14:11:59] but i thought there would be some ppl mapping the categories into properties so that articles would get their items with more statements [20:37:12] Do we have a list of the topN used properties (by number of usages in statements) [20:43:26] hoo: https://www.wikidata.org/wiki/Wikidata:Database_reports/List_of_properties/Top100 [20:43:27] hoo: https://www.wikidata.org/wiki/Wikidata:Database_reports/List_of_properties/Top100 [20:43:29] ... lol [20:43:48] ninja-d [20:44:20] 1 second ;) [20:44:23] Nice, thanks :) [20:44:31] Happy belated holidays btw :) [20:46:08] Thanks :)) [20:46:57] Crazy if you pick the list of last year... https://www.wikidata.org/w/index.php?title=Wikidata:Database_reports/List_of_properties/Top100&oldid=422001972 [21:57:43] Database reports!!!!