Question: What is the FIFA country code of a national association football team, whose ranking is not 40 (with 944 league points associated with this statement) ?
Choices:
IRN
IRL
MAR
TOG
UKR
ARG
IND
WAL
DEN
CRO
Answer: DEN
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "national association football team" . ?e <ranking> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "40"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <ranking> ; <pred:fact_t> ?pv_1 ] <points_for> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "944"^^xsd:double . ?e <FIFA_country_code> ?pv .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: ranking
40
!=
function: QFilterNum
dependencies: 1
inputs: points for
944
=
function: FilterConcept
dependencies: 2
inputs: national association football team
function: QueryAttr
dependencies: 3
inputs: FIFA country code