Question: What administrative territorial entity shares a border with Kent County (that is an administrative division of Delaware) and has the official website http://www.sussexcountyde.gov (this statement's language is English)?
Choices:
Kent County
San Juan County
Lee County
Greene County
Delaware County
New Castle County
Orange County
Sussex County
African Union
Cass County
Program:
function: Find
inputs: Delaware
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Kent County
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: shares border with
forward
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity
function: FindAll
function: FilterStr
dependencies: 6
inputs: official website
http://www.sussexcountyde.gov
function: QFilterStr
dependencies: 7
inputs: language of work or name
English
function: FilterConcept
dependencies: 8
inputs: administrative territorial entity
function: And
dependencies: 5
9
function: What
dependencies: 10
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Kent County" . ?e_2 <contains_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Delaware" .  ?e <official_website> ?pv . ?pv <pred:value> "http://www.sussexcountyde.gov" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> "English" .  }
Answer: Sussex County