Question: Which prefecture of Japan founded before 1876 has the largest area?
Choices:
Okinawa Prefecture
Ōsaka Prefecture
Fukuoka Prefecture
Saitama Prefecture
Chiba Prefecture
Fukushima Prefecture
Niigata Prefecture
Kanagawa Prefecture
Nagano Prefecture
Miyagi Prefecture
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1876
<
function: FilterConcept
dependencies: 1
inputs: prefecture of Japan
function: SelectAmong
dependencies: 2
inputs: area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "prefecture of Japan" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1876 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Niigata Prefecture