Question: What ethnic group includes Sarah Palin and has the demonym of немка?
Choices:
Austrians
Dutch people
Irish migration to Great Britain
American Jews
French American
Italians
English people
Indian American
Swedes
Germans
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
немка
function: FilterConcept
dependencies: 1
inputs: ethnic group
function: Find
inputs: Sarah Palin
function: Relate
dependencies: 3
inputs: ethnic group
forward
function: FilterConcept
dependencies: 4
inputs: ethnic group
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ethnic group" . ?e <demonym> ?pv . ?pv <pred:value> "немка" . ?e_1 <ethnic_group> ?e . ?e_1 <pred:name> "Sarah Palin" .  }
Answer: Germans