Question: What is the association of Roger Moore (whose profession is photographer) with the United States of America?
Choices:
this taxon is source of
country of citizenship
approved by
political alignment
religious order
screenwriter
natural product of taxon
location of discovery
domain of saint or deity
located in the administrative territorial entity
Program:
function: Find
inputs: photographer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Roger Moore
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> "Roger Moore" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "photographer" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship