Question: What was the role of Leighton Meester in Gossip Girl?
Choices:
Papa Midnite
Nicholas Porter Earp
Phantom Rider
Security Guard
Blair Waldorf
Hades
Nancy Callahan
John Russell, 1st Earl Russell
John Chambers
Johnny Ola
Program:
function: Find
inputs: Gossip Girl
function: Find
inputs: Leighton Meester
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Gossip Girl" . ?e_2 <pred:name> "Leighton Meester" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Answer: Blair Waldorf