Question: What is the relationship between Lebanon (the one that origins from France) to Lebanon War?
Choices:
works in collection
main subject
is a list of
official symbol
coextensive with
hair color
original network
found
eye color
position held
Answer: main subject
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Lebanon" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "France" . ?e_2 <pred:name> "Lebanon War" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Lebanon
function: And
dependencies: 1
2
function: Find
inputs: Lebanon War
function: QueryRelation
dependencies: 3
4