Question: What is the connection between Scotland (the one whose area is 78782 square kilometre) to Fife?
Choices:
archives at
family
owner of
contains administrative territorial entity
office held by head of government
use
subject has role
genre
registered with
creator
Answer: contains administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Scotland" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "78782"^^xsd:double . ?e_2 <pred:name> "Fife" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Scotland
function: FilterNum
dependencies: 0
inputs: area
78782 square kilometre
=
function: Find
inputs: Fife
function: QueryRelation
dependencies: 1
2