Question: What is the tie-in between The Incredibles whose genre is beat 'em up and The Incredibles whose production company is Walt Disney Pictures?
Choices:
location of final assembly
month of the year
airline alliance
set in period
after a work by
interested in
make-up artist
fictional universe described in
designated as terrorist by
based on
Answer: based on
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Incredibles" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "beat 'em up" . ?e_2 <pred:name> "The Incredibles" . ?e_2 <production_company> ?e_4 . ?e_4 <pred:name> "Walt Disney Pictures" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: beat 'em up
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Incredibles
function: And
dependencies: 1
2
function: Find
inputs: Walt Disney Pictures
function: Relate
dependencies: 4
inputs: production company
backward
function: Find
inputs: The Incredibles
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7