Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
maxlath
maxlath
@maxlath@piaille.fr  ·  activity timestamp 2 weeks ago

Released wikibase-cli v20.0.0 ✨

It includes a new command – `wb graph-path` – to find the path between a subject and an object via a given property, on the entities relations graph.

Package: https://www.npmjs.com/package/wikibase-cli
Changelog: https://github.com/maxlath/wikibase-cli/blob/main/CHANGELOG.md#2000---2026-02-11

#wikibase #wikidata #sparql #qlever #taxonomy

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)"
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)"
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)"
GitHub

wikibase-cli/CHANGELOG.md at main · maxlath/wikibase-cli

read and edit a Wikibase instance from the command line - maxlath/wikibase-cli
  • Copy link
  • Flag this post
  • Block
Doug Webb
Doug Webb
@douginamug@mastodon.xyz  ·  activity timestamp 2 weeks ago

@maxlath oooh, shiny major release, well done!

  • Copy link
  • Flag this comment
  • Block
maxlath
maxlath
@maxlath@piaille.fr  ·  activity timestamp 2 weeks ago

@douginamug well, the versioning being #semver, the major version number had to be bumped to drop support for NodeJS before v20.12.0 (= breaking change), to use the new native `styleText` util function https://nodejs.org/api/util.html#utilstyletextformat-text-options , not exactly the most epic major version 😅

Fighting my #Hauptversionsnummererhöhungangst 😁

https://piaille.fr/tags/Hauptversionsnummererh%C3%B6hungangst

Util | Node.js v25.6.1 Documentation

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.34 no JS en
Automatic federation enabled
Log in
Instance logo
  • Explore
  • About
  • Members
  • Code of Conduct