Question: What is the connection between Ricky Martin to San Juan (the one that is the twinned administrative body of Mexico City)?
Choices:
employer
heritage designation
dedicated to
soundtrack album
record label
place of birth
part of the series
draft pick from school
basic form of government
has parts of the class
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ricky Martin" . ?e_2 <pred:name> "San Juan" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Mexico City" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ricky Martin
function: Find
inputs: Mexico City
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: San Juan
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4