Question: How many nonprofits are based in New York City or affiliated with the official website www.racingmuseum.org/hall-of-fame?
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> "nonprofit organization" .  { ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> "New York City" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.racingmuseum.org/hall-of-fame/" .  } }
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: location of formation
backward
function: FilterConcept
dependencies: 1
inputs: nonprofit organization
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.racingmuseum.org/hall-of-fame/
function: FilterConcept
dependencies: 4
inputs: nonprofit organization
function: Or
dependencies: 2
5
function: Count
dependencies: 6