Question: What TV series were originally aired on The WB (ssince 1st Jan 2006) and shot in Wilmingston (whose PermID is 5000381633) ?
Choices: Phineas and Ferb
Dancing with the Stars
Robot Chicken
Babylon 5
American Horror Story
Six Feet Under
Bleak House
One Tree Hill
Game of Thrones
Seinfeld
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "The WB" .  [ <pred:fact_h> ?e ; <pred:fact_r> <original_network> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:date> "2006-01-01"^^xsd:date . ?e <filming_location> ?e_2 . ?e_2 <pred:name> "Wilmington" . ?e_2 <PermID> ?pv . ?pv <pred:value> "5000381633" .  }
Program:
function: Find
inputs: The WB
function: Relate
dependencies: 0
inputs: original network
backward
function: QFilterDate
dependencies: 1
inputs: end time
2006-01-01
=
function: FilterConcept
dependencies: 2
inputs: television series
function: Find
inputs: Wilmington
function: FilterStr
dependencies: 4
inputs: PermID
5000381633
function: Relate
dependencies: 5
inputs: filming location
backward
function: FilterConcept
dependencies: 6
inputs: television series
function: And
dependencies: 3
7
function: What
dependencies: 8
Answer: One Tree Hill