Question: How many facilities were created before 1929 or whose nickname is The Met?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "facility" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1929 ) .  } UNION { ?e <nickname> ?pv . ?pv <pred:value> "The Met" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1929
<
function: FilterConcept
dependencies: 1
inputs: facility
function: FindAll
function: FilterStr
dependencies: 3
inputs: nickname
The Met
function: FilterConcept
dependencies: 4
inputs: facility
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 5