Question: How many national association football teams have a member named John Spencer (who is a member of the Everton F.C.) or a ranking that is not 60?
Choices: 94
95
96
97
98
99
100
101
102
103
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "national association football team" .  { ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "John Spencer" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Everton F.C." .  } UNION { ?e <ranking> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "60"^^xsd:double ) .  } }
Program:
function: Find
inputs: Everton F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: John Spencer
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of sports team
forward
function: FilterConcept
dependencies: 4
inputs: national association football team
function: FindAll
function: FilterNum
dependencies: 6
inputs: ranking
60
!=
function: FilterConcept
dependencies: 7
inputs: national association football team
function: Or
dependencies: 5
8
function: Count
dependencies: 9
Answer: 102