Question: What association football club had Hulk (the one that is a member of F.C. Porto) as its member until 2016 ?
Choices:
Roda JC Kerkrade
Zamalek SC
Middlesbrough F.C.
Brisbane Roar FC
F.C. Zenit St. Petersburg
Preston North End F.C.
C.F. Os Belenenses
Hibernian F.C.
S.C. Braga
Stade Brestois 29
Program:
function: Find
inputs: F.C. Porto
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Hulk
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of sports team
forward
function: QFilterYear
dependencies: 4
inputs: end time
2016
=
function: FilterConcept
dependencies: 5
inputs: association football club
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "Hulk" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "F.C. Porto" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 2016 .  }
Answer: F.C. Zenit St. Petersburg