Hi!
I can't figure out how a claim can be created with the wbsetclaim API
module. It would be convenient to have a single implementation for creating
and updating. Please help me.
Regards,
Zoltán L.
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikim
Hi Zoltán,
We also plan to support writing API access in Wikidata Toolkit soon [1].
Wikidata Toolkit already has a Java implementation of all Wikidata data
objects, so one can represent statements and claims. We also will soon
start working on JSON serialization of these objects (which you nee
If your using php take a look at https://github.com/addwiki/wikibase-api
Really simple and easy interaction with the api.
As for wbsetclaim specifically see the following link
https://www.mediawiki.org/wiki/Extension:Wikibase_Repository/API#wbsetclaim
Addshore
On 25 February 2014 17:15, Markus
Thank you for your answers. I already edited Wikidata data with Java
program using the APIs. I just don't know how to create a claim with
wbsetclaim. Does anyone? I think it's not possible or I miss the trick.
Zoltán
2014-02-25 17:38 GMT+01:00 addshorewiki :
> If your using php take a look at h
Using wbcreateclaim might be easier :)
For example:
api.php?action=wbcreateclaim&entity=Q42&property=P9003&snaktype=value&value={"entity-type":"item","numeric-id":1}
On 25 February 2014 21:08, JWbot wrote:
> Thank you for your answers. I already edited Wikidata data with Java
> program using
You can't set rank, qualifiers, references with wbcreateclaim. My question
is if it is possible to create a claim with wbsetclaim?
2014-02-25 21:11 GMT+01:00 addshorewiki :
> Using wbcreateclaim might be easier :)
> For example:
>
> api.php?action=wbcreateclaim&entity=Q42&property=P9003&snaktyp