Question: What is the IAB code of teh type of sport that has sport team Happy Gilmore?
Choices: 1115
534
1463
538
1185
512
642
1202
1407
1401
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "type of sport" . ?e_1 <sport> ?e . ?e_1 <pred:name> "Happy Gilmore" .  ?e <IAB_code> ?pv .  }
Program:
function: Find
inputs: Happy Gilmore
function: Relate
dependencies: 0
inputs: sport
forward
function: FilterConcept
dependencies: 1
inputs: type of sport
function: QueryAttr
dependencies: 2
inputs: IAB code
Answer: 512