Question: What is the relationship between Tyrol (the one that includes South Tyrol as a part) and Trentino?
Choices:
has part
basin country
country for sport
named after
distribution
language of work or name
diaspora
partner
honorific prefix
published in
Program:
function: Find
inputs: South Tyrol
function: Relate
dependencies: 0
inputs: has part
backward
function: Find
inputs: Tyrol
function: And
dependencies: 1
2
function: Find
inputs: Trentino
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tyrol" . ?e_1 <has_part> ?e_3 . ?e_3 <pred:name> "South Tyrol" . ?e_2 <pred:name> "Trentino" . ?e_1 ?p ?e_2 .  }
Answer: has part