Question: What is the relationship between Chesapeake and Virginia (the one that contains the administrative division Loudoun County)?
Choices:
filming location
penalty
production designer
contains administrative territorial entity
composer
located in the administrative territorial entity
screenwriter
quotes work
organizer
coextensive with
Answer: located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Chesapeake" . ?e_2 <pred:name> "Virginia" . ?e_2 <contains_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Loudoun County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Chesapeake
function: Find
inputs: Loudoun County
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
backward
function: Find
inputs: Virginia
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4