Question: What does The Count of Monte Cristo (whose duration is 180 minutes) have to do with Alexandre Dumas (whose CANTIC-ID is a10303480)?
Choices:
has immediate cause
series spin-off
child astronomical body
eye color
official symbol
award received
distribution
after a work by
godparent
office held by head of state
Answer: after a work by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Count of Monte Cristo" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "180"^^xsd:double . ?e_2 <pred:name> "Alexandre Dumas" . ?e_2 <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> "a10303480" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Count of Monte Cristo
function: FilterNum
dependencies: 0
inputs: duration
180 minute
=
function: Find
inputs: Alexandre Dumas
function: FilterStr
dependencies: 2
inputs: CANTIC-ID
a10303480
function: QueryRelation
dependencies: 1
3