What position does Jon Bjelke-Petersen hold if his position number is 31?
SELECT ?obj WHERE { wd:Q1528405 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1545 ?x filter(contains(?x,'31')) }
joh bjelke-petersen: Q1528405