Question: How many songs are titled Beauty and the Beast or were published on 1991-12-30
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Beauty and the Beast
function: FilterConcept
dependencies: 1
inputs: song
function: FindAll
function: FilterDate
dependencies: 3
inputs: publication date
1991-12-30
=
function: FilterConcept
dependencies: 4
inputs: song
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "song" .  { ?e <title> ?pv . ?pv <pred:value> "Beauty and the Beast" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:date> "1991-12-30"^^xsd:date .  } }
Answer: 1