Question: Among the ceremonial county of England that is the residence of Peter Gabriel (the one that wins MTV Video Music Award for Best Male Video), which one has the largest area ?
Choices:
Derbyshire
Somerset
Wiltshire
Essex
Northumberland
Norfolk
West Midlands
East Riding of Yorkshire
Cumbria
Staffordshire
Program:
function: Find
inputs: MTV Video Music Award for Best Male Video
function: Relate
dependencies: 0
inputs: winner
forward
function: Find
inputs: Peter Gabriel
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: residence
forward
function: FilterConcept
dependencies: 4
inputs: ceremonial county of England
function: SelectAmong
dependencies: 5
inputs: area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Peter Gabriel" . ?e_2 <winner> ?e_1 . ?e_2 <pred:name> "MTV Video Music Award for Best Male Video" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Somerset