Question: How many governors have a length of office term equal to 4 years and country of Andorra?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: term length of office
4 year
=
function: FilterConcept
dependencies: 1
inputs: governor
function: Find
inputs: Andorra
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: governor
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> "governor" . ?e <term_length_of_office> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> "4"^^xsd:double . ?e <country> ?e_1 . ?e_1 <pred:name> "Andorra" .  }
Answer: 0