Question: What is the association football club that has a member named Carlos Ruiz (who is a teammate of Puebla F.C.) until the ending date 2009-01-01 and has the official website http://www.clubolimpia.com.py/?
Choices:
Middlesbrough F.C.
Zamalek SC
S.C. Braga
Roda JC Kerkrade
Stade Brestois 29
Brisbane Roar FC
Preston North End F.C.
Club Olimpia
Rochester Rhinos
Hibernian F.C.
Program:
function: Find
inputs: Puebla F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Carlos Ruiz
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of sports team
forward
function: QFilterDate
dependencies: 4
inputs: end time
2009-01-01
=
function: FilterConcept
dependencies: 5
inputs: association football club
function: FindAll
function: FilterStr
dependencies: 7
inputs: official website
http://www.clubolimpia.com.py/
function: FilterConcept
dependencies: 8
inputs: association football club
function: And
dependencies: 6
9
function: What
dependencies: 10
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> "Carlos Ruiz" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Puebla F.C." .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:date> "2009-01-01"^^xsd:date . ?e <official_website> ?pv . ?pv <pred:value> "http://www.clubolimpia.com.py/" .  }
Answer: Club Olimpia