Question: What character did Los Angeles native Freddie Prinze play in Scoobie-Doo?
Choices:
Wilbur Wright
John Clark
Fred Jones
Georg Johannes von Trapp
Grouchy Smurf
Headless Horseman
John Carter
Jor-El
Meyer Wolfshiem
Rude
Program:
function: Find
inputs: Scooby-Doo
function: Find
inputs: Los Angeles
function: Relate
dependencies: 1
inputs: place of birth
backward
function: Find
inputs: Freddie Prinze
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Scooby-Doo" . ?e_2 <pred:name> "Freddie Prinze" . ?e_2 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Los Angeles" . ?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: Fred Jones