Question: Which type pf kinship have Julius Caesar (the one that is the origin of the name of July) with Augustus?
Choices:
adopted son
granddaughter
grandfather
husband's brother
cousin
male first cousin
sister-in-law
brother-in-law
father-in-law
half brother
Program:
function: Find
inputs: July
function: Relate
dependencies: 0
inputs: named after
forward
function: Find
inputs: Julius Caesar
function: And
dependencies: 1
2
function: Find
inputs: Augustus
function: QueryRelationQualifier
dependencies: 3
4
inputs: child
type of kinship
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Julius Caesar" . ?e_3 <named_after> ?e_1 . ?e_3 <pred:name> "July" . ?e_2 <pred:name> "Augustus" . ?e_1 <child> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <child> ; <pred:fact_t> ?e_2 ] <type_of_kinship> ?qpv .  }
Answer: adopted son