Question: How is Irvine (in the United Kingdom) related to the United Kingdom?
Choices:
color
operating area
country
seed team
medical treatment
doctoral student
next higher rank
diaspora
culture
Wikidata property
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Irvine
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Irvine" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Answer: country