Question: Among the states of the United States whose official color is blue (the one that is the official color of Genoa Cricket and Football Club),which one has the smallest elevation (above sea level) ?
Choices:
California
Iowa
Colorado
Illinois
New Mexico
North Carolina
Florida
Nevada
New Jersey
Massachusetts
Program:
function: Find
inputs: Genoa Cricket and Football Club
function: Relate
dependencies: 0
inputs: official color
forward
function: Find
inputs: blue
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: official color
backward
function: FilterConcept
dependencies: 4
inputs: state of the United States
function: SelectAmong
dependencies: 5
inputs: elevation above sea level
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e <official_color> ?e_1 . ?e_1 <pred:name> "blue" . ?e_2 <official_color> ?e_1 . ?e_2 <pred:name> "Genoa Cricket and Football Club" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: North Carolina