Question: What television series is filmed in Macau (this statement's retrieval is in 2018) and has less than 390 episodes?
Choices:
The Pacific
The Diary of Anne Frank
Edge of Darkness
The Ten Commandments
Emma
George Washington
Around the World in 80 Days
The Stand
Battlestar Galactica
Roots
Answer: Around the World in 80 Days
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Macau" .  [ <pred:fact_h> ?e ; <pred:fact_r> <filming_location> ; <pred:fact_t> ?e_1 ] <retrieved> ?qpv . ?qpv <pred:year> 2018 . ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "390"^^xsd:double ) .  }
Program:
function: Find
inputs: Macau
function: Relate
dependencies: 0
inputs: filming location
backward
function: QFilterYear
dependencies: 1
inputs: retrieved
2018
=
function: FilterConcept
dependencies: 2
inputs: television series
function: FindAll
function: FilterNum
dependencies: 4
inputs: number of episodes
390
<
function: FilterConcept
dependencies: 5
inputs: television series
function: And
dependencies: 3
6
function: What
dependencies: 7