Simple Question (Direct)
Simple Question
Q286358
P21
Q290
USER
Which sex does Émile Pouget have ?
(Q286358,P21,c(Q290))
action filter_type
action find
entity Q286358
relation P21
type Q290
['Q286358', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q286358 property:P21 ?o }
Émile Pouget
action filter_type
action find
entity Émile Pouget
relation gender
type sex
['Émile Pouget', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Émile_Pouget property:gender ?o }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q286358,P21,c(Q290))
action filter_type
action find
entity Q286358
relation P21
type Q290
Émile Pouget has a [ANSWER]
['Q286358', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q286358 property:P21 ?o }
male
Émile Pouget has a male
male
action filter_type
action find
entity Émile Pouget
relation gender
type sex
['Émile Pouget', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Émile_Pouget property:gender ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q502895 Q7725634 Q6619679
USER
How many people inspired atmost 1 literary works and fictional humanoids ?
(c(Q7725634)|c(Q6619679),P941,c(Q502895))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
value 1
[[{'concept': 'Q7725634'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?n ) WHERE { { ?f property:P941 ?e . ?e rdf:type ontology:Q502895 . ?f rdf:type ontology:Q7725634 } UNION { ?f property:P941 ?e . ?e rdf:type ontology:Q502895 . ?f rdf:type ontology:Q6619679 } } GROUP BY ?e } . FILTER ( ?n <= 1 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type literary work
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
value 1
[[{'concept': 'literary work'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?n ) WHERE { { ?f property:inspired_by ?e . ?e rdf:type ontology:common_name . ?f rdf:type ontology:literary_work } UNION { ?f property:inspired_by ?e . ?e rdf:type ontology:common_name . ?f rdf:type ontology:fictional_humanoid } } GROUP BY ?e } . FILTER ( ?n <= 1 ) }
[]
common name literary work fictional humanoid
SYSTEM
210
Q207939 Q19738291 Q23380 Q3481979 Q40475 Q366380 Q334001 Q42229 Q5296307 Q19526 Q58801 Q129308 Q42305 Q558333 Q207447 Q560792 Q35548 Q1067550 Q2707376 Q180919 Q105719 Q205002 Q30755 Q37693 Q712955 Q302650 Q666171 Q531161 Q5383 Q8016 Q456270 Q127171 Q649801 Q43715 Q42786 Q5361548 Q312502 Q2864567 Q154545 Q5534471 Q2907490 Q1532260 Q892444 Q164823 Q184226 Q228024 Q182450 Q183221 Q3047248 Q2617543 Q711129 Q81960 Q5592 Q352 Q145746 Q921798 Q7836 Q5594 Q538158 Q3984877 Q3741372 Q1508997 Q116462 Q357786 Q1779 Q310476 Q183458 Q34618 Q151573 Q3560424 Q947525 Q156268 Q56016 Q458779 Q73089 Q182462 Q1353414 Q575668 Q171745 Q100937 Q5669 Q5577 Q395274 Q272068 Q2437296 Q9077 Q443540 Q966425 Q1281170 Q47551 Q357951 Q676001 Q46373 Q5675905 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q273079 Q299271 Q9061 Q849 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q22686 Q5545355 Q2121085 Q212531 Q5294232 Q463653 Q958996 Q483512 Q123075 Q835175 Q229432 Q123071 Q229437 Q44272 Q94002 Q49285 Q27429917 Q1744 Q1523 Q367447 Q5582 Q219640 Q5822 Q28493 Q5589 Q296 Q527735 Q352954 Q2181776 Q27429984 Q34013 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(Q7725634)|c(Q6619679),P941,c(Q502895))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
value 1
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?n ) WHERE { { ?f property:P941 ?e . ?e rdf:type ontology:Q502895 . ?f rdf:type ontology:Q7725634 } UNION { ?f property:P941 ?e . ?e rdf:type ontology:Q502895 . ?f rdf:type ontology:Q6619679 } } GROUP BY ?e } . FILTER ( ?n <= 1 ) }
Alexander McQueen Walter O'Brien Jean Auguste Dominique Ingres Sherri Stoner Joan Crawford Allan Kaprow Thomas Cole Mel Gibson Donna Atwood Maya Angelou Conrad Veidt John of England Richard I of England Buddy Hackett Jean-Baptiste-Siméon Chardin Allan Ramsay Paul Cézanne Charmaine Craig Dick Jones Natalie Wood Jean Harlow Joe Grant Auguste Rodin Paul Gauguin Bobby Driscoll Tate Donovan John Marin Elizabeth Kenny David Bowie Winston Churchill Eleanor Audley Jean-Honoré Fragonard Fred Moore Vlad Tepes Audrey Hepburn Elisabeth Scott Fiorello H. La Guardia Art Stevens Léopold Sédar Senghor Geoffrey Bowers Bo Gritz Al Hirschfeld Scott Weinger Girolamo Savonarola Gilles Deleuze John Smith George C. Scott Antoine Watteau Eddie Collins Marge Champion Terry-Thomas Robert Burns Michelangelo Adolf Hitler Joseph Sabu Dastagir René Magritte Antonello da Messina Balthasar Denner Jeffrey Stone Armand d'Athos Georges Manolescu Helen Gahagan Douglas Divine Louis Armstrong Fats Waller Andrea del Verrocchio Gustave Courbet Paul Signac Violet Gordon-Woodhouse Robert Gant Pierre Bourdieu Katharine Hepburn Kathryn Beaumont Gene Kelly Janet Gaynor Robert Gober Lionel Atwill Jeremy Irons Fred Astaire Sandro Botticelli Salvador Dalí Michael J. Fox Heather Angel Eric Larson Moses Ollie Johnston Charles Hubert Millevoye Frances Bavier Titian Mehran Karimi Nasseri Eugène Devéria Edgar Degas Andrés López Muñoz Spring Byington Tom Cruise Jennifer Connelly Christy Turlington Gala Dalí Jerome Kern Hans Holbein Félix González-Torres Jean Goujon Madge Blake Steve Carlson Cab Calloway Bahram V Karl Marx François Villon Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean Leonard Baskin John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens Donald Trump George Turberville Walter Catlett Kate Moss Donald DeFreeze Marie-Thérèse Walter Irene Bedard Isadora Duncan Robert Walser Bernard Levin Lucretia Arnold Böcklin Donatella Versace Michel Foucault Barbara Stanwyck Sally Ride Michelle Stacy Madonna Ramesses II Louis Prima Vincent van Gogh Vincent Price Piero della Francesca Ralph Fiennes Henri Matisse Claude Monet Cedric Hardwicke Carel Fabritius Paul Collins John Culhane Georges Seurat 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
210
action count
action atmost
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type literary work
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
value 1
[[{'concept': 'literary work'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?n ) WHERE { { ?f property:inspired_by ?e . ?e rdf:type ontology:common_name . ?f rdf:type ontology:literary_work } UNION { ?f property:inspired_by ?e . ?e rdf:type ontology:common_name . ?f rdf:type ontology:fictional_humanoid } } GROUP BY ?e } . FILTER ( ?n <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q286358
P20
Q20667921
USER
Where did Émile Pouget expire ?
(Q286358,P20,c(Q20667921))
action filter_type
action find
entity Q286358
relation P20
type Q20667921
['Q286358', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q286358 property:P20 ?h . ?h rdf:type ontology:Q20667921 }
Émile Pouget
action filter_type
action find
entity Émile Pouget
relation place of death
type type of french administrative division
['Émile Pouget', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Émile_Pouget property:place_of_death ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q205580
SYSTEM
Palaiseau
Q205580
(Q286358,P20,c(Q20667921))
action filter_type
action find
entity Q286358
relation P20
type Q20667921
Émile Pouget expired [ANSWER]
['Q286358', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q286358 property:P20 ?h . ?h rdf:type ontology:Q20667921 }
Palaiseau
Émile Pouget expired Palaiseau
Palaiseau
action filter_type
action find
entity Émile Pouget
relation place of death
type type of french administrative division
['Émile Pouget', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Émile_Pouget property:place_of_death ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q205580
P159
Q2385804
USER
Which educational institution has headquarters located at that french administrative division ?
(c(Q2385804),P159,Q205580)
action filter_type
action find_reverse
entity Q205580
relation P159
type Q2385804
[{'concept': 'Q2385804'}, 'P159', 'Q205580']
SELECT DISTINCT ?l WHERE { ?l property:P159 resource:Q205580 . ?l rdf:type ontology:Q2385804 }
Palaiseau
action filter_type
action find_reverse
entity Palaiseau
relation headquarters location
type educational institution
[{'concept': 'educational institution'}, 'headquarters location', 'Palaiseau']
SELECT DISTINCT ?l WHERE { ?l property:headquarters_location resource:Palaiseau . ?l rdf:type ontology:educational_institution }
[]
educational institution
Q898448
SYSTEM
École supérieure d'optique
Q898448
(c(Q2385804),P159,Q205580)
action filter_type
action find_reverse
entity Q205580
relation P159
type Q2385804
[ANSWER] has headquarters located at that french administrative division
[{'concept': 'Q2385804'}, 'P159', 'Q205580']
SELECT DISTINCT ?l WHERE { ?l property:P159 resource:Q205580 . ?l rdf:type ontology:Q2385804 }
École supérieure d'optique
École supérieure d'optique has headquarters located at that french administrative division
École supérieure d'optique
action filter_type
action find_reverse
entity Palaiseau
relation headquarters location
type educational institution
[{'concept': 'educational institution'}, 'headquarters location', 'Palaiseau']
SELECT DISTINCT ?l WHERE { ?l property:headquarters_location resource:Palaiseau . ?l rdf:type ontology:educational_institution }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q355304 Q1267889 Q20667921
USER
Which french administrative divisions are located next to approximately 1 watercourses and waterways ?
(c(Q20667921),P206,c(Q355304)|c(Q1267889))
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q355304
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
value 1
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) ?g WHERE { { ?m rdf:type ontology:Q355304 . ?g rdf:type ontology:Q20667921 . ?g property:P206 ?m } UNION { ?g property:P206 ?m . ?g rdf:type ontology:Q20667921 . ?m rdf:type ontology:Q1267889 } } GROUP BY ?g } . FILTER ( ?e = 1 ) }
action approx
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type watercourse
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) ?g WHERE { { ?m rdf:type ontology:watercourse . ?g rdf:type ontology:type_of_french_administrative_division . ?g property:located_next_to_body_of_water ?m } UNION { ?g property:located_next_to_body_of_water ?m . ?g rdf:type ontology:type_of_french_administrative_division . ?m rdf:type ontology:waterway } } GROUP BY ?g } . FILTER ( ?e = 1 ) }
[]
watercourse waterway type of french administrative division
Q30974 Q207253 Q273297
SYSTEM
Rouen, Mantes-la-Jolie, Ébreuil
Q224023 Q245066 Q30974 Q877744 Q1221458 Q236736 Q160199 Q207253 Q675318 Q683550 Q1221814 Q849165 Q453263 Q1073039 Q921780 Q1162138 Q849065 Q849023 Q1031980 Q333447 Q382048 Q738523 Q1164176 Q1075733 Q1217913 Q545015 Q662229 Q273297 Q284445
(c(Q20667921),P206,c(Q355304)|c(Q1267889))
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q355304
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
value 1
[ANSWERS] are located next to approximately 1 watercourses and waterways
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) ?g WHERE { { ?m rdf:type ontology:Q355304 . ?g rdf:type ontology:Q20667921 . ?g property:P206 ?m } UNION { ?g property:P206 ?m . ?g rdf:type ontology:Q20667921 . ?m rdf:type ontology:Q1267889 } } GROUP BY ?g } . FILTER ( ?e = 1 ) }
Penvénan Chouvigny Rouen Le Portel Saint-Quintin-sur-Sioule Vernon Cherbourg-Octeville Mantes-la-Jolie Bussières-et-Pruns Urville-Nacqueville Menat Saint-Bonnet-de-Rochefort Pleumeur-Bodou Poses Val-de-Reuil Isches Bègues Mazerier Escalles Aigueperse Tardinghen Saint-Gal-sur-Sioule Saint-Léonard La Roche-de-Glun Saint-Agoulin Chaptuzat Jenzat Ébreuil Pontgibaud
Rouen, Mantes-la-Jolie and Ébreuil are located next to approximately 1 watercourses and waterways
Rouen Mantes-la-Jolie Ébreuil
action approx
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type watercourse
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) ?g WHERE { { ?m rdf:type ontology:watercourse . ?g rdf:type ontology:type_of_french_administrative_division . ?g property:located_next_to_body_of_water ?m } UNION { ?g property:located_next_to_body_of_water ?m . ?g rdf:type ontology:type_of_french_administrative_division . ?m rdf:type ontology:waterway } } GROUP BY ?g } . FILTER ( ?e = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q174257
P138
Q20667921 Q55488 Q7946
USER
Which french administrative divisions are approximately the same number of railway stations and minerals named after as Beauvais ?
(c(Q55488)|c(Q7946),P138,c(Q20667921))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q55488
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q7946
action count
action filter_multi_types
action find_reverse
entity Q174257
relation P138
type Q55488
type Q7946
[[{'concept': 'Q55488'}, {'concept': 'Q7946'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?k ) WHERE { { ?b rdf:type ontology:Q20667921 . ?h rdf:type ontology:Q55488 . ?h property:P138 ?b } UNION { ?h property:P138 ?b . ?b rdf:type ontology:Q20667921 . ?h rdf:type ontology:Q7946 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P138 resource:Q174257 . { { ?u rdf:type ontology:Q55488 } UNION { ?u rdf:type ontology:Q7946 } } } } . FILTER ( ?k = ?e ) }
Beauvais
action approx
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type railway station
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type mineral
action count
action filter_multi_types
action find_reverse
entity Beauvais
relation named after
type railway station
type mineral
[[{'concept': 'railway station'}, {'concept': 'mineral'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?k ) WHERE { { ?b rdf:type ontology:type_of_french_administrative_division . ?h rdf:type ontology:railway_station . ?h property:named_after ?b } UNION { ?h property:named_after ?b . ?b rdf:type ontology:type_of_french_administrative_division . ?h rdf:type ontology:mineral } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:named_after resource:Beauvais . { { ?u rdf:type ontology:railway_station } UNION { ?u rdf:type ontology:mineral } } } } . FILTER ( ?k = ?e ) }
[]
type of french administrative division railway station mineral
Q12193 Q154748 Q42807
SYSTEM
Brest, Verdun, Nîmes
Q205551 Q3769 Q521432 Q201352 Q901416 Q253721 Q456477 Q132801 Q191119 Q1172337 Q236579 Q1075237 Q321067 Q840218 Q326687 Q181946 Q160199 Q817418 Q842942 Q183910 Q626987 Q633254 Q190974 Q196360 Q180871 Q679894 Q166997 Q269364 Q2426877 Q138648 Q1391563 Q212793 Q2961727 Q6454 Q48958 Q208812 Q9155 Q208943 Q3241770 Q160506 Q193880 Q167152 Q840597 Q329664 Q1241308 Q209069 Q273702 Q181285 Q126668 Q59221 Q903665 Q7158 Q616668 Q264778 Q174032 Q229339 Q212274 Q274327 Q28520 Q46135 Q205116 Q1476 Q154715 Q193899 Q30974 Q182744 Q459683 Q205632 Q623376 Q130994 Q217077 Q809414 Q213317 Q1073264 Q501933 Q694818 Q212987 Q474524 Q22640 Q181886 Q187796 Q193819 Q234270 Q238377 Q762471 Q234274 Q591741 Q729239 Q243866 Q474503 Q251731 Q126675 Q149419 Q1463559 Q134674 Q474555 Q636299 Q605656 Q174257 Q471685 Q165271 Q163108 Q154728 Q12193 Q142410 Q207632 Q476887 Q22739 Q189153 Q22636 Q575565 Q195098 Q18199435 Q625570 Q569751 Q181269 Q736370 Q1111541 Q203645 Q16532200 Q13917 Q208793 Q387460 Q1080717 Q285 Q648164 Q567956 Q204051 Q193877 Q781078 Q202565 Q784536 Q1105062 Q468229 Q174247 Q900479 Q185721 Q1066223 Q1165029 Q148787 Q45797 Q163795 Q530593 Q463304 Q44401 Q212966 Q34001 Q213288 Q470959 Q47465 Q14112 Q845975 Q689491 Q688262 Q404783 Q16121 Q22160 Q478105 Q238339 Q271649 Q70285 Q23047 Q989788 Q1100414 Q154748 Q840164 Q134346 Q165090 Q202378 Q6588 Q212959 Q541007 Q968881 Q18199186 Q822303 Q474773 Q666180 Q12130 Q13103683 Q453492 Q208798 Q22690 Q22380 Q207570 Q22754 Q42807 Q22756 Q208794 Q317975 Q233909 Q79815 Q177573 Q206493 Q1217220 Q188750 Q241940 Q3413275 Q370224 Q288 Q171545 Q204979 Q167141 Q193903 Q131329 Q256175 Q216966 Q917770 Q3413171 Q532352 Q83432 Q279681 Q372111 Q1014746 Q6548 Q199682 Q266958 Q6397 Q325946 Q6544 Q316891 Q3413267 Q1348608 Q837748 Q498869 Q40898 Q192548 Q93351 Q256004 Q1440685 Q272528 Q41139 Q191126 Q471902 Q3555080 Q399366 Q461413 Q207620 Q1056120 Q181306 Q3413163 Q475599 Q845191 Q130272 Q221683 Q990774 Q6616 Q182872 Q331232 Q1110622 Q273917 Q20892 Q193826 Q832386
(c(Q55488)|c(Q7946),P138,c(Q20667921))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q55488
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q7946
action count
action filter_multi_types
action find_reverse
entity Q174257
relation P138
type Q55488
type Q7946
[ANSWERS] are approximately the same number of railway stations and minerals named after as Beauvais
[[{'concept': 'Q55488'}, {'concept': 'Q7946'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?k ) WHERE { { ?b rdf:type ontology:Q20667921 . ?h rdf:type ontology:Q55488 . ?h property:P138 ?b } UNION { ?h property:P138 ?b . ?b rdf:type ontology:Q20667921 . ?h rdf:type ontology:Q7946 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P138 resource:Q174257 . { { ?u rdf:type ontology:Q55488 } UNION { ?u rdf:type ontology:Q7946 } } } } . FILTER ( ?k = ?e ) }
Mérignac French Guiana Saint-Marcellin Pontoise Lacaune Malakoff Chooz Albi Rambouillet Morogues Semur-en-Auxois Bailleau-Armenonville Nemours Barrême Banon Argenteuil Cherbourg-Octeville Joinville Bonneville-la-Louvet Bayeux Herment Morbier Oradour-sur-Glane Aisy-sur-Armançon Compiègne Aurignac Nevers Joué-lès-Tours Épinettes Maubeuge Coulmiers Charenton-le-Pont Chavignol Calais Neuilly-sur-Seine Corbeil-Essonnes Lagny-sur-Marne Bagnolet Lion Saint-Denis Chaumont Soissons Le Croisic Le Creusot Passy Domrémy-la-Pucelle Rocroi Cambrai Senlis Vaucouleurs Liverdun Oms Pouligny-Saint-Pierre Loudes Crozant Champigneulles Nogent-sur-Marne Saint-Maurice Abbeville Créteil Amboise Le Mans Montbéliard Fontenay-sous-Bois Rouen Saint-Quentin Sancerre Aubervilliers Volvic Colmar Camembert Thiézac Ambert Civry Taizé Sassenage Choisy-le-Roi Sainte-Maure-de-Touraine Thionville Châteaudun Orange Vincennes Montélimar Pont-Aven Ver-sur-Mer Manosque Goutte-d'Or Vimoutiers Olivet Valençay Coulommiers Chantilly Munster Villette Bayonne Castelnau-le-Lez Le Pradet Gèdre Beauvais Rambervillers Lens Saint-Malo Toul Brest Dreux Apt Roquefort-sur-Soulzon Hettange-Grande Saint-Cloud Wissembourg Batignolles Frouard Charonne Langeac Termignon Alençon Bonneval-sur-Arc Costaros Chalon-sur-Saône Bercy Île-de-France Saint-Omer Sainte-Foy-lès-Lyon Champagne Cognac Antrain Isigny-sur-Mer Bonifacio Ivry-sur-Seine Euville Coutances Auteuil Wattignies-la-Victoire Corneville-sur-Risle Mâcon Noisiel Bar-le-Duc Andrézieux-Bouthéon Le Pouliguen Ottmarsheim Dunkirk Valenciennes Chaource Fontaine-de-Vaucluse Cayenne Pompey Roubaix Montbrison Voves Aix-en-Provence Corsica Caussols Tautavel Champaubert Aiguillon Beaune Phalsbourg Rungis Azincourt Marcq-en-Barœul Étel Cahors Villersexel Taisnières-sur-Hon Verdun La Cadière-d'Azur Angoulême Chambéry Ouessant Périgueux Denain Le Malzieu-Ville Ternes Grenelle Saint-Nectaire Roquebrune-sur-Argens Maroilles Brittany La Chapelle Matignon Cavaillon Metz Créhange Thann Bitche Nîmes Spicheren Lunéville Châtelperron Alfortville Mulhouse Bagnoles Sèvres Laqueuille Saint-Estèphe Givet Gros-Caillou Noisy-le-Sec Tours Belfort Vézelay Laon Cergy Arras Barbizon Uzès Solutré-Pouilly Picpus La Villette Viroflay Thouars Romainville Cilaos Orléans Floirac Rolleboise Avignon Landerneau Libourne Montmorency Bel-Air Varize Brétigny-sur-Orge Brienne-le-Château Nancy Saint-Émilion Vichy Les Lilas Belleville Pauillac Melun Saintes Salles Vaugirard Chevreuse Pont-à-Mousson Meaux Décines-Charpieu Digne-les-Bains Clignancourt Gien Javel Chartres Audierne Laguiole Poitiers Fontainebleau Chablis La Bouille Berrias-et-Casteljau Le Mont-Saint-Michel Douai Selles-sur-Cher
Brest, Verdun and Nîmes are approximately the same number of railway stations and minerals named after as Beauvais
Brest Verdun Nîmes
action approx
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type railway station
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type mineral
action count
action filter_multi_types
action find_reverse
entity Beauvais
relation named after
type railway station
type mineral
[[{'concept': 'railway station'}, {'concept': 'mineral'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?k ) WHERE { { ?b rdf:type ontology:type_of_french_administrative_division . ?h rdf:type ontology:railway_station . ?h property:named_after ?b } UNION { ?h property:named_after ?b . ?b rdf:type ontology:type_of_french_administrative_division . ?h rdf:type ontology:mineral } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:named_after resource:Beauvais . { { ?u rdf:type ontology:railway_station } UNION { ?u rdf:type ontology:mineral } } } } . FILTER ( ?k = ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q16532200
P138
Q20667921 Q55488 Q7946
USER
And how about Bercy?
(c(Q55488)|c(Q7946),P138,c(Q20667921))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q55488
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q7946
action count
action filter_multi_types
action find_reverse
entity Q16532200
relation P138
type Q55488
type Q7946
[[{'concept': 'Q55488'}, {'concept': 'Q7946'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?h WHERE { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:Q7946 ) ( ontology:Q55488 ) } } GROUP BY ?h } . FILTER ( ?g = ?r ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { VALUES ( ?i ) { ( ontology:Q55488 ) ( ontology:Q7946 ) } . ?u rdf:type ?i } . ?u property:P138 resource:Q16532200 } } }
Bercy
action approx
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type railway station
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type mineral
action count
action filter_multi_types
action find_reverse
entity Bercy
relation named after
type railway station
type mineral
[[{'concept': 'railway station'}, {'concept': 'mineral'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?h WHERE { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:mineral ) ( ontology:railway_station ) } } GROUP BY ?h } . FILTER ( ?g = ?r ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { VALUES ( ?i ) { ( ontology:railway_station ) ( ontology:mineral ) } . ?u rdf:type ?i } . ?u property:named_after resource:Bercy } } }
[]
type of french administrative division railway station mineral
Q12193 Q154748 Q42807
SYSTEM
Brest, Verdun, Nîmes
Q205551 Q3769 Q521432 Q201352 Q901416 Q253721 Q456477 Q132801 Q191119 Q1172337 Q236579 Q1075237 Q321067 Q840218 Q326687 Q181946 Q160199 Q817418 Q842942 Q183910 Q626987 Q633254 Q190974 Q196360 Q180871 Q679894 Q166997 Q269364 Q2426877 Q138648 Q1391563 Q212793 Q2961727 Q6454 Q48958 Q208812 Q9155 Q208943 Q3241770 Q160506 Q193880 Q167152 Q840597 Q329664 Q1241308 Q209069 Q273702 Q181285 Q126668 Q59221 Q903665 Q7158 Q616668 Q264778 Q174032 Q229339 Q212274 Q274327 Q28520 Q46135 Q205116 Q1476 Q154715 Q193899 Q30974 Q182744 Q459683 Q205632 Q623376 Q130994 Q217077 Q809414 Q213317 Q1073264 Q501933 Q694818 Q212987 Q474524 Q22640 Q181886 Q187796 Q193819 Q234270 Q238377 Q762471 Q234274 Q591741 Q729239 Q243866 Q474503 Q251731 Q126675 Q149419 Q1463559 Q134674 Q474555 Q636299 Q605656 Q174257 Q471685 Q165271 Q163108 Q154728 Q12193 Q142410 Q207632 Q476887 Q22739 Q189153 Q22636 Q575565 Q195098 Q18199435 Q625570 Q569751 Q181269 Q736370 Q1111541 Q203645 Q16532200 Q13917 Q208793 Q387460 Q1080717 Q285 Q648164 Q567956 Q204051 Q193877 Q781078 Q202565 Q784536 Q1105062 Q468229 Q174247 Q900479 Q185721 Q1066223 Q1165029 Q148787 Q45797 Q163795 Q530593 Q463304 Q44401 Q212966 Q34001 Q213288 Q470959 Q47465 Q14112 Q845975 Q689491 Q688262 Q404783 Q16121 Q22160 Q478105 Q238339 Q271649 Q70285 Q23047 Q989788 Q1100414 Q154748 Q840164 Q134346 Q165090 Q202378 Q6588 Q212959 Q541007 Q968881 Q18199186 Q822303 Q474773 Q666180 Q12130 Q13103683 Q453492 Q208798 Q22690 Q22380 Q207570 Q22754 Q42807 Q22756 Q208794 Q317975 Q233909 Q79815 Q177573 Q206493 Q1217220 Q188750 Q241940 Q3413275 Q370224 Q288 Q171545 Q204979 Q167141 Q193903 Q131329 Q256175 Q216966 Q917770 Q3413171 Q532352 Q83432 Q279681 Q372111 Q1014746 Q6548 Q199682 Q266958 Q6397 Q325946 Q6544 Q316891 Q3413267 Q1348608 Q837748 Q498869 Q40898 Q192548 Q93351 Q256004 Q1440685 Q272528 Q41139 Q191126 Q471902 Q3555080 Q399366 Q461413 Q207620 Q1056120 Q181306 Q3413163 Q475599 Q845191 Q130272 Q221683 Q990774 Q6616 Q182872 Q331232 Q1110622 Q273917 Q20892 Q193826 Q832386
(c(Q55488)|c(Q7946),P138,c(Q20667921))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q55488
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q7946
action count
action filter_multi_types
action find_reverse
entity Q16532200
relation P138
type Q55488
type Q7946
[ANSWERS]
[[{'concept': 'Q55488'}, {'concept': 'Q7946'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?h WHERE { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:Q7946 ) ( ontology:Q55488 ) } } GROUP BY ?h } . FILTER ( ?g = ?r ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { VALUES ( ?i ) { ( ontology:Q55488 ) ( ontology:Q7946 ) } . ?u rdf:type ?i } . ?u property:P138 resource:Q16532200 } } }
Mérignac French Guiana Saint-Marcellin Pontoise Lacaune Malakoff Chooz Albi Rambouillet Morogues Semur-en-Auxois Bailleau-Armenonville Nemours Barrême Banon Argenteuil Cherbourg-Octeville Joinville Bonneville-la-Louvet Bayeux Herment Morbier Oradour-sur-Glane Aisy-sur-Armançon Compiègne Aurignac Nevers Joué-lès-Tours Épinettes Maubeuge Coulmiers Charenton-le-Pont Chavignol Calais Neuilly-sur-Seine Corbeil-Essonnes Lagny-sur-Marne Bagnolet Lion Saint-Denis Chaumont Soissons Le Croisic Le Creusot Passy Domrémy-la-Pucelle Rocroi Cambrai Senlis Vaucouleurs Liverdun Oms Pouligny-Saint-Pierre Loudes Crozant Champigneulles Nogent-sur-Marne Saint-Maurice Abbeville Créteil Amboise Le Mans Montbéliard Fontenay-sous-Bois Rouen Saint-Quentin Sancerre Aubervilliers Volvic Colmar Camembert Thiézac Ambert Civry Taizé Sassenage Choisy-le-Roi Sainte-Maure-de-Touraine Thionville Châteaudun Orange Vincennes Montélimar Pont-Aven Ver-sur-Mer Manosque Goutte-d'Or Vimoutiers Olivet Valençay Coulommiers Chantilly Munster Villette Bayonne Castelnau-le-Lez Le Pradet Gèdre Beauvais Rambervillers Lens Saint-Malo Toul Brest Dreux Apt Roquefort-sur-Soulzon Hettange-Grande Saint-Cloud Wissembourg Batignolles Frouard Charonne Langeac Termignon Alençon Bonneval-sur-Arc Costaros Chalon-sur-Saône Bercy Île-de-France Saint-Omer Sainte-Foy-lès-Lyon Champagne Cognac Antrain Isigny-sur-Mer Bonifacio Ivry-sur-Seine Euville Coutances Auteuil Wattignies-la-Victoire Corneville-sur-Risle Mâcon Noisiel Bar-le-Duc Andrézieux-Bouthéon Le Pouliguen Ottmarsheim Dunkirk Valenciennes Chaource Fontaine-de-Vaucluse Cayenne Pompey Roubaix Montbrison Voves Aix-en-Provence Corsica Caussols Tautavel Champaubert Aiguillon Beaune Phalsbourg Rungis Azincourt Marcq-en-Barœul Étel Cahors Villersexel Taisnières-sur-Hon Verdun La Cadière-d'Azur Angoulême Chambéry Ouessant Périgueux Denain Le Malzieu-Ville Ternes Grenelle Saint-Nectaire Roquebrune-sur-Argens Maroilles Brittany La Chapelle Matignon Cavaillon Metz Créhange Thann Bitche Nîmes Spicheren Lunéville Châtelperron Alfortville Mulhouse Bagnoles Sèvres Laqueuille Saint-Estèphe Givet Gros-Caillou Noisy-le-Sec Tours Belfort Vézelay Laon Cergy Arras Barbizon Uzès Solutré-Pouilly Picpus La Villette Viroflay Thouars Romainville Cilaos Orléans Floirac Rolleboise Avignon Landerneau Libourne Montmorency Bel-Air Varize Brétigny-sur-Orge Brienne-le-Château Nancy Saint-Émilion Vichy Les Lilas Belleville Pauillac Melun Saintes Salles Vaugirard Chevreuse Pont-à-Mousson Meaux Décines-Charpieu Digne-les-Bains Clignancourt Gien Javel Chartres Audierne Laguiole Poitiers Fontainebleau Chablis La Bouille Berrias-et-Casteljau Le Mont-Saint-Michel Douai Selles-sur-Cher
Brest Verdun Nîmes
action approx
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type railway station
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type mineral
action count
action filter_multi_types
action find_reverse
entity Bercy
relation named after
type railway station
type mineral
[[{'concept': 'railway station'}, {'concept': 'mineral'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?h WHERE { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:mineral ) ( ontology:railway_station ) } } GROUP BY ?h } . FILTER ( ?g = ?r ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { VALUES ( ?i ) { ( ontology:railway_station ) ( ontology:mineral ) } . ?u rdf:type ?i } . ?u property:named_after resource:Bercy } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q20667921 Q618779 Q83620
USER
Which french administrative divisions are namesakes of atmost 1 awards and thoroughfares ?
(c(Q618779)|c(Q83620),P138,c(Q20667921))
action atmost
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q618779
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q83620
value 1
[[{'concept': 'Q618779'}, {'concept': 'Q83620'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?n <= 1 ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?w WHERE { { ?s property:P138 ?w . ?w rdf:type ontology:Q20667921 . ?s rdf:type ontology:Q618779 } UNION { ?s property:P138 ?w . ?w rdf:type ontology:Q20667921 . ?s rdf:type ontology:Q83620 } } GROUP BY ?w } }
action atmost
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type award
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type thoroughfare
value 1
[[{'concept': 'award'}, {'concept': 'thoroughfare'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?n <= 1 ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?w WHERE { { ?s property:named_after ?w . ?w rdf:type ontology:type_of_french_administrative_division . ?s rdf:type ontology:award } UNION { ?s property:named_after ?w . ?w rdf:type ontology:type_of_french_administrative_division . ?s rdf:type ontology:thoroughfare } } GROUP BY ?w } }
[]
type of french administrative division award thoroughfare
Q12193 Q154748 Q42807
SYSTEM
Brest, Verdun, Nîmes
Q205551 Q3769 Q521432 Q201352 Q901416 Q253721 Q456477 Q132801 Q191119 Q1172337 Q236579 Q1075237 Q321067 Q840218 Q326687 Q181946 Q160199 Q817418 Q842942 Q183910 Q626987 Q633254 Q190974 Q196360 Q180871 Q679894 Q166997 Q1440905 Q269364 Q2426877 Q138648 Q1391563 Q212793 Q2961727 Q6454 Q48958 Q208812 Q9155 Q208943 Q3241770 Q160506 Q193880 Q167152 Q840597 Q329664 Q1241308 Q209069 Q273702 Q181285 Q126668 Q59221 Q903665 Q7158 Q616668 Q264778 Q174032 Q229339 Q135265 Q208889 Q212274 Q161884 Q274327 Q28520 Q46135 Q205116 Q1476 Q154715 Q193899 Q30974 Q182744 Q459683 Q205632 Q623376 Q130994 Q217077 Q809414 Q213317 Q1073264 Q501933 Q694818 Q212987 Q474524 Q22640 Q181886 Q187796 Q193819 Q234270 Q238377 Q762471 Q234274 Q591741 Q729239 Q243866 Q474503 Q251731 Q126675 Q149419 Q1463559 Q201982 Q134674 Q474555 Q636299 Q605656 Q174257 Q471685 Q154724 Q165271 Q163108 Q211604 Q154728 Q12193 Q142410 Q207632 Q476887 Q22739 Q189153 Q22636 Q575565 Q209086 Q195098 Q18199435 Q625570 Q569751 Q209005 Q181269 Q736370 Q1111541 Q203645 Q16532200 Q13917 Q241021 Q208793 Q387460 Q1080717 Q285 Q648164 Q567956 Q204051 Q193877 Q781078 Q202565 Q784536 Q1105062 Q468229 Q174247 Q900479 Q185721 Q1066223 Q1165029 Q148787 Q45797 Q163795 Q530593 Q463304 Q44401 Q212966 Q34001 Q213288 Q470959 Q47465 Q773318 Q14112 Q845975 Q689491 Q688262 Q404783 Q16121 Q22160 Q478105 Q238339 Q271649 Q70285 Q23047 Q989788 Q1100414 Q154748 Q840164 Q134346 Q165090 Q202378 Q6588 Q212959 Q541007 Q968881 Q18199186 Q822303 Q474773 Q666180 Q12130 Q13103683 Q453492 Q208798 Q22690 Q22380 Q207570 Q22754 Q42807 Q22756 Q208794 Q317975 Q233909 Q79815 Q177573 Q206493 Q1217220 Q188750 Q241940 Q18102 Q3413275 Q128466 Q370224 Q288 Q171545 Q204979 Q167141 Q193903 Q131329 Q256175 Q216966 Q917770 Q3413171 Q532352 Q83432 Q279681 Q372111 Q1014746 Q6548 Q175999 Q199682 Q266958 Q6397 Q325946 Q6544 Q316891 Q3413267 Q1348608 Q837748 Q498869 Q40898 Q192548 Q93351 Q1047171 Q256004 Q1440685 Q272528 Q41139 Q191126 Q471902 Q3555080 Q399366 Q461413 Q947091 Q207620 Q467132 Q135104 Q1056120 Q181306 Q3413163 Q475599 Q845191 Q130272 Q221683 Q990774 Q6616 Q182872 Q331232 Q1110622 Q273917 Q20892 Q193826 Q832386
(c(Q618779)|c(Q83620),P138,c(Q20667921))
action atmost
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q618779
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q83620
value 1
[ANSWERS] are namesakes of atmost 1 awards and thoroughfares
[[{'concept': 'Q618779'}, {'concept': 'Q83620'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?n <= 1 ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?w WHERE { { ?s property:P138 ?w . ?w rdf:type ontology:Q20667921 . ?s rdf:type ontology:Q618779 } UNION { ?s property:P138 ?w . ?w rdf:type ontology:Q20667921 . ?s rdf:type ontology:Q83620 } } GROUP BY ?w } }
Mérignac French Guiana Saint-Marcellin Pontoise Lacaune Malakoff Chooz Albi Rambouillet Morogues Semur-en-Auxois Bailleau-Armenonville Nemours Barrême Banon Argenteuil Cherbourg-Octeville Joinville Bonneville-la-Louvet Bayeux Herment Morbier Oradour-sur-Glane Aisy-sur-Armançon Compiègne Aurignac Nevers Ramonville-Saint-Agne Joué-lès-Tours Épinettes Maubeuge Coulmiers Charenton-le-Pont Chavignol Calais Neuilly-sur-Seine Corbeil-Essonnes Lagny-sur-Marne Bagnolet Lion Saint-Denis Chaumont Soissons Le Croisic Le Creusot Passy Domrémy-la-Pucelle Rocroi Cambrai Senlis Vaucouleurs Liverdun Oms Pouligny-Saint-Pierre Loudes Crozant Champigneulles Issy-les-Moulineaux Saint-Ouen Nogent-sur-Marne Bagneux Saint-Maurice Abbeville Créteil Amboise Le Mans Montbéliard Fontenay-sous-Bois Rouen Saint-Quentin Sancerre Aubervilliers Volvic Colmar Camembert Thiézac Ambert Civry Taizé Sassenage Choisy-le-Roi Sainte-Maure-de-Touraine Thionville Châteaudun Orange Vincennes Montélimar Pont-Aven Ver-sur-Mer Manosque Goutte-d'Or Vimoutiers Olivet Valençay Coulommiers Chantilly Munster Villette Clichy Bayonne Castelnau-le-Lez Le Pradet Gèdre Beauvais Rambervillers Bobigny Lens Saint-Malo Montparnasse Toul Brest Dreux Apt Roquefort-sur-Soulzon Hettange-Grande Saint-Cloud Wissembourg Batignolles Pantin Frouard Charonne Langeac Termignon Cachan Alençon Bonneval-sur-Arc Costaros Chalon-sur-Saône Bercy Île-de-France Montrouge Saint-Omer Sainte-Foy-lès-Lyon Champagne Cognac Antrain Isigny-sur-Mer Bonifacio Ivry-sur-Seine Euville Coutances Auteuil Wattignies-la-Victoire Corneville-sur-Risle Mâcon Noisiel Bar-le-Duc Andrézieux-Bouthéon Le Pouliguen Ottmarsheim Dunkirk Valenciennes Chaource Fontaine-de-Vaucluse Cayenne Pompey Roubaix Montbrison Voves Aix-en-Provence Bercy Corsica Caussols Tautavel Champaubert Aiguillon Beaune Phalsbourg Rungis Azincourt Marcq-en-Barœul Étel Cahors Villersexel Taisnières-sur-Hon Verdun La Cadière-d'Azur Angoulême Chambéry Ouessant Périgueux Denain Le Malzieu-Ville Ternes Grenelle Saint-Nectaire Roquebrune-sur-Argens Maroilles Brittany La Chapelle Matignon Cavaillon Metz Créhange Thann Bitche Nîmes Spicheren Lunéville Châtelperron Alfortville Mulhouse Bagnoles Sèvres Laqueuille Saint-Estèphe Givet Saint-Mandé Gros-Caillou Villejuif Noisy-le-Sec Tours Belfort Vézelay Laon Cergy Arras Barbizon Uzès Solutré-Pouilly Picpus La Villette Viroflay Thouars Romainville Cilaos Orléans Le Pré-Saint-Gervais Floirac Rolleboise Avignon Landerneau Libourne Montmorency Bel-Air Varize Brétigny-sur-Orge Brienne-le-Château Nancy Saint-Émilion Vichy Balma Les Lilas Belleville Pauillac Melun Saintes Salles Vaugirard Chevreuse Pont-à-Mousson Romanèche-Thorins Meaux Arcueil Le Kremlin-Bicêtre Décines-Charpieu Digne-les-Bains Clignancourt Gien Javel Chartres Audierne Laguiole Poitiers Fontainebleau Chablis La Bouille Berrias-et-Casteljau Le Mont-Saint-Michel Douai Selles-sur-Cher
Brest, Verdun and Nîmes are namesakes of atmost 1 awards and thoroughfares
Brest Verdun Nîmes
action atmost
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type award
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type thoroughfare
value 1
[[{'concept': 'award'}, {'concept': 'thoroughfare'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?n <= 1 ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?w WHERE { { ?s property:named_after ?w . ?w rdf:type ontology:type_of_french_administrative_division . ?s rdf:type ontology:award } UNION { ?s property:named_after ?w . ?w rdf:type ontology:type_of_french_administrative_division . ?s rdf:type ontology:thoroughfare } } GROUP BY ?w } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q154748
P937
Q502895
USER
Who have that french administrative division as their work location ?
(c(Q502895),P937,Q154748)
action filter_type
action find_reverse
entity Q154748
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q154748']
SELECT DISTINCT ?y WHERE { ?y property:P937 resource:Q154748 . ?y rdf:type ontology:Q502895 }
Verdun
action filter_type
action find_reverse
entity Verdun
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Verdun']
SELECT DISTINCT ?y WHERE { ?y property:work_location resource:Verdun . ?y rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q154748
SYSTEM
Did you mean Verdun ?
Q12193 Q154748 Q42807
(c(Q502895),P937,Q12193) (c(Q502895),P937,Q154748) (c(Q502895),P937,Q42807)
[ANSWER]
[{'concept': 'Q502895'}, 'P937', 'Q12193'] [{'concept': 'Q502895'}, 'P937', 'Q154748'] [{'concept': 'Q502895'}, 'P937', 'Q42807']
SELECT DISTINCT ?y WHERE { ?y property:P937 resource:Q154748 . ?y rdf:type ontology:Q502895 }
Brest Verdun Nîmes
Did you mean Verdun ?
Verdun
[{'concept': 'common name'}, 'work location', 'Brest'] [{'concept': 'common name'}, 'work location', 'Verdun'] [{'concept': 'common name'}, 'work location', 'Nîmes']
SELECT DISTINCT ?y WHERE { ?y property:work_location resource:Verdun . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P937,Q154748)
[{'concept': 'Q502895'}, 'P937', 'Q154748']
[{'concept': 'common name'}, 'work location', 'Verdun']
[]
Q63103 Q22750
SYSTEM
Walther von Lüttwitz, Maurice Genevoix
Q63103 Q22750
(c(Q502895),P937,Q154748)
action filter_type
action find_reverse
entity Q154748
relation P937
type Q502895
[ANSWERS] have that french administrative division as their work location
[{'concept': 'Q502895'}, 'P937', 'Q154748']
SELECT DISTINCT ?y WHERE { ?y property:P937 resource:Q154748 . ?y rdf:type ontology:Q502895 }
Walther von Lüttwitz Maurice Genevoix
Walther von Lüttwitz and Maurice Genevoix have that french administrative division as their work location
Walther von Lüttwitz Maurice Genevoix
action filter_type
action find_reverse
entity Verdun
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Verdun']
SELECT DISTINCT ?y WHERE { ?y property:work_location resource:Verdun . ?y rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21785 Q205580
P47
Q20667921
USER
Which french administrative divisions do Palaiseau or Charleville-sous-Bois share a border with ?
OR((c(Q20667921),P47,Q205580), (c(Q20667921),P47,Q21785))
action filter_type
action union
action find_reverse
entity Q205580
relation P47
action find_reverse
entity Q21785
relation P47
type Q20667921
{'OR': [[{'concept': 'Q20667921'}, 'P47', 'Q205580'], [{'concept': 'Q20667921'}, 'P47', 'Q21785']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q20667921 . { { ?s property:P47 resource:Q205580 } UNION { ?s property:P47 resource:Q21785 } } }
Charleville-sous-Bois Palaiseau
action filter_type
action union
action find_reverse
entity Palaiseau
relation shares border with
action find_reverse
entity Charleville-sous-Bois
relation shares border with
type type of french administrative division
{'OR': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Palaiseau'], [{'concept': 'type of french administrative division'}, 'shares border with', 'Charleville-sous-Bois']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:type_of_french_administrative_division . { { ?s property:shares_border_with resource:Palaiseau } UNION { ?s property:shares_border_with resource:Charleville-sous-Bois } } }
[]
type of french administrative division
Q274249 Q22309 Q1166034 Q21757 Q372281 Q262710 Q21580 Q22345 Q21871 Q22003
SYSTEM
Some of them are Massy, Vry, Igny, Burtoncourt, Orsay, Saclay, Condé-Northen, Guinkirchen, Hayes, Hinckange
Q274249 Q21871 Q1142878 Q21580 Q372281 Q22345 Q1166034 Q22930 Q661059 Q262710 Q21757 Q22309 Q22003 Q828625
OR((c(Q20667921),P47,Q205580), (c(Q20667921),P47,Q21785))
action filter_type
action union
action find_reverse
entity Q205580
relation P47
action find_reverse
entity Q21785
relation P47
type Q20667921
[ANSWERS] Palaiseau or Charleville-sous-Bois share a border with
{'OR': [[{'concept': 'Q20667921'}, 'P47', 'Q205580'], [{'concept': 'Q20667921'}, 'P47', 'Q21785']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q20667921 . { { ?s property:P47 resource:Q205580 } UNION { ?s property:P47 resource:Q21785 } } }
Massy Hayes Champlan Condé-Northen Orsay Guinkirchen Igny Saint-Hubert Vauhallan Saclay Burtoncourt Vry Hinckange Villebon-sur-Yvette
Massy, Vry, Igny, Burtoncourt, Orsay, Saclay, Condé-Northen, Guinkirchen, Hayes and Hinckange Palaiseau or Charleville-sous-Bois share a border with
Massy Vry Igny Burtoncourt Orsay Saclay Condé-Northen Guinkirchen Hayes Hinckange
action filter_type
action union
action find_reverse
entity Palaiseau
relation shares border with
action find_reverse
entity Charleville-sous-Bois
relation shares border with
type type of french administrative division
{'OR': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Palaiseau'], [{'concept': 'type of french administrative division'}, 'shares border with', 'Charleville-sous-Bois']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:type_of_french_administrative_division . { { ?s property:shares_border_with resource:Palaiseau } UNION { ?s property:shares_border_with resource:Charleville-sous-Bois } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q372281
P36
Q20667921
USER
Which french administrative division has Orsay as its administrative centre ?
(c(Q20667921),P36,Q372281)
action filter_type
action find_reverse
entity Q372281
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q372281']
SELECT DISTINCT ?b WHERE { ?b property:P36 resource:Q372281 . ?b rdf:type ontology:Q20667921 }
Orsay
action filter_type
action find_reverse
entity Orsay
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Orsay']
SELECT DISTINCT ?b WHERE { ?b property:capital resource:Orsay . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1726596
SYSTEM
canton of Orsay
Q1726596
(c(Q20667921),P36,Q372281)
action filter_type
action find_reverse
entity Q372281
relation P36
type Q20667921
The [ANSWER] has Orsay as its administrative centre
[{'concept': 'Q20667921'}, 'P36', 'Q372281']
SELECT DISTINCT ?b WHERE { ?b property:P36 resource:Q372281 . ?b rdf:type ontology:Q20667921 }
canton of Orsay
The canton of Orsay has Orsay as its administrative centre
canton of Orsay
action filter_type
action find_reverse
entity Orsay
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Orsay']
SELECT DISTINCT ?b WHERE { ?b property:capital resource:Orsay . ?b rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q372281
P19
Q502895
USER
Who were born at Orsay ?
(c(Q502895),P19,Q372281)
action filter_type
action find_reverse
entity Q372281
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q372281']
SELECT DISTINCT ?d WHERE { ?d property:P19 resource:Q372281 . ?d rdf:type ontology:Q502895 }
Orsay
action filter_type
action find_reverse
entity Orsay
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Orsay']
SELECT DISTINCT ?d WHERE { ?d property:place_of_birth resource:Orsay . ?d rdf:type ontology:common_name }
[]
common name
Q605554 Q354919 Q577141
SYSTEM
Mickaël Antoine-Curier, Guy Demel, Sega Keita
Q2871987 Q15969003 Q605554 Q3419496 Q3286471 Q16146594 Q577141 Q3051105 Q20240978 Q3216361 Q2849870 Q959296 Q354919 Q3517089 Q15385024 Q3167017 Q11779513 Q597033 Q19945082 Q3368929 Q3539655
(c(Q502895),P19,Q372281)
action filter_type
action find_reverse
entity Q372281
relation P19
type Q502895
[ANSWERS] were born at Orsay
[{'concept': 'Q502895'}, 'P19', 'Q372281']
SELECT DISTINCT ?d WHERE { ?d property:P19 resource:Q372281 . ?d rdf:type ontology:Q502895 }
Aurélie Boullet Amédée Desjobert Mickaël Antoine-Curier Raphaël Neal Manon Pourtalet Adam Allouche Sega Keita Elisabeth de Fresquet Édouard Cour Laina Badiane Angélique Spincer Moussa Badiane Guy Demel Teddy Venel Amandine Chaignot Jean-Louis Viard Michèle Demys Arnaud Assoumani Hafid Aboulahyane Patrice Duvic Tristan Waleckx
Mickaël Antoine-Curier, Guy Demel and Sega Keita were born at Orsay
Mickaël Antoine-Curier Guy Demel Sega Keita
action filter_type
action find_reverse
entity Orsay
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Orsay']
SELECT DISTINCT ?d WHERE { ?d property:place_of_birth resource:Orsay . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q372281
P190
Q56061
USER
Which administrative territories are partner towns of Orsay ?
(Q372281,P190,c(Q56061))
action filter_type
action find
entity Q372281
relation P190
type Q56061
['Q372281', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q372281 property:P190 ?j . ?j rdf:type ontology:Q56061 }
Orsay
action filter_type
action find
entity Orsay
relation sister city
type administrative territorial entity
['Orsay', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Orsay property:sister_city ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q657290 Q14929
SYSTEM
Dogondoutchi, Kempen
Q657290 Q14929
(Q372281,P190,c(Q56061))
action filter_type
action find
entity Q372281
relation P190
type Q56061
[ANSWERS] are partner towns of Orsay
['Q372281', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q372281 property:P190 ?j . ?j rdf:type ontology:Q56061 }
Dogondoutchi Kempen
Dogondoutchi and Kempen are partner towns of Orsay
Dogondoutchi Kempen
action filter_type
action find
entity Orsay
relation sister city
type administrative territorial entity
['Orsay', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Orsay property:sister_city ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q657290 Q14929
P190
Q20667921
USER
Which french administrative divisions are twin cities of those administrative territories ?
(Q657290,P190,c(Q20667921)) (Q14929,P190,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P190
type Q20667921
['Q657290', 'P190', {'concept': 'Q20667921'}] ['Q14929', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q20667921 . ?r property:P190 ?g . VALUES ( ?r ) { ( resource:Q657290 ) ( resource:Q14929 ) } }
Dogondoutchi Kempen
action filter_type
action find
entity prev_answer
relation sister city
type type of french administrative division
['Dogondoutchi', 'sister city', {'concept': 'type of french administrative division'}] ['Kempen', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:type_of_french_administrative_division . ?r property:sister_city ?g . VALUES ( ?r ) { ( resource:Dogondoutchi ) ( resource:Kempen ) } }
[]
type of french administrative division
Q372281 Q372281 Q979699
SYSTEM
Orsay for 1st, 2nd, Wambrechies for 3rd
Q372281 Q372281 Q979699
(Q657290,P190,c(Q20667921)) (Q14929,P190,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P190
type Q20667921
[ANSWERS]
['Q657290', 'P190', {'concept': 'Q20667921'}] ['Q14929', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q20667921 . ?r property:P190 ?g . VALUES ( ?r ) { ( resource:Q657290 ) ( resource:Q14929 ) } }
Orsay Orsay Wambrechies
Orsay, Orsay and Wambrechies are twin cities of those administrative territories
Orsay Orsay Wambrechies
action filter_type
action find
entity prev_answer
relation sister city
type type of french administrative division
['Dogondoutchi', 'sister city', {'concept': 'type of french administrative division'}] ['Kempen', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:type_of_french_administrative_division . ?r property:sister_city ?g . VALUES ( ?r ) { ( resource:Dogondoutchi ) ( resource:Kempen ) } }
[]