Question: How is screenwriter Tom Hardy linked to English people?
Choices:
architect
is a list of
ethnic group
honorific prefix
religious order
interests
sport
languages spoken, written or signed
partner
librettist
Program:
function: Find
inputs: screenwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Tom Hardy
function: And
dependencies: 1
2
function: Find
inputs: English people
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tom Hardy" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "screenwriter" . ?e_2 <pred:name> "English people" . ?e_1 ?p ?e_2 .  }
Answer: ethnic group