Question: How is the 10th US Congressional session related to John Quincy Adams, who participated in the 10th US Congress?
Choices: tributary
cites
based on
film distribute region
director
from fictional universe
next higher rank
participant
office contested
kit supplier
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "10th United States Congress" . ?e_2 <pred:name> "John Quincy Adams" . ?e_3 <participant> ?e_2 . ?e_3 <pred:name> "10th United States Congress" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: 10th United States Congress
function: Find
inputs: 10th United States Congress
function: Relate
dependencies: 1
inputs: participant
forward
function: Find
inputs: John Quincy Adams
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: participant