3

I want to add to Wikidata this claim:

Embassy of Switerland, London - is operated by - Switzerland

... using my Linux command-line.
Launching a web request via curl is OK too.

How to do?

I have seen Wikidata-CLI and Wikidata-sdk, unfortunately they only seem to support read-only operations. None of the external tools listed at Wikidata seem to apply either.

1 Answer 1

4

You can use wikidata-agent for that:

curl -XPOST http://your.wikidata.agent.instance/claim -d 'entity=Q5369879&property=P137&value=Q39'

[Update]: you can now actually add claims using wikidata-cli

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.