Question: How many writers' ISCO occupation code is 2451, or, date of birth is 18th August 1934 ?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "writer" .  { ?e <ISCO_occupation_code> ?pv . ?pv <pred:value> "2451" .  } UNION { ?e <date_of_birth> ?pv . ?pv <pred:date> "1934-08-18"^^xsd:date .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISCO occupation code
2451
function: FilterConcept
dependencies: 1
inputs: writer
function: FindAll
function: FilterDate
dependencies: 3
inputs: date of birth
1934-08-18
=
function: FilterConcept
dependencies: 4
inputs: writer
function: Or
dependencies: 2
5
function: Count
dependencies: 6