Question: What U.S. city located in Santa Clara County is the twinned administrative body of Tallinn?
Choices:
Santa Clara
Mountain View
Oakland
Waukegan
Annapolis
Cupertino
Columbus
Los Gatos
New Haven
San Jose
Answer: Los Gatos
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Santa Clara County" .  ?e <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Tallinn" .  }
Program:
function: Find
inputs: Santa Clara County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Find
inputs: Tallinn
function: Relate
dependencies: 3
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: And
dependencies: 2
5
function: What
dependencies: 6