[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization
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, Jonas, Micru, Aklapper, Lordiis, GoranSMilovanovic, Adik2382, Soteriaspace, harikiran, Th3d3v1ls, SacredWKnight, JakeTheDeveloper, Ramalepe, Liugev6, QZanden, EBjune, merbst, Avner, Lewizho99, Puik, Maathavan, debt, Gehel, Abbe98, D3r1ck01, Envlh, FloNight, Xmlizer, MuhammadShuaib, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, jayvdb, TheDJ, Mbch331, Jay8g___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization
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 correctly, that query structure only works for a graph view, but not for the tree view.TASK DETAILhttps://phabricator.wikimedia.org/T152676EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Jonas, Lucas_Werkmeister_WMDECc: Lucas_Werkmeister_WMDE, Quiddity, gerritbot, nichtich, Upeksha1996, TerraCodes, Jonas, Micru, Aklapper, GoranSMilovanovic, Adik2382, Soteriaspace, harikiran, Th3d3v1ls, SacredWKnight, JakeTheDeveloper, Ramalepe, Liugev6, QZanden, EBjune, merbst, Avner, Lewizho99, Puik, Maathavan, debt, Gehel, Abbe98, D3r1ck01, Envlh, jrbs, FloNight, Xmlizer, MuhammadShuaib, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, jayvdb, TheDJ, Mbch331, Jay8g___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization
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 "[AUTO_LANGUAGE],en". } }TASK DETAILhttps://phabricator.wikimedia.org/T152676EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Jonas, nichtichCc: Lucas_Werkmeister_WMDE, Quiddity, gerritbot, nichtich, Upeksha1996, TerraCodes, Jonas, Micru, Aklapper, GoranSMilovanovic, Adik2382, Soteriaspace, harikiran, Th3d3v1ls, SacredWKnight, JakeTheDeveloper, Ramalepe, Liugev6, QZanden, EBjune, merbst, Avner, Lewizho99, Puik, Maathavan, debt, Gehel, Abbe98, D3r1ck01, Envlh, FloNight, Xmlizer, MuhammadShuaib, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, jayvdb, TheDJ, Mbch331, Jay8g___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization
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 http://tools.wmflabs.org/wikidata-todo/tree.html?q=Q1785783=361=en=list=4 (I have this similar example bookmarked https://tools.wmflabs.org/wikidata-todo/tree.html?rp=279=list=8261 and I hope to be able to adapt that, based on the one above once it's converted. :-) I don't fully understand why you prefer this over the current implementation. Could you please elaborate on this? Happily! I just mean: the current example (http://tinyurl.com/y9en7f7k) is very complicated (which is great! it shows off the power of WDQS, and provides a complex example for experienced people to adapt). But for me, as a (representative) newbie to WDQS and databases in general, I'd like to also have a very simple example, that I could adapt more easily, for the simple queries I often want to make. It's also just a good/useful habit, to use the specific example given in a feature-request, as a demonstration link - either in the documentation, or at least in the closing comment of the phabricator task - e.g. "Your request has been implemented! The example you gave in the description, can now be done on WDQS as ." :-) But in general, it's usually appreciated to have one simple example, and one complex example, for a powerful tool like this.TASK DETAILhttps://phabricator.wikimedia.org/T152676EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Jonas, QuiddityCc: Quiddity, gerritbot, nichtich, Upeksha1996, TerraCodes, Jonas, Micru, Aklapper, GoranSMilovanovic, Adik2382, Soteriaspace, harikiran, Th3d3v1ls, SacredWKnight, JakeTheDeveloper, Ramalepe, Liugev6, QZanden, EBjune, merbst, Avner, Lewizho99, Puik, Maathavan, debt, Gehel, Abbe98, D3r1ck01, Envlh, FloNight, Xmlizer, MuhammadShuaib, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, jayvdb, TheDJ, Mbch331, Jay8g___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization
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. Also, this new feature needs to be documented at https://www.mediawiki.org/wiki/Wikidata_query_service/User_Manual#Default_views It is documented here: https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help/Result_Views 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 http://tools.wmflabs.org/wikidata-todo/tree.html?q=Q1785783=361=en=list=4 (I have this similar example bookmarked https://tools.wmflabs.org/wikidata-todo/tree.html?rp=279=list=8261 and I hope to be able to adapt that, based on the one above once it's converted. :-) I don't fully understand why you prefer this over the current implementation. Could you please elaborate on this?TASK DETAILhttps://phabricator.wikimedia.org/T152676EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JonasCc: Quiddity, gerritbot, nichtich, Upeksha1996, TerraCodes, Jonas, Micru, Aklapper, GoranSMilovanovic, Adik2382, Soteriaspace, harikiran, Th3d3v1ls, SacredWKnight, JakeTheDeveloper, Ramalepe, Liugev6, QZanden, EBjune, merbst, Avner, Lewizho99, Puik, Maathavan, debt, Gehel, Abbe98, D3r1ck01, Envlh, FloNight, Xmlizer, MuhammadShuaib, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, jayvdb, TheDJ, Mbch331, Jay8g___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization
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 https://www.mediawiki.org/wiki/Wikidata_query_service/User_Manual#Default_views 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 http://tools.wmflabs.org/wikidata-todo/tree.html?q=Q1785783=361=en=list=4 (I have this similar example bookmarked https://tools.wmflabs.org/wikidata-todo/tree.html?rp=279=list=8261 and I hope to be able to adapt that, based on the one above once it's converted. :-) Thanks!TASK DETAILhttps://phabricator.wikimedia.org/T152676EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Jonas, QuiddityCc: Quiddity, gerritbot, nichtich, Upeksha1996, TerraCodes, Jonas, Micru, Aklapper, GoranSMilovanovic, Adik2382, Soteriaspace, harikiran, Th3d3v1ls, SacredWKnight, JakeTheDeveloper, Ramalepe, Liugev6, QZanden, EBjune, merbst, Avner, Lewizho99, Puik, Maathavan, debt, Gehel, Abbe98, D3r1ck01, Envlh, FloNight, Xmlizer, MuhammadShuaib, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, jayvdb, TheDJ, Mbch331, Jay8g___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization
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 PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Jonas, gerritbotCc: gerritbot, nichtich, Upeksha1996, TerraCodes, Jonas, Micru, Aklapper, GoranSMilovanovic, Adik2382, Soteriaspace, harikiran, Th3d3v1ls, SacredWKnight, JakeTheDeveloper, Ramalepe, Liugev6, QZanden, EBjune, merbst, Avner, Lewizho99, Puik, Maathavan, debt, Gehel, Abbe98, D3r1ck01, Envlh, FloNight, Xmlizer, MuhammadShuaib, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Deskana, Manybubbles, jayvdb, TheDJ, Mbch331, Jay8g___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization
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: http://tools.wmflabs.org/wikidata-todo/tree.html?q=Q1785783=361=en=list=4 And the upper tree is very interesting but I cannot run it with this tool, so I am looking forward to your development!TASK DETAILhttps://phabricator.wikimedia.org/T152676EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Jonas, MicruCc: gerritbot, nichtich, Upeksha1996, TerraCodes, Jonas, Micru, Aklapper, GoranSMilovanovic, Adik2382, Soteriaspace, harikiran, Th3d3v1ls, SacredWKnight, JakeTheDeveloper, Ramalepe, Liugev6, QZanden, EBjune, merbst, Avner, Lewizho99, Puik, Maathavan, debt, Gehel, Abbe98, D3r1ck01, Envlh, FloNight, Xmlizer, MuhammadShuaib, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Deskana, Manybubbles, jayvdb, TheDJ, Mbch331, Jay8g___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization
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 PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Upeksha1996, gerritbotCc: gerritbot, nichtich, Upeksha1996, TerraCodes, Jonas, Micru, Aklapper, GoranSMilovanovic, Soteriaspace, harikiran, SacredWKnight, JakeTheDeveloper, QZanden, EBjune, merbst, Avner, Puik, debt, Gehel, Abbe98, D3r1ck01, Envlh, FloNight, Xmlizer, MuhammadShuaib, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Deskana, Manybubbles, jayvdb, TheDJ, Mbch331, Jay8g, fgiunchedi___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T152676: Simple tree query visualization
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 visualization could also show arbitrary additional information so it would be like the table visualization but with a special first row with the hierarchy. One must also make sure to handle multihierarchies.TASK DETAILhttps://phabricator.wikimedia.org/T152676EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Upeksha1996, nichtichCc: nichtich, Upeksha1996, TerraCodes, Jonas, Micru, Aklapper, GoranSMilovanovic, Soteriaspace, harikiran, SacredWKnight, JakeTheDeveloper, QZanden, EBjune, merbst, Avner, Puik, debt, Gehel, Abbe98, D3r1ck01, Envlh, FloNight, Xmlizer, MuhammadShuaib, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Deskana, Manybubbles, jayvdb, TheDJ, Mbch331, Jay8g, fgiunchedi___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs