Simple Question (Direct)
Simple Question
Q3111659
P19
Q20667921
USER
Which french administrative division was Goulven Morvan born in ?
(Q3111659,P19,c(Q20667921))
action filter_type
action find
entity Q3111659
relation P19
type Q20667921
['Q3111659', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q3111659 property:P19 ?s . ?s rdf:type ontology:Q20667921 }
Goulven Morvan
action filter_type
action find
entity Goulven Morvan
relation place of birth
type type of french administrative division
['Goulven Morvan', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Goulven_Morvan property:place_of_birth ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q383345
SYSTEM
La Forest-Landerneau
Q383345
(Q3111659,P19,c(Q20667921))
action filter_type
action find
entity Q3111659
relation P19
type Q20667921
Goulven Morvan was born in [ANSWER]
['Q3111659', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q3111659 property:P19 ?s . ?s rdf:type ontology:Q20667921 }
La Forest-Landerneau
Goulven Morvan was born in La Forest-Landerneau
La Forest-Landerneau
action filter_type
action find
entity Goulven Morvan
relation place of birth
type type of french administrative division
['Goulven Morvan', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Goulven_Morvan property:place_of_birth ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q383345
P47
Q20667921
USER
Which french administrative divisions are adjacent to that one ?
(Q383345,P47,c(Q20667921))
action filter_type
action find
entity Q383345
relation P47
type Q20667921
['Q383345', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q383345 property:P47 ?v . ?v rdf:type ontology:Q20667921 }
La Forest-Landerneau
action filter_type
action find
entity La Forest-Landerneau
relation shares border with
type type of french administrative division
['La Forest-Landerneau', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:La_Forest-Landerneau property:shares_border_with ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q325946 Q226617 Q325889
SYSTEM
Landerneau, Saint-Divy, Guipavas
Q325946 Q226617 Q325889
(Q383345,P47,c(Q20667921))
action filter_type
action find
entity Q383345
relation P47
type Q20667921
[ANSWERS] are adjacent to that one
['Q383345', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q383345 property:P47 ?v . ?v rdf:type ontology:Q20667921 }
Landerneau Saint-Divy Guipavas
Landerneau, Saint-Divy and Guipavas are adjacent to that one
Landerneau Saint-Divy Guipavas
action filter_type
action find
entity La Forest-Landerneau
relation shares border with
type type of french administrative division
['La Forest-Landerneau', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:La_Forest-Landerneau property:shares_border_with ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q355304 Q1267889 Q20667921
USER
Which french administrative divisions are situated in the neighbourhood of exactly 1 watercourses or waterways ?
(c(Q20667921),P206,c(Q355304)|c(Q1267889))
action equal
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 ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?y ) WHERE { { ?c property:P206 ?t . ?c rdf:type ontology:Q20667921 . ?t rdf:type ontology:Q355304 } UNION { ?c property:P206 ?t . ?c rdf:type ontology:Q20667921 . ?t rdf:type ontology:Q1267889 } } GROUP BY ?c } . FILTER ( ?y = 1 ) }
action equal
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 ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?y ) WHERE { { ?c property:located_next_to_body_of_water ?t . ?c rdf:type ontology:type_of_french_administrative_division . ?t rdf:type ontology:watercourse } UNION { ?c property:located_next_to_body_of_water ?t . ?c rdf:type ontology:type_of_french_administrative_division . ?t rdf:type ontology:waterway } } GROUP BY ?c } . FILTER ( ?y = 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 equal
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 situated in the neighbourhood of exactly 1 watercourses or waterways
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?y ) WHERE { { ?c property:P206 ?t . ?c rdf:type ontology:Q20667921 . ?t rdf:type ontology:Q355304 } UNION { ?c property:P206 ?t . ?c rdf:type ontology:Q20667921 . ?t rdf:type ontology:Q1267889 } } GROUP BY ?c } . FILTER ( ?y = 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 situated in the neighbourhood of exactly 1 watercourses or waterways
Rouen Mantes-la-Jolie Ébreuil
action equal
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 ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?y ) WHERE { { ?c property:located_next_to_body_of_water ?t . ?c rdf:type ontology:type_of_french_administrative_division . ?t rdf:type ontology:watercourse } UNION { ?c property:located_next_to_body_of_water ?t . ?c rdf:type ontology:type_of_french_administrative_division . ?t rdf:type ontology:waterway } } GROUP BY ?c } . FILTER ( ?y = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q12130
P138
Q20667921 Q22698 Q2235308
USER
Which french administrative divisions are less number of parks and ship types named after than Brittany ?
(c(Q22698)|c(Q2235308),P138,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q22698
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q12130
relation P138
type Q22698
type Q2235308
[[{'concept': 'Q22698'}, {'concept': 'Q2235308'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?i WHERE { { ?l rdf:type ontology:Q22698 . ?i rdf:type ontology:Q20667921 . ?l property:P138 ?i } UNION { ?l rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q20667921 . ?l property:P138 ?i } } GROUP BY ?i } . FILTER ( ?h < ?u ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P138 resource:Q12130 . { ?n rdf:type ?k . VALUES ( ?k ) { ( ontology:Q22698 ) ( ontology:Q2235308 ) } } } } }
Brittany
action less
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type park
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type ship type
action count
action filter_multi_types
action find_reverse
entity Brittany
relation named after
type park
type ship type
[[{'concept': 'park'}, {'concept': 'ship type'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?i WHERE { { ?l rdf:type ontology:park . ?i rdf:type ontology:type_of_french_administrative_division . ?l property:named_after ?i } UNION { ?l rdf:type ontology:ship_type . ?i rdf:type ontology:type_of_french_administrative_division . ?l property:named_after ?i } } GROUP BY ?i } . FILTER ( ?h < ?u ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:named_after resource:Brittany . { ?n rdf:type ?k . VALUES ( ?k ) { ( ontology:park ) ( ontology:ship_type ) } } } } }
[]
type of french administrative division park ship type
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 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 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 Q209086 Q195098 Q18199435 Q625570 Q569751 Q209005 Q181269 Q736370 Q1111541 Q203645 Q16532200 Q241021 Q208793 Q387460 Q1080717 Q285 Q648164 Q567956 Q204051 Q193877 Q781078 Q202565 Q784536 Q1105062 Q468229 Q174247 Q900479 Q185721 Q1066223 Q1165029 Q148787 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 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 Q990774 Q6616 Q182872 Q331232 Q1110622 Q273917 Q20892 Q193826 Q832386
(c(Q22698)|c(Q2235308),P138,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q22698
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q12130
relation P138
type Q22698
type Q2235308
[ANSWERS] are less number of parks and ship types named after than Brittany
[[{'concept': 'Q22698'}, {'concept': 'Q2235308'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?i WHERE { { ?l rdf:type ontology:Q22698 . ?i rdf:type ontology:Q20667921 . ?l property:P138 ?i } UNION { ?l rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q20667921 . ?l property:P138 ?i } } GROUP BY ?i } . FILTER ( ?h < ?u ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P138 resource:Q12130 . { ?n rdf:type ?k . VALUES ( ?k ) { ( ontology:Q22698 ) ( ontology:Q2235308 ) } } } } }
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 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 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 Pantin Frouard Charonne Langeac Termignon Cachan Alençon Bonneval-sur-Arc Costaros Chalon-sur-Saône Bercy 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 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 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 Laguiole Poitiers Fontainebleau Chablis La Bouille Berrias-et-Casteljau Le Mont-Saint-Michel Douai Selles-sur-Cher
Brest, Verdun and Nîmes are less number of parks and ship types named after than Brittany
Brest Verdun Nîmes
action less
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type park
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type ship type
action count
action filter_multi_types
action find_reverse
entity Brittany
relation named after
type park
type ship type
[[{'concept': 'park'}, {'concept': 'ship type'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?i WHERE { { ?l rdf:type ontology:park . ?i rdf:type ontology:type_of_french_administrative_division . ?l property:named_after ?i } UNION { ?l rdf:type ontology:ship_type . ?i rdf:type ontology:type_of_french_administrative_division . ?l property:named_after ?i } } GROUP BY ?i } . FILTER ( ?h < ?u ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:named_after resource:Brittany . { ?n rdf:type ?k . VALUES ( ?k ) { ( ontology:park ) ( ontology:ship_type ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q45797
P138
Q20667921 Q22698 Q2235308
USER
And also tell me about Dunkirk?
(c(Q22698)|c(Q2235308),P138,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q22698
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q45797
relation P138
type Q22698
type Q2235308
[[{'concept': 'Q22698'}, {'concept': 'Q2235308'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P138 resource:Q45797 . { VALUES ( ?g ) { ( ontology:Q22698 ) ( ontology:Q2235308 ) } . ?y rdf:type ?g } } } . FILTER ( ?s < ?r ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?i WHERE { { ?x property:P138 ?i . ?i rdf:type ontology:Q20667921 . ?x rdf:type ontology:Q22698 } UNION { ?x property:P138 ?i . ?i rdf:type ontology:Q20667921 . ?x rdf:type ontology:Q2235308 } } GROUP BY ?i } }
Dunkirk
action less
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type park
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type ship type
action count
action filter_multi_types
action find_reverse
entity Dunkirk
relation named after
type park
type ship type
[[{'concept': 'park'}, {'concept': 'ship type'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:named_after resource:Dunkirk . { VALUES ( ?g ) { ( ontology:park ) ( ontology:ship_type ) } . ?y rdf:type ?g } } } . FILTER ( ?s < ?r ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?i WHERE { { ?x property:named_after ?i . ?i rdf:type ontology:type_of_french_administrative_division . ?x rdf:type ontology:park } UNION { ?x property:named_after ?i . ?i rdf:type ontology:type_of_french_administrative_division . ?x rdf:type ontology:ship_type } } GROUP BY ?i } }
[]
type of french administrative division park ship type
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 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 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 Q209086 Q195098 Q18199435 Q625570 Q569751 Q209005 Q181269 Q736370 Q1111541 Q203645 Q16532200 Q241021 Q208793 Q387460 Q1080717 Q285 Q648164 Q567956 Q204051 Q193877 Q781078 Q202565 Q784536 Q1105062 Q468229 Q174247 Q900479 Q185721 Q1066223 Q1165029 Q148787 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 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 Q990774 Q6616 Q182872 Q331232 Q1110622 Q273917 Q20892 Q193826 Q832386
(c(Q22698)|c(Q2235308),P138,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q22698
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q45797
relation P138
type Q22698
type Q2235308
[ANSWERS]
[[{'concept': 'Q22698'}, {'concept': 'Q2235308'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P138 resource:Q45797 . { VALUES ( ?g ) { ( ontology:Q22698 ) ( ontology:Q2235308 ) } . ?y rdf:type ?g } } } . FILTER ( ?s < ?r ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?i WHERE { { ?x property:P138 ?i . ?i rdf:type ontology:Q20667921 . ?x rdf:type ontology:Q22698 } UNION { ?x property:P138 ?i . ?i rdf:type ontology:Q20667921 . ?x rdf:type ontology:Q2235308 } } GROUP BY ?i } }
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 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 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 Pantin Frouard Charonne Langeac Termignon Cachan Alençon Bonneval-sur-Arc Costaros Chalon-sur-Saône Bercy 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 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 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 Laguiole Poitiers Fontainebleau Chablis La Bouille Berrias-et-Casteljau Le Mont-Saint-Michel Douai Selles-sur-Cher
Brest Verdun Nîmes
action less
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type park
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type ship type
action count
action filter_multi_types
action find_reverse
entity Dunkirk
relation named after
type park
type ship type
[[{'concept': 'park'}, {'concept': 'ship type'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:named_after resource:Dunkirk . { VALUES ( ?g ) { ( ontology:park ) ( ontology:ship_type ) } . ?y rdf:type ?g } } } . FILTER ( ?s < ?r ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?i WHERE { { ?x property:named_after ?i . ?i rdf:type ontology:type_of_french_administrative_division . ?x rdf:type ontology:park } UNION { ?x property:named_after ?i . ?i rdf:type ontology:type_of_french_administrative_division . ?x rdf:type ontology:ship_type } } GROUP BY ?i } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16143867 Q3111659
P106
Q12737077
USER
Which occupations are the job of Goulven Morvan or Adriano Tomás Custodio Mendes ?
OR((Q3111659,P106,c(Q12737077)), (Q16143867,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3111659
relation P106
action find
entity Q16143867
relation P106
type Q12737077
{'OR': [['Q3111659', 'P106', {'concept': 'Q12737077'}], ['Q16143867', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?h ) { ( resource:Q3111659 ) ( resource:Q16143867 ) } . ?h property:P106 ?q } . ?q rdf:type ontology:Q12737077 }
Adriano Tomás Custodio Mendes Goulven Morvan
action filter_type
action union
action find
entity Goulven Morvan
relation occupation
action find
entity Adriano Tomás Custodio Mendes
relation occupation
type occupation
{'OR': [['Goulven Morvan', 'occupation', {'concept': 'occupation'}], ['Adriano Tomás Custodio Mendes', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?h ) { ( resource:Goulven_Morvan ) ( resource:Adriano_Tomás_Custodio_Mendes ) } . ?h property:occupation ?q } . ?q rdf:type ontology:occupation }
[]
occupation
Q250867 Q937857
SYSTEM
Catholic priest, association football player
Q250867 Q937857
OR((Q3111659,P106,c(Q12737077)), (Q16143867,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3111659
relation P106
action find
entity Q16143867
relation P106
type Q12737077
[ANSWERS] are the job of Goulven Morvan or Adriano Tomás Custodio Mendes
{'OR': [['Q3111659', 'P106', {'concept': 'Q12737077'}], ['Q16143867', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?h ) { ( resource:Q3111659 ) ( resource:Q16143867 ) } . ?h property:P106 ?q } . ?q rdf:type ontology:Q12737077 }
Catholic priest association football player
Catholic priest and association football player are the job of Goulven Morvan or Adriano Tomás Custodio Mendes
Catholic priest association football player
action filter_type
action union
action find
entity Goulven Morvan
relation occupation
action find
entity Adriano Tomás Custodio Mendes
relation occupation
type occupation
{'OR': [['Goulven Morvan', 'occupation', {'concept': 'occupation'}], ['Adriano Tomás Custodio Mendes', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?h ) { ( resource:Goulven_Morvan ) ( resource:Adriano_Tomás_Custodio_Mendes ) } . ?h property:occupation ?q } . ?q rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q611954 Q226617
P47
Q20667921
USER
Which french administrative divisions are next to the border of Saint-Divy or Saint-Georges-des-Coteaux ?
OR((c(Q20667921),P47,Q226617), (c(Q20667921),P47,Q611954))
action filter_type
action union
action find_reverse
entity Q226617
relation P47
action find_reverse
entity Q611954
relation P47
type Q20667921
{'OR': [[{'concept': 'Q20667921'}, 'P47', 'Q226617'], [{'concept': 'Q20667921'}, 'P47', 'Q611954']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q20667921 . { { ?d property:P47 resource:Q226617 } UNION { ?d property:P47 resource:Q611954 } } }
Saint-Georges-des-Coteaux Saint-Divy
action filter_type
action union
action find_reverse
entity Saint-Divy
relation shares border with
action find_reverse
entity Saint-Georges-des-Coteaux
relation shares border with
type type of french administrative division
{'OR': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Divy'], [{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Georges-des-Coteaux']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_french_administrative_division . { { ?d property:shares_border_with resource:Saint-Divy } UNION { ?d property:shares_border_with resource:Saint-Georges-des-Coteaux } } }
[]
type of french administrative division
Q660252 Q383345 Q1146121 Q210529 Q273758 Q474743 Q191126 Q1061528 Q325946 Q325889
SYSTEM
Nieul-lès-Saintes, La Forest-Landerneau, Plassay, Saint-Thonan, Écurat, Kersaint-Plabennec, Saintes, Les Essards, Landerneau, Guipavas
Q660252 Q383345 Q1146121 Q210529 Q273758 Q474743 Q191126 Q1061528 Q325946 Q325889
OR((c(Q20667921),P47,Q226617), (c(Q20667921),P47,Q611954))
action filter_type
action union
action find_reverse
entity Q226617
relation P47
action find_reverse
entity Q611954
relation P47
type Q20667921
[ANSWERS] are next to the border of Saint-Divy or Saint-Georges-des-Coteaux
{'OR': [[{'concept': 'Q20667921'}, 'P47', 'Q226617'], [{'concept': 'Q20667921'}, 'P47', 'Q611954']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q20667921 . { { ?d property:P47 resource:Q226617 } UNION { ?d property:P47 resource:Q611954 } } }
Nieul-lès-Saintes La Forest-Landerneau Plassay Saint-Thonan Écurat Kersaint-Plabennec Saintes Les Essards Landerneau Guipavas
Nieul-lès-Saintes, La Forest-Landerneau, Plassay, Saint-Thonan, Écurat, Kersaint-Plabennec, Saintes, Les Essards, Landerneau and Guipavas are next to the border of Saint-Divy or Saint-Georges-des-Coteaux
Nieul-lès-Saintes La Forest-Landerneau Plassay Saint-Thonan Écurat Kersaint-Plabennec Saintes Les Essards Landerneau Guipavas
action filter_type
action union
action find_reverse
entity Saint-Divy
relation shares border with
action find_reverse
entity Saint-Georges-des-Coteaux
relation shares border with
type type of french administrative division
{'OR': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Divy'], [{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Georges-des-Coteaux']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_french_administrative_division . { { ?d property:shares_border_with resource:Saint-Divy } UNION { ?d property:shares_border_with resource:Saint-Georges-des-Coteaux } } }
[]