Question: What is the relationship between Tony Bennett (the one whose height is 183 centimetre) to Charlotte Hornets?
Choices:
newspaper format
illustrator
parent organization
subject has role
drug used for treatment
writing system
conferred by
inspired by
replaced by
member of sports team
Program:
function: Find
inputs: Tony Bennett
function: FilterNum
dependencies: 0
inputs: height
183 centimetre
=
function: Find
inputs: Charlotte Hornets
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tony Bennett" . ?e_1 <height> ?pv . ?pv <pred:unit> "centimetre" . ?pv <pred:value> "183"^^xsd:double . ?e_2 <pred:name> "Charlotte Hornets" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team