title: How to parse WIkidata JSON (.bz2) file using Python?
body: <p>I want to look at entities and relationships using Wikidata. I downloaded the Wikidata JSON dump (<a href="https://dumps.wikimedia.org/wikidatawiki/entities/" rel="nofollow noreferrer">from here</a> .bz2 file, size ~ 18 GB).</p>
  
  <p>However, I cannot open the file, it's just too big for my computer. </p>
  
  <p>Is there a way to look into the file without extracting the full .bz2
      file. Especially using <strong>Python</strong>, I know that there is a PHP dump
      reader (<a href="https://www.entropywins.wtf/blog/2015/11/08/wikidata-wikibase-json-dump-reader/" rel="nofollow noreferrer">here</a> ), but I can't use it.</p>