Question: How many entertainment presentations use the English language or are collected in the Louvre Museum?
Choices:
17
18
19
20
21
22
23
24
25
26
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: FilterConcept
dependencies: 1
inputs: entertainment
function: Find
inputs: Louvre Museum
function: Relate
dependencies: 3
inputs: collection
backward
function: FilterConcept
dependencies: 4
inputs: entertainment
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> "entertainment" .  { ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .  } UNION { ?e <collection> ?e_1 . ?e_1 <pred:name> "Louvre Museum" .  } }
Answer: 23