Question: What is the relationship between the University of Groningen and Groningen, located in France?
Choices:
cast member
location
main subject
drug used for treatment
architectural style
official religion
languages spoken, written or signed
replaces
religion
basic form of government
Program:
function: Find
inputs: University of Groningen
function: Find
inputs: France
function: Relate
dependencies: 1
inputs: country
backward
function: Find
inputs: Groningen
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "University of Groningen" . ?e_2 <pred:name> "Groningen" . ?e_2 <country> ?e_3 . ?e_3 <pred:name> "France" . ?e_1 ?p ?e_2 .  }
Answer: location