Question: What is the number of nonprofit organizations that are in Caracas or have the official website http://www.sab.org
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
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> "Caracas" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.sab.org" .  } }
Program:
function: Find
inputs: Caracas
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.sab.org
function: FilterConcept
dependencies: 4
inputs: nonprofit organization
function: Or
dependencies: 2
5
function: Count
dependencies: 6