Question: James Franco was cast as which character on Spider-Man, released on 2002-05-05?
Choices:
Eddie Morra
Harry Osborn
Carrie White
Kevin
Jojen Reed
Anna Valerious
Princess Fiona
Chick Hicks
Leticia Ortiz
Doctor David Marrow
Answer: Harry Osborn
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Spider-Man" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2002-05-05"^^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 .  }
Program:
function: Find
inputs: Spider-Man
function: FilterDate
dependencies: 0
inputs: publication date
2002-05-05
=
function: Find
inputs: James Franco
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role