Question: What is the connection between Batman (the one whose distributor is 20th Century Fox) to Cesar Romero (the one that is the member of political party Republican Party)?
Choices:
captain
donated by
hair color
family
based on
cast member
professional or sports partner
distributor
sports season of league or competition
located in the administrative territorial entity
Program:
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Batman
function: And
dependencies: 1
2
function: Find
inputs: Republican Party
function: Relate
dependencies: 4
inputs: member of political party
backward
function: Find
inputs: Cesar Romero
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Batman" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "20th Century Fox" . ?e_2 <pred:name> "Cesar Romero" . ?e_2 <member_of_political_party> ?e_4 . ?e_4 <pred:name> "Republican Party" . ?e_1 ?p ?e_2 .  }
Answer: cast member