You can use CONSTRUCT queries for this. In this example [1] you'll get that subgraph for all items that also have a musicBrainz ID property


On Mon, Apr 27, 2020 at 11:36 AM Ece Toprak <> wrote:

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