Simple Question (Direct)
Simple Question
Q470574
P47
Q20667921
USER
Which french administrative divisions have a shared border with Montauban-sur-l'Ouvèze ?
(Q470574,P47,c(Q20667921))
action filter_type
action find
entity Q470574
relation P47
type Q20667921
['Q470574', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q470574 property:P47 ?w . ?w rdf:type ontology:Q20667921 }
Montauban-sur-l'Ouvèze
action filter_type
action find
entity Montauban-sur-l'Ouvèze
relation shares border with
type type of french administrative division
["Montauban-sur-l'Ouvèze", 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:Montauban-sur-l'Ouvèze property:shares_border_with ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q470896 Q860087 Q670331
SYSTEM
Mévouillon, Chauvac-Laux-Montaux, Laborel
Q1075888 Q860087 Q670331 Q470896 Q936247 Q1009398 Q385291 Q314580
(Q470574,P47,c(Q20667921))
action filter_type
action find
entity Q470574
relation P47
type Q20667921
[ANSWERS] have a shared border with Montauban-sur-l'Ouvèze
['Q470574', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q470574 property:P47 ?w . ?w rdf:type ontology:Q20667921 }
Rioms Chauvac-Laux-Montaux Laborel Mévouillon Roussieux Montguers Izon-la-Bruisse Vers-sur-Méouge
Mévouillon, Chauvac-Laux-Montaux and Laborel have a shared border with Montauban-sur-l'Ouvèze
Mévouillon Chauvac-Laux-Montaux Laborel
action filter_type
action find
entity Montauban-sur-l'Ouvèze
relation shares border with
type type of french administrative division
["Montauban-sur-l'Ouvèze", 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:Montauban-sur-l'Ouvèze property:shares_border_with ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q470896
P17
Q15617994
USER
Which administrative territory is that french administrative division situated in ?
(Q470896,P17,c(Q15617994))
action filter_type
action find
entity Q470896
relation P17
type Q15617994
['Q470896', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q470896 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Mévouillon
action filter_type
action find
entity Mévouillon
relation country
type designation for an administrative territorial entity
['Mévouillon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Mévouillon property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q670331
SYSTEM
Did you mean Laborel ?
Q470896 Q860087 Q670331
(Q470896,P17,c(Q15617994)) (Q860087,P17,c(Q15617994)) (Q670331,P17,c(Q15617994))
[ANSWER]
['Q470896', 'P17', {'concept': 'Q15617994'}] ['Q860087', 'P17', {'concept': 'Q15617994'}] ['Q670331', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q470896 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Mévouillon Chauvac-Laux-Montaux Laborel
Did you mean Laborel ?
Laborel
['Mévouillon', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Chauvac-Laux-Montaux', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Laborel', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Mévouillon property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Mévouillon. Could you tell me the answer for that?
(Q470896,P17,c(Q15617994))
Q470896
['Q470896', 'P17', {'concept': 'Q15617994'}]
['Mévouillon', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q470896,P17,c(Q15617994))
action filter_type
action find
entity Q470896
relation P17
type Q15617994
That french administrative division is situated in [ANSWER]
['Q470896', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q470896 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
France
That french administrative division is situated in France
France
action filter_type
action find
entity Mévouillon
relation country
type designation for an administrative territorial entity
['Mévouillon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Mévouillon property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q142 Q2013594 Q40
P530
Q1048835
USER
Is France known to have diplomatic connections with Toritama and Austria ?
(Q142,P530,Q2013594) (Q142,P530,Q40)
action is_in
entity Q142
action intersection
action find_reverse
entity Q2013594
relation P530
action find_reverse
entity Q40
relation P530
['Q142', 'P530', 'Q2013594'] ['Q142', 'P530', 'Q40']
ASK WHERE { resource:Q142 property:P530 resource:Q40 . resource:Q142 property:P530 resource:Q2013594 }
France Toritama Austria
action is_in
entity France
action intersection
action find_reverse
entity Toritama
relation diplomatic relation
action find_reverse
entity Austria
relation diplomatic relation
['France', 'diplomatic relation', 'Toritama'] ['France', 'diplomatic relation', 'Austria']
ASK WHERE { resource:France property:diplomatic_relation resource:Austria . resource:France property:diplomatic_relation resource:Toritama }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q142,P530,Q2013594) (Q142,P530,Q40)
action is_in
entity Q142
action intersection
action find_reverse
entity Q2013594
relation P530
action find_reverse
entity Q40
relation P530
[ANSWER]
['Q142', 'P530', 'Q2013594'] ['Q142', 'P530', 'Q40']
ASK WHERE { resource:Q142 property:P530 resource:Q40 . resource:Q142 property:P530 resource:Q2013594 }
NO and YES respectively
action is_in
entity France
action intersection
action find_reverse
entity Toritama
relation diplomatic relation
action find_reverse
entity Austria
relation diplomatic relation
['France', 'diplomatic relation', 'Toritama'] ['France', 'diplomatic relation', 'Austria']
ASK WHERE { resource:France property:diplomatic_relation resource:Austria . resource:France property:diplomatic_relation resource:Toritama }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q209005
P138
Q20667921 Q502895 Q55488
USER
Which french administrative divisions are namesakes of lesser number of people and railway stations than Cachan ?
(c(Q502895)|c(Q55488),P138,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q502895
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q55488
action count
action filter_multi_types
action find_reverse
entity Q209005
relation P138
type Q502895
type Q55488
[[{'concept': 'Q502895'}, {'concept': 'Q55488'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) ?d WHERE { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:Q502895 ) ( ontology:Q55488 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P138 resource:Q209005 . { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:Q502895 ) ( ontology:Q55488 ) } } } } . FILTER ( ?k < ?z ) }
Cachan
action less
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type common name
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type railway station
action count
action filter_multi_types
action find_reverse
entity Cachan
relation named after
type common name
type railway station
[[{'concept': 'common name'}, {'concept': 'railway station'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) ?d WHERE { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:common_name ) ( ontology:railway_station ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:named_after resource:Cachan . { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:common_name ) ( ontology:railway_station ) } } } } . FILTER ( ?k < ?z ) }
[]
type of french administrative division common name railway station
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 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 Q947091 Q207620 Q1056120 Q181306 Q3413163 Q475599 Q845191 Q130272 Q221683 Q990774 Q6616 Q182872 Q331232 Q1110622 Q273917 Q20892 Q193826 Q832386
(c(Q502895)|c(Q55488),P138,c(Q20667921))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q502895
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q55488
action count
action filter_multi_types
action find_reverse
entity Q209005
relation P138
type Q502895
type Q55488
[ANSWERS] are namesakes of lesser number of people and railway stations than Cachan
[[{'concept': 'Q502895'}, {'concept': 'Q55488'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) ?d WHERE { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:Q502895 ) ( ontology:Q55488 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P138 resource:Q209005 . { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:Q502895 ) ( ontology:Q55488 ) } } } } . FILTER ( ?k < ?z ) }
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 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 Romanèche-Thorins 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 namesakes of lesser number of people and railway stations than Cachan
Brest Verdun Nîmes
action less
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type common name
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type railway station
action count
action filter_multi_types
action find_reverse
entity Cachan
relation named after
type common name
type railway station
[[{'concept': 'common name'}, {'concept': 'railway station'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) ?d WHERE { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:common_name ) ( ontology:railway_station ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:named_after resource:Cachan . { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:common_name ) ( ontology:railway_station ) } } } } . FILTER ( ?k < ?z ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P1071
Q20667921 Q185217
USER
Which french administrative divisions are the final place of assembly of more number of dairy products than that french administrative division ?
(c(Q185217),P1071,c(Q20667921))
[{'concept': 'Q185217'}, 'P1071', {'concept': 'Q20667921'}]
SELECT DISTINCT * WHERE { ?z property:P1071 ?y . ?z rdf:type ontology:Q185217 . ?y rdf:type ontology:Q20667921 }
[{'concept': 'dairy product'}, 'location of final assembly', {'concept': 'type of french administrative division'}]
SELECT DISTINCT * WHERE { ?z property:location_of_final_assembly ?y . ?z rdf:type ontology:dairy_product . ?y rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division dairy product
Comparative|More/Less|Single entity type|Clarification
Q12193
SYSTEM
Did you mean Brest ?
(c(Q185217),P1071,c(Q20667921))
[ANSWER]
[{'concept': 'Q185217'}, 'P1071', {'concept': 'Q20667921'}]
SELECT DISTINCT * WHERE { ?z property:P1071 ?y . ?z rdf:type ontology:Q185217 . ?y rdf:type ontology:Q20667921 }
Did you mean Brest ?
Brest
[{'concept': 'dairy product'}, 'location of final assembly', {'concept': 'type of french administrative division'}]
SELECT DISTINCT * WHERE { ?z property:location_of_final_assembly ?y . ?z rdf:type ontology:dairy_product . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q185217),P1071,c(Q20667921))
[{'concept': 'Q185217'}, 'P1071', {'concept': 'Q20667921'}]
[{'concept': 'dairy product'}, 'location of final assembly', {'concept': 'type of french administrative division'}]
[]
Q545801 Q14112 Q12130
SYSTEM
Noyal-sur-Vilaine, Corsica, Brittany
Q545801 Q14112 Q12130
(c(Q185217),P1071,c(Q20667921))
[ANSWERS] are the final place of assembly of more number of dairy products than that french administrative division
[{'concept': 'Q185217'}, 'P1071', {'concept': 'Q20667921'}]
SELECT DISTINCT * WHERE { ?z property:P1071 ?y . ?z rdf:type ontology:Q185217 . ?y rdf:type ontology:Q20667921 }
Noyal-sur-Vilaine Corsica Brittany
Noyal-sur-Vilaine, Corsica and Brittany are the final place of assembly of more number of dairy products than that french administrative division
Noyal-sur-Vilaine Corsica Brittany
[{'concept': 'dairy product'}, 'location of final assembly', {'concept': 'type of french administrative division'}]
SELECT DISTINCT * WHERE { ?z property:location_of_final_assembly ?y . ?z rdf:type ontology:dairy_product . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P1071
Q20667921 Q838948 Q2235308
USER
How many french administrative divisions are the final places of assembly for more number of works of art or ship types located than that french administrative division ?
(c(Q838948)|c(Q2235308),P1071,c(Q20667921))
[[{'concept': 'Q838948'}, {'concept': 'Q2235308'}], 'P1071', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1071 ?y } UNION { ?x property:P1071 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q20667921 . ?x rdf:type ontology:Q2235308 }
[[{'concept': 'work of art'}, {'concept': 'ship type'}], 'location of final assembly', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:location_of_final_assembly ?y } UNION { ?x property:location_of_final_assembly ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:type_of_french_administrative_division . ?x rdf:type ontology:ship_type }
[]
type of french administrative division work of art ship type
Comparative|Count over More/Less|Mult. entity type|Clarification
Q545801
SYSTEM
Did you mean Noyal-sur-Vilaine ?
(c(Q838948)|c(Q2235308),P1071,c(Q20667921))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2235308'}], 'P1071', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1071 ?y } UNION { ?x property:P1071 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q20667921 . ?x rdf:type ontology:Q2235308 }
Did you mean Noyal-sur-Vilaine ?
Noyal-sur-Vilaine
[[{'concept': 'work of art'}, {'concept': 'ship type'}], 'location of final assembly', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:location_of_final_assembly ?y } UNION { ?x property:location_of_final_assembly ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:type_of_french_administrative_division . ?x rdf:type ontology:ship_type }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Corsica. Could you tell me the answer for that?
(c(Q838948)|c(Q2235308),P1071,c(Q20667921))
Q14112
[[{'concept': 'Q838948'}, {'concept': 'Q2235308'}], 'P1071', {'concept': 'Q20667921'}]
[[{'concept': 'work of art'}, {'concept': 'ship type'}], 'location of final assembly', {'concept': 'type of french administrative division'}]
[]
SYSTEM
8
Q208866 Q163108 Q45656 Q211923 Q134674 Q12193 Q212406 Q221507
(c(Q838948)|c(Q2235308),P1071,c(Q20667921))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2235308'}], 'P1071', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1071 ?y } UNION { ?x property:P1071 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q20667921 . ?x rdf:type ontology:Q2235308 }
La Seyne-sur-Mer Saint-Malo Limoges Les Sables-d'Olonne Bayonne Brest Auvers-sur-Oise Saint-Rémy-de-Provence
8
[[{'concept': 'work of art'}, {'concept': 'ship type'}], 'location of final assembly', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:location_of_final_assembly ?y } UNION { ?x property:location_of_final_assembly ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:type_of_french_administrative_division . ?x rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14112
P495
Q185217
USER
What originates at Corsica ?
(c(Q185217),P495,Q14112)
action filter_type
action find_reverse
entity Q14112
relation P495
type Q185217
[{'concept': 'Q185217'}, 'P495', 'Q14112']
SELECT DISTINCT ?h WHERE { ?h property:P495 resource:Q14112 . ?h rdf:type ontology:Q185217 }
Corsica
action filter_type
action find_reverse
entity Corsica
relation country of origin
type dairy product
[{'concept': 'dairy product'}, 'country of origin', 'Corsica']
SELECT DISTINCT ?h WHERE { ?h property:country_of_origin resource:Corsica . ?h rdf:type ontology:dairy_product }
[]
dairy product
Q761524
SYSTEM
Brocciu
Q761524
(c(Q185217),P495,Q14112)
action filter_type
action find_reverse
entity Q14112
relation P495
type Q185217
[ANSWER] originates at Corsica
[{'concept': 'Q185217'}, 'P495', 'Q14112']
SELECT DISTINCT ?h WHERE { ?h property:P495 resource:Q14112 . ?h rdf:type ontology:Q185217 }
Brocciu
Brocciu originates at Corsica
Brocciu
action filter_type
action find_reverse
entity Corsica
relation country of origin
type dairy product
[{'concept': 'dairy product'}, 'country of origin', 'Corsica']
SELECT DISTINCT ?h WHERE { ?h property:country_of_origin resource:Corsica . ?h rdf:type ontology:dairy_product }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14112
P610
Q14524493
USER
Which terrain is the highest point of that french administrative division ?
(Q761524,P610,c(Q14524493))
action filter_type
action find
entity Q14112
relation P610
type Q14524493
['Q761524', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?k WHERE { resource:Q14112 property:P610 ?k . ?k rdf:type ontology:Q14524493 }
Corsica
action filter_type
action find
entity Corsica
relation highest point
type terrain
['Brocciu', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?k WHERE { resource:Corsica property:highest_point ?k . ?k rdf:type ontology:terrain }
[]
terrain
Q1415428
SYSTEM
Monte Cinto
Q1415428
(Q761524,P610,c(Q14524493))
action filter_type
action find
entity Q14112
relation P610
type Q14524493
[ANSWER] is the highest point of that french administrative division
['Q761524', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?k WHERE { resource:Q14112 property:P610 ?k . ?k rdf:type ontology:Q14524493 }
Monte Cinto
Monte Cinto is the highest point of that french administrative division
Monte Cinto
action filter_type
action find
entity Corsica
relation highest point
type terrain
['Brocciu', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?k WHERE { resource:Corsica property:highest_point ?k . ?k rdf:type ontology:terrain }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q4628
P495
Q15617994 Q838948 Q7725634
USER
How many administrative territories are the countries of origin of more number of works of art or literary works than Faroe Islands ?
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q4628
relation P495
type Q838948
type Q7725634
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?x WHERE { { ?z property:P495 ?x . ?x rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q838948 } UNION { ?z property:P495 ?x . ?x rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q7725634 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P495 resource:Q4628 . { ?q rdf:type ?j . VALUES ( ?j ) { ( ontology:Q838948 ) ( ontology:Q7725634 ) } } } } . FILTER ( ?k > ?a ) }
Faroe Islands
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity Faroe Islands
relation country of origin
type work of art
type literary work
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?x WHERE { { ?z property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:work_of_art } UNION { ?z property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:literary_work } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:country_of_origin resource:Faroe_Islands . { ?q rdf:type ?j . VALUES ( ?j ) { ( ontology:work_of_art ) ( ontology:literary_work ) } } } } . FILTER ( ?k > ?a ) }
[]
designation for an administrative territorial entity work of art literary work
SYSTEM
148
Q805 Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q881 Q826 Q822 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q854 Q819 Q424 Q730 Q236 Q230 Q232 Q233 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q833 Q1009 Q1008 Q971 Q970 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1016 Q1011 Q945 Q29 Q672 Q863 Q869 Q953
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q4628
relation P495
type Q838948
type Q7725634
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?x WHERE { { ?z property:P495 ?x . ?x rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q838948 } UNION { ?z property:P495 ?x . ?x rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q7725634 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P495 resource:Q4628 . { ?q rdf:type ?j . VALUES ( ?j ) { ( ontology:Q838948 ) ( ontology:Q7725634 ) } } } } . FILTER ( ?k > ?a ) }
Yemen Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Maldives Lebanon Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Sri Lanka Laos Cambodia Suriname Montenegro Georgia Kazakhstan Malta Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Libya Cape Verde Togo Spain Tuvalu Tajikistan Thailand Zambia
148
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity Faroe Islands
relation country of origin
type work of art
type literary work
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?x WHERE { { ?z property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:work_of_art } UNION { ?z property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:literary_work } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:country_of_origin resource:Faroe_Islands . { ?q rdf:type ?j . VALUES ( ?j ) { ( ontology:work_of_art ) ( ontology:literary_work ) } } } } . FILTER ( ?k > ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q948
P495
Q15617994 Q838948 Q7725634
USER
And also tell me about Tunisia?
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q948
relation P495
type Q838948
type Q7725634
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?c WHERE { VALUES ( ?v ) { ( ontology:Q838948 ) ( ontology:Q7725634 ) } . ?h rdf:type ?v } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:P495 resource:Q948 . { { ?k rdf:type ontology:Q838948 } UNION { ?k rdf:type ontology:Q7725634 } } } } . FILTER ( ?f > ?n ) }
Tunisia
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity Tunisia
relation country of origin
type work of art
type literary work
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?c WHERE { VALUES ( ?v ) { ( ontology:work_of_art ) ( ontology:literary_work ) } . ?h rdf:type ?v } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:country_of_origin resource:Tunisia . { { ?k rdf:type ontology:work_of_art } UNION { ?k rdf:type ontology:literary_work } } } } . FILTER ( ?f > ?n ) }
[]
designation for an administrative territorial entity work of art literary work
SYSTEM
56
Q801 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q717 Q837 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q794 Q884 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q854 Q424 Q20 Q27 Q28 Q189 Q843 Q1028 Q224 Q222 Q96 Q17 Q902 Q1033 Q298 Q213 Q218 Q219 Q833 Q79 Q77 Q29 Q869
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q948
relation P495
type Q838948
type Q7725634
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?c WHERE { VALUES ( ?v ) { ( ontology:Q838948 ) ( ontology:Q7725634 ) } . ?h rdf:type ?v } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:P495 resource:Q948 . { { ?k rdf:type ontology:Q838948 } UNION { ?k rdf:type ontology:Q7725634 } } } } . FILTER ( ?f > ?n ) }
Israel Peru India Argentina France Netherlands United Kingdom People's Republic of China Venezuela Nepal Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil Iran South Korea Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia Sri Lanka Cambodia Norway Ireland Hungary Iceland Pakistan Morocco Croatia Albania Mexico Japan Bangladesh Nigeria Chile Czech Republic Romania Bulgaria Malaysia Egypt Uruguay Spain Thailand
56
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity Tunisia
relation country of origin
type work of art
type literary work
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?c WHERE { VALUES ( ?v ) { ( ontology:work_of_art ) ( ontology:literary_work ) } . ?h rdf:type ?v } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:country_of_origin resource:Tunisia . { { ?k rdf:type ontology:work_of_art } UNION { ?k rdf:type ontology:literary_work } } } } . FILTER ( ?f > ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14112
P1071
Q185217
USER
Which dairy products have Corsica as their final assembly location ?
(c(Q185217),P1071,Q14112)
action filter_type
action find_reverse
entity Q14112
relation P1071
type Q185217
[{'concept': 'Q185217'}, 'P1071', 'Q14112']
SELECT DISTINCT ?j WHERE { ?j property:P1071 resource:Q14112 . ?j rdf:type ontology:Q185217 }
Corsica
action filter_type
action find_reverse
entity Corsica
relation location of final assembly
type dairy product
[{'concept': 'dairy product'}, 'location of final assembly', 'Corsica']
SELECT DISTINCT ?j WHERE { ?j property:location_of_final_assembly resource:Corsica . ?j rdf:type ontology:dairy_product }
[]
dairy product
Q2268607 Q691989
SYSTEM
bleu de Corse, Niolo
Q2268607 Q691989
(c(Q185217),P1071,Q14112)
action filter_type
action find_reverse
entity Q14112
relation P1071
type Q185217
[ANSWERS] have Corsica as their final assembly location
[{'concept': 'Q185217'}, 'P1071', 'Q14112']
SELECT DISTINCT ?j WHERE { ?j property:P1071 resource:Q14112 . ?j rdf:type ontology:Q185217 }
bleu de Corse Niolo
Bleu de Corse and Niolo have Corsica as their final assembly location
bleu de Corse Niolo
action filter_type
action find_reverse
entity Corsica
relation location of final assembly
type dairy product
[{'concept': 'dairy product'}, 'location of final assembly', 'Corsica']
SELECT DISTINCT ?j WHERE { ?j property:location_of_final_assembly resource:Corsica . ?j rdf:type ontology:dairy_product }
[]