Simple Question (Direct)
Simple Question
Q2457379
P27
Q15617994
USER
Which administrative territory does Alf Martinsen belong to ?
(Q2457379,P27,c(Q15617994))
action filter_type
action find
entity Q2457379
relation P27
type Q15617994
['Q2457379', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q2457379 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Alf Martinsen
action filter_type
action find
entity Alf Martinsen
relation country of citizenship
type designation for an administrative territorial entity
['Alf Martinsen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Alf_Martinsen property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q2457379,P27,c(Q15617994))
action filter_type
action find
entity Q2457379
relation P27
type Q15617994
Alf Martinsen belongs to [ANSWER]
['Q2457379', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q2457379 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Norway
Alf Martinsen belongs to Norway
Norway
action filter_type
action find
entity Alf Martinsen
relation country of citizenship
type designation for an administrative territorial entity
['Alf Martinsen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Alf_Martinsen property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2457379
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q20,P19,c(Q56061))
action filter_type
action find
entity Q2457379
relation P19
type Q56061
['Q20', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q2457379 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Alf Martinsen
action filter_type
action find
entity Alf Martinsen
relation place of birth
type administrative territorial entity
['Norway', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Alf_Martinsen property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q934871
SYSTEM
Lillestrøm
Q934871
(Q20,P19,c(Q56061))
action filter_type
action find
entity Q2457379
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q20', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q2457379 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Lillestrøm
Lillestrøm is the birthplace of that person
Lillestrøm
action filter_type
action find
entity Alf Martinsen
relation place of birth
type administrative territorial entity
['Norway', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Alf_Martinsen property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q934871
P190
Q20667921
USER
Which french administrative division is twin city of that administrative territory ?
(c(Q20667921),P190,Q934871)
action filter_type
action find
entity Q934871
relation P190
type Q20667921
[{'concept': 'Q20667921'}, 'P190', 'Q934871']
SELECT DISTINCT ?v WHERE { resource:Q934871 property:P190 ?v . ?v rdf:type ontology:Q20667921 }
Lillestrøm
action filter_type
action find
entity Lillestrøm
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Lillestrøm']
SELECT DISTINCT ?v WHERE { resource:Lillestrøm property:sister_city ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q324273
SYSTEM
Combourg
Q324273
(c(Q20667921),P190,Q934871)
action filter_type
action find
entity Q934871
relation P190
type Q20667921
[ANSWER] is twin city of that administrative territory
[{'concept': 'Q20667921'}, 'P190', 'Q934871']
SELECT DISTINCT ?v WHERE { resource:Q934871 property:P190 ?v . ?v rdf:type ontology:Q20667921 }
Combourg
Combourg is twin city of that administrative territory
Combourg
action filter_type
action find
entity Lillestrøm
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Lillestrøm']
SELECT DISTINCT ?v WHERE { resource:Lillestrøm property:sister_city ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q324273 Q573031 Q142
P17
Q15617994
USER
Is that french administrative division present in Nortorf and France ?
(Q324273,P17,Q573031) (Q324273,P17,Q142)
action is_in
entity Q324273
action intersection
action find_reverse
entity Q573031
relation P17
action find_reverse
entity Q142
relation P17
['Q324273', 'P17', 'Q573031'] ['Q324273', 'P17', 'Q142']
ASK WHERE { resource:Q324273 property:P17 resource:Q573031 . resource:Q324273 property:P17 resource:Q142 }
Combourg Nortorf France
action is_in
entity Combourg
action intersection
action find_reverse
entity Nortorf
relation country
action find_reverse
entity France
relation country
['Combourg', 'country', 'Nortorf'] ['Combourg', 'country', 'France']
ASK WHERE { resource:Combourg property:country resource:Nortorf . resource:Combourg property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q324273,P17,Q573031) (Q324273,P17,Q142)
action is_in
entity Q324273
action intersection
action find_reverse
entity Q573031
relation P17
action find_reverse
entity Q142
relation P17
[ANSWER]
['Q324273', 'P17', 'Q573031'] ['Q324273', 'P17', 'Q142']
ASK WHERE { resource:Q324273 property:P17 resource:Q573031 . resource:Q324273 property:P17 resource:Q142 }
NO and YES respectively
action is_in
entity Combourg
action intersection
action find_reverse
entity Nortorf
relation country
action find_reverse
entity France
relation country
['Combourg', 'country', 'Nortorf'] ['Combourg', 'country', 'France']
ASK WHERE { resource:Combourg property:country resource:Nortorf . resource:Combourg property:country resource:France }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q324273
P36
Q20667921
USER
Which french administrative division contains Combourg as its capital ?
(c(Q20667921),P36,Q324273)
action filter_type
action find_reverse
entity Q324273
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q324273']
SELECT DISTINCT ?t WHERE { ?t property:P36 resource:Q324273 . ?t rdf:type ontology:Q20667921 }
Combourg
action filter_type
action find_reverse
entity Combourg
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Combourg']
SELECT DISTINCT ?t WHERE { ?t property:capital resource:Combourg . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1551107
SYSTEM
canton of Combourg
Q1551107
(c(Q20667921),P36,Q324273)
action filter_type
action find_reverse
entity Q324273
relation P36
type Q20667921
The [ANSWER] contains Combourg as its capital
[{'concept': 'Q20667921'}, 'P36', 'Q324273']
SELECT DISTINCT ?t WHERE { ?t property:P36 resource:Q324273 . ?t rdf:type ontology:Q20667921 }
canton of Combourg
The canton of Combourg contains Combourg as its capital
canton of Combourg
action filter_type
action find_reverse
entity Combourg
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Combourg']
SELECT DISTINCT ?t WHERE { ?t property:capital resource:Combourg . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1551107
P1376
Q20667921
USER
Which french administrative division is center of administration for that one ?
(c(Q20667921),P1376,Q1551107)
action filter_type
action find_reverse
entity Q1551107
relation P1376
type Q20667921
[{'concept': 'Q20667921'}, 'P1376', 'Q1551107']
SELECT DISTINCT ?v WHERE { ?v property:P1376 resource:Q1551107 . ?v rdf:type ontology:Q20667921 }
canton of Combourg
action filter_type
action find_reverse
entity canton of Combourg
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Combourg']
SELECT DISTINCT ?v WHERE { ?v property:capital_of resource:canton_of_Combourg . ?v rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q324273
SYSTEM
Combourg
Q324273
(c(Q20667921),P1376,Q1551107)
action filter_type
action find_reverse
entity Q1551107
relation P1376
type Q20667921
[ANSWER] is center of administration for that one
[{'concept': 'Q20667921'}, 'P1376', 'Q1551107']
SELECT DISTINCT ?v WHERE { ?v property:P1376 resource:Q1551107 . ?v rdf:type ontology:Q20667921 }
Combourg
Combourg is center of administration for that one
Combourg
action filter_type
action find_reverse
entity canton of Combourg
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Combourg']
SELECT DISTINCT ?v WHERE { ?v property:capital_of resource:canton_of_Combourg . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q274647 Q324273
P47
Q20667921
USER
Which french administrative divisions have a shared border with Combourg or Desges ?
OR((Q324273,P47,c(Q20667921)), (Q274647,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q324273
relation P47
action find
entity Q274647
relation P47
type Q20667921
{'OR': [['Q324273', 'P47', {'concept': 'Q20667921'}], ['Q274647', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?d ) { ( resource:Q324273 ) ( resource:Q274647 ) } . ?d property:P47 ?i } . ?i rdf:type ontology:Q20667921 }
Desges Combourg
action filter_type
action union
action find
entity Combourg
relation shares border with
action find
entity Desges
relation shares border with
type type of french administrative division
{'OR': [['Combourg', 'shares border with', {'concept': 'type of french administrative division'}], ['Desges', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?d ) { ( resource:Combourg ) ( resource:Desges ) } . ?d property:shares_border_with ?i } . ?i rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q196521 Q1065672 Q1074602 Q269845 Q1011055 Q1074686 Q250812 Q1323085 Q244844 Q506948
SYSTEM
Some of them are Lanrigan, Chazelles, Meillac, Auvers, Cuguen, Québriac, La Besseyre-Saint-Mary, Venteuges, Tailhac, Dingé
Q640373 Q660741 Q219667 Q1074686 Q1065672 Q269845 Q250812 Q506948 Q922880 Q1323085 Q244844 Q270994 Q1011055 Q782675 Q196521 Q1074602
OR((Q324273,P47,c(Q20667921)), (Q274647,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q324273
relation P47
action find
entity Q274647
relation P47
type Q20667921
[ANSWERS] have a shared border with Combourg or Desges
{'OR': [['Q324273', 'P47', {'concept': 'Q20667921'}], ['Q274647', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?d ) { ( resource:Q324273 ) ( resource:Q274647 ) } . ?d property:P47 ?i } . ?i rdf:type ontology:Q20667921 }
Saint-Léger-des-Prés Lourmais La Chapelle-aux-Filtzméens Québriac Chazelles Auvers La Besseyre-Saint-Mary Dingé Bonnemain Venteuges Tailhac Pinols Cuguen Trémeheuc Lanrigan Meillac
Lanrigan, Chazelles, Meillac, Auvers, Cuguen, Québriac, La Besseyre-Saint-Mary, Venteuges, Tailhac and Dingé have a shared border with Combourg or Desges
Lanrigan Chazelles Meillac Auvers Cuguen Québriac La Besseyre-Saint-Mary Venteuges Tailhac Dingé
action filter_type
action union
action find
entity Combourg
relation shares border with
action find
entity Desges
relation shares border with
type type of french administrative division
{'OR': [['Combourg', 'shares border with', {'concept': 'type of french administrative division'}], ['Desges', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?d ) { ( resource:Combourg ) ( resource:Desges ) } . ?d property:shares_border_with ?i } . ?i rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q274647
P47
Q20667921
USER
How many french administrative divisions are bordered by Desges ?
(Q274647,P47,c(Q20667921))
action count
action filter_type
action find
entity Q274647
relation P47
type Q20667921
['Q274647', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q274647 property:P47 ?y . ?y rdf:type ontology:Q20667921 }
Desges
action count
action filter_type
action find
entity Desges
relation shares border with
type type of french administrative division
['Desges', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Desges property:shares_border_with ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
6
Q250812 Q269845 Q1065672 Q244844 Q1323085 Q270994
(Q274647,P47,c(Q20667921))
action count
action filter_type
action find
entity Q274647
relation P47
type Q20667921
[ANSWER]
['Q274647', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q274647 property:P47 ?y . ?y rdf:type ontology:Q20667921 }
La Besseyre-Saint-Mary Auvers Chazelles Tailhac Venteuges Pinols
6
action count
action filter_type
action find
entity Desges
relation shares border with
type type of french administrative division
['Desges', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Desges property:shares_border_with ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1093
P1376
Q15617994 Q20667921
USER
Which administrative territories have more number of french administrative divisions as their county seat than Limburg ?
(c(Q20667921),P1376,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_type
action find
entity Q1093
relation P1376
type Q15617994
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?f ) WHERE { ?c rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q20667921 . ?e property:P1376 ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Q1093 property:P1376 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?f > ?i ) }
Limburg
action greater
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_type
action find
entity Limburg
relation capital of
type designation for an administrative territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?f ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:type_of_french_administrative_division . ?e property:capital_of ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Limburg property:capital_of ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f > ?i ) }
[]
designation for an administrative territorial entity type of french administrative division
Q12753 Q12584 Q3113
SYSTEM
Seine-et-Marne, Maine-et-Loire, Allier
Q12631 Q3368 Q2998020 Q3044731 Q12689 Q3377 Q3372 Q3093 Q3259 Q2528268 Q12594 Q12574 Q12798 Q12792 Q12700 Q12703 Q12709 Q12569 Q12642 Q3216 Q3194 Q12804 Q12808 Q3326 Q3286 Q3266 Q3105 Q33788 Q12740 Q12745 Q12779 Q12607 Q12789 Q2281221 Q12694 Q12515 Q12517 Q3364 Q3148 Q12675 Q12589 Q12584 Q12580 Q3131 Q12788 Q12784 Q12782 Q12730 Q12736 Q12657 Q12652 Q12556 Q12816 Q3353 Q3357 Q3278 Q3184 Q2900529 Q12772 Q1999970 Q155019 Q107426 Q12661 Q1270623 Q3125 Q3120 Q3110307 Q12722 Q12553 Q12620 Q12626 Q12543 Q12563 Q426025 Q3349 Q3083 Q3240 Q3249 Q12761 Q12765 Q3334 Q12572 Q12576 Q12578 Q12679 Q3113 Q12758 Q12753 Q12751 Q12564
(c(Q20667921),P1376,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_type
action find
entity Q1093
relation P1376
type Q15617994
[ANSWERS] have more number of french administrative divisions as their county seat than Limburg
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?f ) WHERE { ?c rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q20667921 . ?e property:P1376 ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Q1093 property:P1376 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?f > ?i ) }
Meuse Essonne Corse Guyane Pas-de-Calais Eure-et-Loir Eure Aisne Cantal Mont-Blanc Marne Loiret Vendée Vaucluse Hautes-Pyrénées Pyrénées-Atlantiques Pyrénées-Orientales Loire Morbihan Aveyron Aube Vienne Haute-Vienne Corrèze Cher Charente Vosges New Caledonia Sarthe Savoie Tarn-et-Garonne Haute-Marne Var Principality of Orange Puy-de-Dôme Gard Gers Drôme Ardèche Oise Manche Maine-et-Loire Lozère Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Territoire de Belfort Haute-Saône Saône-et-Loire Nièvre Moselle Indre-et-Loire Yonne Creuse Dordogne Charente-Maritime Ariège Bezirk Lothringen Tarn Upper Alsace Duchy of Lorraine Anjou Nord Meurthe Hautes-Alpes Jura Golo Haut-Rhin Indre Mayenne Meurthe-et-Moselle Hauts-de-Seine Landes Duchy of Savoy Côtes-d'Armor Ain Bouches-du-Rhône Calvados Seine-Saint-Denis Deux-Sèvres Haute-Corse Haute-Loire Lot Lot-et-Garonne Orne Allier Seine-Maritime Seine-et-Marne Haute-Savoie Loir-et-Cher
Seine-et-Marne, Maine-et-Loire and Allier have more number of french administrative divisions as their county seat than Limburg
Seine-et-Marne Maine-et-Loire Allier
action greater
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_type
action find
entity Limburg
relation capital of
type designation for an administrative territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?f ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:type_of_french_administrative_division . ?e property:capital_of ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Limburg property:capital_of ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f > ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1452646
P1376
Q15617994 Q20667921
USER
And what about Montenotte?
(c(Q20667921),P1376,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_type
action find
entity Q1452646
relation P1376
type Q15617994
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Q1452646 property:P1376 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?d > ?f ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P1376 ?j . ?j rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q20667921 } GROUP BY ?j } }
Montenotte
action greater
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_type
action find
entity Montenotte
relation capital of
type designation for an administrative territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Montenotte property:capital_of ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d > ?f ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:capital_of ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:type_of_french_administrative_division } GROUP BY ?j } }
[]
designation for an administrative territorial entity type of french administrative division
Q12753 Q12584 Q3113
SYSTEM
Seine-et-Marne, Maine-et-Loire, Allier
Q12631 Q3368 Q2998020 Q3044731 Q12689 Q3377 Q3372 Q3093 Q3259 Q2528268 Q12594 Q12574 Q12798 Q12792 Q12700 Q12703 Q12709 Q12569 Q12642 Q3216 Q3194 Q12804 Q12808 Q3326 Q3286 Q3266 Q3105 Q33788 Q12740 Q12745 Q12779 Q12607 Q12789 Q2281221 Q12694 Q12515 Q12517 Q3364 Q3148 Q12675 Q12589 Q12584 Q12580 Q3131 Q12788 Q12784 Q12782 Q12730 Q12736 Q12657 Q12652 Q12556 Q12816 Q3353 Q3357 Q3278 Q3184 Q2900529 Q12772 Q1999970 Q155019 Q107426 Q12661 Q1270623 Q3125 Q3120 Q3110307 Q12722 Q12553 Q12620 Q12626 Q12543 Q12563 Q426025 Q3349 Q3083 Q3240 Q3249 Q12761 Q12765 Q3334 Q12572 Q12576 Q12578 Q12679 Q3113 Q12758 Q12753 Q12751 Q12564
(c(Q20667921),P1376,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_type
action find
entity Q1452646
relation P1376
type Q15617994
[ANSWERS]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Q1452646 property:P1376 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?d > ?f ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P1376 ?j . ?j rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q20667921 } GROUP BY ?j } }
Meuse Essonne Corse Guyane Pas-de-Calais Eure-et-Loir Eure Aisne Cantal Mont-Blanc Marne Loiret Vendée Vaucluse Hautes-Pyrénées Pyrénées-Atlantiques Pyrénées-Orientales Loire Morbihan Aveyron Aube Vienne Haute-Vienne Corrèze Cher Charente Vosges New Caledonia Sarthe Savoie Tarn-et-Garonne Haute-Marne Var Principality of Orange Puy-de-Dôme Gard Gers Drôme Ardèche Oise Manche Maine-et-Loire Lozère Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Territoire de Belfort Haute-Saône Saône-et-Loire Nièvre Moselle Indre-et-Loire Yonne Creuse Dordogne Charente-Maritime Ariège Bezirk Lothringen Tarn Upper Alsace Duchy of Lorraine Anjou Nord Meurthe Hautes-Alpes Jura Golo Haut-Rhin Indre Mayenne Meurthe-et-Moselle Hauts-de-Seine Landes Duchy of Savoy Côtes-d'Armor Ain Bouches-du-Rhône Calvados Seine-Saint-Denis Deux-Sèvres Haute-Corse Haute-Loire Lot Lot-et-Garonne Orne Allier Seine-Maritime Seine-et-Marne Haute-Savoie Loir-et-Cher
Seine-et-Marne Maine-et-Loire Allier
action greater
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_type
action find
entity Montenotte
relation capital of
type designation for an administrative territorial entity
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Montenotte property:capital_of ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d > ?f ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:capital_of ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:type_of_french_administrative_division } GROUP BY ?j } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q12753 Q12584 Q3113
P36
Q20667921
USER
Which french administrative divisions are known as the capital of those administrative territories ?
(Q12753,P36,c(Q20667921)) (Q12584,P36,c(Q20667921)) (Q3113,P36,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P36
type Q20667921
['Q12753', 'P36', {'concept': 'Q20667921'}] ['Q12584', 'P36', {'concept': 'Q20667921'}] ['Q3113', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { ?a property:P36 ?y . ?y rdf:type ontology:Q20667921 . VALUES ( ?a ) { ( resource:Q12631 ) ( resource:Q3368 ) ( resource:Q2998020 ) } }
Seine-et-Marne Maine-et-Loire Allier
action filter_type
action find
entity prev_answer
relation capital
type type of french administrative division
['Seine-et-Marne', 'capital', {'concept': 'type of french administrative division'}] ['Maine-et-Loire', 'capital', {'concept': 'type of french administrative division'}] ['Allier', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { ?a property:capital ?y . ?y rdf:type ontology:type_of_french_administrative_division . VALUES ( ?a ) { ( resource:Meuse ) ( resource:Essonne ) ( resource:Corse ) } }
[]
type of french administrative division
Q41139 Q38380 Q184883
SYSTEM
Melun, Angers, Moulins
Q41139 Q38380 Q184883
(Q12753,P36,c(Q20667921)) (Q12584,P36,c(Q20667921)) (Q3113,P36,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P36
type Q20667921
[ANSWERS] are known as the capital of those administrative territories
['Q12753', 'P36', {'concept': 'Q20667921'}] ['Q12584', 'P36', {'concept': 'Q20667921'}] ['Q3113', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { ?a property:P36 ?y . ?y rdf:type ontology:Q20667921 . VALUES ( ?a ) { ( resource:Q12631 ) ( resource:Q3368 ) ( resource:Q2998020 ) } }
Melun Angers Moulins
Melun, Angers and Moulins are known as the capital of those administrative territories
Melun Angers Moulins
action filter_type
action find
entity prev_answer
relation capital
type type of french administrative division
['Seine-et-Marne', 'capital', {'concept': 'type of french administrative division'}] ['Maine-et-Loire', 'capital', {'concept': 'type of french administrative division'}] ['Allier', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { ?a property:capital ?y . ?y rdf:type ontology:type_of_french_administrative_division . VALUES ( ?a ) { ( resource:Meuse ) ( resource:Essonne ) ( resource:Corse ) } }
[]