Question: How many musicals are titled Jesus Christ Superstar or have a libretto by Oscar Hammerstein II?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Jesus Christ Superstar
function: FilterConcept
dependencies: 1
inputs: musical
function: Find
inputs: Oscar Hammerstein II
function: Relate
dependencies: 3
inputs: librettist
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 <title> ?pv . ?pv <pred:value> "Jesus Christ Superstar" .  } UNION { ?e <librettist> ?e_1 . ?e_1 <pred:name> "Oscar Hammerstein II" .  } }
Answer: 4