Simple Question (Direct)
Simple Question
Q2490346
P140
Q9174
USER
Which religion does Maria Francesca Rossetti relate to ?
(Q2490346,P140,c(Q9174))
action filter_type
action find
entity Q2490346
relation P140
type Q9174
['Q2490346', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q9174 . resource:Q2490346 property:P140 ?v }
Maria Francesca Rossetti
action filter_type
action find
entity Maria Francesca Rossetti
relation religion
type religion
['Maria Francesca Rossetti', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:religion . resource:Maria_Francesca_Rossetti property:religion ?v }
[]
religion
Q6423963
SYSTEM
Anglicanism
Q6423963
(Q2490346,P140,c(Q9174))
action filter_type
action find
entity Q2490346
relation P140
type Q9174
Maria Francesca Rossetti relates to [ANSWER]
['Q2490346', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q9174 . resource:Q2490346 property:P140 ?v }
Anglicanism
Maria Francesca Rossetti relates to Anglicanism
Anglicanism
action filter_type
action find
entity Maria Francesca Rossetti
relation religion
type religion
['Maria Francesca Rossetti', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:religion . resource:Maria_Francesca_Rossetti property:religion ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2490346
P21
Q290
USER
Which sex does Maria Francesca Rossetti have ?
(Q2490346,P21,c(Q290))
action filter_type
action find
entity Q2490346
relation P21
type Q290
['Q2490346', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q2490346 property:P21 ?f . ?f rdf:type ontology:Q290 }
Maria Francesca Rossetti
action filter_type
action find
entity Maria Francesca Rossetti
relation gender
type sex
['Maria Francesca Rossetti', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Maria_Francesca_Rossetti property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q2490346,P21,c(Q290))
action filter_type
action find
entity Q2490346
relation P21
type Q290
Maria Francesca Rossetti has a [ANSWER]
['Q2490346', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q2490346 property:P21 ?f . ?f rdf:type ontology:Q290 }
female
Maria Francesca Rossetti has a female
female
action filter_type
action find
entity Maria Francesca Rossetti
relation gender
type sex
['Maria Francesca Rossetti', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Maria_Francesca_Rossetti property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2490346
P9
Q502895
USER
Which people had that one as sister ?
(c(Q502895),P9,Q6581072)
action filter_type
action find_reverse
entity Q2490346
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q6581072']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P9 resource:Q2490346 }
Maria Francesca Rossetti
action filter_type
action find_reverse
entity Maria Francesca Rossetti
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'female']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:sister resource:Maria_Francesca_Rossetti }
[]
common name
Q186748 Q236596 Q719428
SYSTEM
Dante Gabriel Rossetti, Christina Rossetti, William Michael Rossetti
Q186748 Q236596 Q719428
(c(Q502895),P9,Q6581072)
action filter_type
action find_reverse
entity Q2490346
relation P9
type Q502895
[ANSWERS] had that one as sister
[{'concept': 'Q502895'}, 'P9', 'Q6581072']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P9 resource:Q2490346 }
Dante Gabriel Rossetti Christina Rossetti William Michael Rossetti
Dante Gabriel Rossetti, Christina Rossetti and William Michael Rossetti had that one as sister
Dante Gabriel Rossetti Christina Rossetti William Michael Rossetti
action filter_type
action find_reverse
entity Maria Francesca Rossetti
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'female']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:sister resource:Maria_Francesca_Rossetti }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q186748
P241
Q781132
USER
Which military branch was Dante Gabriel Rossetti a part of ?
(Q186748,P241,c(Q781132))
action filter_type
action find
entity Q186748
relation P241
type Q781132
['Q186748', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?l WHERE { resource:Q186748 property:P241 ?l . ?l rdf:type ontology:Q781132 }
Dante Gabriel Rossetti
action filter_type
action find
entity Dante Gabriel Rossetti
relation military branch
type military branch
['Dante Gabriel Rossetti', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?l WHERE { resource:Dante_Gabriel_Rossetti property:military_branch ?l . ?l rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q186748,P241,c(Q781132))
action filter_type
action find
entity Q186748
relation P241
type Q781132
The [ANSWER] was Dante Gabriel Rossetti a part of
['Q186748', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?l WHERE { resource:Q186748 property:P241 ?l . ?l rdf:type ontology:Q781132 }
British Army
The British Army was Dante Gabriel Rossetti a part of
British Army
action filter_type
action find
entity Dante Gabriel Rossetti
relation military branch
type military branch
['Dante Gabriel Rossetti', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?l WHERE { resource:Dante_Gabriel_Rossetti property:military_branch ?l . ?l rdf:type ontology:military_branch }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5083770
Q781132
USER
And how about Charles Yorke?
(Q5083770,P241,c(Q781132))
action filter_type
action find
entity Q5083770
relation P241
type Q781132
['Q5083770', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?a WHERE { resource:Q5083770 property:P241 ?a . ?a rdf:type ontology:Q781132 }
Charles Yorke
action filter_type
action find
entity Charles Yorke
relation military branch
type military branch
['Charles Yorke', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?a WHERE { resource:Charles_Yorke property:military_branch ?a . ?a rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q5083770,P241,c(Q781132))
action filter_type
action find
entity Q5083770
relation P241
type Q781132
[ANSWER]
['Q5083770', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?a WHERE { resource:Q5083770 property:P241 ?a . ?a rdf:type ontology:Q781132 }
British Army
British Army
action filter_type
action find
entity Charles Yorke
relation military branch
type military branch
['Charles Yorke', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?a WHERE { resource:Charles_Yorke property:military_branch ?a . ?a rdf:type ontology:military_branch }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P361
Q874405 Q781132
USER
How many military branches are a portion of approximately the same number of social groups as that military branch ?
(c(Q781132),P361,c(Q874405))
action count
action approx
action find_tuple_counts
relation P361
type Q781132
type Q874405
action count
action filter_type
action find
entity Q222595
relation P361
type Q781132
[{'concept': 'Q781132'}, 'P361', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?w ) WHERE { ?z property:P361 ?f . ?z rdf:type ontology:Q781132 . ?f rdf:type ontology:Q874405 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Q222595 property:P361 ?m . ?m rdf:type ontology:Q781132 } } . FILTER ( ?w = ?r ) }
action count
action approx
action find_tuple_counts
relation part of
type military branch
type social group
action count
action filter_type
action find
entity British Army
relation part of
type military branch
[{'concept': 'military branch'}, 'part of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?w ) WHERE { ?z property:part_of ?f . ?z rdf:type ontology:military_branch . ?f rdf:type ontology:social_group } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:British_Army property:part_of ?m . ?m rdf:type ontology:military_branch } } . FILTER ( ?w = ?r ) }
[]
social group military branch
SYSTEM
254
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 Q7574723 Q17597972 Q2408298 Q208711 Q3848123 Q465283 Q3848121 Q6082582 Q3480057 Q897614 Q2630039 Q2055270 Q483268 Q1815399 Q4419309 Q2387294 Q1129369 Q18615980 Q4948888 Q2258261 Q2078095 Q17812275 Q5555333 Q18612015 Q4447363 Q18612288 Q16960948 Q2055634 Q19344622 Q18611816 Q1318378 Q919292 Q17812427 Q1187401 Q488756 Q2071948 Q3124137 Q3293231 Q6025264 Q1499997 Q1188381 Q4115107 Q15059515 Q7406484 Q706042 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 Q4867847 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 Q1066532 Q1046947 Q257736 Q190949 Q4447361 Q11220 Q2526431 Q2016459 Q1753805 Q17584707 Q487238 Q2594652 Q792296 Q3958034 Q1141396 Q4117226 Q682152 Q1953312 Q6019843 Q18640177 Q1951484 Q18600100 Q18640173 Q172771 Q1550893 Q18640276 Q2742227 Q675932 Q6448938 Q7125810 Q2558747 Q18642947 Q5403575 Q3079743 Q2528358 Q2640550 Q2905423 Q18669736 Q6497421 Q4939559 Q2006452 Q4925654 Q382551 Q15901085 Q2862927 Q2985739 Q4447359 Q1777326 Q163416 Q1130695 Q5610863 Q17049310 Q5957893 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(Q874405))
action count
action approx
action find_tuple_counts
relation P361
type Q781132
type Q874405
action count
action filter_type
action find
entity Q222595
relation P361
type Q781132
[ANSWER]
[{'concept': 'Q781132'}, 'P361', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?w ) WHERE { ?z property:P361 ?f . ?z rdf:type ontology:Q781132 . ?f rdf:type ontology:Q874405 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:Q222595 property:P361 ?m . ?m rdf:type ontology:Q781132 } } . FILTER ( ?w = ?r ) }
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 Special Service Group Navy 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 Brazilian Army Aviation Command 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 Brazilian Surface Fleet 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 Brazilian Submarine Fleet 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 Prussian 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 Basque Auxiliary Navy 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 Brazilian Marine Corps 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 Republic of Korea Marine Corps Naval Service Belgian Naval Component Argentine Army Aviation Swedish Navy Royal Jordanian Land Force Ukrainian Ground Forces Bulgarian Land Forces Army Medical Corps 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 Army Aviation Center Ethiopian Navy Kuwait Naval Force Mexican Navy Chilean Marine Corps 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 Islamic Republic of Iran Army Aviation 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
254
action count
action approx
action find_tuple_counts
relation part of
type military branch
type social group
action count
action filter_type
action find
entity British Army
relation part of
type military branch
[{'concept': 'military branch'}, 'part of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?w ) WHERE { ?z property:part_of ?f . ?z rdf:type ontology:military_branch . ?f rdf:type ontology:social_group } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { resource:British_Army property:part_of ?m . ?m rdf:type ontology:military_branch } } . FILTER ( ?w = ?r ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q781132 Q23905071 Q895526
USER
Which military branches are min number of military unit type-size classes or authority organs a part of ?
(c(Q23905071)|c(Q895526),P361,c(Q781132))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q23905071
action find_reverse_tuple_counts
relation P361
type Q781132
type Q895526
[[{'concept': 'Q23905071'}, {'concept': 'Q895526'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?f ) { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:P361 ?c . ?q rdf:type ontology:Q895526 . ?c rdf:type ontology:Q781132 } UNION { ?q property:P361 ?c . ?c rdf:type ontology:Q781132 . ?q rdf:type ontology:Q23905071 } } GROUP BY ?c } } . { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?i ) WHERE { ?k rdf:type ?x . VALUES ( ?x ) { ( ontology:Q23905071 ) ( ontology:Q895526 ) } } GROUP BY ?t } . FILTER ( ?i = ?f ) }
action argmin
action union
action find_reverse_tuple_counts
relation part of
type military branch
type military unit type-size class
action find_reverse_tuple_counts
relation part of
type military branch
type authority organ
[[{'concept': 'military unit type-size class'}, {'concept': 'authority organ'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?f ) { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:part_of ?c . ?q rdf:type ontology:authority_organ . ?c rdf:type ontology:military_branch } UNION { ?q property:part_of ?c . ?c rdf:type ontology:military_branch . ?q rdf:type ontology:military_unit_type-size_class } } GROUP BY ?c } } . { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?i ) WHERE { ?k rdf:type ?x . VALUES ( ?x ) { ( ontology:military_unit_type-size_class ) ( ontology:authority_organ ) } } GROUP BY ?t } . FILTER ( ?i = ?f ) }
[]
military branch military unit type-size class authority organ
Q276538 Q2862927 Q781360
SYSTEM
Eurocorps, Indonesian Army, Australian Army
Q16056518 Q56015 Q210606 Q2328515 Q1114493 Q1046947 Q172771 Q1078222 Q676404 Q5555333 Q9160892 Q19344622 Q1038047 Q833040 Q4117226 Q217406 Q2575188 Q488756 Q156649 Q1067064 Q781360 Q2492012 Q2862927 Q4447359 Q1652708 Q1951484 Q1750688 Q276538 Q272110 Q56012 Q7275540 Q25387 Q208711 Q741691 Q11322507 Q2292358 Q151701 Q11218 Q167682 Q2383264 Q18643350 Q465283 Q2384177 Q1124986 Q25436 Q2258261 Q4447363 Q1753805 Q731647 Q2630039 Q219712 Q706996 Q1674702
(c(Q23905071)|c(Q895526),P361,c(Q781132))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q23905071
action find_reverse_tuple_counts
relation P361
type Q781132
type Q895526
[ANSWERS] are min number of military unit type-size classes or authority organs a part of
[[{'concept': 'Q23905071'}, {'concept': 'Q895526'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?f ) { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:P361 ?c . ?q rdf:type ontology:Q895526 . ?c rdf:type ontology:Q781132 } UNION { ?q property:P361 ?c . ?c rdf:type ontology:Q781132 . ?q rdf:type ontology:Q23905071 } } GROUP BY ?c } } . { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?i ) WHERE { ?k rdf:type ?x . VALUES ( ?x ) { ( ontology:Q23905071 ) ( ontology:Q895526 ) } } GROUP BY ?t } . FILTER ( ?i = ?f ) }
Nepalese Army German Navy 2nd Marine Division Belize Defence Force Roman army Royal Marines Royal Navy Imperial Russian Army Spanish Navy Ghana Army fortress artillery naval reserve force Irish Army Italian Navy Royal Jordanian Land Force French Navy Royal Danish Army Republic of Korea Navy Imperial German Navy United States Special Operations Command Australian Army Swedish Army Indonesian Army Austrian Land Forces South African Navy Georgian Land Forces Brazilian Navy Eurocorps Yugoslav People's Army German Army RAF Regiment Royal Canadian Navy Chilean Navy Royal Australian Navy German Army Brazilian Army Kriegsmarine United States Marine Corps rocket artillery Finnish Army Islamic Republic of Iran Ground Force Russian Navy Norwegian Army Confederate States Navy Canadian Army Pakistan Navy Lebanese Ground Forces Croatian Army Japan Maritime Self-Defense Force New Zealand Army Imperial Japanese Navy Southern Expeditionary Army Group GOC Army Headquarters
Eurocorps, Indonesian Army and Australian Army are min number of military unit type-size classes or authority organs a part of
Eurocorps Indonesian Army Australian Army
action argmin
action union
action find_reverse_tuple_counts
relation part of
type military branch
type military unit type-size class
action find_reverse_tuple_counts
relation part of
type military branch
type authority organ
[[{'concept': 'military unit type-size class'}, {'concept': 'authority organ'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?f ) { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:part_of ?c . ?q rdf:type ontology:authority_organ . ?c rdf:type ontology:military_branch } UNION { ?q property:part_of ?c . ?c rdf:type ontology:military_branch . ?q rdf:type ontology:military_unit_type-size_class } } GROUP BY ?c } } . { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?i ) WHERE { ?k rdf:type ?x . VALUES ( ?x ) { ( ontology:military_unit_type-size_class ) ( ontology:authority_organ ) } } GROUP BY ?t } . FILTER ( ?i = ?f ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P241
Q781132 Q502895
USER
Which military branches are around the same number of people associated with as that military branch ?
(c(Q502895),P241,c(Q781132))
[{'concept': 'Q502895'}, 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?y WHERE { ?z property:Q781132 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q781132 }
[{'concept': 'common name'}, 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?y WHERE { ?z property:military_branch ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:military_branch }
[]
military branch common name
Comparative|More/Less|Single entity type|Clarification
Q781360
SYSTEM
Did you mean Australian Army ?
(c(Q502895),P241,c(Q781132))
[ANSWER]
[{'concept': 'Q502895'}, 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?y WHERE { ?z property:Q781132 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q781132 }
Did you mean Australian Army ?
Australian Army
[{'concept': 'common name'}, 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?y WHERE { ?z property:military_branch ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:military_branch }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q502895),P241,c(Q781132))
[{'concept': 'Q502895'}, 'P241', {'concept': 'Q781132'}]
[{'concept': 'common name'}, 'military branch', {'concept': 'military branch'}]
[]
Q222883 Q2074039 Q706042
SYSTEM
Special Air Service, Latvian Land Forces, Prussian Army
Q1435813 Q169025 Q704397 Q6047425 Q1187401 Q1137373 Q2705826 Q248989 Q18596375 Q217406 Q156649 Q682645 Q919979 Q356359 Q1652708 Q1432954 Q3293231 Q1076619 Q1125021 Q741691 Q11322507 Q855186 Q504721 Q2384177 Q465283 Q931281 Q1078222 Q4083685 Q706042 Q796754 Q897614 Q2862975 Q483268 Q1114493 Q1815399 Q11737524 Q2067603 Q2258261 Q2078095 Q5555333 Q2862886 Q2383264 Q9160871 Q676404 Q1546449 Q16408580 Q508647 Q276535 Q7406484 Q246813 Q1774585 Q25436 Q2630039 Q6479134 Q642932 Q2292358 Q4274345 Q1358152 Q355771 Q2074039 Q267167 Q583941 Q1322103 Q781360 Q222883 Q3068744 Q1129369 Q557432 Q4115107 Q7708336 Q219712 Q1038047 Q833040 Q2575188 Q2257572 Q889751 Q272110 Q701923 Q1750688 Q3308846 Q7032867 Q2083573 Q56012 Q2626138 Q755179 Q1209256 Q2301347 Q1046947 Q731647 Q4447368 Q2016459 Q1753805 Q1799545 Q3274075 Q5065783 Q1141396 Q682152 Q1953312 Q2745472 Q1062125 Q912949 Q2006452 Q313422 Q533265 Q2558747 Q311689 Q56015 Q9377433 Q2528358 Q2257793 Q382551 Q2862927 Q4447359 Q1777326 Q383108 Q25387 Q1370395 Q3293295 Q2492012 Q151701 Q796411 Q1898583 Q1721681 Q510534 Q1124986 Q1401100 Q575932 Q5378171 Q1674702
(c(Q502895),P241,c(Q781132))
[ANSWERS] are around the same number of people associated with as that military branch
[{'concept': 'Q502895'}, 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?y WHERE { ?z property:Q781132 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q781132 }
Kitchener's Army National Navy of Uruguay Republic of China Army German Army People's Liberation Army Ground Force Libyan Army Free French Naval Forces Polish Land Forces Army of Burkina Faso French Navy Imperial German Navy Austro-Hungarian Army Parachute Regiment Indian Navy South African Navy New Model Army Bangladesh Navy French Army Confederate States Army Royal Australian Navy German Army Regia Marina Grande Armée Norwegian Army Russian Navy Royal Netherlands Navy Imperial Russian Army Bengal Army Prussian Army Soviet Navy Iraqi Army Mexican Army Republic of Korea Army Roman army South African Army cavalry of Second Polish Republic Royal Indian Navy Pakistan Navy Pakistan Army Ghana Army Armée de Vichy Finnish Army Artillery of Second Polish Republic Spanish Navy Hellenic Army Eesti Merevägi Volksmarine Imperial Japanese Army Salvadoran Army Luxembourg Army Swedish Amphibious Corps Canadian Army New Zealand Army Egyptian Army Indian Army Brazilian Army Madras Army Korean People's Army Ground Force Indian Army Latvian Land Forces Polish Navy Imperial Russian Navy Spanish Army Australian Army Special Air Service Syrian Arab Army Hellenic Navy East German Land Forces National Army of Colombia Texian Army Imperial Japanese Navy Irish Army Italian Navy Royal Danish Army Belgian Land Component Japan Ground Self-Defense Force Yugoslav People's Army German Army Brazilian Navy Royal Yugoslav Army Nigerian Army Royal Norwegian Navy German Army Armenian Army People's Liberation Army Navy Serbian Army Argentine Army Royal Marines Japan Maritime Self-Defense Force Paraguayan Army Polish Special Forces Croatian Army Philippine Army Sri Lanka Navy Ceylon Defence Force Swedish Navy Ukrainian Ground Forces Bulgarian Land Forces Chilean Army Ottoman Navy light cavalry Royal Danish Navy German Army Bavarian Army Romanian Land Forces Royal Hungarian Army German Navy Army of the Second Polish Republic Mexican Navy Royal Italian Army Egyptian Navy Indonesian Army Austrian Land Forces Argentine Navy Afghan National Army Royal Canadian Navy Estonian Land Forces Turkish Navy Swedish Army Kriegsmarine Italian Army marines Imperial Army (Holy Roman Empire) Israeli Navy Confederate States Navy Myanmar Army Royal New Zealand Navy English Army GOC Army Headquarters
Special Air Service, Latvian Land Forces and Prussian Army are around the same number of people associated with as that military branch
Special Air Service Latvian Land Forces Prussian Army
[{'concept': 'common name'}, 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?y WHERE { ?z property:military_branch ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2490346
P40
Q502895
USER
Whose child are Maria Francesca Rossetti ?
(c(Q502895),P40,Q2490346)
action filter_type
action find_reverse
entity Q2490346
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q2490346']
SELECT DISTINCT ?q WHERE { ?q property:P40 resource:Q2490346 . ?q rdf:type ontology:Q502895 }
Maria Francesca Rossetti
action filter_type
action find_reverse
entity Maria Francesca Rossetti
relation child
type common name
[{'concept': 'common name'}, 'child', 'Maria Francesca Rossetti']
SELECT DISTINCT ?q WHERE { ?q property:child resource:Maria_Francesca_Rossetti . ?q rdf:type ontology:common_name }
[]
common name
Q1490588 Q2278571
SYSTEM
Gabriele Rossetti, Frances Polidori
Q1490588 Q2278571
(c(Q502895),P40,Q2490346)
action filter_type
action find_reverse
entity Q2490346
relation P40
type Q502895
[ANSWERS] are Maria Francesca Rossetti
[{'concept': 'Q502895'}, 'P40', 'Q2490346']
SELECT DISTINCT ?q WHERE { ?q property:P40 resource:Q2490346 . ?q rdf:type ontology:Q502895 }
Gabriele Rossetti Frances Polidori
Gabriele Rossetti and Frances Polidori are Maria Francesca Rossetti
Gabriele Rossetti Frances Polidori
action filter_type
action find_reverse
entity Maria Francesca Rossetti
relation child
type common name
[{'concept': 'common name'}, 'child', 'Maria Francesca Rossetti']
SELECT DISTINCT ?q WHERE { ?q property:child resource:Maria_Francesca_Rossetti . ?q rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1490588
P22
Q502895
USER
Who are the offspring of that one ?
(c(Q502895),P22,Q1490588)
action filter_type
action find_reverse
entity Q1490588
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1490588']
SELECT DISTINCT ?v WHERE { ?v property:P22 resource:Q1490588 . ?v rdf:type ontology:Q502895 }
Gabriele Rossetti
action filter_type
action find_reverse
entity Gabriele Rossetti
relation father
type common name
[{'concept': 'common name'}, 'father', 'Gabriele Rossetti']
SELECT DISTINCT ?v WHERE { ?v property:father resource:Gabriele_Rossetti . ?v rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1490588
SYSTEM
Did you mean Gabriele Rossetti ?
Q1490588 Q2278571
(c(Q502895),P22,Q1490588) (c(Q502895),P22,Q2278571)
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q1490588'] [{'concept': 'Q502895'}, 'P22', 'Q2278571']
SELECT DISTINCT ?v WHERE { ?v property:P22 resource:Q1490588 . ?v rdf:type ontology:Q502895 }
Gabriele Rossetti Frances Polidori
Did you mean Gabriele Rossetti ?
Gabriele Rossetti
[{'concept': 'common name'}, 'father', 'Gabriele Rossetti'] [{'concept': 'common name'}, 'father', 'Frances Polidori']
SELECT DISTINCT ?v WHERE { ?v property:father resource:Gabriele_Rossetti . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P22,Q1490588)
[{'concept': 'Q502895'}, 'P22', 'Q1490588']
[{'concept': 'common name'}, 'father', 'Gabriele Rossetti']
[]
Q186748 Q236596 Q719428
SYSTEM
Dante Gabriel Rossetti, Christina Rossetti, William Michael Rossetti
Q186748 Q236596 Q2490346 Q719428
(c(Q502895),P22,Q1490588)
action filter_type
action find_reverse
entity Q1490588
relation P22
type Q502895
The offspring of that one are [ANSWERS]
[{'concept': 'Q502895'}, 'P22', 'Q1490588']
SELECT DISTINCT ?v WHERE { ?v property:P22 resource:Q1490588 . ?v rdf:type ontology:Q502895 }
Dante Gabriel Rossetti Christina Rossetti Maria Francesca Rossetti William Michael Rossetti
The offspring of that one are Dante Gabriel Rossetti, Christina Rossetti and William Michael Rossetti
Dante Gabriel Rossetti Christina Rossetti William Michael Rossetti
action filter_type
action find_reverse
entity Gabriele Rossetti
relation father
type common name
[{'concept': 'common name'}, 'father', 'Gabriele Rossetti']
SELECT DISTINCT ?v WHERE { ?v property:father resource:Gabriele_Rossetti . ?v rdf:type ontology:common_name }
[]