[Wikidata-bugs] [Maniphest] [Updated] T146140: wishlisted: Wikidata Tools for Google Spreadsheets add-on

2016-10-29 Thread Tomayac
Tomayac added a comment.
Alright, this is now fully working. You can as of now say…

WIKIDATAFACTS("Q42", "all", "P106")

…to get all of Douglas Adams' occupations (i.e., P106). If you replace "all" with "first", you will just get the first occupation.

If you want several properties, pass them as an array like…

WIKIDATAFACTS("Q42", "all", {"P31"; "P106"})TASK DETAILhttps://phabricator.wikimedia.org/T146140EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: TomayacCc: Spinster, Tomayac, Aklapper, dachary, D3r1ck01, Izno, Wikidata-bugs, aude, Ricordisamoa, Sjoerddebruin, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T146140: wishlisted: Wikidata Tools for Google Spreadsheets add-on

2016-09-20 Thread Spinster
Spinster added a comment.
Hi Tom, thanks for the quick reply! I know and use these functions, I actually mean something different: give me the specific value(s) for one specific property/statement, rather than all statements as happens in WIKIDATAFACTS.

For instance, if I have a cell containing Q1282569, I'd like to ask specifically for the English-value label of its P109 property (profession), and then in a next cell to the right for instance its P569 (date of birth) and in another next cell its P570 (date of death).
Next row I might have another Q-number for which I'd also ask its P109, and then P569, P570, etc. Each cell requests one property specifically. I hope I'm making myself clear.

As this is very Wikidata-centric I thought about a separate add-on rather than integrated in the current Wikipedia-centered one, but maybe they can be integrated too.TASK DETAILhttps://phabricator.wikimedia.org/T146140EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SpinsterCc: Spinster, Tomayac, Aklapper, dachary, D3r1ck01, Izno, Wikidata-bugs, aude, Ricordisamoa, Sjoerddebruin, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs