Simple Question (Direct)
Simple Question
Q5487413
P102
Q7210356
USER
Which party is Frank Ivancie affiliated with ?
(Q5487413,P102,c(Q7210356))
action filter_type
action find
entity Q5487413
relation P102
type Q7210356
['Q5487413', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { resource:Q5487413 property:P102 ?e . ?e rdf:type ontology:Q7210356 }
Frank Ivancie
action filter_type
action find
entity Frank Ivancie
relation member of political party
type political organization
['Frank Ivancie', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { resource:Frank_Ivancie property:member_of_political_party ?e . ?e rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q5487413,P102,c(Q7210356))
action filter_type
action find
entity Q5487413
relation P102
type Q7210356
Frank Ivancie is affiliated with [ANSWER]
['Q5487413', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { resource:Q5487413 property:P102 ?e . ?e rdf:type ontology:Q7210356 }
Democratic Party
Frank Ivancie is affiliated with Democratic Party
Democratic Party
action filter_type
action find
entity Frank Ivancie
relation member of political party
type political organization
['Frank Ivancie', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { resource:Frank_Ivancie property:member_of_political_party ?e . ?e rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29552
P749
Q7210356
USER
Which political organizations are owned by that one ?
(c(Q7210356),P749,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P749
type Q7210356
[{'concept': 'Q7210356'}, 'P749', 'Q29552']
SELECT DISTINCT ?v WHERE { ?v property:P749 resource:Q29552 . ?v rdf:type ontology:Q7210356 }
Democratic Party
action filter_type
action find_reverse
entity Democratic Party
relation parent organization
type political organization
[{'concept': 'political organization'}, 'parent organization', 'Democratic Party']
SELECT DISTINCT ?v WHERE { ?v property:parent_organization resource:Democratic_Party . ?v rdf:type ontology:political_organization }
[]
political organization
Q7008134 Q5020399
SYSTEM
New Hampshire Democratic Party, California Democratic Party
Q7008134 Q5020399
(c(Q7210356),P749,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P749
type Q7210356
And [ANSWERS] are owned by that one
[{'concept': 'Q7210356'}, 'P749', 'Q29552']
SELECT DISTINCT ?v WHERE { ?v property:P749 resource:Q29552 . ?v rdf:type ontology:Q7210356 }
New Hampshire Democratic Party California Democratic Party
And New Hampshire Democratic Party and California Democratic Party are owned by that one
New Hampshire Democratic Party California Democratic Party
action filter_type
action find_reverse
entity Democratic Party
relation parent organization
type political organization
[{'concept': 'political organization'}, 'parent organization', 'Democratic Party']
SELECT DISTINCT ?v WHERE { ?v property:parent_organization resource:Democratic_Party . ?v rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6516051
P355
Q7210356
USER
Does Society Party contain those ones as their subordinate ?
(Q6516051,P355,Q7008134) (Q6516051,P355,Q5020399)
action is_in
entity prev_answer
action find
entity Q6516051
relation P355
['Q6516051', 'P355', 'Q7008134'] ['Q6516051', 'P355', 'Q5020399']
ASK WHERE { resource:Q6516051 property:P355 ?n . VALUES ( ?n ) { ( resource:Q7008134 ) ( resource:Q5020399 ) } }
Society Party
action is_in
entity prev_answer
action find
entity Society Party
relation subsidiary
['Society Party', 'subsidiary', 'New Hampshire Democratic Party'] ['Society Party', 'subsidiary', 'California Democratic Party']
ASK WHERE { resource:Society_Party property:subsidiary ?n . VALUES ( ?n ) { ( resource:New_Hampshire_Democratic_Party ) ( resource:California_Democratic_Party ) } }
[]
political organization
SYSTEM
NO
(Q6516051,P355,Q7008134) (Q6516051,P355,Q5020399)
action is_in
entity prev_answer
action find
entity Q6516051
relation P355
[ANSWER]
['Q6516051', 'P355', 'Q7008134'] ['Q6516051', 'P355', 'Q5020399']
ASK WHERE { resource:Q6516051 property:P355 ?n . VALUES ( ?n ) { ( resource:Q7008134 ) ( resource:Q5020399 ) } }
No
action is_in
entity prev_answer
action find
entity Society Party
relation subsidiary
['Society Party', 'subsidiary', 'New Hampshire Democratic Party'] ['Society Party', 'subsidiary', 'California Democratic Party']
ASK WHERE { resource:Society_Party property:subsidiary ?n . VALUES ( ?n ) { ( resource:New_Hampshire_Democratic_Party ) ( resource:California_Democratic_Party ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29552
P106
Q502895
USER
Which person has the profession of Democratic Party ?
(c(Q502895),P106,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q29552']
SELECT DISTINCT ?l WHERE { ?l property:P106 resource:Q29552 . ?l rdf:type ontology:Q502895 }
Democratic Party
action filter_type
action find_reverse
entity Democratic Party
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Democratic Party']
SELECT DISTINCT ?l WHERE { ?l property:occupation resource:Democratic_Party . ?l rdf:type ontology:common_name }
[]
common name
Q361146
SYSTEM
Ruby Laffoon
Q361146
(c(Q502895),P106,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P106
type Q502895
[ANSWER] has the profession of Democratic Party
[{'concept': 'Q502895'}, 'P106', 'Q29552']
SELECT DISTINCT ?l WHERE { ?l property:P106 resource:Q29552 . ?l rdf:type ontology:Q502895 }
Ruby Laffoon
Ruby Laffoon has the profession of Democratic Party
Ruby Laffoon
action filter_type
action find_reverse
entity Democratic Party
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Democratic Party']
SELECT DISTINCT ?l WHERE { ?l property:occupation resource:Democratic_Party . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29552
P361
Q7210356
USER
Which political organizations are a part of Democratic Party ?
(c(Q7210356),P361,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P361
type Q7210356
[{'concept': 'Q7210356'}, 'P361', 'Q29552']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q7210356 . ?t property:P361 resource:Q29552 }
Democratic Party
action filter_type
action find_reverse
entity Democratic Party
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', 'Democratic Party']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_organization . ?t property:part_of resource:Democratic_Party }
[]
political organization
Q3345101 Q7163696 Q1937395
SYSTEM
New Democrats, Pennsylvania Democratic Party, Minnesota Democratic–Farmer–Labor Party
Q5461304 Q6736346 Q7972236 Q7921703 Q6837512 Q7163696 Q5253276 Q5255714 Q7902341 Q7080791 Q895181 Q5987342 Q6904239 Q7054469 Q1937395 Q6879122 Q6064351 Q6984707 Q4708523 Q6784247 Q7700059 Q7707623 Q7008134 Q5255722 Q5255720 Q5255727 Q5255726 Q7055001 Q3345101 Q7003402 Q4791288
(c(Q7210356),P361,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P361
type Q7210356
[ANSWERS] are a part of Democratic Party
[{'concept': 'Q7210356'}, 'P361', 'Q29552']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q7210356 . ?t property:P361 resource:Q29552 }
Florida Democratic Party Maine Democratic Party Washington State Democratic Party Vermont Democratic Party Michigan Democratic Party Pennsylvania Democratic Party Delaware Democratic Party Democratic Party of Georgia Utah Democratic Party Ohio Democratic Party Bourbon Democrat Idaho Democratic Party Montana Democratic Party North Carolina Democratic Party Minnesota Democratic–Farmer–Labor Party Mississippi Democratic Party Iowa Democratic Party Nebraska Democratic Party Alaska Democratic Party Massachusetts Democratic Party Tennessee Democratic Party Texas Democratic Party New Hampshire Democratic Party Democratic Party of Oregon Democratic Party of New Mexico Democratic Party of Wisconsin Democratic Party of Virginia North Dakota Democratic-Nonpartisan League Party New Democrats Nevada Democratic Party Arizona Democratic Party
New Democrats, Pennsylvania Democratic Party and Minnesota Democratic–Farmer–Labor Party are a part of Democratic Party
New Democrats Pennsylvania Democratic Party Minnesota Democratic–Farmer–Labor Party
action filter_type
action find_reverse
entity Democratic Party
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', 'Democratic Party']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_organization . ?t property:part_of resource:Democratic_Party }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3345101 Q7163696 Q1937395
P361
Q7210356
USER
Which political organizations are New Democrats, Pennsylvania Democratic Party and Minnesota Democratic–Farmer–Labor Party a component of ?
(Q3345101,P361,c(Q7210356)) (Q7163696,P361,c(Q7210356)) (Q1937395,P361,c(Q7210356))
action union
action filter_type
action find
entity Q3345101
relation P361
type Q7210356
action filter_type
action find
entity Q7163696
relation P361
type Q7210356
action filter_type
action find
entity Q1937395
relation P361
type Q7210356
['Q3345101', 'P361', {'concept': 'Q7210356'}] ['Q7163696', 'P361', {'concept': 'Q7210356'}] ['Q1937395', 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { { resource:Q3345101 property:P361 ?t . ?t rdf:type ontology:Q7210356 } UNION { ?t rdf:type ontology:Q7210356 . resource:Q7163696 property:P361 ?t } }
New Democrats Pennsylvania Democratic Party Minnesota Democratic–Farmer–Labor Party
action union
action filter_type
action find
entity New Democrats
relation part of
type political organization
action filter_type
action find
entity Pennsylvania Democratic Party
relation part of
type political organization
action filter_type
action find
entity Minnesota Democratic–Farmer–Labor Party
relation part of
type political organization
['New Democrats', 'part of', {'concept': 'political organization'}] ['Pennsylvania Democratic Party', 'part of', {'concept': 'political organization'}] ['Minnesota Democratic–Farmer–Labor Party', 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { { resource:New_Democrats property:part_of ?t . ?t rdf:type ontology:political_organization } UNION { ?t rdf:type ontology:political_organization . resource:Pennsylvania_Democratic_Party property:part_of ?t } }
[]
political organization
Q29552 Q29552 Q29552
SYSTEM
Democratic Party
Q29552 Q29552 Q29552
(Q3345101,P361,c(Q7210356)) (Q7163696,P361,c(Q7210356)) (Q1937395,P361,c(Q7210356))
action union
action filter_type
action find
entity Q3345101
relation P361
type Q7210356
action filter_type
action find
entity Q7163696
relation P361
type Q7210356
action filter_type
action find
entity Q1937395
relation P361
type Q7210356
[ANSWER], [ANSWER] and [ANSWER] are New Democrats, Pennsylvania [ANSWER] and Minnesota Democratic–Farmer–Labor Party a component of
['Q3345101', 'P361', {'concept': 'Q7210356'}] ['Q7163696', 'P361', {'concept': 'Q7210356'}] ['Q1937395', 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { { resource:Q3345101 property:P361 ?t . ?t rdf:type ontology:Q7210356 } UNION { ?t rdf:type ontology:Q7210356 . resource:Q7163696 property:P361 ?t } }
Democratic Party Democratic Party Democratic Party
Democratic Party, Democratic Party and Democratic Party are New Democrats, Pennsylvania Democratic Party and Minnesota Democratic–Farmer–Labor Party a component of
Democratic Party Democratic Party Democratic Party
action union
action filter_type
action find
entity New Democrats
relation part of
type political organization
action filter_type
action find
entity Pennsylvania Democratic Party
relation part of
type political organization
action filter_type
action find
entity Minnesota Democratic–Farmer–Labor Party
relation part of
type political organization
['New Democrats', 'part of', {'concept': 'political organization'}] ['Pennsylvania Democratic Party', 'part of', {'concept': 'political organization'}] ['Minnesota Democratic–Farmer–Labor Party', 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { { resource:New_Democrats property:part_of ?t . ?t rdf:type ontology:political_organization } UNION { ?t rdf:type ontology:political_organization . resource:Pennsylvania_Democratic_Party property:part_of ?t } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29552
P488
Q502895
USER
Who was the chair of Democratic Party ?
(Q29552,P488,c(Q502895))
action filter_type
action find
entity Q29552
relation P488
type Q502895
['Q29552', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q29552 property:P488 ?c . ?c rdf:type ontology:Q502895 }
Democratic Party
action filter_type
action find
entity Democratic Party
relation chairperson
type common name
['Democratic Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Democratic_Party property:chairperson ?c . ?c rdf:type ontology:common_name }
[]
common name
Q50104
SYSTEM
Debbie Wasserman Schultz
Q50104
(Q29552,P488,c(Q502895))
action filter_type
action find
entity Q29552
relation P488
type Q502895
The chair of Democratic Party was awarded [ANSWER]
['Q29552', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q29552 property:P488 ?c . ?c rdf:type ontology:Q502895 }
Debbie Wasserman Schultz
The chair of Democratic Party was awarded Debbie Wasserman Schultz
Debbie Wasserman Schultz
action filter_type
action find
entity Democratic Party
relation chairperson
type common name
['Democratic Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Democratic_Party property:chairperson ?c . ?c rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22138383 Q50104
P19
Q56061
USER
Which administrative territories were Debbie Wasserman Schultz or Konstantin Kusitasev born in ?
OR((Q50104,P19,c(Q56061)), (Q22138383,P19,c(Q56061)))
action filter_type
action union
action find
entity Q50104
relation P19
action find
entity Q22138383
relation P19
type Q56061
{'OR': [['Q50104', 'P19', {'concept': 'Q56061'}], ['Q22138383', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q50104 property:P19 ?f } UNION { resource:Q22138383 property:P19 ?f } } . ?f rdf:type ontology:Q56061 }
Konstantin Kusitasev Debbie Wasserman Schultz
action filter_type
action union
action find
entity Debbie Wasserman Schultz
relation place of birth
action find
entity Konstantin Kusitasev
relation place of birth
type administrative territorial entity
{'OR': [['Debbie Wasserman Schultz', 'place of birth', {'concept': 'administrative territorial entity'}], ['Konstantin Kusitasev', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Debbie_Wasserman_Schultz property:place_of_birth ?f } UNION { resource:Konstantin_Kusitasev property:place_of_birth ?f } } . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q472 Q60
SYSTEM
Sofia, New York City
Q472 Q60
OR((Q50104,P19,c(Q56061)), (Q22138383,P19,c(Q56061)))
action filter_type
action union
action find
entity Q50104
relation P19
action find
entity Q22138383
relation P19
type Q56061
[ANSWERS] were Debbie Wasserman Schultz or Konstantin Kusitasev born in
{'OR': [['Q50104', 'P19', {'concept': 'Q56061'}], ['Q22138383', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q50104 property:P19 ?f } UNION { resource:Q22138383 property:P19 ?f } } . ?f rdf:type ontology:Q56061 }
Sofia New York City
Sofia and New York City were Debbie Wasserman Schultz or Konstantin Kusitasev born in
Sofia New York City
action filter_type
action union
action find
entity Debbie Wasserman Schultz
relation place of birth
action find
entity Konstantin Kusitasev
relation place of birth
type administrative territorial entity
{'OR': [['Debbie Wasserman Schultz', 'place of birth', {'concept': 'administrative territorial entity'}], ['Konstantin Kusitasev', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Debbie_Wasserman_Schultz property:place_of_birth ?f } UNION { resource:Konstantin_Kusitasev property:place_of_birth ?f } } . ?f rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q502895 Q15416 Q6619679
USER
Which people were atmost 1 television programs or fictional humanoids inspired by ?
(c(Q15416)|c(Q6619679),P941,c(Q502895))
action atmost
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15416
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
value 1
[[{'concept': 'Q15416'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?c ) WHERE { { ?v property:P941 ?j . ?j rdf:type ontology:Q502895 . ?v rdf:type ontology:Q15416 } UNION { ?v property:P941 ?j . ?j rdf:type ontology:Q502895 . ?v rdf:type ontology:Q6619679 } } GROUP BY ?j } . FILTER ( ?c <= 1 ) }
action atmost
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type television program
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
value 1
[[{'concept': 'television program'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?c ) WHERE { { ?v property:inspired_by ?j . ?j rdf:type ontology:common_name . ?v rdf:type ontology:television_program } UNION { ?v property:inspired_by ?j . ?j rdf:type ontology:common_name . ?v rdf:type ontology:fictional_humanoid } } GROUP BY ?j } . FILTER ( ?c <= 1 ) }
[]
common name television program fictional humanoid
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(Q15416)|c(Q6619679),P941,c(Q502895))
action atmost
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15416
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
value 1
[ANSWERS] were atmost 1 television programs or fictional humanoids inspired by
[[{'concept': 'Q15416'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?c ) WHERE { { ?v property:P941 ?j . ?j rdf:type ontology:Q502895 . ?v rdf:type ontology:Q15416 } UNION { ?v property:P941 ?j . ?j rdf:type ontology:Q502895 . ?v rdf:type ontology:Q6619679 } } GROUP BY ?j } . FILTER ( ?c <= 1 ) }
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 were atmost 1 television programs or fictional humanoids inspired by
Winston Churchill Adolf Hitler Madonna
action atmost
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type television program
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
value 1
[[{'concept': 'television program'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?c ) WHERE { { ?v property:inspired_by ?j . ?j rdf:type ontology:common_name . ?v rdf:type ontology:television_program } UNION { ?v property:inspired_by ?j . ?j rdf:type ontology:common_name . ?v rdf:type ontology:fictional_humanoid } } GROUP BY ?j } . FILTER ( ?c <= 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q39777
P1303
Q34379 Q502895
USER
How many musical instruments are played by approximately the same number of people as maraca ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q39777
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Q39777 property:P1303 ?y . ?y rdf:type ontology:Q34379 } } . FILTER ( ?a = ?g ) . { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?f } }
maraca
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity maraca
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:maraca property:instrument ?y . ?y rdf:type ontology:musical_instrument } } . FILTER ( ?a = ?g ) . { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?f } }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q39777
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Q39777 property:P1303 ?y . ?y rdf:type ontology:Q34379 } } . FILTER ( ?a = ?g ) . { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?f } }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity maraca
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:maraca property:instrument ?y . ?y rdf:type ontology:musical_instrument } } . FILTER ( ?a = ?g ) . { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?f } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q490054
P1303
Q34379 Q502895
USER
And also tell me about Ondioline?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q490054
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ontology:Q34379 . resource:Q490054 property:P1303 ?e } } . FILTER ( ?v = ?w ) . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?q } }
Ondioline
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Ondioline
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ontology:musical_instrument . resource:Ondioline property:instrument ?e } } . FILTER ( ?v = ?w ) . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?q } }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q490054
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ontology:Q34379 . resource:Q490054 property:P1303 ?e } } . FILTER ( ?v = ?w ) . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?q } }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Ondioline
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ontology:musical_instrument . resource:Ondioline property:instrument ?e } } . FILTER ( ?v = ?w ) . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?q } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10493131 Q3345101
P27 P17
Q15617994
USER
Which administrative territories are New Democrats a part of or are Khaled Kemas an inhabitant of ?
OR((Q3345101,P17,c(Q15617994)), (Q10493131,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3345101
relation P17
action find
entity Q10493131
relation P27
type Q15617994
{'OR': [['Q3345101', 'P17', {'concept': 'Q15617994'}], ['Q10493131', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . { { resource:Q10493131 property:P27 ?x } UNION { resource:Q3345101 property:P17 ?x } } }
Khaled Kemas New Democrats
action filter_type
action union
action find
entity New Democrats
relation country
action find
entity Khaled Kemas
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['New Democrats', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Khaled Kemas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Khaled_Kemas property:country_of_citizenship ?x } UNION { resource:New_Democrats property:country ?x } } }
[]
designation for an administrative territorial entity
Q262 Q30
SYSTEM
Algeria, United States of America
Q262 Q30
OR((Q3345101,P17,c(Q15617994)), (Q10493131,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3345101
relation P17
action find
entity Q10493131
relation P27
type Q15617994
[ANSWERS] are New Democrats a part of or are Khaled Kemas an inhabitant of
{'OR': [['Q3345101', 'P17', {'concept': 'Q15617994'}], ['Q10493131', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . { { resource:Q10493131 property:P27 ?x } UNION { resource:Q3345101 property:P17 ?x } } }
Algeria United States of America
Algeria and United States of America are New Democrats a part of or are Khaled Kemas an inhabitant of
Algeria United States of America
action filter_type
action union
action find
entity New Democrats
relation country
action find
entity Khaled Kemas
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['New Democrats', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Khaled Kemas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Khaled_Kemas property:country_of_citizenship ?x } UNION { resource:New_Democrats property:country ?x } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have diplomatic relations with those administrative territories ?
(Q183,P530,Q262) (Q183,P530,Q30)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q262'] ['Q183', 'P530', 'Q30']
ASK WHERE { resource:Q183 property:P530 ?r . VALUES ( ?r ) { ( resource:Q262 ) ( resource:Q30 ) } }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Algeria'] ['Germany', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Germany property:diplomatic_relation ?r . VALUES ( ?r ) { ( resource:Algeria ) ( resource:United_States_of_America ) } }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q262) (Q183,P530,Q30)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q262'] ['Q183', 'P530', 'Q30']
ASK WHERE { resource:Q183 property:P530 ?r . VALUES ( ?r ) { ( resource:Q262 ) ( resource:Q30 ) } }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Algeria'] ['Germany', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Germany property:diplomatic_relation ?r . VALUES ( ?r ) { ( resource:Algeria ) ( resource:United_States_of_America ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5020399 Q1700888 Q937696
P488
Q502895
USER
Is John L. Burton and Lajos Szűcs a chairperson of California Democratic Party ?
(Q5020399,P488,Q1700888) (Q5020399,P488,Q937696)
action is_in
entity Q5020399
action intersection
action find_reverse
entity Q1700888
relation P488
action find_reverse
entity Q937696
relation P488
['Q5020399', 'P488', 'Q1700888'] ['Q5020399', 'P488', 'Q937696']
ASK WHERE { resource:Q5020399 property:P488 resource:Q937696 . resource:Q5020399 property:P488 resource:Q1700888 }
California Democratic Party John L. Burton Lajos Szűcs
action is_in
entity California Democratic Party
action intersection
action find_reverse
entity John L. Burton
relation chairperson
action find_reverse
entity Lajos Szűcs
relation chairperson
['California Democratic Party', 'chairperson', 'John L. Burton'] ['California Democratic Party', 'chairperson', 'Lajos Szűcs']
ASK WHERE { resource:California_Democratic_Party property:chairperson resource:Lajos_Szűcs . resource:California_Democratic_Party property:chairperson resource:John_L._Burton }
[]
common name
SYSTEM
YES and NO respectively
(Q5020399,P488,Q1700888) (Q5020399,P488,Q937696)
action is_in
entity Q5020399
action intersection
action find_reverse
entity Q1700888
relation P488
action find_reverse
entity Q937696
relation P488
[ANSWER]
['Q5020399', 'P488', 'Q1700888'] ['Q5020399', 'P488', 'Q937696']
ASK WHERE { resource:Q5020399 property:P488 resource:Q937696 . resource:Q5020399 property:P488 resource:Q1700888 }
YES and NO respectively
action is_in
entity California Democratic Party
action intersection
action find_reverse
entity John L. Burton
relation chairperson
action find_reverse
entity Lajos Szűcs
relation chairperson
['California Democratic Party', 'chairperson', 'John L. Burton'] ['California Democratic Party', 'chairperson', 'Lajos Szűcs']
ASK WHERE { resource:California_Democratic_Party property:chairperson resource:Lajos_Szűcs . resource:California_Democratic_Party property:chairperson resource:John_L._Burton }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q29552 Q30 Q491751
P17
Q15617994
USER
Is Democratic Party situated in United States of America and Pfatter ?
(Q29552,P17,Q30) (Q29552,P17,Q491751)
action is_in
entity Q29552
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q491751
relation P17
['Q29552', 'P17', 'Q30'] ['Q29552', 'P17', 'Q491751']
ASK WHERE { resource:Q29552 property:P17 resource:Q30 . resource:Q29552 property:P17 resource:Q491751 }
Democratic Party United States of America Pfatter
action is_in
entity Democratic Party
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Pfatter
relation country
['Democratic Party', 'country', 'United States of America'] ['Democratic Party', 'country', 'Pfatter']
ASK WHERE { resource:Democratic_Party property:country resource:United_States_of_America . resource:Democratic_Party property:country resource:Pfatter }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q29552,P17,Q30) (Q29552,P17,Q491751)
action is_in
entity Q29552
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q491751
relation P17
[ANSWER]
['Q29552', 'P17', 'Q30'] ['Q29552', 'P17', 'Q491751']
ASK WHERE { resource:Q29552 property:P17 resource:Q30 . resource:Q29552 property:P17 resource:Q491751 }
YES and NO respectively
action is_in
entity Democratic Party
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Pfatter
relation country
['Democratic Party', 'country', 'United States of America'] ['Democratic Party', 'country', 'Pfatter']
ASK WHERE { resource:Democratic_Party property:country resource:United_States_of_America . resource:Democratic_Party property:country resource:Pfatter }
[]