Question: How many universities are either located in Strasbourg or are affiliated with the California State University?
Choices:
6
7
8
9
10
11
12
13
14
15
Answer: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Strasbourg" .  } UNION { ?e <affiliation> ?e_1 . ?e_1 <pred:name> "California State University" .  } }
Program:
function: Find
inputs: Strasbourg
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: university
function: Find
inputs: California State University
function: Relate
dependencies: 3
inputs: affiliation
backward
function: FilterConcept
dependencies: 4
inputs: university
function: Or
dependencies: 2
5
function: Count
dependencies: 6