Question: What is the connection between Jim Sheridan (the one that is an ethnic group of scottish people are annoying) to English?
Choices:
languages spoken, written or signed
distributor
nominated for
architect
game mode
statistical leader
studies
used by
sex or gender
chief executive officer
Program:
function: Find
inputs: scottish people are annoying
function: Relate
dependencies: 0
inputs: ethnic group
backward
function: Find
inputs: Jim Sheridan
function: And
dependencies: 1
2
function: Find
inputs: English
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jim Sheridan" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> "scottish people are annoying" . ?e_2 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Answer: languages spoken, written or signed