Simple Question (Direct)
Simple Question
Q16236422
P19
Q56061
USER
Which administrative territory was Martin Rønning Ovenstad born in ?
(Q16236422,P19,c(Q56061))
action filter_type
action find
entity Q16236422
relation P19
type Q56061
['Q16236422', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q16236422 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Martin Rønning Ovenstad
action filter_type
action find
entity Martin Rønning Ovenstad
relation place of birth
type administrative territorial entity
['Martin Rønning Ovenstad', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Martin_Rønning_Ovenstad property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q26525
SYSTEM
Drammen
Q26525
(Q16236422,P19,c(Q56061))
action filter_type
action find
entity Q16236422
relation P19
type Q56061
Martin Rønning Ovenstad was born i [ANSWER]
['Q16236422', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q16236422 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Drammen
Martin Rønning Ovenstad was born i Drammen
Drammen
action filter_type
action find
entity Martin Rønning Ovenstad
relation place of birth
type administrative territorial entity
['Martin Rønning Ovenstad', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Martin_Rønning_Ovenstad property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16236422
P106
Q12737077
USER
Which occupation has Martin Rønning Ovenstad as his/her 's career ?
(Q16236422,P106,c(Q12737077))
action filter_type
action find
entity Q16236422
relation P106
type Q12737077
['Q16236422', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q16236422 property:P106 ?p }
Martin Rønning Ovenstad
action filter_type
action find
entity Martin Rønning Ovenstad
relation occupation
type occupation
['Martin Rønning Ovenstad', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Martin_Rønning_Ovenstad property:occupation ?p }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q16236422,P106,c(Q12737077))
action filter_type
action find
entity Q16236422
relation P106
type Q12737077
The [ANSWER] has Martin Rønning Ovenstad as his/her 's career
['Q16236422', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q16236422 property:P106 ?p }
association football player
The association football player has Martin Rønning Ovenstad as his/her 's career
association football player
action filter_type
action find
entity Martin Rønning Ovenstad
relation occupation
type occupation
['Martin Rønning Ovenstad', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Martin_Rønning_Ovenstad property:occupation ?p }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q8860627
Q12737077
USER
And what about Konrad Brandel?
(Q8860627,P106,c(Q12737077))
action filter_type
action find
entity Q8860627
relation P106
type Q12737077
['Q8860627', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q8860627 property:P106 ?o }
Konrad Brandel
action filter_type
action find
entity Konrad Brandel
relation occupation
type occupation
['Konrad Brandel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Konrad_Brandel property:occupation ?o }
[]
occupation
Q33231
SYSTEM
photographer
Q33231
(Q8860627,P106,c(Q12737077))
action filter_type
action find
entity Q8860627
relation P106
type Q12737077
[ANSWER]
['Q8860627', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q8860627 property:P106 ?o }
photographer
photographer
action filter_type
action find
entity Konrad Brandel
relation occupation
type occupation
['Konrad Brandel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Konrad_Brandel property:occupation ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q937857
P106
Q874405 Q6619679
USER
How many social groups and fictional humanoids have the profession as association football player ?
(c(Q874405),P106,Q937857) (c(Q6619679),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q874405
action filter_type
action find_reverse
entity Q937857
relation P106
type Q6619679
[{'concept': 'Q874405'}, 'P106', 'Q937857'] [{'concept': 'Q6619679'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { ?m property:P106 resource:Q937857 . ?m rdf:type ontology:Q874405 } UNION { ?m property:P106 resource:Q937857 . ?m rdf:type ontology:Q6619679 } }
association football player
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type social group
action filter_type
action find_reverse
entity association football player
relation occupation
type fictional humanoid
[{'concept': 'social group'}, 'occupation', 'association football player'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { ?m property:occupation resource:association_football_player . ?m rdf:type ontology:social_group } UNION { ?m property:occupation resource:association_football_player . ?m rdf:type ontology:fictional_humanoid } }
[]
social group fictional humanoid
SYSTEM
1 social groups and 24 fictional humanoids
Q8994224 Q3482197 Q5292194 Q3498435 Q10303719 Q5220860 Q5246215 Q2567460 Q7384370 Q6163280 Q5049092 Q3752378 Q1000043 Q7626893 Q6371793 Q2939461 Q7937796 Q5136888 Q3482651 Q6701906 Q5195672 Q1000560 Q4913115 Q5360264 Q5489814
(c(Q874405),P106,Q937857) (c(Q6619679),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q874405
action filter_type
action find_reverse
entity Q937857
relation P106
type Q6619679
[ANSWER]
[{'concept': 'Q874405'}, 'P106', 'Q937857'] [{'concept': 'Q6619679'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { ?m property:P106 resource:Q937857 . ?m rdf:type ontology:Q874405 } UNION { ?m property:P106 resource:Q937857 . ?m rdf:type ontology:Q6619679 } }
Lee Presley Shingo Aoi Don Barker Stephan Levin Tachibana brothers Danny Sullivan Dean Hocknell Santiago Muñez Cardona Ryan Naysmith Jason Porter Casper Rose Fratelli Céspedes Ken Wakashimazu Stuart Naysmith Karl Fletcher Carlos Santana Vivian Wright Clyde Connelly Shun Nitta Luke Davenport Curtis Alexander Hikaru Matsuyama Billy O'Neil Eli Knox Frank Stone
1 social groups and 24 fictional humanoids
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type social group
action filter_type
action find_reverse
entity association football player
relation occupation
type fictional humanoid
[{'concept': 'social group'}, 'occupation', 'association football player'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { ?m property:occupation resource:association_football_player . ?m rdf:type ontology:social_group } UNION { ?m property:occupation resource:association_football_player . ?m rdf:type ontology:fictional_humanoid } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q657461 Q26525
P19
Q502895
USER
Which people have place of birth as Drammen or Cartagena ?
OR((c(Q502895),P19,Q26525), (c(Q502895),P19,Q657461))
action filter_type
action union
action find_reverse
entity Q26525
relation P19
action find_reverse
entity Q657461
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q26525'], [{'concept': 'Q502895'}, 'P19', 'Q657461']]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?s ) { ( resource:Q26525 ) ( resource:Q657461 ) } . ?m property:P19 ?s } . ?m rdf:type ontology:Q502895 }
Cartagena Drammen
action filter_type
action union
action find_reverse
entity Drammen
relation place of birth
action find_reverse
entity Cartagena
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Drammen'], [{'concept': 'common name'}, 'place of birth', 'Cartagena']]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?s ) { ( resource:Drammen ) ( resource:Cartagena ) } . ?m property:place_of_birth ?s } . ?m rdf:type ontology:common_name }
[]
common name
Q3660117 Q20644671 Q18417131 Q876164 Q5984150 Q16300986 Q16902219 Q20078801 Q20651219 Q11960759
SYSTEM
Some of them are Carlos Pizarro Leongómez, Juan Pablo Bustamante, Nadia Blel, Frode Hagen, Luis Paterson, Jairo Martínez, Martin Ødegaard, Giovanny Urshela, Barubaro, Berit Boman
Q6188491 Q6004505 Q1771827 Q374707 Q5830768 Q7688101 Q7109713 Q12715212 Q1372286 Q6096301 Q21590772 Q94518 Q720042 Q18223204 Q16177749 Q6701163 Q5667038 Q11096409 Q22918843 Q10956992 Q876164 Q831960 Q3438242 Q6101247 Q19518724 Q20736181 Q10508418 Q707671 Q3187613 Q15703141 Q11958084 Q19974520 Q492397 Q11977750 Q16760693 Q11958169 Q5992733 Q23951232 Q19974437 Q16300957 Q17309916 Q1350863 Q3072639 Q11966790 Q16902219 Q27681080 Q17274587 Q6514199 Q21947313 Q16236422 Q292783 Q3814603 Q932607 Q6108466 Q16565912 Q5553562 Q15130650 Q323540 Q5935467 Q3814596 Q2390096 Q6309237 Q6293240 Q485124 Q6519412 Q7108190 Q2625324 Q1772969 Q589915 Q8694792 Q12717766 Q1691964 Q6019293 Q12719610 Q25197521 Q308062 Q17125693 Q7381072 Q4560207 Q12006786 Q2666703 Q2645282 Q5925222 Q4582881 Q5402272 Q5973257 Q1078398 Q4891902 Q11978463 Q468150 Q20750462 Q20630743 Q455866 Q1078390 Q5982732 Q23901207 Q2758836 Q5896204 Q1065494 Q318403 Q11997436 Q3438224 Q433652 Q17745626 Q5971611 Q1398718 Q2709668 Q979541 Q19384497 Q257665 Q5930996 Q22338635 Q5954162 Q19362872 Q484959 Q2448961 Q1681551 Q2069892 Q5860266 Q5558512 Q5944314 Q4590631 Q4559180 Q5666104 Q6215174 Q5976803 Q3576993 Q4566550 Q3660117 Q3742791 Q3798649 Q10472617 Q5684629 Q20644671 Q3880796 Q6269879 Q3428750 Q18128237 Q20743595 Q3441147 Q3065498 Q725162 Q4755208 Q4992551 Q189408 Q5984150 Q12007691 Q5818518 Q11958192 Q4009243 Q463920 Q16171603 Q6100217 Q5921222 Q9069835 Q21605384 Q1079005 Q710150 Q931189 Q18285960 Q6179868 Q5503286 Q721805 Q322378 Q16729489 Q3183848 Q3434354 Q5999043 Q11960759 Q16587710 Q2014079 Q5220803 Q6405170 Q202363 Q6098331 Q3934313 Q7651866 Q3779906 Q3434279 Q209611 Q3354825 Q1644369 Q16581590 Q18416543 Q3355826 Q7106097 Q5948502 Q8051338 Q16022836 Q5675494 Q3071141 Q16749766 Q2428922 Q5650458 Q11850841 Q1861583 Q5856849 Q6097734 Q2638688 Q11963645 Q957198 Q924021 Q6752558 Q16162693 Q547960 Q20078801 Q3817774 Q2557082 Q5994814 Q5830149 Q729893 Q329874 Q1293416 Q3370968 Q4722015 Q6127354 Q3783136 Q6453944 Q3430693 Q3880807 Q6053031 Q7360687 Q5340659 Q769547 Q3433393 Q739896 Q8079243 Q5927639 Q20028849 Q3608387 Q6174943 Q11959222 Q3615352 Q15621036 Q2130160 Q3990720 Q3108230 Q1079150 Q5758141 Q460526 Q3849373 Q1365694 Q5703599 Q20890175 Q3492044 Q21590195 Q15051108 Q920302 Q449172 Q1806090 Q18417131 Q16300781 Q5829606 Q6124219 Q3497426 Q2196573 Q5849226 Q5949732 Q546415 Q3850085 Q2886122 Q1531113 Q1604975 Q5948332 Q719610 Q3039682 Q3827197 Q3427798 Q23944689 Q3460483 Q21012652 Q5551077 Q1109397 Q1618632 Q1643612 Q5819393 Q3443595 Q3077096 Q423236 Q16239531 Q5702174 Q1157160 Q11970299 Q11972676 Q11975191 Q26719905 Q794365 Q6160478 Q7926189 Q6844442 Q4992964 Q20630555 Q1442709 Q6762864 Q19858116 Q709844 Q4020233 Q683532 Q6032084 Q2670536 Q6067343 Q25931185 Q6006202 Q23466046 Q724909 Q19803094 Q16043782 Q20898560 Q5868531 Q13408024 Q746134 Q182249 Q11979037 Q4888075 Q3002850 Q3572552 Q3808190 Q5892416 Q5983690 Q4584894 Q509644 Q16301258 Q17037506 Q1282777 Q6699092 Q16298832 Q3900786 Q19661792 Q1193464 Q7796747 Q11982057 Q460315 Q16300986 Q3178832 Q3990573 Q20651219 Q3990810
OR((c(Q502895),P19,Q26525), (c(Q502895),P19,Q657461))
action filter_type
action union
action find_reverse
entity Q26525
relation P19
action find_reverse
entity Q657461
relation P19
type Q502895
[ANSWERS] have place of birth as Drammen or Cartagena
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q26525'], [{'concept': 'Q502895'}, 'P19', 'Q657461']]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?s ) { ( resource:Q26525 ) ( resource:Q657461 ) } . ?m property:P19 ?s } . ?m rdf:type ontology:Q502895 }
Jesús Géles María Rocío Stevenson Sigurd Lie Jacob Neumann Emil Cardales Tatiana Najera Otto Luihn Gustav Martinsen Trond Iversen Tom Schandy Kristine Bjerknes Lars Cramer Alejandro Berrio Fernando Araújo Rumie Geir Arne Bore Luis Torres Rodríguez Alfonso Múnera Cavadía Yesus Cabrera Myriam de Lourdes Tirso Guío Frode Hagen Henry Wilhelm Kristiansen Arne Bergodd Raúl Gómez Jattin Svein Helling Otto Borgen Thomas Granum Elson Becerra Juan Carlos Lecompte Lorentz Eckhoff Anette Baklid Jeanett Kristiansen Finn Helgesen Iver Andreas Günther Holter Nils Hansen Ann Kathrine Skjørshammer Manuel Del Río De Narváez Morten F. Nilssen Jo van der Eynden Katherine Porto Nereo López Knut Frydenlund Finn Hodt Einar Andersen Martin Ødegaard Yainer Acevedo Juan Manuel Grau Berrío Ulf Erik Knudsen Else Budde Martin Rønning Ovenstad Cecilia Brækhus Kenneth Nysæther Kim-Roar Hansen Ricardo Santana Fabio Rodríguez Soledad Román de Núñez Roger Martínez Konrad Knudsen Jorge Luis Barón Kenneth Karlsen Manuel Rodríguez Torices Julio Cesar Meza José María García de Toledo Fernando Araújo Perdomo Leif Haraldseth Oswaldo Blanco Rune Høydahl Arne Dokken Thomas Sørum Idar Burheim Poul Holst Johan Fredrik Eckersberg Daniel Nyblin Ågot Gammersvik Frits de Bourg Øivind Hånes Johan Michael Keyser Rusmeris Villar Lise Christoffersen Tonje A. Bråthen Halfdan Egedius José Fernández Madrid Jaime Morón Thomas Cathinco Bang Yersi Puello Leoncio Alegría Christen Smith Berit Nøkleby Jens Werner Andersen Mimi Morales Elias Smith Ronny Bello Espen Lie Hansen Christen Elster Luis Alfredo Sierra Manuel Duque Geir Holte Hernán Martínez Charles Mathiesen Johann Olav Koss Reidar Haanes Fredrik Bekken Barbra Ring Amahl Pellegrino Laura Cantillo Joe Arroyo Jeymmy Vargas Martinus Rørbye Olga Thinn Marianne Andersen Jhony Cano Wenche Petersen Judith Pinedo Flórez Jorge Carrascal Alfonso Pérez Frithjof Olsen Jan-Richard Lislerud Hansen Per Arne Glorvigen Fernando Solórzano Rafaela Herrera José Nájera Aase Foss Abrahamsen Mona Røkke Alexander Anaya Johan Jørgen Schwartz Lino de Pombo Álvaro Teherán Christopher Knudsen Carlos Pizarro Leongómez Bernt Aardal Inge Thun Hugo Soto Óscar Miguel Castillo Juan Pablo Bustamante Odd Arild Amundsen Jolbert Cabrera Kaare Høeg Torgrim Sommerfeldt Ludvig Forbech Axel Henry Hansen Julio Teherán Ferdinand Bie Andrea Nocetti Jens Gunderssen Ole Einar Bjørndalen Luis Paterson Trude Eick Edinson Palomino Anna Sethne Vegard Hansen Conrad Baden Ole Gustav Barman Iván Velásquez Isidoro Máiquez Roberto Burgos Cantor Thor Egil Olsen Christian Blom Alf Andersen Flavio Caballero Florina Lemaitre Jens Ulltveit-Moe Frey Ramos Juan Pablo Pino Sverre Holm Henrik Gulden Jorge Luis Ramos Sánchez Mads Hansen Mario Sarmiento Berit Boman Pedro Perez Odd Dahl Danny Santoya Carmenza Gómez Tor Håkon Holte Raimundo Emiliani Román Ricardo Laborde Svein Rennemo Gustav Wikheim Thomas Røed Thorbjørn Jagland Elling Holst Herly Alcázar Jhonny Meza Andrés García Zuccardi Johannes Ording Oscar León Juan Carlos Pereira Yeison Devoz Søren Bough Emigdio Patricio Solano Espinosa José María del Castillo y Rada Thoralf Pryser Thorleif Auerdahl Hans Martin Gulbrandsen Alfred Thielemann Sigurd Christiansen Fausto Obeso Rafael Márquez García Tom Seeberg Christian Fredrik Arbo Steinar Pettersen Hans Jæger Manuel Espinosa Batista Alexander Garborg Ågedal Erling Wikborg Giovanny Urshela Kåre Aasgaard Anders Nicolai Kiær Manuel del Castillo y Rada Elvis Perlaza Cato Guntveit Øyvin Thon Zharick León Ole Kristian Bryhn Alfonso Carvajal Siad Char Hans Erik Ødegaard José Antonio Calcaño Johan Aschehoug Kiær Odd Johnsen Orlando Enrique Berrío Rolf Andreassen Eduardo Lemaitre Angie Cepeda Arild Mathisen Erick Morillo Østen Østensen Javier Cáceres Leal Freddy Kalas Karen Martínez Óscar Santos Arve Juritzen Anders Rotevatn Morten Adamsen Ramirez Thomas Solvoll Gjermund Bråten Christian Cappelen Catalina Londoño Heidi Tjugum Marius Boldt Odd Borgersen Argemiro Vacca Jhon Vasquez Ernest Rude Pål Sandli Dilson Herrera Lars Sætra Johan Halvorsen Arthur Buchardt Nadia Blel Humberto Sierra Porto Eliseo Herrera Jairo Clopatofsky Clemente Rojas Omer Bhatti Estefanía Borge Juan Garcia del Rio Cecilia Baena Martin Johansen Bartolomé Calvo Glenn Solberg Agustín Julio Juan Carlos Gossaín Kim Christiansen Germán Espinosa Lars Granaas Søren Wilhelm Thorne Hans Jørgen Holst Sabas Pretelt de la Vega Yhonathan Barrios Vanessa Galvis Sten Stensen Per-Erik Burud Lorna Paz Eduardo Luis Carrillo Johan Henrik Paasche Thorne Juan Díaz Porlier Rodrigo Valdéz Iver Fossum Araceli Morales López Dag Bjørndalen Frits Kiær Gro Anita Schønn Hermann Rhodén Adolfo Barros Ener Julio Jarol Herrera Victor Nieto Miguel Avila Fritz Melbye Marlon Barrios Johan Vibe Marie Hauge Georg Heinecke Finn Gustavsen Willy Aronsen Rafael Núñez Ingeborg Sørensen Niels Treschow Paula Castaño Raúl Loaiza Matilde Lemaitre César Taján Odd Martinsen Sugar Ray Marimón Per Olaf Olsen Beatriz Camacho Frank Pacheco Christopher Borch Efraim Medina Reyes Iver Hesselberg John Peter Collett Olav Zakariassen Cristian Marrugo Yonnhy Pérez Jesús Fernández-Gómez Harold Macías Luis Iriarte Magnus Poulsson Griselda Blanco Karoll Márquez Rafael Enrique Pérez Almeida Morten Djupvik Ludvig G. Braathen Dionisio Vélez Petar Rnkovic Wílmar Barrios Leif Erichsen Thorstein Skarning Kristian Klausen Line Jahr Jairo Martínez Orlando Cabrera Thomas André Ødegaard Barubaro Thorodd Presberg
Carlos Pizarro Leongómez, Juan Pablo Bustamante, Nadia Blel, Frode Hagen, Luis Paterson, Jairo Martínez, Martin Ødegaard, Giovanny Urshela, Barubaro and Berit Boman have place of birth as Drammen or Cartagena
Carlos Pizarro Leongómez Juan Pablo Bustamante Nadia Blel Frode Hagen Luis Paterson Jairo Martínez Martin Ødegaard Giovanny Urshela Barubaro Berit Boman
action filter_type
action union
action find_reverse
entity Drammen
relation place of birth
action find_reverse
entity Cartagena
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Drammen'], [{'concept': 'common name'}, 'place of birth', 'Cartagena']]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?s ) { ( resource:Drammen ) ( resource:Cartagena ) } . ?m property:place_of_birth ?s } . ?m rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q578447
P180
Q56061 Q838948 Q1792379
USER
How many administrative territories are depicted in greater number of works of art or art genres than Countryside ?
(c(Q838948)|c(Q1792379),P180,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q838948
action find_reverse_tuple_counts
relation P180
type Q56061
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q578447
relation P180
type Q838948
type Q1792379
[[{'concept': 'Q838948'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?k ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } . ?o rdf:type ?k } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:P180 resource:Q578447 . { { ?i rdf:type ontology:Q1792379 } UNION { ?i rdf:type ontology:Q838948 } } } } . FILTER ( ?r > ?g ) }
Countryside
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type art genre
action count
action filter_multi_types
action find_reverse
entity Countryside
relation depicts
type work of art
type art genre
[[{'concept': 'work of art'}, {'concept': 'art genre'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?k ) { ( ontology:work_of_art ) ( ontology:art_genre ) } . ?o rdf:type ?k } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:depicts resource:Countryside . { { ?i rdf:type ontology:art_genre } UNION { ?i rdf:type ontology:work_of_art } } } } . FILTER ( ?r > ?g ) }
[]
administrative territorial entity work of art art genre
SYSTEM
8
Q515 Q1563 Q372324 Q85 Q1479 Q340 Q165887 Q90
(c(Q838948)|c(Q1792379),P180,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q838948
action find_reverse_tuple_counts
relation P180
type Q56061
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q578447
relation P180
type Q838948
type Q1792379
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?k ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } . ?o rdf:type ?k } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:P180 resource:Q578447 . { { ?i rdf:type ontology:Q1792379 } UNION { ?i rdf:type ontology:Q838948 } } } } . FILTER ( ?r > ?g ) }
city Havana Dawson City Cairo Bordeaux Montreal Emmaus Paris
8
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type art genre
action count
action filter_multi_types
action find_reverse
entity Countryside
relation depicts
type work of art
type art genre
[[{'concept': 'work of art'}, {'concept': 'art genre'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?k ) { ( ontology:work_of_art ) ( ontology:art_genre ) } . ?o rdf:type ?k } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:depicts resource:Countryside . { { ?i rdf:type ontology:art_genre } UNION { ?i rdf:type ontology:work_of_art } } } } . FILTER ( ?r > ?g ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3660117
P19
Q13220204
USER
How many administrative country subdivisions were Carlos Pizarro Leongómez born in ?
(Q3660117,P19,c(Q13220204))
action count
action filter_type
action find
entity Q3660117
relation P19
type Q13220204
['Q3660117', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Q3660117 property:P19 ?s . ?s rdf:type ontology:Q13220204 }
Carlos Pizarro Leongómez
action count
action filter_type
action find
entity Carlos Pizarro Leongómez
relation place of birth
type second-level administrative country subdivision
['Carlos Pizarro Leongómez', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Carlos_Pizarro_Leongómez property:place_of_birth ?s . ?s rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
SYSTEM
1
Q657461
(Q3660117,P19,c(Q13220204))
action count
action filter_type
action find
entity Q3660117
relation P19
type Q13220204
[ANSWER]
['Q3660117', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Q3660117 property:P19 ?s . ?s rdf:type ontology:Q13220204 }
Cartagena
1
action count
action filter_type
action find
entity Carlos Pizarro Leongómez
relation place of birth
type second-level administrative country subdivision
['Carlos Pizarro Leongómez', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Carlos_Pizarro_Leongómez property:place_of_birth ?s . ?s rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16358766
P39
Q12737077
USER
What was the position held by Jānis Breikšs ?
(Q16358766,P39,c(Q12737077))
action filter_type
action find
entity Q16358766
relation P39
type Q12737077
['Q16358766', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q16358766 property:P39 ?n }
Jānis Breikšs
action filter_type
action find
entity Jānis Breikšs
relation position held
type occupation
['Jānis Breikšs', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Jānis_Breikšs property:position_held ?n }
[]
occupation
Q21191589
SYSTEM
deputy of Saeima
Q21191589
(Q16358766,P39,c(Q12737077))
action filter_type
action find
entity Q16358766
relation P39
type Q12737077
The position held by Jānis Breikšs was a [ANSWER]
['Q16358766', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q16358766 property:P39 ?n }
deputy of Saeima
The position held by Jānis Breikšs was a deputy of Saeima
deputy of Saeima
action filter_type
action find
entity Jānis Breikšs
relation position held
type occupation
['Jānis Breikšs', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Jānis_Breikšs property:position_held ?n }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q21191589 Q211 Q503987
P1001
Q15617994
USER
Does deputy of Saeima have control over the jurisdiction of Latvia and Wittendörp ?
(Q21191589,P1001,Q211) (Q21191589,P1001,Q503987)
action is_in
entity Q21191589
action intersection
action find_reverse
entity Q211
relation P1001
action find_reverse
entity Q503987
relation P1001
['Q21191589', 'P1001', 'Q211'] ['Q21191589', 'P1001', 'Q503987']
ASK WHERE { resource:Q21191589 property:P1001 resource:Q503987 . resource:Q21191589 property:P1001 resource:Q211 }
deputy of Saeima Latvia Wittendörp
action is_in
entity deputy of Saeima
action intersection
action find_reverse
entity Latvia
relation applies to jurisdiction
action find_reverse
entity Wittendörp
relation applies to jurisdiction
['deputy of Saeima', 'applies to jurisdiction', 'Latvia'] ['deputy of Saeima', 'applies to jurisdiction', 'Wittendörp']
ASK WHERE { resource:deputy_of_Saeima property:applies_to_jurisdiction resource:Wittendörp . resource:deputy_of_Saeima property:applies_to_jurisdiction resource:Latvia }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q21191589,P1001,Q211) (Q21191589,P1001,Q503987)
action is_in
entity Q21191589
action intersection
action find_reverse
entity Q211
relation P1001
action find_reverse
entity Q503987
relation P1001
[ANSWER]
['Q21191589', 'P1001', 'Q211'] ['Q21191589', 'P1001', 'Q503987']
ASK WHERE { resource:Q21191589 property:P1001 resource:Q503987 . resource:Q21191589 property:P1001 resource:Q211 }
YES and NO respectively
action is_in
entity deputy of Saeima
action intersection
action find_reverse
entity Latvia
relation applies to jurisdiction
action find_reverse
entity Wittendörp
relation applies to jurisdiction
['deputy of Saeima', 'applies to jurisdiction', 'Latvia'] ['deputy of Saeima', 'applies to jurisdiction', 'Wittendörp']
ASK WHERE { resource:deputy_of_Saeima property:applies_to_jurisdiction resource:Wittendörp . resource:deputy_of_Saeima property:applies_to_jurisdiction resource:Latvia }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q21191589
P1001
Q15617994
USER
How many administrative territories belong to jurisdiction of deputy of Saeima ?
(Q21191589,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q21191589
relation P1001
type Q15617994
['Q21191589', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Q21191589 property:P1001 ?m . ?m rdf:type ontology:Q15617994 }
deputy of Saeima
action count
action filter_type
action find
entity deputy of Saeima
relation applies to jurisdiction
type designation for an administrative territorial entity
['deputy of Saeima', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:deputy_of_Saeima property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q211
(Q21191589,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q21191589
relation P1001
type Q15617994
[ANSWER]
['Q21191589', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Q21191589 property:P1001 ?m . ?m rdf:type ontology:Q15617994 }
Latvia
1
action count
action filter_type
action find
entity deputy of Saeima
relation applies to jurisdiction
type designation for an administrative territorial entity
['deputy of Saeima', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:deputy_of_Saeima property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21191589
P17
Q15617994
USER
Which administrative territory is that occupation a part of ?
action filter_type
action find
entity Q21191589
relation P17
type Q15617994
SELECT DISTINCT ?f WHERE { resource:Q21191589 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
deputy of Saeima
action filter_type
action find
entity deputy of Saeima
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?f WHERE { resource:deputy_of_Saeima property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q211
SYSTEM
Latvia
Q211
action filter_type
action find
entity Q21191589
relation P17
type Q15617994
The [ANSWER] is that occupation a part of
SELECT DISTINCT ?f WHERE { resource:Q21191589 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Latvia
The Latvia is that occupation a part of
Latvia
action filter_type
action find
entity deputy of Saeima
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?f WHERE { resource:deputy_of_Saeima property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q34020
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with approximately the same number of administrative territories as Niue ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q34020
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Q34020 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?e = ?i ) }
Niue
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Niue
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Niue property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e = ?i ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 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 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q34020
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with approximately the same number of administrative territories as Niue
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Q34020 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?e = ?i ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
Georgia, Netherlands and Poland hold diplomatic relationship with approximately the same number of administrative territories as Niue
Georgia Netherlands Poland
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Niue
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Niue property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e = ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q399
P530
Q15617994 Q15617994
USER
And what about Armenia?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q399
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?j ) WHERE { ?v rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 . ?x property:P530 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Q399 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?j = ?f ) }
Armenia
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Armenia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?j ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Armenia property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j = ?f ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 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 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q399
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?j ) WHERE { ?v rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 . ?x property:P530 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Q399 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?j = ?f ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
Georgia Netherlands Poland
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Armenia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?j ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Armenia property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j = ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic relations with atmost 104 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 104
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?m ) WHERE { ?n property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1048835 } GROUP BY ?n } . FILTER ( ?m <= 104 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 104
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?m ) WHERE { ?n property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:political_territorial_entity } GROUP BY ?n } . FILTER ( ?m <= 104 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 104
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?m ) WHERE { ?n property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1048835 } GROUP BY ?n } . FILTER ( ?m <= 104 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 104
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?m ) WHERE { ?n property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:political_territorial_entity } GROUP BY ?n } . FILTER ( ?m <= 104 ) }
[]