Simple Question (Direct)
Simple Question
Q3476292
P27
Q1048835
USER
Which political territory is the country of citizenship of Scott Prince ?
(Q3476292,P27,c(Q1048835))
action filter_type
action find
entity Q3476292
relation P27
type Q1048835
['Q3476292', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1048835 . resource:Q3476292 property:P27 ?l }
Scott Prince
action filter_type
action find
entity Scott Prince
relation country of citizenship
type political territorial entity
['Scott Prince', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_territorial_entity . resource:Scott_Prince property:country_of_citizenship ?l }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q3476292,P27,c(Q1048835))
action filter_type
action find
entity Q3476292
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Scott Prince
['Q3476292', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1048835 . resource:Q3476292 property:P27 ?l }
Australia
Australia is the country of citizenship of Scott Prince
Australia
action filter_type
action find
entity Scott Prince
relation country of citizenship
type political territorial entity
['Scott Prince', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_territorial_entity . resource:Scott_Prince property:country_of_citizenship ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3476292
P54
Q874405
USER
What are the team that Scott Prince are a member of ?
(Q3476292,P54,c(Q874405))
action filter_type
action find
entity Q3476292
relation P54
type Q874405
['Q3476292', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?q WHERE { resource:Q3476292 property:P54 ?q . ?q rdf:type ontology:Q874405 }
Scott Prince
action filter_type
action find
entity Scott Prince
relation member of sports team
type social group
['Scott Prince', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?q WHERE { resource:Scott_Prince property:member_of_sports_team ?q . ?q rdf:type ontology:social_group }
[]
social group
Q3567556 Q3344159 Q3109995
SYSTEM
Wests Tigers, North Queensland Cowboys, Gold Coast Titans
Q3109995 Q3567556 Q3344159 Q665111
(Q3476292,P54,c(Q874405))
action filter_type
action find
entity Q3476292
relation P54
type Q874405
The team that Scott Prince are a member of are the [ANSWERS]
['Q3476292', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?q WHERE { resource:Q3476292 property:P54 ?q . ?q rdf:type ontology:Q874405 }
Gold Coast Titans Wests Tigers North Queensland Cowboys Brisbane Broncos
The team that Scott Prince are a member of are the Wests Tigers, North Queensland Cowboys and Gold Coast Titans
Wests Tigers North Queensland Cowboys Gold Coast Titans
action filter_type
action find
entity Scott Prince
relation member of sports team
type social group
['Scott Prince', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?q WHERE { resource:Scott_Prince property:member_of_sports_team ?q . ?q rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3476292
P641
Q349
USER
What was the sport that Scott Prince was a part of ?
(Q3476292,P641,c(Q349))
action filter_type
action find
entity Q3476292
relation P641
type Q349
['Q3476292', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q3476292 property:P641 ?n . ?n rdf:type ontology:Q349 }
Scott Prince
action filter_type
action find
entity Scott Prince
relation sport
type sport
['Scott Prince', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Scott_Prince property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q10962
SYSTEM
rugby league
Q10962
(Q3476292,P641,c(Q349))
action filter_type
action find
entity Q3476292
relation P641
type Q349
The sport that Scott Prince was a part of was the [ANSWER]
['Q3476292', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q3476292 property:P641 ?n . ?n rdf:type ontology:Q349 }
rugby league
The sport that Scott Prince was a part of was the rugby league
rugby league
action filter_type
action find
entity Scott Prince
relation sport
type sport
['Scott Prince', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Scott_Prince property:sport ?n . ?n rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20709608
Q349
USER
And what about 1962 Michigan State Spartans football team?
(Q20709608,P641,c(Q349))
action filter_type
action find
entity Q20709608
relation P641
type Q349
['Q20709608', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q20709608 property:P641 ?z . ?z rdf:type ontology:Q349 }
1962 Michigan State Spartans football team
action filter_type
action find
entity 1962 Michigan State Spartans football team
relation sport
type sport
['1962 Michigan State Spartans football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:1962_Michigan_State_Spartans_football_team property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q41323
SYSTEM
American football
Q41323
(Q20709608,P641,c(Q349))
action filter_type
action find
entity Q20709608
relation P641
type Q349
[ANSWER]
['Q20709608', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q20709608 property:P641 ?z . ?z rdf:type ontology:Q349 }
American football
American football
action filter_type
action find
entity 1962 Michigan State Spartans football team
relation sport
type sport
['1962 Michigan State Spartans football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:1962_Michigan_State_Spartans_football_team property:sport ?z . ?z rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8682 Q3567556
P54
Q502895
USER
Which people plays for Wests Tigers or Real Madrid FC ?
OR((c(Q502895),P54,Q3567556), (c(Q502895),P54,Q8682))
action filter_type
action union
action find_reverse
entity Q3567556
relation P54
action find_reverse
entity Q8682
relation P54
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P54', 'Q3567556'], [{'concept': 'Q502895'}, 'P54', 'Q8682']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . { { ?k property:P54 resource:Q3567556 } UNION { ?k property:P54 resource:Q8682 } } }
Real Madrid FC Wests Tigers
action filter_type
action union
action find_reverse
entity Wests Tigers
relation member of sports team
action find_reverse
entity Real Madrid FC
relation member of sports team
type common name
{'OR': [[{'concept': 'common name'}, 'member of sports team', 'Wests Tigers'], [{'concept': 'common name'}, 'member of sports team', 'Real Madrid FC']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . { { ?k property:member_of_sports_team resource:Wests_Tigers } UNION { ?k property:member_of_sports_team resource:Real_Madrid_FC } } }
[]
common name
Q358309 Q27691 Q3814030 Q2531416 Q3393506 Q2015351 Q1367175 Q361760 Q1377299 Q529087
SYSTEM
Some of them are Carlos Diogo, Alberto Bueno, Luis Costa Juan, Antonio Betancort, Manuel Canabal, Dejan Petković, Manuel Velázquez, Manuel Tena, Jaime Sánchez Fernández, Jacinto Quincoces
Q2919224 Q1379008 Q3619636 Q370507 Q7282226 Q701297 Q718284 Q597751 Q547260 Q641425 Q204895 Q386876 Q6233819 Q2118086 Q11313208 Q373064 Q17987582 Q581395 Q461591 Q23758869 Q2824718 Q603918 Q1999411 Q3898641 Q2061645 Q954985 Q554882 Q2448088 Q7141856 Q155251 Q2202196 Q317322 Q282398 Q1703728 Q2707029 Q1385340 Q3814030 Q2032834 Q2531416 Q3476292 Q942608 Q180993 Q75857 Q3611169 Q315471 Q940737 Q1377299 Q350536 Q484384 Q493081 Q3296570 Q144048 Q503137 Q80892 Q2463826 Q10530181 Q151269 Q652400 Q12396945 Q45626 Q2015351 Q2469796 Q2896305 Q3780189 Q1360302 Q705432 Q12391237 Q5648212 Q1304079 Q630966 Q360177 Q3130779 Q358309 Q2463646 Q4712099 Q165014 Q318956 Q6188445 Q45567 Q8463739 Q1039338 Q4886673 Q4776462 Q5483465 Q3354703 Q6081010 Q558689 Q3742965 Q718402 Q15298237 Q403622 Q1079859 Q3629609 Q1939 Q6300245 Q5483487 Q2153428 Q365934 Q44389 Q6293200 Q11584 Q3183999 Q9033417 Q2522220 Q2635514 Q453653 Q16902219 Q526010 Q152984 Q2436319 Q570811 Q317223 Q1748196 Q3328222 Q5042331 Q8188501 Q11682938 Q216816 Q223156 Q1332295 Q2924606 Q379767 Q123118 Q59929 Q6292792 Q948773 Q3876512 Q310330 Q184362 Q3810528 Q2448579 Q5698664 Q268412 Q936772 Q3623264 Q1381567 Q346708 Q4888862 Q205499 Q194461 Q26069 Q6700940 Q833002 Q429039 Q212925 Q311227 Q4776739 Q519020 Q102027 Q563110 Q9032733 Q654935 Q1027459 Q464652 Q10855163 Q215952 Q16233643 Q4886340 Q13418257 Q3608028 Q923804 Q293393 Q522348 Q188720 Q562637 Q3845062 Q21039366 Q1337570 Q6696845 Q723640 Q179773 Q616664 Q6021617 Q1999847 Q251281 Q279673 Q217384 Q525719 Q4760215 Q18649709 Q2055221 Q600333 Q314248 Q314494 Q725746 Q562646 Q3845017 Q3186453 Q1173535 Q722523 Q744110 Q5254002 Q296684 Q168740 Q17622000 Q2628934 Q584219 Q669575 Q189892 Q3821748 Q2379682 Q2455284 Q2895571 Q8048813 Q7182527 Q316692 Q16148978 Q3321536 Q437329 Q969423 Q3775256 Q3733384 Q482931 Q3266849 Q15916807 Q523397 Q192122 Q5981954 Q2441268 Q1255625 Q3751032 Q221798 Q315043 Q956740 Q6844940 Q3613533 Q3368585 Q975012 Q7089760 Q461568 Q372326 Q554249 Q372451 Q286511 Q6292877 Q1371567 Q3081791 Q187426 Q3350784 Q3802506 Q16798589 Q459099 Q487155 Q3392804 Q617710 Q461311 Q592084 Q9015678 Q6173436 Q3050994 Q518541 Q6696318 Q483309 Q965846 Q525599 Q164546 Q484909 Q456326 Q298190 Q314617 Q6292804 Q4025202 Q3810758 Q16547050 Q531814 Q1367202 Q32763 Q4776404 Q237964 Q489111 Q6293507 Q765007 Q16268702 Q3543725 Q641387 Q442441 Q440855 Q3932901 Q44458 Q386207 Q558912 Q3186404 Q44326 Q2883237 Q485697 Q3928971 Q503248 Q969520 Q251683 Q5396060 Q3391544 Q387550 Q352631 Q1337392 Q9011265 Q184586 Q9088357 Q20078774 Q9096005 Q3098299 Q6300797 Q636318 Q225837 Q295456 Q928133 Q3393506 Q19388 Q3418950 Q937833 Q2414634 Q1710330 Q3810894 Q7290575 Q163974 Q3817630 Q428431 Q3848682 Q5865148 Q2756677 Q9025355 Q15523918 Q314652 Q529087 Q1871752 Q23682365 Q21643725 Q6206510 Q2831851 Q514427 Q545969 Q545968 Q44118 Q616304 Q18654709 Q294501 Q691272 Q156802 Q2704604 Q12403083 Q5818368 Q250901 Q527594 Q442838 Q127452 Q2012164 Q1912 Q11576 Q15725900 Q5162376 Q298305 Q519598 Q931623 Q3619344 Q2600946 Q723855 Q2338094 Q483837 Q11928492 Q4680888 Q1545256 Q428618 Q6771964 Q312486 Q3360049 Q20000103 Q2067907 Q144698 Q1367175 Q367022 Q4662556 Q283824 Q350823 Q1822002 Q368441 Q483846 Q365121 Q21176155 Q2094907 Q721600 Q54084 Q1996640 Q1112359 Q282990 Q131234 Q974823 Q128829 Q18715845 Q315291 Q192035 Q3434280 Q16056008 Q3619976 Q2003314 Q1333238 Q549553 Q2358664 Q13780454 Q372386 Q13382434 Q3658379 Q644033 Q962013 Q383641 Q165125 Q134729 Q3392248 Q485196 Q346942 Q1774715 Q162892 Q6403842 Q276399 Q115119 Q519008 Q421810 Q222789 Q4599 Q1769140 Q1329060 Q210916 Q210914 Q83488 Q972470 Q6277804 Q3840379 Q1709307 Q311898 Q186071 Q736915 Q3186482 Q957080 Q455858 Q576614 Q27691 Q2759198 Q27699 Q246417 Q352313 Q168287 Q48770 Q2534721 Q27688 Q2066751 Q124086 Q3703107 Q3679828 Q38136 Q1379087 Q287815 Q208104 Q560001 Q2472108 Q5511634 Q6279426 Q1361823 Q325802 Q16010216 Q2628034 Q535013 Q5173986 Q3810813 Q8345926 Q11686053 Q316836 Q377945 Q5409453 Q6300546 Q3109635 Q3785257 Q218401 Q919720 Q122329 Q296337 Q296635 Q439067 Q310007 Q891120 Q394376 Q270311 Q704337 Q19422 Q610705 Q311324 Q216557 Q2468273 Q510165 Q309966 Q5557590 Q553061 Q4756949 Q4025174 Q657360 Q1032930 Q8078842 Q704934 Q5483208 Q57167 Q43913 Q5665403 Q127499 Q5131455 Q322047 Q3323952 Q946501 Q145436 Q2445124 Q489039 Q1394422 Q250553 Q531342 Q58441 Q2070893 Q1268204 Q6293835 Q2467066 Q3616518 Q980930 Q2666188 Q2896874 Q21130285 Q11571 Q361760 Q62227 Q2338083 Q5857826 Q3371123 Q952221 Q3928939 Q204230 Q5616234 Q776310 Q939480 Q447706 Q10520 Q1367004 Q2329115 Q190651 Q1388069 Q342435 Q1835 Q3898726 Q2072768 Q12399157 Q219768 Q20013424 Q185093 Q3810926 Q1372383 Q361210 Q732684 Q513911 Q654903 Q7087474 Q54094 Q326477 Q26536 Q312580 Q296975 Q2842954 Q928403 Q63659 Q784837 Q483145 Q182308 Q657583 Q461587 Q189217 Q3755420 Q2146290 Q3374050 Q4282518 Q193702 Q2901192 Q3323857 Q529207 Q41235 Q3819580 Q9016521 Q1220489 Q5408290 Q5413781 Q2979325 Q251071 Q585136 Q510631 Q972226
OR((c(Q502895),P54,Q3567556), (c(Q502895),P54,Q8682))
action filter_type
action union
action find_reverse
entity Q3567556
relation P54
action find_reverse
entity Q8682
relation P54
type Q502895
[ANSWERS] play for Wests Tigers or Real Madrid FC
{'OR': [[{'concept': 'Q502895'}, 'P54', 'Q3567556'], [{'concept': 'Q502895'}, 'P54', 'Q8682']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . { { ?k property:P54 resource:Q3567556 } UNION { ?k property:P54 resource:Q8682 } } }
Francisco García Hernández Ramón Grosso Antonio García Navajas Marcelo Martins Moreno Rafael Morera López Mateo Kovačić Carlos Secretário Neider Morantes Predrag Spasić Fábio Tavares Júlio Baptista Emmanuel Adebayor John Fox Watson bocho Gonzalo Marzá Aitor Karanka Jesús Vallejo Lázaro Manuel Bueno Chendo Galé Adolfo Aldana Antonio Núñez Isidoro San José Pedro Casado Rafael García Cortés José Antonio García Calvo José Rodríguez Martínez Juan Santisteban Pascual Babiloni Antonio Maceda Sebastián Losada Alfonso Pérez Juan Pablo Rodríguez Jordi López Simón Lecue Jimmy Conrad Luis Costa Juan Rafael Lesmes Antonio Betancort Scott Prince David Belenguer Antonio Cassano Nuri Şahin Alfonso Fraile Santiago Solari Enrique Corrales Jaime Sánchez Fernández Flávio Conceição Fábio Coentrão Francisco Gento Sergio Díaz Rafael Benítez Nacho Fernández Isco Pedro Luis Jaro Juan Antonio Carcelén Robert Lewandowski Hipólito Rincón. Pablo Olmedo Ruud van Nistelrooy Dejan Petković Willian José Benji Marshall Francisco Llorente Gento Victor Ismael Sosa Pedro Contreras Juan García García Manuel Alday Marticorena René Petit Jesús María Pereda Ismael Urzaiz José Llopis Corona Carlos Diogo Gabriel Alonso Alberto Machimbarrena Ibrahim Afellay Manuel Sanchís Hontiyuelo Jesús Enrique Velasco Fernando Morientes Cosme Vázquez Pedro Parages Ángel Martín González Antonio Bonet Silvestre Pedro María Arsuaga Juan Artola Isidro Díaz González Míchel Fernando Serena Miguel Tendillo Florentino López Sabino Barinaga Alberdi Christian Giménez Augusto César Lima Nicolas Anelka Tronco Crack Anangono Francisco Javier Aguilar García Bryan Rabello José Manuel Jurado Bernd Schuster José María Cabo Puig Iker Casillas Jose Tomas Torregrosa Torregrosa Mino Edgar Pacheco Canário Amancio Amaro Martin Ødegaard Laurie Cunningham Christoph Metzelder Marcos Tébar Ricardo Carvalho Fernando Cavenaghi Juan José Jiménez Collar Fernando Zunzunegui Carlos Manuel da Silva Cunha Adolfo Atienza Ignacio Martín-Esperanza Míchel Salgado Santiago Bernabéu Yeste John Metgod Brett Hodgson Peter Dubovský Raymond Kopa Jesús Fernández Collado José Luis López Peinado Rolando Zárate Nicolás Cambiasso Javi Nenez Claude Makélélé José María Vidal Juan Manuel Villa Antonio Imbelloni Ignacio Zoco Edwin Congo José Quirante Francisco Javier Uría Javier Balboa Sandro Fernando Hierro Guti Klaas-Jan Huntelaar Luis Olaso Bodo Illgner Roberto Carlos Rubén de la Red José Antonio Camacho Antonio León Amador Valmiro Lopes Rocha Fabio Cannavaro Fernando Fernández Escribano Miguel García Martín Henning Jensen Igor Jovićević Juanito Castor Elzo Emerson Ferreira da Rosa Marc de Val Ben Reynolds Fernando Pacheco Flores Albert Aguilà Juan Carlos Pérez López Oscar Más Luis Molowny Michael Laudrup Borja Fernández Manuel Torres Pastor Manuel Prast Matteo Serafini Luciano Lollo Miguel Ángel González Suárez Pedro Casemiro Monchín Triana Pachín Álvaro Saborío Pablo Gabriel García Ali Karimi Miguel Palanca Andrés Imperiale Borja Moya Antonio Ruiz Cervilla Miguel Ángel Nieto Miguel Torres Gómez Raúl Bravo Marcos Alonso Imaz Alberto Marcos Rey Manuel Martínez Canales José María Peña David Aganzo Ciriaco Errasti Javi Guerrero Delio Morollón Ezequiel Garay Juan Mata Augusto Batalla Jesús Ángel Solana César Prates Melinho Gheorghe Hagi José Antonio Salguero García Bronson Harrison Júlio César Santos Correa Ben Te'o Yanko Daucik Phil Walsh Iván Campo Marco Asensio Juan Carlos Mandiá Danilo Keylor Navas Gaspar Rubio Esteban Gutiérrez Fernández Ferenc Puskás Luis Valle Benítez Rubén Yáñez László Kaszás Esteban Cambiasso Lucas Vázquez Tomás Regueiro Samuel Eto'o Francisco Pineda Cicinho César Sánchez José Vicente Train Miguel Ángel Pérez Pilipiux Amador Lorenzo Pat Richards Justo Tejada Omar Mascarell Ricardo Gallego Pedro Munitis Arthur Johnson Sávio Christian Karembeu José Luis Veloso Julio Álvarez Santiago Aragón Fernando Gago Olivier Auriac Isidro Sánchez García-Figueras Sañudo García Albert Celades Hugo Sánchez Juanmi García Diego Herner Miguel Pardeza Matías Alustiza Juan José Maqueda Ángel Pérez García José Bañón Javier Dorado Lucas Silva Borges Sergio Ramos Alejandro Darío Gómez Pahiño Alfredo Di Stéfano Clarence Seedorf José Emilio Amavisca Robert Prosinečki Diego López Rodríguez José Luis Morales Ángel de Los Santos Cano Juan Alberto Acosta Manuel Pazos Kaka Jaime Lazcano Santillana Antonio Alsúa Alonso Predrag Mijatović Antonio Adán José Morales Berriguete Rogelio Domínguez Natalio Rivas Roberto Rojas Raúl de Tomás Pirri Luis García Fernández Adebayo Akinfenwa Paul Breitner Agostinho César Navas José Mandaluniz Günter Netzer José García Castro Pepe Rafael Robayo Robadios José Santamaría Michael Essien Ángel Di María Eero Markkanen Andrés Mendieta Antonio López Herranz Agustín Torassa Emilio Alonso Larrazábal Javier Maté Gareth Bale José Antonio Grande Philipp Lienhart Wilker Ángel Gareth Ellis Juan Planelles Víctor Freddy Rincón Fernando Redondo Fernando Guidicelli Manuel Canabal Daniel Parejo Rangi Chase Mikel Lasa Roberto Juan Martínez Juan Alonso Juan Otxoantezana Ramón de Mendizábal Rafael van der Vaart Joaquín Navarro Perona Ricardo Rocha Mario Inchausti Francisco Aritmendi Manuel Anatol Luis Salmerón Antonio León Blanco David Mateos Jacinto Quincoces Louis Hon Eduardo González Ruiz Álvaro Tejero Joaquín Oliva Alberto Vitoria Granit Xhaka Víctor Torres Mestre Víctor Sánchez Hamit Altıntop Jeff Lima Javier Muñoz Steve McManaman Gary Kagelmacher Paolo Guerrero Miguel Ángel Portugal Ángel Tamargo García Irurzun Álvaro Arbeloa Rodrigo Fabri Marcos Alonso Mendoza Daniel Carvajal Óscar Miñambres Karim Benzema Raúl Alfonso Navarro Perona Juan José Navia Jorge Valdano Rubén González Rocha Agustín Rodríguez Santiago Antonio Calpe Carlos Sánchez García David Cobeño Jonathan Pérez Olivero Luka Modrić Josep Canal i Viñas Adauto Iglesias Fernández Gregorio Benito Erick Gabriel Garcia Izaguirre Marlon Piedrahita Didi Pachichu Ferran Ortuño i Blasco Philiph Flowers Mariano García Remón Manuel Velázquez Francisco Pavón Aaron Woods Borja Valero Javier García Portillo Juan Lozano James David Rodríguez Gonzalo Higuaín Rafael Martín Vázquez Juan Cedrés Pruden Kiko Casilla José María Callejón Juan Cruz Sol Jesús Herrera Alonso Esteban Granero jqjq Toni Kroos Roque Olsen Michael Owen Eduardo Teus Julien Faubert Iván Zamorano Robbie Farah Álvaro Medrán Antonio Ortiz Alonso Ramón Marsal Fernando Sanz Juan Marrero Pérez Miguel Layún Mario Lemina Riki Diego Llorente Luis Fernando Mosquera Fernando Muñoz Juan Antonio Ipiña Agus Javier Hernández Joselu Juan Garrido Canales Lassana Diarra Oscar Ruggeri Maximiliano Estévez Luis del Sol Kianoush Rahmati José Antonio Reyes Julen Lopetegui André Gomes Marañón Luis Enrique Raúl Albiol Armando Navarrete Enrique Mateos Álvaro Negredo Juanfran Mesut Özil Manuel Olivares Jorge Casado Luis Marín Sabater José Luis Borbolla Robert Jarni Javier Saviola Alberto Rivera Pizarro José Montalvo Barragán Jean Luciano Tomás Mejías Luis Aragonés Alberto Bueno Grégory Thil Carlos Aranda Denis Cheryshev Quique Sánchez Flores Christian Panucci Álvaro Morata Tote Javier Paredes Pedro Regueiro Wesley Sneijder David Bettoni Claudemir Vítor Marcelo Vieira José Luis Capdevil Royston Drenthe Xabi Alonso Elvir Baljić José Berraondo Félix Quesada Jose Luis Borja Juan Francisco Moreno Fuertes Juan Bautista Agüero Alfonso Albéniz Enrique Wolff Lucien Muller Cosme Juan Carlos Touriño Jesús Alonso Fernández José María Salmerón Nenê Adrián González Morales Eulogio Aranguren Juan Monjardín Sebastián Fleitas Hermenegildo Elices Roberto Soldado Miquel Soler Rafael Alkorta Ricardo Zamora Jonathan Woodgate Francisco Buyo Pedro León Antonio González Agne Simonsson Santiago Cañizares Luis Regueiro Sergio Canales Iker Iturbe Thomas Gravesen Mohamed Sissoko Michael Arroyo Pablo Sarabia Bernd Leno Ghulam Hazrat Niazi Evaristo de Macedo Andrew Fifita Ángel Atienza Vicente del Bosque Iván Pérez Muñoz Óscar Montalbán Ramos José Manuel Ochotorena Francisco Bonet Serrano Zé Roberto Arjen Robben Álex Pérez Asier Illarramendi Clemente Fernández López Jordi Codina Luis Miguel Ramis Krzysztof Król Pedro Mosquera Francisco Villarroya Raphaël Varane José Iglesias Fernández Álex Aguinaga Albano Bizzarri Robinho Adolphe Mengotti Alberto Toril José Ramón Sauto Yoshimar Yotún Andrés Sabido Perica Ognjenović Narciso Mina Berasaluce Marcos Llorente Cristiano Ronaldo Manuel Tena Juan Esnáider Miguel Palencia Federico Revuelto Julián Ruete Marc Vales Rafael Batista Hernández Geremi Njitap Guillermo Pont Manuel Sanchís Martínez Federico Magallanes Héctor Rial David Beckham José Araquistáin Juan Antonio Señor Jerzy Dudek Fernand Goyvaerts Josep Samitier Zinedine Zidane Pedro de Felipe Antonio Rozzi Rodrigo García Vizoso Mahamadou Diarra José Becerril Jesús Navas Juan Urkizu Vicente Miera Miguel Muñoz Chris Lawrence Jesé Rodríguez Renato Ibarra Oliver Cuadrado Martín Sami Khedira Enzo Fernández Álex Fernández Uli Stielike Iván Helguera Álvarito Benito Daniel García Lara Gabriel Heinze José María Zárraga Luís Figo Celso Ortiz Félix Ruiz Rafael Gordillo Davor Šuker Félix Huete Milan Janković Pedro Filipe Mendes Adrián Martín Cardona Walter Samuel Joaquín Parra Antonio Gómez Pérez Ronaldo Emilio Butragueño Sergio Rodríguez Viera Julio Llorente Diego León Eugenio Hilario Nazario Belmar Clint Greenshields Álvaro Mejía Pérez Adrián Centurión Luis Milla Julio César Britos
Carlos Diogo, Alberto Bueno, Luis Costa Juan, Antonio Betancort, Manuel Canabal, Dejan Petković, Manuel Velázquez, Manuel Tena, Jaime Sánchez Fernández and Jacinto Quincoces play for Wests Tigers or Real Madrid FC
Carlos Diogo Alberto Bueno Luis Costa Juan Antonio Betancort Manuel Canabal Dejan Petković Manuel Velázquez Manuel Tena Jaime Sánchez Fernández Jacinto Quincoces
action filter_type
action union
action find_reverse
entity Wests Tigers
relation member of sports team
action find_reverse
entity Real Madrid FC
relation member of sports team
type common name
{'OR': [[{'concept': 'common name'}, 'member of sports team', 'Wests Tigers'], [{'concept': 'common name'}, 'member of sports team', 'Real Madrid FC']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . { { ?k property:member_of_sports_team resource:Wests_Tigers } UNION { ?k property:member_of_sports_team resource:Real_Madrid_FC } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q7856
P641
Q349 Q12973014 Q500834
USER
How many sports were lesser number of sports teams and tournaments a part of than rallying ?
(c(Q12973014)|c(Q500834),P641,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q7856
relation P641
type Q12973014
type Q500834
[[{'concept': 'Q12973014'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?c WHERE { { ?m property:P641 ?c . ?c rdf:type ontology:Q349 . ?m rdf:type ontology:Q12973014 } UNION { ?c rdf:type ontology:Q349 . ?m rdf:type ontology:Q500834 . ?m property:P641 ?c } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b property:P641 resource:Q7856 . { VALUES ( ?g ) { ( ontology:Q500834 ) ( ontology:Q12973014 ) } . ?b rdf:type ?g } } } . FILTER ( ?d < ?j ) }
rallying
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity rallying
relation sport
type sports team
type tournament
[[{'concept': 'sports team'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?c WHERE { { ?m property:sport ?c . ?c rdf:type ontology:sport . ?m rdf:type ontology:sports_team } UNION { ?c rdf:type ontology:sport . ?m rdf:type ontology:tournament . ?m property:sport ?c } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b property:sport resource:rallying . { VALUES ( ?g ) { ( ontology:tournament ) ( ontology:sports_team ) } . ?b rdf:type ?g } } } . FILTER ( ?d < ?j ) }
[]
sport sports team tournament
SYSTEM
154
Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q193387 Q108429 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q46241 Q83462 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q738622 Q148636 Q2887217 Q599204 Q206989 Q690676 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q667692 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q12973014)|c(Q500834),P641,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q7856
relation P641
type Q12973014
type Q500834
[ANSWER]
[[{'concept': 'Q12973014'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?c WHERE { { ?m property:P641 ?c . ?c rdf:type ontology:Q349 . ?m rdf:type ontology:Q12973014 } UNION { ?c rdf:type ontology:Q349 . ?m rdf:type ontology:Q500834 . ?m property:P641 ?c } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b property:P641 resource:Q7856 . { VALUES ( ?g ) { ( ontology:Q500834 ) ( ontology:Q12973014 ) } . ?b rdf:type ?g } } } . FILTER ( ?d < ?j ) }
college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting croquet archery windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball Ultimate memory sport equestrian sport puroresu paintball Finswimming drag racing weightlifting Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing dancesport Kabaddi women's basketball rallycross shooting sport canoe polo natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport competition aerobatics paralympic swimming gymnastics balkline and straight rail skating mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing Nordic walking hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
154
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity rallying
relation sport
type sports team
type tournament
[[{'concept': 'sports team'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?c WHERE { { ?m property:sport ?c . ?c rdf:type ontology:sport . ?m rdf:type ontology:sports_team } UNION { ?c rdf:type ontology:sport . ?m rdf:type ontology:tournament . ?m property:sport ?c } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b property:sport resource:rallying . { VALUES ( ?g ) { ( ontology:tournament ) ( ontology:sports_team ) } . ?b rdf:type ?g } } } . FILTER ( ?d < ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q500050
P641
Q349 Q12973014 Q500834
USER
And how about cross country running?
(c(Q12973014)|c(Q500834),P641,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q500050
relation P641
type Q12973014
type Q500834
[[{'concept': 'Q12973014'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?r ) WHERE { { ?g property:P641 ?s . ?s rdf:type ontology:Q349 . ?g rdf:type ontology:Q12973014 } UNION { ?g property:P641 ?s . ?s rdf:type ontology:Q349 . ?g rdf:type ontology:Q500834 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:P641 resource:Q500050 . { { ?w rdf:type ontology:Q12973014 } UNION { ?w rdf:type ontology:Q500834 } } } } . FILTER ( ?r < ?f ) }
cross country running
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity cross country running
relation sport
type sports team
type tournament
[[{'concept': 'sports team'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?r ) WHERE { { ?g property:sport ?s . ?s rdf:type ontology:sport . ?g rdf:type ontology:sports_team } UNION { ?g property:sport ?s . ?s rdf:type ontology:sport . ?g rdf:type ontology:tournament } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:sport resource:cross_country_running . { { ?w rdf:type ontology:sports_team } UNION { ?w rdf:type ontology:tournament } } } } . FILTER ( ?r < ?f ) }
[]
sport sports team tournament
SYSTEM
139
Q4543 Q170737 Q114466 Q12100 Q2348250 Q3337306 Q193387 Q108429 Q191051 Q4808504 Q3844480 Q809831 Q1575010 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q46241 Q83462 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q738622 Q148636 Q2887217 Q599204 Q206989 Q690676 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q6034982 Q12834857 Q61065 Q2284014 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q36908 Q1081491 Q483693 Q389654 Q61465 Q4245261 Q624161 Q327742 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q797108 Q2167372 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q6140386 Q3325635 Q207703 Q1358925 Q667692 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q12973014)|c(Q500834),P641,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q500050
relation P641
type Q12973014
type Q500834
[ANSWER]
[[{'concept': 'Q12973014'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?r ) WHERE { { ?g property:P641 ?s . ?s rdf:type ontology:Q349 . ?g rdf:type ontology:Q12973014 } UNION { ?g property:P641 ?s . ?s rdf:type ontology:Q349 . ?g rdf:type ontology:Q500834 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:P641 resource:Q500050 . { { ?w rdf:type ontology:Q12973014 } UNION { ?w rdf:type ontology:Q500834 } } } } . FILTER ( ?r < ?f ) }
beach volleyball long jump mixed martial arts fencing team time trial yachting croquet archery windsurfing snocross rink bandy BASE jumping para rowing Ultimate memory sport equestrian sport puroresu paintball Finswimming drag racing weightlifting Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing dancesport Kabaddi women's basketball rallycross shooting sport canoe polo natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war pair skating sumo wrestling pesäpallo Valencian pilota boxe roque shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport Inline skating strength training water sport Contact sport competition aerobatics paralympic swimming gymnastics balkline and straight rail skating mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics touring car racing gliding relay race Savate bowling wakeboarding strength athletics CP football jeu de paume fell running real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball Kitō-ryū Valencian trinquet rodeo speed skiing Nordic walking hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing kick boxing women's tennis Kalari surfing combined track and field events cue sports Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
139
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity cross country running
relation sport
type sports team
type tournament
[[{'concept': 'sports team'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?r ) WHERE { { ?g property:sport ?s . ?s rdf:type ontology:sport . ?g rdf:type ontology:sports_team } UNION { ?g property:sport ?s . ?s rdf:type ontology:sport . ?g rdf:type ontology:tournament } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:sport resource:cross_country_running . { { ?w rdf:type ontology:sports_team } UNION { ?w rdf:type ontology:tournament } } } } . FILTER ( ?r < ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q10962
P921
Q2342494 Q4894405
USER
How many collectables or journalism genres were mainly based on rugby league ?
(c(Q2342494),P921,Q10962) (c(Q4894405),P921,Q10962)
action count
action union
action filter_type
action find_reverse
entity Q10962
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q10962
relation P921
type Q4894405
[{'concept': 'Q2342494'}, 'P921', 'Q10962'] [{'concept': 'Q4894405'}, 'P921', 'Q10962']
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2342494 ) ( ontology:Q4894405 ) } }
rugby league
action count
action union
action filter_type
action find_reverse
entity rugby league
relation main subject
type collectable
action filter_type
action find_reverse
entity rugby league
relation main subject
type journalism genre
[{'concept': 'collectable'}, 'main subject', 'rugby league'] [{'concept': 'journalism genre'}, 'main subject', 'rugby league']
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?p . VALUES ( ?p ) { ( ontology:collectable ) ( ontology:journalism_genre ) } }
[]
collectable journalism genre
SYSTEM
2
Q23893875 Q22266377
(c(Q2342494),P921,Q10962) (c(Q4894405),P921,Q10962)
action count
action union
action filter_type
action find_reverse
entity Q10962
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q10962
relation P921
type Q4894405
[ANSWER]
[{'concept': 'Q2342494'}, 'P921', 'Q10962'] [{'concept': 'Q4894405'}, 'P921', 'Q10962']
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2342494 ) ( ontology:Q4894405 ) } }
Rugby League: Lowe - kick Hopoate out for life The British Rugby League records book
2
action count
action union
action filter_type
action find_reverse
entity rugby league
relation main subject
type collectable
action filter_type
action find_reverse
entity rugby league
relation main subject
type journalism genre
[{'concept': 'collectable'}, 'main subject', 'rugby league'] [{'concept': 'journalism genre'}, 'main subject', 'rugby league']
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?p . VALUES ( ?p ) { ( ontology:collectable ) ( ontology:journalism_genre ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P122
Q56061 Q7275 Q1048835
USER
Which political territories have max number of administrative territories or states as the type of government ?
(c(Q1048835),P122,c(Q56061)|c(Q7275))
action argmax
action union
action find_tuple_counts
relation P122
type Q1048835
type Q56061
action find_tuple_counts
relation P122
type Q1048835
type Q7275
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q56061'}, {'concept': 'Q7275'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) ?w WHERE { { ?w property:P122 ?h . ?h rdf:type ontology:Q7275 . ?w rdf:type ontology:Q1048835 } UNION { ?w property:P122 ?h . ?w rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q56061 } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) ?u WHERE { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:Q7275 ) ( ontology:Q56061 ) } } GROUP BY ?u } . FILTER ( ?y = ?g ) }
action argmax
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type administrative territorial entity
action find_tuple_counts
relation basic form of government
type political territorial entity
type state
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'administrative territorial entity'}, {'concept': 'state'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) ?w WHERE { { ?w property:basic_form_of_government ?h . ?h rdf:type ontology:state . ?w rdf:type ontology:political_territorial_entity } UNION { ?w property:basic_form_of_government ?h . ?w rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:administrative_territorial_entity } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) ?u WHERE { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:state ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?u } . FILTER ( ?y = ?g ) }
[]
administrative territorial entity state political territorial entity
Q38610 Q151938 Q129286
SYSTEM
Dominion of Newfoundland, Neutral Moresnet, British Raj
Q38610 Q151938 Q129286
(c(Q1048835),P122,c(Q56061)|c(Q7275))
action argmax
action union
action find_tuple_counts
relation P122
type Q1048835
type Q56061
action find_tuple_counts
relation P122
type Q1048835
type Q7275
[ANSWERS] have max number of administrative territories or states as the type of government
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q56061'}, {'concept': 'Q7275'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) ?w WHERE { { ?w property:P122 ?h . ?h rdf:type ontology:Q7275 . ?w rdf:type ontology:Q1048835 } UNION { ?w property:P122 ?h . ?w rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q56061 } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) ?u WHERE { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:Q7275 ) ( ontology:Q56061 ) } } GROUP BY ?u } . FILTER ( ?y = ?g ) }
Dominion of Newfoundland Neutral Moresnet British Raj
Dominion of Newfoundland, Neutral Moresnet and British Raj have max number of administrative territories or states as the type of government
Dominion of Newfoundland Neutral Moresnet British Raj
action argmax
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type administrative territorial entity
action find_tuple_counts
relation basic form of government
type political territorial entity
type state
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'administrative territorial entity'}, {'concept': 'state'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) ?w WHERE { { ?w property:basic_form_of_government ?h . ?h rdf:type ontology:state . ?w rdf:type ontology:political_territorial_entity } UNION { ?w property:basic_form_of_government ?h . ?w rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:administrative_territorial_entity } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) ?u WHERE { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:state ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?u } . FILTER ( ?y = ?g ) }
[]