Question: How many first-level administrative country subdivisions are a part of Australia which borders Eurasia?
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> "first-level administrative country subdivision" . ?e <part_of> ?e_1 . ?e_1 <pred:name> "Australia" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> "Eurasia" .   }
Program:
function: Find
inputs: Eurasia
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Australia
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: part of
backward
function: FilterConcept
dependencies: 4
inputs: first-level administrative country subdivision
function: Count
dependencies: 5
Answer: 1