What is <NAQ elected person ID> of <Alexander Mackenzie> ?
[]
Which is NAQ elected person ID for Alexander Mackenzie?
SELECT DISTINCT ?m WHERE { resource:Alexander_Mackenzie property:NAQ_elected_person_ID ?m }
select distinct ?answer where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q319657> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3055> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer. }
select distinct ?answer where { wd:Q319657 wdt:P3055 ?answer}