Question: What television series has a North Carolina narrative location and a number of seasons less than 45?
Choices:
Bleak House
American Horror Story
One Tree Hill
Prison Break
Serpico
Chicago Fire
Taxi
Charmed
CSI: Crime Scene Investigation
Robot Chicken
Program:
function: Find
inputs: North Carolina
function: Relate
dependencies: 0
inputs: narrative location
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of seasons
45
<
function: FilterConcept
dependencies: 4
inputs: television series
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "North Carolina" .  ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "45"^^xsd:double ) .  }
Answer: One Tree Hill