Question: How many association football clubs are the origin of the name Grays Athletic F.C. and are set up in Prague (the headquarters location of Charles University)?
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> "association football club" . ?e_1 <named_after> ?e . ?e_1 <pred:name> "Grays Athletic F.C." .  ?e <location_of_formation> ?e_2 . ?e_2 <pred:name> "Prague" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> "Charles University" .  }
Program:
function: Find
inputs: Grays Athletic F.C.
function: Relate
dependencies: 0
inputs: named after
forward
function: FilterConcept
dependencies: 1
inputs: association football club
function: Find
inputs: Charles University
function: Relate
dependencies: 3
inputs: headquarters location
forward
function: Find
inputs: Prague
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: location of formation
backward
function: FilterConcept
dependencies: 7
inputs: association football club
function: And
dependencies: 2
8
function: Count
dependencies: 9