Question: What association football club was founded before 1927 and has the Twitter username of NewportCounty?
Choices:
Newport County A.F.C.
BSC Young Boys
F.C. Zenit St. Petersburg
Cagliari Calcio
F.C. Lorient
Brisbane Roar FC
Middlesbrough F.C.
Newell's Old Boys
Zamalek SC
Arsenal F.C.
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1927
<
function: FilterConcept
dependencies: 1
inputs: association football club
function: FindAll
function: FilterStr
dependencies: 3
inputs: Twitter username
NewportCounty
function: FilterConcept
dependencies: 4
inputs: association football club
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1927 ) . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "NewportCounty" .  }
Answer: Newport County A.F.C.