[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization

2017-06-22 Thread Quiddity
Quiddity added a comment. Perfect, thanks all!TASK DETAILhttps://phabricator.wikimedia.org/T152676EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Jonas, QuiddityCc: WikidataFacts, Lucas_Werkmeister_WMDE, Quiddity, gerritbot, nichtich, Upeksha1996, TerraCodes,

[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization

2017-06-14 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. @nichtich that’s not the same thing – that tree always only has two levels, and nodes will appear multiple times (e. g. Waltzes by Chopin is a toplevel node but also a child node of List of compositions by Frédéric Chopin by genre). If I understand

[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization

2017-06-13 Thread nichtich
nichtich added a comment. The Chopin example could be written like this to become a simple example: SELECT ?parent ?parentLabel ?child ?childLabel WHERE { ?parent wdt:P361* wd:Q1785783 . ?child wdt:P361 ?parent . SERVICE wikibase:label { bd:serviceParam wikibase:language

[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization

2017-06-12 Thread Quiddity
Quiddity added a comment. Thanks! Lastly, I'd suggest adding another "tree" example at the GUI, for the specific example given in the description here. That will probably be a simpler example, for non-technical people to adapt/reuse. Specifically

[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization

2017-06-12 Thread Jonas
Jonas added a comment. In T152676#3336454, @Quiddity wrote: @Jonas 3 things: I tried running the example for "Tree" ("Continents, countries, regions and capitals") at https://query.wikidata.org/ but it gives "Unable to display result". Sorry, there went something wrong with the deployment.

[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization

2017-06-09 Thread Quiddity
Quiddity added a comment. @Jonas 3 things: I tried running the example for "Tree" ("Continents, countries, regions and capitals") at https://query.wikidata.org/ but it gives "Unable to display result". Also, this new feature needs to be documented at

[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization

2017-05-26 Thread gerritbot
gerritbot added a comment. Change 354967 merged by jenkins-bot: [wikidata/query/gui@master] Simple tree query visualization https://gerrit.wikimedia.org/r/354967TASK DETAILhttps://phabricator.wikimedia.org/T152676EMAIL

[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization

2017-05-23 Thread Micru
Micru added a comment. @Jonas I am very pleased to see you working on this, thank you! Here there is an example that I use often for maintenance: http://tools.wmflabs.org/wikidata-todo/tree.html?q=Q18616576=279=en=list=4 And this one too:

[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization

2017-05-21 Thread gerritbot
gerritbot added a comment. Change 354967 had a related patch set uploaded (by Jonas Kress (WMDE); owner: Jonas Kress (WMDE)): [wikidata/query/gui@master] Simple tree query visualization https://gerrit.wikimedia.org/r/354967TASK DETAILhttps://phabricator.wikimedia.org/T152676EMAIL

[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization

2017-05-21 Thread nichtich
nichtich added a comment. Have a look at https://www.npmjs.com/package/wikidata-taxonomy for some previous work about creation of hierarchies from Wikidata. The tool includes some additional information such as number of instances and number of sitelinks and additional parents. A tree