Question: University of Louisiana at Lafayette's headquarters in Lafayette is part of which country?
Choices:
Greece
Weimar Republic
Socialist Federal Republic of Yugoslavia
Estonia
England
Scotland
Switzerland
Canada
Portugal
United States of America
Program:
function: Find
inputs: University of Louisiana at Lafayette
function: Find
inputs: University of Louisiana at Lafayette
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: Lafayette
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Louisiana at Lafayette" . ?e_2 <pred:name> "Lafayette" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> "University of Louisiana at Lafayette" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Answer: United States of America