Question: What is the connection between Gloucester (the one whose official website is http://www.gloucester-ma.gov/) to United States of America?
Choices:
symptoms
country
Wikidata property
works in collection
coextensive with
mouth of the watercourse
film regional debut venue
worshipped by
depicted by
participant of
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gloucester" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.gloucester-ma.gov/" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Gloucester
function: FilterStr
dependencies: 0
inputs: official website
http://www.gloucester-ma.gov/
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 1
2