Question: Where was a movie, based on The A-Team (the one whose number of episodes is 98) published on 5th August 2010 ?
Choices:
El Capitan Theatre
2004 Cannes Film Festival
Colombia
South Africa
Chicago
Greece
Hungary
Tribeca Film Festival
John F. Kennedy Center for the Performing Arts
2005 Cannes Film Festival
Answer: Hungary
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "The A-Team" . ?e_1 <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "98"^^xsd:double . ?e <publication_date> ?pv . ?pv <pred:date> "2010-08-05"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: The A-Team
function: FilterNum
dependencies: 0
inputs: number of episodes
98
=
function: Relate
dependencies: 1
inputs: based on
backward
function: FilterConcept
dependencies: 2
inputs: film
function: QueryAttrQualifier
dependencies: 3
inputs: publication date
2010-08-05
place of publication