Question: Diplomat Thomas Jefferson belongs to which learned society founded prior to 1768?
Choices:
American Academy of Arts and Letters
Royal Society
Richard Thompson
Royal Academy of Arts
Ilaiyaraaja
Academy of Motion Picture Arts and Sciences
American Philosophical Society
John Paul Jones
Anthony Adverse
Blue Note Records
Program:
function: Find
inputs: diplomat
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Thomas Jefferson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of
forward
function: FilterConcept
dependencies: 4
inputs: learned society
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1768
<
function: FilterConcept
dependencies: 7
inputs: learned society
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "learned society" . ?e_1 <member_of> ?e . ?e_1 <pred:name> "Thomas Jefferson" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "diplomat" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1768 ) .  }
Answer: American Philosophical Society