Question: What number of college towns contain Binghamton University or have the official name Юрьев?
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> "college town" .  { ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Binghamton University" .  } UNION { ?e <official_name> ?pv . ?pv <pred:value> "Юрьев" .  } }
Program:
function: Find
inputs: Binghamton University
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: college town
function: FindAll
function: FilterStr
dependencies: 3
inputs: official name
Юрьев
function: FilterConcept
dependencies: 4
inputs: college town
function: Or
dependencies: 2
5
function: Count
dependencies: 6