Simple Question (Direct)
Simple Question
Q3126881
P21
Q290
USER
Which sex does Hannu Lamberg possess ?
(Q3126881,P21,c(Q290))
action filter_type
action find
entity Q3126881
relation P21
type Q290
['Q3126881', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q3126881 property:P21 ?o . ?o rdf:type ontology:Q290 }
Hannu Lamberg
action filter_type
action find
entity Hannu Lamberg
relation gender
type sex
['Hannu Lamberg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Hannu_Lamberg property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3126881,P21,c(Q290))
action filter_type
action find
entity Q3126881
relation P21
type Q290
Hannu Lamberg possesses un [ANSWER]
['Q3126881', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q3126881 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
Hannu Lamberg possesses un male
male
action filter_type
action find
entity Hannu Lamberg
relation gender
type sex
['Hannu Lamberg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Hannu_Lamberg property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3126881
P54
Q1194951
USER
Which national sports team is Hannu Lamberg a member of ?
(Q3126881,P54,c(Q1194951))
action filter_type
action find
entity Q3126881
relation P54
type Q1194951
['Q3126881', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?j WHERE { resource:Q3126881 property:P54 ?j . ?j rdf:type ontology:Q1194951 }
Hannu Lamberg
action filter_type
action find
entity Hannu Lamberg
relation member of sports team
type national sports team
['Hannu Lamberg', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?j WHERE { resource:Hannu_Lamberg property:member_of_sports_team ?j . ?j rdf:type ontology:national_sports_team }
[]
national sports team
Q186532
SYSTEM
Finland national football team
Q186532
(Q3126881,P54,c(Q1194951))
action filter_type
action find
entity Q3126881
relation P54
type Q1194951
The [ANSWER] is Hannu Lamberg a member of
['Q3126881', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?j WHERE { resource:Q3126881 property:P54 ?j . ?j rdf:type ontology:Q1194951 }
Finland national football team
The Finland national football team is Hannu Lamberg a member of
Finland national football team
action filter_type
action find
entity Hannu Lamberg
relation member of sports team
type national sports team
['Hannu Lamberg', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?j WHERE { resource:Hannu_Lamberg property:member_of_sports_team ?j . ?j rdf:type ontology:national_sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q486015
Q1194951
USER
And how about Huang Bowen?
(Q486015,P54,c(Q1194951))
action filter_type
action find
entity Q486015
relation P54
type Q1194951
['Q486015', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?a WHERE { resource:Q486015 property:P54 ?a . ?a rdf:type ontology:Q1194951 }
Huang Bowen
action filter_type
action find
entity Huang Bowen
relation member of sports team
type national sports team
['Huang Bowen', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?a WHERE { resource:Huang_Bowen property:member_of_sports_team ?a . ?a rdf:type ontology:national_sports_team }
[]
national sports team
Q130582
SYSTEM
China PR national football team
Q130582
(Q486015,P54,c(Q1194951))
action filter_type
action find
entity Q486015
relation P54
type Q1194951
[ANSWER]
['Q486015', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?a WHERE { resource:Q486015 property:P54 ?a . ?a rdf:type ontology:Q1194951 }
China PR national football team
China PR national football team
action filter_type
action find
entity Huang Bowen
relation member of sports team
type national sports team
['Huang Bowen', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?a WHERE { resource:Huang_Bowen property:member_of_sports_team ?a . ?a rdf:type ontology:national_sports_team }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q130582 Q7186339
P54
Q502895
USER
Is Samuel Wong one of the members of that national sports team ?
(Q7186339,P54,Q130582)
action is_in
entity Q7186339
action find
entity Q130582
relation P54
['Q7186339', 'P54', 'Q130582']
ASK WHERE { resource:Q130582 property:P54 resource:Q7186339 }
China PR national football team Samuel Wong
action is_in
entity Samuel Wong
action find
entity China PR national football team
relation member of sports team
['Samuel Wong', 'member of sports team', 'China PR national football team']
ASK WHERE { resource:China_PR_national_football_team property:member_of_sports_team resource:Samuel_Wong }
[]
common name
SYSTEM
NO
(Q7186339,P54,Q130582)
action is_in
entity Q7186339
action find
entity Q130582
relation P54
[ANSWER]
['Q7186339', 'P54', 'Q130582']
ASK WHERE { resource:Q130582 property:P54 resource:Q7186339 }
No
action is_in
entity Samuel Wong
action find
entity China PR national football team
relation member of sports team
['Samuel Wong', 'member of sports team', 'China PR national football team']
ASK WHERE { resource:China_PR_national_football_team property:member_of_sports_team resource:Samuel_Wong }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q445357
P417
Q502895 Q44539 Q12737077
USER
How many people are the names of person who are the patron saints of more number of temples or occupations than Henry ?
(c(Q44539)|c(Q12737077),P417,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q445357
relation P417
type Q44539
type Q12737077
[[{'concept': 'Q44539'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?u ) WHERE { { ?l property:P417 ?o . ?o rdf:type ontology:Q502895 . ?l rdf:type ontology:Q44539 } UNION { ?o rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12737077 . ?l property:P417 ?o } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:P417 resource:Q445357 . { ?q rdf:type ?m . VALUES ( ?m ) { ( ontology:Q44539 ) ( ontology:Q12737077 ) } } } } . FILTER ( ?u > ?t ) }
Henry
action count
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Henry
relation patron saint
type temple
type occupation
[[{'concept': 'temple'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?u ) WHERE { { ?l property:patron_saint ?o . ?o rdf:type ontology:common_name . ?l rdf:type ontology:temple } UNION { ?o rdf:type ontology:common_name . ?l rdf:type ontology:occupation . ?l property:patron_saint ?o } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:patron_saint resource:Henry . { ?q rdf:type ?m . VALUES ( ?m ) { ( ontology:temple ) ( ontology:occupation ) } } } } . FILTER ( ?u > ?t ) }
[]
common name temple occupation
SYSTEM
61
Q453698 Q133704 Q229190 Q152457 Q394727 Q61914 Q320199 Q43689 Q128267 Q328804 Q166876 Q163900 Q170547 Q676555 Q244380 Q181715 Q686948 Q177903 Q207113 Q8018 Q33923 Q161775 Q221522 Q128538 Q183240 Q145746 Q360798 Q298845 Q167477 Q297742 Q48438 Q44281 Q63070 Q43399 Q196527 Q196653 Q560531 Q9200 Q346 Q180936 Q43999 Q43669 Q44269 Q44265 Q192816 Q43982 Q179718 Q40662 Q210096 Q80513 Q43600 Q744884 Q151967 Q149727 Q164294 Q60059 Q159862 Q17590 Q200895 Q44248 Q310633
(c(Q44539)|c(Q12737077),P417,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q445357
relation P417
type Q44539
type Q12737077
[ANSWER]
[[{'concept': 'Q44539'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?u ) WHERE { { ?l property:P417 ?o . ?o rdf:type ontology:Q502895 . ?l rdf:type ontology:Q44539 } UNION { ?o rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12737077 . ?l property:P417 ?o } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:P417 resource:Q445357 . { ?q rdf:type ?m . VALUES ( ?m ) { ( ontology:Q44539 ) ( ontology:Q12737077 ) } } } } . FILTER ( ?u > ?t ) }
Saint Amand Martin of Tours Catherine of Siena Saint Roch Agnes of Bohemia Gotthard of Hildesheim Apollinaris of Ravenna Ambrose Joseph John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Francis of Assisi Saint Denis Thérèse of Lisieux Alban of Mainz Stephen I of Hungary Hippolytus Augustine of Hippo Peter Stephen John of Nepomuk Luke the Evangelist Saint Lucy Joseph Saint Eligius Saint Florian Anthony of Padua Margaret the Virgin Saint George Ignatius of Loyola Mary Magdalene Andrew Saint Wenceslaus I, Duke of Bohemia Saint Veronica Suitbert of Kaiserswerdt Paul Louis IX of France Saint Gall James Thomas the Apostle Saint Nicholas Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Agnes of Rome Saint Cecilia Matthew the Apostle Zita Saint Blaise Saint Giles Saint Anna Albertus Magnus Elizabeth of Hungary Lawrence of Rome Agatha of Sicily Jerome Demetrius of Thessaloniki
61
action count
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Henry
relation patron saint
type temple
type occupation
[[{'concept': 'temple'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?u ) WHERE { { ?l property:patron_saint ?o . ?o rdf:type ontology:common_name . ?l rdf:type ontology:temple } UNION { ?o rdf:type ontology:common_name . ?l rdf:type ontology:occupation . ?l property:patron_saint ?o } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:patron_saint resource:Henry . { ?q rdf:type ?m . VALUES ( ?m ) { ( ontology:temple ) ( ontology:occupation ) } } } } . FILTER ( ?u > ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q131159
P417
Q502895 Q44539 Q12737077
USER
And also tell me about Fabian?
(c(Q44539)|c(Q12737077),P417,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q131159
relation P417
type Q44539
type Q12737077
[[{'concept': 'Q44539'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { { VALUES ( ?b ) { ( ontology:Q44539 ) ( ontology:Q12737077 ) } . ?m rdf:type ?b } . ?m property:P417 resource:Q131159 } } . FILTER ( ?e > ?u ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) ?d WHERE { { ?s property:P417 ?d . ?d rdf:type ontology:Q502895 . ?s rdf:type ontology:Q44539 } UNION { ?d rdf:type ontology:Q502895 . ?s rdf:type ontology:Q12737077 . ?s property:P417 ?d } } GROUP BY ?d } }
Fabian
action count
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Fabian
relation patron saint
type temple
type occupation
[[{'concept': 'temple'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { { VALUES ( ?b ) { ( ontology:temple ) ( ontology:occupation ) } . ?m rdf:type ?b } . ?m property:patron_saint resource:Fabian } } . FILTER ( ?e > ?u ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) ?d WHERE { { ?s property:patron_saint ?d . ?d rdf:type ontology:common_name . ?s rdf:type ontology:temple } UNION { ?d rdf:type ontology:common_name . ?s rdf:type ontology:occupation . ?s property:patron_saint ?d } } GROUP BY ?d } }
[]
common name temple occupation
SYSTEM
134
Q453698 Q133704 Q229190 Q152457 Q394727 Q268087 Q61914 Q315640 Q719683 Q118087 Q320199 Q43689 Q378656 Q61620 Q128267 Q2987904 Q2574015 Q1834624 Q328804 Q174044 Q166876 Q163900 Q31966 Q170547 Q676555 Q244380 Q192236 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1284971 Q188411 Q727316 Q374822 Q686948 Q309953 Q9438 Q130997 Q515953 Q312758 Q5575577 Q191107 Q177903 Q207113 Q8018 Q43675 Q618214 Q242274 Q216946 Q33923 Q161775 Q221522 Q44047 Q128538 Q183240 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q297742 Q48438 Q159834 Q119512 Q44281 Q63070 Q170164 Q43399 Q379914 Q196527 Q336731 Q913528 Q231256 Q196653 Q560531 Q508214 Q9200 Q174880 Q346 Q193507 Q180936 Q7226 Q463600 Q243427 Q417686 Q43999 Q64196 Q359259 Q43669 Q369691 Q44269 Q831571 Q44265 Q192816 Q43982 Q179718 Q445357 Q40662 Q332656 Q210096 Q320171 Q137947 Q160374 Q80513 Q43600 Q283447 Q324700 Q158504 Q744884 Q44015 Q151967 Q312314 Q149727 Q367208 Q232427 Q164294 Q103556 Q60059 Q651226 Q159862 Q17590 Q271474 Q235619 Q200895 Q160445 Q44248 Q276148 Q470608 Q196157 Q310633 Q208331
(c(Q44539)|c(Q12737077),P417,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q131159
relation P417
type Q44539
type Q12737077
[ANSWER]
[[{'concept': 'Q44539'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { { VALUES ( ?b ) { ( ontology:Q44539 ) ( ontology:Q12737077 ) } . ?m rdf:type ?b } . ?m property:P417 resource:Q131159 } } . FILTER ( ?e > ?u ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) ?d WHERE { { ?s property:P417 ?d . ?d rdf:type ontology:Q502895 . ?s rdf:type ontology:Q44539 } UNION { ?d rdf:type ontology:Q502895 . ?s rdf:type ontology:Q12737077 . ?s property:P417 ?d } } GROUP BY ?d } }
Saint Amand Martin of Tours Catherine of Siena Saint Roch Agnes of Bohemia Pudentiana Gotthard of Hildesheim Francis of Paola Ludger Ludmila of Bohemia Apollinaris of Ravenna Ambrose Saint Pantaleon Cunigunde of Luxembourg Joseph Tryphon of Pechenga Nestor of Magydos Gummarus John the Evangelist Alexander Nevsky Isidore of Seville Saint Francis Xavier Mark the Evangelist Anthony the Great Francis of Assisi Saint Denis Thomas Becket Saint Dominic Thérèse of Lisieux Vitus Saint Cunera Procopius of Sázava Victor Maurus Bernard of Clairvaux Renaud de Montauban Adrian of Nicomedia Alban of Mainz Gregory the Illuminator Thomas Aquinas Damasus I Maximilian of Lorch Jean-Baptiste de La Salle Gobnait Clare of Assisi Stephen I of Hungary Hippolytus Augustine of Hippo Philip the Apostle Aper of Toul Dorothea of Caesarea Charles Borromeo Peter Stephen John of Nepomuk James, son of Alphaeus Luke the Evangelist Saint Lucy Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Margaret the Virgin Saint George Hubertus William of Maleval Ignatius of Loyola Mary Magdalene Helena of Constantinople Andrew Saint Cajetan Saint Wenceslaus I, Duke of Bohemia Pancras of Rome Brice of Tours Francis de Sales Saint Veronica Suitbert of Kaiserswerdt Cyriacus Paul Teresa of Ávila Louis IX of France Saint Christopher Saint Gall Joan of Arc Saint Petronilla Adalbert of Prague Nazarius James Adelaide, Abbess of Vilich Saint Emeric of Hungary Thomas the Apostle Saint Ursula Saint Nicholas Eusebius of Esztergom Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria Henry John the Baptist Camillus de Lellis Agnes of Rome John of God Alexius of Rome Norbert of Xanten Saint Cecilia Matthew the Apostle Lambert of Maastricht Urban of Langres Clement of Ohrid Zita John the Apostle Saint Blaise Bruno of Cologne Saint Giles Saint Remigius Saint Apollonia Saint Anna Henry II, Holy Roman Emperor Albertus Magnus Viktor of Xanten Elizabeth of Hungary Lawrence of Rome Joseph of Arimathea Gertrude of Nivelles Agatha of Sicily Saint Boniface Jerome Charalampus Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
134
action count
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Fabian
relation patron saint
type temple
type occupation
[[{'concept': 'temple'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { { VALUES ( ?b ) { ( ontology:temple ) ( ontology:occupation ) } . ?m rdf:type ?b } . ?m property:patron_saint resource:Fabian } } . FILTER ( ?e > ?u ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) ?d WHERE { { ?s property:patron_saint ?d . ?d rdf:type ontology:common_name . ?s rdf:type ontology:temple } UNION { ?d rdf:type ontology:common_name . ?s rdf:type ontology:occupation . ?s property:patron_saint ?d } } GROUP BY ?d } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do atmost 6795 people know to play ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 6795
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?n <= 6795 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 6795
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?n <= 6795 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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 Q8355 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 atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 6795
Atmost 6795 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?n <= 6795 ) }
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 violin 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
Atmost 6795 people know about davul, harpsichord and Wurlitzer electric piano
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 6795
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?n <= 6795 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q130582
P1532
Q15617994
USER
How many administrative territories are represented by China PR national football team ?
(Q130582,P1532,c(Q15617994))
action count
action filter_type
action find
entity Q130582
relation P1532
type Q15617994
['Q130582', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Q130582 property:P1532 ?w . ?w rdf:type ontology:Q15617994 }
China PR national football team
action count
action filter_type
action find
entity China PR national football team
relation country for sport
type designation for an administrative territorial entity
['China PR national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:China_PR_national_football_team property:country_for_sport ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q148
(Q130582,P1532,c(Q15617994))
action count
action filter_type
action find
entity Q130582
relation P1532
type Q15617994
[ANSWER]
['Q130582', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Q130582 property:P1532 ?w . ?w rdf:type ontology:Q15617994 }
People's Republic of China
1
action count
action filter_type
action find
entity China PR national football team
relation country for sport
type designation for an administrative territorial entity
['China PR national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:China_PR_national_football_team property:country_for_sport ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q130582
P1344
Q15275719
USER
What did that national sports team participate in ?
action filter_type
action find
entity Q130582
relation P1344
type Q15275719
SELECT DISTINCT ?x WHERE { resource:Q130582 property:P1344 ?x . ?x rdf:type ontology:Q15275719 }
China PR national football team
action filter_type
action find
entity China PR national football team
relation participant of
type recurring event
SELECT DISTINCT ?x WHERE { resource:China_PR_national_football_team property:participant_of ?x . ?x rdf:type ontology:recurring_event }
[]
recurring event
Q47735
SYSTEM
2002 FIFA World Cup
Q47735
action filter_type
action find
entity Q130582
relation P1344
type Q15275719
That national sports team participated in [ANSWER]
SELECT DISTINCT ?x WHERE { resource:Q130582 property:P1344 ?x . ?x rdf:type ontology:Q15275719 }
2002 FIFA World Cup
That national sports team participated in 2002 FIFA World Cup
2002 FIFA World Cup
action filter_type
action find
entity China PR national football team
relation participant of
type recurring event
SELECT DISTINCT ?x WHERE { resource:China_PR_national_football_team property:participant_of ?x . ?x rdf:type ontology:recurring_event }
[]