Question: How many calendar months are named after Christmas or are associated with Iconclass notation 23I31 ?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "calendar month" .  { ?e <named_after> ?e_1 . ?e_1 <pred:name> "Christmas" .  } UNION { ?e <Iconclass_notation> ?pv . ?pv <pred:value> "23I31" .  } }
Program:
function: Find
inputs: Christmas
function: Relate
dependencies: 0
inputs: named after
backward
function: FilterConcept
dependencies: 1
inputs: calendar month
function: FindAll
function: FilterStr
dependencies: 3
inputs: Iconclass notation
23I31
function: FilterConcept
dependencies: 4
inputs: calendar month
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2