Question: Tell me the person who was born in the Virginia county that has Charlottesville as the capital.
Choices:
John Romita Jr.
James Monroe
Richard Gere
William Henry Harrison
Ashley Tisdale
Sandra Bullock
Sylvester Stallone
Max Fleischer
Kevin Costner
Stan Winston
Program:
function: Find
inputs: Charlottesville
function: Relate
dependencies: 0
inputs: capital
backward
function: FilterConcept
dependencies: 1
inputs: county of Virginia
function: Relate
dependencies: 2
inputs: place of birth
backward
function: FilterConcept
dependencies: 3
inputs: human
function: What
dependencies: 4
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> "county of Virginia" . ?e_1 <capital> ?e_2 . ?e_2 <pred:name> "Charlottesville" .   }
Answer: James Monroe