Simple Question (Direct)
Simple Question
Q318434
P9
Q502895
USER
Who are Vsevolod I of Kiev a sibling of ?
(Q318434,P9,c(Q502895))
action filter_type
action find
entity Q318434
relation P9
type Q502895
['Q318434', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q318434 property:P9 ?h . ?h rdf:type ontology:Q502895 }
Vsevolod I of Kiev
action filter_type
action find
entity Vsevolod I of Kiev
relation sister
type common name
['Vsevolod I of Kiev', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Vsevolod_I_of_Kiev property:sister ?h . ?h rdf:type ontology:common_name }
[]
common name
Q230073 Q234724 Q2284422
SYSTEM
Anne of Kiev, Anastasia of Kiev, Elisiv of Kiev
Q230073 Q234724 Q2284422 Q2826477
(Q318434,P9,c(Q502895))
action filter_type
action find
entity Q318434
relation P9
type Q502895
[ANSWERS] are Vsevolod I of Kiev a sibling of
['Q318434', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q318434 property:P9 ?h . ?h rdf:type ontology:Q502895 }
Anne of Kiev Anastasia of Kiev Elisiv of Kiev Agatha, wife of Edward the Exile
Anne of Kiev, Anastasia of Kiev and Elisiv of Kiev are Vsevolod I of Kiev a sibling of
Anne of Kiev Anastasia of Kiev Elisiv of Kiev
action filter_type
action find
entity Vsevolod I of Kiev
relation sister
type common name
['Vsevolod I of Kiev', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Vsevolod_I_of_Kiev property:sister ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q318434
P22
Q502895
USER
Which male person has a child named Vsevolod I of Kiev ?
(Q318434,P22,c(Q502895))
action filter_type
action find
entity Q318434
relation P22
type Q502895
['Q318434', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q318434 property:P22 ?y . ?y rdf:type ontology:Q502895 }
Vsevolod I of Kiev
action filter_type
action find
entity Vsevolod I of Kiev
relation father
type common name
['Vsevolod I of Kiev', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Vsevolod_I_of_Kiev property:father ?y . ?y rdf:type ontology:common_name }
[]
common name
Q188943
SYSTEM
Yaroslav the Wise
Q188943
(Q318434,P22,c(Q502895))
action filter_type
action find
entity Q318434
relation P22
type Q502895
And [ANSWER] has a child named Vsevolod I of Kiev
['Q318434', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q318434 property:P22 ?y . ?y rdf:type ontology:Q502895 }
Yaroslav the Wise
And Yaroslav the Wise has a child named Vsevolod I of Kiev
Yaroslav the Wise
action filter_type
action find
entity Vsevolod I of Kiev
relation father
type common name
['Vsevolod I of Kiev', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Vsevolod_I_of_Kiev property:father ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q188943
P710
Q350604
USER
What event was that person a participant of ?
(c(Q350604),P710,Q188943)
action filter_type
action find_reverse
entity Q188943
relation P710
type Q350604
[{'concept': 'Q350604'}, 'P710', 'Q188943']
SELECT DISTINCT ?z WHERE { ?z property:P710 resource:Q188943 . ?z rdf:type ontology:Q350604 }
Yaroslav the Wise
action filter_type
action find_reverse
entity Yaroslav the Wise
relation participant
type armed conflict
[{'concept': 'armed conflict'}, 'participant', 'Yaroslav the Wise']
SELECT DISTINCT ?z WHERE { ?z property:participant resource:Yaroslav_the_Wise . ?z rdf:type ontology:armed_conflict }
[]
armed conflict
Q47985
SYSTEM
Rus'–Byzantine War (1043)
Q47985
(c(Q350604),P710,Q188943)
action filter_type
action find_reverse
entity Q188943
relation P710
type Q350604
What event was that person a participant of
[{'concept': 'Q350604'}, 'P710', 'Q188943']
SELECT DISTINCT ?z WHERE { ?z property:P710 resource:Q188943 . ?z rdf:type ontology:Q350604 }
Rus'–Byzantine War (1043)
What event was that person a participant of
Rus'–Byzantine War (1043)
action filter_type
action find_reverse
entity Yaroslav the Wise
relation participant
type armed conflict
[{'concept': 'armed conflict'}, 'participant', 'Yaroslav the Wise']
SELECT DISTINCT ?z WHERE { ?z property:participant resource:Yaroslav_the_Wise . ?z rdf:type ontology:armed_conflict }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q47985 Q58355 Q5343890
P710
Q502895
USER
Did Vladimir of Novgorod and Edward Keeling participate in Q47985 ?
(Q47985,P710,Q58355) (Q47985,P710,Q5343890)
action is_in
entity Q47985
action intersection
action find_reverse
entity Q58355
relation P710
action find_reverse
entity Q5343890
relation P710
['Q47985', 'P710', 'Q58355'] ['Q47985', 'P710', 'Q5343890']
ASK WHERE { resource:Q47985 property:P710 resource:Q5343890 . resource:Q47985 property:P710 resource:Q58355 }
Rus'–Byzantine War (1043) Vladimir of Novgorod Edward Keeling
action is_in
entity Rus'–Byzantine War (1043)
action intersection
action find_reverse
entity Vladimir of Novgorod
relation participant
action find_reverse
entity Edward Keeling
relation participant
["Rus'–Byzantine War (1043)", 'participant', 'Vladimir of Novgorod'] ["Rus'–Byzantine War (1043)", 'participant', 'Edward Keeling']
ASK WHERE { resource:Rus'–Byzantine_War_(1043) property:participant resource:Edward_Keeling . resource:Rus'–Byzantine_War_(1043) property:participant resource:Vladimir_of_Novgorod }
[]
common name
SYSTEM
YES and NO respectively
(Q47985,P710,Q58355) (Q47985,P710,Q5343890)
action is_in
entity Q47985
action intersection
action find_reverse
entity Q58355
relation P710
action find_reverse
entity Q5343890
relation P710
[ANSWER]
['Q47985', 'P710', 'Q58355'] ['Q47985', 'P710', 'Q5343890']
ASK WHERE { resource:Q47985 property:P710 resource:Q5343890 . resource:Q47985 property:P710 resource:Q58355 }
YES and NO respectively
action is_in
entity Rus'–Byzantine War (1043)
action intersection
action find_reverse
entity Vladimir of Novgorod
relation participant
action find_reverse
entity Edward Keeling
relation participant
["Rus'–Byzantine War (1043)", 'participant', 'Vladimir of Novgorod'] ["Rus'–Byzantine War (1043)", 'participant', 'Edward Keeling']
ASK WHERE { resource:Rus'–Byzantine_War_(1043) property:participant resource:Edward_Keeling . resource:Rus'–Byzantine_War_(1043) property:participant resource:Vladimir_of_Novgorod }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q1914636 Q1190554 Q350604
USER
Which armed conflicts are a portion of atmost 1 activities and events ?
(c(Q350604),P361,c(Q1914636)|c(Q1190554))
action atmost
action union
action find_tuple_counts
relation P361
type Q350604
type Q1914636
action find_tuple_counts
relation P361
type Q350604
type Q1190554
value 1
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q1914636'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?e ) WHERE { { ?u property:P361 ?w . ?u rdf:type ontology:Q350604 . ?w rdf:type ontology:Q1190554 } UNION { ?u rdf:type ontology:Q350604 . ?w rdf:type ontology:Q1914636 . ?u property:P361 ?w } } GROUP BY ?u } . FILTER ( ?e <= 1 ) }
action atmost
action union
action find_tuple_counts
relation part of
type armed conflict
type activity
action find_tuple_counts
relation part of
type armed conflict
type event
value 1
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'activity'}, {'concept': 'event'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?e ) WHERE { { ?u property:part_of ?w . ?u rdf:type ontology:armed_conflict . ?w rdf:type ontology:event } UNION { ?u rdf:type ontology:armed_conflict . ?w rdf:type ontology:activity . ?u property:part_of ?w } } GROUP BY ?u } . FILTER ( ?e <= 1 ) }
[]
activity event armed conflict
Q154697 Q19686631 Q168442
SYSTEM
French and Indian War, Yemeni Civil War, Anglo-Spanish War (1625–1630)
Q5168559 Q1044829 Q184425 Q1305130 Q196409 Q3778613 Q68969 Q154940 Q3778618 Q699511 Q5557072 Q190029 Q6334 Q2373506 Q1968528 Q2259304 Q381375 Q49077 Q430053 Q122100 Q18920712 Q976827 Q63863 Q4200795 Q620735 Q7572892 Q75665 Q2652686 Q58947 Q17272643 Q49097 Q260684 Q134949 Q989092 Q617350 Q4065191 Q249232 Q1186260 Q552373 Q817206 Q252298 Q2060306 Q317519 Q550172 Q8740 Q21693680 Q181533 Q18586347 Q4072719 Q1418062 Q233642 Q2576016 Q233663 Q2667645 Q553184 Q23403028 Q617070 Q2602070 Q6192082 Q199955 Q3540197 Q170314 Q616846 Q631163 Q1672808 Q8064768 Q690361 Q6286 Q1362162 Q1851858 Q178687 Q1072042 Q1355145 Q2471586 Q12583 Q17324420 Q16933898 Q322607 Q3042463 Q3984895 Q11942758 Q1249270 Q17126147 Q1891008 Q748780 Q559181 Q404517 Q19686631 Q617782 Q6271 Q2915510 Q418151 Q4122579 Q179250 Q1429256 Q233702 Q631799 Q2487361 Q26690200 Q3242848 Q598774 Q1967193 Q76118 Q75626 Q16335075 Q34103 Q5555632 Q189266 Q2523742 Q7210108 Q80330 Q372330 Q1249250 Q372338 Q83085 Q154697 Q5452958 Q400465 Q2985977 Q233553 Q8628 Q1074467 Q431001 Q34145 Q877450 Q182865 Q207318 Q120843 Q6254 Q12846172 Q644589 Q4207617 Q6744162 Q3042457 Q168442 Q2075775 Q74109 Q329203 Q177918 Q29269 Q170682 Q26749 Q288251 Q1669192 Q524272 Q553157 Q936803 Q1262084 Q21900262 Q220878 Q42937 Q1757301 Q49100 Q15542964 Q151622
(c(Q350604),P361,c(Q1914636)|c(Q1190554))
action atmost
action union
action find_tuple_counts
relation P361
type Q350604
type Q1914636
action find_tuple_counts
relation P361
type Q350604
type Q1190554
value 1
[ANSWERS] are a portion of atmost 1 activities and events
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q1914636'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?e ) WHERE { { ?u property:P361 ?w . ?u rdf:type ontology:Q350604 . ?w rdf:type ontology:Q1190554 } UNION { ?u rdf:type ontology:Q350604 . ?w rdf:type ontology:Q1914636 . ?u property:P361 ?w } } GROUP BY ?u } . FILTER ( ?e <= 1 ) }
Cophen Campaign Polish–Muscovite War Pacific War War of Saint Sabas Livonian Crusade Caroline War Croatian War of Independence Lapland War Lancastrian War Campaigns of 1796 in the French Revolutionary Wars Ghost Dance War Kosovo War Third Punic War Polish–Swedish War (1617-18) Operation Black Buck Hundred Years' War Nagorno-Karabakh War Six-Day War Great Sioux War of 1876 Continuation War War in Afghanistan Carnatic Wars Operation Focus Indian campaign of Alexander the Great Russo-Georgian War Spain in the American Revolutionary War Second Macedonian War Kachin conflict War of the Triple Alliance spillover of the Syrian Civil War 1948 Palestine war Alexander's Balkan campaign Winter War First Anglo-Afghan War Third Anglo-Mysore War Anglo-Spanish War (1796–1808) War of the Third Coalition Creek War Fourth Macedonian War Cambodian Civil War Hungarian–Romanian war of 1919 Red Cloud's War Muslim conquest of Egypt War of the Breton Succession Vietnam War conflict between Unitarians and Federalists in the Argentine Civil Wars Bosnian War First Soviet-Finnish War Afghanistan–Pakistan skirmishes Fourth Syrian War (219–217 BCE) Second Anglo-Maratha War Anastasian War Second Anglo-Mysore War Mongol invasion of Poland Gaza–Israel conflict Hīt offensive First Anglo-Mysore War Colorado War Jicarilla War Hundred Days Third English Civil War Second Sino-Japanese War Anglo-Spanish War (1762–1763) Deluge Irish Confederate Wars Zaian War Long War First Punic War First Carnatic War Dakota War of 1862 First Sino-Japanese War War in Somalia (2006-2009) Italian War of 1494–1498 Pomeranian War Spanish–American War 2014 Israel–Gaza conflict Normandy campaigns of 1200–1204 War of Attrition Uruguayan War Third Messenian War Ethiopian-Somali border conflict Third Sacred War Arab–Israeli wars Sand War First Indochina War First Silesian War Kargil War Yemeni Civil War Fourth Anglo-Mysore War Second Punic War 2009 Sudan airstrikes Second Opium War Arikara War French invasion of Russia War of the League of Cognac Second Silesian War Russo-Turkish War Frans van Brederode's rebellion of 1488–1490 Rutulian War First War of Scottish Independence Polish–Swedish War (1600–11) Second conflict in the Goryeo–Khitan War Third Macedonian War First Macedonian War War in Donbass Second Syrian War (260–253 BCE) First Messenian War Eastern Front Fourth French War of Religion Polish–Swedish War (1621–25) English Civil War Fifth Syrian War (202–195 BCE) First Sacred War Sixth Syrian War (170–168 BCE) Soviet–Afghan War French and Indian War First English Civil War, 1642 Little War Polish–Swedish War (1626–29) Second Sacred War War in the Vendée War of Chioggia Spanish–Portuguese War Third Syrian War (246–241 BCE) Laotian Civil War War in Afghanistan French Revolutionary Wars Second Chechen War Kitos War Safavid-Ottoman War (1616-1618) Toyota War Balkan campaign of 1529 Mallian Campaign Platine War Anglo-Spanish War (1625–1630) Second Messenian War Albanian resistance during World War II First Boer War First Balkan War First Chechen War Gaza War War of the Second Coalition Cisplatine War Fourth Sacred War South-East Asian theatre of World War II Romania during World War I First Syrian War (274–271 BCE) Djiboutian Civil War Bombing of Miskolc Titanomachy Trojan War submarine warfare Yom Kippur War Italian War of 1542–46 Israeli–Palestinian conflict
French and Indian War, Yemeni Civil War and Anglo-Spanish War (1625–1630) are a portion of atmost 1 activities and events
French and Indian War Yemeni Civil War Anglo-Spanish War (1625–1630)
action atmost
action union
action find_tuple_counts
relation part of
type armed conflict
type activity
action find_tuple_counts
relation part of
type armed conflict
type event
value 1
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'activity'}, {'concept': 'event'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?e ) WHERE { { ?u property:part_of ?w . ?u rdf:type ontology:armed_conflict . ?w rdf:type ontology:event } UNION { ?u rdf:type ontology:armed_conflict . ?w rdf:type ontology:activity . ?u property:part_of ?w } } GROUP BY ?u } . FILTER ( ?e <= 1 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P361
Q1190554 Q180684
USER
How many events or conflicts are a part of that armed conflict ?
(c(Q1190554),P361,Q19686631) (c(Q180684),P361,Q19686631) (c(Q1190554),P361,Q154697) (c(Q180684),P361,Q154697) (c(Q1190554),P361,Q19686631) (c(Q180684),P361,Q19686631) (c(Q1190554),P361,Q168442) (c(Q180684),P361,Q168442)
[{'concept': 'Q1190554'}, 'P361', 'Q19686631'] [{'concept': 'Q180684'}, 'P361', 'Q19686631'] [{'concept': 'Q1190554'}, 'P361', 'Q154697'] [{'concept': 'Q180684'}, 'P361', 'Q154697'] [{'concept': 'Q1190554'}, 'P361', 'Q19686631'] [{'concept': 'Q180684'}, 'P361', 'Q19686631'] [{'concept': 'Q1190554'}, 'P361', 'Q168442'] [{'concept': 'Q180684'}, 'P361', 'Q168442']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P361 resource:Q19686631 } UNION { ?y property:P361 resource:Q19686631 } UNION { ?z property:P361 resource:Q154697 } UNION { ?y property:P361 resource:Q154697 } UNION { ?z property:P361 resource:Q19686631 } UNION { ?y property:P361 resource:Q19686631 } UNION { ?z property:P361 resource:Q168442 } UNION { ?y property:P361 resource:Q168442 } } . ?z rdf:type ontology:Q5416694 . ?y rdf:type ontology:Q4231815 }
[{'concept': 'event'}, 'part of', 'Yemeni Civil War'] [{'concept': 'conflict'}, 'part of', 'Yemeni Civil War'] [{'concept': 'event'}, 'part of', 'French and Indian War'] [{'concept': 'conflict'}, 'part of', 'French and Indian War'] [{'concept': 'event'}, 'part of', 'Yemeni Civil War'] [{'concept': 'conflict'}, 'part of', 'Yemeni Civil War'] [{'concept': 'event'}, 'part of', 'Anglo-Spanish War (1625–1630)'] [{'concept': 'conflict'}, 'part of', 'Anglo-Spanish War (1625–1630)']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:part_of resource:Yemeni_Civil_War } UNION { ?y property:part_of resource:Yemeni_Civil_War } UNION { ?z property:part_of resource:French_and_Indian_War } UNION { ?y property:part_of resource:French_and_Indian_War } UNION { ?z property:part_of resource:Yemeni_Civil_War } UNION { ?y property:part_of resource:Yemeni_Civil_War } UNION { ?z property:part_of resource:Anglo-Spanish_War_(1625–1630) } UNION { ?y property:part_of resource:Anglo-Spanish_War_(1625–1630) } } . ?z rdf:type ontology:event . ?y rdf:type ontology:conflict }
[]
event conflict
Quantitative|Count|Mult. entity type|Clarification
Q19686631
SYSTEM
Did you mean Yemeni Civil War ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P361 resource:Q19686631 } UNION { ?y property:P361 resource:Q19686631 } UNION { ?z property:P361 resource:Q154697 } UNION { ?y property:P361 resource:Q154697 } UNION { ?z property:P361 resource:Q19686631 } UNION { ?y property:P361 resource:Q19686631 } UNION { ?z property:P361 resource:Q168442 } UNION { ?y property:P361 resource:Q168442 } } . ?z rdf:type ontology:Q5416694 . ?y rdf:type ontology:Q4231815 }
Did you mean Yemeni Civil War ?
Yemeni Civil War
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:part_of resource:Yemeni_Civil_War } UNION { ?y property:part_of resource:Yemeni_Civil_War } UNION { ?z property:part_of resource:French_and_Indian_War } UNION { ?y property:part_of resource:French_and_Indian_War } UNION { ?z property:part_of resource:Yemeni_Civil_War } UNION { ?y property:part_of resource:Yemeni_Civil_War } UNION { ?z property:part_of resource:Anglo-Spanish_War_(1625–1630) } UNION { ?y property:part_of resource:Anglo-Spanish_War_(1625–1630) } } . ?z rdf:type ontology:event . ?y rdf:type ontology:conflict }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q1190554),P361,Q19686631) (c(Q180684),P361,Q19686631) (c(Q1190554),P361,Q154697) (c(Q180684),P361,Q154697) (c(Q1190554),P361,Q19686631) (c(Q180684),P361,Q19686631) (c(Q1190554),P361,Q168442) (c(Q180684),P361,Q168442)
[{'concept': 'Q1190554'}, 'P361', 'Q19686631'] [{'concept': 'Q180684'}, 'P361', 'Q19686631'] [{'concept': 'Q1190554'}, 'P361', 'Q154697'] [{'concept': 'Q180684'}, 'P361', 'Q154697'] [{'concept': 'Q1190554'}, 'P361', 'Q19686631'] [{'concept': 'Q180684'}, 'P361', 'Q19686631'] [{'concept': 'Q1190554'}, 'P361', 'Q168442'] [{'concept': 'Q180684'}, 'P361', 'Q168442']
[{'concept': 'event'}, 'part of', 'Yemeni Civil War'] [{'concept': 'conflict'}, 'part of', 'Yemeni Civil War'] [{'concept': 'event'}, 'part of', 'French and Indian War'] [{'concept': 'conflict'}, 'part of', 'French and Indian War'] [{'concept': 'event'}, 'part of', 'Yemeni Civil War'] [{'concept': 'conflict'}, 'part of', 'Yemeni Civil War'] [{'concept': 'event'}, 'part of', 'Anglo-Spanish War (1625–1630)'] [{'concept': 'conflict'}, 'part of', 'Anglo-Spanish War (1625–1630)']
[]
SYSTEM
11
Q19682450 Q19841573 Q23935847 Q19759389 Q19794605 Q26257601 Q19841483 Q19783940 Q22928489 Q19798710 Q19829528
(c(Q1190554),P361,Q19686631) (c(Q180684),P361,Q19686631) (c(Q1190554),P361,Q154697) (c(Q180684),P361,Q154697) (c(Q1190554),P361,Q19686631) (c(Q180684),P361,Q19686631) (c(Q1190554),P361,Q168442) (c(Q180684),P361,Q168442)
[ANSWER]
[{'concept': 'Q1190554'}, 'P361', 'Q19686631'] [{'concept': 'Q180684'}, 'P361', 'Q19686631'] [{'concept': 'Q1190554'}, 'P361', 'Q154697'] [{'concept': 'Q180684'}, 'P361', 'Q154697'] [{'concept': 'Q1190554'}, 'P361', 'Q19686631'] [{'concept': 'Q180684'}, 'P361', 'Q19686631'] [{'concept': 'Q1190554'}, 'P361', 'Q168442'] [{'concept': 'Q180684'}, 'P361', 'Q168442']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P361 resource:Q19686631 } UNION { ?y property:P361 resource:Q19686631 } UNION { ?z property:P361 resource:Q154697 } UNION { ?y property:P361 resource:Q154697 } UNION { ?z property:P361 resource:Q19686631 } UNION { ?y property:P361 resource:Q19686631 } UNION { ?z property:P361 resource:Q168442 } UNION { ?y property:P361 resource:Q168442 } } . ?z rdf:type ontology:Q5416694 . ?y rdf:type ontology:Q4231815 }
Saudi Arabian-led intervention in Yemen Abyan campaign (March–April 2015) Battle of Al Mukalla (2016) Battle of Al Mukalla Battle of Ad Dali' Battle of Nihm Shabwah campaign (March–April 2015) Battle of Aden Battle of Port Midi Lahij insurgency Battle of Taiz (April 2015)
11
[{'concept': 'event'}, 'part of', 'Yemeni Civil War'] [{'concept': 'conflict'}, 'part of', 'Yemeni Civil War'] [{'concept': 'event'}, 'part of', 'French and Indian War'] [{'concept': 'conflict'}, 'part of', 'French and Indian War'] [{'concept': 'event'}, 'part of', 'Yemeni Civil War'] [{'concept': 'conflict'}, 'part of', 'Yemeni Civil War'] [{'concept': 'event'}, 'part of', 'Anglo-Spanish War (1625–1630)'] [{'concept': 'conflict'}, 'part of', 'Anglo-Spanish War (1625–1630)']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:part_of resource:Yemeni_Civil_War } UNION { ?y property:part_of resource:Yemeni_Civil_War } UNION { ?z property:part_of resource:French_and_Indian_War } UNION { ?y property:part_of resource:French_and_Indian_War } UNION { ?z property:part_of resource:Yemeni_Civil_War } UNION { ?y property:part_of resource:Yemeni_Civil_War } UNION { ?z property:part_of resource:Anglo-Spanish_War_(1625–1630) } UNION { ?y property:part_of resource:Anglo-Spanish_War_(1625–1630) } } . ?z rdf:type ontology:event . ?y rdf:type ontology:conflict }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q362
P361
Q198 Q350604
USER
How many wars are approximately the same number of armed conflicts a component of as World War II ?
(c(Q350604),P361,c(Q198))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q198
type Q350604
action count
action filter_type
action find
entity Q362
relation P361
type Q198
[{'concept': 'Q350604'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { FILTER ( ?t = ?u ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Q362 property:P361 ?f . ?f rdf:type ontology:Q198 } } . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:P361 ?h . ?h rdf:type ontology:Q198 . ?b rdf:type ontology:Q350604 } GROUP BY ?h } }
World War II
action count
action approx
action find_reverse_tuple_counts
relation part of
type war
type armed conflict
action count
action filter_type
action find
entity World War II
relation part of
type war
[{'concept': 'armed conflict'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { FILTER ( ?t = ?u ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:World_War_II property:part_of ?f . ?f rdf:type ontology:war } } . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:part_of ?h . ?h rdf:type ontology:war . ?b rdf:type ontology:armed_conflict } GROUP BY ?h } }
[]
war armed conflict
SYSTEM
2
Q8683 Q362
(c(Q350604),P361,c(Q198))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q198
type Q350604
action count
action filter_type
action find
entity Q362
relation P361
type Q198
[ANSWER]
[{'concept': 'Q350604'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { FILTER ( ?t = ?u ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Q362 property:P361 ?f . ?f rdf:type ontology:Q198 } } . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:P361 ?h . ?h rdf:type ontology:Q198 . ?b rdf:type ontology:Q350604 } GROUP BY ?h } }
Cold War World War II
2
action count
action approx
action find_reverse_tuple_counts
relation part of
type war
type armed conflict
action count
action filter_type
action find
entity World War II
relation part of
type war
[{'concept': 'armed conflict'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { FILTER ( ?t = ?u ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:World_War_II property:part_of ?f . ?f rdf:type ontology:war } } . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:part_of ?h . ?h rdf:type ontology:war . ?b rdf:type ontology:armed_conflict } GROUP BY ?h } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q211855
P361
Q198 Q350604
USER
And what about Finnish Civil War?
(c(Q350604),P361,c(Q198))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q198
type Q350604
action count
action filter_type
action find
entity Q211855
relation P361
type Q198
[{'concept': 'Q350604'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?i ) WHERE { ?v rdf:type ontology:Q198 . ?k rdf:type ontology:Q350604 . ?k property:P361 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Q211855 property:P361 ?z . ?z rdf:type ontology:Q198 } } . FILTER ( ?i = ?h ) }
Finnish Civil War
action count
action approx
action find_reverse_tuple_counts
relation part of
type war
type armed conflict
action count
action filter_type
action find
entity Finnish Civil War
relation part of
type war
[{'concept': 'armed conflict'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?i ) WHERE { ?v rdf:type ontology:war . ?k rdf:type ontology:armed_conflict . ?k property:part_of ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Finnish_Civil_War property:part_of ?z . ?z rdf:type ontology:war } } . FILTER ( ?i = ?h ) }
[]
war armed conflict
SYSTEM
36
Q211855 Q4783165 Q795269 Q920894 Q81545 Q10859 Q18121212 Q361 Q1021160 Q17984356 Q1072889 Q1758829 Q209297 Q2105495 Q5334383 Q178810 Q545449 Q2658255 Q16954835 Q208484 Q1432624 Q2086498 Q1238338 Q1049945 Q8676 Q1127302 Q1052332 Q475678 Q743768 Q213394 Q17507684 Q179975 Q18159629 Q2672972 Q243620 Q79911
(c(Q350604),P361,c(Q198))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q198
type Q350604
action count
action filter_type
action find
entity Q211855
relation P361
type Q198
[ANSWER]
[{'concept': 'Q350604'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?i ) WHERE { ?v rdf:type ontology:Q198 . ?k rdf:type ontology:Q350604 . ?k property:P361 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Q211855 property:P361 ?z . ?z rdf:type ontology:Q198 } } . FILTER ( ?i = ?h ) }
Finnish Civil War Arab Cold War Sierra Leone Civil War First Italian War of Independence 2011 Libyan Civil War Spanish Civil War American-led intervention in Syria World War I Armagnac–Burgundian Civil War Iraqi Civil War Chilean War of Independence urban guerrilla warfare Farroupilha Revolution 1383-85 Portuguese Interregnum Ecuadorian War of Independence Syrian Civil War Iraq War Byzantine civil war of 1341–1347 Nagorno-Karabakh conflict Lebanese Civil War Genkō War First Barons' War Caesar's Civil War Jacobite rising of 1745 American Civil War Estonian War of Independence War in Somalia Mexican Drug War The Anarchy Sri Lankan Civil War military intervention against ISIL Chinese Civil War American-led intervention in Iraq Uruguayan Civil War Somali Civil War Russian Civil War
36
action count
action approx
action find_reverse_tuple_counts
relation part of
type war
type armed conflict
action count
action filter_type
action find
entity Finnish Civil War
relation part of
type war
[{'concept': 'armed conflict'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?i ) WHERE { ?v rdf:type ontology:war . ?k rdf:type ontology:armed_conflict . ?k property:part_of ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Finnish_Civil_War property:part_of ?z . ?z rdf:type ontology:war } } . FILTER ( ?i = ?h ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11622607 Q5343890
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Edward Keeling or Taruto Airi ?
OR((Q5343890,P27,c(Q15617994)), (Q11622607,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5343890
relation P27
action find
entity Q11622607
relation P27
type Q15617994
{'OR': [['Q5343890', 'P27', {'concept': 'Q15617994'}], ['Q11622607', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { { resource:Q5343890 property:P27 ?w } UNION { resource:Q11622607 property:P27 ?w } } }
Taruto Airi Edward Keeling
action filter_type
action union
action find
entity Edward Keeling
relation country of citizenship
action find
entity Taruto Airi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Edward Keeling', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Taruto Airi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Edward_Keeling property:country_of_citizenship ?w } UNION { resource:Taruto_Airi property:country_of_citizenship ?w } } }
[]
designation for an administrative territorial entity
Q17 Q145
SYSTEM
Japan, United Kingdom
Q17 Q145
OR((Q5343890,P27,c(Q15617994)), (Q11622607,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5343890
relation P27
action find
entity Q11622607
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Edward Keeling or Taruto Airi
{'OR': [['Q5343890', 'P27', {'concept': 'Q15617994'}], ['Q11622607', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { { resource:Q5343890 property:P27 ?w } UNION { resource:Q11622607 property:P27 ?w } } }
Japan United Kingdom
Japan and United Kingdom are the countries of citizenship of Edward Keeling or Taruto Airi
Japan United Kingdom
action filter_type
action union
action find
entity Edward Keeling
relation country of citizenship
action find
entity Taruto Airi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Edward Keeling', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Taruto Airi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Edward_Keeling property:country_of_citizenship ?w } UNION { resource:Taruto_Airi property:country_of_citizenship ?w } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2721239 Q47985
P710 P161
Q502895
USER
Which people participated in Rus'–Byzantine War (1043) or starred in Hurrah! I'm a Father ?
OR((Q47985,P710,c(Q502895)), (Q2721239,P161,c(Q502895)))
action filter_type
action union
action find
entity Q47985
relation P710
action find
entity Q2721239
relation P161
type Q502895
{'OR': [['Q47985', 'P710', {'concept': 'Q502895'}], ['Q2721239', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q2721239 property:P161 ?s } UNION { resource:Q47985 property:P710 ?s } } . ?s rdf:type ontology:Q502895 }
Hurrah! I'm a Father Rus'–Byzantine War (1043)
action filter_type
action union
action find
entity Rus'–Byzantine War (1043)
relation participant
action find
entity Hurrah! I'm a Father
relation cast member
type common name
{'OR': [["Rus'–Byzantine War (1043)", 'participant', {'concept': 'common name'}], ["Hurrah! I'm a Father", 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Hurrah!_I'm_a_Father property:cast_member ?s } UNION { resource:Rus'–Byzantine_War_(1043) property:participant ?s } } . ?s rdf:type ontology:common_name }
[]
common name
Q1234160 Q77987 Q1583805 Q118579 Q2163924 Q188943 Q58355 Q107837 Q91608 Q104787
SYSTEM
Some of them are Michael von Newlinsky, Carola Höhn, Hansi Arnstädt, Olga Limburg, Rolf von Nauckhoff, Yaroslav the Wise, Vladimir of Novgorod, Wolf Ackva, Rudolf Schündler, Albert Florath
Q107837 Q58355 Q1583805 Q2163924 Q118579 Q188943 Q1234160 Q77987 Q1407958 Q60876 Q1874966 Q91608 Q104787
OR((Q47985,P710,c(Q502895)), (Q2721239,P161,c(Q502895)))
action filter_type
action union
action find
entity Q47985
relation P710
action find
entity Q2721239
relation P161
type Q502895
[ANSWERS] participated in Rus'–Byzantine War (1043) or starred in Hurrah! I'm a Father
{'OR': [['Q47985', 'P710', {'concept': 'Q502895'}], ['Q2721239', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q2721239 property:P161 ?s } UNION { resource:Q47985 property:P710 ?s } } . ?s rdf:type ontology:Q502895 }
Wolf Ackva Vladimir of Novgorod Hansi Arnstädt Rolf von Nauckhoff Olga Limburg Yaroslav the Wise Michael von Newlinsky Carola Höhn Ursula Grabley Heinz Rühmann Ludwig Schmitz Rudolf Schündler Albert Florath
Michael von Newlinsky, Carola Höhn, Hansi Arnstädt, Olga Limburg, Rolf von Nauckhoff, Yaroslav the Wise, Vladimir of Novgorod, Wolf Ackva, Rudolf Schündler and Albert Florath participated in Rus'–Byzantine War (1043) or starred in Hurrah! I'm a Father
Michael von Newlinsky Carola Höhn Hansi Arnstädt Olga Limburg Rolf von Nauckhoff Yaroslav the Wise Vladimir of Novgorod Wolf Ackva Rudolf Schündler Albert Florath
action filter_type
action union
action find
entity Rus'–Byzantine War (1043)
relation participant
action find
entity Hurrah! I'm a Father
relation cast member
type common name
{'OR': [["Rus'–Byzantine War (1043)", 'participant', {'concept': 'common name'}], ["Hurrah! I'm a Father", 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Hurrah!_I'm_a_Father property:cast_member ?s } UNION { resource:Rus'–Byzantine_War_(1043) property:participant ?s } } . ?s rdf:type ontology:common_name }
[]