Question: What is the number of higher learning institutions having the Name Assigning Authority Number 61001 or location in Groningen (that is headed by a mayor)?
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> "higher education institution" .  { ?e <Name_Assigning_Authority_Number> ?pv . ?pv <pred:value> "61001" .  } UNION { ?e <location> ?e_1 . ?e_1 <pred:name> "Groningen" . ?e_1 <office_held_by_head_of_government> ?e_2 . ?e_2 <pred:name> "mayor" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Name Assigning Authority Number
61001
function: FilterConcept
dependencies: 1
inputs: higher education institution
function: Find
inputs: mayor
function: Relate
dependencies: 3
inputs: office held by head of government
backward
function: Find
inputs: Groningen
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: location
backward
function: FilterConcept
dependencies: 7
inputs: higher education institution
function: Or
dependencies: 2
8
function: Count
dependencies: 9