Question: How many American football teams include Tony Curtis of the Baltimore Ravens as a member?
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> "American football team" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "Tony Curtis" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Baltimore Ravens" .   }
Program:
function: Find
inputs: Baltimore Ravens
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Tony Curtis
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of sports team
forward
function: FilterConcept
dependencies: 4
inputs: American football team
function: Count
dependencies: 5
Answer: 5