Thank you. :)
2014-02-26 10:33 GMT+01:00 Tobi Gritschacher < tobias.gritschac...@wikimedia.de>: > Hey, > > you can create claims with wbsetclaim. But you would need to create a > valid GUID [1] yourself. The claim-GUID you send with your request needs to > be <entityId>$<GUID> (e.g. Q2$5627445f-43cb-ed6d-3adb-760e66bd17ee). > > cheers, tobi > > [1] http://en.wikipedia.org/wiki/Globally_unique_identifier > > > On Tue, Feb 25, 2014 at 9:17 PM, JWbot <ght81.wikipe...@gmail.com> wrote: > >> 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 <addshorew...@gmail.com>: >> >> 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 <ght81.wikipe...@gmail.com> wrote: >>> >>>> 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 <addshorew...@gmail.com>: >>>> >>>> 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 Krötzsch < >>>>> mar...@semantic-mediawiki.org> wrote: >>>>> >>>>>> 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 need to >>>>>> write claims through the API). Work on API access has just started. >>>>>> >>>>>> So it will be another two weeks at least until this will be fully >>>>>> functional. Meanwhile, you can also look at the API sandbox [2] and >>>>>> especially at "examples" to see how things are done in principle, and >>>>>> maybe >>>>>> create a first prototype implementation that would help us to figure out >>>>>> how to do some other related things (how to log in, how to get and reuse >>>>>> the edit tokens properly). This could help us to speed up the process. >>>>>> >>>>>> Cheers, >>>>>> >>>>>> Markus >>>>>> >>>>>> [1] https://github.com/Wikidata/Wikidata-Toolkit >>>>>> [2] https://test.wikidata.org/wiki/Special:ApiSandbox >>>>>> >>>>>> >>>>>> >>>>>> On 25/02/14 16:02, JWbot wrote: >>>>>> >>>>>>> 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.wikimedia.org >>>>>>> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech >>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Wikidata-tech mailing list >>>>>> Wikidata-tech@lists.wikimedia.org >>>>>> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Wikidata-tech mailing list >>>>> Wikidata-tech@lists.wikimedia.org >>>>> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Wikidata-tech mailing list >>>> Wikidata-tech@lists.wikimedia.org >>>> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech >>>> >>>> >>> >>> _______________________________________________ >>> Wikidata-tech mailing list >>> Wikidata-tech@lists.wikimedia.org >>> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech >>> >>> >> >> _______________________________________________ >> Wikidata-tech mailing list >> Wikidata-tech@lists.wikimedia.org >> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech >> >> > > > -- > Tobi Gritschacher > Software Developer - Wikidata - http://www.wikidata.org > > Imagine a world, in which every single human being can freely > share in the sum of all knowledge. That's our commitment. > > Wikimedia Deutschland e.V. | Tempelhofer Ufer 23-24 | 10963 Berlin > Phone +49 (0)30 219 158 260 > > http://wikimedia.de <http://www.wikimedia.de/> > > Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V. > Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter > der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für > Körperschaften I Berlin, Steuernummer 27/681/51985. > > _______________________________________________ > Wikidata-tech mailing list > Wikidata-tech@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/wikidata-tech > >
_______________________________________________ Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech