Question: For the United States presidential election, 2008's candidates have Barack Obama, tell me the running mate.
Choices:
2350025
Joe Biden
6
Barack Obama
Julian Byng, 1st Viscount Byng of Vimy
Sarah Palin
anachronism
4296837633
00052957559
2509520
Program:
function: Find
inputs: United States presidential election, 2008
function: Find
inputs: Barack Obama
function: QueryRelationQualifier
dependencies: 0
1
inputs: candidate
running mate
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "United States presidential election, 2008" . ?e_2 <pred:name> "Barack Obama" . ?e_1 <candidate> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <candidate> ; <pred:fact_t> ?e_2 ] <running_mate> ?qpv .  }
Answer: Joe Biden