Question: What is the connection between National Register of Historic Places to Moscow (the one that is the twinned administrative body of Warsaw)?
Choices:
work location
family
significant event
Wikidata property
writing system
place of publication
highest judicial authority
participant
dialect of
eye color
Answer: Wikidata property
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "National Register of Historic Places" . ?e_2 <pred:name> "Moscow" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Warsaw" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: National Register of Historic Places
function: Find
inputs: Warsaw
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Moscow
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4