CONSTRUCT would be best, but I am not sure that there's any system to allows you to do that.
What I would do is get the truthy dump in ntriples, and filter out all lines with the respective properties. The Wikidata Toolkit allows you to do that and more.
https://www.mediawiki.org/wiki/Wikidata_Toolkit
On Mon, Apr 27, 2020 at 2:35 AM Ece Toprak ece.topraak@gmail.com wrote:
Hi,
I am currently working on a NER project at school and would like to know if there is a way to generate RDF dumps that only contain "instance of" or "subclass of" relations. I have found these dumps: RDF Exports from Wikidata https://tools.wmflabs.org/wikidata-exports/rdf/exports/20160801/dump_download.html Here, under "simplified and derived dumps" taxonomy and instances dumps are very useful for me but unfortunately very old. It would be great if I could generate up to date dumps.
Thank You, Alkım Ece Toprak Bogazici University _______________________________________________ Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata