Question: Natalie Portman was cast as which character on Star Wars Episode II: Attack of the Clones?
Choices:
Eddard Stark
Samuel Adams
Agent Smith
Padmé Amidala
Griffin
Billie Jenkins
Faramir
Janet Weiss
Luca the Octopus
Ferris Bueller
Answer: Padmé Amidala
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Star Wars Episode II: Attack of the Clones" . ?e_2 <pred:name> "Natalie Portman" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Star Wars Episode II: Attack of the Clones
function: Find
inputs: Natalie Portman
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role