Thanks Thomas, that looks really handy. I definitely think we need more template based solutions like this.
Best,
Navino On 16 Mar 2015 20:34, "Thomas Douillard" thomas.douillard@gmail.com wrote:
Looks cool, see also wrote the beginning of a query generator in mediawiki templates : https://www.wikidata.org/wiki/Template:WDQ
2015-03-09 22:03 GMT+01:00 Navino Evans navino@histropedia.com:
Hi all,
We've been using WDQ queries a lot recently to update timelines in the Histropedia directory and, while trying to speed up the process, I ended up creating a very crude query generator tool over the weekend. After getting a bit carried away with it, it seemed worth sharing as it could actually be a handy tool for Wikidata editors, or anyone else interested in experimenting with queries.
I have no real coding experience, so it's just made in a humble spreadsheet! You can choose the input values for a query and the links to Histropedia, AutoList and WDQ will update automatically.The idea is obviously that this sort of tool should be written in Javascript by someone who actually knows what they're doing ;) but they do work and can easily be customised by adding more Wikidata items to the available options.
I've made 3 different types of query generator so far, which I'll publish shortly as free templates on Google Sheets:
- Date range query generator
https://docs.google.com/spreadsheets/d/1A8wyqVc5USJ_T8ncFfYIsmJzfy8LIdmH2QLgeyegRAM/edit?usp=sharing
- People finder query generator
https://docs.google.com/spreadsheets/d/16-x7NGyHTAtEJBa5uF9ZYBhNj6BhhCJrtDaKCcJIFuE/edit?usp=sharing
- Family tree query generator
https://docs.google.com/spreadsheets/d/1dNTBoi-QbI0t-t0Ba4Ex5-sx7Q03qRecE27bapQGpAw/edit?usp=sharing
They are publicly editable spreadsheets so feel free to make a copy if someone is using the one you land on. And certainly don't hold back if anyone wishes to make any improvements.
I hope someone finds it useful/fun to mess around with these, but I thought it was a nice story to share in itself - that a non-coder can sit down and create something genuinely useful by tapping into the power of Wikidata, and of course Magnus' amazing tools! :)
Cheers,
Navino
-- ___________________________
Histropedia
The Timeline for all of History www.histropedia.com
Follow us on: Twitter https://twitter.com/Histropedia Facebo https://www.facebook.com/Histropediaok https://www.facebook.com/Histropedia Google + https://plus.google.com/u/0/b/104484373317792180682/104484373317792180682/posts L http://www.linkedin.com/company/histropedia-ltdinke http://www.linkedin.com/company/histropedia-ltddIn http://www.linkedin.com/company/histropedia-ltd
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l