Question: How many countries contain a capital named Indore, and city named Fife?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Indore
function: Relate
dependencies: 0
inputs: capital of
forward
function: FilterConcept
dependencies: 1
inputs: country
function: Find
inputs: Fife
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: country
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "country" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Indore" .  ?e_2 <located_in_the_administrative_territorial_entity> ?e . ?e_2 <pred:name> "Fife" .  }
Answer: 0