Question: How many learned societies confer the award that is a listing of anthology (this statement's genre is fantasy)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "learned society" . ?e_1 <conferred_by> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "award" . ?e_1 <is_a_list_of> ?e_2 . ?e_2 <pred:name> "anthology" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <is_a_list_of> ; <pred:fact_t> ?e_2 ] <genre> ?qpv . ?qpv <pred:value> "fantasy" .   }
Program:
function: Find
inputs: anthology
function: Relate
dependencies: 0
inputs: is a list of
backward
function: QFilterStr
dependencies: 1
inputs: genre
fantasy
function: FilterConcept
dependencies: 2
inputs: award
function: Relate
dependencies: 3
inputs: conferred by
forward
function: FilterConcept
dependencies: 4
inputs: learned society
function: Count
dependencies: 5