Question: Regina is named after Victoria,what is the language that associated with this creative work?
Choices:
Navajo
Serbian
Romanian
Korean
Modern Greek
Bulgarian
Latin
Lithuanian
German
Latvian
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Regina
function: And
dependencies: 1
2
function: Find
inputs: Edward VII
function: Relate
dependencies: 4
inputs: child
backward
function: Find
inputs: Victoria
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: named after
language of work or name
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Regina" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> "Canada" . ?e_2 <pred:name> "Victoria" . ?e_2 <child> ?e_4 . ?e_4 <pred:name> "Edward VII" . ?e_1 <named_after> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <named_after> ; <pred:fact_t> ?e_2 ] <language_of_work_or_name> ?qpv .  }
Answer: Latin