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

Stefan Steinhauser stefan.steinhauser at student.uibk.ac.at
Mon Oct 19 19:27:56 UTC 2015


Hi Maarten,

thank you for your answer!

Yes, I have already seen this. But I need to extract all triples of 
Wikidata and to import them into a local database to test some 
queries/algorithms that contain DELETE and INSERT operations.

If there is a way to get triples with a SQL-Query on the wikidatawiki_p 
database, I would prefer this possibility!

Can you, or another one, help me?

Thanks in advance
Stefan

On 2015-10-19 17:01, Maarten Dammers wrote:
> Hi Stefan,
>
> Op 18-10-2015 om 20:55 schreef Stefan Steinhauser:
>> Hi,
>>
>> for my project, I need to extract Wikidata pages as
>> subject–predicate–object triples (e.g. <Q7251, P569, "23 June 1912">
>> or similar), but I was not able to query this on the wikidatawiki_p
>> database.
>>
>> Is this even possible?
>> Does there exist a documentation of this database or can anyone help
>> me solving this problem?
> Did you find https://query.wikidata.org/ ?
>
> Maarten
>
> _______________________________________________
> 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