Simple Question (Direct)
Simple Question
Q5931584
P136
Q1792379
USER
What can be considered as category for Joana Raspall i Juanola ?
(Q5931584,P136,c(Q1792379))
action filter_type
action find
entity Q5931584
relation P136
type Q1792379
['Q5931584', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?g WHERE { resource:Q5931584 property:P136 ?g . ?g rdf:type ontology:Q1792379 }
Joana Raspall i Juanola
action filter_type
action find
entity Joana Raspall i Juanola
relation genre
type art genre
['Joana Raspall i Juanola', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?g WHERE { resource:Joana_Raspall_i_Juanola property:genre ?g . ?g rdf:type ontology:art_genre }
[]
art genre
Q482
SYSTEM
poetry
Q482
(Q5931584,P136,c(Q1792379))
action filter_type
action find
entity Q5931584
relation P136
type Q1792379
[ANSWER] can be considered as category for Joana Raspall i Juanola
['Q5931584', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?g WHERE { resource:Q5931584 property:P136 ?g . ?g rdf:type ontology:Q1792379 }
poetry
Poetry can be considered as category for Joana Raspall i Juanola
poetry
action filter_type
action find
entity Joana Raspall i Juanola
relation genre
type art genre
['Joana Raspall i Juanola', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?g WHERE { resource:Joana_Raspall_i_Juanola property:genre ?g . ?g rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5931584
P793
Q22675021
USER
What event is Joana Raspall i Juanola associated with ?
(Q5931584,P793,c(Q22675021))
action filter_type
action find
entity Q5931584
relation P793
type Q22675021
['Q5931584', 'P793', {'concept': 'Q22675021'}]
SELECT DISTINCT ?i WHERE { resource:Q5931584 property:P793 ?i . ?i rdf:type ontology:Q22675021 }
Joana Raspall i Juanola
action filter_type
action find
entity Joana Raspall i Juanola
relation significant event
type lifetime
['Joana Raspall i Juanola', 'significant event', {'concept': 'lifetime'}]
SELECT DISTINCT ?i WHERE { resource:Joana_Raspall_i_Juanola property:significant_event ?i . ?i rdf:type ontology:lifetime }
[]
lifetime
Q2944360
SYSTEM
centenarian
Q2944360
(Q5931584,P793,c(Q22675021))
action filter_type
action find
entity Q5931584
relation P793
type Q22675021
Joana Raspall i Juanola is associated with [ANSWER]
['Q5931584', 'P793', {'concept': 'Q22675021'}]
SELECT DISTINCT ?i WHERE { resource:Q5931584 property:P793 ?i . ?i rdf:type ontology:Q22675021 }
centenarian
Joana Raspall i Juanola is associated with centenarian
centenarian
action filter_type
action find
entity Joana Raspall i Juanola
relation significant event
type lifetime
['Joana Raspall i Juanola', 'significant event', {'concept': 'lifetime'}]
SELECT DISTINCT ?i WHERE { resource:Joana_Raspall_i_Juanola property:significant_event ?i . ?i rdf:type ontology:lifetime }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q947525
P941
Q502895 Q6619679 Q15619164
USER
How many people inspired less number of fictional humanoids or abstract beings than Robert Gant ?
(c(Q6619679)|c(Q15619164),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q947525
relation P941
type Q6619679
type Q15619164
[[{'concept': 'Q6619679'}, {'concept': 'Q15619164'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?w WHERE { { ?i rdf:type ontology:Q6619679 . ?w rdf:type ontology:Q502895 . ?i property:P941 ?w } UNION { ?i property:P941 ?w . ?i rdf:type ontology:Q15619164 . ?w rdf:type ontology:Q502895 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:P941 resource:Q947525 . { { ?g rdf:type ontology:Q6619679 } UNION { ?g rdf:type ontology:Q15619164 } } } } . FILTER ( ?f < ?x ) }
Robert Gant
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action find_reverse_tuple_counts
relation inspired by
type common name
type abstract being
action count
action filter_multi_types
action find_reverse
entity Robert Gant
relation inspired by
type fictional humanoid
type abstract being
[[{'concept': 'fictional humanoid'}, {'concept': 'abstract being'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?w WHERE { { ?i rdf:type ontology:fictional_humanoid . ?w rdf:type ontology:common_name . ?i property:inspired_by ?w } UNION { ?i property:inspired_by ?w . ?i rdf:type ontology:abstract_being . ?w rdf:type ontology:common_name } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:inspired_by resource:Robert_Gant . { { ?g rdf:type ontology:fictional_humanoid } UNION { ?g rdf:type ontology:abstract_being } } } } . FILTER ( ?f < ?x ) }
[]
common name fictional humanoid abstract being
SYSTEM
200
Q207939 Q23380 Q3481979 Q40475 Q366380 Q334001 Q42229 Q5296307 Q19526 Q58801 Q129308 Q42305 Q558333 Q207447 Q560792 Q35548 Q1067550 Q2707376 Q180919 Q105719 Q205002 Q30755 Q37693 Q712955 Q666171 Q531161 Q5383 Q8016 Q456270 Q127171 Q649801 Q42786 Q5361548 Q312502 Q2864567 Q154545 Q5534471 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 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 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q5545355 Q2121085 Q212531 Q5294232 Q463653 Q958996 Q483512 Q123075 Q835175 Q229432 Q123071 Q229437 Q44272 Q94002 Q49285 Q27429917 Q1744 Q1523 Q5582 Q219640 Q5822 Q28493 Q5589 Q296 Q527735 Q352954 Q2181776 Q27429984 Q34013 Q2836532 Q712497 Q221464 Q263241 Q356129 Q3925 Q34851 Q25328 Q26806 Q203219 Q983441 Q2552902 Q41554 Q83338 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 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q6619679)|c(Q15619164),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q947525
relation P941
type Q6619679
type Q15619164
[ANSWER]
[[{'concept': 'Q6619679'}, {'concept': 'Q15619164'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?w WHERE { { ?i rdf:type ontology:Q6619679 . ?w rdf:type ontology:Q502895 . ?i property:P941 ?w } UNION { ?i property:P941 ?w . ?i rdf:type ontology:Q15619164 . ?w rdf:type ontology:Q502895 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:P941 resource:Q947525 . { { ?g rdf:type ontology:Q6619679 } UNION { ?g rdf:type ontology:Q15619164 } } } } . FILTER ( ?f < ?x ) }
Alexander McQueen 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 John Marin Elizabeth Kenny David Bowie Winston Churchill Eleanor Audley Jean-Honoré Fragonard Fred Moore Audrey Hepburn Elisabeth Scott Fiorello H. La Guardia Art Stevens Léopold Sédar Senghor Geoffrey Bowers 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 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 Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean Leonard Baskin John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens 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 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 John Stamos Grace Kelly Elizabeth Taylor Antoni Gaudí Danny DeVito Boris Karloff Thomas Moran Hans Conried Nicolas Poussin Robin Williams 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 Eastman Johnson Cathy McGowan Gale Sondergaard Rhoda Williams Ray Ventura Ed Kemmer Maila Nurmi Django Reinhardt Floris van Dyck Chief Powhatan
200
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action find_reverse_tuple_counts
relation inspired by
type common name
type abstract being
action count
action filter_multi_types
action find_reverse
entity Robert Gant
relation inspired by
type fictional humanoid
type abstract being
[[{'concept': 'fictional humanoid'}, {'concept': 'abstract being'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?w WHERE { { ?i rdf:type ontology:fictional_humanoid . ?w rdf:type ontology:common_name . ?i property:inspired_by ?w } UNION { ?i property:inspired_by ?w . ?i rdf:type ontology:abstract_being . ?w rdf:type ontology:common_name } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:inspired_by resource:Robert_Gant . { { ?g rdf:type ontology:fictional_humanoid } UNION { ?g rdf:type ontology:abstract_being } } } } . FILTER ( ?f < ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2907490
P941
Q502895 Q6619679 Q15619164
USER
And how about Bo Gritz?
(c(Q6619679)|c(Q15619164),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q2907490
relation P941
type Q6619679
type Q15619164
[[{'concept': 'Q6619679'}, {'concept': 'Q15619164'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?l WHERE { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:Q6619679 ) ( ontology:Q15619164 ) } } GROUP BY ?l } . FILTER ( ?m < ?p ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:P941 resource:Q2907490 . { { ?c rdf:type ontology:Q6619679 } UNION { ?c rdf:type ontology:Q15619164 } } } } }
Bo Gritz
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action find_reverse_tuple_counts
relation inspired by
type common name
type abstract being
action count
action filter_multi_types
action find_reverse
entity Bo Gritz
relation inspired by
type fictional humanoid
type abstract being
[[{'concept': 'fictional humanoid'}, {'concept': 'abstract being'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?l WHERE { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:fictional_humanoid ) ( ontology:abstract_being ) } } GROUP BY ?l } . FILTER ( ?m < ?p ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:inspired_by resource:Bo_Gritz . { { ?c rdf:type ontology:fictional_humanoid } UNION { ?c rdf:type ontology:abstract_being } } } } }
[]
common name fictional humanoid abstract being
SYSTEM
200
Q207939 Q23380 Q3481979 Q40475 Q366380 Q334001 Q42229 Q5296307 Q19526 Q58801 Q129308 Q42305 Q558333 Q207447 Q560792 Q35548 Q1067550 Q2707376 Q180919 Q105719 Q205002 Q30755 Q37693 Q712955 Q666171 Q531161 Q5383 Q8016 Q456270 Q127171 Q649801 Q42786 Q5361548 Q312502 Q2864567 Q154545 Q5534471 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 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 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q5545355 Q2121085 Q212531 Q5294232 Q463653 Q958996 Q483512 Q123075 Q835175 Q229432 Q123071 Q229437 Q44272 Q94002 Q49285 Q27429917 Q1744 Q1523 Q5582 Q219640 Q5822 Q28493 Q5589 Q296 Q527735 Q352954 Q2181776 Q27429984 Q34013 Q2836532 Q712497 Q221464 Q263241 Q356129 Q3925 Q34851 Q25328 Q26806 Q203219 Q983441 Q2552902 Q41554 Q83338 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 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q6619679)|c(Q15619164),P941,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q2907490
relation P941
type Q6619679
type Q15619164
[ANSWER]
[[{'concept': 'Q6619679'}, {'concept': 'Q15619164'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?l WHERE { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:Q6619679 ) ( ontology:Q15619164 ) } } GROUP BY ?l } . FILTER ( ?m < ?p ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:P941 resource:Q2907490 . { { ?c rdf:type ontology:Q6619679 } UNION { ?c rdf:type ontology:Q15619164 } } } } }
Alexander McQueen 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 John Marin Elizabeth Kenny David Bowie Winston Churchill Eleanor Audley Jean-Honoré Fragonard Fred Moore Audrey Hepburn Elisabeth Scott Fiorello H. La Guardia Art Stevens Léopold Sédar Senghor Geoffrey Bowers 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 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 Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean Leonard Baskin John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens 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 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 John Stamos Grace Kelly Elizabeth Taylor Antoni Gaudí Danny DeVito Boris Karloff Thomas Moran Hans Conried Nicolas Poussin Robin Williams 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 Eastman Johnson Cathy McGowan Gale Sondergaard Rhoda Williams Ray Ventura Ed Kemmer Maila Nurmi Django Reinhardt Floris van Dyck Chief Powhatan
200
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action find_reverse_tuple_counts
relation inspired by
type common name
type abstract being
action count
action filter_multi_types
action find_reverse
entity Bo Gritz
relation inspired by
type fictional humanoid
type abstract being
[[{'concept': 'fictional humanoid'}, {'concept': 'abstract being'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?l WHERE { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:fictional_humanoid ) ( ontology:abstract_being ) } } GROUP BY ?l } . FILTER ( ?m < ?p ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:inspired_by resource:Bo_Gritz . { { ?c rdf:type ontology:fictional_humanoid } UNION { ?c rdf:type ontology:abstract_being } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5931584
P27
Q15617994
USER
Which administrative territory is Joana Raspall i Juanola an inhabitant of ?
(Q5931584,P27,c(Q15617994))
action filter_type
action find
entity Q5931584
relation P27
type Q15617994
['Q5931584', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q5931584 property:P27 ?e }
Joana Raspall i Juanola
action filter_type
action find
entity Joana Raspall i Juanola
relation country of citizenship
type designation for an administrative territorial entity
['Joana Raspall i Juanola', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Joana_Raspall_i_Juanola property:country_of_citizenship ?e }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q5931584,P27,c(Q15617994))
action filter_type
action find
entity Q5931584
relation P27
type Q15617994
[ANSWER] is Joana Raspall i Juanola an inhabitant of
['Q5931584', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q5931584 property:P27 ?e }
Spain
Spain is Joana Raspall i Juanola an inhabitant of
Spain
action filter_type
action find
entity Joana Raspall i Juanola
relation country of citizenship
type designation for an administrative territorial entity
['Joana Raspall i Juanola', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Joana_Raspall_i_Juanola property:country_of_citizenship ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5931584
P1412
Q34770
USER
Which language does that person speak in ?
(Q29,P1412,c(Q34770))
action filter_type
action find
entity Q5931584
relation P1412
type Q34770
['Q29', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q5931584 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Joana Raspall i Juanola
action filter_type
action find
entity Joana Raspall i Juanola
relation languages spoken, written or signed
type language
['Spain', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Joana_Raspall_i_Juanola property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q29,P1412,c(Q34770))
action filter_type
action find
entity Q5931584
relation P1412
type Q34770
That person speaks a [ANSWER]
['Q29', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q5931584 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Spanish
That person speaks a Spanish
Spanish
action filter_type
action find
entity Joana Raspall i Juanola
relation languages spoken, written or signed
type language
['Spain', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Joana_Raspall_i_Juanola property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1321 Q5904389
P1412
Q502895
USER
Does Hugo Beccacece talk in that language ?
(Q5904389,P1412,Q1321)
action is_in
entity Q1321
action find
entity Q5904389
relation P1412
['Q5904389', 'P1412', 'Q1321']
ASK WHERE { resource:Q5904389 property:P1412 resource:Q1321 }
Spanish Hugo Beccacece
action is_in
entity Spanish
action find
entity Hugo Beccacece
relation languages spoken, written or signed
['Hugo Beccacece', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Hugo_Beccacece property:languages_spoken,_written_or_signed resource:Spanish }
[]
common name
SYSTEM
YES
(Q5904389,P1412,Q1321)
action is_in
entity Q1321
action find
entity Q5904389
relation P1412
[ANSWER]
['Q5904389', 'P1412', 'Q1321']
ASK WHERE { resource:Q5904389 property:P1412 resource:Q1321 }
Yes
action is_in
entity Spanish
action find
entity Hugo Beccacece
relation languages spoken, written or signed
['Hugo Beccacece', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Hugo_Beccacece property:languages_spoken,_written_or_signed resource:Spanish }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q2221906 Q12737077 Q1792379
USER
Which art genres depict min number of geographic locations or occupations ?
(c(Q1792379),P180,c(Q2221906)|c(Q12737077))
action argmin
action union
action find_tuple_counts
relation P180
type Q1792379
type Q2221906
action find_tuple_counts
relation P180
type Q1792379
type Q12737077
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q2221906'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ?v . VALUES ( ?v ) { ( ontology:Q2221906 ) ( ontology:Q12737077 ) } } GROUP BY ?a } . FILTER ( ?m = ?t ) . { SELECT DISTINCT ( MIN ( ?x ) AS ?t ) { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?x ) WHERE { { ?w rdf:type ontology:Q1792379 . ?o rdf:type ontology:Q2221906 . ?w property:P180 ?o } UNION { ?w property:P180 ?o . ?w rdf:type ontology:Q1792379 . ?o rdf:type ontology:Q12737077 } } GROUP BY ?w } } }
action argmin
action union
action find_tuple_counts
relation depicts
type art genre
type geographic location
action find_tuple_counts
relation depicts
type art genre
type occupation
[{'concept': 'art genre'}, 'depicts', [{'concept': 'geographic location'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ?v . VALUES ( ?v ) { ( ontology:geographic_location ) ( ontology:occupation ) } } GROUP BY ?a } . FILTER ( ?m = ?t ) . { SELECT DISTINCT ( MIN ( ?x ) AS ?t ) { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?x ) WHERE { { ?w rdf:type ontology:art_genre . ?o rdf:type ontology:geographic_location . ?w property:depicts ?o } UNION { ?w property:depicts ?o . ?w rdf:type ontology:art_genre . ?o rdf:type ontology:occupation } } GROUP BY ?w } } }
[]
geographic location occupation art genre
Q5712848 Q4668641 Q3207118
SYSTEM
Self-Portrait with Monkey, Above and Below, The Ring of Fire
Q21856809 Q1189907 Q22677514 Q3362398 Q2963437 Q18661427 Q22073388 Q26318263 Q4668641 Q22670282 Q2302151 Q5883078 Q3687196 Q18353841 Q26706171 Q26928600 Q5712848 Q3900659 Q742530 Q18688281 Q742333 Q937330 Q3374376 Q1615638 Q22677763 Q22677825 Q6944995 Q248726 Q27087718 Q3207118 Q22670323 Q26317896 Q214127 Q315569 Q3399515 Q158607 Q18559971 Q18917896 Q26709687 Q22575803 Q1339864 Q2415378 Q18579186 Q5448026 Q12303833 Q22677734 Q26668969
(c(Q1792379),P180,c(Q2221906)|c(Q12737077))
action argmin
action union
action find_tuple_counts
relation P180
type Q1792379
type Q2221906
action find_tuple_counts
relation P180
type Q1792379
type Q12737077
[ANSWERS] depict min number of geographic locations or occupations
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q2221906'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ?v . VALUES ( ?v ) { ( ontology:Q2221906 ) ( ontology:Q12737077 ) } } GROUP BY ?a } . FILTER ( ?m = ?t ) . { SELECT DISTINCT ( MIN ( ?x ) AS ?t ) { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?x ) WHERE { { ?w rdf:type ontology:Q1792379 . ?o rdf:type ontology:Q2221906 . ?w property:P180 ?o } UNION { ?w property:P180 ?o . ?w rdf:type ontology:Q1792379 . ?o rdf:type ontology:Q12737077 } } GROUP BY ?w } } }
Selim Palmgren Water Lilies Market place parliament Panorama du Caire One Thousand Pictures of the Ocean (Chie no umi) Memorial of the people of Pori Henry M. Jackson Bust of Edward VII Above and Below Crying girl animal painting Hollywood novel Christ's Charge to Peter Architectural painting Sir Austen Henry Layard Existentialist literature Self-Portrait with Monkey The Miraculous Draught of Fishes idyll Portrait of A.S.Pushkin history painting kouros mythological painting submarine films Statue of Risto Ryti Maire-sculpture My Bed Venus figurine Bust Of Sir Henry Tate, Outside Tate Library, Brixton Oval The Ring of Fire JUHANA III - The king of Sweden 1568-1592 -relief Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury genre painting Karl Marx Monument equestrian portrait marine art Rock art at Åbodsjön history sculpture Antoine Coypel Going swimming, from the theme mother and child sports film schutterstuk Petrus Franciscus Greive (1811-1872) figure painting floral painting Statue of Duke John Bust Of Sir Joseph Paxton At Crystal Palace Park
Self-Portrait with Monkey, Above and Below and The Ring of Fire depict min number of geographic locations or occupations
Self-Portrait with Monkey Above and Below The Ring of Fire
action argmin
action union
action find_tuple_counts
relation depicts
type art genre
type geographic location
action find_tuple_counts
relation depicts
type art genre
type occupation
[{'concept': 'art genre'}, 'depicts', [{'concept': 'geographic location'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ?v . VALUES ( ?v ) { ( ontology:geographic_location ) ( ontology:occupation ) } } GROUP BY ?a } . FILTER ( ?m = ?t ) . { SELECT DISTINCT ( MIN ( ?x ) AS ?t ) { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?x ) WHERE { { ?w rdf:type ontology:art_genre . ?o rdf:type ontology:geographic_location . ?w property:depicts ?o } UNION { ?w property:depicts ?o . ?w rdf:type ontology:art_genre . ?o rdf:type ontology:occupation } } GROUP BY ?w } } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P180
Q811430 Q12737077 Q1792379
USER
Which art genres demonstrate approximately the same number of constructions and occupations as that art genre ?
(c(Q1792379),P180,c(Q811430)|c(Q12737077))
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q811430'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?z WHERE { { ?z property:P180 ?n . VALUES ( ?n ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:Q1792379 . ?y rdf:type ontology:Q385378 . ?x rdf:type ontology:Q528892 }
[{'concept': 'art genre'}, 'depicts', [{'concept': 'construction'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?z WHERE { { ?z property:depicts ?n . VALUES ( ?n ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:art_genre . ?y rdf:type ontology:construction . ?x rdf:type ontology:occupation }
[]
construction occupation art genre
Comparative|More/Less|Mult. entity type|Clarification
Q3207118
SYSTEM
Did you mean The Ring of Fire ?
(c(Q1792379),P180,c(Q811430)|c(Q12737077))
[ANSWER]
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q811430'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?z WHERE { { ?z property:P180 ?n . VALUES ( ?n ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:Q1792379 . ?y rdf:type ontology:Q385378 . ?x rdf:type ontology:Q528892 }
Did you mean The Ring of Fire ?
The Ring of Fire
[{'concept': 'art genre'}, 'depicts', [{'concept': 'construction'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?z WHERE { { ?z property:depicts ?n . VALUES ( ?n ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:art_genre . ?y rdf:type ontology:construction . ?x rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
USER
No, I meant Above and Below. Could you tell me the answer for that?
(c(Q1792379),P180,c(Q811430)|c(Q12737077))
Q4668641
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q811430'}, {'concept': 'Q12737077'}]]
[{'concept': 'art genre'}, 'depicts', [{'concept': 'construction'}, {'concept': 'occupation'}]]
[]
SYSTEM
48
Q21856809 Q1189907 Q22677514 Q3362398 Q2963437 Q18661427 Q22073388 Q26318263 Q4668641 Q22670282 Q2302151 Q5883078 Q3687196 Q26706171 Q26928600 Q5712848 Q3900659 Q742530 Q18688281 Q742333 Q937330 Q3374376 Q1615638 Q22677763 Q22677825 Q6944995 Q248726 Q27087718 Q3207118 Q22670323 Q26317896 Q214127 Q315569 Q1353984 Q3399515 Q158607 Q18559971 Q18917896 Q26709687 Q22575803 Q1339864 Q2415378 Q191163 Q18579186 Q5448026 Q12303833 Q22677734 Q26668969
(c(Q1792379),P180,c(Q811430)|c(Q12737077))
[ANSWER]
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q811430'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P180 ?y } UNION { ?z property:P180 ?x } } . ?z rdf:type ontology:Q1792379 . ?y rdf:type ontology:Q385378 . ?x rdf:type ontology:Q528892 }
Selim Palmgren Water Lilies Market place parliament Panorama du Caire One Thousand Pictures of the Ocean (Chie no umi) Memorial of the people of Pori Henry M. Jackson Bust of Edward VII Above and Below Crying girl animal painting Hollywood novel Christ's Charge to Peter Sir Austen Henry Layard Existentialist literature Self-Portrait with Monkey The Miraculous Draught of Fishes idyll Portrait of A.S.Pushkin history painting kouros mythological painting submarine films Statue of Risto Ryti Maire-sculpture My Bed Venus figurine Bust Of Sir Henry Tate, Outside Tate Library, Brixton Oval The Ring of Fire JUHANA III - The king of Sweden 1568-1592 -relief Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury genre painting Karl Marx Monument landscape photography equestrian portrait marine art Rock art at Åbodsjön history sculpture Antoine Coypel Going swimming, from the theme mother and child sports film schutterstuk landscape art Petrus Franciscus Greive (1811-1872) figure painting floral painting Statue of Duke John Bust Of Sir Joseph Paxton At Crystal Palace Park
48
[{'concept': 'art genre'}, 'depicts', [{'concept': 'construction'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:depicts ?y } UNION { ?z property:depicts ?x } } . ?z rdf:type ontology:art_genre . ?y rdf:type ontology:construction . ?x rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q45
P17
Q15617994 Q20667921 Q55488
USER
How many administrative territories are more number of french administrative divisions and railway stations present in than Portugal ?
(c(Q20667921)|c(Q55488),P17,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q55488
action count
action filter_multi_types
action find_reverse
entity Q45
relation P17
type Q20667921
type Q55488
[[{'concept': 'Q20667921'}, {'concept': 'Q55488'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P17 resource:Q45 . { { ?e rdf:type ontology:Q20667921 } UNION { ?e rdf:type ontology:Q55488 } } } } . FILTER ( ?h > ?g ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?h ) WHERE { { ?d rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q20667921 . ?o property:P17 ?d } UNION { ?o property:P17 ?d . ?d rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q55488 } } GROUP BY ?d } }
Portugal
action count
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type railway station
action count
action filter_multi_types
action find_reverse
entity Portugal
relation country
type type of french administrative division
type railway station
[[{'concept': 'type of french administrative division'}, {'concept': 'railway station'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:country resource:Portugal . { { ?e rdf:type ontology:type_of_french_administrative_division } UNION { ?e rdf:type ontology:railway_station } } } } . FILTER ( ?h > ?g ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?h ) WHERE { { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:type_of_french_administrative_division . ?o property:country ?d } UNION { ?o property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:railway_station } } GROUP BY ?d } }
[]
designation for an administrative territorial entity type of french administrative division railway station
SYSTEM
27
Q668 Q414 Q142 Q55 Q145 Q148 Q159 Q41 Q794 Q884 Q219 Q31 Q30 Q36 Q34 Q38 Q20 Q28 Q184 Q96 Q17 Q298 Q212 Q213 Q218 Q29 Q869
(c(Q20667921)|c(Q55488),P17,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q55488
action count
action filter_multi_types
action find_reverse
entity Q45
relation P17
type Q20667921
type Q55488
[ANSWER]
[[{'concept': 'Q20667921'}, {'concept': 'Q55488'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P17 resource:Q45 . { { ?e rdf:type ontology:Q20667921 } UNION { ?e rdf:type ontology:Q55488 } } } } . FILTER ( ?h > ?g ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?h ) WHERE { { ?d rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q20667921 . ?o property:P17 ?d } UNION { ?o property:P17 ?d . ?d rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q55488 } } GROUP BY ?d } }
India Argentina France Netherlands United Kingdom People's Republic of China Russia Greece Iran South Korea Bulgaria Belgium United States of America Poland Sweden Italy Norway Hungary Belarus Mexico Japan Chile Ukraine Czech Republic Romania Spain Thailand
27
action count
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type railway station
action count
action filter_multi_types
action find_reverse
entity Portugal
relation country
type type of french administrative division
type railway station
[[{'concept': 'type of french administrative division'}, {'concept': 'railway station'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:country resource:Portugal . { { ?e rdf:type ontology:type_of_french_administrative_division } UNION { ?e rdf:type ontology:railway_station } } } } . FILTER ( ?h > ?g ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?h ) WHERE { { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:type_of_french_administrative_division . ?o property:country ?d } UNION { ?o property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:railway_station } } GROUP BY ?d } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q414
P17
Q15617994 Q20667921 Q55488
USER
And also tell me about Argentina?
(c(Q20667921)|c(Q55488),P17,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q55488
action count
action filter_multi_types
action find_reverse
entity Q414
relation P17
type Q20667921
type Q55488
[[{'concept': 'Q20667921'}, {'concept': 'Q55488'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?a WHERE { VALUES ( ?t ) { ( ontology:Q20667921 ) ( ontology:Q55488 ) } . ?l rdf:type ?t } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { { ?f rdf:type ontology:Q20667921 } UNION { ?f rdf:type ontology:Q55488 } } . ?f property:P17 resource:Q414 } } . FILTER ( ?d > ?w ) }
Argentina
action count
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type railway station
action count
action filter_multi_types
action find_reverse
entity Argentina
relation country
type type of french administrative division
type railway station
[[{'concept': 'type of french administrative division'}, {'concept': 'railway station'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?a WHERE { VALUES ( ?t ) { ( ontology:type_of_french_administrative_division ) ( ontology:railway_station ) } . ?l rdf:type ?t } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { { ?f rdf:type ontology:type_of_french_administrative_division } UNION { ?f rdf:type ontology:railway_station } } . ?f property:country resource:Argentina } } . FILTER ( ?d > ?w ) }
[]
designation for an administrative territorial entity type of french administrative division railway station
SYSTEM
16
Q668 Q142 Q55 Q145 Q148 Q159 Q884 Q30 Q36 Q34 Q38 Q96 Q17 Q298 Q212 Q29
(c(Q20667921)|c(Q55488),P17,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q55488
action count
action filter_multi_types
action find_reverse
entity Q414
relation P17
type Q20667921
type Q55488
[ANSWER]
[[{'concept': 'Q20667921'}, {'concept': 'Q55488'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?a WHERE { VALUES ( ?t ) { ( ontology:Q20667921 ) ( ontology:Q55488 ) } . ?l rdf:type ?t } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { { ?f rdf:type ontology:Q20667921 } UNION { ?f rdf:type ontology:Q55488 } } . ?f property:P17 resource:Q414 } } . FILTER ( ?d > ?w ) }
India France Netherlands United Kingdom People's Republic of China Russia South Korea United States of America Poland Sweden Italy Mexico Japan Chile Ukraine Spain
16
action count
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type railway station
action count
action filter_multi_types
action find_reverse
entity Argentina
relation country
type type of french administrative division
type railway station
[[{'concept': 'type of french administrative division'}, {'concept': 'railway station'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?a WHERE { VALUES ( ?t ) { ( ontology:type_of_french_administrative_division ) ( ontology:railway_station ) } . ?l rdf:type ?t } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { { ?f rdf:type ontology:type_of_french_administrative_division } UNION { ?f rdf:type ontology:railway_station } } . ?f property:country resource:Argentina } } . FILTER ( ?d > ?w ) }
[]