Question: How many written works are there in the United Kingdom or that have the OCLC control number 183127?
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> "written work" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  } UNION { ?e <OCLC_control_number> ?pv . ?pv <pred:value> "183127" .  } }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: written work
function: FindAll
function: FilterStr
dependencies: 3
inputs: OCLC control number
183127
function: FilterConcept
dependencies: 4
inputs: written work
function: Or
dependencies: 2
5
function: Count
dependencies: 6