Question: How many officials appointed by the President of the United States head the US Treasury Department?
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> "official" . ?e <appointed_by> ?e_1 . ?e_1 <pred:name> "President of the United States" .  ?e <organisation_directed_from_the_office_or_person> ?e_2 . ?e_2 <pred:name> "United States Department of the Treasury" .  }
Program:
function: Find
inputs: President of the United States
function: Relate
dependencies: 0
inputs: appointed by
backward
function: FilterConcept
dependencies: 1
inputs: official
function: Find
inputs: United States Department of the Treasury
function: Relate
dependencies: 3
inputs: organisation directed from the office or person
backward
function: FilterConcept
dependencies: 4
inputs: official
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0