Question: What is the connection between Cleopatra (the one whose country is United States of America) to United States of America?
Choices:
place of publication
organisation directed from the office or person
sponsor
spouse
capital of
given name
replaced by
appears in the form of
country
professional or sports partner
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Cleopatra
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cleopatra" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Answer: country