from neo4j import GraphDatabase import json import wikipediaapi import random from tqdm import tqdm from collections import deque import numpy as np