Question: I would like to know the visual artwork that has a narrative location that is the capital that is Rajasthan's capital (which has a female population of 32997440)
Choices:
The Fugitive
The Lives of Others
Pleasantville
The Messenger: The Story of Joan of Arc
Talk to Her
A Prairie Home Companion
Rebecca
The Queen
The Best Exotic Marigold Hotel
The League of Extraordinary Gentlemen
Answer: The Best Exotic Marigold Hotel
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <narrative_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "capital" . ?e_1 <capital_of> ?e_2 . ?e_2 <pred:name> "Rajasthan" . ?e_2 <female_population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "32997440"^^xsd:double .   }
Program:
function: Find
inputs: Rajasthan
function: FilterNum
dependencies: 0
inputs: female population
32997440
=
function: Relate
dependencies: 1
inputs: capital of
backward
function: FilterConcept
dependencies: 2
inputs: capital
function: Relate
dependencies: 3
inputs: narrative location
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: What
dependencies: 5