local p = {}

function p.getPropertyValue(frame)
    --[[
    id = frame.args[1] or ""
    property = frame.args[2] or ""
    --]]
    
    local id = "Q48958"
    local property = "P17"
    
    local entity = mw.wikibase.getEntityObject( id )
    local value_id = id
    
    if entity then
        if entity.claims then
            if entity.claims[property] then 
                value_id = entity.claims[property]
            end 
        end
    else
    	mw.log('no entity')
    end

    return value_id
end

return p