Question: What is the connection between Wallachia (whose Dewey Decimal Classification is 2--4982) and Romania (that is located in the Eastern European Time)?
Choices:
ethnic group
domain of saint or deity
cause of death
convicted of
fictional universe described in
contributor(s) to the creative work
country
vehicle normally used
noble title
make-up artist
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Wallachia" . ?e_1 <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--4982" . ?e_2 <pred:name> "Romania" . ?e_2 <located_in_time_zone> ?e_3 . ?e_3 <pred:name> "Eastern European Time" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Wallachia
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--4982
function: Find
inputs: Eastern European Time
function: Relate
dependencies: 2
inputs: located in time zone
backward
function: Find
inputs: Romania
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5