Simple Question (Direct)
Simple Question
Q118662
P463
Q163740
USER
Which nonprofit organization had Regina Ullmann as its member ?
(Q118662,P463,c(Q163740))
action filter_type
action find
entity Q118662
relation P463
type Q163740
['Q118662', 'P463', {'concept': 'Q163740'}]
SELECT DISTINCT ?u WHERE { resource:Q118662 property:P463 ?u . ?u rdf:type ontology:Q163740 }
Regina Ullmann
action filter_type
action find
entity Regina Ullmann
relation member of
type nonprofit organization
['Regina Ullmann', 'member of', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?u WHERE { resource:Regina_Ullmann property:member_of ?u . ?u rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q459620
SYSTEM
German Academy for Language and Literature
Q459620
(Q118662,P463,c(Q163740))
action filter_type
action find
entity Q118662
relation P463
type Q163740
[ANSWER] had Regina Ullmann as its member
['Q118662', 'P463', {'concept': 'Q163740'}]
SELECT DISTINCT ?u WHERE { resource:Q118662 property:P463 ?u . ?u rdf:type ontology:Q163740 }
German Academy for Language and Literature
German Academy for Language and Literature had Regina Ullmann as its member
German Academy for Language and Literature
action filter_type
action find
entity Regina Ullmann
relation member of
type nonprofit organization
['Regina Ullmann', 'member of', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?u WHERE { resource:Regina_Ullmann property:member_of ?u . ?u rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q118662
P19
Q5119
USER
Which capital is the birthplace of that person ?
(Q459620,P19,c(Q5119))
action filter_type
action find
entity Q118662
relation P19
type Q5119
['Q459620', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?d WHERE { resource:Q118662 property:P19 ?d . ?d rdf:type ontology:Q5119 }
Regina Ullmann
action filter_type
action find
entity Regina Ullmann
relation place of birth
type capital
['German Academy for Language and Literature', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?d WHERE { resource:Regina_Ullmann property:place_of_birth ?d . ?d rdf:type ontology:capital }
[]
capital
Q25607
SYSTEM
St. Gallen
Q25607
(Q459620,P19,c(Q5119))
action filter_type
action find
entity Q118662
relation P19
type Q5119
[ANSWER] is the birthplace of that person
['Q459620', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?d WHERE { resource:Q118662 property:P19 ?d . ?d rdf:type ontology:Q5119 }
St. Gallen
St. Gallen is the birthplace of that person
St. Gallen
action filter_type
action find
entity Regina Ullmann
relation place of birth
type capital
['German Academy for Language and Literature', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?d WHERE { resource:Regina_Ullmann property:place_of_birth ?d . ?d rdf:type ontology:capital }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17411775 Q118662
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Regina Ullmann or Zulfadhli ?
OR((Q118662,P27,c(Q15617994)), (Q17411775,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q118662
relation P27
action find
entity Q17411775
relation P27
type Q15617994
{'OR': [['Q118662', 'P27', {'concept': 'Q15617994'}], ['Q17411775', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q118662 property:P27 ?m } UNION { resource:Q17411775 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Zulfadhli Regina Ullmann
action filter_type
action union
action find
entity Regina Ullmann
relation country of citizenship
action find
entity Zulfadhli
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Regina Ullmann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Zulfadhli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Regina_Ullmann property:country_of_citizenship ?m } UNION { resource:Zulfadhli property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39 Q252
SYSTEM
Switzerland, Indonesia
Q39 Q252
OR((Q118662,P27,c(Q15617994)), (Q17411775,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q118662
relation P27
action find
entity Q17411775
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Regina Ullmann or Zulfadhli
{'OR': [['Q118662', 'P27', {'concept': 'Q15617994'}], ['Q17411775', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q118662 property:P27 ?m } UNION { resource:Q17411775 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Switzerland Indonesia
Switzerland and Indonesia are the countries of citizenship of Regina Ullmann or Zulfadhli
Switzerland Indonesia
action filter_type
action union
action find
entity Regina Ullmann
relation country of citizenship
action find
entity Zulfadhli
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Regina Ullmann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Zulfadhli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Regina_Ullmann property:country_of_citizenship ?m } UNION { resource:Zulfadhli property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q38
P530
Q15617994
USER
Do Italy have ambassadorial relations with those ones ?
(Q38,P530,Q39) (Q38,P530,Q252)
action is_in
entity prev_answer
action find
entity Q38
relation P530
['Q38', 'P530', 'Q39'] ['Q38', 'P530', 'Q252']
ASK WHERE { resource:Q38 property:P530 ?q . VALUES ( ?q ) { ( resource:Q39 ) ( resource:Q252 ) } }
Italy
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Switzerland'] ['Italy', 'diplomatic relation', 'Indonesia']
ASK WHERE { resource:Italy property:diplomatic_relation ?q . VALUES ( ?q ) { ( resource:Switzerland ) ( resource:Indonesia ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q38,P530,Q39) (Q38,P530,Q252)
action is_in
entity prev_answer
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q39'] ['Q38', 'P530', 'Q252']
ASK WHERE { resource:Q38 property:P530 ?q . VALUES ( ?q ) { ( resource:Q39 ) ( resource:Q252 ) } }
Yes
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Switzerland'] ['Italy', 'diplomatic relation', 'Indonesia']
ASK WHERE { resource:Italy property:diplomatic_relation ?q . VALUES ( ?q ) { ( resource:Switzerland ) ( resource:Indonesia ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39
P17
Q15617994
USER
Which administrative territory is Switzerland located in ?
(Q39,P17,c(Q15617994))
action filter_type
action find
entity Q39
relation P17
type Q15617994
['Q39', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q39 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Switzerland
action filter_type
action find
entity Switzerland
relation country
type designation for an administrative territorial entity
['Switzerland', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Switzerland property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q39,P17,c(Q15617994))
action filter_type
action find
entity Q39
relation P17
type Q15617994
[ANSWER] is located in [ANSWER]
['Q39', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q39 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Switzerland
Switzerland is located in Switzerland
Switzerland
action filter_type
action find
entity Switzerland
relation country
type designation for an administrative territorial entity
['Switzerland', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Switzerland property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q39
P20
Q502895
USER
Which people have that administrative territory as the area of death ?
(c(Q502895),P20,Q39)
action filter_type
action find_reverse
entity Q39
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q39']
SELECT DISTINCT ?u WHERE { ?u property:P20 resource:Q39 . ?u rdf:type ontology:Q502895 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Switzerland']
SELECT DISTINCT ?u WHERE { ?u property:place_of_death resource:Switzerland . ?u rdf:type ontology:common_name }
[]
common name
Q4119087 Q14625009 Q20733918
SYSTEM
Hazloul bin Abdulaziz Al Saud, Petros Manos, Arno Nagel
Q1913586 Q7341467 Q153614 Q2501908 Q116091 Q2819633 Q21370981 Q675852 Q1350941 Q16019563 Q5336124 Q510026 Q429432 Q2501466 Q115654 Q3168575 Q3172872 Q1586584 Q958778 Q1696032 Q3420521 Q1356356 Q2629823 Q274257 Q561013 Q1356368 Q6081327 Q7965197 Q20733918 Q2980614 Q22283317 Q674124 Q3023037 Q1330933 Q61232 Q4101489 Q15640077 Q1474274 Q62596 Q1730647 Q1893712 Q62692 Q2978907 Q5548458 Q13522499 Q7264034 Q16009187 Q1662793 Q1741280 Q449622 Q1066947 Q1605914 Q1268566 Q4531769 Q4845478 Q102110 Q139888 Q5675132 Q3301472 Q1160237 Q9324695 Q4119087 Q5533096 Q323990 Q2417868 Q1607084 Q1693700 Q76526 Q6173592 Q3365984 Q1674896 Q534299 Q2537570 Q897738 Q95410 Q74619 Q124068 Q1912763 Q527367 Q12730677 Q714634 Q14625009 Q4194980 Q90554 Q17309218 Q1581955
(c(Q502895),P20,Q39)
action filter_type
action find_reverse
entity Q39
relation P20
type Q502895
[ANSWERS] have that administrative territory as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q39']
SELECT DISTINCT ?u WHERE { ?u property:P20 resource:Q39 . ?u rdf:type ontology:Q502895 }
Max Wartemann Robert Allen Lya Mara Ursula Trabalski Franz Keller Herbert Girton Deignan Gonzalo Figueroa y Torres Ernst Lörtscher Erhard Siedel Mike Singleton Eddie Hertzberger Phala Thupten Woenden Peter Risi Ursicinus of Saint-Ursanne Paul Grüninger Jean-Paul Lhopital Jean Jérome Harry Kahn Francisco Vidal y Barraquer Johann Rudolf Sinner Ray Hanna Ernest Hofstetter Dmitry Gayev Mimi Parent Anna Jacobson John Hopkinson Iskender Alptekin Walter Hunziker Arno Nagel Lars Leksell Georges Schonenberger Heinrich Boller Denise Duval Felix Schwormstädt Felix Hoffmann Selma Gessner-Bührer Vera Komarkova José Orabuena Paul Rée Christian Ernst Bentzel-Sternau Marco Elter Günter Wand Clementina Walkinshaw Georgios Zariphis Sir William Ivo Mallet Pál Pajzs Abdol Karim Ayadi Inge Langen Kilian Hennessy Princess Henriette of Belgium Charlie Mills Henri Lutz Henry Steven Hartmann Alexander P. Engelhardt Frederick Sutermeister Gisela von Poellnitz Marcel Stern Andrea Bacle Maurice Tézé Ernő László Ryszard Geyer Hazloul bin Abdulaziz Al Saud Genevieve Townsend Graham Payn Theodor Klüber Henry Noel Marryat Hardy Johann Friedrich Willading E. F. Schumacher Jeff Cohen Vladimír Kobranov István Arató Georgi Kyoseivanov Bert le Vack David Richards Horst Siebert Carl Menckhoff François Isaac de Rivaz Max Jessner Patriarch Maximus V of Constantinople Ioan Mocsony-Stârcea Artur Marya Swinarski Petros Manos Louis Suss Margit Thyssen-Bornemisza, Countess of Batthyány Ken Jones Hans Rein
Hazloul bin Abdulaziz Al Saud, Petros Manos and Arno Nagel have that administrative territory as the area of death
Hazloul bin Abdulaziz Al Saud Petros Manos Arno Nagel
action filter_type
action find_reverse
entity Switzerland
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Switzerland']
SELECT DISTINCT ?u WHERE { ?u property:place_of_death resource:Switzerland . ?u rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q14625009
P607
Q1190554
USER
Which event did that person take part in ?
(Q14625009,P607,c(Q1190554))
action filter_type
action find
entity Q14625009
relation P607
type Q1190554
['Q14625009', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?a WHERE { resource:Q14625009 property:P607 ?a . ?a rdf:type ontology:Q1190554 }
Petros Manos
action filter_type
action find
entity Petros Manos
relation conflict
type event
['Petros Manos', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?a WHERE { resource:Petros_Manos property:conflict ?a . ?a rdf:type ontology:event }
[]
event
Clarification for simple ques.
Q20733918
SYSTEM
Did you mean Arno Nagel ?
Q4119087 Q14625009 Q20733918
(Q4119087,P607,c(Q1190554)) (Q14625009,P607,c(Q1190554)) (Q20733918,P607,c(Q1190554))
[ANSWER]
['Q4119087', 'P607', {'concept': 'Q1190554'}] ['Q14625009', 'P607', {'concept': 'Q1190554'}] ['Q20733918', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?a WHERE { resource:Q14625009 property:P607 ?a . ?a rdf:type ontology:Q1190554 }
Hazloul bin Abdulaziz Al Saud Petros Manos Arno Nagel
Did you mean Arno Nagel ?
Arno Nagel
['Hazloul bin Abdulaziz Al Saud', 'conflict', {'concept': 'event'}] ['Petros Manos', 'conflict', {'concept': 'event'}] ['Arno Nagel', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?a WHERE { resource:Petros_Manos property:conflict ?a . ?a rdf:type ontology:event }
[]
Simple Question (Coreferenced)
USER
No, I meant Petros Manos. Could you tell me the answer for that?
(Q14625009,P607,c(Q1190554))
Q14625009
['Q14625009', 'P607', {'concept': 'Q1190554'}]
['Petros Manos', 'conflict', {'concept': 'event'}]
[]
Q165725
SYSTEM
Balkan Wars
Q165725
(Q14625009,P607,c(Q1190554))
action filter_type
action find
entity Q14625009
relation P607
type Q1190554
That person took part in [ANSWER]
['Q14625009', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?a WHERE { resource:Q14625009 property:P607 ?a . ?a rdf:type ontology:Q1190554 }
Balkan Wars
That person took part in Balkan Wars
Balkan Wars
action filter_type
action find
entity Petros Manos
relation conflict
type event
['Petros Manos', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?a WHERE { resource:Petros_Manos property:conflict ?a . ?a rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14625009
P241
Q781132
USER
Which military branch contains Petros Manos as its part ?
(Q14625009,P241,c(Q781132))
action filter_type
action find
entity Q14625009
relation P241
type Q781132
['Q14625009', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?e WHERE { resource:Q14625009 property:P241 ?e . ?e rdf:type ontology:Q781132 }
Petros Manos
action filter_type
action find
entity Petros Manos
relation military branch
type military branch
['Petros Manos', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?e WHERE { resource:Petros_Manos property:military_branch ?e . ?e rdf:type ontology:military_branch }
[]
military branch
Q1546449
SYSTEM
Hellenic Army
Q1546449
(Q14625009,P241,c(Q781132))
action filter_type
action find
entity Q14625009
relation P241
type Q781132
[ANSWER] contains Petros Manos as its part
['Q14625009', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?e WHERE { resource:Q14625009 property:P241 ?e . ?e rdf:type ontology:Q781132 }
Hellenic Army
Hellenic Army contains Petros Manos as its part
Hellenic Army
action filter_type
action find
entity Petros Manos
relation military branch
type military branch
['Petros Manos', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?e WHERE { resource:Petros_Manos property:military_branch ?e . ?e rdf:type ontology:military_branch }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P241
Q781132 Q502895
USER
Which military branches are around the same number of people affiliated to as that military branch ?
(c(Q502895),P241,c(Q781132))
action approx
action find_reverse_tuple_counts
relation P241
type Q781132
type Q502895
action count
action filter_type
action find
entity Q1546449
relation P241
type Q781132
[{'concept': 'Q502895'}, 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:P241 ?n . ?n rdf:type ontology:Q781132 . ?a rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?l = ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q1546449 property:P241 ?x . ?x rdf:type ontology:Q781132 } } }
action approx
action find_reverse_tuple_counts
relation military branch
type military branch
type common name
action count
action filter_type
action find
entity Hellenic Army
relation military branch
type military branch
[{'concept': 'common name'}, 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:military_branch ?n . ?n rdf:type ontology:military_branch . ?a rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?l = ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Hellenic_Army property:military_branch ?x . ?x rdf:type ontology:military_branch } } }
[]
military branch common name
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))
action approx
action find_reverse_tuple_counts
relation P241
type Q781132
type Q502895
action count
action filter_type
action find
entity Q1546449
relation P241
type Q781132
[ANSWERS] are around the same number of people affiliated to as that military branch
[{'concept': 'Q502895'}, 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:P241 ?n . ?n rdf:type ontology:Q781132 . ?a rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?l = ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q1546449 property:P241 ?x . ?x 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 affiliated to as that military branch
Special Air Service Latvian Land Forces Prussian Army
action approx
action find_reverse_tuple_counts
relation military branch
type military branch
type common name
action count
action filter_type
action find
entity Hellenic Army
relation military branch
type military branch
[{'concept': 'common name'}, 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:military_branch ?n . ?n rdf:type ontology:military_branch . ?a rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?l = ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Hellenic_Army property:military_branch ?x . ?x rdf:type ontology:military_branch } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P607
Q350604
USER
How many armed conflicts did that military branch take part in ?
(Q706042,P607,c(Q350604))
['Q706042', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q706042 property:Q4231815 ?z . ?z rdf:type ontology:Q350604 }
['Prussian Army', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Prussian_Army property:conflict ?z . ?z rdf:type ontology:armed_conflict }
[]
armed conflict
Quantitative|Count|Single entity type|Clarification
Q706042
SYSTEM
Did you mean Prussian Army ?
(Q222883,P607,c(Q350604)) (Q2074039,P607,c(Q350604)) (Q706042,P607,c(Q350604))
[ANSWER]
['Q222883', 'P607', {'concept': 'Q350604'}] ['Q2074039', 'P607', {'concept': 'Q350604'}] ['Q706042', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q706042 property:Q4231815 ?z . ?z rdf:type ontology:Q350604 }
Did you mean Prussian Army ?
Prussian Army
['Special Air Service', 'conflict', {'concept': 'armed conflict'}] ['Latvian Land Forces', 'conflict', {'concept': 'armed conflict'}] ['Prussian Army', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Prussian_Army property:conflict ?z . ?z rdf:type ontology:armed_conflict }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q706042,P607,c(Q350604))
['Q706042', 'P607', {'concept': 'Q350604'}]
['Prussian Army', 'conflict', {'concept': 'armed conflict'}]
[]
SYSTEM
7
Q151616 Q32929 Q559181 Q157548 Q207318 Q233702 Q33143
(Q706042,P607,c(Q350604))
[ANSWER]
['Q706042', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q706042 property:Q4231815 ?z . ?z rdf:type ontology:Q350604 }
Great Northern War War of the Austrian Succession First Silesian War War of the Bavarian Succession French Revolutionary Wars Second Silesian War Seven Years' War
7
['Prussian Army', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Prussian_Army property:conflict ?z . ?z rdf:type ontology:armed_conflict }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q53129 Q118662
P47 P27
Q15617994
USER
Which administrative territories are Regina Ullmann a civilian of or have a shared border with Gradisca d'Isonzo ?
OR((Q118662,P27,c(Q15617994)), (Q53129,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q118662
relation P27
action find
entity Q53129
relation P47
type Q15617994
{'OR': [['Q118662', 'P27', {'concept': 'Q15617994'}], ['Q53129', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { { resource:Q118662 property:P27 ?y } UNION { resource:Q53129 property:P47 ?y } } }
Gradisca d'Isonzo Regina Ullmann
action filter_type
action union
action find
entity Regina Ullmann
relation country of citizenship
action find
entity Gradisca d'Isonzo
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Regina Ullmann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ["Gradisca d'Isonzo", 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Regina_Ullmann property:country_of_citizenship ?y } UNION { resource:Gradisca_d'Isonzo property:shares_border_with ?y } } }
[]
designation for an administrative territorial entity
Q53134 Q53138 Q53128 Q53147 Q53131 Q39 Q53127 Q53136
SYSTEM
Moraro, Sagrado, Fogliano Redipuglia, Villesse, Mariano del Friuli, Switzerland, Farra d'Isonzo, Romans d'Isonzo
Q53134 Q53138 Q53128 Q53147 Q53131 Q39 Q53127 Q53136
OR((Q118662,P27,c(Q15617994)), (Q53129,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q118662
relation P27
action find
entity Q53129
relation P47
type Q15617994
[ANSWERS] are Regina Ullmann a civilian of or have a shared border with Gradisca d'Isonzo
{'OR': [['Q118662', 'P27', {'concept': 'Q15617994'}], ['Q53129', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { { resource:Q118662 property:P27 ?y } UNION { resource:Q53129 property:P47 ?y } } }
Moraro Sagrado Fogliano Redipuglia Villesse Mariano del Friuli Switzerland Farra d'Isonzo Romans d'Isonzo
Moraro, Sagrado, Fogliano Redipuglia, Villesse, Mariano del Friuli, Switzerland, Farra d'Isonzo and Romans d'Isonzo are Regina Ullmann a civilian of or have a shared border with Gradisca d'Isonzo
Moraro Sagrado Fogliano Redipuglia Villesse Mariano del Friuli Switzerland Farra d'Isonzo Romans d'Isonzo
action filter_type
action union
action find
entity Regina Ullmann
relation country of citizenship
action find
entity Gradisca d'Isonzo
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Regina Ullmann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ["Gradisca d'Isonzo", 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Regina_Ullmann property:country_of_citizenship ?y } UNION { resource:Gradisca_d'Isonzo property:shares_border_with ?y } } }
[]