Simple Question (Direct)
Simple Question
Q6290206
P39
Q12737077
USER
Which occupations were a position held by Joshua Smith ?
(Q6290206,P39,c(Q12737077))
action filter_type
action find
entity Q6290206
relation P39
type Q12737077
['Q6290206', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q6290206 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Joshua Smith
action filter_type
action find
entity Joshua Smith
relation position held
type occupation
['Joshua Smith', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Joshua_Smith property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q18015642 Q16707842
SYSTEM
Member of Parliament in the Parliament of Great Britain, Member of Parliament in the United Kingdom
Q18015642 Q16707842
(Q6290206,P39,c(Q12737077))
action filter_type
action find
entity Q6290206
relation P39
type Q12737077
The [ANSWERS] were a position held by Joshua Smith
['Q6290206', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q6290206 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Member of Parliament in the Parliament of Great Britain Member of Parliament in the United Kingdom
The Member of Parliament in the Parliament of Great Britain and Member of Parliament in the United Kingdom were a position held by Joshua Smith
Member of Parliament in the Parliament of Great Britain Member of Parliament in the United Kingdom
action filter_type
action find
entity Joshua Smith
relation position held
type occupation
['Joshua Smith', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Joshua_Smith property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q18015642 Q16707842
P106
Q502895
USER
Which people have the profession as those occupations ?
(c(Q502895),P106,Q18015642) (c(Q502895),P106,Q16707842)
action filter_type
action find_reverse
entity prev_answer
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q18015642'] [{'concept': 'Q502895'}, 'P106', 'Q16707842']
SELECT DISTINCT ?b WHERE { ?b property:P106 ?q . VALUES ( ?q ) { ( resource:Q18015642 ) ( resource:Q16707842 ) } . ?b rdf:type ontology:Q502895 }
Member of Parliament in the Parliament of Great Britain Member of Parliament in the United Kingdom
action filter_type
action find_reverse
entity prev_answer
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Member of Parliament in the Parliament of Great Britain'] [{'concept': 'common name'}, 'occupation', 'Member of Parliament in the United Kingdom']
SELECT DISTINCT ?b WHERE { ?b property:occupation ?q . VALUES ( ?q ) { ( resource:Member_of_Parliament_in_the_Parliament_of_Great_Britain ) ( resource:Member_of_Parliament_in_the_United_Kingdom ) } . ?b rdf:type ontology:common_name }
[]
common name
Q22087320 Q21856725 Q24573112
SYSTEM
Francis Gregg, Edward Stanley, David Lewis
Q22087320 Q21856725 Q24573112 Q21548870 Q24292009
(c(Q502895),P106,Q18015642) (c(Q502895),P106,Q16707842)
action filter_type
action find_reverse
entity prev_answer
relation P106
type Q502895
[ANSWERS] have the profession as those occupations
[{'concept': 'Q502895'}, 'P106', 'Q18015642'] [{'concept': 'Q502895'}, 'P106', 'Q16707842']
SELECT DISTINCT ?b WHERE { ?b property:P106 ?q . VALUES ( ?q ) { ( resource:Q18015642 ) ( resource:Q16707842 ) } . ?b rdf:type ontology:Q502895 }
Francis Gregg Edward Stanley David Lewis Wilson Jones Sir James Hamlyn-Williams, 3rd Baronet
Francis Gregg, Edward Stanley and David Lewis have the profession as those occupations
Francis Gregg Edward Stanley David Lewis
action filter_type
action find_reverse
entity prev_answer
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Member of Parliament in the Parliament of Great Britain'] [{'concept': 'common name'}, 'occupation', 'Member of Parliament in the United Kingdom']
SELECT DISTINCT ?b WHERE { ?b property:occupation ?q . VALUES ( ?q ) { ( resource:Member_of_Parliament_in_the_Parliament_of_Great_Britain ) ( resource:Member_of_Parliament_in_the_United_Kingdom ) } . ?b rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q24573112
P20
Q56061
USER
Where did that person expire ?
(Q24573112,P20,c(Q56061))
action filter_type
action find
entity Q24573112
relation P20
type Q56061
['Q24573112', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q24573112 property:P20 ?y }
David Lewis
action filter_type
action find
entity David Lewis
relation place of death
type administrative territorial entity
['David Lewis', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:David_Lewis property:place_of_death ?y }
[]
administrative territorial entity
Clarification for simple ques.
Q24573112
SYSTEM
Did you mean David Lewis ?
Q22087320 Q21856725 Q24573112
(Q22087320,P20,c(Q56061)) (Q21856725,P20,c(Q56061)) (Q24573112,P20,c(Q56061))
[ANSWER]
['Q22087320', 'P20', {'concept': 'Q56061'}] ['Q21856725', 'P20', {'concept': 'Q56061'}] ['Q24573112', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q24573112 property:P20 ?y }
Francis Gregg Edward Stanley David Lewis
Did you mean David Lewis ?
David Lewis
['Francis Gregg', 'place of death', {'concept': 'administrative territorial entity'}] ['Edward Stanley', 'place of death', {'concept': 'administrative territorial entity'}] ['David Lewis', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:David_Lewis property:place_of_death ?y }
[]
Simple Question (Coreferenced)
USER
Yes
(Q24573112,P20,c(Q56061))
['Q24573112', 'P20', {'concept': 'Q56061'}]
['David Lewis', 'place of death', {'concept': 'administrative territorial entity'}]
[]
Q990125
SYSTEM
Llanelli
Q990125
(Q24573112,P20,c(Q56061))
action filter_type
action find
entity Q24573112
relation P20
type Q56061
That person expired in [ANSWER]
['Q24573112', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q24573112 property:P20 ?y }
Llanelli
That person expired in Llanelli
Llanelli
action filter_type
action find
entity David Lewis
relation place of death
type administrative territorial entity
['David Lewis', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:David_Lewis property:place_of_death ?y }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q990125 Q52016 Q145
P17
Q15617994
USER
Is that administrative territory present in Laterza and United Kingdom ?
(Q990125,P17,Q52016) (Q990125,P17,Q145)
action is_in
entity Q990125
action intersection
action find_reverse
entity Q52016
relation P17
action find_reverse
entity Q145
relation P17
['Q990125', 'P17', 'Q52016'] ['Q990125', 'P17', 'Q145']
ASK WHERE { resource:Q990125 property:P17 resource:Q52016 . resource:Q990125 property:P17 resource:Q145 }
Llanelli Laterza United Kingdom
action is_in
entity Llanelli
action intersection
action find_reverse
entity Laterza
relation country
action find_reverse
entity United Kingdom
relation country
['Llanelli', 'country', 'Laterza'] ['Llanelli', 'country', 'United Kingdom']
ASK WHERE { resource:Llanelli property:country resource:Laterza . resource:Llanelli property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q990125,P17,Q52016) (Q990125,P17,Q145)
action is_in
entity Q990125
action intersection
action find_reverse
entity Q52016
relation P17
action find_reverse
entity Q145
relation P17
[ANSWER]
['Q990125', 'P17', 'Q52016'] ['Q990125', 'P17', 'Q145']
ASK WHERE { resource:Q990125 property:P17 resource:Q52016 . resource:Q990125 property:P17 resource:Q145 }
NO and YES respectively
action is_in
entity Llanelli
action intersection
action find_reverse
entity Laterza
relation country
action find_reverse
entity United Kingdom
relation country
['Llanelli', 'country', 'Laterza'] ['Llanelli', 'country', 'United Kingdom']
ASK WHERE { resource:Llanelli property:country resource:Laterza . resource:Llanelli property:country resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q21856725 Q26694745
P106
Q12737077
USER
Is mayor of Riodeva the job of Edward Stanley ?
(Q21856725,P106,Q26694745)
action is_in
entity Q26694745
action find
entity Q21856725
relation P106
['Q21856725', 'P106', 'Q26694745']
ASK WHERE { resource:Q21856725 property:P106 resource:Q26694745 }
Edward Stanley mayor of Riodeva
action is_in
entity mayor of Riodeva
action find
entity Edward Stanley
relation occupation
['Edward Stanley', 'occupation', 'mayor of Riodeva']
ASK WHERE { resource:Edward_Stanley property:occupation resource:mayor_of_Riodeva }
[]
occupation
SYSTEM
NO
(Q21856725,P106,Q26694745)
action is_in
entity Q26694745
action find
entity Q21856725
relation P106
[ANSWER]
['Q21856725', 'P106', 'Q26694745']
ASK WHERE { resource:Q21856725 property:P106 resource:Q26694745 }
No
action is_in
entity mayor of Riodeva
action find
entity Edward Stanley
relation occupation
['Edward Stanley', 'occupation', 'mayor of Riodeva']
ASK WHERE { resource:Edward_Stanley property:occupation resource:mayor_of_Riodeva }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q990125 Q145
P17
Q15617994
USER
Does Llanelli belong to United Kingdom ?
(Q990125,P17,Q145)
action is_in
entity Q145
action find
entity Q990125
relation P17
['Q990125', 'P17', 'Q145']
ASK WHERE { resource:Q990125 property:P17 resource:Q145 }
Llanelli United Kingdom
action is_in
entity United Kingdom
action find
entity Llanelli
relation country
['Llanelli', 'country', 'United Kingdom']
ASK WHERE { resource:Llanelli property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q990125,P17,Q145)
action is_in
entity Q145
action find
entity Q990125
relation P17
[ANSWER]
['Q990125', 'P17', 'Q145']
ASK WHERE { resource:Q990125 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Llanelli
relation country
['Llanelli', 'country', 'United Kingdom']
ASK WHERE { resource:Llanelli property:country resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q21856725 Q16707842
P106
Q12737077
USER
Does Member of Parliament in the United Kingdom have Edward Stanley as his/her as a career ?
(Q21856725,P106,Q16707842)
action is_in
entity Q16707842
action find
entity Q21856725
relation P106
['Q21856725', 'P106', 'Q16707842']
ASK WHERE { resource:Q21856725 property:P106 resource:Q16707842 }
Edward Stanley Member of Parliament in the United Kingdom
action is_in
entity Member of Parliament in the United Kingdom
action find
entity Edward Stanley
relation occupation
['Edward Stanley', 'occupation', 'Member of Parliament in the United Kingdom']
ASK WHERE { resource:Edward_Stanley property:occupation resource:Member_of_Parliament_in_the_United_Kingdom }
[]
occupation
SYSTEM
YES
(Q21856725,P106,Q16707842)
action is_in
entity Q16707842
action find
entity Q21856725
relation P106
[ANSWER]
['Q21856725', 'P106', 'Q16707842']
ASK WHERE { resource:Q21856725 property:P106 resource:Q16707842 }
Yes
action is_in
entity Member of Parliament in the United Kingdom
action find
entity Edward Stanley
relation occupation
['Edward Stanley', 'occupation', 'Member of Parliament in the United Kingdom']
ASK WHERE { resource:Edward_Stanley property:occupation resource:Member_of_Parliament_in_the_United_Kingdom }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3560424
P941
Q502895 Q340169 Q15850590
USER
How many people inspired lesser number of medias or theatrical genres than Violet Gordon-Woodhouse ?
(c(Q340169)|c(Q15850590),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q3560424
relation P941
type Q340169
type Q15850590
[[{'concept': 'Q340169'}, {'concept': 'Q15850590'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:P941 resource:Q3560424 . { { ?s rdf:type ontology:Q340169 } UNION { ?s rdf:type ontology:Q15850590 } } } } . FILTER ( ?c < ?a ) . { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?c ) WHERE { { ?x rdf:type ontology:Q340169 . ?i rdf:type ontology:Q502895 . ?x property:P941 ?i } UNION { ?x property:P941 ?i . ?i rdf:type ontology:Q502895 . ?x rdf:type ontology:Q15850590 } } GROUP BY ?i } }
Violet Gordon-Woodhouse
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action find_reverse_tuple_counts
relation inspired by
type common name
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Violet Gordon-Woodhouse
relation inspired by
type media
type theatrical genre
[[{'concept': 'media'}, {'concept': 'theatrical genre'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:inspired_by resource:Violet_Gordon-Woodhouse . { { ?s rdf:type ontology:media } UNION { ?s rdf:type ontology:theatrical_genre } } } } . FILTER ( ?c < ?a ) . { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?c ) WHERE { { ?x rdf:type ontology:media . ?i rdf:type ontology:common_name . ?x property:inspired_by ?i } UNION { ?x property:inspired_by ?i . ?i rdf:type ontology:common_name . ?x rdf:type ontology:theatrical_genre } } GROUP BY ?i } }
[]
common name media theatrical genre
SYSTEM
207
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 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 Q34618 Q151573 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 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(Q340169)|c(Q15850590),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q3560424
relation P941
type Q340169
type Q15850590
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q15850590'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:P941 resource:Q3560424 . { { ?s rdf:type ontology:Q340169 } UNION { ?s rdf:type ontology:Q15850590 } } } } . FILTER ( ?c < ?a ) . { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?c ) WHERE { { ?x rdf:type ontology:Q340169 . ?i rdf:type ontology:Q502895 . ?x property:P941 ?i } UNION { ?x property:P941 ?i . ?i rdf:type ontology:Q502895 . ?x rdf:type ontology:Q15850590 } } GROUP BY ?i } }
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 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 Gustave Courbet Paul Signac 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 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
207
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action find_reverse_tuple_counts
relation inspired by
type common name
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Violet Gordon-Woodhouse
relation inspired by
type media
type theatrical genre
[[{'concept': 'media'}, {'concept': 'theatrical genre'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:inspired_by resource:Violet_Gordon-Woodhouse . { { ?s rdf:type ontology:media } UNION { ?s rdf:type ontology:theatrical_genre } } } } . FILTER ( ?c < ?a ) . { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?c ) WHERE { { ?x rdf:type ontology:media . ?i rdf:type ontology:common_name . ?x property:inspired_by ?i } UNION { ?x property:inspired_by ?i . ?i rdf:type ontology:common_name . ?x rdf:type ontology:theatrical_genre } } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q312502
P941
Q502895 Q340169 Q15850590
USER
And how about Fiorello H. La Guardia?
(c(Q340169)|c(Q15850590),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q312502
relation P941
type Q340169
type Q15850590
[[{'concept': 'Q340169'}, {'concept': 'Q15850590'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?n ) WHERE { VALUES ( ?m ) { ( ontology:Q340169 ) ( ontology:Q15850590 ) } . ?d rdf:type ?m } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:P941 resource:Q312502 . { { ?e rdf:type ontology:Q340169 } UNION { ?e rdf:type ontology:Q15850590 } } } } . FILTER ( ?n < ?v ) }
Fiorello H. La Guardia
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action find_reverse_tuple_counts
relation inspired by
type common name
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Fiorello H. La Guardia
relation inspired by
type media
type theatrical genre
[[{'concept': 'media'}, {'concept': 'theatrical genre'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?n ) WHERE { VALUES ( ?m ) { ( ontology:media ) ( ontology:theatrical_genre ) } . ?d rdf:type ?m } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:inspired_by resource:Fiorello_H._La_Guardia . { { ?e rdf:type ontology:media } UNION { ?e rdf:type ontology:theatrical_genre } } } } . FILTER ( ?n < ?v ) }
[]
common name media theatrical genre
SYSTEM
207
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 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 Q34618 Q151573 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 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(Q340169)|c(Q15850590),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q312502
relation P941
type Q340169
type Q15850590
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q15850590'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?n ) WHERE { VALUES ( ?m ) { ( ontology:Q340169 ) ( ontology:Q15850590 ) } . ?d rdf:type ?m } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:P941 resource:Q312502 . { { ?e rdf:type ontology:Q340169 } UNION { ?e rdf:type ontology:Q15850590 } } } } . FILTER ( ?n < ?v ) }
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 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 Gustave Courbet Paul Signac 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 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
207
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action find_reverse_tuple_counts
relation inspired by
type common name
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Fiorello H. La Guardia
relation inspired by
type media
type theatrical genre
[[{'concept': 'media'}, {'concept': 'theatrical genre'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?n ) WHERE { VALUES ( ?m ) { ( ontology:media ) ( ontology:theatrical_genre ) } . ?d rdf:type ?m } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:inspired_by resource:Fiorello_H._La_Guardia . { { ?e rdf:type ontology:media } UNION { ?e rdf:type ontology:theatrical_genre } } } } . FILTER ( ?n < ?v ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q937857 Q990125
P106 P20
Q502895
USER
Which people have Llanelli as the area of death and have career as association football player ?
AND((c(Q502895),P20,Q990125), (c(Q502895),P106,Q937857))
action filter_type
action intersection
action find_reverse
entity Q990125
relation P20
action find_reverse
entity Q937857
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q990125'], [{'concept': 'Q502895'}, 'P106', 'Q937857']]}
SELECT DISTINCT ?g WHERE { ?g property:P20 resource:Q990125 . ?g property:P106 resource:Q937857 . ?g rdf:type ontology:Q502895 }
association football player Llanelli
action filter_type
action intersection
action find_reverse
entity Llanelli
relation place of death
action find_reverse
entity association football player
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Llanelli'], [{'concept': 'common name'}, 'occupation', 'association football player']]}
SELECT DISTINCT ?g WHERE { ?g property:place_of_death resource:Llanelli . ?g property:occupation resource:association_football_player . ?g rdf:type ontology:common_name }
[]
common name
Q725570 Q7340921
SYSTEM
Byron Stevenson, Robbie James
Q725570 Q7340921
AND((c(Q502895),P20,Q990125), (c(Q502895),P106,Q937857))
action filter_type
action intersection
action find_reverse
entity Q990125
relation P20
action find_reverse
entity Q937857
relation P106
type Q502895
[ANSWERS] have Llanelli as the area of death and have career as association football player
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q990125'], [{'concept': 'Q502895'}, 'P106', 'Q937857']]}
SELECT DISTINCT ?g WHERE { ?g property:P20 resource:Q990125 . ?g property:P106 resource:Q937857 . ?g rdf:type ontology:Q502895 }
Byron Stevenson Robbie James
Byron Stevenson and Robbie James have Llanelli as the area of death and have career as association football player
Byron Stevenson Robbie James
action filter_type
action intersection
action find_reverse
entity Llanelli
relation place of death
action find_reverse
entity association football player
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Llanelli'], [{'concept': 'common name'}, 'occupation', 'association football player']]}
SELECT DISTINCT ?g WHERE { ?g property:place_of_death resource:Llanelli . ?g property:occupation resource:association_football_player . ?g rdf:type ontology:common_name }
[]