Question: What Philippine province, whose land area is less than 9500000 square kilometers, has RP50 for its FIPS 10-4 (countries and regions)?
Choices:
USA for Africa
Cebu
Arthur Conan Doyle
Ashok Kumar
Napalm Records
Moby
Pangasinan
Isaac Hayes
Pampanga
Woodrow Wilson
Answer: Pampanga
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of the Philippines" . ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v < "9500000"^^xsd:double ) . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> "RP50" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
9500000 square kilometre
<
function: FilterConcept
dependencies: 1
inputs: province of the Philippines
function: FindAll
function: FilterStr
dependencies: 3
inputs: FIPS 10-4 (countries and regions)
RP50
function: FilterConcept
dependencies: 4
inputs: province of the Philippines
function: And
dependencies: 2
5
function: What
dependencies: 6