Question: How many prefectures of Japan are the twinned administrative body of the death place city of David Carradine?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "prefecture of Japan" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_2 <place_of_death> ?e_1 . ?e_2 <pred:name> "David Carradine" .   }
Program:
function: Find
inputs: David Carradine
function: Relate
dependencies: 0
inputs: place of death
forward
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 3
inputs: prefecture of Japan
function: Count
dependencies: 4
Answer: 2