Question: What is the relationship between Gordon Brown (whose official website is http://www.gordonjbrown.com) and Glasgow?
Choices:
practiced by
participant of
symptom of
member of
license
distribution
coextensive with
designed by
operator
place of birth
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gordon Brown" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.gordonjbrown.com" . ?e_2 <pred:name> "Glasgow" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Gordon Brown
function: FilterStr
dependencies: 0
inputs: official website
http://www.gordonjbrown.com
function: Find
inputs: Glasgow
function: QueryRelation
dependencies: 1
2