Simple Question (Direct)
Simple Question
Q2853998
P21
Q290
USER
Which sex does Antoine Girard possess ?
(Q2853998,P21,c(Q290))
action filter_type
action find
entity Q2853998
relation P21
type Q290
['Q2853998', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q2853998 property:P21 ?t . ?t rdf:type ontology:Q290 }
Antoine Girard
action filter_type
action find
entity Antoine Girard
relation gender
type sex
['Antoine Girard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Antoine_Girard property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2853998,P21,c(Q290))
action filter_type
action find
entity Q2853998
relation P21
type Q290
Antoine Girard possesses un [ANSWER]
['Q2853998', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q2853998 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Antoine Girard possesses un male
male
action filter_type
action find
entity Antoine Girard
relation gender
type sex
['Antoine Girard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Antoine_Girard property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2853998
P20
Q20667921
USER
Where did the expiration of Antoine Girard occur ?
(Q2853998,P20,c(Q20667921))
action filter_type
action find
entity Q2853998
relation P20
type Q20667921
['Q2853998', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q20667921 . resource:Q2853998 property:P20 ?y }
Antoine Girard
action filter_type
action find
entity Antoine Girard
relation place of death
type type of french administrative division
['Antoine Girard', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:type_of_french_administrative_division . resource:Antoine_Girard property:place_of_death ?y }
[]
type of french administrative division
Q343
SYSTEM
La Flèche
Q343
(Q2853998,P20,c(Q20667921))
action filter_type
action find
entity Q2853998
relation P20
type Q20667921
The expiration of Antoine Girard occurred in [ANSWER]
['Q2853998', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q20667921 . resource:Q2853998 property:P20 ?y }
La Flèche
The expiration of Antoine Girard occurred in La Flèche
La Flèche
action filter_type
action find
entity Antoine Girard
relation place of death
type type of french administrative division
['Antoine Girard', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:type_of_french_administrative_division . resource:Antoine_Girard property:place_of_death ?y }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19631354
Q20667921
USER
And how about Louis Jean David le Trésor du Bactot?
(Q19631354,P20,c(Q20667921))
action filter_type
action find
entity Q19631354
relation P20
type Q20667921
['Q19631354', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q19631354 property:P20 ?n . ?n rdf:type ontology:Q20667921 }
Louis Jean David le Trésor du Bactot
action filter_type
action find
entity Louis Jean David le Trésor du Bactot
relation place of death
type type of french administrative division
['Louis Jean David le Trésor du Bactot', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Louis_Jean_David_le_Trésor_du_Bactot property:place_of_death ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q733474
SYSTEM
Feugères
Q733474
(Q19631354,P20,c(Q20667921))
action filter_type
action find
entity Q19631354
relation P20
type Q20667921
[ANSWER]
['Q19631354', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q19631354 property:P20 ?n . ?n rdf:type ontology:Q20667921 }
Feugères
Feugères
action filter_type
action find
entity Louis Jean David le Trésor du Bactot
relation place of death
type type of french administrative division
['Louis Jean David le Trésor du Bactot', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Louis_Jean_David_le_Trésor_du_Bactot property:place_of_death ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q733474 Q474453
P47
Q20667921
USER
Is Hauteville-la-Guichard bordered by Feugères ?
(Q733474,P47,Q474453)
action is_in
entity Q474453
action find
entity Q733474
relation P47
['Q733474', 'P47', 'Q474453']
ASK WHERE { resource:Q733474 property:P47 resource:Q474453 }
Feugères Hauteville-la-Guichard
action is_in
entity Hauteville-la-Guichard
action find
entity Feugères
relation shares border with
['Feugères', 'shares border with', 'Hauteville-la-Guichard']
ASK WHERE { resource:Feugères property:shares_border_with resource:Hauteville-la-Guichard }
[]
type of french administrative division
SYSTEM
YES
(Q733474,P47,Q474453)
action is_in
entity Q474453
action find
entity Q733474
relation P47
[ANSWER]
['Q733474', 'P47', 'Q474453']
ASK WHERE { resource:Q733474 property:P47 resource:Q474453 }
Yes
action is_in
entity Hauteville-la-Guichard
action find
entity Feugères
relation shares border with
['Feugères', 'shares border with', 'Hauteville-la-Guichard']
ASK WHERE { resource:Feugères property:shares_border_with resource:Hauteville-la-Guichard }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q343 Q587864 Q1067922
P47
Q20667921
USER
Is La Flèche bordered by Houlbec-Cocherel and Saint-Christophe-sur-Guiers ?
(Q343,P47,Q587864) (Q343,P47,Q1067922)
action is_in
entity Q343
action intersection
action find_reverse
entity Q587864
relation P47
action find_reverse
entity Q1067922
relation P47
['Q343', 'P47', 'Q587864'] ['Q343', 'P47', 'Q1067922']
ASK WHERE { resource:Q343 property:P47 resource:Q587864 . resource:Q343 property:P47 resource:Q1067922 }
La Flèche Houlbec-Cocherel Saint-Christophe-sur-Guiers
action is_in
entity La Flèche
action intersection
action find_reverse
entity Houlbec-Cocherel
relation shares border with
action find_reverse
entity Saint-Christophe-sur-Guiers
relation shares border with
['La Flèche', 'shares border with', 'Houlbec-Cocherel'] ['La Flèche', 'shares border with', 'Saint-Christophe-sur-Guiers']
ASK WHERE { resource:La_Flèche property:shares_border_with resource:Houlbec-Cocherel . resource:La_Flèche property:shares_border_with resource:Saint-Christophe-sur-Guiers }
[]
type of french administrative division
SYSTEM
NO
(Q343,P47,Q587864) (Q343,P47,Q1067922)
action is_in
entity Q343
action intersection
action find_reverse
entity Q587864
relation P47
action find_reverse
entity Q1067922
relation P47
[ANSWER]
['Q343', 'P47', 'Q587864'] ['Q343', 'P47', 'Q1067922']
ASK WHERE { resource:Q343 property:P47 resource:Q587864 . resource:Q343 property:P47 resource:Q1067922 }
No
action is_in
entity La Flèche
action intersection
action find_reverse
entity Houlbec-Cocherel
relation shares border with
action find_reverse
entity Saint-Christophe-sur-Guiers
relation shares border with
['La Flèche', 'shares border with', 'Houlbec-Cocherel'] ['La Flèche', 'shares border with', 'Saint-Christophe-sur-Guiers']
ASK WHERE { resource:La_Flèche property:shares_border_with resource:Houlbec-Cocherel . resource:La_Flèche property:shares_border_with resource:Saint-Christophe-sur-Guiers }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q1067922
P47 P17
Q20667921
USER
Which french administrative divisions are bordered by Saint-Christophe-sur-Guiers and are situated in France ?
AND((c(Q20667921),P47,Q1067922), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q1067922
relation P47
action find_reverse
entity Q142
relation P17
type Q20667921
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q1067922'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?a WHERE { ?a property:P47 resource:Q1067922 . ?a property:P17 resource:Q142 . ?a rdf:type ontology:Q20667921 }
France Saint-Christophe-sur-Guiers
action filter_type
action intersection
action find_reverse
entity Saint-Christophe-sur-Guiers
relation shares border with
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Christophe-sur-Guiers'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?a WHERE { ?a property:shares_border_with resource:Saint-Christophe-sur-Guiers . ?a property:country resource:France . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q638647 Q1150639 Q301496 Q1069696 Q538131 Q1218326 Q582139
SYSTEM
Saint-Pierre-de-Chartreuse, Saint-Pierre-d'Entremont, Saint-Laurent-du-Pont, Entre-deux-Guiers, Les Échelles, Saint-Christophe, Corbel, Savoie
Q638647 Q1150639 Q301496 Q1069696 Q538131 Q1218326 Q582139
AND((c(Q20667921),P47,Q1067922), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q1067922
relation P47
action find_reverse
entity Q142
relation P17
type Q20667921
[ANSWERS]
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q1067922'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?a WHERE { ?a property:P47 resource:Q1067922 . ?a property:P17 resource:Q142 . ?a rdf:type ontology:Q20667921 }
Saint-Pierre-de-Chartreuse Saint-Pierre-d'Entremont Saint-Laurent-du-Pont Entre-deux-Guiers Les Échelles Saint-Christophe Corbel, Savoie
Saint-Pierre-de-Chartreuse, Saint-Pierre-d'Entremont, Saint-Laurent-du-Pont, Entre-deux-Guiers, Les Échelles, Saint-Christophe and Corbel, Savoie are bordered by Saint-Christophe-sur-Guiers and are situated in France
Saint-Pierre-de-Chartreuse Saint-Pierre-d'Entremont Saint-Laurent-du-Pont Entre-deux-Guiers Les Échelles Saint-Christophe Corbel, Savoie
action filter_type
action intersection
action find_reverse
entity Saint-Christophe-sur-Guiers
relation shares border with
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Christophe-sur-Guiers'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?a WHERE { ?a property:shares_border_with resource:Saint-Christophe-sur-Guiers . ?a property:country resource:France . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1070407
P47
Q20667921
USER
Do Le Manoir have an adjacent border with those ones ?
(Q1070407,P47,Q638647) (Q1070407,P47,Q1150639) (Q1070407,P47,Q301496) (Q1070407,P47,Q1069696) (Q1070407,P47,Q538131) (Q1070407,P47,Q1218326) (Q1070407,P47,Q582139)
action is_in
entity prev_answer
action find
entity Q1070407
relation P47
['Q1070407', 'P47', 'Q638647'] ['Q1070407', 'P47', 'Q1150639'] ['Q1070407', 'P47', 'Q301496'] ['Q1070407', 'P47', 'Q1069696'] ['Q1070407', 'P47', 'Q538131'] ['Q1070407', 'P47', 'Q1218326'] ['Q1070407', 'P47', 'Q582139']
ASK WHERE { VALUES ( ?r ) { ( resource:Q638647 ) ( resource:Q1150639 ) ( resource:Q301496 ) } . resource:Q1070407 property:P47 ?r }
Le Manoir
action is_in
entity prev_answer
action find
entity Le Manoir
relation shares border with
['Le Manoir', 'shares border with', 'Saint-Pierre-de-Chartreuse'] ['Le Manoir', 'shares border with', "Saint-Pierre-d'Entremont"] ['Le Manoir', 'shares border with', 'Saint-Laurent-du-Pont'] ['Le Manoir', 'shares border with', 'Entre-deux-Guiers'] ['Le Manoir', 'shares border with', 'Les Échelles'] ['Le Manoir', 'shares border with', 'Saint-Christophe'] ['Le Manoir', 'shares border with', 'Corbel, Savoie']
ASK WHERE { VALUES ( ?r ) { ( resource:Saint-Pierre-de-Chartreuse ) ( resource:Saint-Pierre-d'Entremont ) ( resource:Saint-Laurent-du-Pont ) } . resource:Le_Manoir property:shares_border_with ?r }
[]
type of french administrative division
SYSTEM
NO
(Q1070407,P47,Q638647) (Q1070407,P47,Q1150639) (Q1070407,P47,Q301496) (Q1070407,P47,Q1069696) (Q1070407,P47,Q538131) (Q1070407,P47,Q1218326) (Q1070407,P47,Q582139)
action is_in
entity prev_answer
action find
entity Q1070407
relation P47
[ANSWER]
['Q1070407', 'P47', 'Q638647'] ['Q1070407', 'P47', 'Q1150639'] ['Q1070407', 'P47', 'Q301496'] ['Q1070407', 'P47', 'Q1069696'] ['Q1070407', 'P47', 'Q538131'] ['Q1070407', 'P47', 'Q1218326'] ['Q1070407', 'P47', 'Q582139']
ASK WHERE { VALUES ( ?r ) { ( resource:Q638647 ) ( resource:Q1150639 ) ( resource:Q301496 ) } . resource:Q1070407 property:P47 ?r }
No
action is_in
entity prev_answer
action find
entity Le Manoir
relation shares border with
['Le Manoir', 'shares border with', 'Saint-Pierre-de-Chartreuse'] ['Le Manoir', 'shares border with', "Saint-Pierre-d'Entremont"] ['Le Manoir', 'shares border with', 'Saint-Laurent-du-Pont'] ['Le Manoir', 'shares border with', 'Entre-deux-Guiers'] ['Le Manoir', 'shares border with', 'Les Échelles'] ['Le Manoir', 'shares border with', 'Saint-Christophe'] ['Le Manoir', 'shares border with', 'Corbel, Savoie']
ASK WHERE { VALUES ( ?r ) { ( resource:Saint-Pierre-de-Chartreuse ) ( resource:Saint-Pierre-d'Entremont ) ( resource:Saint-Laurent-du-Pont ) } . resource:Le_Manoir property:shares_border_with ?r }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1069696 Q142
P17
Q15617994
USER
Is Entre-deux-Guiers present in France ?
(Q1069696,P17,Q142)
action is_in
entity Q142
action find
entity Q1069696
relation P17
['Q1069696', 'P17', 'Q142']
ASK WHERE { resource:Q1069696 property:P17 resource:Q142 }
Entre-deux-Guiers France
action is_in
entity France
action find
entity Entre-deux-Guiers
relation country
['Entre-deux-Guiers', 'country', 'France']
ASK WHERE { resource:Entre-deux-Guiers property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1069696,P17,Q142)
action is_in
entity Q142
action find
entity Q1069696
relation P17
[ANSWER]
['Q1069696', 'P17', 'Q142']
ASK WHERE { resource:Q1069696 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity Entre-deux-Guiers
relation country
['Entre-deux-Guiers', 'country', 'France']
ASK WHERE { resource:Entre-deux-Guiers property:country resource:France }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q733474 Q243521
P17
Q15617994
USER
Is Feugères situated in Vicovaro ?
(Q733474,P17,Q243521)
action is_in
entity Q243521
action find
entity Q733474
relation P17
['Q733474', 'P17', 'Q243521']
ASK WHERE { resource:Q733474 property:P17 resource:Q243521 }
Feugères Vicovaro
action is_in
entity Vicovaro
action find
entity Feugères
relation country
['Feugères', 'country', 'Vicovaro']
ASK WHERE { resource:Feugères property:country resource:Vicovaro }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q733474,P17,Q243521)
action is_in
entity Q243521
action find
entity Q733474
relation P17
[ANSWER]
['Q733474', 'P17', 'Q243521']
ASK WHERE { resource:Q733474 property:P17 resource:Q243521 }
No
action is_in
entity Vicovaro
action find
entity Feugères
relation country
['Feugères', 'country', 'Vicovaro']
ASK WHERE { resource:Feugères property:country resource:Vicovaro }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21741 Q733474
P47
Q20667921
USER
Which french administrative divisions are adjacent to Feugères or Sotzeling ?
OR((Q733474,P47,c(Q20667921)), (Q21741,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q733474
relation P47
action find
entity Q21741
relation P47
type Q20667921
{'OR': [['Q733474', 'P47', {'concept': 'Q20667921'}], ['Q21741', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q733474 property:P47 ?g } UNION { resource:Q21741 property:P47 ?g } } . ?g rdf:type ontology:Q20667921 }
Sotzeling Feugères
action filter_type
action union
action find
entity Feugères
relation shares border with
action find
entity Sotzeling
relation shares border with
type type of french administrative division
{'OR': [['Feugères', 'shares border with', {'concept': 'type of french administrative division'}], ['Sotzeling', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Feugères property:shares_border_with ?g } UNION { resource:Sotzeling property:shares_border_with ?g } } . ?g rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1071483 Q1061703 Q1103976 Q474453 Q21727 Q21638 Q22388 Q1103933 Q22372 Q1063641
SYSTEM
Some of them are Lozon, Saint-Martin-d'Aubigny, Le Mesnil-Vigot, Hauteville-la-Guichard, Conthil, Haboudange, Château-Voué, Montcuit, Riche, Le Mesnilbus
Q1063307 Q21727 Q22388 Q21638 Q474453 Q22372 Q1063641 Q1103933 Q1061703 Q1071483 Q1103976
OR((Q733474,P47,c(Q20667921)), (Q21741,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q733474
relation P47
action find
entity Q21741
relation P47
type Q20667921
[ANSWERS] are adjacent to Feugères or Sotzeling
{'OR': [['Q733474', 'P47', {'concept': 'Q20667921'}], ['Q21741', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q733474 property:P47 ?g } UNION { resource:Q21741 property:P47 ?g } } . ?g rdf:type ontology:Q20667921 }
Marchésieux Conthil Château-Voué Haboudange Hauteville-la-Guichard Riche Le Mesnilbus Montcuit Saint-Martin-d'Aubigny Lozon Le Mesnil-Vigot
Lozon, Saint-Martin-d'Aubigny, Le Mesnil-Vigot, Hauteville-la-Guichard, Conthil, Haboudange, Château-Voué, Montcuit, Riche and Le Mesnilbus are adjacent to Feugères or Sotzeling
Lozon Saint-Martin-d'Aubigny Le Mesnil-Vigot Hauteville-la-Guichard Conthil Haboudange Château-Voué Montcuit Riche Le Mesnilbus
action filter_type
action union
action find
entity Feugères
relation shares border with
action find
entity Sotzeling
relation shares border with
type type of french administrative division
{'OR': [['Feugères', 'shares border with', {'concept': 'type of french administrative division'}], ['Sotzeling', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Feugères property:shares_border_with ?g } UNION { resource:Sotzeling property:shares_border_with ?g } } . ?g rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1071483 Q1061703 Q1103976 Q474453 Q21727 Q21638 Q22388 Q1103933 Q22372 Q1063641
P47
Q20667921
USER
Which french administrative divisions do Lozon, Saint-Martin-d'Aubigny, Le Mesnil-Vigot, Hauteville-la-Guichard, Conthil, Haboudange, Château-Voué, Montcuit, Riche and Le Mesnilbus share a border with ?
(c(Q20667921),P47,Q1071483) (c(Q20667921),P47,Q1061703) (c(Q20667921),P47,Q1103976) (c(Q20667921),P47,Q474453) (c(Q20667921),P47,Q21727) (c(Q20667921),P47,Q21638) (c(Q20667921),P47,Q22388) (c(Q20667921),P47,Q1103933) (c(Q20667921),P47,Q22372) (c(Q20667921),P47,Q1063641)
action union
action filter_type
action find_reverse
entity Q1071483
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q1061703
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q1103976
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q474453
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q21727
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q21638
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q22388
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q1103933
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q22372
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q1063641
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q1071483'] [{'concept': 'Q20667921'}, 'P47', 'Q1061703'] [{'concept': 'Q20667921'}, 'P47', 'Q1103976'] [{'concept': 'Q20667921'}, 'P47', 'Q474453'] [{'concept': 'Q20667921'}, 'P47', 'Q21727'] [{'concept': 'Q20667921'}, 'P47', 'Q21638'] [{'concept': 'Q20667921'}, 'P47', 'Q22388'] [{'concept': 'Q20667921'}, 'P47', 'Q1103933'] [{'concept': 'Q20667921'}, 'P47', 'Q22372'] [{'concept': 'Q20667921'}, 'P47', 'Q1063641']
SELECT DISTINCT ?a WHERE { ?a property:P47 ?u . VALUES ( ?u ) { ( resource:Q1071483 ) ( resource:Q1061703 ) } }
Lozon Saint-Martin-d'Aubigny Le Mesnil-Vigot Hauteville-la-Guichard Conthil Haboudange Château-Voué Montcuit Riche Le Mesnilbus
action union
action filter_type
action find_reverse
entity Lozon
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Saint-Martin-d'Aubigny
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Le Mesnil-Vigot
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Hauteville-la-Guichard
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Conthil
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Haboudange
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Château-Voué
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Montcuit
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Riche
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Le Mesnilbus
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Lozon'] [{'concept': 'type of french administrative division'}, 'shares border with', "Saint-Martin-d'Aubigny"] [{'concept': 'type of french administrative division'}, 'shares border with', 'Le Mesnil-Vigot'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Hauteville-la-Guichard'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Conthil'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Haboudange'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Château-Voué'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Montcuit'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Riche'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Le Mesnilbus']
SELECT DISTINCT ?a WHERE { ?a property:shares_border_with ?u . VALUES ( ?u ) { ( resource:Lozon ) ( resource:Saint-Martin-d'Aubigny ) } }
[]
type of french administrative division
Q686951 Q1063307 Q1063307
SYSTEM
Périers for 1st, Marchésieux for 2nd, 3rd
Q21979881 Q530407 Q733474 Q568257 Q474453 Q1001685 Q526889 Q1103976 Q1102893 Q1063641 Q958846 Q733474 Q686951 Q1063307 Q1071483 Q530407 Q733474 Q1063307 Q1071483 Q1063405 Q21979881 Q733474 Q1103933 Q22353 Q22372 Q21715 Q21771 Q21747 Q22407 Q21741 Q22388 Q21613 Q21618 Q21626 Q22372 Q21741 Q21975 Q22388 Q21574 Q21618 Q21638 Q21731 Q21727 Q21711 Q21715 Q21741 Q21584 Q21577 Q1063405 Q1063641 Q733474 Q1062037 Q474453 Q596686 Q1102762 Q579867 Q21638 Q22353 Q21727 Q21741 Q21975 Q958846 Q733474 Q1062037 Q1061703 Q1103933
(c(Q20667921),P47,Q1071483) (c(Q20667921),P47,Q1061703) (c(Q20667921),P47,Q1103976) (c(Q20667921),P47,Q474453) (c(Q20667921),P47,Q21727) (c(Q20667921),P47,Q21638) (c(Q20667921),P47,Q22388) (c(Q20667921),P47,Q1103933) (c(Q20667921),P47,Q22372) (c(Q20667921),P47,Q1063641)
action union
action filter_type
action find_reverse
entity Q1071483
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q1061703
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q1103976
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q474453
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q21727
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q21638
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q22388
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q1103933
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q22372
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q1063641
relation P47
type Q20667921
[ANSWERS]
[{'concept': 'Q20667921'}, 'P47', 'Q1071483'] [{'concept': 'Q20667921'}, 'P47', 'Q1061703'] [{'concept': 'Q20667921'}, 'P47', 'Q1103976'] [{'concept': 'Q20667921'}, 'P47', 'Q474453'] [{'concept': 'Q20667921'}, 'P47', 'Q21727'] [{'concept': 'Q20667921'}, 'P47', 'Q21638'] [{'concept': 'Q20667921'}, 'P47', 'Q22388'] [{'concept': 'Q20667921'}, 'P47', 'Q1103933'] [{'concept': 'Q20667921'}, 'P47', 'Q22372'] [{'concept': 'Q20667921'}, 'P47', 'Q1063641']
SELECT DISTINCT ?a WHERE { ?a property:P47 ?u . VALUES ( ?u ) { ( resource:Q1071483 ) ( resource:Q1061703 ) } }
Marigny-le-Lozon Remilly-sur-Lozon Feugères Le Mesnil-Eury Hauteville-la-Guichard Marigny Montreuil-sur-Lozon Le Mesnil-Vigot Saint-Sébastien-de-Raids Le Mesnilbus Saint-Aubin-du-Perron Feugères Périers Marchésieux Lozon Remilly-sur-Lozon Feugères Marchésieux Lozon Le Lorey Marigny-le-Lozon Feugères Montcuit Morhange Riche Wuisse Rodalbe Zarbeling Racrange Sotzeling Château-Voué Dalhain Burlioncourt Achain Riche Sotzeling Pévange Château-Voué Bellange Burlioncourt Haboudange Saint-Médard Conthil Obreck Wuisse Sotzeling Hampont Haraucourt-sur-Seille Le Lorey Le Mesnilbus Feugères Saint-Michel-de-la-Pierre Hauteville-la-Guichard Camprond Saint-Sauveur-Lendelin Cambernon Haboudange Morhange Conthil Sotzeling Pévange Saint-Aubin-du-Perron Feugères Saint-Michel-de-la-Pierre Saint-Martin-d'Aubigny Montcuit
Périers, Marchésieux and Marchésieux Lozon, Saint-Martin-d'Aubigny, Le Mesnil-Vigot, Hauteville-la-Guichard, Conthil, Haboudange, Château-Voué, Montcuit, Riche and Le Mesnilbus share a border with
Périers Marchésieux Marchésieux
action union
action filter_type
action find_reverse
entity Lozon
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Saint-Martin-d'Aubigny
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Le Mesnil-Vigot
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Hauteville-la-Guichard
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Conthil
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Haboudange
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Château-Voué
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Montcuit
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Riche
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Le Mesnilbus
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Lozon'] [{'concept': 'type of french administrative division'}, 'shares border with', "Saint-Martin-d'Aubigny"] [{'concept': 'type of french administrative division'}, 'shares border with', 'Le Mesnil-Vigot'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Hauteville-la-Guichard'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Conthil'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Haboudange'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Château-Voué'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Montcuit'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Riche'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Le Mesnilbus']
SELECT DISTINCT ?a WHERE { ?a property:shares_border_with ?u . VALUES ( ?u ) { ( resource:Lozon ) ( resource:Saint-Martin-d'Aubigny ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q301496
P36
Q20667921
USER
Which french administrative divisions are Saint-Laurent-du-Pont the capital of ?
(c(Q20667921),P36,Q301496)
action filter_type
action find_reverse
entity Q301496
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q301496']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q20667921 . ?e property:P36 resource:Q301496 }
Saint-Laurent-du-Pont
action filter_type
action find_reverse
entity Saint-Laurent-du-Pont
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Saint-Laurent-du-Pont']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:type_of_french_administrative_division . ?e property:capital resource:Saint-Laurent-du-Pont }
[]
type of french administrative division
Q17176114 Q917168
SYSTEM
canton of Chartreuse-Guiers, canton of Saint-Laurent-du-Pont
Q17176114 Q917168
(c(Q20667921),P36,Q301496)
action filter_type
action find_reverse
entity Q301496
relation P36
type Q20667921
The [ANSWERS] are Saint-Laurent-du-Pont the capital of
[{'concept': 'Q20667921'}, 'P36', 'Q301496']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q20667921 . ?e property:P36 resource:Q301496 }
canton of Chartreuse-Guiers canton of Saint-Laurent-du-Pont
The canton of Chartreuse-Guiers and canton of Saint-Laurent-du-Pont are Saint-Laurent-du-Pont the capital of
canton of Chartreuse-Guiers canton of Saint-Laurent-du-Pont
action filter_type
action find_reverse
entity Saint-Laurent-du-Pont
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Saint-Laurent-du-Pont']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:type_of_french_administrative_division . ?e property:capital resource:Saint-Laurent-du-Pont }
[]