[Labs-l] How can I extract triples from Wikidata?

Stefan Steinhauser stefan.steinhauser at student.uibk.ac.at
Mon Oct 26 14:52:07 UTC 2015


Thank you all for your answers!

I have already thought about using dumps, but I wanted to use the live data.
But now I decided to use the dumps.

Best regards,
Stefan

On 2015-10-19 23:40, aude wrote:
> On Mon, Oct 19, 2015 at 11:27 PM, Jaime Crespo <jcrespo at wikimedia.org>
> wrote:
>
>> On Mon, Oct 19, 2015 at 9:27 PM, Stefan Steinhauser <
>> stefan.steinhauser at student.uibk.ac.at> wrote:
>>
>>> I need to extract all triples of Wikidata and to import them into a
>> local database
>>
>> Just a suggestion, but independently of the format, have you thought using
>> the dumps[0], that are also available locally in labs? You get some nice
>> xmls including some application/json wikibase-items, ready for automatic
>> processing.
>>
>
> There also are json dumps, as well as experimental rdf (ttl) dumps:
>
> http://dumps.wikimedia.org/wikidatawiki/entities/
>
> and rdf exports:
>
> http://tools.wmflabs.org/wikidata-exports/rdf/
>
> Cheers,
> Katie
>
>
>>
>> This will avoid long queries to the replicas and allow them to be used for
>> more real-time, OLTP-like queries.
>>
>> Regards,
>>
>> [0] <http://dumps.wikimedia.org/wikidatawiki/20151002/>
>>
>>
>> _______________________________________________
>> Labs-l mailing list
>> Labs-l at lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/labs-l
>>
>>
>
>
>
>
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/labs-l
>



More information about the Labs-l mailing list