Question: Which person was born in the city located in Rhineland-Palatinate (the administrative location of this statement is Rhine Province)?
Choices:
James E. Reilly
David Byrne
Sylvester Stallone
Max Fleischer
Richard Gere
Paul Simon
Karl Marx
Rahul Dev Burman
Babyface
William Henry Harrison
Answer: Karl Marx
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Rhineland-Palatinate" .  [ <pred:fact_h> ?e ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_1 ] <located_in_the_administrative_territorial_entity> ?qpv . ?qpv <pred:value> "Rhine Province" .  }
Program:
function: Find
inputs: Rhineland-Palatinate
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: place of birth
backward
function: QFilterStr
dependencies: 3
inputs: located in the administrative territorial entity
Rhine Province
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5