Question: What is the quantity of fictional characters serving as the origin of the area named after Tarzan, the U.K. citizen?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "fictional human" . ?e_1 <named_after> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "neighborhood" . ?e_1 <named_after> ?e_2 . ?e_2 <pred:name> "Tarzan" . ?e_2 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "United Kingdom" .   }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Tarzan
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: neighborhood
function: Relate
dependencies: 5
inputs: named after
forward
function: FilterConcept
dependencies: 6
inputs: fictional human
function: Count
dependencies: 7