Question: How many counties of Wisconsin have the capital, which is the city of the United States that is the birthplace of Paul Walker (who has the occupation of film producer)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Wisconsin" . ?e <capital> ?e_1 . ?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> "Paul Walker" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "film producer" .   }
Program:
function: Find
inputs: film producer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Paul Walker
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: capital
backward
function: FilterConcept
dependencies: 6
inputs: county of Wisconsin
function: Count
dependencies: 7