Question: What liberal arts college in the United States is the educational institution of Peter Berg (whose occupation is film director) and has an establishment date that is after 1847?
Choices:
Centre College
Earlham College
Washington & Jefferson College
Franklin & Marshall College
Manhattan College
Colby College
Macalester College
Pomona College
Antioch College
St. Olaf College
Program:
function: Find
inputs: film director
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Peter Berg
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: educated at
forward
function: FilterConcept
dependencies: 4
inputs: liberal arts college in the United States
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1847
>
function: FilterConcept
dependencies: 7
inputs: liberal arts college in the United States
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "liberal arts college in the United States" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Peter Berg" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "film director" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1847 ) .  }
Answer: Macalester College