Question: How many republics are headed by the position that is the public office of Nikon (whose date of birth is 1960-05-26)?
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> "republic" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "position" . ?e_2 <position_held> ?e_1 . ?e_2 <pred:name> "Nikon" . ?e_2 <date_of_birth> ?pv . ?pv <pred:date> "1960-05-26"^^xsd:date .   }
Program:
function: Find
inputs: Nikon
function: FilterDate
dependencies: 0
inputs: date of birth
1960-05-26
=
function: Relate
dependencies: 1
inputs: position held
forward
function: FilterConcept
dependencies: 2
inputs: position
function: Relate
dependencies: 3
inputs: office held by head of government
backward
function: FilterConcept
dependencies: 4
inputs: republic
function: Count
dependencies: 5
Answer: 0