Question: The person distinct from Hugo Award winner for Best Novel, William Gibson, wrote the lyrics to how many musicals?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "musical" . ?e <lyrics_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_3 <different_from> ?e_1 . ?e_3 <pred:name> "William Gibson" . ?e_4 <winner> ?e_3 . ?e_4 <pred:name> "Hugo Award for Best Novel" .   }
Program:
function: Find
inputs: Hugo Award for Best Novel
function: Relate
dependencies: 0
inputs: winner
forward
function: Find
inputs: William Gibson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: different from
forward
function: FilterConcept
dependencies: 4
inputs: human
function: Relate
dependencies: 5
inputs: lyrics by
backward
function: FilterConcept
dependencies: 6
inputs: musical
function: Count
dependencies: 7
Answer: 0