Simple Question (Direct)
Simple Question
Q19998325
P21
Q290
USER
Which sex does Eduard Josep Verger i Hervàs possess ?
(Q19998325,P21,c(Q290))
action filter_type
action find
entity Q19998325
relation P21
type Q290
['Q19998325', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q19998325 property:P21 ?z }
Eduard Josep Verger i Hervàs
action filter_type
action find
entity Eduard Josep Verger i Hervàs
relation gender
type sex
['Eduard Josep Verger i Hervàs', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Eduard_Josep_Verger_i_Hervàs property:gender ?z }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q19998325,P21,c(Q290))
action filter_type
action find
entity Q19998325
relation P21
type Q290
Eduard Josep Verger i Hervàs possesses de [ANSWER]
['Q19998325', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q19998325 property:P21 ?z }
male
Eduard Josep Verger i Hervàs possesses de male
male
action filter_type
action find
entity Eduard Josep Verger i Hervàs
relation gender
type sex
['Eduard Josep Verger i Hervàs', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Eduard_Josep_Verger_i_Hervàs property:gender ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19998325
P19
Q1048835
USER
Which political territory is the place of birth of that person ?
(Q6581097,P19,c(Q1048835))
action filter_type
action find
entity Q19998325
relation P19
type Q1048835
['Q6581097', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q19998325 property:P19 ?y . ?y rdf:type ontology:Q1048835 }
Eduard Josep Verger i Hervàs
action filter_type
action find
entity Eduard Josep Verger i Hervàs
relation place of birth
type political territorial entity
['male', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Eduard_Josep_Verger_i_Hervàs property:place_of_birth ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1312654
SYSTEM
Carlet
Q1312654
(Q6581097,P19,c(Q1048835))
action filter_type
action find
entity Q19998325
relation P19
type Q1048835
[ANSWER] is the place of birth of that person
['Q6581097', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q19998325 property:P19 ?y . ?y rdf:type ontology:Q1048835 }
Carlet
Carlet is the place of birth of that person
Carlet
action filter_type
action find
entity Eduard Josep Verger i Hervàs
relation place of birth
type political territorial entity
['male', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Eduard_Josep_Verger_i_Hervàs property:place_of_birth ?y . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q664
P530
Q1048835 Q1048835
USER
How many political territories have diplomatic relations with more number of political territories than New Zealand ?
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?u ) WHERE { ?w property:P530 ?h . ?w rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q1048835 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ontology:Q1048835 . resource:Q664 property:P530 ?s } } . FILTER ( ?u > ?q ) }
New Zealand
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?u ) WHERE { ?w property:diplomatic_relation ?h . ?w rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ontology:political_territorial_entity . resource:New_Zealand property:diplomatic_relation ?s } } . FILTER ( ?u > ?q ) }
[]
political territorial entity political territorial entity
SYSTEM
3
Q183 Q408 Q16
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?u ) WHERE { ?w property:P530 ?h . ?w rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q1048835 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ontology:Q1048835 . resource:Q664 property:P530 ?s } } . FILTER ( ?u > ?q ) }
Germany Australia Canada
3
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?u ) WHERE { ?w property:diplomatic_relation ?h . ?w rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ontology:political_territorial_entity . resource:New_Zealand property:diplomatic_relation ?s } } . FILTER ( ?u > ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q769
P530
Q1048835 Q1048835
USER
And what about Grenada?
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q769
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?r ) WHERE { ?q property:P530 ?p . ?q rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q1048835 } GROUP BY ?q } . FILTER ( ?r > ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Q769 property:P530 ?o . ?o rdf:type ontology:Q1048835 } } }
Grenada
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Grenada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?r ) WHERE { ?q property:diplomatic_relation ?p . ?q rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?q } . FILTER ( ?r > ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Grenada property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity political territorial entity
SYSTEM
6
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q769
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?r ) WHERE { ?q property:P530 ?p . ?q rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q1048835 } GROUP BY ?q } . FILTER ( ?r > ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Q769 property:P530 ?o . ?o rdf:type ontology:Q1048835 } } }
Austria Germany Australia Denmark Canada New Zealand
6
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Grenada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?r ) WHERE { ?q property:diplomatic_relation ?p . ?q rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?q } . FILTER ( ?r > ?g ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Grenada property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q578878
P941
Q502895 Q234460 Q11424
USER
How many people inspired approximately the same number of texts or films as Chief Powhatan ?
(c(Q234460)|c(Q11424),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P941
type Q502895
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q578878
relation P941
type Q234460
type Q11424
[[{'concept': 'Q234460'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?n ) WHERE { { ?d property:P941 ?b . ?b rdf:type ontology:Q502895 . ?d rdf:type ontology:Q234460 } UNION { ?d property:P941 ?b . ?b rdf:type ontology:Q502895 . ?d rdf:type ontology:Q11424 } } GROUP BY ?b } . FILTER ( ?n = ?u ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:P941 resource:Q578878 . { { ?o rdf:type ontology:Q234460 } UNION { ?o rdf:type ontology:Q11424 } } } } }
Chief Powhatan
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action find_reverse_tuple_counts
relation inspired by
type common name
type film
action count
action filter_multi_types
action find_reverse
entity Chief Powhatan
relation inspired by
type text
type film
[[{'concept': 'text'}, {'concept': 'film'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?n ) WHERE { { ?d property:inspired_by ?b . ?b rdf:type ontology:common_name . ?d rdf:type ontology:text } UNION { ?d property:inspired_by ?b . ?b rdf:type ontology:common_name . ?d rdf:type ontology:film } } GROUP BY ?b } . FILTER ( ?n = ?u ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:inspired_by resource:Chief_Powhatan . { { ?o rdf:type ontology:text } UNION { ?o rdf:type ontology:film } } } } }
[]
common name text film
SYSTEM
209
Q207939 Q19738291 Q23380 Q3481979 Q40475 Q366380 Q334001 Q42229 Q5296307 Q19526 Q58801 Q129308 Q42305 Q558333 Q207447 Q560792 Q35548 Q1067550 Q2707376 Q180919 Q105719 Q30755 Q37693 Q712955 Q302650 Q666171 Q531161 Q5383 Q8016 Q456270 Q127171 Q649801 Q43715 Q42786 Q5361548 Q312502 Q2864567 Q154545 Q5534471 Q2907490 Q1532260 Q892444 Q164823 Q184226 Q228024 Q182450 Q183221 Q3047248 Q2617543 Q711129 Q81960 Q5592 Q352 Q145746 Q921798 Q7836 Q5594 Q538158 Q3984877 Q3741372 Q116462 Q357786 Q1779 Q310476 Q183458 Q34618 Q151573 Q3560424 Q947525 Q156268 Q56016 Q458779 Q73089 Q182462 Q1353414 Q575668 Q171745 Q100937 Q5669 Q5577 Q395274 Q272068 Q2437296 Q9077 Q443540 Q966425 Q1281170 Q47551 Q357951 Q676001 Q46373 Q5675905 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q273079 Q299271 Q9061 Q849 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q22686 Q5545355 Q2121085 Q212531 Q5294232 Q463653 Q958996 Q483512 Q123075 Q835175 Q229432 Q123071 Q229437 Q44272 Q94002 Q49285 Q27429917 Q1744 Q1523 Q367447 Q5582 Q219640 Q5822 Q28493 Q5589 Q296 Q527735 Q352954 Q2181776 Q27429984 Q34013 Q2836532 Q712497 Q221464 Q263241 Q550426 Q356129 Q3925 Q34851 Q25328 Q26806 Q203219 Q983441 Q2552902 Q41554 Q83338 Q205365 Q624868 Q1953018 Q983352 Q255815 Q3036807 Q3290501 Q189067 Q1086874 Q471023 Q5432 Q2412941 Q297816 Q1896700 Q156622 Q354832 Q3525855 Q159907 Q210447 Q2373032 Q1401 Q3719992 Q199369 Q2110873 Q192222 Q83155 Q2965760 Q193406 Q3385369 Q733965 Q2409128 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q234460)|c(Q11424),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P941
type Q502895
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q578878
relation P941
type Q234460
type Q11424
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?n ) WHERE { { ?d property:P941 ?b . ?b rdf:type ontology:Q502895 . ?d rdf:type ontology:Q234460 } UNION { ?d property:P941 ?b . ?b rdf:type ontology:Q502895 . ?d rdf:type ontology:Q11424 } } GROUP BY ?b } . FILTER ( ?n = ?u ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:P941 resource:Q578878 . { { ?o rdf:type ontology:Q234460 } UNION { ?o rdf:type ontology:Q11424 } } } } }
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 Auguste Rodin Paul Gauguin Bobby Driscoll Tate Donovan John Marin Elizabeth Kenny David Bowie Winston Churchill Eleanor Audley Jean-Honoré Fragonard Fred Moore Vlad Tepes Audrey Hepburn Elisabeth Scott Fiorello H. La Guardia Art Stevens Léopold Sédar Senghor Geoffrey Bowers Bo Gritz Al Hirschfeld Scott Weinger Girolamo Savonarola Gilles Deleuze John Smith George C. Scott Antoine Watteau Eddie Collins Marge Champion Terry-Thomas Robert Burns Michelangelo Adolf Hitler Joseph Sabu Dastagir René Magritte Antonello da Messina Balthasar Denner Jeffrey Stone Armand d'Athos Helen Gahagan Douglas Divine Louis Armstrong Fats Waller Andrea del Verrocchio Gustave Courbet Paul Signac Violet Gordon-Woodhouse Robert Gant Pierre Bourdieu Katharine Hepburn Kathryn Beaumont Gene Kelly Janet Gaynor Robert Gober Lionel Atwill Jeremy Irons Fred Astaire Sandro Botticelli Salvador Dalí Michael J. Fox Heather Angel Eric Larson Moses Ollie Johnston Charles Hubert Millevoye Frances Bavier Titian Mehran Karimi Nasseri Eugène Devéria Edgar Degas Andrés López Muñoz Spring Byington Tom Cruise Jennifer Connelly Christy Turlington Gala Dalí Jerome Kern Hans Holbein Félix González-Torres Jean Goujon Madge Blake Steve Carlson Cab Calloway Bahram V Karl Marx François Villon Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean Leonard Baskin John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens Donald Trump George Turberville Walter Catlett Kate Moss Donald DeFreeze Marie-Thérèse Walter Irene Bedard Isadora Duncan Robert Walser Bernard Levin Lucretia Arnold Böcklin Donatella Versace Michel Foucault Barbara Stanwyck Sally Ride Michelle Stacy Madonna Ramesses II Louis Prima Vincent van Gogh Vincent Price Piero della Francesca Ralph Fiennes Henri Matisse Claude Monet Cedric Hardwicke Carel Fabritius Paul Collins John Culhane Georges Seurat Alice Ayres François Girardon Gilbert Gottfried Mary Wickes Jeffrey Katzenberg John Stamos Grace Kelly Elizabeth Taylor Antoni Gaudí Danny DeVito Boris Karloff Thomas Moran Hans Conried Nicolas Poussin Robin Williams Cain Charles Sheeler Pratibha Ray Il Pordenone Tallulah Bankhead Donnie Dunagan Margaret Kerry Alyssa Milano Christopher Newport Jimmy Durante Francisco de Goya The Fox and the Cat Sammy Davis, Jr. Marian Wright Edelman Giorgio de Chirico Pieter Claesz T. Hee David Hockney Mark Hamill Pierre Gringoire Petrarch Edward Maria Wingfield Naomi Campbell Natalie Venetia Belcon Lysippos Jacques-Louis David Christiane Faure Pocahontas Pierre Guillaume Jack Carlson Dušan Popov Eastman Johnson Cathy McGowan Gale Sondergaard Rhoda Williams Ray Ventura Ed Kemmer Maila Nurmi Django Reinhardt Floris van Dyck Chief Powhatan
209
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action find_reverse_tuple_counts
relation inspired by
type common name
type film
action count
action filter_multi_types
action find_reverse
entity Chief Powhatan
relation inspired by
type text
type film
[[{'concept': 'text'}, {'concept': 'film'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?n ) WHERE { { ?d property:inspired_by ?b . ?b rdf:type ontology:common_name . ?d rdf:type ontology:text } UNION { ?d property:inspired_by ?b . ?b rdf:type ontology:common_name . ?d rdf:type ontology:film } } GROUP BY ?b } . FILTER ( ?n = ?u ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:inspired_by resource:Chief_Powhatan . { { ?o rdf:type ontology:text } UNION { ?o rdf:type ontology:film } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3498875
P941
Q502895 Q234460 Q11424
USER
And also tell me about Steve Carlson?
(c(Q234460)|c(Q11424),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P941
type Q502895
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q3498875
relation P941
type Q234460
type Q11424
[[{'concept': 'Q234460'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?s WHERE { { ?r property:P941 ?s . ?s rdf:type ontology:Q502895 . ?r rdf:type ontology:Q234460 } UNION { ?r property:P941 ?s . ?s rdf:type ontology:Q502895 . ?r rdf:type ontology:Q11424 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:P941 resource:Q3498875 . { ?b rdf:type ?d . VALUES ( ?d ) { ( ontology:Q234460 ) ( ontology:Q11424 ) } } } } . FILTER ( ?w = ?v ) }
Steve Carlson
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action find_reverse_tuple_counts
relation inspired by
type common name
type film
action count
action filter_multi_types
action find_reverse
entity Steve Carlson
relation inspired by
type text
type film
[[{'concept': 'text'}, {'concept': 'film'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?s WHERE { { ?r property:inspired_by ?s . ?s rdf:type ontology:common_name . ?r rdf:type ontology:text } UNION { ?r property:inspired_by ?s . ?s rdf:type ontology:common_name . ?r rdf:type ontology:film } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:inspired_by resource:Steve_Carlson . { ?b rdf:type ?d . VALUES ( ?d ) { ( ontology:text ) ( ontology:film ) } } } } . FILTER ( ?w = ?v ) }
[]
common name text film
SYSTEM
209
Q207939 Q19738291 Q23380 Q3481979 Q40475 Q366380 Q334001 Q42229 Q5296307 Q19526 Q58801 Q129308 Q42305 Q558333 Q207447 Q560792 Q35548 Q1067550 Q2707376 Q180919 Q105719 Q30755 Q37693 Q712955 Q302650 Q666171 Q531161 Q5383 Q8016 Q456270 Q127171 Q649801 Q43715 Q42786 Q5361548 Q312502 Q2864567 Q154545 Q5534471 Q2907490 Q1532260 Q892444 Q164823 Q184226 Q228024 Q182450 Q183221 Q3047248 Q2617543 Q711129 Q81960 Q5592 Q352 Q145746 Q921798 Q7836 Q5594 Q538158 Q3984877 Q3741372 Q116462 Q357786 Q1779 Q310476 Q183458 Q34618 Q151573 Q3560424 Q947525 Q156268 Q56016 Q458779 Q73089 Q182462 Q1353414 Q575668 Q171745 Q100937 Q5669 Q5577 Q395274 Q272068 Q2437296 Q9077 Q443540 Q966425 Q1281170 Q47551 Q357951 Q676001 Q46373 Q5675905 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q273079 Q299271 Q9061 Q849 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q22686 Q5545355 Q2121085 Q212531 Q5294232 Q463653 Q958996 Q483512 Q123075 Q835175 Q229432 Q123071 Q229437 Q44272 Q94002 Q49285 Q27429917 Q1744 Q1523 Q367447 Q5582 Q219640 Q5822 Q28493 Q5589 Q296 Q527735 Q352954 Q2181776 Q27429984 Q34013 Q2836532 Q712497 Q221464 Q263241 Q550426 Q356129 Q3925 Q34851 Q25328 Q26806 Q203219 Q983441 Q2552902 Q41554 Q83338 Q205365 Q624868 Q1953018 Q983352 Q255815 Q3036807 Q3290501 Q189067 Q1086874 Q471023 Q5432 Q2412941 Q297816 Q1896700 Q156622 Q354832 Q3525855 Q159907 Q210447 Q2373032 Q1401 Q3719992 Q199369 Q2110873 Q192222 Q83155 Q2965760 Q193406 Q3385369 Q733965 Q2409128 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q234460)|c(Q11424),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P941
type Q502895
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q3498875
relation P941
type Q234460
type Q11424
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?s WHERE { { ?r property:P941 ?s . ?s rdf:type ontology:Q502895 . ?r rdf:type ontology:Q234460 } UNION { ?r property:P941 ?s . ?s rdf:type ontology:Q502895 . ?r rdf:type ontology:Q11424 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:P941 resource:Q3498875 . { ?b rdf:type ?d . VALUES ( ?d ) { ( ontology:Q234460 ) ( ontology:Q11424 ) } } } } . FILTER ( ?w = ?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 Auguste Rodin Paul Gauguin Bobby Driscoll Tate Donovan John Marin Elizabeth Kenny David Bowie Winston Churchill Eleanor Audley Jean-Honoré Fragonard Fred Moore Vlad Tepes Audrey Hepburn Elisabeth Scott Fiorello H. La Guardia Art Stevens Léopold Sédar Senghor Geoffrey Bowers Bo Gritz Al Hirschfeld Scott Weinger Girolamo Savonarola Gilles Deleuze John Smith George C. Scott Antoine Watteau Eddie Collins Marge Champion Terry-Thomas Robert Burns Michelangelo Adolf Hitler Joseph Sabu Dastagir René Magritte Antonello da Messina Balthasar Denner Jeffrey Stone Armand d'Athos Helen Gahagan Douglas Divine Louis Armstrong Fats Waller Andrea del Verrocchio Gustave Courbet Paul Signac Violet Gordon-Woodhouse Robert Gant Pierre Bourdieu Katharine Hepburn Kathryn Beaumont Gene Kelly Janet Gaynor Robert Gober Lionel Atwill Jeremy Irons Fred Astaire Sandro Botticelli Salvador Dalí Michael J. Fox Heather Angel Eric Larson Moses Ollie Johnston Charles Hubert Millevoye Frances Bavier Titian Mehran Karimi Nasseri Eugène Devéria Edgar Degas Andrés López Muñoz Spring Byington Tom Cruise Jennifer Connelly Christy Turlington Gala Dalí Jerome Kern Hans Holbein Félix González-Torres Jean Goujon Madge Blake Steve Carlson Cab Calloway Bahram V Karl Marx François Villon Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean Leonard Baskin John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens Donald Trump George Turberville Walter Catlett Kate Moss Donald DeFreeze Marie-Thérèse Walter Irene Bedard Isadora Duncan Robert Walser Bernard Levin Lucretia Arnold Böcklin Donatella Versace Michel Foucault Barbara Stanwyck Sally Ride Michelle Stacy Madonna Ramesses II Louis Prima Vincent van Gogh Vincent Price Piero della Francesca Ralph Fiennes Henri Matisse Claude Monet Cedric Hardwicke Carel Fabritius Paul Collins John Culhane Georges Seurat Alice Ayres François Girardon Gilbert Gottfried Mary Wickes Jeffrey Katzenberg John Stamos Grace Kelly Elizabeth Taylor Antoni Gaudí Danny DeVito Boris Karloff Thomas Moran Hans Conried Nicolas Poussin Robin Williams Cain Charles Sheeler Pratibha Ray Il Pordenone Tallulah Bankhead Donnie Dunagan Margaret Kerry Alyssa Milano Christopher Newport Jimmy Durante Francisco de Goya The Fox and the Cat Sammy Davis, Jr. Marian Wright Edelman Giorgio de Chirico Pieter Claesz T. Hee David Hockney Mark Hamill Pierre Gringoire Petrarch Edward Maria Wingfield Naomi Campbell Natalie Venetia Belcon Lysippos Jacques-Louis David Christiane Faure Pocahontas Pierre Guillaume Jack Carlson Dušan Popov Eastman Johnson Cathy McGowan Gale Sondergaard Rhoda Williams Ray Ventura Ed Kemmer Maila Nurmi Django Reinhardt Floris van Dyck Chief Powhatan
209
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action find_reverse_tuple_counts
relation inspired by
type common name
type film
action count
action filter_multi_types
action find_reverse
entity Steve Carlson
relation inspired by
type text
type film
[[{'concept': 'text'}, {'concept': 'film'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?s WHERE { { ?r property:inspired_by ?s . ?s rdf:type ontology:common_name . ?r rdf:type ontology:text } UNION { ?r property:inspired_by ?s . ?s rdf:type ontology:common_name . ?r rdf:type ontology:film } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:inspired_by resource:Steve_Carlson . { ?b rdf:type ?d . VALUES ( ?d ) { ( ontology:text ) ( ontology:film ) } } } } . FILTER ( ?w = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q616847
P206
Q15324 Q1267889 Q1048835
USER
How many political territories are located next to less number of bodies of water or waterways than Ribamontán al Mar ?
(c(Q1048835),P206,c(Q15324)|c(Q1267889))
action count
action less
action union
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q616847
relation P206
type Q15324
type Q1267889
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) ?o WHERE { VALUES ( ?s ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?v rdf:type ?s } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } . resource:Q616847 property:P206 ?b } } . FILTER ( ?g < ?x ) }
Ribamontán al Mar
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action count
action filter_multi_types
action find
entity Ribamontán al Mar
relation located next to body of water
type body of water
type waterway
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) ?o WHERE { VALUES ( ?s ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?v rdf:type ?s } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:body_of_water ) ( ontology:waterway ) } } . resource:Ribamontán_al_Mar property:located_next_to_body_of_water ?b } } . FILTER ( ?g < ?x ) }
[]
body of water waterway political territorial entity
SYSTEM
163
Q736872 Q434192 Q21590062 Q434053 Q782910 Q1447512 Q1628271 Q2044159 Q49562 Q52626 Q677038 Q540185 Q484552 Q433632 Q983556 Q193780 Q635308 Q741749 Q983465 Q2772 Q4359878 Q353618 Q4524665 Q983628 Q846153 Q925913 Q830969 Q846159 Q1324548 Q40 Q962773 Q12071 Q985601 Q615809 Q565002 Q1905388 Q16 Q390069 Q11339 Q55845 Q210887 Q2323549 Q594892 Q582901 Q1853429 Q4408930 Q587114 Q434321 Q11492 Q11263 Q915283 Q11294004 Q4321529 Q661198 Q741765 Q985598 Q1617562 Q493933 Q913483 Q572542 Q13148 Q13149 Q716384 Q499184 Q13462 Q986364 Q956757 Q1798827 Q2244278 Q693258 Q736926 Q433918 Q434019 Q986359 Q575670 Q926410 Q1768232 Q698246 Q15907 Q624967 Q1606460 Q832984 Q11286 Q13150 Q913492 Q1628788 Q13154 Q176624 Q2451327 Q24342199 Q11811 Q426350 Q738674 Q7165 Q983433 Q524431 Q985586 Q1248474 Q11296 Q13424648 Q277302 Q628446 Q366948 Q492741 Q11822 Q932914 Q492748 Q434150 Q944264 Q943431 Q920391 Q399702 Q491786 Q2140 Q985599 Q983635 Q706892 Q615061 Q953876 Q3741 Q657800 Q638013 Q492737 Q433958 Q492735 Q1588135 Q4469165 Q827393 Q11304 Q1260011 Q737440 Q657738 Q584446 Q427330 Q682964 Q171852 Q1607872 Q2110 Q433986 Q501077 Q80967 Q994034 Q586584 Q983577 Q611250 Q615916 Q986727 Q181633 Q643919 Q487268 Q207176 Q736888 Q175057 Q398588 Q1110355 Q434173 Q575639 Q597201 Q434286 Q594961 Q613832 Q491929 Q947285
(c(Q1048835),P206,c(Q15324)|c(Q1267889))
action count
action less
action union
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q616847
relation P206
type Q15324
type Q1267889
[ANSWER]
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) ?o WHERE { VALUES ( ?s ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?v rdf:type ?s } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } . resource:Q616847 property:P206 ?b } } . FILTER ( ?g < ?x ) }
Ayamonte San Andrés y Sauces Antarctic Treaty area Garafía El Sauzal Chantada Soutomaior Llanybydder Adra Formentera San Miguel de Abona Puerto del Rosario Algeciras Santa Cruz de La Palma La Guancha Almuñécar Vallehermoso, Santa Cruz de Tenerife Chipiona Santa Eulària des Riu West Sumatra Pisocine Adeje Szychtory Sant Joan de Labritja San Roque Los Barrios Betancuria Puerto Real El Pinar, Canary Islands Austria San Bartolomé, Las Palmas Vilassar de Mar La Victoria de Acentejo Sorvilán Albuñol L'Alcúdia de Crespins Canada Agaete Llançà Telde Sanlúcar de Barrameda Yaiza, Las Palmas La Oliva Lújar Valverde Sasiv Itamaracá Villa de Mazo Mataró Cadaqués Santiago del Teide Newport City Nuśmice Pájara San Fernando Moya, Las Palmas Nigrán El Ejido Casares Icod de los Vinos La Línea de la Concepción Nerja Arucas, Las Palmas Roquetas de Mar Begur San Juan de la Rambla, Santa Cruz de Tenerife Gáldar, Las Palmas La Frontera Tías, Las Palmas San Bartolomé de Tirajana Isla Cristina Barlovento, Santa Cruz de Tenerife Fuencaliente Santa María de Guía de Gran Canaria Antigua, Fuerteventura Algarrobo Trillo Arona, Tenerife Rota Arafo Malpica de Tajo Conil de la Frontera Castelló d'Empúries Torrox Manilva El Puente del Arzobispo Barbate El Rosario, Tenerife Sé City and County of Cardiff El Port de la Selva Tazacorte Santa Lucía de Tirajana Portbou Güímar Fasnia Tuineje, Las Palmas Rincón de la Victoria Colera Troitske Chiclana de la Frontera Mogán, Las Palmas Los Llanos de Aridane Vélez-Málaga Roses Alajeró, Santa Cruz de Tenerife Estepona Puntagorda Tacoronte, Santa Cruz de Tenerife Granadilla de Abona La Orotava Agüimes, Las Palmas Calvià North Sumatra Province Ingenio, Las Palmas Sant Josep de sa Talaia Artenara, Las Palmas Rubite Los Realejos Special Region of Yogyakarta Santa Úrsula Tinajo, Las Palmas Torremolinos Breña Alta Fuengirola Haría, Las Palmas Uhrynów Vejer de la Frontera L'Escala Hermigua Teguise Arico Valle Gran Rey Salobreña Los Silos Odessa Oblast Piedralaves Lampung Province Breña Baja Lepe Outer Hebrides Variazh Nînovîci, La Matanza de Acentejo Polopos Vasilivka La Aldea de San Nicolás Mykolaiv Oblast Torfaen County Borough Candelaria Monmouthshire Punta Umbría Fernando de Noronha Agulo Níjar Puntallana Gualchos Lake of the Woods, Ontario Tijarafe Buenavista del Norte Mañón Berja Enix, Spain
163
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action count
action filter_multi_types
action find
entity Ribamontán al Mar
relation located next to body of water
type body of water
type waterway
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) ?o WHERE { VALUES ( ?s ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?v rdf:type ?s } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:body_of_water ) ( ontology:waterway ) } } . resource:Ribamontán_al_Mar property:located_next_to_body_of_water ?b } } . FILTER ( ?g < ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q5068
P206
Q15324 Q1267889 Q1048835
USER
And what about North Sulawesi Province?
(c(Q1048835),P206,c(Q15324)|c(Q1267889))
action count
action less
action union
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q5068
relation P206
type Q15324
type Q1267889
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?e ) WHERE { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Q5068 property:P206 ?l . { { ?l rdf:type ontology:Q15324 } UNION { ?l rdf:type ontology:Q1267889 } } } } . FILTER ( ?e < ?g ) }
North Sulawesi Province
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action count
action filter_multi_types
action find
entity North Sulawesi Province
relation located next to body of water
type body of water
type waterway
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?e ) WHERE { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:body_of_water ) ( ontology:waterway ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:North_Sulawesi_Province property:located_next_to_body_of_water ?l . { { ?l rdf:type ontology:body_of_water } UNION { ?l rdf:type ontology:waterway } } } } . FILTER ( ?e < ?g ) }
[]
body of water waterway political territorial entity
SYSTEM
236
Q1649616 Q736872 Q434192 Q691567 Q1228773 Q21590062 Q657407 Q434053 Q782910 Q1447512 Q1628271 Q2044159 Q49562 Q844784 Q2012050 Q52626 Q677038 Q540185 Q484552 Q433632 Q1614800 Q1470810 Q492312 Q7206212 Q983556 Q193780 Q635308 Q741749 Q5067 Q983465 Q2772 Q4359878 Q353618 Q4524665 Q18356359 Q983628 Q147774 Q846153 Q217829 Q925913 Q7451347 Q830969 Q846159 Q1324548 Q40 Q962773 Q5095 Q12071 Q985601 Q615809 Q565002 Q1905388 Q16 Q390069 Q18350152 Q11339 Q55845 Q3557 Q210887 Q804466 Q2323549 Q594892 Q582901 Q5096 Q898856 Q1853429 Q4408930 Q587114 Q434321 Q492420 Q11492 Q11263 Q915283 Q11294004 Q4321529 Q661198 Q741765 Q35 Q5017377 Q985598 Q917886 Q1617562 Q493933 Q913483 Q572542 Q13148 Q13149 Q6674900 Q7521776 Q716384 Q499184 Q616847 Q13462 Q986364 Q1637424 Q956757 Q1443906 Q1798827 Q2244278 Q693258 Q736926 Q13751 Q433918 Q434019 Q986359 Q575670 Q847329 Q817971 Q926410 Q1768232 Q698246 Q16851746 Q15907 Q624967 Q1606460 Q1634820 Q832984 Q11286 Q1447802 Q13150 Q913492 Q1628788 Q13154 Q217840 Q7130989 Q100166 Q176624 Q2451327 Q24342199 Q11811 Q163271 Q5437809 Q426350 Q738674 Q7165 Q983433 Q524431 Q985586 Q1443992 Q1248474 Q11296 Q1631163 Q13424648 Q277302 Q628446 Q1637406 Q743849 Q366948 Q492741 Q650682 Q748078 Q11822 Q932914 Q492748 Q4481 Q904566 Q1645555 Q434150 Q5939706 Q944264 Q943431 Q920391 Q3903 Q399702 Q4673688 Q491786 Q2140 Q3724 Q985599 Q983635 Q1391437 Q18359182 Q706892 Q171334 Q615061 Q847127 Q5616614 Q953876 Q3741 Q657800 Q47134 Q638013 Q492737 Q433958 Q492735 Q1588135 Q1623000 Q18357018 Q4469165 Q827393 Q505610 Q11304 Q1260011 Q607474 Q737440 Q657738 Q3891 Q584446 Q427330 Q682964 Q171852 Q1607872 Q2110 Q18351821 Q433986 Q501077 Q80967 Q936264 Q994034 Q586584 Q983577 Q42314 Q611250 Q615916 Q986727 Q181633 Q7684726 Q643919 Q487268 Q5197069 Q207176 Q736888 Q824076 Q175057 Q398588 Q1110355 Q434173 Q575639 Q597201 Q6298722 Q434286 Q697126 Q594961 Q613832 Q491929 Q947285
(c(Q1048835),P206,c(Q15324)|c(Q1267889))
action count
action less
action union
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q5068
relation P206
type Q15324
type Q1267889
[ANSWER]
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?e ) WHERE { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Q5068 property:P206 ?l . { { ?l rdf:type ontology:Q15324 } UNION { ?l rdf:type ontology:Q1267889 } } } } . FILTER ( ?e < ?g ) }
Orio Ayamonte San Andrés y Sauces Les Dirouilles Plentzia Antarctic Treaty area Sopela Garafía El Sauzal Chantada Soutomaior Llanybydder Adra Vale of Glamorgan Donetsk Oblast Formentera San Miguel de Abona Puerto del Rosario Algeciras Santa Cruz de La Palma Val de San Vicente Pierres de Lecq Hondarribia Poblacion La Guancha Almuñécar Vallehermoso, Santa Cruz de Tenerife Chipiona Gorontalo Province Santa Eulària des Riu West Sumatra Pisocine Adeje Szychtory Manipulon Sant Joan de Labritja Zarautz San Roque Ceredigion Los Barrios Sentinela Betancuria Puerto Real El Pinar, Canary Islands Austria San Bartolomé, Las Palmas Papua Vilassar de Mar La Victoria de Acentejo Sorvilán Albuñol L'Alcúdia de Crespins Canada Agaete Loguingot Llançà Telde Central Java Province Sanlúcar de Barrameda Bakio Yaiza, Las Palmas La Oliva Lújar West Papua Jethou Valverde Sasiv Itamaracá Villa de Mazo Getxo Mataró Cadaqués Santiago del Teide Newport City Nuśmice Pájara San Fernando Denmark Cagting Moya, Las Palmas Santurtzi Nigrán El Ejido Casares Icod de los Vinos La Línea de la Concepción Nerja Looc, Mandaue Sinandigan Arucas, Las Palmas Roquetas de Mar Ribamontán al Mar Begur San Juan de la Rambla, Santa Cruz de Tenerife Miengo Gáldar, Las Palmas Arnuero La Frontera Tías, Las Palmas San Bartolomé de Tirajana Isla Cristina Biliran Barlovento, Santa Cruz de Tenerife Fuencaliente Santa María de Guía de Gran Canaria Antigua, Fuerteventura Comillas Conwy County Borough Algarrobo Trillo Arona, Tenerife Caparangasan Rota Arafo Malpica de Tajo Barreiros Conil de la Frontera Castelló d'Empúries Noja Torrox Manilva El Puente del Arzobispo Barbate Carmarthenshire Pangpang Orkney Islands El Rosario, Tenerife Sé City and County of Cardiff El Port de la Selva Kherson Oblast Fatima Tazacorte Santa Lucía de Tirajana Portbou Güímar Fasnia Tuineje, Las Palmas Bareyo Rincón de la Victoria Colera Aia Troitske Chiclana de la Frontera Mogán, Las Palmas Ruiloba Valdáliga Los Llanos de Aridane Vélez-Málaga Denbighshire Neath Port Talbot County Borough Roses Alajeró, Santa Cruz de Tenerife Estepona Barrika Brecqhou Liendo Puntagorda Humayhumay Tacoronte, Santa Cruz de Tenerife Granadilla de Abona La Orotava North Kalimantan Agüimes, Las Palmas Achila Calvià North Sumatra Province West Java Province Ingenio, Las Palmas Sant Josep de sa Talaia Alfoz de Lloredo Botlog Island Artenara, Las Palmas Zaporizhzhya Oblast Rubite Pasaia Guintabo-an Los Realejos Special Region of Yogyakarta Santa Úrsula Shetland Tinajo, Las Palmas Torremolinos Breña Alta Fuengirola Haría, Las Palmas Piélagos Bayas Island Uhrynów Vejer de la Frontera Flintshire L'Escala Hermigua Muskiz Teguise Arico Kalimantan Tengah Valle Gran Rey Salobreña Los Silos Odessa Oblast Piedralaves Lampung Province Malangabang Breña Baja Lepe Outer Hebrides Lemoiz Variazh Nînovîci, La Matanza de Acentejo Channel Islands Polopos Vasilivka La Aldea de San Nicolás Mykolaiv Oblast Tapon Torfaen County Borough Candelaria Cuya Monmouthshire Punta Umbría Ribadeo Fernando de Noronha Agulo Níjar Puntallana Gualchos Lake of the Woods, Ontario Juagdan Tijarafe Bridgend County Borough Buenavista del Norte Mañón Berja Enix, Spain
236
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action count
action filter_multi_types
action find
entity North Sulawesi Province
relation located next to body of water
type body of water
type waterway
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?e ) WHERE { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:body_of_water ) ( ontology:waterway ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:North_Sulawesi_Province property:located_next_to_body_of_water ?l . { { ?l rdf:type ontology:body_of_water } UNION { ?l rdf:type ontology:waterway } } } } . FILTER ( ?e < ?g ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relations with approximately 1 political territory ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?u ) WHERE { ?l property:P530 ?n . ?l rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1048835 } GROUP BY ?l } . FILTER ( ?u = 1 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?u ) WHERE { ?l property:diplomatic_relation ?n . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:political_territorial_entity } GROUP BY ?l } . FILTER ( ?u = 1 ) }
[]
designation for an administrative territorial entity political territorial entity
Q230 Q184 Q32
SYSTEM
Georgia, Belarus, Luxembourg
Q702 Q262 Q265 Q37 Q712 Q717 Q837 Q657 Q792 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q230 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q184 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[ANSWERS] have diplomatic relations with approximately 1 political territory
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?u ) WHERE { ?l property:P530 ?n . ?l rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1048835 } GROUP BY ?l } . FILTER ( ?u = 1 ) }
Federated States of Micronesia Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Chad El Salvador South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Georgia Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Belarus Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
Georgia, Belarus and Luxembourg have diplomatic relations with approximately 1 political territory
Georgia Belarus Luxembourg
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?u ) WHERE { ?l property:diplomatic_relation ?n . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:political_territorial_entity } GROUP BY ?l } . FILTER ( ?u = 1 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have tactful political relations with those administrative territories ?
(Q183,P530,Q230) (Q183,P530,Q184) (Q183,P530,Q32)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q230'] ['Q183', 'P530', 'Q184'] ['Q183', 'P530', 'Q32']
ASK WHERE { VALUES ( ?v ) { ( resource:Q702 ) ( resource:Q262 ) ( resource:Q265 ) } . resource:Q183 property:P530 ?v }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Georgia'] ['Germany', 'diplomatic relation', 'Belarus'] ['Germany', 'diplomatic relation', 'Luxembourg']
ASK WHERE { VALUES ( ?v ) { ( resource:Federated_States_of_Micronesia ) ( resource:Algeria ) ( resource:Uzbekistan ) } . resource:Germany property:diplomatic_relation ?v }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q230) (Q183,P530,Q184) (Q183,P530,Q32)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q230'] ['Q183', 'P530', 'Q184'] ['Q183', 'P530', 'Q32']
ASK WHERE { VALUES ( ?v ) { ( resource:Q702 ) ( resource:Q262 ) ( resource:Q265 ) } . resource:Q183 property:P530 ?v }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Georgia'] ['Germany', 'diplomatic relation', 'Belarus'] ['Germany', 'diplomatic relation', 'Luxembourg']
ASK WHERE { VALUES ( ?v ) { ( resource:Federated_States_of_Micronesia ) ( resource:Algeria ) ( resource:Uzbekistan ) } . resource:Germany property:diplomatic_relation ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q32
P1001
Q1292279
USER
Which political borders have control over the jurisdiction of Luxembourg ?
(c(Q1292279),P1001,Q32)
action filter_type
action find_reverse
entity Q32
relation P1001
type Q1292279
[{'concept': 'Q1292279'}, 'P1001', 'Q32']
SELECT DISTINCT ?l WHERE { ?l property:P1001 resource:Q32 . ?l rdf:type ontology:Q1292279 }
Luxembourg
action filter_type
action find_reverse
entity Luxembourg
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Luxembourg']
SELECT DISTINCT ?l WHERE { ?l property:applies_to_jurisdiction resource:Luxembourg . ?l rdf:type ontology:political_border }
[]
political border
Q3088839 Q3088912 Q3088708
SYSTEM
Belgium–Luxembourg border, France–Luxembourg border, Germany–Luxembourg border
Q3088839 Q3088912 Q3088708
(c(Q1292279),P1001,Q32)
action filter_type
action find_reverse
entity Q32
relation P1001
type Q1292279
[ANSWERS] have control over the jurisdiction of Luxembourg
[{'concept': 'Q1292279'}, 'P1001', 'Q32']
SELECT DISTINCT ?l WHERE { ?l property:P1001 resource:Q32 . ?l rdf:type ontology:Q1292279 }
Belgium–Luxembourg border France–Luxembourg border Germany–Luxembourg border
Belgium–Luxembourg border, France–Luxembourg border and Germany–Luxembourg border have control over the jurisdiction of Luxembourg
Belgium–Luxembourg border France–Luxembourg border Germany–Luxembourg border
action filter_type
action find_reverse
entity Luxembourg
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Luxembourg']
SELECT DISTINCT ?l WHERE { ?l property:applies_to_jurisdiction resource:Luxembourg . ?l rdf:type ontology:political_border }
[]