Question: What number of musicals were composed by Alan Menken or won the Best Musical Theater Album Grammy?
Choices:
2
3
4
5
6
7
8
9
10
11
Program:
function: Find
inputs: Grammy Award for Best Musical Theater Album
function: Relate
dependencies: 0
inputs: award received
backward
function: FilterConcept
dependencies: 1
inputs: musical
function: Find
inputs: Alan Menken
function: Relate
dependencies: 3
inputs: composer
backward
function: FilterConcept
dependencies: 4
inputs: musical
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "musical" .  { ?e <award_received> ?e_1 . ?e_1 <pred:name> "Grammy Award for Best Musical Theater Album" .  } UNION { ?e <composer> ?e_1 . ?e_1 <pred:name> "Alan Menken" .  } }
Answer: 4