What is the {position} for {military rank} of {Salman of Saudi Arabia}
What is Saudi Arabia's Salman's military rank?
What is the military rank of the Salman of Saudi Arabia?
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:position . resource:Salman_of_Saudi_Arabia property:military_rank ?h }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q367825> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P410> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q4164871> } 
 select distinct ?obj where { wd:Q367825 wdt:P410 ?obj . ?obj wdt:P31 wd:Q4164871 } 