Question: How many entertainment properties published pre-2018 include the character Superman, performed by Benjamin Bratt ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 6
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 < 2018 ) . ?e <characters> ?e_1 . ?e_1 <pred:name> "Superman" . ?e_1 <performer> ?e_2 . ?e_2 <pred:name> "Benjamin Bratt" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2018
<
function: FilterConcept
dependencies: 1
inputs: entertainment
function: Find
inputs: Benjamin Bratt
function: Relate
dependencies: 3
inputs: performer
backward
function: Find
inputs: Superman
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: characters
backward
function: FilterConcept
dependencies: 7
inputs: entertainment
function: And
dependencies: 2
8
function: Count
dependencies: 9