Question: What is the relationship between Jefferson and St. Lawrence county?
Choices: political ideology
located in or next to body of water
vehicle normally used
currency
country of origin
official symbol
shares border with
creator
occupant
programming paradigm
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jefferson County" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.co.jefferson.ny.us" . ?e_2 <pred:name> "St. Lawrence County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Jefferson County
function: FilterStr
dependencies: 0
inputs: official website
http://www.co.jefferson.ny.us
function: Find
inputs: St. Lawrence County
function: QueryRelation
dependencies: 1
2
Answer: shares border with