Question: How many US states are led by an attorney general?
Choices: 50
51
52
53
54
55
56
57
58
59
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> "attorney general" .   }
Program:
function: Find
inputs: attorney general
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: Count
dependencies: 2
Answer: 50