Question: How many plays are either depicted by Kal Ho Naa Ho or are titled A Streetcar Named Desire?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Kal Ho Naa Ho
function: Relate
dependencies: 0
inputs: depicted by
backward
function: FilterConcept
dependencies: 1
inputs: play
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
A Streetcar Named Desire
function: FilterConcept
dependencies: 4
inputs: play
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> "play" .  { ?e <depicted_by> ?e_1 . ?e_1 <pred:name> "Kal Ho Naa Ho" .  } UNION { ?e <title> ?pv . ?pv <pred:value> "A Streetcar Named Desire" .  } }
Answer: 1