Question: What number of social sciences did WIlliam James (the one whose Libris-URI is qn245bz84tzvzsp) work on?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "social science" . ?e_1 <field_of_work> ?e . ?e_1 <pred:name> "William James" . ?e_1 <Libris-URI> ?pv . ?pv <pred:value> "qn245bz84tzvzsp" .   }
Program:
function: Find
inputs: William James
function: FilterStr
dependencies: 0
inputs: Libris-URI
qn245bz84tzvzsp
function: Relate
dependencies: 1
inputs: field of work
forward
function: FilterConcept
dependencies: 2
inputs: social science
function: Count
dependencies: 3