AngryLoki / wikidata-graph-builder

Visualize Wikidata items using d3.js
https://angryloki.github.io/wikidata-graph-builder/
MIT License
187 stars 24 forks source link

Traverse subproperties #10

Open vostrnad opened 6 months ago

vostrnad commented 6 months ago

It would be nice to traverse not only the given property but also its subproperties.

For example, if I want to know the dependencies of a software, traversing depends on software (P1547) will miss dependencies tagged using a more specific subproperty, e.g. GUI toolkit or framework (P1414). Going one level above, traversing uses (P2283) will miss both P1547 and P1414.

This could be controlled by a checkbox labeled e.g. "Traverse subproperties", as the current behavior might sometimes be desired.