Question: what is the number of government forms that is a topic that has pashtun people or that has a total fertility rate of under 2.0
Choices:
6
7
8
9
10
11
12
13
14
15
Program:
function: Find
inputs: Pashtun people
function: Relate
dependencies: 0
inputs: facet of
forward
function: FilterConcept
dependencies: 1
inputs: form of government
function: FindAll
function: FilterNum
dependencies: 3
inputs: total fertility rate
2.0
<
function: FilterConcept
dependencies: 4
inputs: form of government
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> "form of government" .  { ?e_1 <facet_of> ?e . ?e_1 <pred:name> "Pashtun people" .  } UNION { ?e <total_fertility_rate> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "2.0"^^xsd:double ) .  } }
Answer: 14