Question: How is Andy Williams (speaks English) related to United Kingdom?
Choices:
student of
feast day
country of citizenship
seed team
uses
quotes work
discoverer or inventor
foundational text
has contributing factor
present in work
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: Andy Williams
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Andy Williams" . ?e_1 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship