Question: What is the name of the person whose military rank is major and whose date of birth is not in 1979?
Choices:
Jack Reacher
Max Fleischer
Harry S. Truman
Erich Ludendorff
John Logan
Bill Condon
Nathanael Greene
Fritz Lang
William Henry Harrison
Sylvester Stallone
Program:
function: Find
inputs: major
function: Relate
dependencies: 0
inputs: military rank
backward
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterYear
dependencies: 3
inputs: date of birth
1979
!=
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <military_rank> ?e_1 . ?e_1 <pred:name> "major" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1979 ) .  }
Answer: John Logan