Question: How many entertainment shows have a publication date that is after 2000 or are designed by John Osborne (whose Libris-URI is dbqspzxx3x7g093)?
Choices: 115
116
117
118
119
120
121
122
123
124
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "entertainment" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2000 ) .  } UNION { ?e <designed_by> ?e_1 . ?e_1 <pred:name> "John Osborne" . ?e_1 <Libris-URI> ?pv . ?pv <pred:value> "dbqspzxx3x7g093" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2000
>
function: FilterConcept
dependencies: 1
inputs: entertainment
function: Find
inputs: John Osborne
function: FilterStr
dependencies: 3
inputs: Libris-URI
dbqspzxx3x7g093
function: Relate
dependencies: 4
inputs: designed by
backward
function: FilterConcept
dependencies: 5
inputs: entertainment
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 123