Question: What is the relation of Spider-Man (whose runtime is 22 minutes) to action film?
Choices:
cause of death
filmography
time period
territory claimed by
genre
award disciplines or subjects
programming language
programming paradigm
sex or gender
office held by head of state
Program:
function: Find
inputs: Spider-Man
function: FilterNum
dependencies: 0
inputs: duration
22 minute
=
function: Find
inputs: action film
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Spider-Man" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "22"^^xsd:double . ?e_2 <pred:name> "action film" . ?e_1 ?p ?e_2 .  }
Answer: genre