Question: How many independent cities are known as the hometown of Colin Powell, who is a citizen of the United Kingdom?
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> "independent city" . ?e_1 <location_of_formation> ?e . ?e_1 <pred:name> "Colin Powell" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> "United Kingdom" .   }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Colin Powell
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: location of formation
forward
function: FilterConcept
dependencies: 4
inputs: independent city
function: Count
dependencies: 5
Answer: 0