Question: How is John Cusack, born 1868-08-08, related to Australia, which has diplomatic ties to the USA?
Choices:
enclave within
position played on team / speciality
country of citizenship
approved by
author
located in or next to body of water
works in collection
foundational text
mascot
public holiday
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Cusack" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1868-08-08"^^xsd:date . ?e_2 <pred:name> "Australia" . ?e_2 <diplomatic_relation> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Cusack
function: FilterDate
dependencies: 0
inputs: date of birth
1868-08-08
=
function: Find
inputs: United States of America
function: Relate
dependencies: 2
inputs: diplomatic relation
backward
function: Find
inputs: Australia
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5