Simple Question (Direct)
Simple Question
Q640284
P1412
Q34770
USER
Which language does Tommaso Gallarati Scotti speak in ?
(Q640284,P1412,c(Q34770))
action filter_type
action find
entity Q640284
relation P1412
type Q34770
['Q640284', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q640284 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
Tommaso Gallarati Scotti
action filter_type
action find
entity Tommaso Gallarati Scotti
relation languages spoken, written or signed
type language
['Tommaso Gallarati Scotti', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Tommaso_Gallarati_Scotti property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q640284,P1412,c(Q34770))
action filter_type
action find
entity Q640284
relation P1412
type Q34770
Tommaso Gallarati Scotti speaks in [ANSWER]
['Q640284', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q640284 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
Italian
Tommaso Gallarati Scotti speaks in Italian
Italian
action filter_type
action find
entity Tommaso Gallarati Scotti
relation languages spoken, written or signed
type language
['Tommaso Gallarati Scotti', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Tommaso_Gallarati_Scotti property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q640284
P20
Q15617994
USER
Where did the demise of that person occur ?
(Q652,P20,c(Q15617994))
action filter_type
action find
entity Q640284
relation P20
type Q15617994
['Q652', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q640284 property:P20 ?w . ?w rdf:type ontology:Q15617994 }
Tommaso Gallarati Scotti
action filter_type
action find
entity Tommaso Gallarati Scotti
relation place of death
type designation for an administrative territorial entity
['Italian', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Tommaso_Gallarati_Scotti property:place_of_death ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q244095
SYSTEM
Bellagio
Q244095
(Q652,P20,c(Q15617994))
action filter_type
action find
entity Q640284
relation P20
type Q15617994
The demise of that person occurred in [ANSWER]
['Q652', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q640284 property:P20 ?w . ?w rdf:type ontology:Q15617994 }
Bellagio
The demise of that person occurred in Bellagio
Bellagio
action filter_type
action find
entity Tommaso Gallarati Scotti
relation place of death
type designation for an administrative territorial entity
['Italian', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Tommaso_Gallarati_Scotti property:place_of_death ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q21038707
P655
Q502895 Q2342494 Q571
USER
Which people are the translator of around the same number of collectables or books as Laurence Videloup ?
(c(Q2342494)|c(Q571),P655,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
action count
action filter_multi_types
action find_reverse
entity Q21038707
relation P655
type Q2342494
type Q571
[[{'concept': 'Q2342494'}, {'concept': 'Q571'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?x WHERE { ?c rdf:type ?d . VALUES ( ?d ) { ( ontology:Q571 ) ( ontology:Q2342494 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { ?l rdf:type ?m . VALUES ( ?m ) { ( ontology:Q2342494 ) ( ontology:Q571 ) } } . ?l property:P655 resource:Q21038707 } } . FILTER ( ?q = ?h ) }
Laurence Videloup
action approx
action union
action find_reverse_tuple_counts
relation translator
type common name
type collectable
action find_reverse_tuple_counts
relation translator
type common name
type book
action count
action filter_multi_types
action find_reverse
entity Laurence Videloup
relation translator
type collectable
type book
[[{'concept': 'collectable'}, {'concept': 'book'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?x WHERE { ?c rdf:type ?d . VALUES ( ?d ) { ( ontology:book ) ( ontology:collectable ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { ?l rdf:type ?m . VALUES ( ?m ) { ( ontology:collectable ) ( ontology:book ) } } . ?l property:translator resource:Laurence_Videloup } } . FILTER ( ?q = ?h ) }
[]
common name collectable book
Q7724 Q125057 Q711869
SYSTEM
August Strindberg, Richard Francis Burton, Arthur Waley
Q13625830 Q1598616 Q5545017 Q1522232 Q1596974 Q5557935 Q740181 Q583636 Q1386895 Q1080664 Q11892653 Q18057590 Q326446 Q16351748 Q3340035 Q19247400 Q4218084 Q27210315 Q948875 Q538478 Q4523309 Q273207 Q11738152 Q799227 Q352725 Q709913 Q27518409 Q6239158 Q18911127 Q3750781 Q11867575 Q17384764 Q3666426 Q15097946 Q214674 Q1291339 Q15500705 Q309704 Q711869 Q23036466 Q8013808 Q19604039 Q716799 Q4798834 Q1351224 Q15688121 Q10772355 Q125057 Q47102 Q18011911 Q26202389 Q429915 Q1286352 Q27495441 Q5482342 Q7387473 Q2521964 Q32862 Q327853 Q1443655 Q436010 Q4829432 Q2277299 Q21038707 Q584292 Q15975427 Q1058300 Q1465459 Q1611257 Q19876123 Q11065945 Q3742104 Q1278926 Q600678 Q21927942 Q64395 Q44248 Q11423166 Q2157568 Q721846 Q23036043 Q263430 Q7724 Q5497135 Q1242472 Q4800569 Q3496808 Q5321809 Q3380390 Q4066649 Q25273299 Q12002015 Q7793870 Q2884048 Q27134327 Q1878186 Q27076208 Q7788510 Q21481863 Q4231926 Q17341213 Q228494 Q159542 Q26160700 Q246018 Q7636731 Q6309841 Q75889
(c(Q2342494)|c(Q571),P655,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
action count
action filter_multi_types
action find_reverse
entity Q21038707
relation P655
type Q2342494
type Q571
[ANSWERS] are the translator of around the same number of collectables or books as Laurence Videloup
[[{'concept': 'Q2342494'}, {'concept': 'Q571'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?x WHERE { ?c rdf:type ?d . VALUES ( ?d ) { ( ontology:Q571 ) ( ontology:Q2342494 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { ?l rdf:type ?m . VALUES ( ?m ) { ( ontology:Q2342494 ) ( ontology:Q571 ) } } . ?l property:P655 resource:Q21038707 } } . FILTER ( ?q = ?h ) }
Tibor Miklós Heinrich Riethmüller George Szirtes Giambattista Giusti Heinrich Conrad Giacomo da Scarperia Karel Sabina Bernhard Severin Ingemann Hans Joachim Herwald Jiří Třanovský Sauvo Puhtila Ernest Falconnet Antonin Klášterský Annie Shepley Omori Nicolas Artaud Friedrich Wilhelm Frommann Kazimierz Kaszewski Iain Patterson Ferenc Verseghy Gilbert Murray Sergey Shestakov George Egerton Kazimierz Morawski Hisashi Nozawa Richard Brinsley Sheridan Arthur Hornblow, Jr. Henri Berguin John Hewlett H. Otto Sommer Antoni Rubió i Lluch Juho Jäykkä Konrad Alexis Waaranen Charles Kenneth Scott Moncrieff Adolf Gottwald Max Colpet Edvard Fredin Matt Thorn Leconte de Lisle Arthur Waley Charles Tayler William Julius Mickle Marian Fell Marcelino Menéndez Pelayo Arthur Goldhammer Pekka Hannikainen Samuel Epes Turner Man Arai Richard Francis Burton Joseph Smith Théophile Baudement V. Narducci Alexander Sumarokov András Schéry Klaus-Peter Bauer Francis Rous S. Foster Damon Vicente Jarque Ettore Romagnoli C.V.A. Strandberg Frank Lenart John Nelson Darby Avrahm Yarmolinsky Martine Bijl Laurence Videloup Louis Viardot Alfred Hayes Suematsu Kenchō Fritz A. Koeniger Hermann Gressieker Liam Ó Rinn Bedřich Peška Felice Bellotti Eberhard Cronshagen Aleksey Pleshcheyev William Frederick Harvey Heinrich Georg Bronn Jerome Kōchi Doi Robert Hillyer Luigi Alamanni Guillaume Garnier Károly Szász August Strindberg Frederic Shoberl Sabine Baring-Gould Arthur W. Ryder Stanley Chapman E. D. A. Morshead Philippe Minard Alexandra Nikitichna Annenskaya Katherine Miller Ferdinand Heller Thomas Seltzer Barbara Wright Hans F. Wilhelm Lutz Riedel Christine Lembach Thomas Cogan Tarashankar Tarkaratna Natalia Konchalovskaïa Enric Franco Elizabeth Barrett Browning Jan Evangelista Purkyně Quico Rovira-Beleta John Mason Neale Artur Masriera i Colomer Julius Hare Friedrich Hölderlin
August Strindberg, Richard Francis Burton and Arthur Waley are the translator of around the same number of collectables or books as Laurence Videloup
August Strindberg Richard Francis Burton Arthur Waley
action approx
action union
action find_reverse_tuple_counts
relation translator
type common name
type collectable
action find_reverse_tuple_counts
relation translator
type common name
type book
action count
action filter_multi_types
action find_reverse
entity Laurence Videloup
relation translator
type collectable
type book
[[{'concept': 'collectable'}, {'concept': 'book'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?x WHERE { ?c rdf:type ?d . VALUES ( ?d ) { ( ontology:book ) ( ontology:collectable ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { ?l rdf:type ?m . VALUES ( ?m ) { ( ontology:collectable ) ( ontology:book ) } } . ?l property:translator resource:Laurence_Videloup } } . FILTER ( ?q = ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q312829
P655
Q502895 Q2342494 Q571
USER
And how about Samuel Butler?
(c(Q2342494)|c(Q571),P655,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
action count
action filter_multi_types
action find_reverse
entity Q312829
relation P655
type Q2342494
type Q571
[[{'concept': 'Q2342494'}, {'concept': 'Q571'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?v WHERE { { ?p property:P655 ?v . ?v rdf:type ontology:Q502895 . ?p rdf:type ontology:Q2342494 } UNION { ?p property:P655 ?v . ?p rdf:type ontology:Q571 . ?v rdf:type ontology:Q502895 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P655 resource:Q312829 . { VALUES ( ?t ) { ( ontology:Q571 ) ( ontology:Q2342494 ) } . ?y rdf:type ?t } } } . FILTER ( ?z = ?r ) }
Samuel Butler
action approx
action union
action find_reverse_tuple_counts
relation translator
type common name
type collectable
action find_reverse_tuple_counts
relation translator
type common name
type book
action count
action filter_multi_types
action find_reverse
entity Samuel Butler
relation translator
type collectable
type book
[[{'concept': 'collectable'}, {'concept': 'book'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?v WHERE { { ?p property:translator ?v . ?v rdf:type ontology:common_name . ?p rdf:type ontology:collectable } UNION { ?p property:translator ?v . ?p rdf:type ontology:book . ?v rdf:type ontology:common_name } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:translator resource:Samuel_Butler . { VALUES ( ?t ) { ( ontology:book ) ( ontology:collectable ) } . ?y rdf:type ?t } } } . FILTER ( ?z = ?r ) }
[]
common name collectable book
Q7287827 Q315537 Q334973
SYSTEM
Ralph Manheim, William Cowper, Hugues Felicité Robert de Lamennais
Q4722962 Q7343976 Q6180799 Q15731133 Q315537 Q164047 Q12749 Q964250 Q6536944 Q9353091 Q721882 Q12028170 Q7287827 Q2495818 Q4233718 Q18543209 Q8191787 Q18342457 Q312829 Q1090185 Q234530 Q713705 Q12026401 Q12883 Q334973 Q4800649 Q1969016
(c(Q2342494)|c(Q571),P655,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
action count
action filter_multi_types
action find_reverse
entity Q312829
relation P655
type Q2342494
type Q571
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q571'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?v WHERE { { ?p property:P655 ?v . ?v rdf:type ontology:Q502895 . ?p rdf:type ontology:Q2342494 } UNION { ?p property:P655 ?v . ?p rdf:type ontology:Q571 . ?v rdf:type ontology:Q502895 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P655 resource:Q312829 . { VALUES ( ?t ) { ( ontology:Q571 ) ( ontology:Q2342494 ) } . ?y rdf:type ?t } } } . FILTER ( ?z = ?r ) }
Alfred John Church Robert Edward Crozier Long Jeremiah Curtin Bronislaw Kuhl William Cowper Alexander Pope Kazimierz Bein Ilya Kaminsky-Halpérine Lewis Page Mercier Sławomir Błaut Léon Wieger Karel Dostál-Lutinov Ralph Manheim Constance Garnett anonymous Irmtraud Zimmermann-Göllheim Michael Kandel William Jackson Brodribb Samuel Butler John Middleton Murry Emma Orczy Herbert Giles Josef Mikuláš Boleslavský Gerrit Berveling Hugues Felicité Robert de Lamennais Arthur Wesley Wheen Alexander Teixeira de Mattos
Ralph Manheim William Cowper Hugues Felicité Robert de Lamennais
action approx
action union
action find_reverse_tuple_counts
relation translator
type common name
type collectable
action find_reverse_tuple_counts
relation translator
type common name
type book
action count
action filter_multi_types
action find_reverse
entity Samuel Butler
relation translator
type collectable
type book
[[{'concept': 'collectable'}, {'concept': 'book'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?v WHERE { { ?p property:translator ?v . ?v rdf:type ontology:common_name . ?p rdf:type ontology:collectable } UNION { ?p property:translator ?v . ?p rdf:type ontology:book . ?v rdf:type ontology:common_name } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:translator resource:Samuel_Butler . { VALUES ( ?t ) { ( ontology:book ) ( ontology:collectable ) } . ?y rdf:type ?t } } } . FILTER ( ?z = ?r ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5946088 Q640284
P27
Q15617994
USER
Which administrative territories do Tommaso Gallarati Scotti or José Villena Petrosino belong to ?
OR((Q640284,P27,c(Q15617994)), (Q5946088,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q640284
relation P27
action find
entity Q5946088
relation P27
type Q15617994
{'OR': [['Q640284', 'P27', {'concept': 'Q15617994'}], ['Q5946088', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { ?b property:P27 ?y . VALUES ( ?b ) { ( resource:Q640284 ) ( resource:Q5946088 ) } } . ?y rdf:type ontology:Q15617994 }
José Villena Petrosino Tommaso Gallarati Scotti
action filter_type
action union
action find
entity Tommaso Gallarati Scotti
relation country of citizenship
action find
entity José Villena Petrosino
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Tommaso Gallarati Scotti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['José Villena Petrosino', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { ?b property:country_of_citizenship ?y . VALUES ( ?b ) { ( resource:Tommaso_Gallarati_Scotti ) ( resource:José_Villena_Petrosino ) } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q419 Q38
SYSTEM
Peru, Italy
Q419 Q38
OR((Q640284,P27,c(Q15617994)), (Q5946088,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q640284
relation P27
action find
entity Q5946088
relation P27
type Q15617994
Tommaso Gallarati Scotti or José Villena Petrosino belong to the [ANSWERS]
{'OR': [['Q640284', 'P27', {'concept': 'Q15617994'}], ['Q5946088', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { ?b property:P27 ?y . VALUES ( ?b ) { ( resource:Q640284 ) ( resource:Q5946088 ) } } . ?y rdf:type ontology:Q15617994 }
Peru Italy
Tommaso Gallarati Scotti or José Villena Petrosino belong to the Peru and Italy
Peru Italy
action filter_type
action union
action find
entity Tommaso Gallarati Scotti
relation country of citizenship
action find
entity José Villena Petrosino
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Tommaso Gallarati Scotti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['José Villena Petrosino', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { ?b property:country_of_citizenship ?y . VALUES ( ?b ) { ( resource:Tommaso_Gallarati_Scotti ) ( resource:José_Villena_Petrosino ) } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q419 Q38
P17
Q7210356
USER
Which political organizations are present in those administrative territories ?
(c(Q7210356),P17,Q419) (c(Q7210356),P17,Q38)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q7210356
[{'concept': 'Q7210356'}, 'P17', 'Q419'] [{'concept': 'Q7210356'}, 'P17', 'Q38']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q7210356 . VALUES ( ?i ) { ( resource:Q419 ) ( resource:Q38 ) } . ?o property:P17 ?i }
Peru Italy
action filter_type
action find_reverse
entity prev_answer
relation country
type political organization
[{'concept': 'political organization'}, 'country', 'Peru'] [{'concept': 'political organization'}, 'country', 'Italy']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_organization . VALUES ( ?i ) { ( resource:Peru ) ( resource:Italy ) } . ?o property:country ?i }
[]
political organization
Q47750 Q1450384 Q47729
SYSTEM
Northern League, Italian Radicals, Democratic Party
Q207854 Q5391172 Q7551655 Q5255708 Q1543477 Q1472820 Q474074 Q6974797 Q6972815 Q7551607 Q5025084 Q285457 Q1234101 Q5948160 Q23783750 Q6157100 Q4729969 Q6016822 Q5164300 Q4732394 Q599149 Q7170966 Q5741815 Q669307 Q6540714 Q5255664 Q2723963 Q1420702 Q7666184 Q6979787 Q5255530 Q2707510 Q3827425 Q4735511 Q3686035 Q7919758 Q14924303 Q3831626 Q3935996 Q13481860 Q7304616 Q6016052 Q17022033 Q3753657 Q3753658 Q1054567 Q5565213 Q1404609 Q5291397 Q17055909 Q5166381 Q3612394 Q2792033 Q2370580 Q1233269 Q2382402 Q2069252 Q1280685 Q6888501 Q10564889 Q1450384 Q2308949 Q2057120 Q22080990 Q3319217 Q7912626 Q958419 Q2494873 Q1059756 Q2712694 Q378885 Q12432988 Q7919754 Q7919756 Q7919759 Q5505925 Q25338960 Q2277776 Q7919760 Q2246227 Q1046657 Q13393152 Q4255785 Q6092819 Q692736 Q4255795 Q7423802 Q2036754 Q16938859 Q18618864 Q1750297 Q5510799 Q3400454 Q20081274 Q16262908 Q24388667 Q5154713 Q5969987 Q25648673 Q2575707 Q6357092 Q1965982 Q508733 Q17102398 Q3747189 Q370936 Q215350 Q2838217 Q1811588 Q7423807 Q7423806 Q7423805 Q7423803 Q20730633 Q4120394 Q16983288 Q17009815 Q14761691 Q3829531 Q20970828 Q5110038 Q3240651 Q4732403 Q2717398 Q3419948 Q15778639 Q20949258 Q17341686 Q47720 Q47729 Q6517158 Q2256283 Q1757843 Q1076494 Q7886762 Q16979511 Q963936 Q3940615 Q15222391 Q15961989 Q2704736 Q2482138 Q22951314 Q6517176 Q6517173 Q6517171 Q4894038 Q3879812 Q5505066 Q6545810 Q6517163 Q6517164 Q6517166 Q6545809 Q7123244 Q47768 Q2754109 Q7140998 Q1771225 Q47750 Q7249267 Q15980747 Q16999287 Q1983088 Q4004931 Q3896803 Q18325051 Q6926682 Q1659751 Q178216 Q16264466 Q4245186 Q4004918 Q20760527 Q21405813 Q5436619 Q7919725 Q47795 Q3977698 Q1428001 Q815348 Q3678393 Q6568214 Q1470185 Q1259087 Q2872704 Q2872701 Q1086654 Q17056878 Q3398008 Q6747647 Q20970716 Q2459267 Q15881790 Q16561954 Q1546314 Q7123117 Q1747585 Q16920271 Q943485 Q3829442 Q7141140 Q17141228 Q6555475 Q941434 Q577337 Q1299105 Q1141788 Q3866578 Q47817 Q119763 Q7280430 Q6508959 Q2840719 Q6545735 Q6508974 Q16966329 Q7856663 Q7856661 Q3206466 Q7248354 Q662849 Q835615 Q16948148 Q7229681 Q16938645 Q5413029 Q767560 Q1771532 Q2247226 Q18216912 Q4905015 Q1060333 Q3821085 Q1185894 Q2371206 Q17069044 Q3150482 Q771914 Q4009600 Q3834914 Q1126102 Q1165636 Q1170281 Q3896747 Q16985952 Q780997 Q6545785 Q946862 Q3896756 Q2790879 Q1058959 Q3556135 Q24213849 Q2300128 Q7507490 Q1408232 Q1518193 Q16966044 Q3896759 Q3896773 Q2116896 Q17141748 Q3896697 Q6926707 Q786791 Q12857396 Q665335 Q5440412 Q7919736 Q7919735 Q3866614 Q6017574 Q764125 Q6517167 Q2251671 Q16964552 Q286140 Q15456227
(c(Q7210356),P17,Q419) (c(Q7210356),P17,Q38)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q7210356
[ANSWERS] are present in those administrative territories
[{'concept': 'Q7210356'}, 'P17', 'Q419'] [{'concept': 'Q7210356'}, 'P17', 'Q38']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q7210356 . VALUES ( ?i ) { ( resource:Q419 ) ( resource:Q38 ) } . ?o property:P17 ?i }
Sendero Luminoso National Democratic Front Socialist Party Democratic Party We Are Peru Alliance for the Great Change Fuerza 2011 Civilista Party National Party National Front of Workers and Peasants Socialist Left Cambio 90 National Solidarity Party Christian People's Party Pradist Democratic Movement Peruvians for Change Revolutionary Union All for Victory Independent Moralizing Front Constitutional Party Alliance for Progress Popular Action Peru 2000 Radical Change Peruvian Nationalist Party Liberal Party Democratic National Party Christian Democrat Party Possible Peru Sí Cumple Nationalist Party Democrat Party Sardinia Nation To the Left for Independence Alpine Padanian Union Republican Democratic Concentration Veneto Padanian Federal Republic Forza Italia Liberal Socialists Rebirth of Christian Democracy AGedO Red Moors Independence Front Lombardy Plebiscite 2013 National Front National Front Monarchist National Party Giulian Front Friuli Movement Domà Nunch The Liberals Convergence for Friuli Sicilian Alliance Civic Choice Lega Padana Lombardia Movement for Autonomies Popular Action United Pensioners Communist Party of Italy Moderates and Populars The Megaphone - Crocetta List Italian Radicals Sardinian Democratic Union Progressive Democratic Autonomists The Network 2018 I the South Valsesian Autonomist Movement Liga Veneta Union for Trentino Lega Alleanza Lombarda Slovene Union Democratic Left Italian Union Movement Venetians Movement Veneto Freedom Veneto State Marco Polo Front Italian Communist Party Liberal Democrats Veneto for the European People's Party Lega Lombarda House of Freedoms Sicilian Socialist Party Lega Nord Liguria Italian Liberal Right The Right Lega Nord Emilia Sardinia Tomorrow Conservatives and Social Reformers United for Independent Veneto Team Autonomies We the South Future Veneto For Aosta Valley Italian Conservatives, Reformists Party of Sardinians Sardinian People's Party Community Democratic League IDEA – List for Veneto CasaPound Italia Movement for the Independence of Sicily Progressive Valdotanian Union Autonomist Union Italian Liberal Party Veneto First Liberal Democratic Foundation Valdotanian Union Forza Italia Autonomist People's Alliance Associative Movement Italians Abroad Sardinian Socialist Action Party Sardinian Independentist Party Sardinian Independence Party Sardinian Autonomist Populars Conservatives and Reformists Sicilian Independence Movement Autonomy Lombard Alliance Let Veneto Decide Progressive Valdostan Union (1973) Southern Action League Act! Christian Popular Union Padanian League Alliance for Veneto Italian People's Party Valdotanian Rally The Other Europe Democratic Sicily Freedom and Rights The People of Freedom Democratic Party Lega Lombardo Veneta Sardinian Reformers Brothers of Italy Italian Liberal Party Union of the Venetian People Popular Future Venetian Most Serene Government Venetian National Party Popolari per l'Italia Fare per Fermare il Declino Radical Party Autonomy Liberty Participation Ecology Identity and Action New League Lega Nord Umbria Lega Nord Trieste Lega Nord Toscana New Sicily Friulian Front Autonomous Veneto League Lega Nord Friuli-Venezia Giulia Lega Nord Marche Lega Nord Romagna Most Serene Venetian League Padanian Union Italy of Values Piedmontese Union Party for Independent Veneto Autonomist Democrats Northern League Project Republic of Sardinia Pannella List Lombard Committee for Resolution 44 The Populars of Italy Tomorrow Social Christian Sicilian Union Radical Party Pro Lombardy Independence Movement for Piedmontese Regional Autonomy Lega Nord Valle d'Aosta Alliance for Italy New Centre-Right – Union of the Centre Lega Nord Piemont Ossolan Union for Autonomy Communist Party of Italy (2014) Sinistra Italiana Fasci d'Azione Internazionalista Venetian Agreement Future and Freedom Ligurian Independence Movement Party of Italian Communists Christian Democracy Civic Freedom Venetian Independence National Front Italian People's Party Independent Autonomists Autonomists North-East Project Reality Italy United Populars Mancini List Possible Force of the South I Love Italy Green Italy UDEUR Populars for the South Pact for Sicily Democratic Alliance Forza Campania Democratic Republicans Venetian Autonomy League Party of the Sicilians More Tuscany Lion of Saint Mark Valdotanian Renewal European Republicans Movement Sardinian Action Party Democracy Is Freedom – The Daisy Community Movement Five Star Movement Autonomist Federation Radical Federative Movement League for Marche Forward Valley Venetian Federative League League for Tuscany Reformist Democrats for Sicily Tuscan Identity Tuscan Federalist Alliance Democratic Federation Progett'Azione National Alliance South Tyrolean Homeland Federation Article Four Popular Democracy (United Left) Free Sardinia European Popular Centre Italian Republican Party Democratic Populars Sardinia Project Liberal Union Renziani Lively Aosta Valley Apulia First The Democrats Forum of the Venetians League of the Venetians Independence Republic of Sardinia United Democratic Christians Veneto Autonomous Region Movement List for Trieste Italian Social Movement Popular Democrats Fortza Paris Constitutional Democratic Party Independent Venetians Communist Refoundation Party Venetian Nation League Consumers' List Southern Democratic Party Lega Alpina Lumbarda Democratic Union Toward North The People of Family South Tyrolean Freedom Sicilian People's Movement Moderates for Piedmont Edelweiss Aosta Valley Friulian Autonomist Movement Labour Democratic Party Democratic Liberal Party Liberal Reformers North-East Union Communist Party of Italy Movement for the Autonomy of Romagna Federation of Italian Liberals Union of Christian and Centre Democrats Italian Democratic Socialist Party Federal Right Venetian People's Unity Venetian People's Movement Italian Unionist Movement Independentist Youth Action Party Lega Nord Sardinia Liga Veneta Repubblica Aosta Valley Nation Left, Ecology and Freedom Per l'Italia
Northern League, Italian Radicals and Democratic Party are present in those administrative territories
Northern League Italian Radicals Democratic Party
action filter_type
action find_reverse
entity prev_answer
relation country
type political organization
[{'concept': 'political organization'}, 'country', 'Peru'] [{'concept': 'political organization'}, 'country', 'Italy']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_organization . VALUES ( ?i ) { ( resource:Peru ) ( resource:Italy ) } . ?o property:country ?i }
[]
Clarification
Simple Question|Single Entity|Indirect
Q47750
P112
Q1194951
USER
Which national sports team was started by that political organization ?
(c(Q1194951),P112,Q47750)
action filter_type
action find_reverse
entity Q47750
relation P112
type Q1194951
[{'concept': 'Q1194951'}, 'P112', 'Q47750']
SELECT DISTINCT ?j WHERE { ?j property:P112 resource:Q47750 . ?j rdf:type ontology:Q1194951 }
Northern League
action filter_type
action find_reverse
entity Northern League
relation founder
type national sports team
[{'concept': 'national sports team'}, 'founder', 'Northern League']
SELECT DISTINCT ?j WHERE { ?j property:founder resource:Northern_League . ?j rdf:type ontology:national_sports_team }
[]
national sports team
Clarification for simple ques.
Q1450384
SYSTEM
Did you mean Italian Radicals ?
Q47750 Q1450384 Q47729
(c(Q1194951),P112,Q47750) (c(Q1194951),P112,Q1450384) (c(Q1194951),P112,Q47729)
[ANSWER]
[{'concept': 'Q1194951'}, 'P112', 'Q47750'] [{'concept': 'Q1194951'}, 'P112', 'Q1450384'] [{'concept': 'Q1194951'}, 'P112', 'Q47729']
SELECT DISTINCT ?j WHERE { ?j property:P112 resource:Q47750 . ?j rdf:type ontology:Q1194951 }
Northern League Italian Radicals Democratic Party
Did you mean Italian Radicals ?
Italian Radicals
[{'concept': 'national sports team'}, 'founder', 'Northern League'] [{'concept': 'national sports team'}, 'founder', 'Italian Radicals'] [{'concept': 'national sports team'}, 'founder', 'Democratic Party']
SELECT DISTINCT ?j WHERE { ?j property:founder resource:Northern_League . ?j rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
USER
No, I meant Northern League. Could you tell me the answer for that?
(c(Q1194951),P112,Q47750)
Q47750
[{'concept': 'Q1194951'}, 'P112', 'Q47750']
[{'concept': 'national sports team'}, 'founder', 'Northern League']
[]
Q43966
SYSTEM
Padania national football team
Q43966
(c(Q1194951),P112,Q47750)
action filter_type
action find_reverse
entity Q47750
relation P112
type Q1194951
[ANSWER] was started by that political organization
[{'concept': 'Q1194951'}, 'P112', 'Q47750']
SELECT DISTINCT ?j WHERE { ?j property:P112 resource:Q47750 . ?j rdf:type ontology:Q1194951 }
Padania national football team
Padania national football team was started by that political organization
Padania national football team
action filter_type
action find_reverse
entity Northern League
relation founder
type national sports team
[{'concept': 'national sports team'}, 'founder', 'Northern League']
SELECT DISTINCT ?j WHERE { ?j property:founder resource:Northern_League . ?j rdf:type ontology:national_sports_team }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1923
Q1194951 Q13406554 Q15275719
USER
Which national sports teams competed in exactly 4 sport competitions or recurring events ?
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action equal
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
value 4
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?n ) WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } } GROUP BY ?q } . FILTER ( ?n = 4 ) }
action equal
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
value 4
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?n ) WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } } GROUP BY ?q } . FILTER ( ?n = 4 ) }
[]
national sports team sport competition recurring event
Q131785 Q184602 Q268208
SYSTEM
Denmark national football team, Iran national football team, Australia national association football team
Q193386 Q987584 Q27971 Q170403 Q268208 Q181903 Q207337 Q131785 Q184602 Q483868 Q189723
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action equal
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
value 4
[ANSWERS] competed in exactly 4 sport competitions or recurring events
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?n ) WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } } GROUP BY ?q } . FILTER ( ?n = 4 ) }
Bolivia national football team Ecuador national football team Tunisia national football team Ukraine national football team Australia national association football team Algeria national football team Morocco national football team Denmark national football team Iran national football team Czech Republic national football team Saudi Arabia national football team
Denmark national football team, Iran national football team and Australia national association football team competed in exactly 4 sport competitions or recurring events
Denmark national football team Iran national football team Australia national association football team
action equal
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
value 4
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?n ) WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } } GROUP BY ?q } . FILTER ( ?n = 4 ) }
[]