Question: How many forms of alternative rock were invented later than 1995 or share Counting Crows's genre?
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> "alternative rock" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1995 ) .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> "Counting Crows" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1995
>
function: FilterConcept
dependencies: 1
inputs: alternative rock
function: Find
inputs: Counting Crows
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: alternative rock
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2