Question: Which activity contains the association football club that has John Logan as a member (the one whose date of death is 1980-01-01), (the number of games played of this statement is 65)?
Choices:
National League
Harry Potter and the Half-Blood Prince
EFL Championship
Batman
platform game
Spider-Man 2
2008 Tour de France
rape
Dark Horse Comics
Terminator Salvation
Answer: National League
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" . ?e_1 <league> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "association football club" . ?e_2 <member_of_sports_team> ?e_1 . ?e_2 <pred:name> "John Logan" . ?e_2 <date_of_death> ?pv . ?pv <pred:date> "1980-01-01"^^xsd:date . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <number_of_matches_played/races/starts> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "65"^^xsd:double .   }
Program:
function: Find
inputs: John Logan
function: FilterDate
dependencies: 0
inputs: date of death
1980-01-01
=
function: Relate
dependencies: 1
inputs: member of sports team
forward
function: QFilterNum
dependencies: 2
inputs: number of matches played/races/starts
65
=
function: FilterConcept
dependencies: 3
inputs: association football club
function: Relate
dependencies: 4
inputs: league
forward
function: FilterConcept
dependencies: 5
inputs: activity
function: What
dependencies: 6