Question: What democracy is associated with Romand demonym and falls into the period of Julia (who died in 54 B.C.) ?
Choices:
France
Roman Republic
Tunisia
Zimbabwe
Colombia
Namibia
Bolivia
Sierra Leone
Germany
Italy
Answer: Roman Republic
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" . ?e <demonym> ?pv . ?pv <pred:value> "Romans" . ?e_1 <time_period> ?e . ?e_1 <pred:name> "Julia" . ?e_1 <date_of_death> ?pv_1 . ?pv_1 <pred:year> -54 .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
Romans
function: FilterConcept
dependencies: 1
inputs: democracy
function: Find
inputs: Julia
function: FilterYear
dependencies: 3
inputs: date of death
-54
=
function: Relate
dependencies: 4
inputs: time period
forward
function: FilterConcept
dependencies: 5
inputs: democracy
function: And
dependencies: 2
6
function: What
dependencies: 7