A screenshot of my terminal, demonstrating the use of the new "wb graph-path" command, part of the wikibase-cli tool:
- Printing the help menu by entering "wb graph-path"
- Running "wd graph-path Q336 P279 Q5891 --sparql-endpoint https://qlever.dev/api/wikidata" returns "science (Q336) → epistemology (Q9471) → theoretical philosophy (Q2166096) → philosophy (Q5891)"
- Running " wd gp Q107635454 P279 Q2509280 -e qlever" returns
"Critical Mass Berlin (Q107635454) → Critical Mass (Q318702) → cycling advocacy (Q5198304) → advocacy (Q2509280)
Critical Mass Berlin (Q107635454) → Critical Mass (Q318702) → direct action (Q506259) → activism (Q203764) → advocacy (Q2509280)
Critical Mass Berlin (Q107635454) → Critical Mass (Q318702) → cycling advocacy (Q5198304) → activism (Q203764) → advocacy (Q2509280)
Critical Mass Berlin (Q107635454) → Critical Mass (Q318702) → direct action (Q506259) → protest (Q273120) → demonstration or protest (Q130260549) → activism (Q203764)"