Question: How is Mandatory Palestine related to Jerusalem, headquarters of Hebrew University of Jerusalem?
Choices: capital
military casualty classification
voice actor
director of photography
connects with
does not have part
official language
medical condition
office held by head of the organisation
territory claimed by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mandatory Palestine" . ?e_2 <pred:name> "Jerusalem" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> "Hebrew University of Jerusalem" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Mandatory Palestine
function: Find
inputs: Hebrew University of Jerusalem
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: Jerusalem
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: capital