Question: What person has the ISNI 0000 0001 2127 2687 and Saint Petersburg as the work location?
Choices:
Vladimir Lenin
William Henry Harrison
Leon Trotsky
Leonhard Euler
Sylvester Stallone
David Byrne
Joseph Stalin
Richard Gere
Max Fleischer
Nicholas II of Russia
Answer: Nicholas II of Russia
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <ISNI> ?pv . ?pv <pred:value> "0000 0001 2127 2687" . ?e <work_location> ?e_1 . ?e_1 <pred:name> "Saint Petersburg" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 2127 2687
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Saint Petersburg
function: Relate
dependencies: 3
inputs: work location
backward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6