Question: To which part of the geographic region that includes Cuba (which has diplomatic relations with the United Kingdom) does the demonym "Latino-americano" apply?
Choices:
source code
Español
Balearic Islands
masculine
Vanderburgh County
Bavaria
Golden Valley County
professor
Azores
conductor
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: Find
inputs: Cuba
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: has part
backward
function: FilterConcept
dependencies: 4
inputs: geographic region
function: QueryAttrQualifier
dependencies: 5
inputs: demonym
Latino-americano
applies to part
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" . ?e <has_part> ?e_1 . ?e_1 <pred:name> "Cuba" . ?e_2 <diplomatic_relation> ?e_1 . ?e_2 <pred:name> "United Kingdom" .  ?e <demonym> ?pv . ?pv <pred:value> "Latino-americano" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Answer: masculine