Question: The demonym veneta applies to which part of the Italian region bordering the Tyrol that borders South Tyrol?
Choices:
Pickett County
head
full-time
Unicoi County
Eastern Province
Northeastern Ontario
extended version
feminine singular
Magdalen Islands
mayor
Program:
function: Find
inputs: South Tyrol
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Tyrol
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: shares border with
forward
function: FilterConcept
dependencies: 4
inputs: region of Italy
function: QueryAttrQualifier
dependencies: 5
inputs: demonym
veneta
applies to part
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "region of Italy" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Tyrol" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> "South Tyrol" .  ?e <demonym> ?pv . ?pv <pred:value> "veneta" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Answer: feminine singular