Question: What is the relation between Battlestar Galactica, the duration of which is 45 minutes, and Jane Seymour
Choices:
cast member
opposite of
office held by head of government
basic form of government
drafted by
political ideology
cites
captain
has quality
residence
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Battlestar Galactica" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "45"^^xsd:double . ?e_2 <pred:name> "Jane Seymour" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Battlestar Galactica
function: FilterNum
dependencies: 0
inputs: duration
45 minute
=
function: Find
inputs: Jane Seymour
function: QueryRelation
dependencies: 1
2