Question: How many National Basketball Association Drafts either happened after 2004 or in Kabul (the one whose subreddit is kabul)?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "National Basketball Association Draft" .  { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2004 ) .  } UNION { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Kabul" . ?e_1 <subreddit> ?pv . ?pv <pred:value> "kabul" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: point in time
2004
>
function: FilterConcept
dependencies: 1
inputs: National Basketball Association Draft
function: Find
inputs: Kabul
function: FilterStr
dependencies: 3
inputs: subreddit
kabul
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 5
inputs: National Basketball Association Draft
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 4