Question: What activity was published on 2003-11-07 and before 2018?
Choices: American Idol
The Mummy: Tomb of the Dragon Emperor
Game of Thrones
Batman
Iron Man
music video game
Battleship
Rock of Ages
The Incredibles
The Lord of the Rings: The Fellowship of the Ring
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" . ?e <publication_date> ?pv . ?pv <pred:date> "2003-11-07"^^xsd:date . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 2018 ) .  }
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: publication date
2003-11-07
=
function: FilterConcept
dependencies: 1
inputs: activity
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
2018
<
function: FilterConcept
dependencies: 4
inputs: activity
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: American Idol