Simple Question (Direct)
Simple Question
Q315534
P102
Q7210356
USER
Which party does Bachir Gemayel belong to ?
(Q315534,P102,c(Q7210356))
action filter_type
action find
entity Q315534
relation P102
type Q7210356
['Q315534', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q315534 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Bachir Gemayel
action filter_type
action find
entity Bachir Gemayel
relation member of political party
type political organization
['Bachir Gemayel', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Bachir_Gemayel property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
political organization
Q502276
SYSTEM
Kataeb Party
Q502276
(Q315534,P102,c(Q7210356))
action filter_type
action find
entity Q315534
relation P102
type Q7210356
Bachir Gemayel belongs to [ANSWER]
['Q315534', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q315534 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Kataeb Party
Bachir Gemayel belongs to Kataeb Party
Kataeb Party
action filter_type
action find
entity Bachir Gemayel
relation member of political party
type political organization
['Bachir Gemayel', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Bachir_Gemayel property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q315534
P112
Q7210356
USER
Which political organization was founded by Bachir Gemayel ?
(c(Q7210356),P112,Q315534)
action filter_type
action find_reverse
entity Q315534
relation P112
type Q7210356
[{'concept': 'Q7210356'}, 'P112', 'Q315534']
SELECT DISTINCT ?d WHERE { ?d property:P112 resource:Q315534 . ?d rdf:type ontology:Q7210356 }
Bachir Gemayel
action filter_type
action find_reverse
entity Bachir Gemayel
relation founder
type political organization
[{'concept': 'political organization'}, 'founder', 'Bachir Gemayel']
SELECT DISTINCT ?d WHERE { ?d property:founder resource:Bachir_Gemayel . ?d rdf:type ontology:political_organization }
[]
political organization
Q1146346
SYSTEM
Lebanese Forces
Q1146346
(c(Q7210356),P112,Q315534)
action filter_type
action find_reverse
entity Q315534
relation P112
type Q7210356
[ANSWER] was founded by Bachir Gemayel
[{'concept': 'Q7210356'}, 'P112', 'Q315534']
SELECT DISTINCT ?d WHERE { ?d property:P112 resource:Q315534 . ?d rdf:type ontology:Q7210356 }
Lebanese Forces
Lebanese Forces was founded by Bachir Gemayel
Lebanese Forces
action filter_type
action find_reverse
entity Bachir Gemayel
relation founder
type political organization
[{'concept': 'political organization'}, 'founder', 'Bachir Gemayel']
SELECT DISTINCT ?d WHERE { ?d property:founder resource:Bachir_Gemayel . ?d rdf:type ontology:political_organization }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q7303029
P361
Q7210356 Q7210356
USER
How many political organizations are parts of greater number of political organizations than Recreate Greece ?
(c(Q7210356),P361,c(Q7210356))
action count
action greater
action find_tuple_counts
relation P361
type Q7210356
type Q7210356
action count
action filter_type
action find
entity Q7303029
relation P361
type Q7210356
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?h ) WHERE { ?p property:P361 ?u . ?p rdf:type ontology:Q7210356 . ?u rdf:type ontology:Q7210356 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Q7303029 property:P361 ?e . ?e rdf:type ontology:Q7210356 } } . FILTER ( ?h > ?l ) }
Recreate Greece
action count
action greater
action find_tuple_counts
relation part of
type political organization
type political organization
action count
action filter_type
action find
entity Recreate Greece
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?h ) WHERE { ?p property:part_of ?u . ?p rdf:type ontology:political_organization . ?u rdf:type ontology:political_organization } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Recreate_Greece property:part_of ?e . ?e rdf:type ontology:political_organization } } . FILTER ( ?h > ?l ) }
[]
political organization political organization
SYSTEM
140
Q5603049 Q5603048 Q110837 Q2069252 Q7314640 Q7058484 Q5253276 Q119763 Q7551682 Q20643122 Q20643123 Q5684363 Q6904239 Q4245186 Q1076494 Q3366814 Q17183867 Q7551709 Q1450384 Q6064351 Q1558808 Q7314652 Q786791 Q6925156 Q6784247 Q5603011 Q780997 Q7972236 Q16825027 Q7129523 Q5255722 Q5255720 Q5255727 Q5255726 Q6879122 Q47729 Q6851933 Q895181 Q2277776 Q6625187 Q2246227 Q15980801 Q1781065 Q771914 Q286140 Q7551659 Q6540768 Q7921703 Q178216 Q7551542 Q11833539 Q4791317 Q1515182 Q6837512 Q2130137 Q1470185 Q6016645 Q5255714 Q6508513 Q832685 Q7080791 Q1359302 Q7566598 Q692736 Q1428001 Q5603018 Q2167704 Q3319217 Q7314631 Q7700059 Q7003402 Q7886425 Q47795 Q3366809 Q5603055 Q6023387 Q5602972 Q5602976 Q5603002 Q5461304 Q3345101 Q6736346 Q19604410 Q7981882 Q837159 Q7084151 Q16939363 Q3896756 Q16561954 Q3829442 Q3150482 Q577337 Q3174289 Q958419 Q5602966 Q7054469 Q6517170 Q7551666 Q1757843 Q1546314 Q5987342 Q4905015 Q7707623 Q7008134 Q2792033 Q1170281 Q5602992 Q2186595 Q1233269 Q9284332 Q3179541 Q1937395 Q7314655 Q15980791 Q7163696 Q7902341 Q47768 Q4693914 Q7055038 Q8058184 Q8027182 Q3098498 Q852402 Q6392267 Q2382402 Q4708523 Q4986433 Q6984707 Q47750 Q304191 Q7055001 Q7551690 Q7551691 Q6516925 Q3556135 Q946862 Q24283702 Q5203383 Q3366683 Q4791288
(c(Q7210356),P361,c(Q7210356))
action count
action greater
action find_tuple_counts
relation P361
type Q7210356
type Q7210356
action count
action filter_type
action find
entity Q7303029
relation P361
type Q7210356
[ANSWER]
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?h ) WHERE { ?p property:P361 ?u . ?p rdf:type ontology:Q7210356 . ?u rdf:type ontology:Q7210356 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Q7303029 property:P361 ?e . ?e rdf:type ontology:Q7210356 } } . FILTER ( ?h > ?l ) }
Green Party of Texas Green Party of Tennessee Left Party United Pensioners Republican Party of Arkansas Northern Ireland Conservatives Delaware Democratic Party Autonomist Federation Socialist Party of Kansas Green Party of Louisiana Montana Green Party Hawaiʻi Republican Party Montana Democratic Party Lega Nord Piemont Italian Liberal Party Illinois Green Party Iowa Green Party Socialist Party of Texas Italian Radicals Iowa Democratic Party Stalwarts Republican Party of Guam Federation of Italian Liberals Mountain Party Massachusetts Democratic Party Green Party of Michigan Communist Refoundation Party Washington State Democratic Party American Constitution Party Pan-democracy camp Democratic Party of Oregon Democratic Party of New Mexico Democratic Party of Wisconsin Democratic Party of Virginia Mississippi Democratic Party Democratic Party Militant faction Bourbon Democrat Liberal Democrats Liberal Party of Australia (New South Wales Division) Lega Lombarda Iraqi Independence Party Communist party of Slovakia (1948) United Democratic Christians Left, Ecology and Freedom Socialist Party of California Liberal Party of Geneva Vermont Democratic Party Alliance for Italy Socialist Democracy Radical Republican Arizona Green Party Alaskan Independence Party Michigan Democratic Party Constitution Party of Montana National Front Independent Greens of Virginia Democratic Party of Georgia Australian Labor Party (New South Wales Branch) Welsh Labour Ohio Democratic Party Half-Breed South Carolina Green Party The Right Party of Italian Communists Green Party of Ohio Social Democratic Party "Harmony" I the South Republican Party Tennessee Democratic Party Nevada Democratic Party Union for Democracy and National Solidarity Future and Freedom Green-Rainbow Party Green Party of Washington State Indiana Republican Party Green Party of Arkansas Green Party of California Green Party of Florida Florida Democratic Party New Democrats Maine Democratic Party Green Party of Mississippi Welsh Conservative Party Communist Party of India Old Guard faction Green Party of Delaware Southern Democratic Party Green Italy Venetian Autonomy League Independence Republic of Sardinia European Republicans Movement Vermont Republican Party Liga Veneta Green Party of Alaska North Carolina Democratic Party Lega Nord Trentino Socialist Party of Connecticut Brothers of Italy UDEUR Populars for the South Idaho Democratic Party Renziani Texas Democratic Party New Hampshire Democratic Party Civic Choice Fortza Paris Green Party of Colorado Constitution Party of Oregon Movement for Autonomies Independence Party of Minnesota Scottish Labour Party Minnesota Democratic–Farmer–Labor Party Republican Party of Iowa North Carolina Green Party Pennsylvania Democratic Party Utah Democratic Party Italy of Values Agricultural Party of Greece North Dakota Republican Party Young Independence Wisconsin Green Party The Greens Democratic Liberal Party Kentucky Green Party Popular Action Alaska Democratic Party Builders and Managers of Freedom and Democracy Nebraska Democratic Party Northern League National Coalition Party North Dakota Democratic-Nonpartisan League Party Socialist Party of Michigan Socialist Party of New Jersey Left Wing Section of the Socialist Party Toward North Consumers' List Alternative Greens D.C. Statehood Green Party Illinois Republican Party Arizona Democratic Party
140
action count
action greater
action find_tuple_counts
relation part of
type political organization
type political organization
action count
action filter_type
action find
entity Recreate Greece
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?h ) WHERE { ?p property:part_of ?u . ?p rdf:type ontology:political_organization . ?u rdf:type ontology:political_organization } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Recreate_Greece property:part_of ?e . ?e rdf:type ontology:political_organization } } . FILTER ( ?h > ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q47750
P361
Q7210356 Q7210356
USER
And what about Northern League?
(c(Q7210356),P361,c(Q7210356))
action count
action greater
action find_tuple_counts
relation P361
type Q7210356
type Q7210356
action count
action filter_type
action find
entity Q47750
relation P361
type Q7210356
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?z ) WHERE { ?c property:P361 ?e . ?c rdf:type ontology:Q7210356 . ?e rdf:type ontology:Q7210356 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v rdf:type ontology:Q7210356 . resource:Q47750 property:P361 ?v } } . FILTER ( ?z > ?k ) }
Northern League
action count
action greater
action find_tuple_counts
relation part of
type political organization
type political organization
action count
action filter_type
action find
entity Northern League
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?z ) WHERE { ?c property:part_of ?e . ?c rdf:type ontology:political_organization . ?e rdf:type ontology:political_organization } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v rdf:type ontology:political_organization . resource:Northern_League property:part_of ?v } } . FILTER ( ?z > ?k ) }
[]
political organization political organization
SYSTEM
3
Q780997 Q1428001 Q1233269
(c(Q7210356),P361,c(Q7210356))
action count
action greater
action find_tuple_counts
relation P361
type Q7210356
type Q7210356
action count
action filter_type
action find
entity Q47750
relation P361
type Q7210356
[ANSWER]
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?z ) WHERE { ?c property:P361 ?e . ?c rdf:type ontology:Q7210356 . ?e rdf:type ontology:Q7210356 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v rdf:type ontology:Q7210356 . resource:Q47750 property:P361 ?v } } . FILTER ( ?z > ?k ) }
Communist Refoundation Party Party of Italian Communists Movement for Autonomies
3
action count
action greater
action find_tuple_counts
relation part of
type political organization
type political organization
action count
action filter_type
action find
entity Northern League
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?z ) WHERE { ?c property:part_of ?e . ?c rdf:type ontology:political_organization . ?e rdf:type ontology:political_organization } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v rdf:type ontology:political_organization . resource:Northern_League property:part_of ?v } } . FILTER ( ?z > ?k ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q502895 Q502895 Q7725634
USER
Which people inspired atmost 2 people and literary works ?
(c(Q502895)|c(Q7725634),P941,c(Q502895))
action atmost
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q502895
action find_reverse_tuple_counts
relation P941
type Q502895
type Q7725634
value 2
[[{'concept': 'Q502895'}, {'concept': 'Q7725634'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) ?z WHERE { ?p rdf:type ?o . VALUES ( ?o ) { ( ontology:Q502895 ) ( ontology:Q7725634 ) } } GROUP BY ?z } . FILTER ( ?i <= 2 ) }
action atmost
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type common name
action find_reverse_tuple_counts
relation inspired by
type common name
type literary work
value 2
[[{'concept': 'common name'}, {'concept': 'literary work'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) ?z WHERE { ?p rdf:type ?o . VALUES ( ?o ) { ( ontology:common_name ) ( ontology:literary_work ) } } GROUP BY ?z } . FILTER ( ?i <= 2 ) }
[]
common name common name literary work
Q8016 Q352 Q1744
SYSTEM
Winston Churchill, Adolf Hitler, Madonna
Q207939 Q19738291 Q23380 Q3481979 Q40475 Q366380 Q334001 Q42229 Q5296307 Q19526 Q58801 Q129308 Q42305 Q558333 Q207447 Q560792 Q35548 Q1067550 Q2707376 Q180919 Q105719 Q205002 Q30755 Q37693 Q712955 Q302650 Q666171 Q531161 Q5383 Q8016 Q456270 Q127171 Q649801 Q43715 Q42786 Q5361548 Q312502 Q2864567 Q154545 Q5534471 Q2907490 Q1532260 Q892444 Q164823 Q184226 Q228024 Q182450 Q183221 Q3047248 Q2617543 Q711129 Q81960 Q5592 Q352 Q145746 Q921798 Q7836 Q5594 Q538158 Q3984877 Q3741372 Q1508997 Q116462 Q357786 Q1779 Q310476 Q183458 Q34618 Q151573 Q3560424 Q947525 Q156268 Q56016 Q458779 Q73089 Q182462 Q1353414 Q575668 Q171745 Q100937 Q5669 Q5577 Q395274 Q272068 Q2437296 Q9077 Q443540 Q966425 Q1281170 Q47551 Q357951 Q676001 Q46373 Q5675905 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q273079 Q299271 Q9061 Q849 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q22686 Q5545355 Q2121085 Q212531 Q5294232 Q463653 Q958996 Q483512 Q123075 Q835175 Q229432 Q123071 Q229437 Q44272 Q94002 Q49285 Q27429917 Q1744 Q1523 Q367447 Q5582 Q219640 Q5822 Q28493 Q5589 Q296 Q527735 Q352954 Q2181776 Q27429984 Q34013 Q2836532 Q712497 Q221464 Q263241 Q550426 Q356129 Q3925 Q34851 Q25328 Q26806 Q203219 Q983441 Q2552902 Q41554 Q83338 Q205365 Q624868 Q1953018 Q983352 Q255815 Q3036807 Q3290501 Q189067 Q1086874 Q471023 Q5432 Q2412941 Q297816 Q1896700 Q156622 Q354832 Q3525855 Q159907 Q210447 Q2373032 Q1401 Q3719992 Q199369 Q2110873 Q192222 Q83155 Q2965760 Q193406 Q3385369 Q733965 Q2409128 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q502895)|c(Q7725634),P941,c(Q502895))
action atmost
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q502895
action find_reverse_tuple_counts
relation P941
type Q502895
type Q7725634
value 2
[ANSWERS] inspired atmost 2 people and literary works
[[{'concept': 'Q502895'}, {'concept': 'Q7725634'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) ?z WHERE { ?p rdf:type ?o . VALUES ( ?o ) { ( ontology:Q502895 ) ( ontology:Q7725634 ) } } GROUP BY ?z } . FILTER ( ?i <= 2 ) }
Alexander McQueen Walter O'Brien Jean Auguste Dominique Ingres Sherri Stoner Joan Crawford Allan Kaprow Thomas Cole Mel Gibson Donna Atwood Maya Angelou Conrad Veidt John of England Richard I of England Buddy Hackett Jean-Baptiste-Siméon Chardin Allan Ramsay Paul Cézanne Charmaine Craig Dick Jones Natalie Wood Jean Harlow Joe Grant Auguste Rodin Paul Gauguin Bobby Driscoll Tate Donovan John Marin Elizabeth Kenny David Bowie Winston Churchill Eleanor Audley Jean-Honoré Fragonard Fred Moore Vlad Tepes Audrey Hepburn Elisabeth Scott Fiorello H. La Guardia Art Stevens Léopold Sédar Senghor Geoffrey Bowers Bo Gritz Al Hirschfeld Scott Weinger Girolamo Savonarola Gilles Deleuze John Smith George C. Scott Antoine Watteau Eddie Collins Marge Champion Terry-Thomas Robert Burns Michelangelo Adolf Hitler Joseph Sabu Dastagir René Magritte Antonello da Messina Balthasar Denner Jeffrey Stone Armand d'Athos Georges Manolescu Helen Gahagan Douglas Divine Louis Armstrong Fats Waller Andrea del Verrocchio Gustave Courbet Paul Signac Violet Gordon-Woodhouse Robert Gant Pierre Bourdieu Katharine Hepburn Kathryn Beaumont Gene Kelly Janet Gaynor Robert Gober Lionel Atwill Jeremy Irons Fred Astaire Sandro Botticelli Salvador Dalí Michael J. Fox Heather Angel Eric Larson Moses Ollie Johnston Charles Hubert Millevoye Frances Bavier Titian Mehran Karimi Nasseri Eugène Devéria Edgar Degas Andrés López Muñoz Spring Byington Tom Cruise Jennifer Connelly Christy Turlington Gala Dalí Jerome Kern Hans Holbein Félix González-Torres Jean Goujon Madge Blake Steve Carlson Cab Calloway Bahram V Karl Marx François Villon Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean Leonard Baskin John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens Donald Trump George Turberville Walter Catlett Kate Moss Donald DeFreeze Marie-Thérèse Walter Irene Bedard Isadora Duncan Robert Walser Bernard Levin Lucretia Arnold Böcklin Donatella Versace Michel Foucault Barbara Stanwyck Sally Ride Michelle Stacy Madonna Ramesses II Louis Prima Vincent van Gogh Vincent Price Piero della Francesca Ralph Fiennes Henri Matisse Claude Monet Cedric Hardwicke Carel Fabritius Paul Collins John Culhane Georges Seurat Alice Ayres François Girardon Gilbert Gottfried Mary Wickes Jeffrey Katzenberg John Stamos Grace Kelly Elizabeth Taylor Antoni Gaudí Danny DeVito Boris Karloff Thomas Moran Hans Conried Nicolas Poussin Robin Williams Cain Charles Sheeler Pratibha Ray Il Pordenone Tallulah Bankhead Donnie Dunagan Margaret Kerry Alyssa Milano Christopher Newport Jimmy Durante Francisco de Goya The Fox and the Cat Sammy Davis, Jr. Marian Wright Edelman Giorgio de Chirico Pieter Claesz T. Hee David Hockney Mark Hamill Pierre Gringoire Petrarch Edward Maria Wingfield Naomi Campbell Natalie Venetia Belcon Lysippos Jacques-Louis David Christiane Faure Pocahontas Pierre Guillaume Jack Carlson Dušan Popov Eastman Johnson Cathy McGowan Gale Sondergaard Rhoda Williams Ray Ventura Ed Kemmer Maila Nurmi Django Reinhardt Floris van Dyck Chief Powhatan
Winston Churchill, Adolf Hitler and Madonna inspired atmost 2 people and literary works
Winston Churchill Adolf Hitler Madonna
action atmost
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type common name
action find_reverse_tuple_counts
relation inspired by
type common name
type literary work
value 2
[[{'concept': 'common name'}, {'concept': 'literary work'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) ?z WHERE { ?p rdf:type ?o . VALUES ( ?o ) { ( ontology:common_name ) ( ontology:literary_work ) } } GROUP BY ?z } . FILTER ( ?i <= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q352
P1038
Q502895
USER
Who are a relative of Adolf Hitler ?
(c(Q502895),P1038,Q352)
action filter_type
action find
entity Q352
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q352']
SELECT DISTINCT ?a WHERE { resource:Q352 property:P1038 ?a . ?a rdf:type ontology:Q502895 }
Adolf Hitler
action filter_type
action find
entity Adolf Hitler
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Adolf Hitler']
SELECT DISTINCT ?a WHERE { resource:Adolf_Hitler property:relative ?a . ?a rdf:type ontology:common_name }
[]
common name
Q6216378 Q2779550 Q22132490
SYSTEM
Johanna Hiedler, Maria Schicklgruber, Johann Baptist Pölzl
Q22116705 Q385804 Q1903961 Q22133397 Q22677145 Q6216378 Q698102 Q22090133 Q22085679 Q22086756 Q22117373 Q6001165 Q22087758 Q22121831 Q22092225 Q84642 Q22121817 Q22133423 Q22087732 Q22117389 Q85046 Q4613831 Q22116733 Q22572343 Q22132490 Q22132157 Q22132150 Q2779550 Q1165052 Q22101705 Q22114544 Q454576 Q22087804 Q22085545 Q64799
(c(Q502895),P1038,Q352)
action filter_type
action find
entity Q352
relation P1038
type Q502895
A relative of Adolf Hitler are [ANSWERS]
[{'concept': 'Q502895'}, 'P1038', 'Q352']
SELECT DISTINCT ?a WHERE { resource:Q352 property:P1038 ?a . ?a rdf:type ontology:Q502895 }
Viktoria Veit Johann Georg Hiedler Martin Heinrich Hammitzsch Peter Raubal Friedrich Braun Johanna Hiedler William Patrick Stuart-Houston Johanna Pölzl Anton Schmidt Elfriede Hochegger Josef Veit Ilse Braun Johann Schmidt Theresia Pfeisinger Eduard Schmidt Geli Raubal Johann Schicklgruber Heiner Hochegger Johann Schmidt junior Josefa Veit Leo Rudolf Raubal Franziska Braun Josepha Schicklgruber Hedwig Mickley Johann Baptist Pölzl Anna Maria Göschl Martin Hiedler Maria Schicklgruber Gretl Braun Adolf Koppensteiner Aloisia Veit Bridget Dowling Maria Koppensteiner Therese Schmidt Heinz Hitler
A relative of Adolf Hitler are Johanna Hiedler, Maria Schicklgruber and Johann Baptist Pölzl
Johanna Hiedler Maria Schicklgruber Johann Baptist Pölzl
action filter_type
action find
entity Adolf Hitler
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Adolf Hitler']
SELECT DISTINCT ?a WHERE { resource:Adolf_Hitler property:relative ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6216378 Q2779550 Q22132490
P1038
Q502895
USER
Who are related to Johanna Hiedler, Maria Schicklgruber and Johann Baptist Pölzl ?
(c(Q502895),P1038,Q6216378) (c(Q502895),P1038,Q2779550) (c(Q502895),P1038,Q22132490)
action union
action filter_type
action find_reverse
entity Q6216378
relation P1038
type Q502895
action filter_type
action find_reverse
entity Q2779550
relation P1038
type Q502895
action filter_type
action find_reverse
entity Q22132490
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q6216378'] [{'concept': 'Q502895'}, 'P1038', 'Q2779550'] [{'concept': 'Q502895'}, 'P1038', 'Q22132490']
SELECT DISTINCT ?r WHERE { VALUES ( ?t ) { ( resource:Q6216378 ) ( resource:Q2779550 ) } . ?r property:P1038 ?t }
Johanna Hiedler Maria Schicklgruber Johann Baptist Pölzl
action union
action filter_type
action find_reverse
entity Johanna Hiedler
relation relative
type common name
action filter_type
action find_reverse
entity Maria Schicklgruber
relation relative
type common name
action filter_type
action find_reverse
entity Johann Baptist Pölzl
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Johanna Hiedler'] [{'concept': 'common name'}, 'relative', 'Maria Schicklgruber'] [{'concept': 'common name'}, 'relative', 'Johann Baptist Pölzl']
SELECT DISTINCT ?r WHERE { VALUES ( ?t ) { ( resource:Johanna_Hiedler ) ( resource:Maria_Schicklgruber ) } . ?r property:relative ?t }
[]
common name
Q352 Q352 Q352
SYSTEM
Adolf Hitler
Q352 Q22101705 Q22085679 Q22092225 Q78500 Q22084744 Q22084764 Q22084776 Q22084775 Q22087732 Q22087758 Q84328 Q22087804 Q352 Q64799 Q66225 Q22086756 Q158314 Q84642 Q22084744 Q22084764 Q22084776 Q22084775 Q698102 Q85046 Q22116728 Q84328 Q78643 Q352 Q22101705 Q22085679 Q22092225 Q78500 Q22084744 Q22084764 Q22084776 Q22084775 Q22087732 Q22087758 Q84328 Q22087804
(c(Q502895),P1038,Q6216378) (c(Q502895),P1038,Q2779550) (c(Q502895),P1038,Q22132490)
action union
action filter_type
action find_reverse
entity Q6216378
relation P1038
type Q502895
action filter_type
action find_reverse
entity Q2779550
relation P1038
type Q502895
action filter_type
action find_reverse
entity Q22132490
relation P1038
type Q502895
And [ANSWER], [ANSWER] and [ANSWER] are related to Johanna Hiedler, Maria Schicklgruber and Johann Baptist Pölzl
[{'concept': 'Q502895'}, 'P1038', 'Q6216378'] [{'concept': 'Q502895'}, 'P1038', 'Q2779550'] [{'concept': 'Q502895'}, 'P1038', 'Q22132490']
SELECT DISTINCT ?r WHERE { VALUES ( ?t ) { ( resource:Q6216378 ) ( resource:Q2779550 ) } . ?r property:P1038 ?t }
Adolf Hitler Adolf Koppensteiner Anton Schmidt Eduard Schmidt Alois Hitler Gustav Hitler Ida Hitler Edmund Hitler Otto Hitler Johann Schmidt junior Johann Schmidt Paula Hitler Maria Koppensteiner Adolf Hitler Heinz Hitler Alois Hitler, Jr. Elfriede Hochegger Klara Hitler Geli Raubal Gustav Hitler Ida Hitler Edmund Hitler Otto Hitler William Patrick Stuart-Houston Leo Rudolf Raubal Josepha Veit Paula Hitler Angela Hitler Adolf Hitler Adolf Koppensteiner Anton Schmidt Eduard Schmidt Alois Hitler Gustav Hitler Ida Hitler Edmund Hitler Otto Hitler Johann Schmidt junior Johann Schmidt Paula Hitler Maria Koppensteiner
And Adolf Hitler, Adolf Hitler and Adolf Hitler are related to Johanna Hiedler, Maria Schicklgruber and Johann Baptist Pölzl
Adolf Hitler Adolf Hitler Adolf Hitler
action union
action filter_type
action find_reverse
entity Johanna Hiedler
relation relative
type common name
action filter_type
action find_reverse
entity Maria Schicklgruber
relation relative
type common name
action filter_type
action find_reverse
entity Johann Baptist Pölzl
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Johanna Hiedler'] [{'concept': 'common name'}, 'relative', 'Maria Schicklgruber'] [{'concept': 'common name'}, 'relative', 'Johann Baptist Pölzl']
SELECT DISTINCT ?r WHERE { VALUES ( ?t ) { ( resource:Johanna_Hiedler ) ( resource:Maria_Schicklgruber ) } . ?r property:relative ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1744
P19
Q56061
USER
Where was Madonna born ?
(Q1744,P19,c(Q56061))
action filter_type
action find
entity Q1744
relation P19
type Q56061
['Q1744', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1744 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Madonna
action filter_type
action find
entity Madonna
relation place of birth
type administrative territorial entity
['Madonna', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Madonna property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q746820
SYSTEM
Bay City
Q746820
(Q1744,P19,c(Q56061))
action filter_type
action find
entity Q1744
relation P19
type Q56061
Madonna was born in [ANSWER]
['Q1744', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1744 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Bay City
Madonna was born in Bay City
Bay City
action filter_type
action find
entity Madonna
relation place of birth
type administrative territorial entity
['Madonna', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Madonna property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15779901
Q56061
USER
And also tell me about Seo Hajin?
(Q15779901,P19,c(Q56061))
action filter_type
action find
entity Q15779901
relation P19
type Q56061
['Q15779901', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q15779901 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Seo Hajin
action filter_type
action find
entity Seo Hajin
relation place of birth
type administrative territorial entity
['Seo Hajin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Seo_Hajin property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q42128
SYSTEM
Yeongcheon
Q42128
(Q15779901,P19,c(Q56061))
action filter_type
action find
entity Q15779901
relation P19
type Q56061
[ANSWER]
['Q15779901', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q15779901 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Yeongcheon
Yeongcheon
action filter_type
action find
entity Seo Hajin
relation place of birth
type administrative territorial entity
['Seo Hajin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Seo_Hajin property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]