Question: How many Italian communes correspond to licence plate code PV or are twinned administrative bodies of Curitiba?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "comune of Italy" .  { ?e <licence_plate_code> ?pv . ?pv <pred:value> "PV" .  } UNION { ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Curitiba" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: licence plate code
PV
function: FilterConcept
dependencies: 1
inputs: comune of Italy
function: Find
inputs: Curitiba
function: Relate
dependencies: 3
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 4
inputs: comune of Italy
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2