"""
We use following lines because we are running on Google Colab
If you are running notebook on a local computer, you don't need these
"""
from google.colab import drive
drive.mount('/content/gdrive')
import os
os.chdir('/content/gdrive/My Drive/finch/tensorflow2/knowledge_graph_completion/wn18/data')
!pip install wget
import os
import zipfile
import wget
f_path='../data/wn18.zip'
wget.download('https://github.com/ttrouill/complex/raw/master/datasets/wn18.zip',
out = f_path)
z = zipfile.ZipFile(f_path, 'r')
z.extractall(os.path.dirname(f_path))
z = z.close()
os.remove(f_path)
"""
Show the downloaded files
"""
os.chdir('/content/gdrive/My Drive/finch/tensorflow2/knowledge_graph_completion/wn18/data/wn18')
!ls