Question: How many entertainments have a review score of 10/10 or are the origin of the name Prince of Persia: The Sands of Time published on 2010-05-27?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "entertainment" .  { ?e <review_score> ?pv . ?pv <pred:value> "10/10" .  } UNION { ?e_1 <named_after> ?e . ?e_1 <pred:name> "Prince of Persia: The Sands of Time" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2010-05-27"^^xsd:date .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: review score
10/10
function: FilterConcept
dependencies: 1
inputs: entertainment
function: Find
inputs: Prince of Persia: The Sands of Time
function: FilterDate
dependencies: 3
inputs: publication date
2010-05-27
=
function: Relate
dependencies: 4
inputs: named after
forward
function: FilterConcept
dependencies: 5
inputs: entertainment
function: Or
dependencies: 2
6
function: Count
dependencies: 7