Question: What is the connection between the 4th United States Congress to James Madison (the one that works in the location Washington, D.C.)?
Choices:
symptoms
tributary
said to be the same as
notable people with this condition
archives at
designed by
participant
donated by
next higher rank
follows
Answer: participant
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "4th United States Congress" . ?e_2 <pred:name> "James Madison" . ?e_2 <work_location> ?e_3 . ?e_3 <pred:name> "Washington, D.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: 4th United States Congress
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 1
inputs: work location
backward
function: Find
inputs: James Madison
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4