Question: How are Charles County and Prince William County related?
Choices: shares border with
hair color
child
doctoral advisor
head of government
next lower rank
followed by
worshipped by
next higher rank
medical condition
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Charles County" . ?e_2 <pred:name> "Prince William County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Charles County
function: Find
inputs: Prince William County
function: QueryRelation
dependencies: 0
1
Answer: shares border with