Simple Question (Direct)
Simple Question
Q12271394
P607
Q1190554
USER
What was the event that Alexandros Rosios took part in
(Q12271394,P607,c(Q1190554))
action filter_type
action find
entity Q12271394
relation P607
type Q1190554
['Q12271394', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?h WHERE { resource:Q12271394 property:P607 ?h . ?h rdf:type ontology:Q1190554 }
Alexandros Rosios
action filter_type
action find
entity Alexandros Rosios
relation conflict
type event
['Alexandros Rosios', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?h WHERE { resource:Alexandros_Rosios property:conflict ?h . ?h rdf:type ontology:event }
[]
event
Q223604
SYSTEM
Greco-Italian War
Q223604
(Q12271394,P607,c(Q1190554))
action filter_type
action find
entity Q12271394
relation P607
type Q1190554
The event that Alexandros Rosios took part in was the [ANSWER]
['Q12271394', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?h WHERE { resource:Q12271394 property:P607 ?h . ?h rdf:type ontology:Q1190554 }
Greco-Italian War
The event that Alexandros Rosios took part in was the Greco-Italian War
Greco-Italian War
action filter_type
action find
entity Alexandros Rosios
relation conflict
type event
['Alexandros Rosios', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?h WHERE { resource:Alexandros_Rosios property:conflict ?h . ?h rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q223604
P710
Q502895
USER
Who were the participants of that event ?
(Q223604,P710,c(Q502895))
action filter_type
action find
entity Q223604
relation P710
type Q502895
['Q223604', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q223604 property:P710 ?g . ?g rdf:type ontology:Q502895 }
Greco-Italian War
action filter_type
action find
entity Greco-Italian War
relation participant
type common name
['Greco-Italian War', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Greco-Italian_War property:participant ?g . ?g rdf:type ontology:common_name }
[]
common name
Q472089 Q57198
SYSTEM
Ugo Cavallero, Wilhelm List
Q472089 Q57198
(Q223604,P710,c(Q502895))
action filter_type
action find
entity Q223604
relation P710
type Q502895
The participants of that event were [ANSWERS]
['Q223604', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q223604 property:P710 ?g . ?g rdf:type ontology:Q502895 }
Ugo Cavallero Wilhelm List
The participants of that event were Ugo Cavallero and Wilhelm List
Ugo Cavallero Wilhelm List
action filter_type
action find
entity Greco-Italian War
relation participant
type common name
['Greco-Italian War', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Greco-Italian_War property:participant ?g . ?g rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q223604
P710
Q1190554
USER
Were those people a participant of Greco-Italian War ?
(Q223604,P710,Q472089) (Q223604,P710,Q57198)
action is_in
entity prev_answer
action find
entity Q223604
relation P710
['Q223604', 'P710', 'Q472089'] ['Q223604', 'P710', 'Q57198']
ASK WHERE { VALUES ( ?w ) { ( resource:Q472089 ) ( resource:Q57198 ) } . resource:Q223604 property:P710 ?w }
Greco-Italian War
action is_in
entity prev_answer
action find
entity Greco-Italian War
relation participant
['Greco-Italian War', 'participant', 'Ugo Cavallero'] ['Greco-Italian War', 'participant', 'Wilhelm List']
ASK WHERE { VALUES ( ?w ) { ( resource:Ugo_Cavallero ) ( resource:Wilhelm_List ) } . resource:Greco-Italian_War property:participant ?w }
[]
event
SYSTEM
YES
(Q223604,P710,Q472089) (Q223604,P710,Q57198)
action is_in
entity prev_answer
action find
entity Q223604
relation P710
[ANSWER]
['Q223604', 'P710', 'Q472089'] ['Q223604', 'P710', 'Q57198']
ASK WHERE { VALUES ( ?w ) { ( resource:Q472089 ) ( resource:Q57198 ) } . resource:Q223604 property:P710 ?w }
Yes
action is_in
entity prev_answer
action find
entity Greco-Italian War
relation participant
['Greco-Italian War', 'participant', 'Ugo Cavallero'] ['Greco-Italian War', 'participant', 'Wilhelm List']
ASK WHERE { VALUES ( ?w ) { ( resource:Ugo_Cavallero ) ( resource:Wilhelm_List ) } . resource:Greco-Italian_War property:participant ?w }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by approximately 1654 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1654
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?o ) WHERE { ?t property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?o = 1654 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1654
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?o ) WHERE { ?t property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?o = 1654 ) }
[]
musical instrument common name
Q80284 Q46185 Q80019
SYSTEM
viola, bass guitar, double bass
Q80284 Q46185 Q80019 Q8338 Q8371 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1654
[ANSWERS] are played by approximately 1654 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?o ) WHERE { ?t property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?o = 1654 ) }
viola bass guitar double bass trumpet cello organ drum kit electronic keyboard
Viola, bass guitar and double bass are played by approximately 1654 people
viola bass guitar double bass
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1654
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?o ) WHERE { ?t property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?o = 1654 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q216184
P361
Q1190554 Q645883 Q1190554
USER
How many events are less number of military operations and events a component of than Western Front (World War II) ?
(c(Q645883)|c(Q1190554),P361,c(Q1190554))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q645883
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q1190554
action count
action filter_multi_types
action find_reverse
entity Q216184
relation P361
type Q645883
type Q1190554
[[{'concept': 'Q645883'}, {'concept': 'Q1190554'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:Q645883 ) ( ontology:Q1190554 ) } } GROUP BY ?e } . FILTER ( ?h < ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P361 resource:Q216184 . { { ?n rdf:type ontology:Q645883 } UNION { ?n rdf:type ontology:Q1190554 } } } } }
Western Front (World War II)
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type event
type military operation
action find_reverse_tuple_counts
relation part of
type event
type event
action count
action filter_multi_types
action find_reverse
entity Western Front (World War II)
relation part of
type military operation
type event
[[{'concept': 'military operation'}, {'concept': 'event'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:military_operation ) ( ontology:event ) } } GROUP BY ?e } . FILTER ( ?h < ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:part_of resource:Western_Front_(World_War_II) . { { ?n rdf:type ontology:military_operation } UNION { ?n rdf:type ontology:event } } } } }
[]
event military operation event
SYSTEM
242
Q87138 Q11347454 Q19364861 Q15726688 Q5887669 Q716562 Q19870743 Q1458235 Q11663 Q576338 Q287942 Q15833607 Q1245157 Q4709161 Q1093550 Q869045 Q7573442 Q3445341 Q696844 Q49092 Q5685042 Q19362030 Q842774 Q1934591 Q2091916 Q683912 Q638530 Q20821272 Q737907 Q7569936 Q4126360 Q2334719 Q164348 Q184637 Q2495510 Q1842866 Q221941 Q576292 Q815216 Q250747 Q193603 Q827612 Q15946570 Q233505 Q7109930 Q17021072 Q2067876 Q109251 Q5916 Q492126 Q195983 Q16471 Q16470 Q697022 Q2408799 Q638608 Q385378 Q4978527 Q4513932 Q4141642 Q217145 Q1765465 Q51661 Q51660 Q392213 Q21030182 Q4743407 Q46857 Q151290 Q1514908 Q1154050 Q151340 Q15013125 Q212658 Q18639147 Q517578 Q830059 Q374814 Q870196 Q523154 Q1136575 Q16146546 Q629965 Q20857240 Q8669 Q1151913 Q952881 Q21482801 Q814235 Q482456 Q189508 Q1417059 Q572291 Q1647768 Q743776 Q51662 Q19429010 Q83055 Q7860 Q210714 Q8016240 Q477973 Q916495 Q582584 Q1756029 Q7885422 Q1657839 Q3119190 Q1827267 Q714274 Q1144824 Q6644923 Q201676 Q246863 Q327035 Q430726 Q1340107 Q1225409 Q2704441 Q48314 Q2026016 Q5547987 Q223604 Q168556 Q18536369 Q605977 Q18378977 Q789406 Q253684 Q19864219 Q18145759 Q28545 Q15303938 Q640100 Q464512 Q7573405 Q8050376 Q7506756 Q151018 Q688308 Q7333201 Q856216 Q829875 Q324438 Q221967 Q239060 Q15553019 Q154031 Q218678 Q169072 Q1130507 Q202298 Q1134220 Q631795 Q340075 Q464980 Q51656 Q51657 Q51655 Q4825628 Q687572 Q3310304 Q27653685 Q1758572 Q468293 Q7567350 Q290178 Q7968673 Q164983 Q2889354 Q18606884 Q821283 Q1525846 Q2524228 Q6068230 Q162362 Q3509177 Q261776 Q6165880 Q3491709 Q208156 Q154182 Q23687335 Q750567 Q296754 Q51649 Q4825457 Q17005775 Q1498028 Q315921 Q315342 Q194132 Q123210 Q1372308 Q4465891 Q476300 Q6449024 Q712461 Q377269 Q847301 Q1993443 Q2649081 Q18326286 Q482090 Q162357 Q2117576 Q1413732 Q6133239 Q17189951 Q426227 Q51654 Q604897 Q953045 Q21083298 Q6762017 Q27145365 Q18208094 Q1440764 Q426099 Q3769089 Q685683 Q807843 Q696823 Q130861 Q692065 Q235344 Q617333 Q697625 Q165725 Q3778609 Q7127419 Q2761147 Q417744 Q684324 Q617409 Q11448 Q1070342 Q482979 Q158677 Q10862448 Q16918333 Q3402214
(c(Q645883)|c(Q1190554),P361,c(Q1190554))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q645883
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q1190554
action count
action filter_multi_types
action find_reverse
entity Q216184
relation P361
type Q645883
type Q1190554
[ANSWER]
[[{'concept': 'Q645883'}, {'concept': 'Q1190554'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:Q645883 ) ( ontology:Q1190554 ) } } GROUP BY ?e } . FILTER ( ?h < ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P361 resource:Q216184 . { { ?n rdf:type ontology:Q645883 } UNION { ?n rdf:type ontology:Q1190554 } } } } }
Greco-Turkish War Neapolitan campaigns of Louis the Great Internal conflict in Bangladesh Esperanto meeting Nicaraguan civil war Battle of Hakodate Anglo-French war of 1202–14 Battle of the Upper Baetis weather Japanese invasions of Korea Russo-Turkish War Annexation of Crimea by the Russian Federation Battle of Loos Albanian Revolt of 1911 Western Sahara conflict Queen Anne's War Spanish reconquest of Mexico Saintonge War Battle of Anzio 1948 Arab–Israeli War Hawkesbury and Nepean Wars aftermath of the 2014–15 Yemeni coup d'état Polish–Ukrainian War Battle of North Borneo Reform War Operation Tractable Texas Revolution axiomatisation Latin War Southern Front of the Russian Civil War Glyndŵr Rising legal case Hungarian Revolution of 1956 Ten Years' War Battle of Reval Battle of Aleppo War of the Quadruple Alliance Fourth Anglo-Dutch War Siege of Sevastopol Race to the Sea ontogeny Jugurthine War Yemeni Crisis Second Barbary War Ottoman Invasion of Mani Pemmican War Polish–Swedish War (1600-29) Samnite Wars spaceflight Frisian–Frankish wars Franco-Flemish War Invasion of Normandy Normandy landings Battle of the Scheldt Battle of the Misrata frontline software development construction Bruce campaign in Ireland Montenegrin–Ottoman War Anglo-Russian invasion of Holland Guadalcanal Campaign Middle Eastern theatre of World War I Seventh Crusade Sixth Crusade Siege of Orléans Battle of Kunduz American Civil Liberties Union v. National Security Agency scientific method Battle of Moscow Cuban War of Independence Peninsula Campaign Battle of France Latin War War of the Polish Succession Byzantine–Bulgarian war of 894–896 King George's War Battle of Red Cliffs certification Russo-Swedish War Caucasus Campaign Vandalic War Civil conflict in the Philippines Russo-Swedish War European migrant crisis Arab–Israeli conflict First Anglo-Dutch War French intervention in Mexico Islamic terrorism crisis in France German Campaign of 1813 Fall of Saigon Glorious Revolution First Fitna Guelders Wars First Mithridatic War First Peloponnesian War Northern Crusades 2014 Odessa clashes Operation Barbarossa nature 2011 military intervention in Libya trial Gothic War Second Anglo-Dutch War First Anglo–Sikh War Operation Tonga Battle for Narva (1944) Ten Days' Campaign Roman-Etruscan Wars Byzantine–Seljuq wars Allied advance from Paris to the Rhine Battle of Messines Operation Hydra funeral Livonian War Battle of Gazala Anglo-Spanish War (1585–1604) Cantabrian Wars Moro conflict Chilean Civil War of 1891 Battle of Waterloo Operation Cartwheel Georgian-Seljuk wars Greco-Italian War Schmalkaldic War Battle of Donetsk Airport War of the Fourth Coalition Naderian Wars Balkans Campaign French campaign in Egypt and Syria Anbar offensive 2014–15 Yemeni coup d'état teaching Islamic Front–Free Syrian Army conflict Battles of the Bruch Battle of Balaclava Spanish invasion of Portugal Yavapai War Siamese revolution of 1688 Battle of the Bulge Swedish War of Liberation Rif Dimashq offensive Beaver Wars Nigerian Civil War War of the Pyrenees Brusilov Offensive Arab Revolt (1916–1918) Anbar clashes (2013–2014) German Peasants' War North African Campaign Colombian armed conflict Hundred Days Offensive Japanese tea ceremony Mongol invasion of Rus' Kalmar War Moroccan–Portuguese conflicts exhibition Fourth Crusade Albigensian Crusade Third Crusade reprisal operations Battle of the Frontiers Second War of Scottish Independence War in the Black Sea Hook and Cod wars First Barbary War South German Offensive economic crisis War of the Bucket Gallipoli campaign Monastir Offensive Old Towns and New Needs; also the Town Extension Plan Battle of Warsaw 2012 Tuareg rebellion Italian War of 1551–1559 Iraqi–Kurdish conflict Balkans Campaign Battle of Narva Battles of Rzhev Soviet invasion of Manchuria Glencairn's rising Mongol invasions of Japan Battle of Berlin Warburton Lectures Spring Offensive Battle of Singapore First Crusade Austrian-Hungarian War Idlib Governorate clashes Hildesheim Diocesan Feud Thirteen Years' War Burgundian Wars Operation Torch Russo-Turkish War Jōkyū War Ottoman–Persian War competition Kuwait–Nejd Border War Battle of Aizu Dutch–Portuguese War political campaign Battle of the St. Lawrence Battle of the Netherlands Kublai Khan's Campaigns steelmaking Battle of Smolensk Puget Sound War Kashmir conflict Operation Zafar 7 KYOTO Cross Media Experience Battle of Passchendaele Second Crusade Battle of Dien Bien Phu metalwork Israeli–Palestinian conflict Marian civil war battles of Schooneveld Turkish involvement in the Syrian Civil War Battle of Timor Siege of Antwerp Second Fitna First Schleswig War Bishops' Wars Battle for Caen Battle of Kursk Leningrad–Novgorod Offensive Battle of the Alamola Franco-Spanish War (1635–1659) Battle of Belgium Balkan Wars Despenser War Palestinian insurgency in South Lebanon meeting Dano-Swedish War War of the Fifth Coalition Argentine War of Independence radioactivity King William's War Battle of Pusan Perimeter Northern Seven Years' War Liberation Day Ukrainian crisis Invasion of Portugal
242
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type event
type military operation
action find_reverse_tuple_counts
relation part of
type event
type event
action count
action filter_multi_types
action find_reverse
entity Western Front (World War II)
relation part of
type military operation
type event
[[{'concept': 'military operation'}, {'concept': 'event'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:military_operation ) ( ontology:event ) } } GROUP BY ?e } . FILTER ( ?h < ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:part_of resource:Western_Front_(World_War_II) . { { ?n rdf:type ontology:military_operation } UNION { ?n rdf:type ontology:event } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q23687335
P361
Q1190554 Q645883 Q1190554
USER
And what about Warburton Lectures?
(c(Q645883)|c(Q1190554),P361,c(Q1190554))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q645883
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q1190554
action count
action filter_multi_types
action find_reverse
entity Q23687335
relation P361
type Q645883
type Q1190554
[[{'concept': 'Q645883'}, {'concept': 'Q1190554'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?w WHERE { VALUES ( ?o ) { ( ontology:Q645883 ) ( ontology:Q1190554 ) } . ?v rdf:type ?o } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { ?n rdf:type ?k . VALUES ( ?k ) { ( ontology:Q645883 ) ( ontology:Q1190554 ) } } . ?n property:P361 resource:Q23687335 } } . FILTER ( ?f < ?s ) }
Warburton Lectures
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type event
type military operation
action find_reverse_tuple_counts
relation part of
type event
type event
action count
action filter_multi_types
action find_reverse
entity Warburton Lectures
relation part of
type military operation
type event
[[{'concept': 'military operation'}, {'concept': 'event'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?w WHERE { VALUES ( ?o ) { ( ontology:military_operation ) ( ontology:event ) } . ?v rdf:type ?o } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { ?n rdf:type ?k . VALUES ( ?k ) { ( ontology:military_operation ) ( ontology:event ) } } . ?n property:part_of resource:Warburton_Lectures } } . FILTER ( ?f < ?s ) }
[]
event military operation event
SYSTEM
57
Q19364861 Q15726688 Q5887669 Q11663 Q15833607 Q20821272 Q2334719 Q164348 Q2495510 Q193603 Q233505 Q2067876 Q5916 Q638608 Q385378 Q21030182 Q46857 Q374814 Q20857240 Q21482801 Q482456 Q7860 Q210714 Q8016240 Q714274 Q1144824 Q6644923 Q201676 Q1225409 Q2026016 Q28545 Q640100 Q464512 Q7506756 Q169072 Q202298 Q464980 Q4825628 Q290178 Q18606884 Q476300 Q847301 Q18326286 Q482090 Q6133239 Q604897 Q953045 Q21083298 Q27145365 Q18208094 Q1440764 Q692065 Q235344 Q165725 Q7127419 Q11448 Q10862448
(c(Q645883)|c(Q1190554),P361,c(Q1190554))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q645883
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q1190554
action count
action filter_multi_types
action find_reverse
entity Q23687335
relation P361
type Q645883
type Q1190554
[ANSWER]
[[{'concept': 'Q645883'}, {'concept': 'Q1190554'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?w WHERE { VALUES ( ?o ) { ( ontology:Q645883 ) ( ontology:Q1190554 ) } . ?v rdf:type ?o } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { ?n rdf:type ?k . VALUES ( ?k ) { ( ontology:Q645883 ) ( ontology:Q1190554 ) } } . ?n property:P361 resource:Q23687335 } } . FILTER ( ?f < ?s ) }
Internal conflict in Bangladesh Esperanto meeting Nicaraguan civil war weather Annexation of Crimea by the Russian Federation axiomatisation legal case Hungarian Revolution of 1956 Battle of Reval ontogeny Second Barbary War Polish–Swedish War (1600-29) spaceflight software development construction Battle of Kunduz scientific method certification European migrant crisis Islamic terrorism crisis in France Fall of Saigon nature 2011 military intervention in Libya trial Allied advance from Paris to the Rhine Battle of Messines Operation Hydra funeral Moro conflict Operation Cartwheel teaching Battles of the Bruch Battle of Balaclava Siamese revolution of 1688 Colombian armed conflict Japanese tea ceremony exhibition reprisal operations economic crisis Old Towns and New Needs; also the Town Extension Plan competition political campaign Kublai Khan's Campaigns steelmaking Operation Zafar 7 Battle of Dien Bien Phu metalwork Israeli–Palestinian conflict battles of Schooneveld Turkish involvement in the Syrian Civil War Battle of Timor Leningrad–Novgorod Offensive Battle of the Alamola Balkan Wars Palestinian insurgency in South Lebanon radioactivity Liberation Day
57
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type event
type military operation
action find_reverse_tuple_counts
relation part of
type event
type event
action count
action filter_multi_types
action find_reverse
entity Warburton Lectures
relation part of
type military operation
type event
[[{'concept': 'military operation'}, {'concept': 'event'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?w WHERE { VALUES ( ?o ) { ( ontology:military_operation ) ( ontology:event ) } . ?v rdf:type ?o } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { ?n rdf:type ?k . VALUES ( ?k ) { ( ontology:military_operation ) ( ontology:event ) } } . ?n property:part_of resource:Warburton_Lectures } } . FILTER ( ?f < ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q472089
P166
Q618779
USER
What was awarded to Ugo Cavallero ?
(Q472089,P166,c(Q618779))
action filter_type
action find
entity Q472089
relation P166
type Q618779
['Q472089', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q472089 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Ugo Cavallero
action filter_type
action find
entity Ugo Cavallero
relation award received
type award
['Ugo Cavallero', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Ugo_Cavallero property:award_received ?x . ?x rdf:type ontology:award }
[]
award
Q165558
SYSTEM
Knight's Cross of the Iron Cross
Q165558
(Q472089,P166,c(Q618779))
action filter_type
action find
entity Q472089
relation P166
type Q618779
Medal [ANSWER] was awarded to Ugo Cavallero
['Q472089', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q472089 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Knight's Cross of the Iron Cross
Medal Knight's Cross of the Iron Cross was awarded to Ugo Cavallero
Knight's Cross of the Iron Cross
action filter_type
action find
entity Ugo Cavallero
relation award received
type award
['Ugo Cavallero', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Ugo_Cavallero property:award_received ?x . ?x rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q165558 Q11768454
P166
Q502895
USER
Was Marek Sierocki honoured with that award ?
(Q11768454,P166,Q165558)
action is_in
entity Q11768454
action find
entity Q165558
relation P166
['Q11768454', 'P166', 'Q165558']
ASK WHERE { resource:Q165558 property:P166 resource:Q11768454 }
Knight's Cross of the Iron Cross Marek Sierocki
action is_in
entity Marek Sierocki
action find
entity Knight's Cross of the Iron Cross
relation award received
['Marek Sierocki', 'award received', "Knight's Cross of the Iron Cross"]
ASK WHERE { resource:Knight's_Cross_of_the_Iron_Cross property:award_received resource:Marek_Sierocki }
[]
common name
SYSTEM
NO
(Q11768454,P166,Q165558)
action is_in
entity Q11768454
action find
entity Q165558
relation P166
[ANSWER]
['Q11768454', 'P166', 'Q165558']
ASK WHERE { resource:Q165558 property:P166 resource:Q11768454 }
No
action is_in
entity Marek Sierocki
action find
entity Knight's Cross of the Iron Cross
relation award received
['Marek Sierocki', 'award received', "Knight's Cross of the Iron Cross"]
ASK WHERE { resource:Knight's_Cross_of_the_Iron_Cross property:award_received resource:Marek_Sierocki }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q15941986 Q223604
P361 P793
Q1190554
USER
Which events are Greco-Italian War a component of or are église Saint-Martin associated with ?
OR((Q223604,P361,c(Q1190554)), (Q15941986,P793,c(Q1190554)))
action filter_type
action union
action find
entity Q223604
relation P361
action find
entity Q15941986
relation P793
type Q1190554
{'OR': [['Q223604', 'P361', {'concept': 'Q1190554'}], ['Q15941986', 'P793', {'concept': 'Q1190554'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q223604 property:P361 ?z } UNION { resource:Q15941986 property:P793 ?z } } . ?z rdf:type ontology:Q1190554 }
église Saint-Martin Greco-Italian War
action filter_type
action union
action find
entity Greco-Italian War
relation part of
action find
entity église Saint-Martin
relation significant event
type event
{'OR': [['Greco-Italian War', 'part of', {'concept': 'event'}], ['église Saint-Martin', 'significant event', {'concept': 'event'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Greco-Italian_War property:part_of ?z } UNION { resource:église_Saint-Martin property:significant_event ?z } } . ?z rdf:type ontology:event }
[]
event
Q2144402 Q162362 Q385378
SYSTEM
renovation, Balkans Campaign, construction
Q2144402 Q162362 Q385378
OR((Q223604,P361,c(Q1190554)), (Q15941986,P793,c(Q1190554)))
action filter_type
action union
action find
entity Q223604
relation P361
action find
entity Q15941986
relation P793
type Q1190554
[ANSWERS] are Greco-Italian War a component of or are église Saint-Martin associated with
{'OR': [['Q223604', 'P361', {'concept': 'Q1190554'}], ['Q15941986', 'P793', {'concept': 'Q1190554'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q223604 property:P361 ?z } UNION { resource:Q15941986 property:P793 ?z } } . ?z rdf:type ontology:Q1190554 }
renovation Balkans Campaign construction
Renovation, Balkans Campaign and construction are Greco-Italian War a component of or are église Saint-Martin associated with
renovation Balkans Campaign construction
action filter_type
action union
action find
entity Greco-Italian War
relation part of
action find
entity église Saint-Martin
relation significant event
type event
{'OR': [['Greco-Italian War', 'part of', {'concept': 'event'}], ['église Saint-Martin', 'significant event', {'concept': 'event'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Greco-Italian_War property:part_of ?z } UNION { resource:église_Saint-Martin property:significant_event ?z } } . ?z rdf:type ontology:event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q385378
P921
Q732577
USER
Which publication has that event as its principal topic ?
(c(Q732577),P921,Q385378)
action filter_type
action find_reverse
entity Q385378
relation P921
type Q732577
[{'concept': 'Q732577'}, 'P921', 'Q385378']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q385378 . ?x rdf:type ontology:Q732577 }
construction
action filter_type
action find_reverse
entity construction
relation main subject
type publication
[{'concept': 'publication'}, 'main subject', 'construction']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:construction . ?x rdf:type ontology:publication }
[]
publication
Clarification for simple ques.
Q162362
SYSTEM
Did you mean Balkans Campaign ?
Q2144402 Q162362 Q385378
(c(Q732577),P921,Q2144402) (c(Q732577),P921,Q162362) (c(Q732577),P921,Q385378)
[ANSWER]
[{'concept': 'Q732577'}, 'P921', 'Q2144402'] [{'concept': 'Q732577'}, 'P921', 'Q162362'] [{'concept': 'Q732577'}, 'P921', 'Q385378']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q385378 . ?x rdf:type ontology:Q732577 }
renovation Balkans Campaign construction
Did you mean Balkans Campaign ?
Balkans Campaign
[{'concept': 'publication'}, 'main subject', 'renovation'] [{'concept': 'publication'}, 'main subject', 'Balkans Campaign'] [{'concept': 'publication'}, 'main subject', 'construction']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:construction . ?x rdf:type ontology:publication }
[]
Simple Question (Coreferenced)
USER
No, I meant construction. Could you tell me the answer for that?
(c(Q732577),P921,Q385378)
Q385378
[{'concept': 'Q732577'}, 'P921', 'Q385378']
[{'concept': 'publication'}, 'main subject', 'construction']
[]
Q477158
SYSTEM
DETAIL
Q477158
(c(Q732577),P921,Q385378)
action filter_type
action find_reverse
entity Q385378
relation P921
type Q732577
[ANSWER] has that event as its principal topic
[{'concept': 'Q732577'}, 'P921', 'Q385378']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q385378 . ?x rdf:type ontology:Q732577 }
DETAIL
DETAIL has that event as its principal topic
DETAIL
action filter_type
action find_reverse
entity construction
relation main subject
type publication
[{'concept': 'publication'}, 'main subject', 'construction']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:construction . ?x rdf:type ontology:publication }
[]