Question: What is the relationship between Split (the one that origins from United States of America) and Philadelphia (the one that is the headquarter location of Season of Mist)?
Choices:
narrative location
talk show guest
place of death
used by
owned by
architect
manner of death
symptoms
airline alliance
country of origin
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Split" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "Philadelphia" . ?e_4 <headquarters_location> ?e_2 . ?e_4 <pred:name> "Season of Mist" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Split
function: And
dependencies: 1
2
function: Find
inputs: Season of Mist
function: Relate
dependencies: 4
inputs: headquarters location
forward
function: Find
inputs: Philadelphia
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7