Question: In how many secondary schools have studied the sibling of William Baldwin (the member of the Democratic Party)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "secondary school" . ?e_1 <educated_at> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <sibling> ?e_2 . ?e_2 <pred:name> "William Baldwin" . ?e_2 <member_of_political_party> ?e_3 . ?e_3 <pred:name> "Democratic Party" .   }
Program:
function: Find
inputs: Democratic Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: William Baldwin
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: sibling
backward
function: FilterConcept
dependencies: 4
inputs: human
function: Relate
dependencies: 5
inputs: educated at
forward
function: FilterConcept
dependencies: 6
inputs: secondary school
function: Count
dependencies: 7