Question: Cast member Rodrigo Santoro plays what character on 300, which is mostly about Ancient Greece?
Choices:
Lloyd Christmas
Xerxes
Carl Carlson
Hikaru Sulu
Libby Smith
Garrison Cootes
Peter Pettigrew
Jessica Rabbit
Sailor Ripley
Gilderoy Lockhart
Program:
function: Find
inputs: Ancient Greece
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: 300
function: And
dependencies: 1
2
function: Find
inputs: Rodrigo Santoro
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "300" . ?e_1 <main_subject> ?e_3 . ?e_3 <pred:name> "Ancient Greece" . ?e_2 <pred:name> "Rodrigo Santoro" . ?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: Xerxes