Question: What is the number of genres that are the entertainment category of Solitary Man or have the OCLC control number 357792?
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> "genre" .  { ?e_1 <genre> ?e . ?e_1 <pred:name> "Solitary Man" .  } UNION { ?e <OCLC_control_number> ?pv . ?pv <pred:value> "357792" .  } }
Program:
function: Find
inputs: Solitary Man
function: Relate
dependencies: 0
inputs: genre
forward
function: FilterConcept
dependencies: 1
inputs: genre
function: FindAll
function: FilterStr
dependencies: 3
inputs: OCLC control number
357792
function: FilterConcept
dependencies: 4
inputs: genre
function: Or
dependencies: 2
5
function: Count
dependencies: 6