Simple Question (Direct)
Simple Question
Q5238930
P21
Q290
USER
Which sex does David Rayner belong to ?
(Q5238930,P21,c(Q290))
action filter_type
action find
entity Q5238930
relation P21
type Q290
['Q5238930', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q5238930 property:P21 ?v . ?v rdf:type ontology:Q290 }
David Rayner
action filter_type
action find
entity David Rayner
relation gender
type sex
['David Rayner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:David_Rayner property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5238930,P21,c(Q290))
action filter_type
action find
entity Q5238930
relation P21
type Q290
David Rayner belongs to [ANSWER]
['Q5238930', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q5238930 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
David Rayner belongs to male
male
action filter_type
action find
entity David Rayner
relation gender
type sex
['David Rayner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:David_Rayner property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5238930
P641
Q349
USER
Which sport did David Rayner participate in ?
(Q5238930,P641,c(Q349))
action filter_type
action find
entity Q5238930
relation P641
type Q349
['Q5238930', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q5238930 property:P641 ?d . ?d rdf:type ontology:Q349 }
David Rayner
action filter_type
action find
entity David Rayner
relation sport
type sport
['David Rayner', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:David_Rayner property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5238930,P641,c(Q349))
action filter_type
action find
entity Q5238930
relation P641
type Q349
David Rayner participated in [ANSWER]
['Q5238930', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q5238930 property:P641 ?d . ?d rdf:type ontology:Q349 }
association football
David Rayner participated in association football
association football
action filter_type
action find
entity David Rayner
relation sport
type sport
['David Rayner', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:David_Rayner property:sport ?d . ?d rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5238930
P27
Q1048835
USER
Which political territory does that person belong to ?
(Q2736,P27,c(Q1048835))
action filter_type
action find
entity Q5238930
relation P27
type Q1048835
['Q2736', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q5238930 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
David Rayner
action filter_type
action find
entity David Rayner
relation country of citizenship
type political territorial entity
['association football', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:David_Rayner property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664
SYSTEM
New Zealand
Q664
(Q2736,P27,c(Q1048835))
action filter_type
action find
entity Q5238930
relation P27
type Q1048835
That person belongs to a [ANSWER]
['Q2736', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q5238930 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
New Zealand
That person belongs to a New Zealand
New Zealand
action filter_type
action find
entity David Rayner
relation country of citizenship
type political territorial entity
['association football', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:David_Rayner property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1696146 Q5238930
P27
Q1048835
USER
Or Richard Dethlefsen?
OR((Q5238930,P27,c(Q1048835)), (Q1696146,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q5238930
relation P27
action find
entity Q1696146
relation P27
type Q1048835
{'OR': [['Q5238930', 'P27', {'concept': 'Q1048835'}], ['Q1696146', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q5238930 property:P27 ?g } UNION { resource:Q1696146 property:P27 ?g } } . ?g rdf:type ontology:Q1048835 }
Richard Dethlefsen David Rayner
action filter_type
action union
action find
entity David Rayner
relation country of citizenship
action find
entity Richard Dethlefsen
relation country of citizenship
type political territorial entity
{'OR': [['David Rayner', 'country of citizenship', {'concept': 'political territorial entity'}], ['Richard Dethlefsen', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:David_Rayner property:country_of_citizenship ?g } UNION { resource:Richard_Dethlefsen property:country_of_citizenship ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q183
SYSTEM
New Zealand, Germany
Q664 Q183
OR((Q5238930,P27,c(Q1048835)), (Q1696146,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q5238930
relation P27
action find
entity Q1696146
relation P27
type Q1048835
[ANSWERS]
{'OR': [['Q5238930', 'P27', {'concept': 'Q1048835'}], ['Q1696146', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q5238930 property:P27 ?g } UNION { resource:Q1696146 property:P27 ?g } } . ?g rdf:type ontology:Q1048835 }
New Zealand Germany
New Zealand Germany
action filter_type
action union
action find
entity David Rayner
relation country of citizenship
action find
entity Richard Dethlefsen
relation country of citizenship
type political territorial entity
{'OR': [['David Rayner', 'country of citizenship', {'concept': 'political territorial entity'}], ['Richard Dethlefsen', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:David_Rayner property:country_of_citizenship ?g } UNION { resource:Richard_Dethlefsen property:country_of_citizenship ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q736
P530
Q15617994 Q1048835
USER
Which administrative territories holds diplomatic relationship with lesser number of political territories than Ecuador ?
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q736
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?w ) WHERE { ?o rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1048835 . ?k property:P530 ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Q736 property:P530 ?s . ?s rdf:type ontology:Q1048835 } } . FILTER ( ?w < ?t ) }
Ecuador
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Ecuador
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?w ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_territorial_entity . ?k property:diplomatic_relation ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Ecuador property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } } . FILTER ( ?w < ?t ) }
[]
designation for an administrative territorial entity political territorial entity
Q230 Q184 Q32
SYSTEM
Georgia, Belarus, Luxembourg
Q702 Q805 Q262 Q784 Q265 Q37 Q712 Q710 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q736
relation P530
type Q1048835
[ANSWERS] hold diplomatic relationship with lesser number of political territories than Ecuador
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?w ) WHERE { ?o rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1048835 . ?k property:P530 ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Q736 property:P530 ?s . ?s rdf:type ontology:Q1048835 } } . FILTER ( ?w < ?t ) }
Federated States of Micronesia Yemen Algeria Dominica Uzbekistan Lithuania Fiji Kiribati Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
Georgia, Belarus and Luxembourg hold diplomatic relationship with lesser number of political territories than Ecuador
Georgia Belarus Luxembourg
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Ecuador
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?w ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_territorial_entity . ?k property:diplomatic_relation ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Ecuador property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } } . FILTER ( ?w < ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q697
P530
Q15617994 Q1048835
USER
And also tell me about Nauru?
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q697
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1048835 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Q697 property:P530 ?t . ?t rdf:type ontology:Q1048835 } } . FILTER ( ?j < ?f ) }
Nauru
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Nauru
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:political_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Nauru property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } } . FILTER ( ?j < ?f ) }
[]
designation for an administrative territorial entity political territorial entity
Q805 Q858 Q842
SYSTEM
Yemen, Syria, Oman
Q805 Q784 Q710 Q399 Q398 Q790 Q1013 Q236 Q842 Q970 Q874 Q858
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q697
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1048835 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Q697 property:P530 ?t . ?t rdf:type ontology:Q1048835 } } . FILTER ( ?j < ?f ) }
Yemen Dominica Kiribati Armenia Bahrain Haiti Lesotho Montenegro Oman Comoros Turkmenistan Syria
Yemen Syria Oman
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Nauru
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:political_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Nauru property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } } . FILTER ( ?j < ?f ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q805
P463
Q43229
USER
What organizations had that administrative territory as their member ?
(Q805,P463,c(Q43229))
action filter_type
action find
entity Q805
relation P463
type Q43229
['Q805', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q805 property:P463 ?y . ?y rdf:type ontology:Q43229 }
Yemen
action filter_type
action find
entity Yemen
relation member of
type organization
['Yemen', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Yemen property:member_of ?y . ?y rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q842
SYSTEM
Did you mean Oman ?
Q805 Q858 Q842
(Q805,P463,c(Q43229)) (Q858,P463,c(Q43229)) (Q842,P463,c(Q43229))
[ANSWER]
['Q805', 'P463', {'concept': 'Q43229'}] ['Q858', 'P463', {'concept': 'Q43229'}] ['Q842', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q805 property:P463 ?y . ?y rdf:type ontology:Q43229 }
Yemen Syria Oman
Did you mean Oman ?
Oman
['Yemen', 'member of', {'concept': 'organization'}] ['Syria', 'member of', {'concept': 'organization'}] ['Oman', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Yemen property:member_of ?y . ?y rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Yemen. Could you tell me the answer for that?
(Q805,P463,c(Q43229))
Q805
['Q805', 'P463', {'concept': 'Q43229'}]
['Yemen', 'member of', {'concept': 'organization'}]
[]
Q624307 Q191384 Q656801
SYSTEM
Arab Monetary Fund, International Bank for Reconstruction and Development, International Finance Corporation
Q624307 Q191384 Q656801 Q899770 Q827525
(Q805,P463,c(Q43229))
action filter_type
action find
entity Q805
relation P463
type Q43229
[ANSWERS] had that administrative territory as their member
['Q805', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q805 property:P463 ?y . ?y rdf:type ontology:Q43229 }
Arab Monetary Fund International Bank for Reconstruction and Development International Finance Corporation International Centre for Settlement of Investment Disputes International Development Association
Arab Monetary Fund, International Bank for Reconstruction and Development and International Finance Corporation had that administrative territory as their member
Arab Monetary Fund International Bank for Reconstruction and Development International Finance Corporation
action filter_type
action find
entity Yemen
relation member of
type organization
['Yemen', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Yemen property:member_of ?y . ?y rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q245755 Q5238930
P54
Q1194951
USER
Which national sports teams have David Rayner or Aleksejs Auziņš as their member ?
OR((Q5238930,P54,c(Q1194951)), (Q245755,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q5238930
relation P54
action find
entity Q245755
relation P54
type Q1194951
{'OR': [['Q5238930', 'P54', {'concept': 'Q1194951'}], ['Q245755', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q245755 property:P54 ?f } UNION { resource:Q5238930 property:P54 ?f } } . ?f rdf:type ontology:Q1194951 }
Aleksejs Auziņš David Rayner
action filter_type
action union
action find
entity David Rayner
relation member of sports team
action find
entity Aleksejs Auziņš
relation member of sports team
type national sports team
{'OR': [['David Rayner', 'member of sports team', {'concept': 'national sports team'}], ['Aleksejs Auziņš', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Aleksejs_Auziņš property:member_of_sports_team ?f } UNION { resource:David_Rayner property:member_of_sports_team ?f } } . ?f rdf:type ontology:national_sports_team }
[]
national sports team
Q189322 Q175315
SYSTEM
Latvia national football team, New Zealand national football team
Q189322 Q175315
OR((Q5238930,P54,c(Q1194951)), (Q245755,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q5238930
relation P54
action find
entity Q245755
relation P54
type Q1194951
[ANSWERS] have David Rayner or Aleksejs Auziņš as their member
{'OR': [['Q5238930', 'P54', {'concept': 'Q1194951'}], ['Q245755', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q245755 property:P54 ?f } UNION { resource:Q5238930 property:P54 ?f } } . ?f rdf:type ontology:Q1194951 }
Latvia national football team New Zealand national football team
Latvia national football team and New Zealand national football team have David Rayner or Aleksejs Auziņš as their member
Latvia national football team New Zealand national football team
action filter_type
action union
action find
entity David Rayner
relation member of sports team
action find
entity Aleksejs Auziņš
relation member of sports team
type national sports team
{'OR': [['David Rayner', 'member of sports team', {'concept': 'national sports team'}], ['Aleksejs Auziņš', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Aleksejs_Auziņš property:member_of_sports_team ?f } UNION { resource:David_Rayner property:member_of_sports_team ?f } } . ?f rdf:type ontology:national_sports_team }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1923
Q1194951 Q13406554 Q15275719
USER
Which national sports teams took part in atmost 22 sport competitions and recurring events ?
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action atmost
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
value 22
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?r WHERE { VALUES ( ?f ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?h rdf:type ?f } GROUP BY ?r } . FILTER ( ?q <= 22 ) }
action atmost
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
value 22
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?r WHERE { VALUES ( ?f ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?h rdf:type ?f } GROUP BY ?r } . FILTER ( ?q <= 22 ) }
[]
national sports team sport competition recurring event
Q166196 Q83459 Q42267
SYSTEM
Poland national football team, Brazil national football team, Spain national football team
Q170327 Q130582 Q212166 Q207441 Q189322 Q34044 Q174512 Q21130178 Q193386 Q172014 Q223748 Q180187 Q188228 Q190978 Q21130160 Q212564 Q236014 Q180845 Q21130162 Q21130165 Q21130166 Q21130168 Q235910 Q987584 Q267245 Q1131732 Q192828 Q166776 Q270080 Q182740 Q160826 Q180857 Q543842 Q726080 Q27971 Q170403 Q170561 Q172025 Q172020 Q170566 Q268208 Q175315 Q214151 Q186262 Q194387 Q191406 Q172221 Q175145 Q134479 Q191595 Q47050 Q42267 Q21130170 Q181903 Q189275 Q166196 Q83459 Q175309 Q152424 Q207337 Q164089 Q181190 Q163534 Q188363 Q186243 Q131785 Q184387 Q168397 Q235399 Q483856 Q165141 Q47774 Q189198 Q28089 Q163547 Q236006 Q721418 Q182072 Q184602 Q192149 Q164134 Q14132 Q2535606 Q21130157 Q21130156 Q483868 Q79800 Q134916 Q47762 Q181930 Q208635 Q189723 Q206828 Q134925
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action atmost
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
value 22
[ANSWERS] took part in atmost 22 sport competitions and recurring events
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?r WHERE { VALUES ( ?f ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?h rdf:type ?f } GROUP BY ?r } . FILTER ( ?q <= 22 ) }
South Africa national football team China PR national football team Peru national football team Senegal national football team Latvia national football team Scotland national football team Slovakia national football team Transylvania national quidditch team Bolivia national football team Ghana national football team Panama national football team Honduras national football team El Salvador national football team Northern Ireland national football team England national quidditch team Colombia national football team Cuba national football team Bulgaria national football team Wales national quidditch team Scotland national quidditch team Luxembourg national quidditch team Uganda national quidditch team United Arab Emirates national football team Ecuador national football team Portugal national football team Serbia and Montenegro national football team Angola national football team Belgium national football team Congo DR national football team Serbia national football team Sweden national football team Wales national football team South Korea national football team Russia national football team Tunisia national football team Ukraine national football team Hungary national football team Chile national football team Paraguay national football team Japan national football team Australia national association football team New Zealand national football team Venezuela national football team Albania national football team Costa Rica national football team Israel national football team Slovenia national football team Ivory Coast national football team Croatia national football team Togo national football team Netherlands national football team Spain national football team Peru national quidditch team Algeria national football team Soviet Union national football team Poland national football team Brazil national football team Cameroon national football team East Germany national football team Morocco national football team Mexico national football team Bosnia and Herzegovina national football team Austria national football team Yugoslavia national football team Iraq national football team Denmark national football team Norway national football team Romania national football team Jamaica national football team Turkey national football team Swiss national football team France national football team Iceland national football team Egypt national football team Republic of Ireland national football team Haiti national football team CIS national football team Czechoslovakia national football team Iran national football team Trinidad and Tobago national football team United States men's national soccer team North Korea national football team Dutch East Indies national football team Bulgaria national quidditch team Ireland national quidditch team Czech Republic national football team Argentina national football team Uruguay national football team England national football team Nigeria national football team Canada national soccer team Saudi Arabia national football team Kuwait national football team Greece national football team
Poland national football team, Brazil national football team and Spain national football team took part in atmost 22 sport competitions and recurring events
Poland national football team Brazil national football team Spain national football team
action atmost
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
value 22
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?r WHERE { VALUES ( ?f ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?h rdf:type ?f } GROUP BY ?r } . FILTER ( ?q <= 22 ) }
[]