Simple Question (Direct)
Simple Question
Q1817142
P102
Q7210356
USER
Which party is Lemuel Benton affiliated with ?
(Q1817142,P102,c(Q7210356))
action filter_type
action find
entity Q1817142
relation P102
type Q7210356
['Q1817142', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q1817142 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Lemuel Benton
action filter_type
action find
entity Lemuel Benton
relation member of political party
type political organization
['Lemuel Benton', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Lemuel_Benton property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
political organization
Q574557
SYSTEM
Anti-Administration Party
Q574557
(Q1817142,P102,c(Q7210356))
action filter_type
action find
entity Q1817142
relation P102
type Q7210356
Lemuel Benton is affiliated with [ANSWER]
['Q1817142', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q1817142 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Anti-Administration Party
Lemuel Benton is affiliated with Anti-Administration Party
Anti-Administration Party
action filter_type
action find
entity Lemuel Benton
relation member of political party
type political organization
['Lemuel Benton', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Lemuel_Benton property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q574557
P17
Q15617994
USER
Which administrative territory is that political organization present in ?
(Q574557,P17,c(Q15617994))
action filter_type
action find
entity Q574557
relation P17
type Q15617994
['Q574557', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q574557 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Anti-Administration Party
action filter_type
action find
entity Anti-Administration Party
relation country
type designation for an administrative territorial entity
['Anti-Administration Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Anti-Administration_Party property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q574557,P17,c(Q15617994))
action filter_type
action find
entity Q574557
relation P17
type Q15617994
That political organization is the [ANSWER]
['Q574557', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q574557 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
United States of America
That political organization is the United States of America
United States of America
action filter_type
action find
entity Anti-Administration Party
relation country
type designation for an administrative territorial entity
['Anti-Administration Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Anti-Administration_Party property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with exactly 10 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 10
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?e ) WHERE { ?w property:P530 ?l . ?w rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?e = 10 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 10
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?e ) WHERE { ?w property:diplomatic_relation ?l . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?e = 10 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
2
Q403 Q1011
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 10
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?e ) WHERE { ?w property:P530 ?l . ?w rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?e = 10 ) }
Serbia Cape Verde
2
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 10
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?e ) WHERE { ?w property:diplomatic_relation ?l . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?e = 10 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q123585 Q574557
P102
Q502895
USER
Which people belong to the political party Anti-Administration Party or Radical Civic Union ?
OR((c(Q502895),P102,Q574557), (c(Q502895),P102,Q123585))
action filter_type
action union
action find_reverse
entity Q574557
relation P102
action find_reverse
entity Q123585
relation P102
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P102', 'Q574557'], [{'concept': 'Q502895'}, 'P102', 'Q123585']]}
SELECT DISTINCT ?s WHERE { { ?s property:P102 ?m . VALUES ( ?m ) { ( resource:Q574557 ) ( resource:Q123585 ) } } . ?s rdf:type ontology:Q502895 }
Radical Civic Union Anti-Administration Party
action filter_type
action union
action find_reverse
entity Anti-Administration Party
relation member of political party
action find_reverse
entity Radical Civic Union
relation member of political party
type common name
{'OR': [[{'concept': 'common name'}, 'member of political party', 'Anti-Administration Party'], [{'concept': 'common name'}, 'member of political party', 'Radical Civic Union']]}
SELECT DISTINCT ?s WHERE { { ?s property:member_of_political_party ?m . VALUES ( ?m ) { ( resource:Anti-Administration_Party ) ( resource:Radical_Civic_Union ) } } . ?s rdf:type ontology:common_name }
[]
common name
Q9025155 Q5898535 Q19245981 Q4801718 Q11686967 Q75076 Q16298697 Q5665232 Q6844637 Q471060
SYSTEM
Some of them are Luis León, Hipólito Marcial Rojas, Carlos Alfonso Prades, Arturo Colombi, Justo Páez Molina, Santiago Llaver, Patricia de Ferrari, Alejandro Mathus Hoyos, Miguel Laurencena, William Grayson
Q6108064 Q5974658 Q363586 Q6128426 Q5939345 Q5676092 Q5340508 Q5760154 Q19245981 Q5833091 Q6044777 Q4723820 Q7351748 Q431857 Q5830069 Q7105853 Q4403662 Q5850322 Q6041007 Q2843919 Q5857874 Q6161128 Q5772075 Q17477925 Q6014188 Q5811990 Q4263301 Q5478038 Q16594562 Q5894385 Q5950067 Q6292122 Q5908271 Q8345845 Q6165542 Q5993110 Q5813353 Q2889273 Q5574311 Q5662981 Q5689607 Q5982222 Q5938489 Q6109670 Q18729145 Q295007 Q4801813 Q5972219 Q1164999 Q5559598 Q3543869 Q5749641 Q959875 Q9025155 Q6069052 Q3830682 Q5998873 Q5878717 Q5707327 Q506733 Q5858208 Q6043332 Q725907 Q5664467 Q5609630 Q8205992 Q16530686 Q5998895 Q5902461 Q17635652 Q16298697 Q365158 Q5667995 Q888648 Q1510629 Q18715171 Q8193951 Q1247160 Q6429297 Q5860800 Q5998392 Q6049818 Q4714481 Q6056500 Q16334671 Q6527168 Q5857540 Q5898550 Q5699824 Q5715314 Q7121785 Q6389448 Q16489663 Q5993711 Q6042241 Q599714 Q5654920 Q5644254 Q5698684 Q5489320 Q193062 Q5837040 Q6309249 Q5833310 Q19016026 Q17563243 Q7944689 Q5667972 Q5042686 Q5833424 Q5849001 Q5726779 Q5951918 Q6015744 Q5906413 Q6395631 Q357646 Q6112271 Q6099692 Q5833657 Q4801718 Q6700387 Q7454335 Q6700989 Q3186387 Q2832456 Q15927289 Q5704417 Q11690091 Q715315 Q5666639 Q1333424 Q1707698 Q226053 Q5955004 Q5742107 Q1261399 Q442393 Q5297445 Q5367308 Q16942044 Q5955099 Q5751149 Q1733790 Q5982289 Q5371931 Q5483062 Q6553522 Q3187673 Q5366487 Q5640199 Q5812904 Q5833289 Q6068223 Q6101285 Q5860064 Q6173542 Q978343 Q2427741 Q5857933 Q5998811 Q5657339 Q18668556 Q5850285 Q6112058 Q957748 Q2150938 Q5042783 Q5859387 Q5217771 Q16607366 Q11686967 Q6456064 Q16942314 Q5651750 Q17612455 Q5831060 Q2894286 Q5368127 Q7108084 Q387646 Q5749628 Q6014687 Q5857798 Q16573399 Q8196943 Q5935012 Q4713883 Q9024801 Q642264 Q5696646 Q5936216 Q464466 Q16589675 Q1164744 Q6844637 Q5865215 Q5707646 Q6278814 Q6110540 Q75076 Q20303557 Q5042195 Q16586064 Q940617 Q5483842 Q4714583 Q5947740 Q5371946 Q6013903 Q2130489 Q7322654 Q270368 Q16562331 Q16957183 Q5906311 Q6120951 Q16651707 Q5937763 Q5904691 Q6101066 Q6165599 Q5798692 Q6388637 Q8009047 Q5984220 Q7454303 Q5831343 Q6128527 Q5906402 Q6959980 Q5955545 Q5896197 Q6006917 Q331107 Q5940059 Q3857273 Q1646739 Q1817142 Q5699069 Q5483783 Q5729804 Q5699991 Q6277842 Q5831330 Q7357213 Q6381281 Q7161161 Q17612397 Q5819618 Q5791973 Q16301672 Q2133298 Q5710952 Q1966777 Q1627240 Q6400525 Q9014047 Q765041 Q5939927 Q16298511 Q6097429 Q591796 Q6752402 Q18669902 Q946295 Q5938702 Q18286673 Q5651741 Q18668547 Q16599839 Q18668548 Q1709557 Q18811486 Q6107976 Q1160834 Q329740 Q545374 Q12201446 Q16559017 Q18683373 Q6128415 Q5783610 Q5760147 Q5673531 Q5202568 Q5393902 Q5707404 Q16494009 Q5640620 Q5901839 Q5640784 Q5665232 Q21855237 Q7322551 Q5668101 Q5379768 Q5901909 Q2642191 Q6020704 Q471060 Q6101140 Q5898535 Q5710821 Q5699808 Q6108011 Q5855240 Q18674432 Q9057367 Q5948411 Q5749612 Q959393 Q6009463 Q7106223 Q5906244 Q5860194 Q5949272 Q6069237 Q5783572 Q5950871 Q2621980 Q456351 Q6117776 Q5945495 Q18676761 Q5668716 Q5699158 Q17612492 Q5837000 Q5490895 Q6101056 Q6700475 Q5749556 Q2159496 Q11061112 Q5407380 Q6113184 Q5934605 Q5930600 Q5935133 Q6764548 Q6109589 Q5655295 Q16957213 Q5948753 Q380504 Q5641297 Q3048310 Q5939014 Q7373214 Q16300843 Q7376526 Q365369 Q11686121 Q5667656 Q5973474 Q2418845 Q5953574 Q5658033 Q5671444 Q6005867 Q5948520 Q17364231 Q346658 Q6165483 Q297134 Q5833640 Q4838027 Q9093281 Q5340656
OR((c(Q502895),P102,Q574557), (c(Q502895),P102,Q123585))
action filter_type
action union
action find_reverse
entity Q574557
relation P102
action find_reverse
entity Q123585
relation P102
type Q502895
[ANSWERS] belong to the political party Anti-Administration Party or Radical Civic Union
{'OR': [[{'concept': 'Q502895'}, 'P102', 'Q574557'], [{'concept': 'Q502895'}, 'P102', 'Q123585']]}
SELECT DISTINCT ?s WHERE { { ?s property:P102 ?m . VALUES ( ?m ) { ( resource:Q574557 ) ( resource:Q123585 ) } } . ?s rdf:type ontology:Q502895 }
Ricardo Campero Leónidas Anastasi Marcelo Torcuato de Alvear Silvano Santander José E. Guanes Andrés Rébori Eduardo Angeloz Celestino Marcó Carlos Alfonso Prades Enrique Beveraggi Norberto Antoni Alfredo Martínez Roberto Iglesias Joseph Stanton Elva Roulet Oscar Alende Miguel Ángel Zavala Ortiz Eufrasio Loza Nereo Crovetto Alberto Icare Federico Storani Vicente Gandini Claudio Presman Miguel Ángel Bazze Miguel Culaciati Diógenes Taboada Raúl Scalabrini Ortiz Horacio Vaquie Luis Monteverde Henoch D. Aguiar Juan Isaac Cooke José Emilio Lunghi Ideler Tonelli Chrystian Colombo Javier González Fraga Manuel Garrido Donato Latella Frías Miguel Ángel Pesce Rafael Pascual Alberto Domingo Montoya Ernesto Aráoz Lucio Alfredo Cornejo Linares José Benjamín Ábalos Roberto Costa Raúl Baglini Fernando de la Rúa Arturo Vera Leandro Despouy Dante Caputo Ricardo Joaquín Durand Lisandro de la Torre Carlos Alric Héctor Tizón Luis León Pedro Gómez Cello Leopoldo Bard Mario Meoni Germán López Arturo Lorusso Andrew Pickens Horacio Guzmán Nito Artaza Richard Henry Lee Aldo Neri Griselda Tessio Arturo Mor Roig Anselmo Zoilo Duca Mario Monteverde Horacio Usandizaga Juan Casañas Patricia de Ferrari Adolfo Saldías Alfredo Roque Vítolo Moses Robinson William Lyman Jorge Alfredo Agúndez Aldo Tessio Horacio B. Oyhanarte Emilio Mihura Tomás Le Breton Mario Abel Amaya Olga Inés Brizuela y Doria Alejandro Armendáriz Pablo Torello Julio Alberto Domeniconi Leopoldo Melo Federico Cantoni Hipólito Solari Yrigoyen Antonio Salonia Aída Beatríz Máxima Ayala Pablo Verani Arturo Zanichelli Bernardo Ignacio Salduna Manuel María de Iriondo Nicolás Gallo Ernesto Sanz Abel Paulino Miguel Antonio María Hernandez Antonio J. Benítez Luis Falcó Raúl Alfonsín Ernesto Ueltschi Julio César Saguier Enrique García Tomé Javier Reynaldo Meneghini Darío Loperfido Víctor Marchesini Carlos J. Rodríguez Carlos Sylvestre Begnis Enrique Honores Esteban Adaro Bernardo Grinspun Juan Palmero Miguel Ángel Montes Héctor Ruiz Benjamín Villafañe Chaves James Jackson Rosa de Jesús Pescatore de Tarantini Ramón Gómez Enrique Olivera Arturo Colombi Luis Brandoni Sergio Montiel Luis Petcoff Naidenoff José Luis Zavalía Alejandro Gómez Zacarías Agüero Vera Armando Antille Mabel Manzotti Arturo Jauretche Manuel Menchaca Elsa Kelly Joseph Neville Félix Luna Julio Borda Camilo Etchevarren Ricardo Alfonsín William Maclay Dora Sánchez Elpidio González Eduardo Miguel Julio Cornejo Carlos Noël Nathaniel Macon Lucio Lapeña Emilio Rached Francisco A. Barroetaveña Martín Lousteau Hortensio Quijano Enrique Martínez Horacio Massaccesi Domingo Salaberry Enrique Ferreyra Pedro Azcoiti Raúl Lucio Uranga Fernando Piragine Niveyro Ángel V. Baulina William Smith Thomas Tredwell Federico Álvarez de Toledo Mario Losada Adalberto Rodríguez Giavarini Atilio Cattaneo Eudoro Aráoz Roque Carranza Ricardo López Murphy Richard Winn Carlos Washington Lencinas Fernando Chironi Daniel Katz Miguel S. Ortiz Justo Páez Molina Juan Manuel Casella Tomás Braulio Platero Cecelia Felgueras Eudoro Vargas Gómez Emilio Donato del Carril José Luis Machinea Elvira Rawson Osvaldo Álvarez Guerrero Florentina Gómez Miranda Carlos Alfredo Becú Miguel Mario Campero Federico Polak Guillermo Sullivan Amadeo Sabattini Jorge Esteban Roulet Aldo Ferrer Lucia Alberti Alexander Martin Anselmo Marini Jorge Vanossi Thomas Tudor Tucker Laura Montero Manuel Sadosky Miguel Laurencena Francisco Beiró Arístides Emilio Bibolini Jorge de la Rúa Rodolfo Lehmann Santiago Llaver Lucas Llach Carlos Humberto Perette Justo Policarpo Villar Homero Manzi Francisco Rabanal Alejandro Korn Juan Bautista Fleitas Emilio Solanet Miguel Aníbal Tanco Ramón Javier Mestre Ricardo Gil Lavedra Arturo Umberto Illia Enrique S. Quintana Marcelo Lugones Héctor Noblía Santiago H. del Castillo Ángel Edelman José Antonio Ceballos Hugo Vaca Narvaja Raúl Bertrés Víctor M. Molina Daniel Sartor Arnoldo Castillo William Findley Luis Rafael Mac Kay Sergio Karakachoff Emilio Tomás Silvia Beatriz Lemos Héctor Roquel Ramón Mestre Julio Moreno Dra Alcira Pignata Mauricio D'Alessandro Stevens Thomson Mason José Genoud Miguel Lunghi José Luis Cantilo Lemuel Benton Antonio Medina Allende Gerardo Morales Blanca Monllau Antonio Tróccoli Jorge Colazo Emilio Siri Rodolfo Terragno Alberto Aybar Augier Pelagio Luna Ramón Lascano Eduardo Raúl Costa Crisólogo Larralde Mario Negri José Ignacio García Hamilton Atlántico Ramón Forés Nathaniel Niles Honorio Pueyrredón Calixto Maldonado José Luis Foulkes Henry Tazewell José Gabriel Dumón José Manuel Corral Rafael Herrera Vegas Ángel Rozas Manuel Antín Manuel Álvarez Pereyra Víctor Hipólito Martínez José Camilo Crotto Blas Benjamín de la Vega Fernando Geronés Ricardo Caballero Mario Paradelo Juan Bautista Castro José Tamborini Manuel García Fernández Ricardo Aldao Daniel Giacomino Abraham B. Venable Aristóbulo del Valle Rubén Américo Martí Edgardo Castello Santiago Maradona Silvana Myriam Giudici Conrado Storani Celestino Gelsi Américo Aguilera César Jaroslavsky Diego Luis Molinari Arturo Oñativia Manuel Cáceres Enrique Viriato de Llamas Horacio Carrillo José Manuel Cano Alejandro Mathus Hoyos Carla Carrizo Ricardo Balbín Alfredo Víctor Cornejo Enrique Mosca Horacio Jaunarena Alexander Gillon Moisés Lebensohn William Grayson Raúl Damonte Taborda Hipólito Marcial Rojas Atilio Oscar Viglione Antonio Sagarna Ricardo Barrios Arrechea Facundo Suárez Lastra Ernesto F. Bavio Pedro Bidegain Juan Carlos Marino Carlos Alconada Aramburú Carlos Raúl Contín Melchor Posse Oscar Raúl Aguad Héctor Lombardo Fernando Saguier Juan Erwin Bolívar Acuña Kunz Pedro José Pérez Conrado Argentino Granada Juan M. Garro Leandro N. Alem Julio Cobos Salvador Sallarés José Santos Salinas Oscar Albrieu Alicia Azula Antonio Mucci Pedro Numa Soto Ernesto Sammartino Raúl Borrás Raúl Barón Biza Luis Dellepiane Carlos Alberto Contín Roberto Etchepareborda Francisco Muñoz Valentín Vergara Rubén Campos Jorge Bermúdez Emparanza Jesús Rodríguez Jorge Galina Mario Barletta Roberto Atencia Abraham Quintana Arturo Torres Juan Cepeda Aedanus Burke Enrique Pérez Colman Eduardo Brizuela del Moral José Cohen Roy Nikisch Héctor María Gutiérrez Rubén Rabanal Roberto María Ortiz José Néstor Lencinas Alfredo Demarchi Leopoldo Moreau Theodorus Bailey Juan de la Campa Adolfo Güemes Amable Jones Mateo Córdova Juan Carlos Pugliese Luis María Cassoni Arturo Frondizi Víctor Fayad Hipólito Yrigoyen Enrique Nosiglia Ricardo Colombi Vicente Gallo Eduardo Laurencena
Luis León, Hipólito Marcial Rojas, Carlos Alfonso Prades, Arturo Colombi, Justo Páez Molina, Santiago Llaver, Patricia de Ferrari, Alejandro Mathus Hoyos, Miguel Laurencena and William Grayson belong to the political party Anti-Administration Party or Radical Civic Union
Luis León Hipólito Marcial Rojas Carlos Alfonso Prades Arturo Colombi Justo Páez Molina Santiago Llaver Patricia de Ferrari Alejandro Mathus Hoyos Miguel Laurencena William Grayson
action filter_type
action union
action find_reverse
entity Anti-Administration Party
relation member of political party
action find_reverse
entity Radical Civic Union
relation member of political party
type common name
{'OR': [[{'concept': 'common name'}, 'member of political party', 'Anti-Administration Party'], [{'concept': 'common name'}, 'member of political party', 'Radical Civic Union']]}
SELECT DISTINCT ?s WHERE { { ?s property:member_of_political_party ?m . VALUES ( ?m ) { ( resource:Anti-Administration_Party ) ( resource:Radical_Civic_Union ) } } . ?s rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16298697
P39
Q12737077
USER
What was the position held by that person ?
(Q16298697,P39,c(Q12737077))
action filter_type
action find
entity Q16298697
relation P39
type Q12737077
['Q16298697', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q16298697 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Patricia de Ferrari
action filter_type
action find
entity Patricia de Ferrari
relation position held
type occupation
['Patricia de Ferrari', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Patricia_de_Ferrari property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q19245981
SYSTEM
Did you mean Carlos Alfonso Prades ?
Q9025155 Q5898535 Q19245981 Q4801718 Q11686967 Q75076 Q16298697 Q5665232 Q6844637 Q471060
(Q9025155,P39,c(Q12737077)) (Q5898535,P39,c(Q12737077)) (Q19245981,P39,c(Q12737077)) (Q4801718,P39,c(Q12737077)) (Q11686967,P39,c(Q12737077)) (Q75076,P39,c(Q12737077)) (Q16298697,P39,c(Q12737077)) (Q5665232,P39,c(Q12737077)) (Q6844637,P39,c(Q12737077)) (Q471060,P39,c(Q12737077))
[ANSWER]
['Q9025155', 'P39', {'concept': 'Q12737077'}] ['Q5898535', 'P39', {'concept': 'Q12737077'}] ['Q19245981', 'P39', {'concept': 'Q12737077'}] ['Q4801718', 'P39', {'concept': 'Q12737077'}] ['Q11686967', 'P39', {'concept': 'Q12737077'}] ['Q75076', 'P39', {'concept': 'Q12737077'}] ['Q16298697', 'P39', {'concept': 'Q12737077'}] ['Q5665232', 'P39', {'concept': 'Q12737077'}] ['Q6844637', 'P39', {'concept': 'Q12737077'}] ['Q471060', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q16298697 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Luis León Hipólito Marcial Rojas Carlos Alfonso Prades Arturo Colombi Justo Páez Molina Santiago Llaver Patricia de Ferrari Alejandro Mathus Hoyos Miguel Laurencena William Grayson
Did you mean Carlos Alfonso Prades ?
Carlos Alfonso Prades
['Luis León', 'position held', {'concept': 'occupation'}] ['Hipólito Marcial Rojas', 'position held', {'concept': 'occupation'}] ['Carlos Alfonso Prades', 'position held', {'concept': 'occupation'}] ['Arturo Colombi', 'position held', {'concept': 'occupation'}] ['Justo Páez Molina', 'position held', {'concept': 'occupation'}] ['Santiago Llaver', 'position held', {'concept': 'occupation'}] ['Patricia de Ferrari', 'position held', {'concept': 'occupation'}] ['Alejandro Mathus Hoyos', 'position held', {'concept': 'occupation'}] ['Miguel Laurencena', 'position held', {'concept': 'occupation'}] ['William Grayson', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Patricia_de_Ferrari property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Patricia de Ferrari. Could you tell me the answer for that?
(Q16298697,P39,c(Q12737077))
Q16298697
['Q16298697', 'P39', {'concept': 'Q12737077'}]
['Patricia de Ferrari', 'position held', {'concept': 'occupation'}]
[]
Q18229570
SYSTEM
Member of the Argentine Chamber of Deputies
Q18229570
(Q16298697,P39,c(Q12737077))
action filter_type
action find
entity Q16298697
relation P39
type Q12737077
The position held by that person was [ANSWER]
['Q16298697', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q16298697 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Member of the Argentine Chamber of Deputies
The position held by that person was Member of the Argentine Chamber of Deputies
Member of the Argentine Chamber of Deputies
action filter_type
action find
entity Patricia de Ferrari
relation position held
type occupation
['Patricia de Ferrari', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Patricia_de_Ferrari property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3503413 Q11686967
P20
Q56061
USER
Which administrative territories did the demise of Justo Páez Molina or Sulejman Rebac occur ?
OR((Q11686967,P20,c(Q56061)), (Q3503413,P20,c(Q56061)))
action filter_type
action union
action find
entity Q11686967
relation P20
action find
entity Q3503413
relation P20
type Q56061
{'OR': [['Q11686967', 'P20', {'concept': 'Q56061'}], ['Q3503413', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . { ?p property:P20 ?v . VALUES ( ?p ) { ( resource:Q11686967 ) ( resource:Q3503413 ) } } }
Sulejman Rebac Justo Páez Molina
action filter_type
action union
action find
entity Justo Páez Molina
relation place of death
action find
entity Sulejman Rebac
relation place of death
type administrative territorial entity
{'OR': [['Justo Páez Molina', 'place of death', {'concept': 'administrative territorial entity'}], ['Sulejman Rebac', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . { ?p property:place_of_death ?v . VALUES ( ?p ) { ( resource:Justo_Páez_Molina ) ( resource:Sulejman_Rebac ) } } }
[]
administrative territorial entity
Q44210 Q93347
SYSTEM
Córdoba, Mostar
Q44210 Q93347
OR((Q11686967,P20,c(Q56061)), (Q3503413,P20,c(Q56061)))
action filter_type
action union
action find
entity Q11686967
relation P20
action find
entity Q3503413
relation P20
type Q56061
The demise of Justo Páez Molina or Sulejman Rebac occurred in [ANSWERS]
{'OR': [['Q11686967', 'P20', {'concept': 'Q56061'}], ['Q3503413', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . { ?p property:P20 ?v . VALUES ( ?p ) { ( resource:Q11686967 ) ( resource:Q3503413 ) } } }
Córdoba Mostar
The demise of Justo Páez Molina or Sulejman Rebac occurred in Córdoba and Mostar
Córdoba Mostar
action filter_type
action union
action find
entity Justo Páez Molina
relation place of death
action find
entity Sulejman Rebac
relation place of death
type administrative territorial entity
{'OR': [['Justo Páez Molina', 'place of death', {'concept': 'administrative territorial entity'}], ['Sulejman Rebac', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . { ?p property:place_of_death ?v . VALUES ( ?p ) { ( resource:Justo_Páez_Molina ) ( resource:Sulejman_Rebac ) } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49768
P463
Q79913
USER
Which non-governmental organization had Social Democratic Party of Germany as its member ?
(Q49768,P463,c(Q79913))
action filter_type
action find
entity Q49768
relation P463
type Q79913
['Q49768', 'P463', {'concept': 'Q79913'}]
SELECT DISTINCT ?v WHERE { resource:Q49768 property:P463 ?v . ?v rdf:type ontology:Q79913 }
Social Democratic Party of Germany
action filter_type
action find
entity Social Democratic Party of Germany
relation member of
type non-governmental organization
['Social Democratic Party of Germany', 'member of', {'concept': 'non-governmental organization'}]
SELECT DISTINCT ?v WHERE { resource:Social_Democratic_Party_of_Germany property:member_of ?v . ?v rdf:type ontology:non-governmental_organization }
[]
non-governmental organization
Q537395
SYSTEM
European Movement Germany
Q537395
(Q49768,P463,c(Q79913))
action filter_type
action find
entity Q49768
relation P463
type Q79913
Germany [ANSWER] had Social Democratic Party of Germany as its member
['Q49768', 'P463', {'concept': 'Q79913'}]
SELECT DISTINCT ?v WHERE { resource:Q49768 property:P463 ?v . ?v rdf:type ontology:Q79913 }
European Movement Germany
Germany European Movement Germany had Social Democratic Party of Germany as its member
European Movement Germany
action filter_type
action find
entity Social Democratic Party of Germany
relation member of
type non-governmental organization
['Social Democratic Party of Germany', 'member of', {'concept': 'non-governmental organization'}]
SELECT DISTINCT ?v WHERE { resource:Social_Democratic_Party_of_Germany property:member_of ?v . ?v rdf:type ontology:non-governmental_organization }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q49768
Q7278
USER
And which political party?
(Q49768,P463,c(Q7278))
action filter_type
action find
entity Q49768
relation P463
type Q7278
['Q49768', 'P463', {'concept': 'Q7278'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q7278 . resource:Q49768 property:P463 ?m }
Social Democratic Party of Germany
action filter_type
action find
entity Social Democratic Party of Germany
relation member of
type political party
['Social Democratic Party of Germany', 'member of', {'concept': 'political party'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:political_party . resource:Social_Democratic_Party_of_Germany property:member_of ?m }
[]
political party
Q220945
SYSTEM
Party of European Socialists
Q220945
(Q49768,P463,c(Q7278))
action filter_type
action find
entity Q49768
relation P463
type Q7278
[ANSWER]
['Q49768', 'P463', {'concept': 'Q7278'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q7278 . resource:Q49768 property:P463 ?m }
Party of European Socialists
Party of European Socialists
action filter_type
action find
entity Social Democratic Party of Germany
relation member of
type political party
['Social Democratic Party of Germany', 'member of', {'concept': 'political party'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:political_party . resource:Social_Democratic_Party_of_Germany property:member_of ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q220945 Q26036637
P488
Q502895
USER
Was Mario Sequeira the chair of that political party ?
(Q220945,P488,Q26036637)
action is_in
entity Q26036637
action find
entity Q220945
relation P488
['Q220945', 'P488', 'Q26036637']
ASK WHERE { resource:Q220945 property:P488 resource:Q26036637 }
Party of European Socialists Mario Sequeira
action is_in
entity Mario Sequeira
action find
entity Party of European Socialists
relation chairperson
['Party of European Socialists', 'chairperson', 'Mario Sequeira']
ASK WHERE { resource:Party_of_European_Socialists property:chairperson resource:Mario_Sequeira }
[]
common name
SYSTEM
NO
(Q220945,P488,Q26036637)
action is_in
entity Q26036637
action find
entity Q220945
relation P488
[ANSWER]
['Q220945', 'P488', 'Q26036637']
ASK WHERE { resource:Q220945 property:P488 resource:Q26036637 }
No
action is_in
entity Mario Sequeira
action find
entity Party of European Socialists
relation chairperson
['Party of European Socialists', 'chairperson', 'Mario Sequeira']
ASK WHERE { resource:Party_of_European_Socialists property:chairperson resource:Mario_Sequeira }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q30 Q1124
P6
Q502895
USER
Is Bill Clinton the head of the government of United States of America ?
(Q30,P6,Q1124)
action is_in
entity Q1124
action find
entity Q30
relation P6
['Q30', 'P6', 'Q1124']
ASK WHERE { resource:Q30 property:P6 resource:Q1124 }
United States of America Bill Clinton
action is_in
entity Bill Clinton
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Bill Clinton']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Bill_Clinton }
[]
common name
SYSTEM
YES
(Q30,P6,Q1124)
action is_in
entity Q1124
action find
entity Q30
relation P6
[ANSWER]
['Q30', 'P6', 'Q1124']
ASK WHERE { resource:Q30 property:P6 resource:Q1124 }
Yes
action is_in
entity Bill Clinton
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Bill Clinton']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Bill_Clinton }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3166441 Q9025155
P39
Q12737077
USER
Which occupations were the positions for which Luis León or Jean-Jacques Vlody were appointed ?
OR((Q9025155,P39,c(Q12737077)), (Q3166441,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q9025155
relation P39
action find
entity Q3166441
relation P39
type Q12737077
{'OR': [['Q9025155', 'P39', {'concept': 'Q12737077'}], ['Q3166441', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q9025155 property:P39 ?r } UNION { resource:Q3166441 property:P39 ?r } } . ?r rdf:type ontology:Q12737077 }
Jean-Jacques Vlody Luis León
action filter_type
action union
action find
entity Luis León
relation position held
action find
entity Jean-Jacques Vlody
relation position held
type occupation
{'OR': [['Luis León', 'position held', {'concept': 'occupation'}], ['Jean-Jacques Vlody', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Luis_León property:position_held ?r } UNION { resource:Jean-Jacques_Vlody property:position_held ?r } } . ?r rdf:type ontology:occupation }
[]
occupation
Q18711738 Q18229570 Q3044918
SYSTEM
Member of the Argentine Chamber of Senators, Member of the Argentine Chamber of Deputies, member of the French National Assembly
Q18711738 Q18229570 Q3044918
OR((Q9025155,P39,c(Q12737077)), (Q3166441,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q9025155
relation P39
action find
entity Q3166441
relation P39
type Q12737077
[ANSWERS]
{'OR': [['Q9025155', 'P39', {'concept': 'Q12737077'}], ['Q3166441', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q9025155 property:P39 ?r } UNION { resource:Q3166441 property:P39 ?r } } . ?r rdf:type ontology:Q12737077 }
Member of the Argentine Chamber of Senators Member of the Argentine Chamber of Deputies member of the French National Assembly
Member of the Argentine Chamber of Senators, Member of the Argentine Chamber of Deputies and member of the French National Assembly were the positions for which Luis León or Jean-Jacques Vlody were appointed
Member of the Argentine Chamber of Senators Member of the Argentine Chamber of Deputies member of the French National Assembly
action filter_type
action union
action find
entity Luis León
relation position held
action find
entity Jean-Jacques Vlody
relation position held
type occupation
{'OR': [['Luis León', 'position held', {'concept': 'occupation'}], ['Jean-Jacques Vlody', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Luis_León property:position_held ?r } UNION { resource:Jean-Jacques_Vlody property:position_held ?r } } . ?r rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q952981 Q11686967
P27 P17
Q15617994
USER
Which administrative territories are Justo Páez Molina a civilian of and are Ferroexpreso Pampeano located in ?
AND((Q11686967,P27,c(Q15617994)), (Q952981,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q11686967
relation P27
action find
entity Q952981
relation P17
type Q15617994
{'AND': [['Q11686967', 'P27', {'concept': 'Q15617994'}], ['Q952981', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { resource:Q11686967 property:P27 ?q . resource:Q952981 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Ferroexpreso Pampeano Justo Páez Molina
action filter_type
action intersection
action find
entity Justo Páez Molina
relation country of citizenship
action find
entity Ferroexpreso Pampeano
relation country
type designation for an administrative territorial entity
{'AND': [['Justo Páez Molina', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ferroexpreso Pampeano', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:Justo_Páez_Molina property:country_of_citizenship ?q . resource:Ferroexpreso_Pampeano property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
AND((Q11686967,P27,c(Q15617994)), (Q952981,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q11686967
relation P27
action find
entity Q952981
relation P17
type Q15617994
[ANSWER] is Justo Páez Molina a civilian of and is Ferroexpreso Pampeano located in
{'AND': [['Q11686967', 'P27', {'concept': 'Q15617994'}], ['Q952981', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { resource:Q11686967 property:P27 ?q . resource:Q952981 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Argentina
Argentina is Justo Páez Molina a civilian of and is Ferroexpreso Pampeano located in
Argentina
action filter_type
action intersection
action find
entity Justo Páez Molina
relation country of citizenship
action find
entity Ferroexpreso Pampeano
relation country
type designation for an administrative territorial entity
{'AND': [['Justo Páez Molina', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ferroexpreso Pampeano', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:Justo_Páez_Molina property:country_of_citizenship ?q . resource:Ferroexpreso_Pampeano property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q952981
P127
Q43229
USER
Who is the owner of Ferroexpreso Pampeano ?
(Q952981,P127,c(Q43229))
action filter_type
action find
entity Q952981
relation P127
type Q43229
['Q952981', 'P127', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q952981 property:P127 ?u . ?u rdf:type ontology:Q43229 }
Ferroexpreso Pampeano
action filter_type
action find
entity Ferroexpreso Pampeano
relation owned by
type organization
['Ferroexpreso Pampeano', 'owned by', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Ferroexpreso_Pampeano property:owned_by ?u . ?u rdf:type ontology:organization }
[]
organization
Q2037048
SYSTEM
Techint
Q2037048
(Q952981,P127,c(Q43229))
action filter_type
action find
entity Q952981
relation P127
type Q43229
The owner of Ferroexpreso Pampeano is [ANSWER]
['Q952981', 'P127', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q952981 property:P127 ?u . ?u rdf:type ontology:Q43229 }
Techint
The owner of Ferroexpreso Pampeano is Techint
Techint
action filter_type
action find
entity Ferroexpreso Pampeano
relation owned by
type organization
['Ferroexpreso Pampeano', 'owned by', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Ferroexpreso_Pampeano property:owned_by ?u . ?u rdf:type ontology:organization }
[]