Re: [Wikidata] Help with SPARQL or API or something to get subcategories

2016-10-10 Thread Thad Guidry
Kingsley, use shortcut syntax instead. Also look at how the many examples show doing tihngs. http://tinyurl.com/hkv8z7m On Mon, Oct 10, 2016 at 1:50 PM Kingsley Idehen wrote: > On 10/9/16 1:34 PM, Thad Guidry wrote: > > Kingsley, > > The mappings are already in Wikidata (we still have a few p

Re: [Wikidata] Wikidata weekly summary #230

2016-10-10 Thread Scott MacLeod
Lea, Lydia, Denny, Magnus and Wikidatans, Congratulations on this - https://blog.wikimedia.org/ 2016/10/04/supporting-the-future-of-wikidata/ - Lydia and Magnus and Wikidata! With all the "geospatial" news this week - e.g. https://en.wikipedia.org/ wiki/Wikipedia:GLAM/British_Library/British_wild

Re: [Wikidata] Wikidata weekly summary #230

2016-10-10 Thread Denny Vrandečić
Thank you! On Mon, Oct 10, 2016 at 1:10 PM Lydia Pintscher < lydia.pintsc...@wikimedia.de> wrote: > On Mon, Oct 10, 2016 at 7:43 PM, Denny Vrandečić > wrote: > > Thanks! > > > > How do I read the WDQS report that is linked? I only see the link to the > rmd > > source. > > > > > https://github.co

Re: [Wikidata] Wikidata weekly summary #230

2016-10-10 Thread Lydia Pintscher
On Mon, Oct 10, 2016 at 7:43 PM, Denny Vrandečić wrote: > Thanks! > > How do I read the WDQS report that is linked? I only see the link to the rmd > source. > > https://github.com/wikimedia-research/Discovery-WDQS-Adhoc-Usage/blob/master/Report.Rmd Looks like this one is better: https://github.co

Re: [Wikidata] External link Twitter --> Wikidata

2016-10-10 Thread Andy Mabbett
On 10 October 2016 at 14:05, Brill Lyle wrote: > Andy: Did it occur to you that maybe there were no objections because there > was no visibility to the request? Yes; but given the number of well-watched pages on which it was discussed, I don't think that's a plausible proposition. [...] > this

Re: [Wikidata] Help with SPARQL or API or something to get subcategories

2016-10-10 Thread Kingsley Idehen
On 10/9/16 1:34 PM, Thad Guidry wrote: > Kingsley, > > The mappings are already in Wikidata (we still have a few properties > left to map, but the classes are done, except for a few in > pending.schema.org . You can just query > them in some fashion such as this: http://

Re: [Wikidata] Wikidata weekly summary #230

2016-10-10 Thread Denny Vrandečić
Thanks! How do I read the WDQS report that is linked? I only see the link to the rmd source. https://github.com/wikimedia-research/Discovery-WDQS-Adhoc-Usage/blob/master/Report.Rmd On Mon, Oct 10, 2016 at 9:13 AM Léa Lacroix wrote: > > > *Hello all,Here's your quick overview of what has been

[Wikidata] Wikidata weekly summary #230

2016-10-10 Thread Léa Lacroix
*Hello all,Here's your quick overview of what has been happening around Wikidata over the last week.* Events /Press/Blogs - During the British wildlife edit-a-thon 2016

Re: [Wikidata] Help with SPARQL or API or something to get subcategories

2016-10-10 Thread Thad Guidry
Thanks Andrew but I know and see the pitfalls. The use case is only 1 level deep and to be treated not as a Category but instead as simply something "Related" or "Relative" to the topic. Keeping within those 2 constraints from my tests seems to work reasonably well. Beyond those constraints... I a

Re: [Wikidata] External link Twitter --> Wikidata

2016-10-10 Thread Brill Lyle
Andy: Did it occur to you that maybe there were no objections because there was no visibility to the request? Quite frankly, I am amenable to these changes and support pushing granulated data like this and Authority Control to Wikidata. I am. I recognize the value of these efforts, and how great i

Re: [Wikidata] Help with SPARQL or API or something to get subcategories

2016-10-10 Thread Andrew Gray
Hi Thad, One quick red flag - I'm not sure how familiar you are with the category system, but automatically parsing it without sanity-checking can very quickly lead you into a minefield. There are a substantial number of category trees which seem reasonable at first, but rapidly go in unexpected d

Re: [Wikidata] External link Twitter --> Wikidata

2016-10-10 Thread Andy Mabbett
On 9 October 2016 at 12:34, Brill Lyle wrote: > So I have been noticing that Twitter links often found in the External link > section is starting to move to Wikidata on English Wikipedia. {{Twitter}} > template is used much like with {{Authority control}} > > Was there consensus or discussion ab

Re: [Wikidata] Terms - search for corresponding WD-item and WP-article

2016-10-10 Thread Biyanto Rebin
​Great add-on! Thank you, Thomas​ 2016-10-10 15:28 GMT+07:00 Thomas Steiner : > Hi Markus, > > This is a lighthouse case for my Google Sheets add-on Wikipedia Tools > for Google Spreadsheets (bit.ly/wikipedia-tools-add-on). Here is an > editable sheet (https://docs.google.com/spreadsheets/d/ > 1z

Re: [Wikidata] Terms - search for corresponding WD-item and WP-article

2016-10-10 Thread Thomas Steiner
Hi Markus, This is a lighthouse case for my Google Sheets add-on Wikipedia Tools for Google Spreadsheets (bit.ly/wikipedia-tools-add-on). Here is an editable sheet (https://docs.google.com/spreadsheets/d/1zAZBS09XAYzzL0e6ltTEc943ATvddN6DUgi076xe8qs/edit?usp=sharing) that you can continue to use,

Re: [Wikidata] Terms - search for corresponding WD-item and WP-article

2016-10-10 Thread Magnus Manske
You could try this (example:"Cambridge"): https://quarry.wmflabs.org/query/13025 Not sure if your terms will work though; "Aerial photograph" does not exist, for example. You can replace term_type='label' with term_type IN ('label','alias') to get more hits. On Mon, Oct 10, 2016 at 7:14 AM Markus