Question: How is George Hamilton who is 178 centimetres tall related to Scotland whose Dewey Decimal Classification is 2--411?
Choices:
sidekick of
registered with
illustrator
ethnic group
art director
cause of death
opposite of
location of formation
country for sport
has cause
Answer: country for sport
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "George Hamilton" . ?e_1 <height> ?pv . ?pv <pred:unit> "centimetre" . ?pv <pred:value> "178"^^xsd:double . ?e_2 <pred:name> "Scotland" . ?e_2 <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> "2--411" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: George Hamilton
function: FilterNum
dependencies: 0
inputs: height
178 centimetre
=
function: Find
inputs: Scotland
function: FilterStr
dependencies: 2
inputs: Dewey Decimal Classification
2--411
function: QueryRelation
dependencies: 1
3