def wikidata_get(identifier):
    """
        https://www.wikidata.org/wiki/Special:EntityData/P248.json
    """
    url = 'https://www.wikidata.org/wiki/Special:EntityData/{}.json'.format(identifier)
    #logging.info(url)
    return json.loads(requests.get(url).content)
def wikidata_get ( identifier ) : url = 'https://www.wikidata.org/wiki/Special:EntityData/{}.json' . format ( identifier ) return json . loads ( requests . get ( url ) . content )
https://www.wikidata.org/wiki/Special:EntityData/P248.json