Simple Question (Direct)
Simple Question
Q219406
P166
Q618779
USER
Which award was Seuil-d'Argonne awarded with ?
(Q219406,P166,c(Q618779))
action filter_type
action find
entity Q219406
relation P166
type Q618779
['Q219406', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q219406 property:P166 ?e . ?e rdf:type ontology:Q618779 }
Seuil-d'Argonne
action filter_type
action find
entity Seuil-d'Argonne
relation award received
type award
["Seuil-d'Argonne", 'award received', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Seuil-d'Argonne property:award_received ?e . ?e rdf:type ontology:award }
[]
award
Q2727598
SYSTEM
Croix de guerre 1914–1918
Q2727598
(Q219406,P166,c(Q618779))
action filter_type
action find
entity Q219406
relation P166
type Q618779
Seuil-d ' Argonne was awarded the [ANSWER]
['Q219406', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q219406 property:P166 ?e . ?e rdf:type ontology:Q618779 }
Croix de guerre 1914–1918
Seuil-d ' Argonne was awarded the Croix de guerre 1914–1918
Croix de guerre 1914–1918
action filter_type
action find
entity Seuil-d'Argonne
relation award received
type award
["Seuil-d'Argonne", 'award received', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Seuil-d'Argonne property:award_received ?e . ?e rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q219406
P19
Q502895
USER
Which person has birthplace at Seuil-d'Argonne ?
(c(Q502895),P19,Q219406)
action filter_type
action find_reverse
entity Q219406
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q219406']
SELECT DISTINCT ?f WHERE { ?f property:P19 resource:Q219406 . ?f rdf:type ontology:Q502895 }
Seuil-d'Argonne
action filter_type
action find_reverse
entity Seuil-d'Argonne
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', "Seuil-d'Argonne"]
SELECT DISTINCT ?f WHERE { ?f property:place_of_birth resource:Seuil-d'Argonne . ?f rdf:type ontology:common_name }
[]
common name
Q15912761
SYSTEM
Nicolas-Éloi Lemaire
Q15912761
(c(Q502895),P19,Q219406)
action filter_type
action find_reverse
entity Q219406
relation P19
type Q502895
[ANSWER] has birthplace at Seuil-d'Argonne
[{'concept': 'Q502895'}, 'P19', 'Q219406']
SELECT DISTINCT ?f WHERE { ?f property:P19 resource:Q219406 . ?f rdf:type ontology:Q502895 }
Nicolas-Éloi Lemaire
Nicolas-Éloi Lemaire has birthplace at Seuil-d'Argonne
Nicolas-Éloi Lemaire
action filter_type
action find_reverse
entity Seuil-d'Argonne
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', "Seuil-d'Argonne"]
SELECT DISTINCT ?f WHERE { ?f property:place_of_birth resource:Seuil-d'Argonne . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q219406
P47
Q20667921
USER
Which french administrative divisions have an adjacent border with Seuil-d'Argonne ?
(c(Q20667921),P47,Q219406)
action filter_type
action find
entity Q219406
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q219406']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q20667921 . resource:Q219406 property:P47 ?s }
Seuil-d'Argonne
action filter_type
action find
entity Seuil-d'Argonne
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', "Seuil-d'Argonne"]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:type_of_french_administrative_division . resource:Seuil-d'Argonne property:shares_border_with ?s }
[]
type of french administrative division
Q1159573 Q684831 Q1097898
SYSTEM
Lisle-en-Barrois, Vaubecourt, Éclaires
Q684831 Q1097898 Q1049392 Q223717 Q1159573 Q1096947 Q1159287
(c(Q20667921),P47,Q219406)
action filter_type
action find
entity Q219406
relation P47
type Q20667921
[ANSWERS] have an adjacent border with Seuil-d'Argonne
[{'concept': 'Q20667921'}, 'P47', 'Q219406']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q20667921 . resource:Q219406 property:P47 ?s }
Vaubecourt Éclaires Brizeaux Foucaucourt-sur-Thabas Lisle-en-Barrois Èvres Les Charmontois
Lisle-en-Barrois, Vaubecourt and Éclaires have an adjacent border with Seuil-d'Argonne
Lisle-en-Barrois Vaubecourt Éclaires
action filter_type
action find
entity Seuil-d'Argonne
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', "Seuil-d'Argonne"]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:type_of_french_administrative_division . resource:Seuil-d'Argonne property:shares_border_with ?s }
[]
Clarification
Simple Question|Single Entity|Indirect
Q684831
P36
Q20667921
USER
Which french administrative division contains that one as its capital ?
(c(Q20667921),P36,Q684831)
action filter_type
action find_reverse
entity Q684831
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q684831']
SELECT DISTINCT ?x WHERE { ?x property:P36 resource:Q684831 . ?x rdf:type ontology:Q20667921 }
Vaubecourt
action filter_type
action find_reverse
entity Vaubecourt
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Vaubecourt']
SELECT DISTINCT ?x WHERE { ?x property:capital resource:Vaubecourt . ?x rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q1159573
SYSTEM
Did you mean Lisle-en-Barrois ?
Q1159573 Q684831 Q1097898
(c(Q20667921),P36,Q1159573) (c(Q20667921),P36,Q684831) (c(Q20667921),P36,Q1097898)
[ANSWER]
[{'concept': 'Q20667921'}, 'P36', 'Q1159573'] [{'concept': 'Q20667921'}, 'P36', 'Q684831'] [{'concept': 'Q20667921'}, 'P36', 'Q1097898']
SELECT DISTINCT ?x WHERE { ?x property:P36 resource:Q684831 . ?x rdf:type ontology:Q20667921 }
Lisle-en-Barrois Vaubecourt Éclaires
Did you mean Lisle-en-Barrois ?
Lisle-en-Barrois
[{'concept': 'type of french administrative division'}, 'capital', 'Lisle-en-Barrois'] [{'concept': 'type of french administrative division'}, 'capital', 'Vaubecourt'] [{'concept': 'type of french administrative division'}, 'capital', 'Éclaires']
SELECT DISTINCT ?x WHERE { ?x property:capital resource:Vaubecourt . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
No, I meant Vaubecourt. Could you tell me the answer for that?
(c(Q20667921),P36,Q684831)
Q684831
[{'concept': 'Q20667921'}, 'P36', 'Q684831']
[{'concept': 'type of french administrative division'}, 'capital', 'Vaubecourt']
[]
Q1727780
SYSTEM
canton of Vaubecourt
Q1727780
(c(Q20667921),P36,Q684831)
action filter_type
action find_reverse
entity Q684831
relation P36
type Q20667921
The [ANSWER] contains that one as its capital
[{'concept': 'Q20667921'}, 'P36', 'Q684831']
SELECT DISTINCT ?x WHERE { ?x property:P36 resource:Q684831 . ?x rdf:type ontology:Q20667921 }
canton of Vaubecourt
The canton of Vaubecourt contains that one as its capital
canton of Vaubecourt
action filter_type
action find_reverse
entity Vaubecourt
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Vaubecourt']
SELECT DISTINCT ?x WHERE { ?x property:capital resource:Vaubecourt . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1727780 Q684831
P1376
Q20667921
USER
Is Vaubecourt the capital of that one ?
(Q684831,P1376,Q1727780)
action is_in
entity Q1727780
action find
entity Q684831
relation P1376
['Q684831', 'P1376', 'Q1727780']
ASK WHERE { resource:Q684831 property:P1376 resource:Q1727780 }
canton of Vaubecourt Vaubecourt
action is_in
entity canton of Vaubecourt
action find
entity Vaubecourt
relation capital of
['Vaubecourt', 'capital of', 'canton of Vaubecourt']
ASK WHERE { resource:Vaubecourt property:capital_of resource:canton_of_Vaubecourt }
[]
type of french administrative division
SYSTEM
YES
(Q684831,P1376,Q1727780)
action is_in
entity Q1727780
action find
entity Q684831
relation P1376
[ANSWER]
['Q684831', 'P1376', 'Q1727780']
ASK WHERE { resource:Q684831 property:P1376 resource:Q1727780 }
Yes
action is_in
entity canton of Vaubecourt
action find
entity Vaubecourt
relation capital of
['Vaubecourt', 'capital of', 'canton of Vaubecourt']
ASK WHERE { resource:Vaubecourt property:capital_of resource:canton_of_Vaubecourt }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26421027 Q1727780
P17
Q15617994
USER
Which administrative territories are canton of Vaubecourt or Brookfield Cottage situated in ?
OR((Q1727780,P17,c(Q15617994)), (Q26421027,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1727780
relation P17
action find
entity Q26421027
relation P17
type Q15617994
{'OR': [['Q1727780', 'P17', {'concept': 'Q15617994'}], ['Q26421027', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?n ) { ( resource:Q1727780 ) ( resource:Q26421027 ) } . ?n property:P17 ?k } . ?k rdf:type ontology:Q15617994 }
Brookfield Cottage canton of Vaubecourt
action filter_type
action union
action find
entity canton of Vaubecourt
relation country
action find
entity Brookfield Cottage
relation country
type designation for an administrative territorial entity
{'OR': [['canton of Vaubecourt', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Brookfield Cottage', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?n ) { ( resource:canton_of_Vaubecourt ) ( resource:Brookfield_Cottage ) } . ?n property:country ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q145
SYSTEM
France, United Kingdom
Q142 Q145
OR((Q1727780,P17,c(Q15617994)), (Q26421027,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1727780
relation P17
action find
entity Q26421027
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q1727780', 'P17', {'concept': 'Q15617994'}], ['Q26421027', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?n ) { ( resource:Q1727780 ) ( resource:Q26421027 ) } . ?n property:P17 ?k } . ?k rdf:type ontology:Q15617994 }
France United Kingdom
Which administrative territories are canton of Vaubecourt or Brookfield Cottage situated in
France United Kingdom
action filter_type
action union
action find
entity canton of Vaubecourt
relation country
action find
entity Brookfield Cottage
relation country
type designation for an administrative territorial entity
{'OR': [['canton of Vaubecourt', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Brookfield Cottage', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?n ) { ( resource:canton_of_Vaubecourt ) ( resource:Brookfield_Cottage ) } . ?n property:country ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]