Question: The person with Libris-URI rp356zl92fhkdfx is renowned for working on how many musicals?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "musical" . ?e_1 <notable_work> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <Libris-URI> ?pv . ?pv <pred:value> "rp356zl92fhkdfx" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Libris-URI
rp356zl92fhkdfx
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: notable work
forward
function: FilterConcept
dependencies: 3
inputs: musical
function: Count
dependencies: 4