Question: Which association-football club has a headquarter location in Rochester (the one that is the twinned administrative body of Waterford) and has Adam West (the one that is a member of Rochester Rhinos) as a member (the number of games played of this statement is 10)?
Choices:
Brisbane Roar FC
Preston North End F.C.
Hibernian F.C.
Middlesbrough F.C.
Zamalek SC
Rochester Rhinos
C.F. Os Belenenses
Stade Brestois 29
Royal Antwerp F.C
Roda JC Kerkrade
Program:
function: Find
inputs: Waterford
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Rochester
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: association football club
function: Find
inputs: Rochester Rhinos
function: Relate
dependencies: 6
inputs: member of sports team
backward
function: Find
inputs: Adam West
function: And
dependencies: 7
8
function: Relate
dependencies: 9
inputs: member of sports team
forward
function: QFilterNum
dependencies: 10
inputs: number of matches played/races/starts
10
=
function: FilterConcept
dependencies: 11
inputs: association football club
function: And
dependencies: 5
12
function: What
dependencies: 13
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Rochester" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Waterford" .  ?e_3 <member_of_sports_team> ?e . ?e_3 <pred:name> "Adam West" . ?e_3 <member_of_sports_team> ?e_4 . ?e_4 <pred:name> "Rochester Rhinos" . [ <pred:fact_h> ?e_3 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <number_of_matches_played/races/starts> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "10"^^xsd:double .  }
Answer: Rochester Rhinos