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

aude aude.wiki at gmail.com
Mon Oct 19 21:40:46 UTC 2015


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
>
>


-- 
@wikimediadc / @wikidata
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.wikimedia.org/pipermail/labs-l/attachments/20151019/7598415d/attachment.html>


More information about the Labs-l mailing list