Question: How many sovereign states are located in the continent of Asia where Brunei is located?
Choices:
41
42
43
44
45
46
47
48
49
50
Program:
function: Find
inputs: Brunei
function: Relate
dependencies: 0
inputs: continent
forward
function: Find
inputs: Asia
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: continent
backward
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: Count
dependencies: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <continent> ?e_1 . ?e_1 <pred:name> "Asia" . ?e_2 <continent> ?e_1 . ?e_2 <pred:name> "Brunei" .   }
Answer: 48