Question: How many unitary states have a diplomatic relation with Saudi Arabia?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "unitary state" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> "Saudi Arabia" .   }
Program:
function: Find
inputs: Saudi Arabia
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: FilterConcept
dependencies: 1
inputs: unitary state
function: Count
dependencies: 2
Answer: 7