Question: How many counties of Michigan contain a city of the US, which is the birthplace of Brad Jone, born in Lansing?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Michigan" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of the United States" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Brad Jones" . ?e_2 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Lansing" .   }
Program:
function: Find
inputs: Lansing
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Brad Jones
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: Relate
dependencies: 5
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 6
inputs: county of Michigan
function: Count
dependencies: 7