Question: What relation between Melbourne (its official website is http://www.melbourneflorida.org) and Melbourne (It's the birthplace of Scott McDonald)?
Choices:
geographic distribution
natural product of taxon
designed to carry
notable people with this condition
military rank
member of sports team
dialect of
has immediate cause
named after
had as last meal
Answer: named after
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Melbourne" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.melbourneflorida.org" . ?e_2 <pred:name> "Melbourne" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Scott McDonald" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Melbourne
function: FilterStr
dependencies: 0
inputs: official website
http://www.melbourneflorida.org
function: Find
inputs: Scott McDonald
function: Relate
dependencies: 2
inputs: place of birth
forward
function: Find
inputs: Melbourne
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5