Question: How is the Liverpool located in Merseyside related to Liverpool, birthplace of Paul McCartney?
Choices:
different from
child
cast member
participant of
member of
depicts
ethnic group
film distribute region
found
student of
Answer: different from
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Liverpool" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Merseyside" . ?e_2 <pred:name> "Liverpool" . ?e_4 <place_of_birth> ?e_2 . ?e_4 <pred:name> "Paul McCartney" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Merseyside
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Liverpool
function: And
dependencies: 1
2
function: Find
inputs: Paul McCartney
function: Relate
dependencies: 4
inputs: place of birth
forward
function: Find
inputs: Liverpool
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7