Question: What is the relationship between David Copperfield (that is a citizen of the United States of America) and Jewish people?
Choices:
country for sport
statistical leader
doctoral student
operating system
replaced by
ethnic group
award received
mascot
continent
exported to
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: David Copperfield
function: And
dependencies: 1
2
function: Find
inputs: Jewish people
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "David Copperfield" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "Jewish people" . ?e_1 ?p ?e_2 .  }
Answer: ethnic group