Question: How many prefectures of Japan are the twinned administrative body of California (that is the narrative location of It's a Mad, Mad, Mad, Mad World)?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "prefecture of Japan" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "California" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> "It's a Mad, Mad, Mad, Mad World" .   }
Program:
function: Find
inputs: It's a Mad, Mad, Mad, Mad World
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: California
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 4
inputs: prefecture of Japan
function: Count
dependencies: 5
Answer: 1