Question: What city (official website: http://www.co.santa-cruz.ca.us) is the capital of Santa Cruz County (pop. 263309)?
Choices:
Boulder
Compton
Waukegan
New Britain
Lansing
Columbus
Santa Cruz
Oakland
Greenville
Franklin
Program:
function: Find
inputs: Santa Cruz County
function: FilterNum
dependencies: 0
inputs: population
263309
=
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: Find
inputs: Santa Cruz County
function: FilterStr
dependencies: 4
inputs: official website
http://www.co.santa-cruz.ca.us
function: Relate
dependencies: 5
inputs: capital
forward
function: FilterConcept
dependencies: 6
inputs: city of the United States
function: And
dependencies: 3
7
function: What
dependencies: 8
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Santa Cruz County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "263309"^^xsd:double .  ?e_2 <capital> ?e . ?e_2 <pred:name> "Santa Cruz County" . ?e_2 <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.co.santa-cruz.ca.us" .  }
Answer: Santa Cruz