Question: How many countries contain a sport associated with a person that is the member of Livingston F.C. ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "country" . ?e_1 <country_for_sport> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Livingston F.C." .   }
Program:
function: Find
inputs: Livingston F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: country for sport
forward
function: FilterConcept
dependencies: 3
inputs: country
function: Count
dependencies: 4