Question: Which website represents the Monroe County that borders Lucas County?
Choices:
http://www.coca-colacompany.com/
http://www.nba.com/sixers/
http://www.pattyloveless.com
http://www.co.wayne.pa.us
http://www.co.monroe.mi.us
http://www.greenwichct.org/
http://www.schifrin.com
http://www.wokingfc.co.uk/
http://www.polknc.org
http://gov.allconet.org
Program:
function: Find
inputs: Lucas County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Monroe County
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: official website
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Monroe County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Lucas County" .  ?e <official_website> ?pv .  }
Answer: http://www.co.monroe.mi.us