Question: How many musicals were authored by Terry O'Quinn?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Terry O'Quinn
function: Relate
dependencies: 0
inputs: author
backward
function: FilterConcept
dependencies: 1
inputs: musical
function: Find
inputs: musical
function: Relate
dependencies: 3
inputs: genre
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 <author> ?e_1 . ?e_1 <pred:name> "Terry O'Quinn" .  } UNION { ?e <genre> ?e_1 . ?e_1 <pred:name> "musical" .  } }
Answer: 3