import requests


def get_wikidata_item(qid):
    """Return Wikidata item data for QID."""
    # https://www.wikidata.org/wiki/Special:EntityData/QID.json
    item = requests.get("https://wikidata.org/entity/" + qid)
    return item.json()['entities'][qid]