Question: How is July related to August which is named after Augustus?
Choices:
followed by
office contested
depicted by
captain
mascot
indigenous to
occupation
voice type
edition or translation of
developer
Answer: followed by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "July" . ?e_2 <pred:name> "August" . ?e_2 <named_after> ?e_3 . ?e_3 <pred:name> "Augustus" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: July
function: Find
inputs: Augustus
function: Relate
dependencies: 1
inputs: named after
backward
function: Find
inputs: August
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4