Simple Question (Direct)
Simple Question
Q3141948
P19
Q20667921
USER
Where was Hubert Buchou born ?
(Q3141948,P19,c(Q20667921))
action filter_type
action find
entity Q3141948
relation P19
type Q20667921
['Q3141948', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q3141948 property:P19 ?i . ?i rdf:type ontology:Q20667921 }
Hubert Buchou
action filter_type
action find
entity Hubert Buchou
relation place of birth
type type of french administrative division
['Hubert Buchou', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Hubert_Buchou property:place_of_birth ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q132671
SYSTEM
Pau
Q132671
(Q3141948,P19,c(Q20667921))
action filter_type
action find
entity Q3141948
relation P19
type Q20667921
Hubert Buchou was born in [ANSWER]
['Q3141948', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q3141948 property:P19 ?i . ?i rdf:type ontology:Q20667921 }
Pau
Hubert Buchou was born in Pau
Pau
action filter_type
action find
entity Hubert Buchou
relation place of birth
type type of french administrative division
['Hubert Buchou', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Hubert_Buchou property:place_of_birth ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3141948
P39
Q12737077
USER
Which occupation was a position occupied by Hubert Buchou ?
(Q3141948,P39,c(Q12737077))
action filter_type
action find
entity Q3141948
relation P39
type Q12737077
['Q3141948', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q3141948 property:P39 ?h }
Hubert Buchou
action filter_type
action find
entity Hubert Buchou
relation position held
type occupation
['Hubert Buchou', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Hubert_Buchou property:position_held ?h }
[]
occupation
Q27169
SYSTEM
member of the European Parliament
Q27169
(Q3141948,P39,c(Q12737077))
action filter_type
action find
entity Q3141948
relation P39
type Q12737077
The [ANSWER] was a position occupied by Hubert Buchou
['Q3141948', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q3141948 property:P39 ?h }
member of the European Parliament
The member of the European Parliament was a position occupied by Hubert Buchou
member of the European Parliament
action filter_type
action find
entity Hubert Buchou
relation position held
type occupation
['Hubert Buchou', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Hubert_Buchou property:position_held ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3141948
P937
Q56061
USER
What is the location where Hubert Buchou worked ?
(Q3141948,P937,c(Q56061))
action filter_type
action find
entity Q3141948
relation P937
type Q56061
['Q3141948', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q3141948 property:P937 ?j }
Hubert Buchou
action filter_type
action find
entity Hubert Buchou
relation work location
type administrative territorial entity
['Hubert Buchou', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Hubert_Buchou property:work_location ?j }
[]
administrative territorial entity
Q239
SYSTEM
Brussels
Q239
(Q3141948,P937,c(Q56061))
action filter_type
action find
entity Q3141948
relation P937
type Q56061
The location Hubert Buchou worked is in [ANSWER]
['Q3141948', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q3141948 property:P937 ?j }
Brussels
The location Hubert Buchou worked is in Brussels
Brussels
action filter_type
action find
entity Hubert Buchou
relation work location
type administrative territorial entity
['Hubert Buchou', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Hubert_Buchou property:work_location ?j }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q3141948
Q515
USER
And which city?
(Q3141948,P937,c(Q515))
action filter_type
action find
entity Q3141948
relation P937
type Q515
['Q3141948', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { resource:Q3141948 property:P937 ?s . ?s rdf:type ontology:Q515 }
Hubert Buchou
action filter_type
action find
entity Hubert Buchou
relation work location
type city
['Hubert Buchou', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { resource:Hubert_Buchou property:work_location ?s . ?s rdf:type ontology:city }
[]
city
Q6602
SYSTEM
Strasbourg
Q6602
(Q3141948,P937,c(Q515))
action filter_type
action find
entity Q3141948
relation P937
type Q515
[ANSWER]
['Q3141948', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { resource:Q3141948 property:P937 ?s . ?s rdf:type ontology:Q515 }
Strasbourg
Strasbourg
action filter_type
action find
entity Hubert Buchou
relation work location
type city
['Hubert Buchou', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { resource:Hubert_Buchou property:work_location ?s . ?s rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6602 Q17362790
P937
Q502895
USER
Does Erlind Koreshi work at that city ?
(Q17362790,P937,Q6602)
action is_in
entity Q17362790
action find
entity Q6602
relation P937
['Q17362790', 'P937', 'Q6602']
ASK WHERE { resource:Q6602 property:P937 resource:Q17362790 }
Strasbourg Erlind Koreshi
action is_in
entity Erlind Koreshi
action find
entity Strasbourg
relation work location
['Erlind Koreshi', 'work location', 'Strasbourg']
ASK WHERE { resource:Strasbourg property:work_location resource:Erlind_Koreshi }
[]
common name
SYSTEM
NO
(Q17362790,P937,Q6602)
action is_in
entity Q17362790
action find
entity Q6602
relation P937
[ANSWER]
['Q17362790', 'P937', 'Q6602']
ASK WHERE { resource:Q6602 property:P937 resource:Q17362790 }
No
action is_in
entity Erlind Koreshi
action find
entity Strasbourg
relation work location
['Erlind Koreshi', 'work location', 'Strasbourg']
ASK WHERE { resource:Strasbourg property:work_location resource:Erlind_Koreshi }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q27169 Q458
P1001
Q56061
USER
Is European Union linked to member of the European Parliament ?
(Q27169,P1001,Q458)
action is_in
entity Q458
action find
entity Q27169
relation P1001
['Q27169', 'P1001', 'Q458']
ASK WHERE { resource:Q27169 property:P1001 resource:Q458 }
member of the European Parliament European Union
action is_in
entity European Union
action find
entity member of the European Parliament
relation applies to jurisdiction
['member of the European Parliament', 'applies to jurisdiction', 'European Union']
ASK WHERE { resource:member_of_the_European_Parliament property:applies_to_jurisdiction resource:European_Union }
[]
administrative territorial entity
SYSTEM
YES
(Q27169,P1001,Q458)
action is_in
entity Q458
action find
entity Q27169
relation P1001
[ANSWER]
['Q27169', 'P1001', 'Q458']
ASK WHERE { resource:Q27169 property:P1001 resource:Q458 }
Yes
action is_in
entity European Union
action find
entity member of the European Parliament
relation applies to jurisdiction
['member of the European Parliament', 'applies to jurisdiction', 'European Union']
ASK WHERE { resource:member_of_the_European_Parliament property:applies_to_jurisdiction resource:European_Union }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27169
P361
Q178706
USER
What is member of the European Parliament a part of ?
(Q27169,P361,c(Q178706))
action filter_type
action find
entity Q27169
relation P361
type Q178706
['Q27169', 'P361', {'concept': 'Q178706'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q178706 . resource:Q27169 property:P361 ?o }
member of the European Parliament
action filter_type
action find
entity member of the European Parliament
relation part of
type institution
['member of the European Parliament', 'part of', {'concept': 'institution'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:institution . resource:member_of_the_European_Parliament property:part_of ?o }
[]
institution
Q8889
SYSTEM
European Parliament
Q8889
(Q27169,P361,c(Q178706))
action filter_type
action find
entity Q27169
relation P361
type Q178706
Member of the [ANSWER] a part of is the [ANSWER]
['Q27169', 'P361', {'concept': 'Q178706'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q178706 . resource:Q27169 property:P361 ?o }
European Parliament
Member of the European Parliament a part of is the European Parliament
European Parliament
action filter_type
action find
entity member of the European Parliament
relation part of
type institution
['member of the European Parliament', 'part of', {'concept': 'institution'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:institution . resource:member_of_the_European_Parliament property:part_of ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q27169 Q3068024
P39
Q502895
USER
How many people held the position of member of the European Parliament and First Secretary of State ?
(c(Q502895),P39,Q27169) (c(Q502895),P39,Q3068024)
action count
action intersection
action filter_type
action find_reverse
entity Q27169
relation P39
type Q502895
action filter_type
action find_reverse
entity Q3068024
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q27169'] [{'concept': 'Q502895'}, 'P39', 'Q3068024']
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P39 resource:Q27169 . ?v rdf:type ontology:Q502895 . ?v property:P39 resource:Q3068024 . ?v rdf:type ontology:Q502895 }
member of the European Parliament First Secretary of State
action count
action intersection
action filter_type
action find_reverse
entity member of the European Parliament
relation position held
type common name
action filter_type
action find_reverse
entity First Secretary of State
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'member of the European Parliament'] [{'concept': 'common name'}, 'position held', 'First Secretary of State']
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:position_held resource:member_of_the_European_Parliament . ?v rdf:type ontology:common_name . ?v property:position_held resource:First_Secretary_of_State . ?v rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q333773 Q332393 Q2883936
(c(Q502895),P39,Q27169) (c(Q502895),P39,Q3068024)
action count
action intersection
action filter_type
action find_reverse
entity Q27169
relation P39
type Q502895
action filter_type
action find_reverse
entity Q3068024
relation P39
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q27169'] [{'concept': 'Q502895'}, 'P39', 'Q3068024']
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P39 resource:Q27169 . ?v rdf:type ontology:Q502895 . ?v property:P39 resource:Q3068024 . ?v rdf:type ontology:Q502895 }
Michael Stewart, Baron Stewart of Fulham John Prescott Barbara Castle, Baroness Castle of Blackburn
3
action count
action intersection
action filter_type
action find_reverse
entity member of the European Parliament
relation position held
type common name
action filter_type
action find_reverse
entity First Secretary of State
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'member of the European Parliament'] [{'concept': 'common name'}, 'position held', 'First Secretary of State']
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:position_held resource:member_of_the_European_Parliament . ?v rdf:type ontology:common_name . ?v property:position_held resource:First_Secretary_of_State . ?v rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3898523 Q8889
P17
Q15617994
USER
Which administrative territories are European Parliament or Pechincha situated in ?
OR((Q8889,P17,c(Q15617994)), (Q3898523,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q8889
relation P17
action find
entity Q3898523
relation P17
type Q15617994
{'OR': [['Q8889', 'P17', {'concept': 'Q15617994'}], ['Q3898523', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { { resource:Q3898523 property:P17 ?e } UNION { resource:Q8889 property:P17 ?e } } }
Pechincha European Parliament
action filter_type
action union
action find
entity European Parliament
relation country
action find
entity Pechincha
relation country
type designation for an administrative territorial entity
{'OR': [['European Parliament', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pechincha', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Pechincha property:country ?e } UNION { resource:European_Parliament property:country ?e } } }
[]
designation for an administrative territorial entity
Q155 Q32
SYSTEM
Brazil, Luxembourg
Q155 Q32
OR((Q8889,P17,c(Q15617994)), (Q3898523,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q8889
relation P17
action find
entity Q3898523
relation P17
type Q15617994
European Parliament or Pechincha are situated in [ANSWERS]
{'OR': [['Q8889', 'P17', {'concept': 'Q15617994'}], ['Q3898523', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { { resource:Q3898523 property:P17 ?e } UNION { resource:Q8889 property:P17 ?e } } }
Brazil Luxembourg
European Parliament or Pechincha are situated in Brazil and Luxembourg
Brazil Luxembourg
action filter_type
action union
action find
entity European Parliament
relation country
action find
entity Pechincha
relation country
type designation for an administrative territorial entity
{'OR': [['European Parliament', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pechincha', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Pechincha property:country ?e } UNION { resource:European_Parliament property:country ?e } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q208812
P138
Q20667921 Q15617994 Q43229
USER
How many french administrative divisions are around the same number of administrative territories and organizations named after as Corbeil-Essonnes ?
(c(Q15617994)|c(Q43229),P138,c(Q20667921))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q15617994
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q208812
relation P138
type Q15617994
type Q43229
[[{'concept': 'Q15617994'}, {'concept': 'Q43229'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:P138 ?k . ?k rdf:type ontology:Q20667921 . ?u rdf:type ontology:Q15617994 } UNION { ?u property:P138 ?k . ?k rdf:type ontology:Q20667921 . ?u rdf:type ontology:Q43229 } } GROUP BY ?k } . FILTER ( ?z = ?q ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { { ?o rdf:type ontology:Q15617994 } UNION { ?o rdf:type ontology:Q43229 } } . ?o property:P138 resource:Q208812 } } }
Corbeil-Essonnes
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type organization
action count
action filter_multi_types
action find_reverse
entity Corbeil-Essonnes
relation named after
type designation for an administrative territorial entity
type organization
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'organization'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:named_after ?k . ?k rdf:type ontology:type_of_french_administrative_division . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u property:named_after ?k . ?k rdf:type ontology:type_of_french_administrative_division . ?u rdf:type ontology:organization } } GROUP BY ?k } . FILTER ( ?z = ?q ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o rdf:type ontology:organization } } . ?o property:named_after resource:Corbeil-Essonnes } } }
[]
type of french administrative division designation for an administrative territorial entity organization
SYSTEM
265
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 Q193880 Q167152 Q840597 Q329664 Q1241308 Q209069 Q273702 Q181285 Q126668 Q59221 Q903665 Q7158 Q616668 Q264778 Q174032 Q229339 Q135265 Q208889 Q212274 Q161884 Q274327 Q28520 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 Q44401 Q212966 Q34001 Q213288 Q470959 Q47465 Q773318 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 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(Q15617994)|c(Q43229),P138,c(Q20667921))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q15617994
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q208812
relation P138
type Q15617994
type Q43229
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q43229'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:P138 ?k . ?k rdf:type ontology:Q20667921 . ?u rdf:type ontology:Q15617994 } UNION { ?u property:P138 ?k . ?k rdf:type ontology:Q20667921 . ?u rdf:type ontology:Q43229 } } GROUP BY ?k } . FILTER ( ?z = ?q ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { { ?o rdf:type ontology:Q15617994 } UNION { ?o rdf:type ontology:Q43229 } } . ?o property:P138 resource:Q208812 } } }
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 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 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 Cayenne Pompey Roubaix Montbrison Voves Aix-en-Provence Bercy 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 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
265
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type organization
action count
action filter_multi_types
action find_reverse
entity Corbeil-Essonnes
relation named after
type designation for an administrative territorial entity
type organization
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'organization'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:named_after ?k . ?k rdf:type ontology:type_of_french_administrative_division . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u property:named_after ?k . ?k rdf:type ontology:type_of_french_administrative_division . ?u rdf:type ontology:organization } } GROUP BY ?k } . FILTER ( ?z = ?q ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o rdf:type ontology:organization } } . ?o property:named_after resource:Corbeil-Essonnes } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q213317
P138
Q20667921 Q15617994 Q43229
USER
And also tell me about Ambert?
(c(Q15617994)|c(Q43229),P138,c(Q20667921))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q15617994
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q213317
relation P138
type Q15617994
type Q43229
[[{'concept': 'Q15617994'}, {'concept': 'Q43229'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?y ) WHERE { { ?z rdf:type ontology:Q20667921 . ?j rdf:type ontology:Q15617994 . ?j property:P138 ?z } UNION { ?z rdf:type ontology:Q20667921 . ?j rdf:type ontology:Q43229 . ?j property:P138 ?z } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P138 resource:Q213317 . { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:Q15617994 ) ( ontology:Q43229 ) } } } } . FILTER ( ?y = ?f ) }
Ambert
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type organization
action count
action filter_multi_types
action find_reverse
entity Ambert
relation named after
type designation for an administrative territorial entity
type organization
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'organization'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?y ) WHERE { { ?z rdf:type ontology:type_of_french_administrative_division . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:named_after ?z } UNION { ?z rdf:type ontology:type_of_french_administrative_division . ?j rdf:type ontology:organization . ?j property:named_after ?z } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:named_after resource:Ambert . { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:organization ) } } } } . FILTER ( ?y = ?f ) }
[]
type of french administrative division designation for an administrative territorial entity organization
SYSTEM
265
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 Q193880 Q167152 Q840597 Q329664 Q1241308 Q209069 Q273702 Q181285 Q126668 Q59221 Q903665 Q7158 Q616668 Q264778 Q174032 Q229339 Q135265 Q208889 Q212274 Q161884 Q274327 Q28520 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 Q44401 Q212966 Q34001 Q213288 Q470959 Q47465 Q773318 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 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(Q15617994)|c(Q43229),P138,c(Q20667921))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q15617994
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q213317
relation P138
type Q15617994
type Q43229
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q43229'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?y ) WHERE { { ?z rdf:type ontology:Q20667921 . ?j rdf:type ontology:Q15617994 . ?j property:P138 ?z } UNION { ?z rdf:type ontology:Q20667921 . ?j rdf:type ontology:Q43229 . ?j property:P138 ?z } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P138 resource:Q213317 . { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:Q15617994 ) ( ontology:Q43229 ) } } } } . FILTER ( ?y = ?f ) }
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 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 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 Cayenne Pompey Roubaix Montbrison Voves Aix-en-Provence Bercy 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 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
265
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type organization
action count
action filter_multi_types
action find_reverse
entity Ambert
relation named after
type designation for an administrative territorial entity
type organization
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'organization'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?y ) WHERE { { ?z rdf:type ontology:type_of_french_administrative_division . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:named_after ?z } UNION { ?z rdf:type ontology:type_of_french_administrative_division . ?j rdf:type ontology:organization . ?j property:named_after ?z } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:named_after resource:Ambert . { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:organization ) } } } } . FILTER ( ?y = ?f ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P276
Q161243
USER
Which dependent territory has its location as Brazil ?
(c(Q161243),P276,Q155)
action filter_type
action find_reverse
entity Q155
relation P276
type Q161243
[{'concept': 'Q161243'}, 'P276', 'Q155']
SELECT DISTINCT ?n WHERE { ?n property:P276 resource:Q155 . ?n rdf:type ontology:Q161243 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation location
type dependent territory
[{'concept': 'dependent territory'}, 'location', 'Brazil']
SELECT DISTINCT ?n WHERE { ?n property:location resource:Brazil . ?n rdf:type ontology:dependent_territory }
[]
dependent territory
Q221357
SYSTEM
Dutch Brazil
Q221357
(c(Q161243),P276,Q155)
action filter_type
action find_reverse
entity Q155
relation P276
type Q161243
[ANSWER] has its location as Brazil
[{'concept': 'Q161243'}, 'P276', 'Q155']
SELECT DISTINCT ?n WHERE { ?n property:P276 resource:Q155 . ?n rdf:type ontology:Q161243 }
Dutch Brazil
Dutch Brazil has its location as Brazil
Dutch Brazil
action filter_type
action find_reverse
entity Brazil
relation location
type dependent territory
[{'concept': 'dependent territory'}, 'location', 'Brazil']
SELECT DISTINCT ?n WHERE { ?n property:location resource:Brazil . ?n rdf:type ontology:dependent_territory }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q155
P551
Q502895
USER
Which people live in that administrative territory ?
(c(Q502895),P551,Q221357)
action filter_type
action find_reverse
entity Q155
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q221357']
SELECT DISTINCT ?a WHERE { ?a property:P551 resource:Q155 . ?a rdf:type ontology:Q502895 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Dutch Brazil']
SELECT DISTINCT ?a WHERE { ?a property:residence resource:Brazil . ?a rdf:type ontology:common_name }
[]
common name
Q235946 Q1007872 Q4487
SYSTEM
Elizabeth Bishop, Anderson Roberto da Silva Luiz, Federico Gamboa
Q1007752 Q4487 Q1399562 Q553155 Q1007872 Q235946 Q17297597 Q26706647
(c(Q502895),P551,Q221357)
action filter_type
action find_reverse
entity Q155
relation P551
type Q502895
[ANSWERS] live in that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q221357']
SELECT DISTINCT ?a WHERE { ?a property:P551 resource:Q155 . ?a rdf:type ontology:Q502895 }
Abraão Lincoln Martins Federico Gamboa Emil Grunzweig Edgar Leopold Layard Anderson Roberto da Silva Luiz Elizabeth Bishop Charles de Coux Adrien Delpech
Elizabeth Bishop, Anderson Roberto da Silva Luiz and Federico Gamboa live in that administrative territory
Elizabeth Bishop Anderson Roberto da Silva Luiz Federico Gamboa
action filter_type
action find_reverse
entity Brazil
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Dutch Brazil']
SELECT DISTINCT ?a WHERE { ?a property:residence resource:Brazil . ?a rdf:type ontology:common_name }
[]