Question: How many sciences have an Iconclass notation of 49I or are the main subject of Forbes (whose inception time is 1917-09-15)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "science" .  { ?e <Iconclass_notation> ?pv . ?pv <pred:value> "49I" .  } UNION { ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Forbes" . ?e_1 <inception> ?pv . ?pv <pred:date> "1917-09-15"^^xsd:date .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Iconclass notation
49I
function: FilterConcept
dependencies: 1
inputs: science
function: Find
inputs: Forbes
function: FilterDate
dependencies: 3
inputs: inception
1917-09-15
=
function: Relate
dependencies: 4
inputs: main subject
forward
function: FilterConcept
dependencies: 5
inputs: science
function: Or
dependencies: 2
6
function: Count
dependencies: 7