Question: How is Little Women (the one that has Donal Logue as a cast member) related to New York City ?
Choices:
after a work by
military rank
candidacy in election
destination point
narrative location
legislative body
tributary
permanent resident of
film crew member
student
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Little Women" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Donal Logue" . ?e_2 <pred:name> "New York City" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Donal Logue
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Little Women
function: And
dependencies: 1
2
function: Find
inputs: New York City
function: QueryRelation
dependencies: 3
4