Simple Question (Direct)
Simple Question
Q1101360
P166
Q618779
USER
Which award was received by Lesménils ?
(Q1101360,P166,c(Q618779))
action filter_type
action find
entity Q1101360
relation P166
type Q618779
['Q1101360', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { resource:Q1101360 property:P166 ?i . ?i rdf:type ontology:Q618779 }
Lesménils
action filter_type
action find
entity Lesménils
relation award received
type award
['Lesménils', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { resource:Lesménils property:award_received ?i . ?i rdf:type ontology:award }
[]
award
Q2727598
SYSTEM
Croix de guerre 1914–1918
Q2727598
(Q1101360,P166,c(Q618779))
action filter_type
action find
entity Q1101360
relation P166
type Q618779
France [ANSWER] was received by Lesménils
['Q1101360', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { resource:Q1101360 property:P166 ?i . ?i rdf:type ontology:Q618779 }
Croix de guerre 1914–1918
France Croix de guerre 1914–1918 was received by Lesménils
Croix de guerre 1914–1918
action filter_type
action find
entity Lesménils
relation award received
type award
['Lesménils', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { resource:Lesménils property:award_received ?i . ?i rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2727598 Q4284986 Q142
P17
Q15617994
USER
Is that award present in Matrosovo and France ?
(Q2727598,P17,Q4284986) (Q2727598,P17,Q142)
action is_in
entity Q2727598
action intersection
action find_reverse
entity Q4284986
relation P17
action find_reverse
entity Q142
relation P17
['Q2727598', 'P17', 'Q4284986'] ['Q2727598', 'P17', 'Q142']
ASK WHERE { resource:Q2727598 property:P17 resource:Q4284986 . resource:Q2727598 property:P17 resource:Q142 }
Croix de guerre 1914–1918 Matrosovo France
action is_in
entity Croix de guerre 1914–1918
action intersection
action find_reverse
entity Matrosovo
relation country
action find_reverse
entity France
relation country
['Croix de guerre 1914–1918', 'country', 'Matrosovo'] ['Croix de guerre 1914–1918', 'country', 'France']
ASK WHERE { resource:Croix_de_guerre_1914–1918 property:country resource:Matrosovo . resource:Croix_de_guerre_1914–1918 property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q2727598,P17,Q4284986) (Q2727598,P17,Q142)
action is_in
entity Q2727598
action intersection
action find_reverse
entity Q4284986
relation P17
action find_reverse
entity Q142
relation P17
[ANSWER]
['Q2727598', 'P17', 'Q4284986'] ['Q2727598', 'P17', 'Q142']
ASK WHERE { resource:Q2727598 property:P17 resource:Q4284986 . resource:Q2727598 property:P17 resource:Q142 }
NO and YES respectively
action is_in
entity Croix de guerre 1914–1918
action intersection
action find_reverse
entity Matrosovo
relation country
action find_reverse
entity France
relation country
['Croix de guerre 1914–1918', 'country', 'Matrosovo'] ['Croix de guerre 1914–1918', 'country', 'France']
ASK WHERE { resource:Croix_de_guerre_1914–1918 property:country resource:Matrosovo . resource:Croix_de_guerre_1914–1918 property:country resource:France }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1101360 Q567909 Q1102177
P47
Q20667921
USER
Is Lesménils bordered by Sainte-Sévère and Morville-sur-Seille ?
(Q1101360,P47,Q567909) (Q1101360,P47,Q1102177)
action is_in
entity Q1101360
action intersection
action find_reverse
entity Q567909
relation P47
action find_reverse
entity Q1102177
relation P47
['Q1101360', 'P47', 'Q567909'] ['Q1101360', 'P47', 'Q1102177']
ASK WHERE { resource:Q1101360 property:P47 resource:Q567909 . resource:Q1101360 property:P47 resource:Q1102177 }
Lesménils Sainte-Sévère Morville-sur-Seille
action is_in
entity Lesménils
action intersection
action find_reverse
entity Sainte-Sévère
relation shares border with
action find_reverse
entity Morville-sur-Seille
relation shares border with
['Lesménils', 'shares border with', 'Sainte-Sévère'] ['Lesménils', 'shares border with', 'Morville-sur-Seille']
ASK WHERE { resource:Lesménils property:shares_border_with resource:Sainte-Sévère . resource:Lesménils property:shares_border_with resource:Morville-sur-Seille }
[]
type of french administrative division
SYSTEM
NO and YES respectively
(Q1101360,P47,Q567909) (Q1101360,P47,Q1102177)
action is_in
entity Q1101360
action intersection
action find_reverse
entity Q567909
relation P47
action find_reverse
entity Q1102177
relation P47
[ANSWER]
['Q1101360', 'P47', 'Q567909'] ['Q1101360', 'P47', 'Q1102177']
ASK WHERE { resource:Q1101360 property:P47 resource:Q567909 . resource:Q1101360 property:P47 resource:Q1102177 }
NO and YES respectively
action is_in
entity Lesménils
action intersection
action find_reverse
entity Sainte-Sévère
relation shares border with
action find_reverse
entity Morville-sur-Seille
relation shares border with
['Lesménils', 'shares border with', 'Sainte-Sévère'] ['Lesménils', 'shares border with', 'Morville-sur-Seille']
ASK WHERE { resource:Lesménils property:shares_border_with resource:Sainte-Sévère . resource:Lesménils property:shares_border_with resource:Morville-sur-Seille }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1101360
P47
Q20667921
USER
How many french administrative divisions share the border with Lesménils ?
(Q1101360,P47,c(Q20667921))
action count
action filter_type
action find
entity Q1101360
relation P47
type Q20667921
['Q1101360', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Q1101360 property:P47 ?d . ?d rdf:type ontology:Q20667921 }
Lesménils
action count
action filter_type
action find
entity Lesménils
relation shares border with
type type of french administrative division
['Lesménils', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Lesménils property:shares_border_with ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
6
Q1102177 Q21919 Q944342 Q509647 Q193100 Q461413
(Q1101360,P47,c(Q20667921))
action count
action filter_type
action find
entity Q1101360
relation P47
type Q20667921
[ANSWER]
['Q1101360', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Q1101360 property:P47 ?d . ?d rdf:type ontology:Q20667921 }
Morville-sur-Seille Cheminot Bouxières-sous-Froidmont Atton Mousson Pont-à-Mousson
6
action count
action filter_type
action find
entity Lesménils
relation shares border with
type type of french administrative division
['Lesménils', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Lesménils property:shares_border_with ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2727598 Q696276
P17
Q15617994
USER
Is Croix de guerre 1914–1918 a part of Irdning ?
(Q2727598,P17,Q696276)
action is_in
entity Q696276
action find
entity Q2727598
relation P17
['Q2727598', 'P17', 'Q696276']
ASK WHERE { resource:Q2727598 property:P17 resource:Q696276 }
Croix de guerre 1914–1918 Irdning
action is_in
entity Irdning
action find
entity Croix de guerre 1914–1918
relation country
['Croix de guerre 1914–1918', 'country', 'Irdning']
ASK WHERE { resource:Croix_de_guerre_1914–1918 property:country resource:Irdning }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2727598,P17,Q696276)
action is_in
entity Q696276
action find
entity Q2727598
relation P17
[ANSWER]
['Q2727598', 'P17', 'Q696276']
ASK WHERE { resource:Q2727598 property:P17 resource:Q696276 }
No
action is_in
entity Irdning
action find
entity Croix de guerre 1914–1918
relation country
['Croix de guerre 1914–1918', 'country', 'Irdning']
ASK WHERE { resource:Croix_de_guerre_1914–1918 property:country resource:Irdning }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1101360 Q142
P17
Q15617994
USER
Is that french administrative division present in France ?
(Q1101360,P17,Q142)
action is_in
entity Q142
action find
entity Q1101360
relation P17
['Q1101360', 'P17', 'Q142']
ASK WHERE { resource:Q1101360 property:P17 resource:Q142 }
Lesménils France
action is_in
entity France
action find
entity Lesménils
relation country
['Lesménils', 'country', 'France']
ASK WHERE { resource:Lesménils property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1101360,P17,Q142)
action is_in
entity Q142
action find
entity Q1101360
relation P17
[ANSWER]
['Q1101360', 'P17', 'Q142']
ASK WHERE { resource:Q1101360 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity Lesménils
relation country
['Lesménils', 'country', 'France']
ASK WHERE { resource:Lesménils property:country resource:France }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2727598 Q19213
P17
Q15617994
USER
Is Croix de guerre 1914–1918 situated in Cardè ?
(Q2727598,P17,Q19213)
action is_in
entity Q19213
action find
entity Q2727598
relation P17
['Q2727598', 'P17', 'Q19213']
ASK WHERE { resource:Q2727598 property:P17 resource:Q19213 }
Croix de guerre 1914–1918 Cardè
action is_in
entity Cardè
action find
entity Croix de guerre 1914–1918
relation country
['Croix de guerre 1914–1918', 'country', 'Cardè']
ASK WHERE { resource:Croix_de_guerre_1914–1918 property:country resource:Cardè }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2727598,P17,Q19213)
action is_in
entity Q19213
action find
entity Q2727598
relation P17
[ANSWER]
['Q2727598', 'P17', 'Q19213']
ASK WHERE { resource:Q2727598 property:P17 resource:Q19213 }
No
action is_in
entity Cardè
action find
entity Croix de guerre 1914–1918
relation country
['Croix de guerre 1914–1918', 'country', 'Cardè']
ASK WHERE { resource:Croix_de_guerre_1914–1918 property:country resource:Cardè }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1101360
P17
Q15617994
USER
How many administrative territories are Lesménils a part of ?
(Q1101360,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1101360
relation P17
type Q15617994
['Q1101360', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q1101360 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Lesménils
action count
action filter_type
action find
entity Lesménils
relation country
type designation for an administrative territorial entity
['Lesménils', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Lesménils property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q1101360,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1101360
relation P17
type Q15617994
[ANSWER]
['Q1101360', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q1101360 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity Lesménils
relation country
type designation for an administrative territorial entity
['Lesménils', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Lesménils property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q26294253
Q15617994
USER
And how about Seaburn House?
(Q26294253,P17,c(Q15617994))
action count
action filter_type
action find
entity Q26294253
relation P17
type Q15617994
['Q26294253', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Q26294253 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Seaburn House
action count
action filter_type
action find
entity Seaburn House
relation country
type designation for an administrative territorial entity
['Seaburn House', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Seaburn_House property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q26294253,P17,c(Q15617994))
action count
action filter_type
action find
entity Q26294253
relation P17
type Q15617994
[ANSWER]
['Q26294253', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Q26294253 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Seaburn House
relation country
type designation for an administrative territorial entity
['Seaburn House', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Seaburn_House property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]