Question: The administrative territorial entity bordering Turkey includes how many unitary states?
Choices:
6
7
8
9
10
11
12
13
14
15
Answer: 8
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "unitary state" . ?e_1 <has_part> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "administrative territorial entity" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> "Turkey" .   }
Program:
function: Find
inputs: Turkey
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: Relate
dependencies: 2
inputs: has part
forward
function: FilterConcept
dependencies: 3
inputs: unitary state
function: Count
dependencies: 4