Question: How many college towns with ISNI 0000 0001 2158 1391 or whose country is Sweden?
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> "college town" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0001 2158 1391" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> "Sweden" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 2158 1391
function: FilterConcept
dependencies: 1
inputs: college town
function: Find
inputs: Sweden
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: college town
function: Or
dependencies: 2
5
function: Count
dependencies: 6