Simple Question (Direct)
Simple Question
Q1104188
P1376
Q20667921
USER
Which french administrative division has Villeréal has its center of administration ?
(Q1104188,P1376,c(Q20667921))
action filter_type
action find
entity Q1104188
relation P1376
type Q20667921
['Q1104188', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q1104188 property:P1376 ?a . ?a rdf:type ontology:Q20667921 }
Villeréal
action filter_type
action find
entity Villeréal
relation capital of
type type of french administrative division
['Villeréal', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Villeréal property:capital_of ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q743607
SYSTEM
canton of Villeréal
Q743607
(Q1104188,P1376,c(Q20667921))
action filter_type
action find
entity Q1104188
relation P1376
type Q20667921
[ANSWER] has Villeréal has its center of administration
['Q1104188', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q1104188 property:P1376 ?a . ?a rdf:type ontology:Q20667921 }
canton of Villeréal
Canton of Villeréal has Villeréal has its center of administration
canton of Villeréal
action filter_type
action find
entity Villeréal
relation capital of
type type of french administrative division
['Villeréal', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Villeréal property:capital_of ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q743607
P36
Q20667921
USER
Which french administrative division is associated to that one as the capital ?
(Q743607,P36,c(Q20667921))
action filter_type
action find
entity Q743607
relation P36
type Q20667921
['Q743607', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q743607 property:P36 ?m . ?m rdf:type ontology:Q20667921 }
canton of Villeréal
action filter_type
action find
entity canton of Villeréal
relation capital
type type of french administrative division
['canton of Villeréal', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:canton_of_Villeréal property:capital ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1104188
SYSTEM
Villeréal
Q1104188
(Q743607,P36,c(Q20667921))
action filter_type
action find
entity Q743607
relation P36
type Q20667921
[ANSWER] is associated to that one as the capital
['Q743607', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q743607 property:P36 ?m . ?m rdf:type ontology:Q20667921 }
Villeréal
Villeréal is associated to that one as the capital
Villeréal
action filter_type
action find
entity canton of Villeréal
relation capital
type type of french administrative division
['canton of Villeréal', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:canton_of_Villeréal property:capital ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1104188 Q142
P17
Q15617994
USER
Is that french administrative division a part of France ?
(Q1104188,P17,Q142)
action is_in
entity Q142
action find
entity Q1104188
relation P17
['Q1104188', 'P17', 'Q142']
ASK WHERE { resource:Q1104188 property:P17 resource:Q142 }
Villeréal France
action is_in
entity France
action find
entity Villeréal
relation country
['Villeréal', 'country', 'France']
ASK WHERE { resource:Villeréal property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1104188,P17,Q142)
action is_in
entity Q142
action find
entity Q1104188
relation P17
[ANSWER]
['Q1104188', 'P17', 'Q142']
ASK WHERE { resource:Q1104188 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity Villeréal
relation country
['Villeréal', 'country', 'France']
ASK WHERE { resource:Villeréal property:country resource:France }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1104188
P47
Q20667921
USER
How many french administrative divisions share border with Villeréal ?
(c(Q20667921),P47,Q1104188)
action count
action filter_type
action find_reverse
entity Q1104188
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q1104188']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:P47 resource:Q1104188 . ?l rdf:type ontology:Q20667921 }
Villeréal
action count
action filter_type
action find_reverse
entity Villeréal
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Villeréal']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:shares_border_with resource:Villeréal . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
9
Q24787 Q926752 Q218836 Q1104204 Q195745 Q217229 Q1104425 Q772934 Q260847
(c(Q20667921),P47,Q1104188)
action count
action filter_type
action find_reverse
entity Q1104188
relation P47
type Q20667921
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q1104188']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:P47 resource:Q1104188 . ?l rdf:type ontology:Q20667921 }
Bournel Saint-Étienne-de-Villeréal Saint-Martin-de-Villeréal Saint-Eutrope-de-Born Montaut Mazières-Naresse Dévillac Rayet Rives
9
action count
action filter_type
action find_reverse
entity Villeréal
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Villeréal']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:shares_border_with resource:Villeréal . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1104188
P190
Q20667921
USER
Which french administrative division is partner town of that one ?
action filter_type
action find
entity Q1104188
relation P190
type Q20667921
SELECT DISTINCT ?g WHERE { resource:Q1104188 property:P190 ?g . ?g rdf:type ontology:Q20667921 }
Villeréal
action filter_type
action find
entity Villeréal
relation sister city
type type of french administrative division
SELECT DISTINCT ?g WHERE { resource:Villeréal property:sister_city ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q217187
SYSTEM
Château-Chinon (Ville)
Q217187
action filter_type
action find
entity Q1104188
relation P190
type Q20667921
[ANSWER] is partner town of that one
SELECT DISTINCT ?g WHERE { resource:Q1104188 property:P190 ?g . ?g rdf:type ontology:Q20667921 }
Château-Chinon (Ville)
Château-Chinon (Ville) is partner town of that one
Château-Chinon (Ville)
action filter_type
action find
entity Villeréal
relation sister city
type type of french administrative division
SELECT DISTINCT ?g WHERE { resource:Villeréal property:sister_city ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q12576
P1376
Q15617994 Q20667921
USER
How many administrative territories have greater number of french administrative divisions have their first city than Lot ?
(c(Q20667921),P1376,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_type
action find
entity Q12576
relation P1376
type Q15617994
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P1376 ?o . ?o rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q20667921 } GROUP BY ?o } . FILTER ( ?t > ?k ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Q12576 property:P1376 ?i . ?i rdf:type ontology:Q15617994 } } }
Lot
action count
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 Lot
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 ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:capital_of ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:type_of_french_administrative_division } GROUP BY ?o } . FILTER ( ?t > ?k ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Lot property:capital_of ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity type of french administrative division
SYSTEM
9
Q2998020 Q3259 Q12798 Q12703 Q12569 Q12789 Q12730 Q3278 Q12772
(c(Q20667921),P1376,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_type
action find
entity Q12576
relation P1376
type Q15617994
[ANSWER]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P1376 ?o . ?o rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q20667921 } GROUP BY ?o } . FILTER ( ?t > ?k ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Q12576 property:P1376 ?i . ?i rdf:type ontology:Q15617994 } } }
Corse Cantal Vendée Pyrénées-Atlantiques Loire Var Haute-Saône Charente-Maritime Tarn
9
action count
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 Lot
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 ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:capital_of ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:type_of_french_administrative_division } GROUP BY ?o } . FILTER ( ?t > ?k ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Lot property:capital_of ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q3044677
P1376
Q15617994 Q20667921
USER
And also tell me about Samaná?
(c(Q20667921),P1376,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_type
action find
entity Q3044677
relation P1376
type Q15617994
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P1376 ?c . ?h rdf:type ontology:Q20667921 . ?c rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?j > ?y ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q3044677 property:P1376 ?m . ?m rdf:type ontology:Q15617994 } } }
Samaná
action count
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 Samaná
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 ( COUNT ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:capital_of ?c . ?h rdf:type ontology:type_of_french_administrative_division . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?j > ?y ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Samaná property:capital_of ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity type of french administrative division
SYSTEM
90
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 count
action greater
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_type
action find
entity Q3044677
relation P1376
type Q15617994
[ANSWER]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P1376 ?c . ?h rdf:type ontology:Q20667921 . ?c rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?j > ?y ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q3044677 property:P1376 ?m . ?m rdf:type ontology:Q15617994 } } }
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
90
action count
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 Samaná
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 ( COUNT ( ?c ) AS ?d ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:capital_of ?c . ?h rdf:type ontology:type_of_french_administrative_division . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?j > ?y ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Samaná property:capital_of ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q217187
P47
Q20667921
USER
How many french administrative divisions are next to the border of Château-Chinon (Ville) ?
(c(Q20667921),P47,Q217187)
action count
action filter_type
action find_reverse
entity Q217187
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q217187']
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w property:P47 resource:Q217187 . ?w rdf:type ontology:Q20667921 }
Château-Chinon (Ville)
action count
action filter_type
action find_reverse
entity Château-Chinon (Ville)
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Château-Chinon (Ville)']
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w property:shares_border_with resource:Château-Chinon_(Ville) . ?w rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
2
Q665691 Q37170
(c(Q20667921),P47,Q217187)
action count
action filter_type
action find_reverse
entity Q217187
relation P47
type Q20667921
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q217187']
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w property:P47 resource:Q217187 . ?w rdf:type ontology:Q20667921 }
Château-Chinon (Campagne) Saint-Hilaire-en-Morvan
2
action count
action filter_type
action find_reverse
entity Château-Chinon (Ville)
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Château-Chinon (Ville)']
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w property:shares_border_with resource:Château-Chinon_(Ville) . ?w rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q70983
P47
Q20667921
USER
And how about Limerzel?
(c(Q20667921),P47,Q70983)
action count
action filter_type
action find_reverse
entity Q70983
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q70983']
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l rdf:type ontology:Q20667921 . ?l property:P47 resource:Q70983 }
Limerzel
action count
action filter_type
action find_reverse
entity Limerzel
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Limerzel']
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l rdf:type ontology:type_of_french_administrative_division . ?l property:shares_border_with resource:Limerzel }
[]
type of french administrative division
SYSTEM
6
Q69292 Q70751 Q71391 Q127808 Q69933 Q128311
(c(Q20667921),P47,Q70983)
action count
action filter_type
action find_reverse
entity Q70983
relation P47
type Q20667921
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q70983']
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l rdf:type ontology:Q20667921 . ?l property:P47 resource:Q70983 }
Caden Malansac Le Guerno Questembert Noyal-Muzillac Péaule
6
action count
action filter_type
action find_reverse
entity Limerzel
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Limerzel']
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l rdf:type ontology:type_of_french_administrative_division . ?l property:shares_border_with resource:Limerzel }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q217187
P20
Q502895
USER
Which people have Château-Chinon (Ville) as the location of death ?
(c(Q502895),P20,Q217187)
action filter_type
action find_reverse
entity Q217187
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q217187']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P20 resource:Q217187 }
Château-Chinon (Ville)
action filter_type
action find_reverse
entity Château-Chinon (Ville)
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Château-Chinon (Ville)']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:place_of_death resource:Château-Chinon_(Ville) }
[]
common name
Q3089848 Q8306474 Q2846164
SYSTEM
Frédéric Girerd, Germain Perier, Andoche Parthiot
Q8306474 Q3185453 Q2846164 Q3089848
(c(Q502895),P20,Q217187)
action filter_type
action find_reverse
entity Q217187
relation P20
type Q502895
[ANSWERS] have Château-Chinon (Ville) as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q217187']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P20 resource:Q217187 }
Germain Perier Joseph Pasquet Andoche Parthiot Frédéric Girerd
Frédéric Girerd, Germain Perier and Andoche Parthiot have Château-Chinon (Ville) as the location of death
Frédéric Girerd Germain Perier Andoche Parthiot
action filter_type
action find_reverse
entity Château-Chinon (Ville)
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Château-Chinon (Ville)']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:place_of_death resource:Château-Chinon_(Ville) }
[]