Question: What is the character role of James Franco in Spider-Man (the one whose publication date is 2002-05-17)?
Choices:
Holden McNeil
Joan Holloway
Jorah Mormont
Edna Mode
Mr William Collins
Harry Osborn
Tycho Nestoris
Blair Waldorf
Mr. Fox
White Witch
Program:
function: Find
inputs: Spider-Man
function: FilterDate
dependencies: 0
inputs: publication date
2002-05-17
=
function: Find
inputs: James Franco
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Spider-Man" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2002-05-17"^^xsd:date . ?e_2 <pred:name> "James Franco" . ?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: Harry Osborn