Question: What person is a citizen of the Kingdom of Italy (that succeeds the Kingdom of Sardinia) and has BMLO r1588?
Choices:
Rahul Dev Burman
Simon Cowell
Max Fleischer
Giuseppe Verdi
James E. Reilly
David Byrne
Gioachino Rossini
William Henry Harrison
Richard Gere
Benito Mussolini
Program:
function: Find
inputs: Kingdom of Sardinia
function: Relate
dependencies: 0
inputs: follows
backward
function: Find
inputs: Kingdom of Italy
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country of citizenship
backward
function: FilterConcept
dependencies: 4
inputs: human
function: FindAll
function: FilterStr
dependencies: 6
inputs: BMLO
r1588
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "Kingdom of Italy" . ?e_1 <follows> ?e_2 . ?e_2 <pred:name> "Kingdom of Sardinia" .  ?e <BMLO> ?pv . ?pv <pred:value> "r1588" .  }
Answer: Gioachino Rossini