-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: wikidata
action: summary
revision:
path_from:
revision_from: :
path_to:
revision_to:

git.thebackupbox.net

wikidata

git://git.thebackupbox.net/wikidata

Display summary about given repository. This is the default command if no action is specified in URL, and only repository is specified.

branches

[trunk/]

[tree] copyright information added


 how to use:

 search-entities.sh "Bob Dole"

 you'll get a list of entities that roughly match the query "Bob Dole"
 copy the Qnumber in the first column of the one you want.

 then, if you know what info you're looking for..

 search-properties.sh "Height"

 and grab the Pnumber from the first column that matches what you want
 about the entitiy you searched for earlier.

 finally.

 get-property.sh Qnumber Pnumber

 and hopefully it'll output the data you want.
 if not, you'll have to dig a little harder.

 you can dig into the json response fairly easily by doing something like:
 get-entity.sh Qnumber | jq '. | keys'

 then picking which key you want. probably "claims"
 get-entity.sh Qnumber | jq '.claims | keys'

 then . your way in to the keys you want, and remove the '| keys' part
 when you want to see everything inside the json block you've navigated to

-- Response ended

-- Page fetched on Wed May 8 00:06:36 2024