Question: What is he relationship between August that follows July and Augustus?
Choices:
place of birth
diplomatic relation
named after
has effect
works in collection
product or material produced
developer
afflicts
filming location
taxon rank
Answer: named after
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "August" . ?e_3 <followed_by> ?e_1 . ?e_3 <pred:name> "July" . ?e_2 <pred:name> "Augustus" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: July
function: Relate
dependencies: 0
inputs: followed by
forward
function: Find
inputs: August
function: And
dependencies: 1
2
function: Find
inputs: Augustus
function: QueryRelation
dependencies: 3
4