Question: What individual is a citizen of the United Kingdom and has the nickname Jim?
Choices:
Chris Brown
Sylvester Stallone
William Henry Harrison
Richard Gere
Jim Brown
David Brown
Max Fleischer
Tom Scott
Robert Young
Douglas Haig, 1st Earl Haig
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterStr
dependencies: 3
inputs: nickname
Jim
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  ?e <nickname> ?pv . ?pv <pred:value> "Jim" .  }
Answer: Jim Brown