Question: How many facilities either have a visitor count of more than 3500000 per year or a GitHub username of metmuseum-medialab?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "facility" .  { ?e <visitors_per_year> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "3500000"^^xsd:double ) .  } UNION { ?e <GitHub_username> ?pv . ?pv <pred:value> "metmuseum-medialab" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: visitors per year
3500000
>
function: FilterConcept
dependencies: 1
inputs: facility
function: FindAll
function: FilterStr
dependencies: 3
inputs: GitHub username
metmuseum-medialab
function: FilterConcept
dependencies: 4
inputs: facility
function: Or
dependencies: 2
5
function: Count
dependencies: 6