Question: What are the number of television programs created by Garry Shandling and whose composer is John Carpenter (the one that was born in Washington, D.C.) ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television program" . ?e <creator> ?e_1 . ?e_1 <pred:name> "Garry Shandling" .  ?e <composer> ?e_2 . ?e_2 <pred:name> "John Carpenter" . ?e_2 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Washington, D.C." .  }
Program:
function: Find
inputs: Garry Shandling
function: Relate
dependencies: 0
inputs: creator
backward
function: FilterConcept
dependencies: 1
inputs: television program
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 3
inputs: place of birth
backward
function: Find
inputs: John Carpenter
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: composer
backward
function: FilterConcept
dependencies: 7
inputs: television program
function: And
dependencies: 2
8
function: Count
dependencies: 9