Question: Which TV show was published on 2016-01-03 (the place of publication of this statement is United Kingdom)?
Choices:
Dexter
Bleak House
War and Peace
Saturday Night's Main Event
Game of Thrones
American Horror Story
Dancing with the Stars
Robot Chicken
Six Feet Under
Seinfeld
Answer: War and Peace
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <publication_date> ?pv . ?pv <pred:date> "2016-01-03"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "United Kingdom" .  }
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: publication date
2016-01-03
=
function: QFilterStr
dependencies: 1
inputs: place of publication
United Kingdom
function: FilterConcept
dependencies: 2
inputs: television series
function: What
dependencies: 3