Question: How many of Italy's comunes are Sarasota's twinned administrative body or have the UN/LOCODE of ITMAN?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "comune of Italy" .  { ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Sarasota" .  } UNION { ?e <UN/LOCODE> ?pv . ?pv <pred:value> "ITMAN" .  } }
Program:
function: Find
inputs: Sarasota
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 1
inputs: comune of Italy
function: FindAll
function: FilterStr
dependencies: 3
inputs: UN/LOCODE
ITMAN
function: FilterConcept
dependencies: 4
inputs: comune of Italy
function: Or
dependencies: 2
5
function: Count
dependencies: 6