Question: How many ice hockey teams whose general manager is Robert Smith who is an employee of University of Ibadan?
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> "ice hockey team" . ?e <general_manager> ?e_1 . ?e_1 <pred:name> "Robert Smith" . ?e_1 <employer> ?e_2 . ?e_2 <pred:name> "University of Ibadan" .   }
Program:
function: Find
inputs: University of Ibadan
function: Relate
dependencies: 0
inputs: employer
backward
function: Find
inputs: Robert Smith
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: general manager
backward
function: FilterConcept
dependencies: 4
inputs: ice hockey team
function: Count
dependencies: 5
Answer: 0