Re: [Wikidata-l] Bot request: 250+ thousands person data

2014-04-29 Thread Daniel Kinzler
Am 29.04.2014 17:25, schrieb David Cuenca: > Is it possible to have just an lower bond, leaving the upper one open? No. It's a precision interval, not a range. Range Snaks may be introduced in the future, but for now, you should use dedicated properties for start and end to express a range. > I a

Re: [Wikidata-l] Bot request: 250+ thousands person data

2014-04-29 Thread Federico Leva (Nemo)
David Cuenca, 29/04/2014 17:25: For things like "circa" I don't see any clear solution other than "inventing" some ranges... For something like "circa 5 BCE" the range could be the decade in question maybe? Just as "circa 3 billions years ago" has a billion year range or you'd say "circa 3.00

Re: [Wikidata-l] Bot request: 250+ thousands person data

2014-04-29 Thread David Cuenca
On Tue, Apr 29, 2014 at 12:48 PM, Daniel Kinzler < daniel.kinz...@wikimedia.de> wrote: > If you have something like "between 1846 and 1855", you can use the > "before" and > "after" fields of the time value: > > time: "+0001850-00-00T00:00:00Z", > precision: 9, > before: 4, > after: 5

Re: [Wikidata-l] Bot request: 250+ thousands person data

2014-04-29 Thread Luca Martinelli
Il 29/apr/2014 09:31 "Gerard Meijssen" ha scritto: > > Hoi, > When Wikipedia has an approach to specific articles that are not compatible with Wikidata, we can create items that fit our need and keep the original item for what it is .. for instance a list of people (in the case of the Wright broth

Re: [Wikidata-l] Bot request: 250+ thousands person data

2014-04-29 Thread Daniel Kinzler
Am 29.04.2014 03:53, schrieb Amir Ladsgroup: > It's not a big deal, parsing it would be no problem, I can use it in > parsing data from Bio template in Italian Wikipedia but I have to use > "precision" argument in snak. Am I right? Yes, exactly. > what value have to set for precision if I have ju

Re: [Wikidata-l] Autocomplete API for a search field in an external app

2014-04-29 Thread Thomas Steiner
Hi Maxime, After some quick reverse engineering of the site with the Chrome Developer Tools, here's the API it is using: http://www.wikidata.org/w/api.php ?callback=[YOUR CALLBACK NAME] &action=wbsearchentities &format=json &language=en &type=item &continue=0 &_=[TIMESTAMP (as a cache buster)] &s

Re: [Wikidata-l] Autocomplete API for a search field in an external app

2014-04-29 Thread Thomas Steiner
Small correction: > If you don't need the callback, then the API is as follows (note the > missing cache buster): > > http://www.wikidata.org/w/api.php > &action=wbsearchentities ?action=wbsearchentities (replace '&' with '?', copy and paste oversight, sorry). -- Thomas Steiner, Employee, Google

Re: [Wikidata-l] Autocomplete API for a search field in an external app

2014-04-29 Thread Christian Dullweber
Hi, the autocomplete box is using the wbsearchentities api. You could try to copy the jquery.wikibase.entityselector.js from wikibase/lib/resources/jquery.wikibase it looks like it works independently from wikibase. It needs the jqueryui suggester. best regards, Christian 2014-04-28 18:40 GMT

Re: [Wikidata-l] Bot request: 250+ thousands person data

2014-04-29 Thread Luca Martinelli
2014-04-28 17:08 GMT+02:00 David Cuenca : > On Mon, Apr 28, 2014 at 3:10 PM, Luca Martinelli > wrote: >> I recalled the fact quite correctly: >> https://it.wikipedia.org/wiki/Modulo:Bio takes dates of birth and >> death from Wikidata. I think we can talk to extend the possibility to >> gender, and

Re: [Wikidata-l] Bot request: 250+ thousands person data

2014-04-29 Thread Gerard Meijssen
Hoi, When Wikipedia has an approach to specific articles that are not compatible with Wikidata, we can create items that fit our need and keep the original item for what it is .. for instance a list of people (in the case of the Wright brothers). The notion that Wikidata defers to Wikipedia is not

Re: [Wikidata-l] Bot request: 250+ thousands person data

2014-04-29 Thread John Mark Vandenberg
On Sun, Apr 27, 2014 at 8:28 PM, Amir Ladsgroup wrote: > there are some problems in using bio template for example they used it for a > group of people > > https://it.wikipedia.org/wiki/Fratelli_Wright This is quite a difficult problem. Also look for infoboxes not at the top of a page, because t