repo: wikidata
action: summary
revision: 
path_from: 
revision_from: :
path_to: 
revision_to: 
git.thebackupbox.net
wikidata
git clone git://git.thebackupbox.net/wikidata
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