Question: What monarch has the position of George III of Great Britain and is the noble title of Elizabeth II?
Choices:
director general
Master
pope
dean
Holy Roman Emperor
Vice President of the United States
crown prince
bishop
duke
chairperson
Program:
function: Find
inputs: George III of Great Britain
function: Relate
dependencies: 0
inputs: position held
forward
function: FilterConcept
dependencies: 1
inputs: monarch
function: Find
inputs: Elizabeth II
function: Relate
dependencies: 3
inputs: noble title
forward
function: FilterConcept
dependencies: 4
inputs: monarch
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "monarch" . ?e_1 <position_held> ?e . ?e_1 <pred:name> "George III of Great Britain" .  ?e_2 <noble_title> ?e . ?e_2 <pred:name> "Elizabeth II" .  }
Answer: duke