Question: What is the connection between War in North-West Pakistan to War on Terror (the one that has Iraq War as a part)?
Choices:
publisher
owner of
place served by transport hub
public holiday
capital
feast day
subsidiary
award disciplines or subjects
legislative body
part of
Answer: part of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "War in North-West Pakistan" . ?e_2 <pred:name> "War on Terror" . ?e_3 <part_of> ?e_2 . ?e_3 <pred:name> "Iraq War" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: War in North-West Pakistan
function: Find
inputs: Iraq War
function: Relate
dependencies: 1
inputs: part of
forward
function: Find
inputs: War on Terror
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4