Question: How many political parties founded by Nelson Mandela have a short name of Rep?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
Rep
function: FilterConcept
dependencies: 1
inputs: political party
function: Find
inputs: Nelson Mandela
function: Relate
dependencies: 3
inputs: found
forward
function: FilterConcept
dependencies: 4
inputs: political party
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" .  { ?e <short_name> ?pv . ?pv <pred:value> "Rep" .  } UNION { ?e_1 <found> ?e . ?e_1 <pred:name> "Nelson Mandela" .  } }
Answer: 2