Question: What is the connection between Americana (that has Anthony LaPaglia as a cast member) and Mark Gordon (whose occupation is executive producer)?
Choices:
manufacturer
producer
tributary
risk factor
theme music
part of the series
drafted by
kit supplier
geography of topic
used by
Answer: producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Americana" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Anthony LaPaglia" . ?e_2 <pred:name> "Mark Gordon" . ?e_2 <occupation> ?e_4 . ?e_4 <pred:name> "executive producer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Anthony LaPaglia
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Americana
function: And
dependencies: 1
2
function: Find
inputs: executive producer
function: Relate
dependencies: 4
inputs: occupation
backward
function: Find
inputs: Mark Gordon
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7