Question: When did a person, the spouse of English-speaking Peter Horton, began her career?
Choices:
1979
1988
1998
1977-08-10
1965
1864
1914
1916
1958
1897
Answer: 1979
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Peter Horton" . ?e_1 <languages_spoken,_written_or_signed> ?e_2 . ?e_2 <pred:name> "English" .  ?e <work_period_(start)> ?pv .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: Peter Horton
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: spouse
forward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttr
dependencies: 5
inputs: work period (start)