Question: What has Watchmen (the one that has Billy Crudup as a cast member) in common with New York City ?
Choices:
director of photography
narrative location
signatory
use
sponsor
officially opened by
airline alliance
father
successful candidate
drug used for treatment
Program:
function: Find
inputs: Billy Crudup
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Watchmen
function: And
dependencies: 1
2
function: Find
inputs: New York City
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Watchmen" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Billy Crudup" . ?e_2 <pred:name> "New York City" . ?e_1 ?p ?e_2 .  }
Answer: narrative location