Simple Question (Direct)
Simple Question
Q3104097
P607
Q350604
USER
Which armed conflict did Germain Charpentier take part in ?
(Q3104097,P607,c(Q350604))
action filter_type
action find
entity Q3104097
relation P607
type Q350604
['Q3104097', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?p WHERE { resource:Q3104097 property:P607 ?p . ?p rdf:type ontology:Q350604 }
Germain Charpentier
action filter_type
action find
entity Germain Charpentier
relation conflict
type armed conflict
['Germain Charpentier', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?p WHERE { resource:Germain_Charpentier property:conflict ?p . ?p rdf:type ontology:armed_conflict }
[]
armed conflict
Q207318
SYSTEM
French Revolutionary Wars
Q207318
(Q3104097,P607,c(Q350604))
action filter_type
action find
entity Q3104097
relation P607
type Q350604
Germain Charpentier took in the [ANSWER] part
['Q3104097', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?p WHERE { resource:Q3104097 property:P607 ?p . ?p rdf:type ontology:Q350604 }
French Revolutionary Wars
Germain Charpentier took in the French Revolutionary Wars part
French Revolutionary Wars
action filter_type
action find
entity Germain Charpentier
relation conflict
type armed conflict
['Germain Charpentier', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?p WHERE { resource:Germain_Charpentier property:conflict ?p . ?p rdf:type ontology:armed_conflict }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3104097
P166
Q618779
USER
What was won by Germain Charpentier ?
(Q3104097,P166,c(Q618779))
action filter_type
action find
entity Q3104097
relation P166
type Q618779
['Q3104097', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q3104097 property:P166 ?f . ?f rdf:type ontology:Q618779 }
Germain Charpentier
action filter_type
action find
entity Germain Charpentier
relation award received
type award
['Germain Charpentier', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Germain_Charpentier property:award_received ?f . ?f rdf:type ontology:award }
[]
award
Q10855195
SYSTEM
Officer of the Legion of Honour
Q10855195
(Q3104097,P166,c(Q618779))
action filter_type
action find
entity Q3104097
relation P166
type Q618779
France [ANSWER] was won by Germain Charpentier
['Q3104097', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q3104097 property:P166 ?f . ?f rdf:type ontology:Q618779 }
Officer of the Legion of Honour
France Officer of the Legion of Honour was won by Germain Charpentier
Officer of the Legion of Honour
action filter_type
action find
entity Germain Charpentier
relation award received
type award
['Germain Charpentier', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Germain_Charpentier property:award_received ?f . ?f rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3104097
P410
Q4189293
USER
Which title was the military rank held by that person ?
(Q10855195,P410,c(Q4189293))
action filter_type
action find
entity Q3104097
relation P410
type Q4189293
['Q10855195', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?z WHERE { resource:Q3104097 property:P410 ?z . ?z rdf:type ontology:Q4189293 }
Germain Charpentier
action filter_type
action find
entity Germain Charpentier
relation military rank
type title
['Officer of the Legion of Honour', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?z WHERE { resource:Germain_Charpentier property:military_rank ?z . ?z rdf:type ontology:title }
[]
title
Q104680
SYSTEM
colonel
Q104680
(Q10855195,P410,c(Q4189293))
action filter_type
action find
entity Q3104097
relation P410
type Q4189293
By [ANSWER] was the military rank held by that person
['Q10855195', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?z WHERE { resource:Q3104097 property:P410 ?z . ?z rdf:type ontology:Q4189293 }
colonel
By colonel was the military rank held by that person
colonel
action filter_type
action find
entity Germain Charpentier
relation military rank
type title
['Officer of the Legion of Honour', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?z WHERE { resource:Germain_Charpentier property:military_rank ?z . ?z rdf:type ontology:title }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P410
Q4189293 Q502895
USER
Which titles were the military ranks conferred upon greater number of people than that title ?
(c(Q502895),P410,c(Q4189293))
action greater
action find_reverse_tuple_counts
relation P410
type Q4189293
type Q502895
action count
action filter_type
action find
entity Q104680
relation P410
type Q4189293
[{'concept': 'Q502895'}, 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?j ) WHERE { ?m rdf:type ontology:Q4189293 . ?b rdf:type ontology:Q502895 . ?b property:P410 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q104680 property:P410 ?f . ?f rdf:type ontology:Q4189293 } } . FILTER ( ?j > ?v ) }
action greater
action find_reverse_tuple_counts
relation military rank
type title
type common name
action count
action filter_type
action find
entity colonel
relation military rank
type title
[{'concept': 'common name'}, 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?j ) WHERE { ?m rdf:type ontology:title . ?b rdf:type ontology:common_name . ?b property:military_rank ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:colonel property:military_rank ?f . ?f rdf:type ontology:title } } . FILTER ( ?j > ?v ) }
[]
title common name
Q83460 Q152956
SYSTEM
general officer, brigadier general
Q83460 Q152956
(c(Q502895),P410,c(Q4189293))
action greater
action find_reverse_tuple_counts
relation P410
type Q4189293
type Q502895
action count
action filter_type
action find
entity Q104680
relation P410
type Q4189293
[ANSWERS] were the military ranks conferred upon greater number of people than that title
[{'concept': 'Q502895'}, 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?j ) WHERE { ?m rdf:type ontology:Q4189293 . ?b rdf:type ontology:Q502895 . ?b property:P410 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q104680 property:P410 ?f . ?f rdf:type ontology:Q4189293 } } . FILTER ( ?j > ?v ) }
general officer brigadier general
General officer and brigadier general were the military ranks conferred upon greater number of people than that title
general officer brigadier general
action greater
action find_reverse_tuple_counts
relation military rank
type title
type common name
action count
action filter_type
action find
entity colonel
relation military rank
type title
[{'concept': 'common name'}, 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?j ) WHERE { ?m rdf:type ontology:title . ?b rdf:type ontology:common_name . ?b property:military_rank ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:colonel property:military_rank ?f . ?f rdf:type ontology:title } } . FILTER ( ?j > ?v ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6490731
P410
Q502895
USER
Does Larry Madowo hold those titles ?
(Q6490731,P410,Q83460) (Q6490731,P410,Q152956)
action is_in
entity prev_answer
action find
entity Q6490731
relation P410
['Q6490731', 'P410', 'Q83460'] ['Q6490731', 'P410', 'Q152956']
ASK WHERE { VALUES ( ?z ) { ( resource:Q83460 ) ( resource:Q152956 ) } . resource:Q6490731 property:P410 ?z }
Larry Madowo
action is_in
entity prev_answer
action find
entity Larry Madowo
relation military rank
['Larry Madowo', 'military rank', 'general officer'] ['Larry Madowo', 'military rank', 'brigadier general']
ASK WHERE { VALUES ( ?z ) { ( resource:general_officer ) ( resource:brigadier_general ) } . resource:Larry_Madowo property:military_rank ?z }
[]
common name
SYSTEM
NO
(Q6490731,P410,Q83460) (Q6490731,P410,Q152956)
action is_in
entity prev_answer
action find
entity Q6490731
relation P410
[ANSWER]
['Q6490731', 'P410', 'Q83460'] ['Q6490731', 'P410', 'Q152956']
ASK WHERE { VALUES ( ?z ) { ( resource:Q83460 ) ( resource:Q152956 ) } . resource:Q6490731 property:P410 ?z }
No
action is_in
entity prev_answer
action find
entity Larry Madowo
relation military rank
['Larry Madowo', 'military rank', 'general officer'] ['Larry Madowo', 'military rank', 'brigadier general']
ASK WHERE { VALUES ( ?z ) { ( resource:general_officer ) ( resource:brigadier_general ) } . resource:Larry_Madowo property:military_rank ?z }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3104097 Q6499835 Q2902477
P27
Q15617994
USER
Is Germain Charpentier a civilian of Laurel Highlands School District and Bayt Nattif ?
(Q3104097,P27,Q6499835) (Q3104097,P27,Q2902477)
action is_in
entity Q3104097
action intersection
action find_reverse
entity Q6499835
relation P27
action find_reverse
entity Q2902477
relation P27
['Q3104097', 'P27', 'Q6499835'] ['Q3104097', 'P27', 'Q2902477']
ASK WHERE { resource:Q3104097 property:P27 resource:Q6499835 . resource:Q3104097 property:P27 resource:Q2902477 }
Germain Charpentier Laurel Highlands School District Bayt Nattif
action is_in
entity Germain Charpentier
action intersection
action find_reverse
entity Laurel Highlands School District
relation country of citizenship
action find_reverse
entity Bayt Nattif
relation country of citizenship
['Germain Charpentier', 'country of citizenship', 'Laurel Highlands School District'] ['Germain Charpentier', 'country of citizenship', 'Bayt Nattif']
ASK WHERE { resource:Germain_Charpentier property:country_of_citizenship resource:Laurel_Highlands_School_District . resource:Germain_Charpentier property:country_of_citizenship resource:Bayt_Nattif }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3104097,P27,Q6499835) (Q3104097,P27,Q2902477)
action is_in
entity Q3104097
action intersection
action find_reverse
entity Q6499835
relation P27
action find_reverse
entity Q2902477
relation P27
[ANSWER]
['Q3104097', 'P27', 'Q6499835'] ['Q3104097', 'P27', 'Q2902477']
ASK WHERE { resource:Q3104097 property:P27 resource:Q6499835 . resource:Q3104097 property:P27 resource:Q2902477 }
No
action is_in
entity Germain Charpentier
action intersection
action find_reverse
entity Laurel Highlands School District
relation country of citizenship
action find_reverse
entity Bayt Nattif
relation country of citizenship
['Germain Charpentier', 'country of citizenship', 'Laurel Highlands School District'] ['Germain Charpentier', 'country of citizenship', 'Bayt Nattif']
ASK WHERE { resource:Germain_Charpentier property:country_of_citizenship resource:Laurel_Highlands_School_District . resource:Germain_Charpentier property:country_of_citizenship resource:Bayt_Nattif }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6544390 Q104680
P410
Q502895
USER
Which people possess colonel and lieutenant-general ?
AND((c(Q502895),P410,Q104680), (c(Q502895),P410,Q6544390))
action filter_type
action intersection
action find_reverse
entity Q104680
relation P410
action find_reverse
entity Q6544390
relation P410
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P410', 'Q104680'], [{'concept': 'Q502895'}, 'P410', 'Q6544390']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P410 resource:Q104680 . ?q property:P410 resource:Q6544390 }
lieutenant-general colonel
action filter_type
action intersection
action find_reverse
entity colonel
relation military rank
action find_reverse
entity lieutenant-general
relation military rank
type common name
{'AND': [[{'concept': 'common name'}, 'military rank', 'colonel'], [{'concept': 'common name'}, 'military rank', 'lieutenant-general']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:military_rank resource:colonel . ?q property:military_rank resource:lieutenant-general }
[]
common name
Q1291778
SYSTEM
Edward Bruce Hamley
Q1291778
AND((c(Q502895),P410,Q104680), (c(Q502895),P410,Q6544390))
action filter_type
action intersection
action find_reverse
entity Q104680
relation P410
action find_reverse
entity Q6544390
relation P410
type Q502895
The [ANSWER] possess colonel and lieutenant-general
{'AND': [[{'concept': 'Q502895'}, 'P410', 'Q104680'], [{'concept': 'Q502895'}, 'P410', 'Q6544390']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P410 resource:Q104680 . ?q property:P410 resource:Q6544390 }
Edward Bruce Hamley
The Edward Bruce Hamley possess colonel and lieutenant-general
Edward Bruce Hamley
action filter_type
action intersection
action find_reverse
entity colonel
relation military rank
action find_reverse
entity lieutenant-general
relation military rank
type common name
{'AND': [[{'concept': 'common name'}, 'military rank', 'colonel'], [{'concept': 'common name'}, 'military rank', 'lieutenant-general']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:military_rank resource:colonel . ?q property:military_rank resource:lieutenant-general }
[]