Simple Question (Direct)
Simple Question
Q569420
P607
Q1190554
USER
What was the event that Emmanuel Félix de Wimpffen took part in
(Q569420,P607,c(Q1190554))
action filter_type
action find
entity Q569420
relation P607
type Q1190554
['Q569420', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?k WHERE { resource:Q569420 property:P607 ?k . ?k rdf:type ontology:Q1190554 }
Emmanuel Félix de Wimpffen
action filter_type
action find
entity Emmanuel Félix de Wimpffen
relation conflict
type event
['Emmanuel Félix de Wimpffen', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?k WHERE { resource:Emmanuel_Félix_de_Wimpffen property:conflict ?k . ?k rdf:type ontology:event }
[]
event
Q254106
SYSTEM
Crimean War
Q254106
(Q569420,P607,c(Q1190554))
action filter_type
action find
entity Q569420
relation P607
type Q1190554
The event that Emmanuel Félix de Wimpffen took part in was the [ANSWER]
['Q569420', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?k WHERE { resource:Q569420 property:P607 ?k . ?k rdf:type ontology:Q1190554 }
Crimean War
The event that Emmanuel Félix de Wimpffen took part in was the Crimean War
Crimean War
action filter_type
action find
entity Emmanuel Félix de Wimpffen
relation conflict
type event
['Emmanuel Félix de Wimpffen', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?k WHERE { resource:Emmanuel_Félix_de_Wimpffen property:conflict ?k . ?k rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q569420
P21
Q290
USER
Which sex does Emmanuel Félix de Wimpffen belong to ?
(Q569420,P21,c(Q290))
action filter_type
action find
entity Q569420
relation P21
type Q290
['Q569420', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q569420 property:P21 ?y . ?y rdf:type ontology:Q290 }
Emmanuel Félix de Wimpffen
action filter_type
action find
entity Emmanuel Félix de Wimpffen
relation gender
type sex
['Emmanuel Félix de Wimpffen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Emmanuel_Félix_de_Wimpffen property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q569420,P21,c(Q290))
action filter_type
action find
entity Q569420
relation P21
type Q290
Emmanuel Félix de Wimpffen belongs to [ANSWER]
['Q569420', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q569420 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
Emmanuel Félix de Wimpffen belongs to male
male
action filter_type
action find
entity Emmanuel Félix de Wimpffen
relation gender
type sex
['Emmanuel Félix de Wimpffen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Emmanuel_Félix_de_Wimpffen property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q569420
P27
Q15617994
USER
Which administrative territory is Emmanuel Félix de Wimpffen a civilian of ?
(Q569420,P27,c(Q15617994))
action filter_type
action find
entity Q569420
relation P27
type Q15617994
['Q569420', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q569420 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Emmanuel Félix de Wimpffen
action filter_type
action find
entity Emmanuel Félix de Wimpffen
relation country of citizenship
type designation for an administrative territorial entity
['Emmanuel Félix de Wimpffen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Emmanuel_Félix_de_Wimpffen property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q569420,P27,c(Q15617994))
action filter_type
action find
entity Q569420
relation P27
type Q15617994
[ANSWER] is Emmanuel Félix de Wimpffen a civilian of
['Q569420', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q569420 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
France
France is Emmanuel Félix de Wimpffen a civilian of
France
action filter_type
action find
entity Emmanuel Félix de Wimpffen
relation country of citizenship
type designation for an administrative territorial entity
['Emmanuel Félix de Wimpffen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Emmanuel_Félix_de_Wimpffen property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q1190554 Q838948 Q18783400
USER
Which events are expressed in min number of works of art or genres of sculpture ?
(c(Q838948)|c(Q18783400),P180,c(Q1190554))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q1190554
type Q838948
action find_reverse_tuple_counts
relation P180
type Q1190554
type Q18783400
[[{'concept': 'Q838948'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q1190554'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) ?d WHERE { { ?f property:P180 ?d . ?d rdf:type ontology:Q1190554 . ?f rdf:type ontology:Q838948 } UNION { ?f property:P180 ?d . ?d rdf:type ontology:Q1190554 . ?f rdf:type ontology:Q18783400 } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?z WHERE { VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q18783400 ) } . ?x rdf:type ?y } GROUP BY ?z } . FILTER ( ?t = ?b ) }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type event
type work of art
action find_reverse_tuple_counts
relation depicts
type event
type genre of sculpture
[[{'concept': 'work of art'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'event'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) ?d WHERE { { ?f property:depicts ?d . ?d rdf:type ontology:event . ?f rdf:type ontology:work_of_art } UNION { ?f property:depicts ?d . ?d rdf:type ontology:event . ?f rdf:type ontology:genre_of_sculpture } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?z WHERE { VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:genre_of_sculpture ) } . ?x rdf:type ?y } GROUP BY ?z } . FILTER ( ?t = ?b ) }
[]
event work of art genre of sculpture
Q218678 Q254106 Q48314
SYSTEM
North African Campaign, Crimean War, Battle of Waterloo
Q690495 Q1807803 Q116646 Q586204 Q4590598 Q167259 Q675999 Q2424544 Q200538 Q3228788 Q2204664 Q1322005 Q696699 Q2501743 Q1207310 Q331347 Q620965 Q385378 Q131969 Q179670 Q41320 Q850529 Q2056637 Q261839 Q44732 Q1808375 Q2013484 Q459447 Q179057 Q33570 Q514504 Q311726 Q776609 Q543994 Q132241 Q168983 Q254106 Q7860 Q3306217 Q1275200 Q1657839 Q1190696 Q63468 Q1147311 Q201676 Q124734 Q1577800 Q48314 Q334029 Q181146 Q2004436 Q4587924 Q168247 Q253684 Q1370468 Q1261499 Q908888 Q675516 Q218678 Q51634 Q778800 Q151005 Q2237467 Q705936 Q741098 Q2889924 Q2887968 Q2634456 Q476300 Q423522 Q1123353 Q41097 Q114953 Q1268954 Q690489 Q719426 Q644960 Q58732 Q201526 Q1132579 Q2761147 Q19868482 Q741129 Q3030248 Q190539 Q2259031 Q182878
(c(Q838948)|c(Q18783400),P180,c(Q1190554))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q1190554
type Q838948
action find_reverse_tuple_counts
relation P180
type Q1190554
type Q18783400
[ANSWERS] are expressed in min number of works of art or genres of sculpture
[[{'concept': 'Q838948'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q1190554'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) ?d WHERE { { ?f property:P180 ?d . ?d rdf:type ontology:Q1190554 . ?f rdf:type ontology:Q838948 } UNION { ?f property:P180 ?d . ?d rdf:type ontology:Q1190554 . ?f rdf:type ontology:Q18783400 } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?z WHERE { VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q18783400 ) } . ?x rdf:type ?y } GROUP BY ?z } . FILTER ( ?t = ?b ) }
Battle of Keresztes explosion of the powder magazine in Delft dissection Battle of Malakoff frost Battle of Lützen (1632) Battle of the Downs levee breach party public lecture Battle of Leghorn natural phenomenon Battle of Lauffeld Battle of Jersey Battle of Orsha Battle of Eylau 18 Brumaire construction Battle of Thermopylae Battle of Gaugamela Battle of Denain Betty and Barney Hill abduction Capture of Maastricht sheep shearing Battle of the Golden Spurs Battle of Solebay Siege of Hulst siege of Yorktown explosion Battle of Grunwald Battle of Sehested Battle of the Plains of Abraham Battle of the Bridge of Arcole Battle of Hanau festival conflagration Crimean War nature sea of clouds Battle of the Sound Ten Days' Campaign War of the Oranges Battle of Pavia Venus effect funeral rebellion Battle of Racławice Battle of Waterloo Battle of Bunker Hill Dos de Mayo Uprising Battle of Vyborg Bay Battle of Fredericia famine French campaign in Egypt and Syria reconstruction naval battle 1842 retreat from Kabul Battle of Ivry North African Campaign arrest of Jesus Battle of Abukir (1799) Battle of Leipzig Battle of Cassel Battle of Quatre Bras Siege of Antioch Battle of San Romano Battle of Heliopolis The Thin Red Line competition Battle of Colberger Heide Battle of Rorke's Drift dew poisoning Battle of Ostia Siege of Paris lactation Battle of the Boyne Siege of Malta Battle of Issus Battle of Princeton meeting destruction Battle of Laing's Nek discussion discourse Battle of Cascina dust storm
North African Campaign, Crimean War and Battle of Waterloo are expressed in min number of works of art or genres of sculpture
North African Campaign Crimean War Battle of Waterloo
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type event
type work of art
action find_reverse_tuple_counts
relation depicts
type event
type genre of sculpture
[[{'concept': 'work of art'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'event'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) ?d WHERE { { ?f property:depicts ?d . ?d rdf:type ontology:event . ?f rdf:type ontology:work_of_art } UNION { ?f property:depicts ?d . ?d rdf:type ontology:event . ?f rdf:type ontology:genre_of_sculpture } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?z WHERE { VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:genre_of_sculpture ) } . ?x rdf:type ?y } GROUP BY ?z } . FILTER ( ?t = ?b ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q254106
P793
Q502895
USER
Which person has that one as a significant associated event ?
(c(Q502895),P793,Q254106)
action filter_type
action find_reverse
entity Q254106
relation P793
type Q502895
[{'concept': 'Q502895'}, 'P793', 'Q254106']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P793 resource:Q254106 }
Crimean War
action filter_type
action find_reverse
entity Crimean War
relation significant event
type common name
[{'concept': 'common name'}, 'significant event', 'Crimean War']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:significant_event resource:Crimean_War }
[]
common name
Clarification for simple ques.
Q218678
SYSTEM
Did you mean North African Campaign ?
Q218678 Q254106 Q48314
(c(Q502895),P793,Q218678) (c(Q502895),P793,Q254106) (c(Q502895),P793,Q48314)
[ANSWER]
[{'concept': 'Q502895'}, 'P793', 'Q218678'] [{'concept': 'Q502895'}, 'P793', 'Q254106'] [{'concept': 'Q502895'}, 'P793', 'Q48314']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P793 resource:Q254106 }
North African Campaign Crimean War Battle of Waterloo
Did you mean North African Campaign ?
North African Campaign
[{'concept': 'common name'}, 'significant event', 'North African Campaign'] [{'concept': 'common name'}, 'significant event', 'Crimean War'] [{'concept': 'common name'}, 'significant event', 'Battle of Waterloo']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:significant_event resource:Crimean_War }
[]
Simple Question (Coreferenced)
USER
No, I meant Crimean War. Could you tell me the answer for that?
(c(Q502895),P793,Q254106)
Q254106
[{'concept': 'Q502895'}, 'P793', 'Q254106']
[{'concept': 'common name'}, 'significant event', 'Crimean War']
[]
Q79822
SYSTEM
Adam Mickiewicz
Q79822
(c(Q502895),P793,Q254106)
action filter_type
action find_reverse
entity Q254106
relation P793
type Q502895
[ANSWER] has that one as a significant associated event
[{'concept': 'Q502895'}, 'P793', 'Q254106']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P793 resource:Q254106 }
Adam Mickiewicz
Adam Mickiewicz has that one as a significant associated event
Adam Mickiewicz
action filter_type
action find_reverse
entity Crimean War
relation significant event
type common name
[{'concept': 'common name'}, 'significant event', 'Crimean War']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:significant_event resource:Crimean_War }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q79822 Q9256678
P170
Q6619679
USER
Was Ewa Horeszkówna created by that person ?
(Q9256678,P170,Q79822)
action is_in
entity Q79822
action find
entity Q9256678
relation P170
['Q9256678', 'P170', 'Q79822']
ASK WHERE { resource:Q9256678 property:P170 resource:Q79822 }
Adam Mickiewicz Ewa Horeszkówna
action is_in
entity Adam Mickiewicz
action find
entity Ewa Horeszkówna
relation creator
['Ewa Horeszkówna', 'creator', 'Adam Mickiewicz']
ASK WHERE { resource:Ewa_Horeszkówna property:creator resource:Adam_Mickiewicz }
[]
fictional humanoid
SYSTEM
YES
(Q9256678,P170,Q79822)
action is_in
entity Q79822
action find
entity Q9256678
relation P170
[ANSWER]
['Q9256678', 'P170', 'Q79822']
ASK WHERE { resource:Q9256678 property:P170 resource:Q79822 }
Yes
action is_in
entity Adam Mickiewicz
action find
entity Ewa Horeszkówna
relation creator
['Ewa Horeszkówna', 'creator', 'Adam Mickiewicz']
ASK WHERE { resource:Ewa_Horeszkówna property:creator resource:Adam_Mickiewicz }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q569420 Q1142534
P19
Q20667921
USER
Is Bénaix the place of birth of Emmanuel Félix de Wimpffen ?
(Q569420,P19,Q1142534)
action is_in
entity Q1142534
action find
entity Q569420
relation P19
['Q569420', 'P19', 'Q1142534']
ASK WHERE { resource:Q569420 property:P19 resource:Q1142534 }
Emmanuel Félix de Wimpffen Bénaix
action is_in
entity Bénaix
action find
entity Emmanuel Félix de Wimpffen
relation place of birth
['Emmanuel Félix de Wimpffen', 'place of birth', 'Bénaix']
ASK WHERE { resource:Emmanuel_Félix_de_Wimpffen property:place_of_birth resource:Bénaix }
[]
type of french administrative division
SYSTEM
NO
(Q569420,P19,Q1142534)
action is_in
entity Q1142534
action find
entity Q569420
relation P19
[ANSWER]
['Q569420', 'P19', 'Q1142534']
ASK WHERE { resource:Q569420 property:P19 resource:Q1142534 }
No
action is_in
entity Bénaix
action find
entity Emmanuel Félix de Wimpffen
relation place of birth
['Emmanuel Félix de Wimpffen', 'place of birth', 'Bénaix']
ASK WHERE { resource:Emmanuel_Félix_de_Wimpffen property:place_of_birth resource:Bénaix }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q22266821 Q569420
P19 P20
Q20667921
USER
Which french administrative divisions are the birthplace of Emmanuel Félix de Wimpffen or did the demise of Jean Étienne Michon de Vougy occur ?
OR((Q569420,P19,c(Q20667921)), (Q22266821,P20,c(Q20667921)))
action filter_type
action union
action find
entity Q569420
relation P19
action find
entity Q22266821
relation P20
type Q20667921
{'OR': [['Q569420', 'P19', {'concept': 'Q20667921'}], ['Q22266821', 'P20', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q569420 property:P19 ?e } UNION { resource:Q22266821 property:P20 ?e } } . ?e rdf:type ontology:Q20667921 }
Jean Étienne Michon de Vougy Emmanuel Félix de Wimpffen
action filter_type
action union
action find
entity Emmanuel Félix de Wimpffen
relation place of birth
action find
entity Jean Étienne Michon de Vougy
relation place of death
type type of french administrative division
{'OR': [['Emmanuel Félix de Wimpffen', 'place of birth', {'concept': 'type of french administrative division'}], ['Jean Étienne Michon de Vougy', 'place of death', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Emmanuel_Félix_de_Wimpffen property:place_of_birth ?e } UNION { resource:Jean_Étienne_Michon_de_Vougy property:place_of_death ?e } } . ?e rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q167141 Q818044
SYSTEM
Laon, Vougy
Q167141 Q818044
OR((Q569420,P19,c(Q20667921)), (Q22266821,P20,c(Q20667921)))
action filter_type
action union
action find
entity Q569420
relation P19
action find
entity Q22266821
relation P20
type Q20667921
[ANSWERS] are the birthplace of Emmanuel Félix de Wimpffen or did the demise of Jean Étienne Michon de Vougy occur
{'OR': [['Q569420', 'P19', {'concept': 'Q20667921'}], ['Q22266821', 'P20', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q569420 property:P19 ?e } UNION { resource:Q22266821 property:P20 ?e } } . ?e rdf:type ontology:Q20667921 }
Laon Vougy
Laon and Vougy are the birthplace of Emmanuel Félix de Wimpffen or did the demise of Jean Étienne Michon de Vougy occur
Laon Vougy
action filter_type
action union
action find
entity Emmanuel Félix de Wimpffen
relation place of birth
action find
entity Jean Étienne Michon de Vougy
relation place of death
type type of french administrative division
{'OR': [['Emmanuel Félix de Wimpffen', 'place of birth', {'concept': 'type of french administrative division'}], ['Jean Étienne Michon de Vougy', 'place of death', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Emmanuel_Félix_de_Wimpffen property:place_of_birth ?e } UNION { resource:Jean_Étienne_Michon_de_Vougy property:place_of_death ?e } } . ?e rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q569420
P410
Q4189293
USER
Which title was the military rank held by Emmanuel Félix de Wimpffen ?
(Q569420,P410,c(Q4189293))
action filter_type
action find
entity Q569420
relation P410
type Q4189293
['Q569420', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?q WHERE { resource:Q569420 property:P410 ?q . ?q rdf:type ontology:Q4189293 }
Emmanuel Félix de Wimpffen
action filter_type
action find
entity Emmanuel Félix de Wimpffen
relation military rank
type title
['Emmanuel Félix de Wimpffen', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?q WHERE { resource:Emmanuel_Félix_de_Wimpffen property:military_rank ?q . ?q rdf:type ontology:title }
[]
title
Q160910
SYSTEM
Army General
Q160910
(Q569420,P410,c(Q4189293))
action filter_type
action find
entity Q569420
relation P410
type Q4189293
[ANSWER] was the military rank held by Emmanuel Félix de Wimpffen
['Q569420', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?q WHERE { resource:Q569420 property:P410 ?q . ?q rdf:type ontology:Q4189293 }
Army General
Army General was the military rank held by Emmanuel Félix de Wimpffen
Army General
action filter_type
action find
entity Emmanuel Félix de Wimpffen
relation military rank
type title
['Emmanuel Félix de Wimpffen', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?q WHERE { resource:Emmanuel_Félix_de_Wimpffen property:military_rank ?q . ?q 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 around the same number of people as that title ?
(c(Q502895),P410,c(Q4189293))
action approx
action find_reverse_tuple_counts
relation P410
type Q4189293
type Q502895
action count
action filter_type
action find
entity Q160910
relation P410
type Q4189293
[{'concept': 'Q502895'}, 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P410 ?e . ?e rdf:type ontology:Q4189293 . ?z rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Q160910 property:P410 ?s . ?s rdf:type ontology:Q4189293 } } . FILTER ( ?p = ?g ) }
action approx
action find_reverse_tuple_counts
relation military rank
type title
type common name
action count
action filter_type
action find
entity Army General
relation military rank
type title
[{'concept': 'common name'}, 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:military_rank ?e . ?e rdf:type ontology:title . ?z rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Army_General property:military_rank ?s . ?s rdf:type ontology:title } } . FILTER ( ?p = ?g ) }
[]
title common name
Q5531647 Q6544388 Q21074079
SYSTEM
general, lieutenant-general, lieutenant-colonel
Q6544459 Q21824635 Q5531647 Q19688860 Q5036511 Q5036510 Q13099720 Q5036514 Q958321 Q3280545 Q2623629 Q2995864 Q12789686 Q279704 Q4896145 Q5531645 Q2608441 Q4283252 Q522908 Q664101 Q351346 Q302220 Q6867301 Q6544390 Q27231602 Q5257199 Q13390324 Q493898 Q694005 Q2046665 Q10975529 Q7194476 Q4368198 Q1337825 Q111837 Q852661 Q3123081 Q20630751 Q161546 Q16711404 Q10816384 Q24038912 Q14600956 Q7925088 Q1801805 Q20715023 Q16707903 Q3556878 Q330459 Q6544388 Q1083909 Q2429942 Q4114269 Q11707054 Q21074080 Q798793 Q6620231 Q14108394 Q7821620 Q3100519 Q15615347 Q2273272 Q157696 Q186024 Q10813665 Q163500 Q3983433 Q1068364 Q191079 Q7179399 Q1824398 Q2408844 Q4216901 Q4913 Q212624 Q160910 Q7100887 Q214443 Q17113189 Q3646855 Q11141137 Q2210140 Q4683638 Q14601006 Q4995518 Q64909 Q4683633 Q707995 Q6451223 Q24038807 Q12783974 Q20744063 Q4668082 Q4057849 Q2579265 Q2937535 Q2604857 Q2962006 Q2416232 Q23056163 Q24038803 Q1986828 Q506249 Q21074079 Q4774097 Q2984198 Q842486 Q22672397 Q329741 Q975834 Q3100539 Q7179400 Q2631032 Q7453376 Q5096883 Q2388765 Q1950988 Q2397385 Q524750 Q2723352 Q4967196 Q22957305 Q18966441 Q2624074 Q335954 Q3196427 Q3511995 Q4096450 Q3106078 Q680028 Q16932763 Q475482 Q155327 Q4931543 Q165654 Q14703190 Q481303 Q6451204 Q17378201 Q640375 Q679193 Q21074077 Q2278692 Q322749 Q1501733 Q3832151 Q2937293 Q5459333 Q7820253 Q23055498 Q15055248 Q330399 Q2596083 Q20183 Q453825 Q437767 Q158668 Q1278830 Q871240 Q18398926 Q12789710 Q5013228 Q2501631 Q19963503 Q6497929 Q1642186 Q15215042 Q457271 Q12799162 Q15730331 Q664082 Q5770104 Q4902790 Q56923 Q2828191 Q7925090 Q2300063 Q1426568 Q23020967 Q10918728 Q17056579 Q22814748 Q9304299 Q3756713 Q21074326 Q2703373 Q407033 Q1454304 Q5152182 Q157662 Q4698576 Q2111073 Q694613 Q837643 Q661924 Q11912077 Q23011769 Q4891933 Q5531654 Q1331037 Q125168 Q7581909 Q475681 Q156945 Q2961982 Q6738072 Q727229 Q2352637 Q20157601 Q12805632 Q407517 Q837582 Q14595679 Q2673216 Q41685 Q4833532 Q6544462 Q19254761 Q429703 Q3399716 Q131767 Q3479611 Q13416824 Q13543682 Q17347366 Q1463070 Q1501734 Q15811059
(c(Q502895),P410,c(Q4189293))
action approx
action find_reverse_tuple_counts
relation P410
type Q4189293
type Q502895
action count
action filter_type
action find
entity Q160910
relation P410
type Q4189293
[ANSWERS] were the military ranks conferred upon around the same number of people as that title
[{'concept': 'Q502895'}, 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P410 ?e . ?e rdf:type ontology:Q4189293 . ?z rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Q160910 property:P410 ?s . ?s rdf:type ontology:Q4189293 } } . FILTER ( ?p = ?g ) }
lieutenant colonel Admiral of the fleet (USSR) general Oberleutnant zur See captain captain podpolkovnik captain bombardier major general Chief Marshal Rear-Admiral of the United Kingdom Surgeon General of the German Armed Forces corvette captain major General general air marshal Furir General of the Artillery chief warrant officer Fenrik sub-lieutenant lieutenant-general captain of Orlovsky 36th infantry regiment Commodore Generał lieutenant colonel General of the Infantry lieutenant general group captain Pilot officer lieutenant colonel staff sergeant marshal adjutant général de corps d'armée Patrona Großadmiral First sergeant Chorąży Lieutenant Stabsfeldwebel vice admiral lance sergeant First lieutenant brevet colonel vice-admiral first lieutenant lieutenant-general Marshal of the branch Adjutant general Field marshal (Serbia and Yugoslavia) major commandant Chasu commander Maat (military) Field marshal Generalleutnant rear admiral Landman sergeant lieutenant Praporshchik Captain lieutenant commander Kapudan Pasha Generalissimo Petty officer, first class lieutenant Schout-bij-nacht Mushir Gensui legatus Army General Ordnance Sergeant vice admiral captain at sea Polkovnik midshipman Sotnik Admiral Oberfeldwebel commandant Field marshal-lieutenant Admiral seaman Four-star rank Vice-Admiral of the Blue admiral Captain 1st Rank able seaman admiral maréchal de camp Master corporal general of the army Battalion Chief General-in-Chief brigadier rear-admiral Admiral of the Fleet of the Soviet Union Commodore lieutenant-colonel Anthypolochagos colonel admiral of the fleet captain officer candidate Quartermaster General of the Armies of the United States Petty officer, second class naval lieutenant sergeant Chief Petty Officer Komandarm 2nd rank Lieutenant admiral Podporucznik Kombrig Sparapet brigadier general admiral leutnant General of the Cavalry Strategos Generał broni Stožerni general Brigadier Commissioner air vice-marshal Oberwachtmeister lieutenant-colonel Gefreiter colonel general Boatswain's mate constable Fleet admiral General two-star rank corporal Rittmeister Lieutenant General colonel Sergeant First Class petty officer General of the Cavalry Lieutenant Commander captain Flight sergeant field marshal rear admiral poruchik Gardes de la Marine Serdar general of the army Chief Master Sergeant of the Air Force Marshal of the Empire private rear admiral Generalstabsarzt divisional general Generalstabsveterinär flight lieutenant Admiral of the Fleet senior sergeant Officer cadet Leutnant zur See Master Sergeant lieutenant colonel General of the Army General der Panzertruppe Binbashi vice admiral Captain general air chief marshal vice admiral Army General General of the Air Force Captain 2nd Rank second lieutenant Vääpeli Korvettenkapitän oberstleutnant Oberst second lieutenant field marshal air commodore Marshal of Poland commander Korporal aircraftman private cornet warrant officer Stabskapitän Squadron Leader Flottillenadmiral wing commander general General of the Army Marshal of the Soviet Union Squadron vice-admiral Ship-of-the-line lieutenant rear admiral Chef d'escadron major general Ataman Starszy szeregowy Midshipman vice admiral air marshal Lieutenant Commander ensign Oberleutnant brigadier Mirliva Lieutenant general Vizeadmiral Feldwebel post-captain shogun regimental sergeant major flying officer Commander tribunus legionis lance corporal Generalarzt Fähnrich zur See
General, lieutenant-general and lieutenant-colonel were the military ranks conferred upon around the same number of people as that title
general lieutenant-general lieutenant-colonel
action approx
action find_reverse_tuple_counts
relation military rank
type title
type common name
action count
action filter_type
action find
entity Army General
relation military rank
type title
[{'concept': 'common name'}, 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:military_rank ?e . ?e rdf:type ontology:title . ?z rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Army_General property:military_rank ?s . ?s rdf:type ontology:title } } . FILTER ( ?p = ?g ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q723559 Q218678
P710 P86
Q502895
USER
Which people participated in North African Campaign or were Idomeneo composed by ?
OR((Q218678,P710,c(Q502895)), (Q723559,P86,c(Q502895)))
action filter_type
action union
action find
entity Q218678
relation P710
action find
entity Q723559
relation P86
type Q502895
{'OR': [['Q218678', 'P710', {'concept': 'Q502895'}], ['Q723559', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q723559 property:P86 ?b } UNION { resource:Q218678 property:P710 ?b } } . ?b rdf:type ontology:Q502895 }
Idomeneo North African Campaign
action filter_type
action union
action find
entity North African Campaign
relation participant
action find
entity Idomeneo
relation composer
type common name
{'OR': [['North African Campaign', 'participant', {'concept': 'common name'}], ['Idomeneo', 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Idomeneo property:composer ?b } UNION { resource:North_African_Campaign property:participant ?b } } . ?b rdf:type ontology:common_name }
[]
common name
Q39168 Q9916 Q315540 Q165544 Q1056 Q14060 Q275640 Q326945 Q57570 Q312685
SYSTEM
Some of them are Harold Alexander, 1st Earl Alexander of Tunis, Dwight D. Eisenhower, Archibald Wavell, 1st Earl Wavell, Władysław Anders, Italo Balbo, Erwin Rommel, Giovanni Messe, Italo Gariboldi, Hans-Jürgen von Arnim, Claude Auchinleck
Q1056 Q39168 Q165544 Q312685 Q57134 Q472089 Q275640 Q326945 Q152025 Q254 Q315540 Q186492 Q156916 Q319156 Q200085 Q14060 Q700956 Q57570 Q9916
OR((Q218678,P710,c(Q502895)), (Q723559,P86,c(Q502895)))
action filter_type
action union
action find
entity Q218678
relation P710
action find
entity Q723559
relation P86
type Q502895
[ANSWERS] participated in North African Campaign or were Idomeneo composed by
{'OR': [['Q218678', 'P710', {'concept': 'Q502895'}], ['Q723559', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q723559 property:P86 ?b } UNION { resource:Q218678 property:P710 ?b } } . ?b rdf:type ontology:Q502895 }
Italo Balbo Harold Alexander, 1st Earl Alexander of Tunis Władysław Anders Claude Auchinleck Albert Kesselring Ugo Cavallero Giovanni Messe Italo Gariboldi Bernard Law Montgomery, 1st Viscount Montgomery of Alamein Wolfgang Amadeus Mozart Archibald Wavell, 1st Earl Wavell George S. Patton François Darlan Rodolfo Graziani Pietro Badoglio Erwin Rommel Ettore Bastico Hans-Jürgen von Arnim Dwight D. Eisenhower
Harold Alexander, 1st Earl Alexander of Tunis, Dwight D. Eisenhower, Archibald Wavell, 1st Earl Wavell, Władysław Anders, Italo Balbo, Erwin Rommel, Giovanni Messe, Italo Gariboldi, Hans-Jürgen von Arnim and Claude Auchinleck participated in North African Campaign or were Idomeneo composed by
Harold Alexander, 1st Earl Alexander of Tunis Dwight D. Eisenhower Archibald Wavell, 1st Earl Wavell Władysław Anders Italo Balbo Erwin Rommel Giovanni Messe Italo Gariboldi Hans-Jürgen von Arnim Claude Auchinleck
action filter_type
action union
action find
entity North African Campaign
relation participant
action find
entity Idomeneo
relation composer
type common name
{'OR': [['North African Campaign', 'participant', {'concept': 'common name'}], ['Idomeneo', 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Idomeneo property:composer ?b } UNION { resource:North_African_Campaign property:participant ?b } } . ?b rdf:type ontology:common_name }
[]