Question: The demonym Romain applies to which part of Rome, with the Byzantine Empire as its country?
Choices:
Claiborne County
Exclusive economic zone of Australia
Putnam County
Indramayu
Robertson County
male
Administration and Service Personnel
Hamblen County
inner city
Henderson County
Program:
function: Find
inputs: Byzantine Empire
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Rome
function: And
dependencies: 1
2
function: QueryAttrQualifier
dependencies: 3
inputs: demonym
Romain
applies to part
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Rome" . ?e <country> ?e_1 . ?e_1 <pred:name> "Byzantine Empire" .  ?e <demonym> ?pv . ?pv <pred:value> "Romain" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Answer: male