Question: What is the relationship between Batman (the one whose duration is 105 minute) and Cesar Romero (the one that is an ethnic group of Italian American)?
Choices:
office held by head of the organisation
practiced by
official residence
head coach
art director
inspired by
lowest point
home port
cast member
present in work
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Batman" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "105"^^xsd:double . ?e_2 <pred:name> "Cesar Romero" . ?e_2 <ethnic_group> ?e_3 . ?e_3 <pred:name> "Italian American" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Batman
function: FilterNum
dependencies: 0
inputs: duration
105 minute
=
function: Find
inputs: Italian American
function: Relate
dependencies: 2
inputs: ethnic group
backward
function: Find
inputs: Cesar Romero
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5