Question: What language is associated with Hungary that is named after Hungarians?
Choices:
Bokmål
German
Bavarian
Portuguese
ǀXam language
Galician
Greek
Hebrew
Hungarian
Turkish
Program:
function: Find
inputs: Hungary
function: Find
inputs: Hungarians
function: QueryRelationQualifier
dependencies: 0
1
inputs: named after
language of work or name
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Hungary" . ?e_2 <pred:name> "Hungarians" . ?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: Hungarian