Simple Question (Direct)
Simple Question
Q3992667
P641
Q349
USER
Which sport was Tomislav Glumac a part of ?
(Q3992667,P641,c(Q349))
action filter_type
action find
entity Q3992667
relation P641
type Q349
['Q3992667', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q3992667 property:P641 ?s . ?s rdf:type ontology:Q349 }
Tomislav Glumac
action filter_type
action find
entity Tomislav Glumac
relation sport
type sport
['Tomislav Glumac', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Tomislav_Glumac property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3992667,P641,c(Q349))
action filter_type
action find
entity Q3992667
relation P641
type Q349
Team [ANSWER] was Tomislav Glumac a part of
['Q3992667', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q3992667 property:P641 ?s . ?s rdf:type ontology:Q349 }
association football
Team association football was Tomislav Glumac a part of
association football
action filter_type
action find
entity Tomislav Glumac
relation sport
type sport
['Tomislav Glumac', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Tomislav_Glumac property:sport ?s . ?s rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Which territory is the country of origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?u WHERE { resource:Q2736 property:P495 ?u . ?u rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:association_football property:country_of_origin ?u . ?u rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
[ANSWER] is the country of origin of that sport
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?u WHERE { resource:Q2736 property:P495 ?u . ?u rdf:type ontology:Q1496967 }
England
England is the country of origin of that sport
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:association_football property:country_of_origin ?u . ?u rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P366
Q1076486
USER
Which sports venues are mainly used as that sport ?
(c(Q1076486),P366,Q21)
action filter_type
action find_reverse
entity Q2736
relation P366
type Q1076486
[{'concept': 'Q1076486'}, 'P366', 'Q21']
SELECT DISTINCT ?y WHERE { ?y property:P366 resource:Q2736 . ?y rdf:type ontology:Q1076486 }
association football
action filter_type
action find_reverse
entity association football
relation use
type sports venue
[{'concept': 'sports venue'}, 'use', 'England']
SELECT DISTINCT ?y WHERE { ?y property:use resource:association_football . ?y rdf:type ontology:sports_venue }
[]
sports venue
Q867234 Q824352 Q2701834
SYSTEM
Swedbank Stadion, Ullevi, Tele2 Arena
Q935604 Q7536143 Q2301634 Q2701834 Q6744417 Q6711371 Q867234 Q7417550 Q5375261 Q501184 Q15057990 Q1421187 Q1238576 Q824352 Q7845178 Q1326393 Q1165409 Q7619895 Q1453337 Q2093297 Q1154710 Q151379 Q7944304 Q5464623 Q627087 Q7289779 Q4266901 Q1780359 Q5004954 Q571624 Q5743985 Q9393595 Q6917112 Q10540509 Q725623 Q739184 Q1583034 Q4530146 Q982837 Q1568614 Q814577 Q15077481 Q165944 Q15057987 Q727078 Q15057985 Q1138684 Q175960 Q1776735 Q197911 Q3435821 Q638087 Q15195205 Q4444527
(c(Q1076486),P366,Q21)
action filter_type
action find_reverse
entity Q2736
relation P366
type Q1076486
[ANSWERS] are mainly used as that sport
[{'concept': 'Q1076486'}, 'P366', 'Q21']
SELECT DISTINCT ?y WHERE { ?y property:P366 resource:Q2736 . ?y rdf:type ontology:Q1076486 }
Markbygg Arena Skogsvallen Strömvallen Tele2 Arena Malmö IP Lövåsvallen Swedbank Stadion Sandåkerns IP Enavallen Stadsparksvallen Hillängens IP Guldfågeln Arena Domnarvsvallen Ullevi Trollebo IP Rambergsvallen Swedbank Park Stora Valla Fredriksskans Ryavallen football stadium T3 Arena Vägga IP Folkungavallen Borås Arena Ramnavallen Tranebergs Idrottsplats Norrporten Arena Bårsta IP Idrottsparken Herrgärdets IP Ängelholms IP Motala Idrottspark Johanneshovs IP Råsunda Stadium Landskrona IP Myresjöhus Arena Ekvallen Linköping Arena Södertälje Fotbollsarena Behrn Arena Gamla Ullevi Gamla Ullevi Kamratvallen Stockholm Olympic Stadium Norra IP Friends Arena Malmö stadion Söderstadion Zhongshan Soccer Stadium Jämtkraft Arena Olympia Tyresövallen Studenternas IP
Swedbank Stadion, Ullevi and Tele2 Arena are mainly used as that sport
Swedbank Stadion Ullevi Tele2 Arena
action filter_type
action find_reverse
entity association football
relation use
type sports venue
[{'concept': 'sports venue'}, 'use', 'England']
SELECT DISTINCT ?y WHERE { ?y property:use resource:association_football . ?y rdf:type ontology:sports_venue }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P276
Q15275719 Q13406554
USER
How many recurring events and sport competitions are located at that sports venue ?
(c(Q15275719),P276,Q824352) (c(Q13406554),P276,Q824352) (c(Q15275719),P276,Q867234) (c(Q13406554),P276,Q867234) (c(Q15275719),P276,Q824352) (c(Q13406554),P276,Q824352) (c(Q15275719),P276,Q2701834) (c(Q13406554),P276,Q2701834)
[{'concept': 'Q15275719'}, 'P276', 'Q824352'] [{'concept': 'Q13406554'}, 'P276', 'Q824352'] [{'concept': 'Q15275719'}, 'P276', 'Q867234'] [{'concept': 'Q13406554'}, 'P276', 'Q867234'] [{'concept': 'Q15275719'}, 'P276', 'Q824352'] [{'concept': 'Q13406554'}, 'P276', 'Q824352'] [{'concept': 'Q15275719'}, 'P276', 'Q2701834'] [{'concept': 'Q13406554'}, 'P276', 'Q2701834']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q17334923 resource:Q824352 } UNION { ?y property:Q17334923 resource:Q824352 } UNION { ?z property:Q17334923 resource:Q867234 } UNION { ?y property:Q17334923 resource:Q867234 } UNION { ?z property:Q17334923 resource:Q824352 } UNION { ?y property:Q17334923 resource:Q824352 } UNION { ?z property:Q17334923 resource:Q2701834 } UNION { ?y property:Q17334923 resource:Q2701834 } } . ?z rdf:type ontology:Q15275719 . ?y rdf:type ontology:Q13406554 }
[{'concept': 'recurring event'}, 'location', 'Ullevi'] [{'concept': 'sport competition'}, 'location', 'Ullevi'] [{'concept': 'recurring event'}, 'location', 'Swedbank Stadion'] [{'concept': 'sport competition'}, 'location', 'Swedbank Stadion'] [{'concept': 'recurring event'}, 'location', 'Ullevi'] [{'concept': 'sport competition'}, 'location', 'Ullevi'] [{'concept': 'recurring event'}, 'location', 'Tele2 Arena'] [{'concept': 'sport competition'}, 'location', 'Tele2 Arena']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location resource:Ullevi } UNION { ?y property:location resource:Ullevi } UNION { ?z property:location resource:Swedbank_Stadion } UNION { ?y property:location resource:Swedbank_Stadion } UNION { ?z property:location resource:Ullevi } UNION { ?y property:location resource:Ullevi } UNION { ?z property:location resource:Tele2_Arena } UNION { ?y property:location resource:Tele2_Arena } } . ?z rdf:type ontology:recurring_event . ?y rdf:type ontology:sport_competition }
[]
recurring event sport competition
Quantitative|Count|Mult. entity type|Clarification
Q824352
SYSTEM
Did you mean Ullevi ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q17334923 resource:Q824352 } UNION { ?y property:Q17334923 resource:Q824352 } UNION { ?z property:Q17334923 resource:Q867234 } UNION { ?y property:Q17334923 resource:Q867234 } UNION { ?z property:Q17334923 resource:Q824352 } UNION { ?y property:Q17334923 resource:Q824352 } UNION { ?z property:Q17334923 resource:Q2701834 } UNION { ?y property:Q17334923 resource:Q2701834 } } . ?z rdf:type ontology:Q15275719 . ?y rdf:type ontology:Q13406554 }
Did you mean Ullevi ?
Ullevi
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location resource:Ullevi } UNION { ?y property:location resource:Ullevi } UNION { ?z property:location resource:Swedbank_Stadion } UNION { ?y property:location resource:Swedbank_Stadion } UNION { ?z property:location resource:Ullevi } UNION { ?y property:location resource:Ullevi } UNION { ?z property:location resource:Tele2_Arena } UNION { ?y property:location resource:Tele2_Arena } } . ?z rdf:type ontology:recurring_event . ?y rdf:type ontology:sport_competition }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q15275719),P276,Q824352) (c(Q13406554),P276,Q824352) (c(Q15275719),P276,Q867234) (c(Q13406554),P276,Q867234) (c(Q15275719),P276,Q824352) (c(Q13406554),P276,Q824352) (c(Q15275719),P276,Q2701834) (c(Q13406554),P276,Q2701834)
[{'concept': 'Q15275719'}, 'P276', 'Q824352'] [{'concept': 'Q13406554'}, 'P276', 'Q824352'] [{'concept': 'Q15275719'}, 'P276', 'Q867234'] [{'concept': 'Q13406554'}, 'P276', 'Q867234'] [{'concept': 'Q15275719'}, 'P276', 'Q824352'] [{'concept': 'Q13406554'}, 'P276', 'Q824352'] [{'concept': 'Q15275719'}, 'P276', 'Q2701834'] [{'concept': 'Q13406554'}, 'P276', 'Q2701834']
[{'concept': 'recurring event'}, 'location', 'Ullevi'] [{'concept': 'sport competition'}, 'location', 'Ullevi'] [{'concept': 'recurring event'}, 'location', 'Swedbank Stadion'] [{'concept': 'sport competition'}, 'location', 'Swedbank Stadion'] [{'concept': 'recurring event'}, 'location', 'Ullevi'] [{'concept': 'sport competition'}, 'location', 'Ullevi'] [{'concept': 'recurring event'}, 'location', 'Tele2 Arena'] [{'concept': 'sport competition'}, 'location', 'Tele2 Arena']
[]
SYSTEM
1 recurring events and 1 sport competitions
Q132533 Q651420
(c(Q15275719),P276,Q824352) (c(Q13406554),P276,Q824352) (c(Q15275719),P276,Q867234) (c(Q13406554),P276,Q867234) (c(Q15275719),P276,Q824352) (c(Q13406554),P276,Q824352) (c(Q15275719),P276,Q2701834) (c(Q13406554),P276,Q2701834)
[ANSWER]
[{'concept': 'Q15275719'}, 'P276', 'Q824352'] [{'concept': 'Q13406554'}, 'P276', 'Q824352'] [{'concept': 'Q15275719'}, 'P276', 'Q867234'] [{'concept': 'Q13406554'}, 'P276', 'Q867234'] [{'concept': 'Q15275719'}, 'P276', 'Q824352'] [{'concept': 'Q13406554'}, 'P276', 'Q824352'] [{'concept': 'Q15275719'}, 'P276', 'Q2701834'] [{'concept': 'Q13406554'}, 'P276', 'Q2701834']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q17334923 resource:Q824352 } UNION { ?y property:Q17334923 resource:Q824352 } UNION { ?z property:Q17334923 resource:Q867234 } UNION { ?y property:Q17334923 resource:Q867234 } UNION { ?z property:Q17334923 resource:Q824352 } UNION { ?y property:Q17334923 resource:Q824352 } UNION { ?z property:Q17334923 resource:Q2701834 } UNION { ?y property:Q17334923 resource:Q2701834 } } . ?z rdf:type ontology:Q15275719 . ?y rdf:type ontology:Q13406554 }
1958 FIFA World Cup 1995 World Championships in Athletics
1 recurring events and 1 sport competitions
[{'concept': 'recurring event'}, 'location', 'Ullevi'] [{'concept': 'sport competition'}, 'location', 'Ullevi'] [{'concept': 'recurring event'}, 'location', 'Swedbank Stadion'] [{'concept': 'sport competition'}, 'location', 'Swedbank Stadion'] [{'concept': 'recurring event'}, 'location', 'Ullevi'] [{'concept': 'sport competition'}, 'location', 'Ullevi'] [{'concept': 'recurring event'}, 'location', 'Tele2 Arena'] [{'concept': 'sport competition'}, 'location', 'Tele2 Arena']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location resource:Ullevi } UNION { ?y property:location resource:Ullevi } UNION { ?z property:location resource:Swedbank_Stadion } UNION { ?y property:location resource:Swedbank_Stadion } UNION { ?z property:location resource:Ullevi } UNION { ?y property:location resource:Ullevi } UNION { ?z property:location resource:Tele2_Arena } UNION { ?y property:location resource:Tele2_Arena } } . ?z rdf:type ontology:recurring_event . ?y rdf:type ontology:sport_competition }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11889267
P140
Q879146
USER
Which Christian denomination does Saint Nicholas Church (Joensuu) correspond to ?
(Q11889267,P140,c(Q879146))
action filter_type
action find
entity Q11889267
relation P140
type Q879146
['Q11889267', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?g WHERE { resource:Q11889267 property:P140 ?g . ?g rdf:type ontology:Q879146 }
Saint Nicholas Church (Joensuu)
action filter_type
action find
entity Saint Nicholas Church (Joensuu)
relation religion
type Christian denomination
['Saint Nicholas Church (Joensuu)', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?g WHERE { resource:Saint_Nicholas_Church_(Joensuu) property:religion ?g . ?g rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q752470
SYSTEM
Finnish Orthodox Church
Q752470
(Q11889267,P140,c(Q879146))
action filter_type
action find
entity Q11889267
relation P140
type Q879146
[ANSWER] Saint Nicholas Church (Joensuu) corresponds to
['Q11889267', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?g WHERE { resource:Q11889267 property:P140 ?g . ?g rdf:type ontology:Q879146 }
Finnish Orthodox Church
Finnish Orthodox Church Saint Nicholas Church (Joensuu) corresponds to
Finnish Orthodox Church
action filter_type
action find
entity Saint Nicholas Church (Joensuu)
relation religion
type Christian denomination
['Saint Nicholas Church (Joensuu)', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?g WHERE { resource:Saint_Nicholas_Church_(Joensuu) property:religion ?g . ?g rdf:type ontology:Christian_denomination }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2921965
P669
Q79007 Q1076486
USER
How many streets are the locations of less number of sports venues than boulevard d'Auteuil ?
(c(Q1076486),P669,c(Q79007))
action count
action less
action find_reverse_tuple_counts
relation P669
type Q79007
type Q1076486
action count
action filter_type
action find_reverse
entity Q2921965
relation P669
type Q1076486
[{'concept': 'Q1076486'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?q ) WHERE { ?n rdf:type ontology:Q79007 . ?k rdf:type ontology:Q1076486 . ?k property:P669 ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P669 resource:Q2921965 . ?p rdf:type ontology:Q1076486 } } . FILTER ( ?q < ?g ) }
boulevard d'Auteuil
action count
action less
action find_reverse_tuple_counts
relation located on street
type street
type sports venue
action count
action filter_type
action find_reverse
entity boulevard d'Auteuil
relation located on street
type sports venue
[{'concept': 'sports venue'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?q ) WHERE { ?n rdf:type ontology:street . ?k rdf:type ontology:sports_venue . ?k property:located_on_street ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:located_on_street resource:boulevard_d'Auteuil . ?p rdf:type ontology:sports_venue } } . FILTER ( ?q < ?g ) }
[]
street sports venue
SYSTEM
149
Q14629242 Q550 Q2921899 Q2873884 Q2921894 Q2921891 Q2136395 Q2873605 Q3452619 Q2921959 Q2873805 Q2922034 Q2921810 Q2922032 Q2922031 Q3149343 Q2921792 Q2873769 Q2873707 Q2874166 Q2395011 Q2921888 Q2921883 Q2873923 Q2922002 Q2921960 Q2873772 Q2921805 Q790568 Q2921920 Q2874202 Q2921923 Q2921925 Q2921926 Q4099024 Q2404571 Q790581 Q4267094 Q1907324 Q3058454 Q109873 Q2873820 Q2873824 Q41068 Q5348068 Q2922016 Q2921837 Q3007468 Q790578 Q2874056 Q790573 Q2874210 Q2632681 Q2873901 Q2873906 Q2581778 Q3058441 Q2874102 Q2460215 Q2873580 Q2921981 Q2873982 Q2921988 Q2921989 Q2873657 Q2874189 Q2874022 Q2922060 Q2921907 Q2922067 Q895082 Q34441 Q382500 Q590441 Q2873598 Q2873917 Q2873916 Q2079615 Q2921993 Q895076 Q2873649 Q2584356 Q109858 Q2874131 Q2922038 Q2873992 Q2922078 Q2874032 Q2921917 Q2921850 Q934651 Q735620 Q1851236 Q2873654 Q2873874 Q2873735 Q4381087 Q2873964 Q2873967 Q2873636 Q2873739 Q2921966 Q3407377 Q2873508 Q2921844 Q6546819 Q2874182 Q1027566 Q2921775 Q10526423 Q2921772 Q16331713 Q2874151 Q2874152 Q2873862 Q2504703 Q2873974 Q2874015 Q34472 Q2874010 Q2921974 Q2921973 Q2921972 Q2921971 Q2921970 Q2921874 Q2921875 Q2921979 Q3094222 Q2873793 Q3449383 Q790562 Q2921939 Q2873818 Q2873944 Q895077 Q10679907 Q2921942 Q895078 Q2873546 Q2922026 Q3149212 Q7696225 Q2921864 Q533037 Q2921783 Q1007186 Q2384518 Q17518281
(c(Q1076486),P669,c(Q79007))
action count
action less
action find_reverse_tuple_counts
relation P669
type Q79007
type Q1076486
action count
action filter_type
action find_reverse
entity Q2921965
relation P669
type Q1076486
[ANSWER]
[{'concept': 'Q1076486'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?q ) WHERE { ?n rdf:type ontology:Q79007 . ?k rdf:type ontology:Q1076486 . ?k property:P669 ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P669 resource:Q2921965 . ?p rdf:type ontology:Q1076486 } } . FILTER ( ?q < ?g ) }
esplanade Habib-Bourguiba avenue des Champs-Élysées boulevard Poissonnière avenue Winston-Churchill boulevard Pereire boulevard Pasteur H. C. Andersens Boulevard avenue Denfert-Rochereau rue du Trésor boulevard Vincent-Auriol avenue Philippe-Auguste boulevard de la Madeleine boulevard Edgar-Quinet boulevard de la Villette boulevard de la Somme impasse de la Poissonnerie boulevard Brune avenue Matignon avenue Jean-Jaurès avenue du Maine avenue David-Weill boulevard Morland boulevard Masséna avenue de Marigny boulevard de Strasbourg La Défense ring road avenue Maurice-d'Ocagne boulevard Diderot avenue Henri-Martin boulevard Saint-Jacques avenue Élisée-Reclus boulevard Richard-Lenoir boulevard Saint-Marcel boulevard Saint-Martin Boulevard Alexandre-Taché boulevard Saint-Denis avenue Victor-Hugo Laurier Avenue Massachusetts Avenue esplanade du 9-novembre-1989 Sixth Avenue avenue Raymond-Poincaré avenue René-Coty Paulista Avenue Eglinton Avenue boulevard de l'Hôpital boulevard Henri-IV Liteyny Avenue avenue Kléber avenue de la République avenue Mozart avenue Émile-Zola Moskovsky Prospekt avenue de Camoëns avenue de Flandre boulevard des Invalides esplanade Pierre-Vidal-Naquet avenue des Gobelins Saint Laurent Boulevard avenue Claude-Vellefaux boulevard de Clichy avenue de l'Observatoire boulevard de Montmorency boulevard de Ménilmontant avenue George V avenue du Président-Wilson avenue de la Porte-de-Charenton Boulevard du Crime boulevard Poniatowski boulevard du Palais boulevard des Italiens Bundesstraße 2 Nevsky Prospect boulevard des Capucines avenue Daumesnil avenue de France avenue de Friedland Paseo del Prado boulevard de Port-Royal boulevard Haussmann avenue Gabriel Vasilissis Sofias Avenue Fifth Avenue avenue du Colonel-Henri-Rol-Tanguy boulevard des Batignolles avenue de la Belle-Gabrielle boulevard du Montparnasse avenue de la Porte-de-Montrouge boulevard Raspail boulevard Jourdan Bulevar kralja Aleksandra avenue Montaigne boulevard du Temple avenue Gambetta avenue Victoria avenue Junot Vernadskogo Avenue avenue de Versailles avenue de Villiers avenue Franklin-D.-Roosevelt avenue Ledru-Rollin boulevard Voltaire promenade du Peyrou avenue Albert-de-Mun boulevard Jules-Ferry Ligovsky Avenue Park Avenue boulevard Montmartre boulevard Auguste-Blanqui Hornstulls strand boulevard Arago Leoforos Megalou Alexandrou avenue du Général-Leclerc avenue du Général-Lemonnier avenue Trudaine boulevard de Rochechouart avenue de Wagram avenue de la Porte-d'Auteuil Bundesstraße 13 avenue de l'Opéra boulevard de Courcelles boulevard de Charonne boulevard de Bonne-Nouvelle boulevard de Bercy boulevard de Belleville boulevard Malesherbes boulevard Macdonald boulevard de Grenelle Grote Houtstraat avenue Parmentier Patission Street avenue Foch boulevard Soult avenue Rachel avenue de Saint-Mandé boulevard de Magenta Stigbergsgatan boulevard Sérurier boulevard Saint-Michel avenue Bugeaud boulevard de la Chapelle impasse Chartière Telegraph Avenue boulevard Lannes boulevard Saint-Germain boulevard Bessières Bundesstraße 466 Independence Avenue cours Saint-Pierre
149
action count
action less
action find_reverse_tuple_counts
relation located on street
type street
type sports venue
action count
action filter_type
action find_reverse
entity boulevard d'Auteuil
relation located on street
type sports venue
[{'concept': 'sports venue'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?q ) WHERE { ?n rdf:type ontology:street . ?k rdf:type ontology:sports_venue . ?k property:located_on_street ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:located_on_street resource:boulevard_d'Auteuil . ?p rdf:type ontology:sports_venue } } . FILTER ( ?q < ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2391303
P669
Q79007 Q1076486
USER
And also tell me about avenue de la Porte-Molitor?
(c(Q1076486),P669,c(Q79007))
action count
action less
action find_reverse_tuple_counts
relation P669
type Q79007
type Q1076486
action count
action filter_type
action find_reverse
entity Q2391303
relation P669
type Q1076486
[{'concept': 'Q1076486'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:P669 ?s . ?s rdf:type ontology:Q79007 . ?g rdf:type ontology:Q1076486 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l rdf:type ontology:Q1076486 . ?l property:P669 resource:Q2391303 } } . FILTER ( ?i < ?h ) }
avenue de la Porte-Molitor
action count
action less
action find_reverse_tuple_counts
relation located on street
type street
type sports venue
action count
action filter_type
action find_reverse
entity avenue de la Porte-Molitor
relation located on street
type sports venue
[{'concept': 'sports venue'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:located_on_street ?s . ?s rdf:type ontology:street . ?g rdf:type ontology:sports_venue } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l rdf:type ontology:sports_venue . ?l property:located_on_street resource:avenue_de_la_Porte-Molitor } } . FILTER ( ?i < ?h ) }
[]
street sports venue
SYSTEM
149
Q14629242 Q550 Q2921899 Q2873884 Q2921894 Q2921891 Q2136395 Q2873605 Q3452619 Q2921959 Q2873805 Q2922034 Q2921810 Q2922032 Q2922031 Q3149343 Q2921792 Q2873769 Q2873707 Q2874166 Q2395011 Q2921888 Q2921883 Q2873923 Q2922002 Q2921960 Q2873772 Q2921805 Q790568 Q2921920 Q2874202 Q2921923 Q2921925 Q2921926 Q4099024 Q2404571 Q790581 Q4267094 Q1907324 Q3058454 Q109873 Q2873820 Q2873824 Q41068 Q5348068 Q2922016 Q2921837 Q3007468 Q790578 Q2874056 Q790573 Q2874210 Q2632681 Q2873901 Q2873906 Q2581778 Q3058441 Q2874102 Q2460215 Q2873580 Q2921981 Q2873982 Q2921988 Q2921989 Q2873657 Q2874189 Q2874022 Q2922060 Q2921907 Q2922067 Q895082 Q34441 Q382500 Q590441 Q2873598 Q2873917 Q2873916 Q2079615 Q2921993 Q895076 Q2873649 Q2584356 Q109858 Q2874131 Q2922038 Q2873992 Q2922078 Q2874032 Q2921917 Q2921850 Q934651 Q735620 Q1851236 Q2873654 Q2873874 Q2873735 Q4381087 Q2873964 Q2873967 Q2873636 Q2873739 Q2921966 Q3407377 Q2873508 Q2921844 Q6546819 Q2874182 Q1027566 Q2921775 Q10526423 Q2921772 Q16331713 Q2874151 Q2874152 Q2873862 Q2504703 Q2873974 Q2874015 Q34472 Q2874010 Q2921974 Q2921973 Q2921972 Q2921971 Q2921970 Q2921874 Q2921875 Q2921979 Q3094222 Q2873793 Q3449383 Q790562 Q2921939 Q2873818 Q2873944 Q895077 Q10679907 Q2921942 Q895078 Q2873546 Q2922026 Q3149212 Q7696225 Q2921864 Q533037 Q2921783 Q1007186 Q2384518 Q17518281
(c(Q1076486),P669,c(Q79007))
action count
action less
action find_reverse_tuple_counts
relation P669
type Q79007
type Q1076486
action count
action filter_type
action find_reverse
entity Q2391303
relation P669
type Q1076486
[ANSWER]
[{'concept': 'Q1076486'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:P669 ?s . ?s rdf:type ontology:Q79007 . ?g rdf:type ontology:Q1076486 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l rdf:type ontology:Q1076486 . ?l property:P669 resource:Q2391303 } } . FILTER ( ?i < ?h ) }
esplanade Habib-Bourguiba avenue des Champs-Élysées boulevard Poissonnière avenue Winston-Churchill boulevard Pereire boulevard Pasteur H. C. Andersens Boulevard avenue Denfert-Rochereau rue du Trésor boulevard Vincent-Auriol avenue Philippe-Auguste boulevard de la Madeleine boulevard Edgar-Quinet boulevard de la Villette boulevard de la Somme impasse de la Poissonnerie boulevard Brune avenue Matignon avenue Jean-Jaurès avenue du Maine avenue David-Weill boulevard Morland boulevard Masséna avenue de Marigny boulevard de Strasbourg La Défense ring road avenue Maurice-d'Ocagne boulevard Diderot avenue Henri-Martin boulevard Saint-Jacques avenue Élisée-Reclus boulevard Richard-Lenoir boulevard Saint-Marcel boulevard Saint-Martin Boulevard Alexandre-Taché boulevard Saint-Denis avenue Victor-Hugo Laurier Avenue Massachusetts Avenue esplanade du 9-novembre-1989 Sixth Avenue avenue Raymond-Poincaré avenue René-Coty Paulista Avenue Eglinton Avenue boulevard de l'Hôpital boulevard Henri-IV Liteyny Avenue avenue Kléber avenue de la République avenue Mozart avenue Émile-Zola Moskovsky Prospekt avenue de Camoëns avenue de Flandre boulevard des Invalides esplanade Pierre-Vidal-Naquet avenue des Gobelins Saint Laurent Boulevard avenue Claude-Vellefaux boulevard de Clichy avenue de l'Observatoire boulevard de Montmorency boulevard de Ménilmontant avenue George V avenue du Président-Wilson avenue de la Porte-de-Charenton Boulevard du Crime boulevard Poniatowski boulevard du Palais boulevard des Italiens Bundesstraße 2 Nevsky Prospect boulevard des Capucines avenue Daumesnil avenue de France avenue de Friedland Paseo del Prado boulevard de Port-Royal boulevard Haussmann avenue Gabriel Vasilissis Sofias Avenue Fifth Avenue avenue du Colonel-Henri-Rol-Tanguy boulevard des Batignolles avenue de la Belle-Gabrielle boulevard du Montparnasse avenue de la Porte-de-Montrouge boulevard Raspail boulevard Jourdan Bulevar kralja Aleksandra avenue Montaigne boulevard du Temple avenue Gambetta avenue Victoria avenue Junot Vernadskogo Avenue avenue de Versailles avenue de Villiers avenue Franklin-D.-Roosevelt avenue Ledru-Rollin boulevard Voltaire promenade du Peyrou avenue Albert-de-Mun boulevard Jules-Ferry Ligovsky Avenue Park Avenue boulevard Montmartre boulevard Auguste-Blanqui Hornstulls strand boulevard Arago Leoforos Megalou Alexandrou avenue du Général-Leclerc avenue du Général-Lemonnier avenue Trudaine boulevard de Rochechouart avenue de Wagram avenue de la Porte-d'Auteuil Bundesstraße 13 avenue de l'Opéra boulevard de Courcelles boulevard de Charonne boulevard de Bonne-Nouvelle boulevard de Bercy boulevard de Belleville boulevard Malesherbes boulevard Macdonald boulevard de Grenelle Grote Houtstraat avenue Parmentier Patission Street avenue Foch boulevard Soult avenue Rachel avenue de Saint-Mandé boulevard de Magenta Stigbergsgatan boulevard Sérurier boulevard Saint-Michel avenue Bugeaud boulevard de la Chapelle impasse Chartière Telegraph Avenue boulevard Lannes boulevard Saint-Germain boulevard Bessières Bundesstraße 466 Independence Avenue cours Saint-Pierre
149
action count
action less
action find_reverse_tuple_counts
relation located on street
type street
type sports venue
action count
action filter_type
action find_reverse
entity avenue de la Porte-Molitor
relation located on street
type sports venue
[{'concept': 'sports venue'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:located_on_street ?s . ?s rdf:type ontology:street . ?g rdf:type ontology:sports_venue } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l rdf:type ontology:sports_venue . ?l property:located_on_street resource:avenue_de_la_Porte-Molitor } } . FILTER ( ?i < ?h ) }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q6581097 Q21
P21 P20
Q502895
USER
Which people have England as place of death and do not have gender of male ?
AND((c(Q502895),P20,Q21), NOT((c(Q502895),P21,Q6581097)))
action filter_type
action difference
action find_reverse
entity Q21
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q21'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581097']]}]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P20 resource:Q21 . FILTER NOT EXISTS { ?l property:P21 resource:Q6581097 } }
male England
action filter_type
action difference
action find_reverse
entity England
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'England'], {'NOT': [[{'concept': 'common name'}, 'gender', 'male']]}]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:place_of_death resource:England . FILTER NOT EXISTS { ?l property:gender resource:male } }
[]
common name
Q16019472 Q388039 Q5251786 Q7270709 Q1601843 Q5171147 Q6288318 Q2344140 Q1295120 Q1982133
SYSTEM
Some of them are Marion Mathie, Alice Kyteler, Anne Darwin, Queenie Thomas, Helen Horton, Cornelia Adair, Josephine Bell, Stephanie Felsenburg, Edwina Chamier, Neva Raphaello
Q16560903 Q7270709 Q1601843 Q7607043 Q3179580 Q2900259 Q2753670 Q532255 Q2961011 Q16000380 Q2597755 Q16019472 Q2344140 Q2330011 Q441991 Q275400 Q15915316 Q17278484 Q1491253 Q6288318 Q4726151 Q16225453 Q5171147 Q6964624 Q1295120 Q6376498 Q1982133 Q444534 Q436581 Q6779019 Q4768536 Q388039 Q3705468 Q6760032 Q5251786 Q7367709 Q27186037
AND((c(Q502895),P20,Q21), NOT((c(Q502895),P21,Q6581097)))
action filter_type
action difference
action find_reverse
entity Q21
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have England as place of death and do not have gender of male
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q21'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581097']]}]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P20 resource:Q21 . FILTER NOT EXISTS { ?l property:P21 resource:Q6581097 } }
Jadwiga Skąpska-Truscoe Queenie Thomas Helen Horton Stella Bowen Joan Evans Betty Neels Jind Kaur Mary Robinson Charlotte Rhead Ethel Sands Susannah Hornebolt Marion Mathie Stephanie Felsenburg Moyra Fraser Alicia Boole Stott Marie Souvestre Anne Hocking Catalina von Pannwitz Gailene Stock Josephine Bell Alice Wheeldon Mary Patchett Cornelia Adair Naomi Chance Edwina Chamier Katherine Neville, Baroness Hastings Neva Raphaello M. M. Kaye Constance Fenimore Woolson Mary Bateman Anne Lennard, Countess of Sussex Alice Kyteler Denise Robins Margaret Wilson Anne Darwin Rose Edith Kelly Mary MacLeod
Marion Mathie, Alice Kyteler, Anne Darwin, Queenie Thomas, Helen Horton, Cornelia Adair, Josephine Bell, Stephanie Felsenburg, Edwina Chamier and Neva Raphaello have England as place of death and do not have gender of male
Marion Mathie Alice Kyteler Anne Darwin Queenie Thomas Helen Horton Cornelia Adair Josephine Bell Stephanie Felsenburg Edwina Chamier Neva Raphaello
action filter_type
action difference
action find_reverse
entity England
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'England'], {'NOT': [[{'concept': 'common name'}, 'gender', 'male']]}]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:place_of_death resource:England . FILTER NOT EXISTS { ?l property:gender resource:male } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P27
Q1048835
USER
How many political territories are that person an inhabitant of ?
(Q2344140,P27,c(Q1048835))
['Q2344140', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2344140 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
['Stephanie Felsenburg', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Stephanie_Felsenburg property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Quantitative|Count|Single entity type|Clarification
Q1601843
SYSTEM
Did you mean Helen Horton ?
(Q16019472,P27,c(Q1048835)) (Q388039,P27,c(Q1048835)) (Q5251786,P27,c(Q1048835)) (Q7270709,P27,c(Q1048835)) (Q1601843,P27,c(Q1048835)) (Q5171147,P27,c(Q1048835)) (Q6288318,P27,c(Q1048835)) (Q2344140,P27,c(Q1048835)) (Q1295120,P27,c(Q1048835)) (Q1982133,P27,c(Q1048835))
[ANSWER]
['Q16019472', 'P27', {'concept': 'Q1048835'}] ['Q388039', 'P27', {'concept': 'Q1048835'}] ['Q5251786', 'P27', {'concept': 'Q1048835'}] ['Q7270709', 'P27', {'concept': 'Q1048835'}] ['Q1601843', 'P27', {'concept': 'Q1048835'}] ['Q5171147', 'P27', {'concept': 'Q1048835'}] ['Q6288318', 'P27', {'concept': 'Q1048835'}] ['Q2344140', 'P27', {'concept': 'Q1048835'}] ['Q1295120', 'P27', {'concept': 'Q1048835'}] ['Q1982133', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2344140 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Did you mean Helen Horton ?
Helen Horton
['Marion Mathie', 'country of citizenship', {'concept': 'political territorial entity'}] ['Alice Kyteler', 'country of citizenship', {'concept': 'political territorial entity'}] ['Anne Darwin', 'country of citizenship', {'concept': 'political territorial entity'}] ['Queenie Thomas', 'country of citizenship', {'concept': 'political territorial entity'}] ['Helen Horton', 'country of citizenship', {'concept': 'political territorial entity'}] ['Cornelia Adair', 'country of citizenship', {'concept': 'political territorial entity'}] ['Josephine Bell', 'country of citizenship', {'concept': 'political territorial entity'}] ['Stephanie Felsenburg', 'country of citizenship', {'concept': 'political territorial entity'}] ['Edwina Chamier', 'country of citizenship', {'concept': 'political territorial entity'}] ['Neva Raphaello', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Stephanie_Felsenburg property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Stephanie Felsenburg. Could you tell me the answer for that?
(Q2344140,P27,c(Q1048835))
Q2344140
['Q2344140', 'P27', {'concept': 'Q1048835'}]
['Stephanie Felsenburg', 'country of citizenship', {'concept': 'political territorial entity'}]
[]
SYSTEM
1
Q40
(Q2344140,P27,c(Q1048835))
[ANSWER]
['Q2344140', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2344140 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Austria
1
['Stephanie Felsenburg', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Stephanie_Felsenburg property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q26697121 Q2344140
P27 P1001
Q1048835
USER
Which political territories do Stephanie Felsenburg belong to or belong to jurisdiction of mayor of Támara de Campos ?
OR((Q2344140,P27,c(Q1048835)), (Q26697121,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q2344140
relation P27
action find
entity Q26697121
relation P1001
type Q1048835
{'OR': [['Q2344140', 'P27', {'concept': 'Q1048835'}], ['Q26697121', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q2344140 property:P27 ?t } UNION { resource:Q26697121 property:P1001 ?t } } . ?t rdf:type ontology:Q1048835 }
mayor of Támara de Campos Stephanie Felsenburg
action filter_type
action union
action find
entity Stephanie Felsenburg
relation country of citizenship
action find
entity mayor of Támara de Campos
relation applies to jurisdiction
type political territorial entity
{'OR': [['Stephanie Felsenburg', 'country of citizenship', {'concept': 'political territorial entity'}], ['mayor of Támara de Campos', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Stephanie_Felsenburg property:country_of_citizenship ?t } UNION { resource:mayor_of_Támara_de_Campos property:applies_to_jurisdiction ?t } } . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1918493 Q40
SYSTEM
Támara de Campos, Austria
Q1918493 Q40
OR((Q2344140,P27,c(Q1048835)), (Q26697121,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q2344140
relation P27
action find
entity Q26697121
relation P1001
type Q1048835
Stephanie Felsenburg belong to the [ANSWERS]
{'OR': [['Q2344140', 'P27', {'concept': 'Q1048835'}], ['Q26697121', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q2344140 property:P27 ?t } UNION { resource:Q26697121 property:P1001 ?t } } . ?t rdf:type ontology:Q1048835 }
Támara de Campos Austria
Stephanie Felsenburg belong to the Támara de Campos and Austria
Támara de Campos Austria
action filter_type
action union
action find
entity Stephanie Felsenburg
relation country of citizenship
action find
entity mayor of Támara de Campos
relation applies to jurisdiction
type political territorial entity
{'OR': [['Stephanie Felsenburg', 'country of citizenship', {'concept': 'political territorial entity'}], ['mayor of Támara de Campos', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Stephanie_Felsenburg property:country_of_citizenship ?t } UNION { resource:mayor_of_Támara_de_Campos property:applies_to_jurisdiction ?t } } . ?t rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories have diplomatic associations with atmost 8 political territories ?
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 8
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?t ) WHERE { ?h property:P530 ?p . ?h rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?h } . FILTER ( ?t <= 8 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?t ) WHERE { ?h property:diplomatic_relation ?p . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?h } . FILTER ( ?t <= 8 ) }
[]
political territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 8
[ANSWERS] have diplomatic associations with atmost 8 political territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?t ) WHERE { ?h property:P530 ?p . ?h rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?h } . FILTER ( ?t <= 8 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
Italy, Brazil and United States of America have diplomatic associations with atmost 8 political territories
Italy Brazil United States of America
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?t ) WHERE { ?h property:diplomatic_relation ?p . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?h } . FILTER ( ?t <= 8 ) }
[]