Question: Regarding the country where Richard prices is citizen, (the person who was educated at University of Glasgow) and has a demonym of ουαλοί, to which part does it apply?
Choices:
Cimahi
plural
four-handed chess
Monroe County
Guadeloupe
building
Balearic Islands
hotel
pre-credit
Crockett County
Answer: plural
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "country" . ?e_1 <country_of_citizenship> ?e . ?e_1 <pred:name> "Richard Price" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "University of Glasgow" .  ?e <demonym> ?pv . ?pv <pred:value> "ουαλοί" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: University of Glasgow
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Richard Price
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country of citizenship
forward
function: FilterConcept
dependencies: 4
inputs: country
function: QueryAttrQualifier
dependencies: 5
inputs: demonym
ουαλοί
applies to part