Question: What is the connection between Virginia (the one that includes Chesapeake as a part) to Fauquier County?
Choices:
grants
has dialect (DEPRECATED)
works in collection
lyrics by
found
foundational text
programming paradigm
located on terrain feature
contains administrative territorial entity
director of photography
Answer: contains administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Virginia" . ?e_1 <has_part> ?e_3 . ?e_3 <pred:name> "Chesapeake" . ?e_2 <pred:name> "Fauquier County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Chesapeake
function: Relate
dependencies: 0
inputs: has part
backward
function: Find
inputs: Virginia
function: And
dependencies: 1
2
function: Find
inputs: Fauquier County
function: QueryRelation
dependencies: 3
4