Question: What is the relationship between Lisbon (the one that is the headquarter location of C.F. Os Belenenses) and Budapest?
Choices:
convicted of
member of
twinned administrative body
family name
lowest point
affiliation
residence
color
given name
domain of saint or deity
Program:
function: Find
inputs: C.F. Os Belenenses
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: Find
inputs: Lisbon
function: And
dependencies: 1
2
function: Find
inputs: Budapest
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Lisbon" . ?e_3 <headquarters_location> ?e_1 . ?e_3 <pred:name> "C.F. Os Belenenses" . ?e_2 <pred:name> "Budapest" . ?e_1 ?p ?e_2 .  }
Answer: twinned administrative body