def get_user_Q_data(q_num, author, year=DEFAULT_YEAR, fetch_num=99):
    "qnumとauthorを指定して問題データをデータベースから取り出す"
    userinfo = get_userinfo(author)
    if userinfo is None:
        root = qdata_key(year)
    else:
        root = userinfo.key
    key = ndb.Key(Question, str(q_num), parent=root)
    return key.get()