Question: How is Jerusalem (the capital of Mandatory Palestine) related to Arabic ?
Choices:
language used
source of material
after a work by
position played on team / speciality
family name
destination point
stated in
original film format
has effect
signatory
Program:
function: Find
inputs: Mandatory Palestine
function: Relate
dependencies: 0
inputs: capital
forward
function: Find
inputs: Jerusalem
function: And
dependencies: 1
2
function: Find
inputs: Arabic
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jerusalem" . ?e_3 <capital> ?e_1 . ?e_3 <pred:name> "Mandatory Palestine" . ?e_2 <pred:name> "Arabic" . ?e_1 ?p ?e_2 .  }
Answer: language used