Question: What is the relationship between University College Cork to Ireland (the one that is the member of United Nations)?
Choices: highest judicial authority
owned by
country
enclave within
month of the year
contains administrative territorial entity
ancestral home
candidacy in election
geographic distribution
rector
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "University College Cork" . ?e_2 <pred:name> "Ireland" . ?e_2 <member_of> ?e_3 . ?e_3 <pred:name> "United Nations" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: University College Cork
function: Find
inputs: United Nations
function: Relate
dependencies: 1
inputs: member of
backward
function: Find
inputs: Ireland
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: country