Question: What is the connection between Cold Mountain (the one that uses the language English) to American Civil War?
Choices:
uses
talk show guest
symptoms
main subject
partially contains
headquarters location
location of formation
filmography
producer
has contributing factor
Answer: main subject
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cold Mountain" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "American Civil War" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Cold Mountain
function: And
dependencies: 1
2
function: Find
inputs: American Civil War
function: QueryRelation
dependencies: 3
4