Simple Question (Direct)
Simple Question
Q6271103
P69
Q3918
USER
Which university is the alma mater of Jon Latimer ?
(Q6271103,P69,c(Q3918))
action filter_type
action find
entity Q6271103
relation P69
type Q3918
['Q6271103', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?v WHERE { resource:Q6271103 property:P69 ?v . ?v rdf:type ontology:Q3918 }
Jon Latimer
action filter_type
action find
entity Jon Latimer
relation educated at
type university
['Jon Latimer', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?v WHERE { resource:Jon_Latimer property:educated_at ?v . ?v rdf:type ontology:university }
[]
university
Q1420500
SYSTEM
Swansea University
Q1420500
(Q6271103,P69,c(Q3918))
action filter_type
action find
entity Q6271103
relation P69
type Q3918
[ANSWER] is the alma mater of Jon Latimer
['Q6271103', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?v WHERE { resource:Q6271103 property:P69 ?v . ?v rdf:type ontology:Q3918 }
Swansea University
Swansea University is the alma mater of Jon Latimer
Swansea University
action filter_type
action find
entity Jon Latimer
relation educated at
type university
['Jon Latimer', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?v WHERE { resource:Jon_Latimer property:educated_at ?v . ?v rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6271103
P241
Q781132
USER
Which military branch contains Jon Latimer as its part ?
(Q6271103,P241,c(Q781132))
action filter_type
action find
entity Q6271103
relation P241
type Q781132
['Q6271103', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?g WHERE { resource:Q6271103 property:P241 ?g . ?g rdf:type ontology:Q781132 }
Jon Latimer
action filter_type
action find
entity Jon Latimer
relation military branch
type military branch
['Jon Latimer', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?g WHERE { resource:Jon_Latimer property:military_branch ?g . ?g rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q6271103,P241,c(Q781132))
action filter_type
action find
entity Q6271103
relation P241
type Q781132
[ANSWER] contains Jon Latimer as its part
['Q6271103', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?g WHERE { resource:Q6271103 property:P241 ?g . ?g rdf:type ontology:Q781132 }
British Army
British Army contains Jon Latimer as its part
British Army
action filter_type
action find
entity Jon Latimer
relation military branch
type military branch
['Jon Latimer', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?g WHERE { resource:Jon_Latimer property:military_branch ?g . ?g rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6271103
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q222595,P106,c(Q12737077))
action filter_type
action find
entity Q6271103
relation P106
type Q12737077
['Q222595', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q6271103 property:P106 ?a }
Jon Latimer
action filter_type
action find
entity Jon Latimer
relation occupation
type occupation
['British Army', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Jon_Latimer property:occupation ?a }
[]
occupation
Q1493121
SYSTEM
military historian
Q1493121
(Q222595,P106,c(Q12737077))
action filter_type
action find
entity Q6271103
relation P106
type Q12737077
Rank [ANSWER] has that person as his/her 's career
['Q222595', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q6271103 property:P106 ?a }
military historian
Rank military historian has that person as his/her 's career
military historian
action filter_type
action find
entity Jon Latimer
relation occupation
type occupation
['British Army', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Jon_Latimer property:occupation ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6271103
P509
Q2057971
USER
What caused the death of that person ?
(Q1493121,P509,c(Q2057971))
action filter_type
action find
entity Q6271103
relation P509
type Q2057971
['Q1493121', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?o WHERE { resource:Q6271103 property:P509 ?o . ?o rdf:type ontology:Q2057971 }
Jon Latimer
action filter_type
action find
entity Jon Latimer
relation cause of death
type health problem
['military historian', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?o WHERE { resource:Jon_Latimer property:cause_of_death ?o . ?o rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q1493121,P509,c(Q2057971))
action filter_type
action find
entity Q6271103
relation P509
type Q2057971
[ANSWER] caused the death of that person
['Q1493121', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?o WHERE { resource:Q6271103 property:P509 ?o . ?o rdf:type ontology:Q2057971 }
myocardial infarction
Myocardial infarction caused the death of that person
myocardial infarction
action filter_type
action find
entity Jon Latimer
relation cause of death
type health problem
['military historian', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?o WHERE { resource:Jon_Latimer property:cause_of_death ?o . ?o rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6271103
P410
Q4189293
USER
Which title was the military rank held by that person ?
(Q12152,P410,c(Q4189293))
action filter_type
action find
entity Q6271103
relation P410
type Q4189293
['Q12152', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?f WHERE { resource:Q6271103 property:P410 ?f . ?f rdf:type ontology:Q4189293 }
Jon Latimer
action filter_type
action find
entity Jon Latimer
relation military rank
type title
['myocardial infarction', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?f WHERE { resource:Jon_Latimer property:military_rank ?f . ?f rdf:type ontology:title }
[]
title
Q15055248
SYSTEM
poruchik
Q15055248
(Q12152,P410,c(Q4189293))
action filter_type
action find
entity Q6271103
relation P410
type Q4189293
K [ANSWER] was the military rank held by that person
['Q12152', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?f WHERE { resource:Q6271103 property:P410 ?f . ?f rdf:type ontology:Q4189293 }
poruchik
K poruchik was the military rank held by that person
poruchik
action filter_type
action find
entity Jon Latimer
relation military rank
type title
['myocardial infarction', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?f WHERE { resource:Jon_Latimer property:military_rank ?f . ?f rdf:type ontology:title }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6271103
P1196
Q1931388
USER
What manner did that person die ?
(Q15055248,P1196,c(Q1931388))
action filter_type
action find
entity Q6271103
relation P1196
type Q1931388
['Q15055248', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?f WHERE { resource:Q6271103 property:P1196 ?f . ?f rdf:type ontology:Q1931388 }
Jon Latimer
action filter_type
action find
entity Jon Latimer
relation manner of death
type cause of death
['poruchik', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?f WHERE { resource:Jon_Latimer property:manner_of_death ?f . ?f rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q15055248,P1196,c(Q1931388))
action filter_type
action find
entity Q6271103
relation P1196
type Q1931388
That person died in [ANSWER]
['Q15055248', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?f WHERE { resource:Q6271103 property:P1196 ?f . ?f rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Jon Latimer
relation manner of death
type cause of death
['poruchik', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?f WHERE { resource:Jon_Latimer property:manner_of_death ?f . ?f rdf:type ontology:cause_of_death }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q781132 Q874405 Q781132
USER
Which military branches are a component of min number of military branches and social groups ?
(c(Q781132),P361,c(Q781132)|c(Q874405))
action argmin
action union
action find_tuple_counts
relation P361
type Q781132
type Q781132
action find_tuple_counts
relation P361
type Q781132
type Q874405
[{'concept': 'Q781132'}, 'P361', [{'concept': 'Q781132'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?a = ?i ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?a ) WHERE { VALUES ( ?k ) { ( ontology:Q781132 ) ( ontology:Q874405 ) } . ?q rdf:type ?k } GROUP BY ?d } . { SELECT DISTINCT ( MIN ( ?u ) AS ?i ) { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?j ) { ( ontology:Q781132 ) ( ontology:Q874405 ) } . ?r rdf:type ?j } GROUP BY ?g } } }
action argmin
action union
action find_tuple_counts
relation part of
type military branch
type military branch
action find_tuple_counts
relation part of
type military branch
type social group
[{'concept': 'military branch'}, 'part of', [{'concept': 'military branch'}, {'concept': 'social group'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?a = ?i ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?a ) WHERE { VALUES ( ?k ) { ( ontology:military_branch ) ( ontology:social_group ) } . ?q rdf:type ?k } GROUP BY ?d } . { SELECT DISTINCT ( MIN ( ?u ) AS ?i ) { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?j ) { ( ontology:military_branch ) ( ontology:social_group ) } . ?r rdf:type ?j } GROUP BY ?g } } }
[]
military branch social group military branch
Q17597972 Q3277832 Q4419309
SYSTEM
Angolan Army, Hungarian Ground Forces, Kazakh Air and Air Defence Forces
Q222595 Q56015 Q4855270 Q704397 Q16010756 Q4114435 Q6641434 Q5290731 Q6047425 Q5370743 Q676404 Q12645011 Q1137373 Q1363476 Q248989 Q18596375 Q18601754 Q217406 Q18706531 Q18610096 Q356359 Q18610098 Q376676 Q18601907 Q2490375 Q18601902 Q2505986 Q3277832 Q2383264 Q1076619 Q4633784 Q2711719 Q741691 Q18668466 Q7574566 Q4114441 Q4774797 Q25436 Q1401100 Q6068085 Q3068744 Q643834 Q1370337 Q6510939 Q4637390 Q5524457 Q932840 Q192366 Q17597972 Q2408298 Q208711 Q3848123 Q465283 Q3848121 Q6082582 Q3480057 Q897614 Q2630039 Q483268 Q1815399 Q4419309 Q2387294 Q1129369 Q18615980 Q4948888 Q2258261 Q2078095 Q5555333 Q18612015 Q4447363 Q18612288 Q16960948 Q2055634 Q19344622 Q18611816 Q1318378 Q919292 Q1187401 Q488756 Q2071948 Q3124137 Q3293231 Q6025264 Q1499997 Q1188381 Q4115107 Q15059515 Q7406484 Q1426835 Q7275540 Q2993856 Q1491482 Q457188 Q13423902 Q6479134 Q4114459 Q4114457 Q604425 Q4631091 Q2292358 Q11218 Q18640848 Q2349884 Q18643350 Q7373859 Q1358152 Q5985661 Q355771 Q1067064 Q2074039 Q267167 Q18615977 Q702116 Q17605054 Q18706999 Q1322103 Q11322507 Q2670650 Q1799545 Q10497058 Q781360 Q18611637 Q18696932 Q18706763 Q2883880 Q1547773 Q18676717 Q16492183 Q8501879 Q18612033 Q1678316 Q557432 Q3657642 Q18600123 Q508647 Q311381 Q1038047 Q833040 Q2984556 Q2575188 Q4447370 Q2257572 Q4447372 Q889751 Q2704661 Q18597127 Q898671 Q2862841 Q19247539 Q701923 Q1750688 Q1311627 Q18597663 Q4114434 Q17069134 Q2083573 Q4642716 Q18696718 Q1546449 Q2626138 Q755179 Q63481 Q2745472 Q2301347 Q4709134 Q20894979 Q56018 Q9212 Q1046947 Q257736 Q190949 Q4447361 Q11220 Q2526431 Q2016459 Q1753805 Q17584707 Q2594652 Q792296 Q1141396 Q4117226 Q682152 Q1953312 Q18640177 Q1951484 Q18600100 Q18640173 Q172771 Q1550893 Q18640276 Q2742227 Q675932 Q6448938 Q7125810 Q2558747 Q5403575 Q3079743 Q2528358 Q2905423 Q18669736 Q6497421 Q4939559 Q2006452 Q4925654 Q382551 Q15901085 Q2862927 Q2985739 Q4447359 Q1777326 Q163416 Q1130695 Q5610863 Q17049310 Q383108 Q25387 Q18640167 Q18640164 Q18619862 Q1370395 Q1366319 Q2370391 Q2492012 Q4947401 Q151701 Q796411 Q3293247 Q588089 Q17111011 Q510534 Q18668460 Q18707076 Q2046686 Q18129370 Q1674702 Q575932 Q18707175 Q1427990 Q569328 Q16514728 Q18597159
(c(Q781132),P361,c(Q781132)|c(Q874405))
action argmin
action union
action find_tuple_counts
relation P361
type Q781132
type Q781132
action find_tuple_counts
relation P361
type Q781132
type Q874405
[ANSWERS] are a component of min number of military branches and social groups
[{'concept': 'Q781132'}, 'P361', [{'concept': 'Q781132'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?a = ?i ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?a ) WHERE { VALUES ( ?k ) { ( ontology:Q781132 ) ( ontology:Q874405 ) } . ?q rdf:type ?k } GROUP BY ?d } . { SELECT DISTINCT ( MIN ( ?u ) AS ?i ) { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?j ) { ( ontology:Q781132 ) ( ontology:Q874405 ) } . ?r rdf:type ?j } GROUP BY ?g } } }
British Army German Navy Bangladesh Army Republic of China Army Djiboutian Army Royal Naval Force Royal Thai Air Force Commando Company Dominican Army German Army Special Boarding Unit Spanish Navy Wolves Libyan Army Korean People's Navy Polish Land Forces Army of Burkina Faso Congolese Navy French Navy 23rd Infantry Brigade Equatorial Guinean Army Indian Navy Equatorial Guinean Navy Albanian Naval Force Revolutionary Navy Royal Cambodian Army Revolutionary Army National Army of Venezuela Hungarian Ground Forces Finnish Army French Army 2nd Massachusetts Regiment Lithuanian Naval Force Royal Australian Navy National Army Force of Côte d'Ivoire Special Forces Brigade Naval Force of El Salvador Antigua and Barbuda Regiment Canadian Army Myanmar Army Iraqi Special Operations Forces Syrian Arab Army German Navy Estonian Navy Lebanese Special Operations Command 40 Commando Garud Commando Force Ukrainian Navy Royal Bahraini Army Angolan Army Islamic Republic of Iran Navy Chilean Navy Kazakh Naval Force Russian Navy United Arab Emirates Navy Islamic Republic of Iran Air Defense Force Division Action Iraqi Army New Zealand Army Republic of Korea Army South African Army Kazakh Air and Air Defence Forces Romanian Naval Forces Hellenic Navy Gambian Navy Botswana Ground Force Pakistan Navy Pakistan Army Ghana Army Military Health Service Lebanese Ground Forces Gabonese Navy Chadian ground forces Royal Bahrain Naval Force naval reserve force Naval Unit Republic of Fiji Military Forces Recherche Assistance Intervention Dissuasion Ecuadorian Navy People's Liberation Army Ground Force Republic of Korea Navy Finnish Navy Dominican Navy Bangladesh Navy Ottoman Army Lithuanian Land Force Bulgarian Navy National Army of Colombia Myanmar Navy Salvadoran Army anti-aircraft artillery RAF Regiment Azerbaijani Navy Lao People's Navy Prussian Navy Czech Land Forces Egyptian Army Eritrean Navy Djiboutian Navy Coast Guard of Georgia 21st Continental Regiment Brazilian Army United States Marine Corps Bissau-Guinean Navy Croatian Navy Islamic Republic of Iran Ground Force Royal Brunei Land Forces Korean People's Army Ground Force Iceland Air Defence System Indian Army United States Special Operations Command Latvian Land Forces Polish Navy Gambian National Army Republic of China Navy Azerbaijani Air Defence Force 1st Mechanized Infantry Brigade Spanish Army German Army Navy of the Army of the Guardians of the Islamic Revolution Philippine Army Swedish Airbase Rangers Australian Army Ethiopian Army Lao People's Army Libyan Ground Forces Barbados Regiment Groupes d'Intervention de la Police Nationale Kazakh Ground Forces Honduran Army Ghana Navy Gabonese Army Jagdkommando East German Land Forces Eritrean Army Republican Guard Volksmarine Quds Force Irish Army Italian Navy Azerbaijani Land Force Royal Danish Army Belarusian Army Belgian Land Component Tunisian Army Japan Ground Self-Defense Force Indonesian Navy Cameroon Army Iraqi Navy Congolese Army Ottoman Army German Army Brazilian Navy Syrian Navy Cape Verde National Guard Honduran Navy Force Kenya Army Royal Norwegian Navy 6th Massachusetts Regiment Kyrgyz Army Hellenic Army Armenian Army People's Liberation Army Navy National Gendarmerie Intervention Group Chilean Army Argentine Army Albanian Land Force Malian Army Joint Medical Service United States Army Royal Marines Lithuanian Special Operations Force Vietnamese Independence League Algerian People's National Army United States Navy National Navy of Colombia Polish Special Forces Croatian Army Benin Army Naval Service Belgian Naval Component Swedish Navy Royal Jordanian Land Force Ukrainian Ground Forces Bulgarian Land Forces Guinean Navy Georgian Land Forces Central African Army People's Army of Guinea Royal Navy Grupo Especial de Operaciones Bissau-Guinean Army Royal Saudi Navy Kenya Navy Kuwaiti Army Pakistan Marines Romanian Land Forces Ethiopian Navy Kuwait Naval Force Mexican Navy Lebanese Navy Jamaica Regiment Special Tasks Unit Bolivian Army Royal Danish Navy Royal Cambodian Navy Egyptian Navy Russian special operations forces Indonesian Army Egyptian Air Defense Command Austrian Land Forces Argentine Navy 1st Cavalry Army Royal Brunei Navy Ground Forces of the Army of the Guardians of the Islamic Revolution Angolan Navy Afghan National Army Royal Canadian Navy Navy of National Defense National Army of Guatemala Georgian Naval Forces Estonian Land Forces Libyan Navy Royal Bhutan Army Swedish Army Bosnian Ground Forces Kriegsmarine Italian Army Benin Naval Forces Portuguese Navy Navy of the Democratic Republic of the Congo Israeli Navy National Navy of Côte d'Ivoire Malagasy Army Cyprus Naval Command Philippine Commonwealth Army GOC Army Headquarters Royal New Zealand Navy Malawi Army Naval Detachment Women's Hospital Corps Air Force and Anti-Air Defence Brigade Tanzania Naval Command Cameroon Navy
Angolan Army, Hungarian Ground Forces and Kazakh Air and Air Defence Forces are a component of min number of military branches and social groups
Angolan Army Hungarian Ground Forces Kazakh Air and Air Defence Forces
action argmin
action union
action find_tuple_counts
relation part of
type military branch
type military branch
action find_tuple_counts
relation part of
type military branch
type social group
[{'concept': 'military branch'}, 'part of', [{'concept': 'military branch'}, {'concept': 'social group'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?a = ?i ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?a ) WHERE { VALUES ( ?k ) { ( ontology:military_branch ) ( ontology:social_group ) } . ?q rdf:type ?k } GROUP BY ?d } . { SELECT DISTINCT ( MIN ( ?u ) AS ?i ) { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?j ) { ( ontology:military_branch ) ( ontology:social_group ) } . ?r rdf:type ?j } GROUP BY ?g } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P137
Q781132 Q2424752
USER
Which products were managed by max number of military branches ?
(c(Q2424752),P137,c(Q781132))
action argmax
action find_tuple_counts
relation P137
type Q2424752
type Q781132
[{'concept': 'Q2424752'}, 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?d = ?b ) . { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?d ) WHERE { ?s property:P137 ?l . ?s rdf:type ontology:Q2424752 . ?l rdf:type ontology:Q781132 } GROUP BY ?s } . { SELECT DISTINCT ( MAX ( ?h ) AS ?b ) { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?h ) WHERE { ?v property:P137 ?e . ?e rdf:type ontology:Q781132 . ?v rdf:type ontology:Q2424752 } GROUP BY ?v } } }
action argmax
action find_tuple_counts
relation operator
type product
type military branch
[{'concept': 'product'}, 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?d = ?b ) . { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?d ) WHERE { ?s property:operator ?l . ?s rdf:type ontology:product . ?l rdf:type ontology:military_branch } GROUP BY ?s } . { SELECT DISTINCT ( MAX ( ?h ) AS ?b ) { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?h ) WHERE { ?v property:operator ?e . ?e rdf:type ontology:military_branch . ?v rdf:type ontology:product } GROUP BY ?v } } }
[]
military branch product
Q163051 Q17364093 Q163838
SYSTEM
Albatros D.III, F-4B Phantom II, Ilyushin Il-38
Q17364093 Q163838 Q163051 Q15450518 Q15618480
(c(Q2424752),P137,c(Q781132))
action argmax
action find_tuple_counts
relation P137
type Q2424752
type Q781132
[ANSWERS] were managed by max number of military branches
[{'concept': 'Q2424752'}, 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?d = ?b ) . { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?d ) WHERE { ?s property:P137 ?l . ?s rdf:type ontology:Q2424752 . ?l rdf:type ontology:Q781132 } GROUP BY ?s } . { SELECT DISTINCT ( MAX ( ?h ) AS ?b ) { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?h ) WHERE { ?v property:P137 ?e . ?e rdf:type ontology:Q781132 . ?v rdf:type ontology:Q2424752 } GROUP BY ?v } } }
F-4B Phantom II Ilyushin Il-38 Albatros D.III Douglas R2D-1 Beechcraft UC-12B
Albatros D.III, F-4B Phantom II and Ilyushin Il-38 were managed by max number of military branches
Albatros D.III F-4B Phantom II Ilyushin Il-38
action argmax
action find_tuple_counts
relation operator
type product
type military branch
[{'concept': 'product'}, 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?d = ?b ) . { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?d ) WHERE { ?s property:operator ?l . ?s rdf:type ontology:product . ?l rdf:type ontology:military_branch } GROUP BY ?s } . { SELECT DISTINCT ( MAX ( ?h ) AS ?b ) { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?h ) WHERE { ?v property:operator ?e . ?e rdf:type ontology:military_branch . ?v rdf:type ontology:product } GROUP BY ?v } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q163838
P176
Q43229
USER
Who is the manufacturer of that product ?
(Q163838,P176,c(Q43229))
action filter_type
action find
entity Q163838
relation P176
type Q43229
['Q163838', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { resource:Q163838 property:P176 ?m . ?m rdf:type ontology:Q43229 }
Ilyushin Il-38
action filter_type
action find
entity Ilyushin Il-38
relation manufacturer
type organization
['Ilyushin Il-38', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { resource:Ilyushin_Il-38 property:manufacturer ?m . ?m rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q17364093
SYSTEM
Did you mean F-4B Phantom II ?
Q163051 Q17364093 Q163838
(Q163051,P176,c(Q43229)) (Q17364093,P176,c(Q43229)) (Q163838,P176,c(Q43229))
[ANSWER]
['Q163051', 'P176', {'concept': 'Q43229'}] ['Q17364093', 'P176', {'concept': 'Q43229'}] ['Q163838', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { resource:Q163838 property:P176 ?m . ?m rdf:type ontology:Q43229 }
Albatros D.III F-4B Phantom II Ilyushin Il-38
Did you mean F-4B Phantom II ?
F-4B Phantom II
['Albatros D.III', 'manufacturer', {'concept': 'organization'}] ['F-4B Phantom II', 'manufacturer', {'concept': 'organization'}] ['Ilyushin Il-38', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { resource:Ilyushin_Il-38 property:manufacturer ?m . ?m rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Ilyushin Il-38. Could you tell me the answer for that?
(Q163838,P176,c(Q43229))
Q163838
['Q163838', 'P176', {'concept': 'Q43229'}]
['Ilyushin Il-38', 'manufacturer', {'concept': 'organization'}]
[]
Q221419
SYSTEM
Ilyushin
Q221419
(Q163838,P176,c(Q43229))
action filter_type
action find
entity Q163838
relation P176
type Q43229
The manufacturer of that product is the [ANSWER]
['Q163838', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { resource:Q163838 property:P176 ?m . ?m rdf:type ontology:Q43229 }
Ilyushin
The manufacturer of that product is the Ilyushin
Ilyushin
action filter_type
action find
entity Ilyushin Il-38
relation manufacturer
type organization
['Ilyushin Il-38', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { resource:Ilyushin_Il-38 property:manufacturer ?m . ?m rdf:type ontology:organization }
[]