Simple Question (Direct)
Simple Question
Q21001456
P39
Q12737077
USER
Which occupations were a position held by Josep Sala Torres ?
(Q21001456,P39,c(Q12737077))
action filter_type
action find
entity Q21001456
relation P39
type Q12737077
['Q21001456', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q21001456 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
Josep Sala Torres
action filter_type
action find
entity Josep Sala Torres
relation position held
type occupation
['Josep Sala Torres', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Josep_Sala_Torres property:position_held ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q30185 Q19323171
SYSTEM
mayor, Member of the Senate of Spain
Q30185 Q19323171
(Q21001456,P39,c(Q12737077))
action filter_type
action find
entity Q21001456
relation P39
type Q12737077
The [ANSWERS] were a position held by Josep Sala Torres
['Q21001456', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q21001456 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
mayor Member of the Senate of Spain
The mayor and Member of the Senate of Spain were a position held by Josep Sala Torres
mayor Member of the Senate of Spain
action filter_type
action find
entity Josep Sala Torres
relation position held
type occupation
['Josep Sala Torres', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Josep_Sala_Torres property:position_held ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19323171
P1001
Q15617994
USER
Which administrative territory comes under the jurisdiction of Member of the Senate of Spain ?
(Q19323171,P1001,c(Q15617994))
action filter_type
action find
entity Q19323171
relation P1001
type Q15617994
['Q19323171', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q19323171 property:P1001 ?s . ?s rdf:type ontology:Q15617994 }
Member of the Senate of Spain
action filter_type
action find
entity Member of the Senate of Spain
relation applies to jurisdiction
type designation for an administrative territorial entity
['Member of the Senate of Spain', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Member_of_the_Senate_of_Spain property:applies_to_jurisdiction ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q19323171,P1001,c(Q15617994))
action filter_type
action find
entity Q19323171
relation P1001
type Q15617994
[ANSWER] comes under the jurisdiction of Member of the Senate of [ANSWER]
['Q19323171', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q19323171 property:P1001 ?s . ?s rdf:type ontology:Q15617994 }
Spain
Spain comes under the jurisdiction of Member of the Senate of Spain
Spain
action filter_type
action find
entity Member of the Senate of Spain
relation applies to jurisdiction
type designation for an administrative territorial entity
['Member of the Senate of Spain', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Member_of_the_Senate_of_Spain property:applies_to_jurisdiction ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q207447
P941
Q502895 Q15850590 Q15416
USER
How many people were the sources of inspiration for around the same number of theatrical genres or television programs as Jean-Baptiste-Siméon Chardin ?
(c(Q15850590)|c(Q15416),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q207447
relation P941
type Q15850590
type Q15416
[[{'concept': 'Q15850590'}, {'concept': 'Q15416'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P941 resource:Q207447 . { { ?j rdf:type ontology:Q15850590 } UNION { ?j rdf:type ontology:Q15416 } } } } . FILTER ( ?f = ?d ) . { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?f ) WHERE { { ?w property:P941 ?y . ?y rdf:type ontology:Q502895 . ?w rdf:type ontology:Q15416 } UNION { ?w property:P941 ?y . ?y rdf:type ontology:Q502895 . ?w rdf:type ontology:Q15850590 } } GROUP BY ?y } }
Jean-Baptiste-Siméon Chardin
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type theatrical genre
action find_reverse_tuple_counts
relation inspired by
type common name
type television program
action count
action filter_multi_types
action find_reverse
entity Jean-Baptiste-Siméon Chardin
relation inspired by
type theatrical genre
type television program
[[{'concept': 'theatrical genre'}, {'concept': 'television program'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:inspired_by resource:Jean-Baptiste-Siméon_Chardin . { { ?j rdf:type ontology:theatrical_genre } UNION { ?j rdf:type ontology:television_program } } } } . FILTER ( ?f = ?d ) . { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?f ) WHERE { { ?w property:inspired_by ?y . ?y rdf:type ontology:common_name . ?w rdf:type ontology:television_program } UNION { ?w property:inspired_by ?y . ?y rdf:type ontology:common_name . ?w rdf:type ontology:theatrical_genre } } GROUP BY ?y } }
[]
common name theatrical genre television program
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 Q183458 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 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(Q15850590)|c(Q15416),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q207447
relation P941
type Q15850590
type Q15416
[ANSWER]
[[{'concept': 'Q15850590'}, {'concept': 'Q15416'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P941 resource:Q207447 . { { ?j rdf:type ontology:Q15850590 } UNION { ?j rdf:type ontology:Q15416 } } } } . FILTER ( ?f = ?d ) . { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?f ) WHERE { { ?w property:P941 ?y . ?y rdf:type ontology:Q502895 . ?w rdf:type ontology:Q15416 } UNION { ?w property:P941 ?y . ?y rdf:type ontology:Q502895 . ?w rdf:type ontology:Q15850590 } } GROUP BY ?y } }
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 Andrea del Verrocchio 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 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 approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type theatrical genre
action find_reverse_tuple_counts
relation inspired by
type common name
type television program
action count
action filter_multi_types
action find_reverse
entity Jean-Baptiste-Siméon Chardin
relation inspired by
type theatrical genre
type television program
[[{'concept': 'theatrical genre'}, {'concept': 'television program'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:inspired_by resource:Jean-Baptiste-Siméon_Chardin . { { ?j rdf:type ontology:theatrical_genre } UNION { ?j rdf:type ontology:television_program } } } } . FILTER ( ?f = ?d ) . { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?f ) WHERE { { ?w property:inspired_by ?y . ?y rdf:type ontology:common_name . ?w rdf:type ontology:television_program } UNION { ?w property:inspired_by ?y . ?y rdf:type ontology:common_name . ?w rdf:type ontology:theatrical_genre } } GROUP BY ?y } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3385369
P941
Q502895 Q15850590 Q15416
USER
And also tell me about Pierre Guillaume?
(c(Q15850590)|c(Q15416),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q3385369
relation P941
type Q15850590
type Q15416
[[{'concept': 'Q15850590'}, {'concept': 'Q15416'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?p WHERE { { ?o property:P941 ?p . ?p rdf:type ontology:Q502895 . ?o rdf:type ontology:Q15850590 } UNION { ?p rdf:type ontology:Q502895 . ?o rdf:type ontology:Q15416 . ?o property:P941 ?p } } GROUP BY ?p } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { { ?a rdf:type ontology:Q15416 } UNION { ?a rdf:type ontology:Q15850590 } } . ?a property:P941 resource:Q3385369 } } }
Pierre Guillaume
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type theatrical genre
action find_reverse_tuple_counts
relation inspired by
type common name
type television program
action count
action filter_multi_types
action find_reverse
entity Pierre Guillaume
relation inspired by
type theatrical genre
type television program
[[{'concept': 'theatrical genre'}, {'concept': 'television program'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?p WHERE { { ?o property:inspired_by ?p . ?p rdf:type ontology:common_name . ?o rdf:type ontology:theatrical_genre } UNION { ?p rdf:type ontology:common_name . ?o rdf:type ontology:television_program . ?o property:inspired_by ?p } } GROUP BY ?p } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { { ?a rdf:type ontology:television_program } UNION { ?a rdf:type ontology:theatrical_genre } } . ?a property:inspired_by resource:Pierre_Guillaume } } }
[]
common name theatrical genre television program
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 Q183458 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 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(Q15850590)|c(Q15416),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q3385369
relation P941
type Q15850590
type Q15416
[ANSWER]
[[{'concept': 'Q15850590'}, {'concept': 'Q15416'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?p WHERE { { ?o property:P941 ?p . ?p rdf:type ontology:Q502895 . ?o rdf:type ontology:Q15850590 } UNION { ?p rdf:type ontology:Q502895 . ?o rdf:type ontology:Q15416 . ?o property:P941 ?p } } GROUP BY ?p } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { { ?a rdf:type ontology:Q15416 } UNION { ?a rdf:type ontology:Q15850590 } } . ?a property:P941 resource:Q3385369 } } }
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 Andrea del Verrocchio 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 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 approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type theatrical genre
action find_reverse_tuple_counts
relation inspired by
type common name
type television program
action count
action filter_multi_types
action find_reverse
entity Pierre Guillaume
relation inspired by
type theatrical genre
type television program
[[{'concept': 'theatrical genre'}, {'concept': 'television program'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?p WHERE { { ?o property:inspired_by ?p . ?p rdf:type ontology:common_name . ?o rdf:type ontology:theatrical_genre } UNION { ?p rdf:type ontology:common_name . ?o rdf:type ontology:television_program . ?o property:inspired_by ?p } } GROUP BY ?p } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { { ?a rdf:type ontology:television_program } UNION { ?a rdf:type ontology:theatrical_genre } } . ?a property:inspired_by resource:Pierre_Guillaume } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q26155161 Q3385369
P509 P921
Q12136
USER
Which diseases caused the death of Pierre Guillaume or were discussed in Latex allergy ?
OR((Q3385369,P509,c(Q12136)), (Q26155161,P921,c(Q12136)))
action filter_type
action union
action find
entity Q3385369
relation P509
action find
entity Q26155161
relation P921
type Q12136
{'OR': [['Q3385369', 'P509', {'concept': 'Q12136'}], ['Q26155161', 'P921', {'concept': 'Q12136'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q3385369 property:P509 ?w } UNION { resource:Q26155161 property:P921 ?w } } . ?w rdf:type ontology:Q12136 }
Latex allergy Pierre Guillaume
action filter_type
action union
action find
entity Pierre Guillaume
relation cause of death
action find
entity Latex allergy
relation main subject
type disease
{'OR': [['Pierre Guillaume', 'cause of death', {'concept': 'disease'}], ['Latex allergy', 'main subject', {'concept': 'disease'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Pierre_Guillaume property:cause_of_death ?w } UNION { resource:Latex_allergy property:main_subject ?w } } . ?w rdf:type ontology:disease }
[]
disease
Q7075805 Q12078
SYSTEM
Occupational lung disease, cancer
Q7075805 Q12078
OR((Q3385369,P509,c(Q12136)), (Q26155161,P921,c(Q12136)))
action filter_type
action union
action find
entity Q3385369
relation P509
action find
entity Q26155161
relation P921
type Q12136
[ANSWERS] caused the death of Pierre Guillaume or were discussed in Latex allergy
{'OR': [['Q3385369', 'P509', {'concept': 'Q12136'}], ['Q26155161', 'P921', {'concept': 'Q12136'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q3385369 property:P509 ?w } UNION { resource:Q26155161 property:P921 ?w } } . ?w rdf:type ontology:Q12136 }
Occupational lung disease cancer
Occupational lung disease and cancer caused the death of Pierre Guillaume or were discussed in Latex allergy
Occupational lung disease cancer
action filter_type
action union
action find
entity Pierre Guillaume
relation cause of death
action find
entity Latex allergy
relation main subject
type disease
{'OR': [['Pierre Guillaume', 'cause of death', {'concept': 'disease'}], ['Latex allergy', 'main subject', {'concept': 'disease'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Pierre_Guillaume property:cause_of_death ?w } UNION { resource:Latex_allergy property:main_subject ?w } } . ?w rdf:type ontology:disease }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q29
P276
Q350604 Q15259995
USER
How many armed conflicts or recurring tournaments have their location as Spain ?
(c(Q350604),P276,Q29) (c(Q15259995),P276,Q29)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P276
type Q350604
action filter_type
action find_reverse
entity Q29
relation P276
type Q15259995
[{'concept': 'Q350604'}, 'P276', 'Q29'] [{'concept': 'Q15259995'}, 'P276', 'Q29']
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { ?r rdf:type ontology:Q350604 . ?r property:P276 resource:Q29 } UNION { ?r property:P276 resource:Q29 . ?r rdf:type ontology:Q15259995 } }
Spain
action count
action union
action filter_type
action find_reverse
entity Spain
relation location
type armed conflict
action filter_type
action find_reverse
entity Spain
relation location
type recurring tournament
[{'concept': 'armed conflict'}, 'location', 'Spain'] [{'concept': 'recurring tournament'}, 'location', 'Spain']
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { ?r rdf:type ontology:armed_conflict . ?r property:location resource:Spain } UNION { ?r property:location resource:Spain . ?r rdf:type ontology:recurring_tournament } }
[]
armed conflict recurring tournament
SYSTEM
3
Q533740 Q168442 Q12551
(c(Q350604),P276,Q29) (c(Q15259995),P276,Q29)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P276
type Q350604
action filter_type
action find_reverse
entity Q29
relation P276
type Q15259995
[ANSWER]
[{'concept': 'Q350604'}, 'P276', 'Q29'] [{'concept': 'Q15259995'}, 'P276', 'Q29']
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { ?r rdf:type ontology:Q350604 . ?r property:P276 resource:Q29 } UNION { ?r property:P276 resource:Q29 . ?r rdf:type ontology:Q15259995 } }
2013 World Men's Handball Championship Anglo-Spanish War (1625–1630) Hundred Years' War
3
action count
action union
action filter_type
action find_reverse
entity Spain
relation location
type armed conflict
action filter_type
action find_reverse
entity Spain
relation location
type recurring tournament
[{'concept': 'armed conflict'}, 'location', 'Spain'] [{'concept': 'recurring tournament'}, 'location', 'Spain']
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { ?r rdf:type ontology:armed_conflict . ?r property:location resource:Spain } UNION { ?r property:location resource:Spain . ?r rdf:type ontology:recurring_tournament } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P47
Q56061
USER
Which administrative territories are bordered by Spain ?
(Q29,P47,c(Q56061))
action filter_type
action find
entity Q29
relation P47
type Q56061
['Q29', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q29 property:P47 ?t . ?t rdf:type ontology:Q56061 }
Spain
action filter_type
action find
entity Spain
relation shares border with
type administrative territorial entity
['Spain', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Spain property:shares_border_with ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q458 Q7172
SYSTEM
European Union, Arab League
Q458 Q7172
(Q29,P47,c(Q56061))
action filter_type
action find
entity Q29
relation P47
type Q56061
[ANSWERS] are bordered by Spain
['Q29', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q29 property:P47 ?t . ?t rdf:type ontology:Q56061 }
European Union Arab League
European Union and Arab League are bordered by Spain
European Union Arab League
action filter_type
action find
entity Spain
relation shares border with
type administrative territorial entity
['Spain', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Spain property:shares_border_with ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q458 Q7172
P47
Q15617994
USER
Which administrative territories are next to the border of European Union and Arab League ?
(c(Q15617994),P47,Q458) (c(Q15617994),P47,Q7172)
action union
action filter_type
action find_reverse
entity Q7172
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q458
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q458'] [{'concept': 'Q15617994'}, 'P47', 'Q7172']
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:Q15617994 . ?s property:P47 resource:Q458 } UNION { ?s property:P47 resource:Q7172 . ?s rdf:type ontology:Q15617994 } }
European Union Arab League
action union
action filter_type
action find_reverse
entity Arab League
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity European Union
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'European Union'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Arab League']
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:shares_border_with resource:European_Union } UNION { ?s property:shares_border_with resource:Arab_League . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q155 Q801 Q43
SYSTEM
Brazil, Israel, Turkey
Q222 Q730 Q1028 Q236 Q238 Q225 Q224 Q221 Q213 Q217 Q215 Q218 Q219 Q403 Q155 Q20 Q29 Q43 Q794 Q986 Q958 Q912 Q1032 Q657 Q1041 Q115 Q114 Q929 Q29 Q43 Q801
(c(Q15617994),P47,Q458) (c(Q15617994),P47,Q7172)
action union
action filter_type
action find_reverse
entity Q7172
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q458
relation P47
type Q15617994
[ANSWERS] are next to the border of European Union and Arab League
[{'concept': 'Q15617994'}, 'P47', 'Q458'] [{'concept': 'Q15617994'}, 'P47', 'Q7172']
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:Q15617994 . ?s property:P47 resource:Q458 } UNION { ?s property:P47 resource:Q7172 . ?s rdf:type ontology:Q15617994 } }
Albania Suriname Morocco Montenegro San Marino Bosnia and Herzegovina Croatia Republic of Macedonia Czech Republic Republic of Moldova Slovenia Romania Bulgaria Serbia Brazil Norway Spain Turkey Iran Eritrea South Sudan Mali Niger Chad Senegal Ethiopia Kenya Central African Republic Spain Turkey Israel
Brazil, Israel and Turkey are next to the border of European Union and Arab League
Brazil Israel Turkey
action union
action filter_type
action find_reverse
entity Arab League
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity European Union
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'European Union'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Arab League']
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:shares_border_with resource:European_Union } UNION { ?s property:shares_border_with resource:Arab_League . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q155 Q801 Q43
P47
Q56061
USER
Which administrative territories have a shared border with Brazil, Israel and Turkey ?
(Q155,P47,c(Q56061)) (Q801,P47,c(Q56061)) (Q43,P47,c(Q56061))
action union
action filter_type
action find
entity Q155
relation P47
type Q56061
action filter_type
action find
entity Q801
relation P47
type Q56061
action filter_type
action find
entity Q43
relation P47
type Q56061
['Q155', 'P47', {'concept': 'Q56061'}] ['Q801', 'P47', {'concept': 'Q56061'}] ['Q43', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?a property:P47 ?h . VALUES ( ?a ) { ( resource:Q155 ) ( resource:Q801 ) } }
Brazil Israel Turkey
action union
action filter_type
action find
entity Brazil
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Israel
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Turkey
relation shares border with
type administrative territorial entity
['Brazil', 'shares border with', {'concept': 'administrative territorial entity'}] ['Israel', 'shares border with', {'concept': 'administrative territorial entity'}] ['Turkey', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?a property:shares_border_with ?h . VALUES ( ?a ) { ( resource:Brazil ) ( resource:Israel ) } }
[]
administrative territorial entity
Q458 Q458 Q7172
SYSTEM
European Union for 1st, 2nd, Arab League for 3rd
Q458 Q7172 Q7172 Q458
(Q155,P47,c(Q56061)) (Q801,P47,c(Q56061)) (Q43,P47,c(Q56061))
action union
action filter_type
action find
entity Q155
relation P47
type Q56061
action filter_type
action find
entity Q801
relation P47
type Q56061
action filter_type
action find
entity Q43
relation P47
type Q56061
[ANSWERS]
['Q155', 'P47', {'concept': 'Q56061'}] ['Q801', 'P47', {'concept': 'Q56061'}] ['Q43', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?a property:P47 ?h . VALUES ( ?a ) { ( resource:Q155 ) ( resource:Q801 ) } }
European Union Arab League Arab League European Union
European Union, European Union and Arab League have a shared border with Brazil, Israel and Turkey
European Union European Union Arab League
action union
action filter_type
action find
entity Brazil
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Israel
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Turkey
relation shares border with
type administrative territorial entity
['Brazil', 'shares border with', {'concept': 'administrative territorial entity'}] ['Israel', 'shares border with', {'concept': 'administrative territorial entity'}] ['Turkey', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?a property:shares_border_with ?h . VALUES ( ?a ) { ( resource:Brazil ) ( resource:Israel ) } }
[]