Question: What number of musicals were composed by Andrew Lloyd Webber?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "musical" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Andrew Lloyd Webber" .   }
Program:
function: Find
inputs: Andrew Lloyd Webber
function: Relate
dependencies: 0
inputs: composer
backward
function: FilterConcept
dependencies: 1
inputs: musical
function: Count
dependencies: 2
Answer: 4