Question: How many video games were released post-2012 or named for Superman, born as Kal Kent?
Choices:
6
7
8
9
10
11
12
13
14
15
Answer: 10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2012 ) .  } UNION { ?e <named_after> ?e_1 . ?e_1 <pred:name> "Superman" . ?e_1 <birth_name> ?pv . ?pv <pred:value> "Kal Kent" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2012
>
function: FilterConcept
dependencies: 1
inputs: video game
function: Find
inputs: Superman
function: FilterStr
dependencies: 3
inputs: birth name
Kal Kent
function: Relate
dependencies: 4
inputs: named after
backward
function: FilterConcept
dependencies: 5
inputs: video game
function: Or
dependencies: 2
6
function: Count
dependencies: 7