Question: What United States city has an area of less than 38000 square kilometres and is the birthplace of Kevin O'Connell (the one whose position is quarterback)?
Choices:
Mobile
Oakland
Knoxville
Franklin
Waukegan
Monterey
San Diego
Columbus
Casper
Baltimore
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
38000 square kilometre
<
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Find
inputs: quarterback
function: Relate
dependencies: 3
inputs: position played on team / speciality
backward
function: Find
inputs: Kevin O'Connell
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: place of birth
forward
function: FilterConcept
dependencies: 7
inputs: city of the United States
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v < "38000"^^xsd:double ) . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Kevin O'Connell" . ?e_1 <position_played_on_team_/_speciality> ?e_2 . ?e_2 <pred:name> "quarterback" .  }
Answer: Knoxville