Question: Which Japanese prefecture consists of more than 15 percent of water area and is the twinned administrative body of Shanghai  (the one that is the twinned administrative body of Yokohama) since 21st November 1980 ?
Choices:
Nagano Prefecture
Miyagi Prefecture
Saitama Prefecture
Niigata Prefecture
Fukushima Prefecture
Okinawa Prefecture
Ōsaka Prefecture
Aichi Prefecture
Chiba Prefecture
Fukuoka Prefecture
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: water as percent of area
15 percentage
>
function: FilterConcept
dependencies: 1
inputs: prefecture of Japan
function: Find
inputs: Yokohama
function: Relate
dependencies: 3
inputs: twinned administrative body
backward
function: Find
inputs: Shanghai
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: twinned administrative body
forward
function: QFilterDate
dependencies: 7
inputs: start time
1980-11-21
=
function: FilterConcept
dependencies: 8
inputs: prefecture of Japan
function: And
dependencies: 2
9
function: What
dependencies: 10
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "prefecture of Japan" . ?e <water_as_percent_of_area> ?pv . ?pv <pred:unit> "percentage" . ?pv <pred:value> ?v . FILTER ( ?v > "15"^^xsd:double ) . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Shanghai" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Yokohama" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:date> "1980-11-21"^^xsd:date .  }
Answer: Ōsaka Prefecture