Question: How many children does the head of government of Wyoming (the one whose official name is State of Wyoming) have?
Choices:
10
4
11
6
0
5
3 son
8
12
1 son
Program:
function: Find
inputs: Wyoming
function: FilterStr
dependencies: 0
inputs: official name
State of Wyoming
function: Relate
dependencies: 1
inputs: head of government
forward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: number of children
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <head_of_government> ?e . ?e_1 <pred:name> "Wyoming" . ?e_1 <official_name> ?pv_1 . ?pv_1 <pred:value> "State of Wyoming" . ?e <number_of_children> ?pv .  }
Answer: 4