Question: What person is involved in the Second Boer War and has the occupation of military officer?
Choices:
Ed McMahon
Douglas Haig, 1st Earl Haig
Richard Nixon
Jimmy Carter
Winston Churchill
Ronald Reagan
Sylvester Stallone
Max Fleischer
Eddie Albert
Breaker Morant
Answer: Douglas Haig, 1st Earl Haig
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <conflict> ?e_1 . ?e_1 <pred:name> "Second Boer War" .  ?e <occupation> ?e_2 . ?e_2 <pred:name> "military officer" .  }
Program:
function: Find
inputs: Second Boer War
function: Relate
dependencies: 0
inputs: conflict
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: military officer
function: Relate
dependencies: 3
inputs: occupation
backward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6