Simple Question (Direct)
Simple Question
Q321405
P21
Q290
USER
Which sex does Abiola Dauda have ?
(Q321405,P21,c(Q290))
action filter_type
action find
entity Q321405
relation P21
type Q290
['Q321405', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q321405 property:P21 ?e . ?e rdf:type ontology:Q290 }
Abiola Dauda
action filter_type
action find
entity Abiola Dauda
relation gender
type sex
['Abiola Dauda', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Abiola_Dauda property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q321405,P21,c(Q290))
action filter_type
action find
entity Q321405
relation P21
type Q290
Abiola Dauda has 1 [ANSWER]
['Q321405', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q321405 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
Abiola Dauda has 1 male
male
action filter_type
action find
entity Abiola Dauda
relation gender
type sex
['Abiola Dauda', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Abiola_Dauda property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q321405
P641
Q349
USER
What was the sport that Abiola Dauda was a part of ?
(Q321405,P641,c(Q349))
action filter_type
action find
entity Q321405
relation P641
type Q349
['Q321405', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q321405 property:P641 ?c . ?c rdf:type ontology:Q349 }
Abiola Dauda
action filter_type
action find
entity Abiola Dauda
relation sport
type sport
['Abiola Dauda', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Abiola_Dauda property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q321405,P641,c(Q349))
action filter_type
action find
entity Q321405
relation P641
type Q349
The sport that Abiola Dauda was a part of was h [ANSWER]
['Q321405', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q321405 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
The sport that Abiola Dauda was a part of was h association football
association football
action filter_type
action find
entity Abiola Dauda
relation sport
type sport
['Abiola Dauda', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Abiola_Dauda property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q321405
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q321405
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q321405 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Abiola Dauda
action filter_type
action find
entity Abiola Dauda
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Abiola_Dauda property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1033
SYSTEM
Nigeria
Q1033
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q321405
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q321405 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Nigeria
Nigeria is that person a civilian of
Nigeria
action filter_type
action find
entity Abiola Dauda
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Abiola_Dauda property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1033
P551
Q502895
USER
Who lives in that administrative territory ?
(c(Q502895),P551,Q1033)
action filter_type
action find_reverse
entity Q1033
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1033']
SELECT DISTINCT ?s WHERE { ?s property:P551 resource:Q1033 . ?s rdf:type ontology:Q502895 }
Nigeria
action filter_type
action find_reverse
entity Nigeria
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Nigeria']
SELECT DISTINCT ?s WHERE { ?s property:residence resource:Nigeria . ?s rdf:type ontology:common_name }
[]
common name
Q22136999
SYSTEM
Nabil Canaan
Q22136999
(c(Q502895),P551,Q1033)
action filter_type
action find_reverse
entity Q1033
relation P551
type Q502895
[ANSWER] lives in that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q1033']
SELECT DISTINCT ?s WHERE { ?s property:P551 resource:Q1033 . ?s rdf:type ontology:Q502895 }
Nabil Canaan
Nabil Canaan lives in that administrative territory
Nabil Canaan
action filter_type
action find_reverse
entity Nigeria
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Nigeria']
SELECT DISTINCT ?s WHERE { ?s property:residence resource:Nigeria . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22136999
P26
Q502895
USER
Who is the spouse of that one ?
(c(Q502895),P26,Q22136999)
action filter_type
action find
entity Q22136999
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q22136999']
SELECT DISTINCT ?o WHERE { resource:Q22136999 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Nabil Canaan
action filter_type
action find
entity Nabil Canaan
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Nabil Canaan']
SELECT DISTINCT ?o WHERE { resource:Nabil_Canaan property:spouse ?o . ?o rdf:type ontology:common_name }
[]
common name
Q22083293
SYSTEM
Leïla Alaoui
Q22083293
(c(Q502895),P26,Q22136999)
action filter_type
action find
entity Q22136999
relation P26
type Q502895
The spouse of that one is the [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q22136999']
SELECT DISTINCT ?o WHERE { resource:Q22136999 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Leïla Alaoui
The spouse of that one is the Leïla Alaoui
Leïla Alaoui
action filter_type
action find
entity Nabil Canaan
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Nabil Canaan']
SELECT DISTINCT ?o WHERE { resource:Nabil_Canaan property:spouse ?o . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atmost 4330 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 4330
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?c <= 4330 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 4330
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?c <= 4330 ) }
[]
musical instrument common name
SYSTEM
64
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 4330
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?c <= 4330 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
64
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 4330
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?c <= 4330 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1033
P138
Q355304
USER
Which watercourse is Nigeria named after ?
(Q1033,P138,c(Q355304))
action filter_type
action find
entity Q1033
relation P138
type Q355304
['Q1033', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?a WHERE { resource:Q1033 property:P138 ?a . ?a rdf:type ontology:Q355304 }
Nigeria
action filter_type
action find
entity Nigeria
relation named after
type watercourse
['Nigeria', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?a WHERE { resource:Nigeria property:named_after ?a . ?a rdf:type ontology:watercourse }
[]
watercourse
Q3542
SYSTEM
Niger River
Q3542
(Q1033,P138,c(Q355304))
action filter_type
action find
entity Q1033
relation P138
type Q355304
Nigeria is named the [ANSWER]
['Q1033', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?a WHERE { resource:Q1033 property:P138 ?a . ?a rdf:type ontology:Q355304 }
Niger River
Nigeria is named the Niger River
Niger River
action filter_type
action find
entity Nigeria
relation named after
type watercourse
['Nigeria', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?a WHERE { resource:Nigeria property:named_after ?a . ?a rdf:type ontology:watercourse }
[]