Simple Question (Direct)
Simple Question
Q3299905
P106
Q12737077
USER
Which occupations are the professions of Matthieu Gosztola ?
(Q3299905,P106,c(Q12737077))
action filter_type
action find
entity Q3299905
relation P106
type Q12737077
['Q3299905', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3299905 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Matthieu Gosztola
action filter_type
action find
entity Matthieu Gosztola
relation occupation
type occupation
['Matthieu Gosztola', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Matthieu_Gosztola property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q4263842 Q33231 Q49757
SYSTEM
literary critic, photographer, poet
Q4263842 Q33231 Q49757
(Q3299905,P106,c(Q12737077))
action filter_type
action find
entity Q3299905
relation P106
type Q12737077
The professions of Matthieu Gosztola are the [ANSWERS]
['Q3299905', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3299905 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
literary critic photographer poet
The professions of Matthieu Gosztola are the literary critic, photographer and poet
literary critic photographer poet
action filter_type
action find
entity Matthieu Gosztola
relation occupation
type occupation
['Matthieu Gosztola', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Matthieu_Gosztola property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3299905
P19
Q20667921
USER
Which french administrative division was that person born in ?
(Q4263842,P19,c(Q20667921)) (Q33231,P19,c(Q20667921)) (Q49757,P19,c(Q20667921))
action filter_type
action find
entity Q3299905
relation P19
type Q20667921
['Q4263842', 'P19', {'concept': 'Q20667921'}] ['Q33231', 'P19', {'concept': 'Q20667921'}] ['Q49757', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q20667921 . resource:Q3299905 property:P19 ?s }
Matthieu Gosztola
action filter_type
action find
entity Matthieu Gosztola
relation place of birth
type type of french administrative division
['literary critic', 'place of birth', {'concept': 'type of french administrative division'}] ['photographer', 'place of birth', {'concept': 'type of french administrative division'}] ['poet', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:type_of_french_administrative_division . resource:Matthieu_Gosztola property:place_of_birth ?s }
[]
type of french administrative division
Q1476
SYSTEM
Le Mans
Q1476
(Q4263842,P19,c(Q20667921)) (Q33231,P19,c(Q20667921)) (Q49757,P19,c(Q20667921))
action filter_type
action find
entity Q3299905
relation P19
type Q20667921
That person was born in [ANSWER]
['Q4263842', 'P19', {'concept': 'Q20667921'}] ['Q33231', 'P19', {'concept': 'Q20667921'}] ['Q49757', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q20667921 . resource:Q3299905 property:P19 ?s }
Le Mans
That person was born in Le Mans
Le Mans
action filter_type
action find
entity Matthieu Gosztola
relation place of birth
type type of french administrative division
['literary critic', 'place of birth', {'concept': 'type of french administrative division'}] ['photographer', 'place of birth', {'concept': 'type of french administrative division'}] ['poet', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:type_of_french_administrative_division . resource:Matthieu_Gosztola property:place_of_birth ?s }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1788988
P1376
Q15617994 Q20667921
USER
Which administrative territories have greater number of french administrative divisions as their capital than Trasimène ?
(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 Q1788988
relation P1376
type Q15617994
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:P1376 ?o . ?h rdf:type ontology:Q20667921 . ?o rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?s > ?z ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:Q1788988 property:P1376 ?m . ?m rdf:type ontology:Q15617994 } } }
Trasimène
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 Trasimène
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 ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:capital_of ?o . ?h rdf:type ontology:type_of_french_administrative_division . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?s > ?z ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:Trasimène 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
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 Q1788988
relation P1376
type Q15617994
[ANSWERS] have greater number of french administrative divisions as their capital than Trasimène
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:P1376 ?o . ?h rdf:type ontology:Q20667921 . ?o rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?s > ?z ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:Q1788988 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
Seine-et-Marne, Maine-et-Loire and Allier have greater number of french administrative divisions as their capital than Trasimène
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 Trasimène
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 ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:capital_of ?o . ?h rdf:type ontology:type_of_french_administrative_division . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?s > ?z ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:Trasimène property:capital_of ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q45
P1376
Q15617994 Q20667921
USER
And also tell me about Portugal?
(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 Q45
relation P1376
type Q15617994
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q45 property:P1376 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?a ) . { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:P1376 ?o . ?o rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q20667921 } GROUP BY ?o } }
Portugal
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 Portugal
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 ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Portugal property:capital_of ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?a ) . { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:capital_of ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:type_of_french_administrative_division } GROUP BY ?o } }
[]
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 Q45
relation P1376
type Q15617994
[ANSWERS]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q45 property:P1376 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?a ) . { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:P1376 ?o . ?o rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q20667921 } GROUP BY ?o } }
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 Portugal
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 ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Portugal property:capital_of ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?a ) . { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:capital_of ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:type_of_french_administrative_division } GROUP BY ?o } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20899804 Q12753
P36
Q20667921
USER
Which french administrative divisions are associated to Seine-et-Marne or canton of Mazamet-2 Vallée du Thoré as the capital ?
OR((Q12753,P36,c(Q20667921)), (Q20899804,P36,c(Q20667921)))
action filter_type
action union
action find
entity Q12753
relation P36
action find
entity Q20899804
relation P36
type Q20667921
{'OR': [['Q12753', 'P36', {'concept': 'Q20667921'}], ['Q20899804', 'P36', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?t WHERE { { ?m property:P36 ?t . VALUES ( ?m ) { ( resource:Q12753 ) ( resource:Q20899804 ) } } . ?t rdf:type ontology:Q20667921 }
canton of Mazamet-2 Vallée du Thoré Seine-et-Marne
action filter_type
action union
action find
entity Seine-et-Marne
relation capital
action find
entity canton of Mazamet-2 Vallée du Thoré
relation capital
type type of french administrative division
{'OR': [['Seine-et-Marne', 'capital', {'concept': 'type of french administrative division'}], ['canton of Mazamet-2 Vallée du Thoré', 'capital', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?t WHERE { { ?m property:capital ?t . VALUES ( ?m ) { ( resource:Seine-et-Marne ) ( resource:canton_of_Mazamet-2_Vallée_du_Thoré ) } } . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q41139 Q631977
SYSTEM
Melun, Mazamet
Q41139 Q631977
OR((Q12753,P36,c(Q20667921)), (Q20899804,P36,c(Q20667921)))
action filter_type
action union
action find
entity Q12753
relation P36
action find
entity Q20899804
relation P36
type Q20667921
[ANSWERS] are associated to Seine-et-Marne or canton of Mazamet-2 Vallée du Thoré as the capital
{'OR': [['Q12753', 'P36', {'concept': 'Q20667921'}], ['Q20899804', 'P36', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?t WHERE { { ?m property:P36 ?t . VALUES ( ?m ) { ( resource:Q12753 ) ( resource:Q20899804 ) } } . ?t rdf:type ontology:Q20667921 }
Melun Mazamet
Melun and Mazamet are associated to Seine-et-Marne or canton of Mazamet-2 Vallée du Thoré as the capital
Melun Mazamet
action filter_type
action union
action find
entity Seine-et-Marne
relation capital
action find
entity canton of Mazamet-2 Vallée du Thoré
relation capital
type type of french administrative division
{'OR': [['Seine-et-Marne', 'capital', {'concept': 'type of french administrative division'}], ['canton of Mazamet-2 Vallée du Thoré', 'capital', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?t WHERE { { ?m property:capital ?t . VALUES ( ?m ) { ( resource:Seine-et-Marne ) ( resource:canton_of_Mazamet-2_Vallée_du_Thoré ) } } . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q41139 Q631977
P47
Q20667921
USER
Which french administrative divisions have an adjacent border with Melun and Mazamet ?
(c(Q20667921),P47,Q41139) (c(Q20667921),P47,Q631977)
action union
action filter_type
action find
entity Q41139
relation P47
type Q20667921
action filter_type
action find
entity Q631977
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q41139'] [{'concept': 'Q20667921'}, 'P47', 'Q631977']
SELECT DISTINCT ?s WHERE { { resource:Q41139 property:P47 ?s . ?s rdf:type ontology:Q20667921 } UNION { resource:Q631977 property:P47 ?s . ?s rdf:type ontology:Q20667921 } }
Melun Mazamet
action union
action filter_type
action find
entity Melun
relation shares border with
type type of french administrative division
action filter_type
action find
entity Mazamet
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Melun'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Mazamet']
SELECT DISTINCT ?s WHERE { { resource:Melun property:shares_border_with ?s . ?s rdf:type ontology:type_of_french_administrative_division } UNION { resource:Mazamet property:shares_border_with ?s . ?s rdf:type ontology:type_of_french_administrative_division } }
[]
type of french administrative division
Q1620117 Q245095 Q742973
SYSTEM
Labruguière, Dammarie-lès-Lys, Pont-de-Larn
Q845829 Q245095 Q271798 Q242983 Q1456478 Q1058178 Q900980 Q899554 Q192178 Q742973 Q1228319 Q1339750 Q1620117 Q684056 Q1083258 Q187728 Q189126 Q1620321 Q1087014 Q1020754
(c(Q20667921),P47,Q41139) (c(Q20667921),P47,Q631977)
action union
action filter_type
action find
entity Q41139
relation P47
type Q20667921
action filter_type
action find
entity Q631977
relation P47
type Q20667921
[ANSWERS] have an adjacent border with Melun and Mazamet
[{'concept': 'Q20667921'}, 'P47', 'Q41139'] [{'concept': 'Q20667921'}, 'P47', 'Q631977']
SELECT DISTINCT ?s WHERE { { resource:Q41139 property:P47 ?s . ?s rdf:type ontology:Q20667921 } UNION { resource:Q631977 property:P47 ?s . ?s rdf:type ontology:Q20667921 } }
Maincy Dammarie-lès-Lys La Rochette Vaux-le-Pénil Voisenon Le Mée-sur-Seine Rubelles Vert-Saint-Denis Roquefère Pont-de-Larn Aiguefonde Bout-du-Pont-de-Larn Labruguière Aussillon Pradelles-Cabardès Castans Labastide-Esparbairenque Saint-Amans-Soult Les Martys Mas-Cabardès
Labruguière, Dammarie-lès-Lys and Pont-de-Larn have an adjacent border with Melun and Mazamet
Labruguière Dammarie-lès-Lys Pont-de-Larn
action union
action filter_type
action find
entity Melun
relation shares border with
type type of french administrative division
action filter_type
action find
entity Mazamet
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Melun'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Mazamet']
SELECT DISTINCT ?s WHERE { { resource:Melun property:shares_border_with ?s . ?s rdf:type ontology:type_of_french_administrative_division } UNION { resource:Mazamet property:shares_border_with ?s . ?s rdf:type ontology:type_of_french_administrative_division } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1620117 Q245095 Q742973
P47
Q20667921
USER
Which french administrative divisions do those ones share a border with ?
(c(Q20667921),P47,Q1620117) (c(Q20667921),P47,Q245095) (c(Q20667921),P47,Q742973)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q1620117'] [{'concept': 'Q20667921'}, 'P47', 'Q245095'] [{'concept': 'Q20667921'}, 'P47', 'Q742973']
SELECT DISTINCT ?e WHERE { ?y property:P47 ?e . VALUES ( ?y ) { ( resource:Q845829 ) ( resource:Q245095 ) ( resource:Q271798 ) } . ?e rdf:type ontology:Q20667921 }
Labruguière Dammarie-lès-Lys Pont-de-Larn
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Labruguière'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Dammarie-lès-Lys'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Pont-de-Larn']
SELECT DISTINCT ?e WHERE { ?y property:shares_border_with ?e . VALUES ( ?y ) { ( resource:Maincy ) ( resource:Dammarie-lès-Lys ) ( resource:La_Rochette ) } . ?e rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q188776 Q182872 Q631977
SYSTEM
Castres, Fontainebleau, Mazamet
Q1086439 Q1228319 Q188776 Q1017246 Q1619719 Q631977 Q1464841 Q1620826 Q1622584 Q1087014 Q923754 Q41139 Q1458819 Q271798 Q182872 Q1058178 Q243376 Q275100 Q1416731 Q746626 Q1339750 Q1619658 Q684056 Q1391081 Q631977 Q1599630 Q1618935 Q1390241
(c(Q20667921),P47,Q1620117) (c(Q20667921),P47,Q245095) (c(Q20667921),P47,Q742973)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
Those ones share a border with [ANSWERS]
[{'concept': 'Q20667921'}, 'P47', 'Q1620117'] [{'concept': 'Q20667921'}, 'P47', 'Q245095'] [{'concept': 'Q20667921'}, 'P47', 'Q742973']
SELECT DISTINCT ?e WHERE { ?y property:P47 ?e . VALUES ( ?y ) { ( resource:Q845829 ) ( resource:Q245095 ) ( resource:Q271798 ) } . ?e rdf:type ontology:Q20667921 }
Cuxac-Cabardès Aiguefonde Castres Laprade Saint-Affrique-les-Montagnes Mazamet Caucalières Escoussens Lagarrigue Les Martys Navès Melun Villiers-en-Bière La Rochette Fontainebleau Le Mée-sur-Seine Boissise-la-Bertrand Boissettes Boissise-le-Roi Boissezon Bout-du-Pont-de-Larn Saint-Amans-Valtoret Aussillon Le Rialet Mazamet Payrin-Augmontel Le Vintrou Noailhac
Those ones share a border with Castres, Fontainebleau and Mazamet
Castres Fontainebleau Mazamet
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Labruguière'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Dammarie-lès-Lys'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Pont-de-Larn']
SELECT DISTINCT ?e WHERE { ?y property:shares_border_with ?e . VALUES ( ?y ) { ( resource:Maincy ) ( resource:Dammarie-lès-Lys ) ( resource:La_Rochette ) } . ?e rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q182872
P119
Q502895
USER
Who has Fontainebleau as his/her tomb ?
(c(Q502895),P119,Q182872)
action filter_type
action find_reverse
entity Q182872
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q182872']
SELECT DISTINCT ?l WHERE { ?l property:P119 resource:Q182872 . ?l rdf:type ontology:Q502895 }
Fontainebleau
action filter_type
action find_reverse
entity Fontainebleau
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Fontainebleau']
SELECT DISTINCT ?l WHERE { ?l property:place_of_burial resource:Fontainebleau . ?l rdf:type ontology:common_name }
[]
common name
Q545045
SYSTEM
Jacques Joseph Champollion-Figeac
Q545045
(c(Q502895),P119,Q182872)
action filter_type
action find_reverse
entity Q182872
relation P119
type Q502895
[ANSWER] has Fontainebleau as his/her tomb
[{'concept': 'Q502895'}, 'P119', 'Q182872']
SELECT DISTINCT ?l WHERE { ?l property:P119 resource:Q182872 . ?l rdf:type ontology:Q502895 }
Jacques Joseph Champollion-Figeac
Jacques Joseph Champollion-Figeac has Fontainebleau as his/her tomb
Jacques Joseph Champollion-Figeac
action filter_type
action find_reverse
entity Fontainebleau
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Fontainebleau']
SELECT DISTINCT ?l WHERE { ?l property:place_of_burial resource:Fontainebleau . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q182872
P20
Q502895
USER
Which people expired at that french administrative division ?
(c(Q502895),P20,Q545045)
action filter_type
action find_reverse
entity Q182872
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q545045']
SELECT DISTINCT ?k WHERE { ?k property:P20 resource:Q182872 . ?k rdf:type ontology:Q502895 }
Fontainebleau
action filter_type
action find_reverse
entity Fontainebleau
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Jacques Joseph Champollion-Figeac']
SELECT DISTINCT ?k WHERE { ?k property:place_of_death resource:Fontainebleau . ?k rdf:type ontology:common_name }
[]
common name
Q1127464 Q130969 Q232132
SYSTEM
Louis, Dauphin of France, Philip IV of France, Infanta Maria Teresa Rafaela of Spain
Q2093037 Q434218 Q2870994 Q3059681 Q19303809 Q17352280 Q2062701 Q777117 Q17771634 Q23906788 Q458288 Q3263346 Q554524 Q330986 Q15407051 Q15969455 Q18600491 Q3166446 Q3260835 Q84021 Q289471 Q3101127 Q544902 Q20968045 Q3340460 Q3142092 Q3384356 Q741189 Q3052512 Q130969 Q18415036 Q1127464 Q3014095 Q2848355 Q316827 Q2830906 Q545045 Q2364458 Q2831715 Q1648249 Q3426666 Q3484173 Q310837 Q589158 Q3054469 Q3309046 Q3169843 Q3385559 Q16011408 Q16504876 Q3161866 Q19332309 Q669966 Q2977400 Q2415583 Q20872088 Q18615871 Q3379624 Q3305193 Q15973007 Q3310742 Q2833760 Q62075 Q3289043 Q232132 Q19945086 Q3163925 Q18115328 Q590472 Q19361112 Q452318 Q3316005 Q517188 Q8309004 Q270632 Q15969310 Q2847306 Q2702473 Q13508635 Q11309738 Q77022 Q586321 Q949712 Q333563 Q3620374 Q8324496 Q15967927 Q18245329 Q18221922 Q1684858 Q3060192 Q767 Q2861795 Q1526268 Q26210732 Q15967835 Q3369704 Q238227 Q730383 Q2331561 Q3387413 Q15968894 Q669893 Q8323231 Q21510532 Q3174482 Q3167042 Q1383101
(c(Q502895),P20,Q545045)
action filter_type
action find_reverse
entity Q182872
relation P20
type Q502895
[ANSWERS] expired at that french administrative division
[{'concept': 'Q502895'}, 'P20', 'Q545045']
SELECT DISTINCT ?k WHERE { ?k property:P20 resource:Q182872 . ?k rdf:type ontology:Q502895 }
Stanislas d'Escayrac de Lauture Henri Labrouste Auguste Defauconpret Eugène Alexandre Husson Paul Baignères Jacques Louis François Milet Paul Tavernier Jean Dubois the Elder Jean Cochery Charles Regnaud Alexandre-Gabriel Decamps Louis d'Andigné Claude Augé Nikolay Alexeyevich Orlov Geneviève Calame-Griaule Laurent Bertrand Léon Richet Jean-Jacques Weiss Louis-Pierre Spindler Hubert Beuve-Méry Étienne Bézout Geoffroy Frotier de Bagneux Oscar Milosz Nikolai Ivanovitch Troubetzkoy Nicolas Joseph Schreiber Hubert Parot Pierre Champagne Jean Fernel Emmanuel Viollet-le-Duc Philip IV of France Philippe Langlois-Berthelot Louis, Dauphin of France Daniel Gillois André Navereau Louis François, duc de Boufflers Albert Jacques Joseph Champollion-Figeac René Poupardin Albertine Elisabeth de Champcenetz Joseph-Marie Lo Duca René Ménard Simon-Nicolas Guyardin Louis, Grand Condé Simon Arnauld de Pomponne Ennemond Allemand de Montmartin Michel Bollot Jean-Pierre de Gallien Pierre Jacques du Bousquet d'Argence Jean des Moutis Eugène Delesalle Jane Graverol Camille Decreus Jules Pasdeloup Claude-François Denecourt Ambroise Dubois Henri-Dieudonné-Désiré Boucher Adèle Riché Philippe Comairas Mellon Jolly Athanase Hyacinthe Bouvet de Lozier Michel Roche Alexandre Jacques François de Courson de La Villevallio Johann Friedrich Franz Burgmüller Marcel A. Hugues Infanta Maria Teresa Rafaela of Spain Henry Putz Jean-Baptiste Bô Louis Judicis de Mirandol Louis Auguste, Prince of Dombes Laure Rey Sebastiano Serlio Mireille Perrey Jean-Antoine Romagnesi Marie Diémer Katherine Mansfield Charles Plan de Siéyès André Billy André Corap Louis Stanislas Xavier Soyez Auguste Lambiotte Hermann Goldschmidt Antoine Guenée Louis Armand I, Prince of Conti Niccolò dell'Abbate Antonio da Trento Paul Dufour Louis-Nicolas Van Blarenberghe Léo-Jean Luguet Philippe Joseph Patel Jean-François Tapray Eugène Thomas Stéphane Mallarmé Armand Cassagne Giovanni Rinaldo Monaldeschi Charles Edme Saint Marcel Jean-Baptiste Jacquin Patrick Millow Louise de Coligny Jean Cruppi Jean-Jacques Paulet Pierre d'Ailleboust Nicolas Jean-Baptiste Boyard Georges Mandel Antony Choudens Pierre Doignon Jean Rupert Jean-Louis du Temple de Rougemont François-Auguste Biard
Louis, Dauphin of France, Philip IV of France and Infanta Maria Teresa Rafaela of Spain expired at that french administrative division
Louis, Dauphin of France Philip IV of France Infanta Maria Teresa Rafaela of Spain
action filter_type
action find_reverse
entity Fontainebleau
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Jacques Joseph Champollion-Figeac']
SELECT DISTINCT ?k WHERE { ?k property:place_of_death resource:Fontainebleau . ?k rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2850506 Q545045
P7
Q502895
USER
Which people have Jacques Joseph Champollion-Figeac or Anna Gould as their brother ?
OR((Q545045,P7,c(Q502895)), (Q2850506,P7,c(Q502895)))
action filter_type
action union
action find
entity Q545045
relation P7
action find
entity Q2850506
relation P7
type Q502895
{'OR': [['Q545045', 'P7', {'concept': 'Q502895'}], ['Q2850506', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { ?a property:P7 ?j . VALUES ( ?a ) { ( resource:Q2850506 ) ( resource:Q545045 ) } } . ?j rdf:type ontology:Q502895 }
Anna Gould Jacques Joseph Champollion-Figeac
action filter_type
action union
action find
entity Jacques Joseph Champollion-Figeac
relation brother
action find
entity Anna Gould
relation brother
type common name
{'OR': [['Jacques Joseph Champollion-Figeac', 'brother', {'concept': 'common name'}], ['Anna Gould', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { ?a property:brother ?j . VALUES ( ?a ) { ( resource:Anna_Gould ) ( resource:Jacques_Joseph_Champollion-Figeac ) } } . ?j rdf:type ontology:common_name }
[]
common name
Q5919784 Q260 Q3101668 Q3082670 Q5346460
SYSTEM
Howard Gould, Jean-François Champollion, George Jay Gould I, Frank Jay Gould, Edwin Gould I
Q5919784 Q260 Q3101668 Q3082670 Q5346460
OR((Q545045,P7,c(Q502895)), (Q2850506,P7,c(Q502895)))
action filter_type
action union
action find
entity Q545045
relation P7
action find
entity Q2850506
relation P7
type Q502895
[ANSWERS] have Jacques Joseph Champollion-Figeac or Anna Gould as their brother
{'OR': [['Q545045', 'P7', {'concept': 'Q502895'}], ['Q2850506', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { ?a property:P7 ?j . VALUES ( ?a ) { ( resource:Q2850506 ) ( resource:Q545045 ) } } . ?j rdf:type ontology:Q502895 }
Howard Gould Jean-François Champollion George Jay Gould I Frank Jay Gould Edwin Gould I
Howard Gould, Jean-François Champollion, George Jay Gould I, Frank Jay Gould and Edwin Gould I have Jacques Joseph Champollion-Figeac or Anna Gould as their brother
Howard Gould Jean-François Champollion George Jay Gould I Frank Jay Gould Edwin Gould I
action filter_type
action union
action find
entity Jacques Joseph Champollion-Figeac
relation brother
action find
entity Anna Gould
relation brother
type common name
{'OR': [['Jacques Joseph Champollion-Figeac', 'brother', {'concept': 'common name'}], ['Anna Gould', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { ?a property:brother ?j . VALUES ( ?a ) { ( resource:Anna_Gould ) ( resource:Jacques_Joseph_Champollion-Figeac ) } } . ?j rdf:type ontology:common_name }
[]