Question: What number of episodes does the television series that is different from Flight of the Conchords (the one whose genre is funk) have?
Choices:
10
182
221
7420
220
22
120
61
185
951
Answer: 22
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <different_from> ?e_1 . ?e_1 <pred:name> "Flight of the Conchords" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "funk" .  ?e <number_of_episodes> ?pv .  }
Program:
function: Find
inputs: funk
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Flight of the Conchords
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: different from
backward
function: FilterConcept
dependencies: 4
inputs: television series
function: QueryAttr
dependencies: 5
inputs: number of episodes