Question: What is the role of Sonic the Hedgehog (the one whose sidekick is Miles "Tails" Prower) in Super Smash Bros. Brawl?
Choices:
stage name
noun
player character
territorial collectivity of France with special status
abbreviation
United States Postal Service abbreviation
location identifier part of a library identifier code
guitarist
lower house
winner
Answer: player character
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Super Smash Bros. Brawl" . ?e_2 <pred:name> "Sonic the Hedgehog" . ?e_3 <sidekick_of> ?e_2 . ?e_3 <pred:name> "Miles \"Tails\" Prower" . ?e_1 <characters> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <characters> ; <pred:fact_t> ?e_2 ] <object_has_role> ?qpv .  }
Program:
function: Find
inputs: Super Smash Bros. Brawl
function: Find
inputs: Miles "Tails" Prower
function: Relate
dependencies: 1
inputs: sidekick of
forward
function: Find
inputs: Sonic the Hedgehog
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: characters
object has role