Question: How many Japanese prefectures border Chiba Prefecture?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "prefecture of Japan" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Chiba Prefecture" .   }
Program:
function: Find
inputs: Chiba Prefecture
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: prefecture of Japan
function: Count
dependencies: 2
Answer: 2