Question: What country does a higher education institution, called University of Liverpool (Twitter username LivUni) and headquartered in Liverpool, belong ?
Choices:
Kazakhstan
Pakistan
Nepal
Holy Roman Empire
Sweden
India
South Korea
Romania
United Kingdom
Weimar Republic
Program:
function: Find
inputs: University of Liverpool
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: Find
inputs: Liverpool
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: higher education institution
function: QueryAttrQualifier
dependencies: 5
inputs: Twitter username
LivUni
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "higher education institution" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Liverpool" . ?e_2 <headquarters_location> ?e_1 . ?e_2 <pred:name> "University of Liverpool" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "LivUni" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <country> ?qpv .  }
Answer: United Kingdom