Question: What county is the University of Wales's headquarters location of Cardiff located in?
Choices:
Aruba
Papal States
Cambodia
United Kingdom
Kingdom of Saxony
Czech Republic
Singapore
Thailand
Hong Kong
Iran
Program:
function: Find
inputs: University of Wales
function: Find
inputs: Cardiff
function: QueryRelationQualifier
dependencies: 0
1
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Wales" . ?e_2 <pred:name> "Cardiff" . ?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 Kingdom