Question: How is Spartacus that has 3 seasons related to historical period drama?
Choices:
location of formation
different from
medical treatment
academic degree
headquarters location
winner
domain of saint or deity
genre
broadcast by
draft pick from school
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Spartacus" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "3"^^xsd:double . ?e_2 <pred:name> "historical period drama" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Spartacus
function: FilterNum
dependencies: 0
inputs: number of seasons
3
=
function: Find
inputs: historical period drama
function: QueryRelation
dependencies: 1
2