Question: Where was a movie, based on Starship Troopers (with 504 pages), published on 29th January 1998 ?
Choices:
United Kingdom
El Capitan Theatre
Johannesburg
Uruguay
Grauman's Chinese Theatre
Germany
Panama
North America
Charlotte Motor Speedway
Pakistan
Answer: Germany
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "Starship Troopers" . ?e_1 <number_of_pages> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "504"^^xsd:double . ?e <publication_date> ?pv . ?pv <pred:date> "1998-01-29"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: Starship Troopers
function: FilterNum
dependencies: 0
inputs: number of pages
504
=
function: Relate
dependencies: 1
inputs: based on
backward
function: FilterConcept
dependencies: 2
inputs: film
function: QueryAttrQualifier
dependencies: 3
inputs: publication date
1998-01-29
place of publication