Simple Question (Direct)
Simple Question
Q9312342
P607
Q350604
USER
What was was Roman Jasieński a part of ?
(Q9312342,P607,c(Q350604))
action filter_type
action find
entity Q9312342
relation P607
type Q350604
['Q9312342', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q350604 . resource:Q9312342 property:P607 ?l }
Roman Jasieński
action filter_type
action find
entity Roman Jasieński
relation conflict
type armed conflict
['Roman Jasieński', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:armed_conflict . resource:Roman_Jasieński property:conflict ?l }
[]
armed conflict
Q159950
SYSTEM
Russo-Japanese War
Q159950
(Q9312342,P607,c(Q350604))
action filter_type
action find
entity Q9312342
relation P607
type Q350604
Roman Jasieński was a part of [ANSWER]
['Q9312342', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q350604 . resource:Q9312342 property:P607 ?l }
Russo-Japanese War
Roman Jasieński was a part of Russo-Japanese War
Russo-Japanese War
action filter_type
action find
entity Roman Jasieński
relation conflict
type armed conflict
['Roman Jasieński', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:armed_conflict . resource:Roman_Jasieński property:conflict ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9312342
P410
Q4189293
USER
Which title has that person achieved ?
(Q159950,P410,c(Q4189293))
action filter_type
action find
entity Q9312342
relation P410
type Q4189293
['Q159950', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?h WHERE { resource:Q9312342 property:P410 ?h . ?h rdf:type ontology:Q4189293 }
Roman Jasieński
action filter_type
action find
entity Roman Jasieński
relation military rank
type title
['Russo-Japanese War', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?h WHERE { resource:Roman_Jasieński property:military_rank ?h . ?h rdf:type ontology:title }
[]
title
Q83460
SYSTEM
general officer
Q83460
(Q159950,P410,c(Q4189293))
action filter_type
action find
entity Q9312342
relation P410
type Q4189293
That person has achieved a [ANSWER]
['Q159950', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?h WHERE { resource:Q9312342 property:P410 ?h . ?h rdf:type ontology:Q4189293 }
general officer
That person has achieved a general officer
general officer
action filter_type
action find
entity Roman Jasieński
relation military rank
type title
['Russo-Japanese War', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?h WHERE { resource:Roman_Jasieński property:military_rank ?h . ?h rdf:type ontology:title }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q438252
P361
Q350604 Q1190554 Q645883
USER
Which armed conflicts are around the same number of events or military operations a component of as Old Zürich War ?
(c(Q1190554)|c(Q645883),P361,c(Q350604))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q350604
type Q1190554
action find_reverse_tuple_counts
relation P361
type Q350604
type Q645883
action count
action filter_multi_types
action find_reverse
entity Q438252
relation P361
type Q1190554
type Q645883
[[{'concept': 'Q1190554'}, {'concept': 'Q645883'}], 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { { ?c rdf:type ontology:Q1190554 } UNION { ?c rdf:type ontology:Q645883 } } . ?c property:P361 resource:Q438252 } } . FILTER ( ?w = ?l ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?r WHERE { ?t rdf:type ?g . VALUES ( ?g ) { ( ontology:Q1190554 ) ( ontology:Q645883 ) } } GROUP BY ?r } }
Old Zürich War
action approx
action union
action find_reverse_tuple_counts
relation part of
type armed conflict
type event
action find_reverse_tuple_counts
relation part of
type armed conflict
type military operation
action count
action filter_multi_types
action find_reverse
entity Old Zürich War
relation part of
type event
type military operation
[[{'concept': 'event'}, {'concept': 'military operation'}], 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { { ?c rdf:type ontology:event } UNION { ?c rdf:type ontology:military_operation } } . ?c property:part_of resource:Old_Zürich_War } } . FILTER ( ?w = ?l ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?r WHERE { ?t rdf:type ?g . VALUES ( ?g ) { ( ontology:event ) ( ontology:military_operation ) } } GROUP BY ?r } }
[]
armed conflict event military operation
Q154697 Q19686631 Q168442
SYSTEM
French and Indian War, Yemeni Civil War, Anglo-Spanish War (1625–1630)
Q8077397 Q1044829 Q1186260 Q1519107 Q184183 Q698281 Q196409 Q619749 Q1153331 Q879980 Q1552718 Q17272643 Q2912306 Q699511 Q3540197 Q6334 Q94916 Q381375 Q748780 Q430053 Q20747555 Q179275 Q1187249 Q807741 Q699602 Q75626 Q18920712 Q657055 Q643987 Q768496 Q1132393 Q2338771 Q620735 Q7572892 Q75665 Q1474893 Q558423 Q2632175 Q651008 Q3104848 Q233507 Q15353665 Q4122570 Q1080711 Q260684 Q129864 Q2444955 Q223126 Q203824 Q122100 Q777345 Q1348630 Q609836 Q134949 Q327150 Q759988 Q1456086 Q3119188 Q369291 Q1676845 Q636365 Q2060306 Q74623 Q317519 Q550172 Q655480 Q181533 Q1209169 Q233649 Q186336 Q11924845 Q631991 Q233642 Q748042 Q1616064 Q2576016 Q2330558 Q1540737 Q2656995 Q2667645 Q553184 Q862257 Q6192082 Q249232 Q6861027 Q2419855 Q2992536 Q199955 Q54434 Q551888 Q1672808 Q2082222 Q17512479 Q1074467 Q8064768 Q690361 Q6286 Q2320981 Q1851858 Q1014253 Q178687 Q4200795 Q2342102 Q179077 Q14947002 Q1355145 Q1073446 Q329203 Q786171 Q166001 Q3902588 Q12583 Q17324420 Q596373 Q2599340 Q76026 Q322607 Q321780 Q3042463 Q923852 Q2320020 Q273348 Q2326066 Q486831 Q49077 Q258679 Q233601 Q1187448 Q1361354 Q3651696 Q31944 Q1640586 Q154981 Q2915203 Q2992403 Q426201 Q123070 Q208261 Q76118 Q185729 Q1949299 Q159950 Q696389 Q12055176 Q3118990 Q1237867 Q849680 Q3621718 Q568387 Q37643 Q29242 Q60489 Q510588 Q3242848 Q598774 Q190029 Q7813573 Q16335075 Q631163 Q3119132 Q438252 Q19686631 Q989115 Q68478 Q48249 Q623171 Q2697981 Q870077 Q617827 Q1330607 Q418151 Q32929 Q1139887 Q478301 Q83085 Q154697 Q431806 Q228911 Q2985977 Q2665664 Q1479636 Q617321 Q1455917 Q1235331 Q74298 Q1780850 Q15053704 Q182865 Q1429256 Q120843 Q16911838 Q16362506 Q42937 Q644589 Q309184 Q3042457 Q164432 Q168442 Q165136 Q937255 Q1567698 Q74109 Q49103 Q524189 Q2577772 Q177918 Q29269 Q2326099 Q288251 Q3119015 Q282135 Q553157 Q706183 Q1501724 Q2991800 Q1069736 Q742813 Q924600 Q759998 Q277392 Q2487361 Q49100 Q15542964 Q151622 Q49104
(c(Q1190554)|c(Q645883),P361,c(Q350604))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q350604
type Q1190554
action find_reverse_tuple_counts
relation P361
type Q350604
type Q645883
action count
action filter_multi_types
action find_reverse
entity Q438252
relation P361
type Q1190554
type Q645883
[ANSWERS] are around the same number of events or military operations a component of as Old Zürich War
[[{'concept': 'Q1190554'}, {'concept': 'Q645883'}], 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { { ?c rdf:type ontology:Q1190554 } UNION { ?c rdf:type ontology:Q645883 } } . ?c property:P361 resource:Q438252 } } . FILTER ( ?w = ?l ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?r WHERE { ?t rdf:type ?g . VALUES ( ?g ) { ( ontology:Q1190554 ) ( ontology:Q645883 ) } } GROUP BY ?r } }
Æthelwold's Revolt Polish–Muscovite War Creek War War in Afghanistan Second Balkan War Italian War of 1521–1526 Livonian Crusade Kurdish–Turkish conflict Ottoman–Venetian War Black Hawk War Granada War spillover of the Syrian Civil War Wars of the Diadochi Campaigns of 1796 in the French Revolutionary Wars Third English Civil War Third Punic War Second Italo-Ethiopian War Nagorno-Karabakh War First Indochina War Great Sioux War of 1876 Byzantine–Bulgarian war of 913–927 War in North-West Pakistan Ottoman–Portuguese conflicts Barbary Wars Cretan War First Macedonian War War in Afghanistan Greco-Turkish War (1897) Perusine War Banana Wars Mercenary War Cretan War (205–200 BC) Russo-Georgian War Spain in the American Revolutionary War Second Macedonian War Cleomenean War Polish–Teutonic War Dunmore's War Corinthian War Fitna of al-Andalus Second Anglo-Afghan War South Sudanese conflict War of Knives Ottoman–Hungarian Wars Alexander's Balkan campaign Indian Rebellion of 1857 Rhodesian Bush War Chaco War Italo-Turkish War Continuation War Mad War Ridda wars Portuguese Colonial War Winter War Byzantine–Norman wars Zanj Rebellion Nez Perce War Fernandine Wars Anglo-Spanish War (1654–1660) Boer Wa War of the League of Cambrai Red Cloud's War Great Turkish War Muslim conquest of Egypt War of the Breton Succession Quasi-War Bosnian War War in Abkhazia Second Margrave War Dutch Revolt Messenian Wars Russo-Polish War Second Anglo-Maratha War Irish Civil War Mithridatic Wars Anastasian War Liège Wars Hispano-Moroccan War Northwest Indian War Mongol invasion of Poland Gaza–Israel conflict King Philip's War Jicarilla War War of the Third Coalition Achaean War Ukrainian–Soviet War Basque conflict Hundred Days War of Jenkins' Ear Wars of Alexander the Great Irish Confederate Wars Lazic War Arab Winter War of Chioggia Zaian War Long War First Punic War Williamite War in Ireland Dakota War of 1862 Mongol conquest of the Jin dynasty First Sino-Japanese War Indian campaign of Alexander the Great Indochina Wars Pontiac's War Chechen–Russian conflict Italian War of 1494–1498 Swedish–Novgorodian Wars First Boer War Ottoman–Habsburg wars Scanian War Little War in Hungary Spanish–American War 2014 Israel–Gaza conflict Pyrrhic War War of the Sicilian Vespers Greco-Persian Wars War of Attrition Georgian–Abkhazian conflict Uruguayan War Russo-Crimean Wars Byzantine–Sassanid War of 572–591 Italian Wars Iberian War Roman–Syrian war Six-Day War Austro-Turkish War Second Carnatic War Zenkunen War Nine Years' War Anglo-French War Mahdist War Anglo-Scottish Wars Second Schleswig War Ethiopian–Adal war Franco-Syrian War Gunboat War Russo-Turkish War of 1768–1774 Ionian Revolt Third Macedonian War War on Terror Russo-Kazan Wars Russo-Japanese War Soviet–Japanese border conflicts Angolan Civil War War for Brittany Liberal Wars American Indian Wars Arab–Khazar Wars Peasants' War Gulf War Georgian–Ossetian conflict Albanian–Venetian War War of the Lombards First War of Scottish Independence Polish–Swedish War (1600–11) Kosovo War Tokhtamysh–Timur war War in Donbass Deluge Indo-Pakistani wars and conflicts Old Zürich War Yemeni Civil War First Italo-Ethiopian War Peruvian War of Independence Falklands War Sino-Vietnamese War Argentine Civil Wars Transalpine campaigns of the Old Swiss Confederacy Apache Wars Syrian Wars Second Opium War War of the Austrian Succession Russo-Persian War Hussite Wars Soviet–Afghan War French and Indian War Arauco War Anglo-Zulu War Polish–Swedish War (1626–29) Prussian Crusade Federal War Anglo-Mysore Wars Umayyad conquest of Hispania Greek-Punic Wars Polish–Ottoman War Swedish-Norwegian War Coalition Wars War in Afghanistan War of the League of Cognac Second Chechen War Libyan civil war Lithuanian Crusade Trojan War Toyota War Boshin War Platine War Eighty Years' War Anglo-Spanish War (1625–1630) Swabian War Polish–Lithuanian–Teutonic War Russian–Lithuanian Wars Albanian resistance during World War II Lebanon War Cologne War Wars of the Three Kingdoms First Balkan War First Chechen War Byzantine–Sassanid War of 602–28 Cisplatine War Yakima War War of the Castilian Succession Romania during World War I Sino-French War Portuguese Restoration War Sviatoslav's invasion of Bulgaria Croat–Bosniak War Chincha Islands War War against Sigismund Berber Revolt Polish–Ottoman War Frans van Brederode's rebellion of 1488–1490 Yom Kippur War Italian War of 1542–46 Israeli–Palestinian conflict 2006 Lebanon War
French and Indian War, Yemeni Civil War and Anglo-Spanish War (1625–1630) are around the same number of events or military operations a component of as Old Zürich War
French and Indian War Yemeni Civil War Anglo-Spanish War (1625–1630)
action approx
action union
action find_reverse_tuple_counts
relation part of
type armed conflict
type event
action find_reverse_tuple_counts
relation part of
type armed conflict
type military operation
action count
action filter_multi_types
action find_reverse
entity Old Zürich War
relation part of
type event
type military operation
[[{'concept': 'event'}, {'concept': 'military operation'}], 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { { ?c rdf:type ontology:event } UNION { ?c rdf:type ontology:military_operation } } . ?c property:part_of resource:Old_Zürich_War } } . FILTER ( ?w = ?l ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?r WHERE { ?t rdf:type ?g . VALUES ( ?g ) { ( ontology:event ) ( ontology:military_operation ) } } GROUP BY ?r } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q154697 Q19686631 Q168442
P710
Q502895
USER
Which people were participants of French and Indian War, Yemeni Civil War and Anglo-Spanish War (1625–1630) ?
(Q154697,P710,c(Q502895)) (Q19686631,P710,c(Q502895)) (Q168442,P710,c(Q502895))
action union
action filter_type
action find
entity Q154697
relation P710
type Q502895
action filter_type
action find
entity Q19686631
relation P710
type Q502895
action filter_type
action find
entity Q168442
relation P710
type Q502895
['Q154697', 'P710', {'concept': 'Q502895'}] ['Q19686631', 'P710', {'concept': 'Q502895'}] ['Q168442', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { resource:Q154697 property:P710 ?s . ?s rdf:type ontology:Q502895 } UNION { ?s rdf:type ontology:Q502895 . resource:Q19686631 property:P710 ?s } }
French and Indian War Yemeni Civil War Anglo-Spanish War (1625–1630)
action union
action filter_type
action find
entity French and Indian War
relation participant
type common name
action filter_type
action find
entity Yemeni Civil War
relation participant
type common name
action filter_type
action find
entity Anglo-Spanish War (1625–1630)
relation participant
type common name
['French and Indian War', 'participant', {'concept': 'common name'}] ['Yemeni Civil War', 'participant', {'concept': 'common name'}] ['Anglo-Spanish War (1625–1630)', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { resource:French_and_Indian_War property:participant ?s . ?s rdf:type ontology:common_name } UNION { ?s rdf:type ontology:common_name . resource:Yemeni_Civil_War property:participant ?s } }
[]
common name
Q23 Q691402 Q483672
SYSTEM
George Washington, Philip IV of Spain, Ali Abdullah Saleh
Q335063 Q1356274 Q453589 Q570947 Q113412 Q3181518 Q3083554 Q379812 Q3163736 Q23 Q336819 Q20047030 Q20047019 Q6399485 Q57480 Q483672 Q19673630 Q19894678 Q2558262 Q19726748 Q21680111 Q20385277 Q19006319 Q979788 Q606051 Q2976180 Q2753558 Q2451761 Q371833 Q359936 Q81506 Q5429291 Q441405 Q6300387 Q164062 Q2701696 Q79972 Q691402
(Q154697,P710,c(Q502895)) (Q19686631,P710,c(Q502895)) (Q168442,P710,c(Q502895))
action union
action filter_type
action find
entity Q154697
relation P710
type Q502895
action filter_type
action find
entity Q19686631
relation P710
type Q502895
action filter_type
action find
entity Q168442
relation P710
type Q502895
[ANSWERS] were participants of French and Indian War, Yemeni Civil War and Anglo-Spanish War (1625–1630)
['Q154697', 'P710', {'concept': 'Q502895'}] ['Q19686631', 'P710', {'concept': 'Q502895'}] ['Q168442', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { resource:Q154697 property:P710 ?s . ?s rdf:type ontology:Q502895 } UNION { ?s rdf:type ontology:Q502895 . resource:Q19686631 property:P710 ?s } }
Jeffery Amherst, 1st Baron Amherst Pierre de Rigaud, Marquis de Vaudreuil-Cavagnal Louis-Joseph de Montcalm James Abercrombie Edward Braddock John Forbes François-Marie Le Marchand de Lignery James Wolfe Jean Erdman, Baron Dieskau George Washington John Campbell, 4th Earl of Loudoun Ali Nasser Hadi Ahmed Ali Salem Bahaj Khalid Bahah Abdrabbuh Mansour Hadi Ali Abdullah Saleh Mahmoud al-Subaihi Abdul-Hafez al-Saqqaf Abdul-Malik al-Houthi Hussein Khairan Nayef al-Bakri Ahmad Asiri Mohammed Ali al-Houthi Ali Mohsen Al-Ahmar Antonio de Oquendo Edward Cecil, 1st Viscount Wimbledon Horace Vere, 1st Baron Vere of Tilbury William of Nassau Gaspar de Guzmán, Count-Duke of Olivares Ambrogio Spinola, 1st Marquis of the Balbases Charles I of England Fadrique Álvarez de Toledo, 1st Marquis of Villanueva de Valdueza Ernst von Mansfeld Juan Manuel Pérez de Guzmán, 8th Duke of Medina Sidonia Maurice of Nassau, Prince of Orange Robert Devereux, 3rd Earl of Essex James VI and I Philip IV of Spain
George Washington, Philip IV of Spain and Ali Abdullah Saleh were participants of French and Indian War, Yemeni Civil War and Anglo-Spanish War (1625–1630)
George Washington Philip IV of Spain Ali Abdullah Saleh
action union
action filter_type
action find
entity French and Indian War
relation participant
type common name
action filter_type
action find
entity Yemeni Civil War
relation participant
type common name
action filter_type
action find
entity Anglo-Spanish War (1625–1630)
relation participant
type common name
['French and Indian War', 'participant', {'concept': 'common name'}] ['Yemeni Civil War', 'participant', {'concept': 'common name'}] ['Anglo-Spanish War (1625–1630)', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { resource:French_and_Indian_War property:participant ?s . ?s rdf:type ontology:common_name } UNION { ?s rdf:type ontology:common_name . resource:Yemeni_Civil_War property:participant ?s } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q23 Q691402 Q483672
P21
Q290
USER
What are the sex of those people ?
(Q23,P21,c(Q290)) (Q691402,P21,c(Q290)) (Q483672,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q23', 'P21', {'concept': 'Q290'}] ['Q691402', 'P21', {'concept': 'Q290'}] ['Q483672', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?k property:P21 ?c . VALUES ( ?k ) { ( resource:Q335063 ) ( resource:Q1356274 ) ( resource:Q453589 ) } . ?c rdf:type ontology:Q290 }
George Washington Philip IV of Spain Ali Abdullah Saleh
action filter_type
action find
entity prev_answer
relation gender
type sex
['George Washington', 'gender', {'concept': 'sex'}] ['Philip IV of Spain', 'gender', {'concept': 'sex'}] ['Ali Abdullah Saleh', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?k property:gender ?c . VALUES ( ?k ) { ( resource:Jeffery_Amherst,_1st_Baron_Amherst ) ( resource:Pierre_de_Rigaud,_Marquis_de_Vaudreuil-Cavagnal ) ( resource:Louis-Joseph_de_Montcalm ) } . ?c rdf:type ontology:sex }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q23,P21,c(Q290)) (Q691402,P21,c(Q290)) (Q483672,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
The sex of those people are [ANSWER], [ANSWER] and [ANSWER]
['Q23', 'P21', {'concept': 'Q290'}] ['Q691402', 'P21', {'concept': 'Q290'}] ['Q483672', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?k property:P21 ?c . VALUES ( ?k ) { ( resource:Q335063 ) ( resource:Q1356274 ) ( resource:Q453589 ) } . ?c rdf:type ontology:Q290 }
male male male
The sex of those people are male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['George Washington', 'gender', {'concept': 'sex'}] ['Philip IV of Spain', 'gender', {'concept': 'sex'}] ['Ali Abdullah Saleh', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?k property:gender ?c . VALUES ( ?k ) { ( resource:Jeffery_Amherst,_1st_Baron_Amherst ) ( resource:Pierre_de_Rigaud,_Marquis_de_Vaudreuil-Cavagnal ) ( resource:Louis-Joseph_de_Montcalm ) } . ?c rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23
P26
Q502895
USER
Which person is the life partner of George Washington ?
(c(Q502895),P26,Q23)
action filter_type
action find
entity Q23
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q23']
SELECT DISTINCT ?u WHERE { resource:Q23 property:P26 ?u . ?u rdf:type ontology:Q502895 }
George Washington
action filter_type
action find
entity George Washington
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'George Washington']
SELECT DISTINCT ?u WHERE { resource:George_Washington property:spouse ?u . ?u rdf:type ontology:common_name }
[]
common name
Q191789
SYSTEM
Martha Washington
Q191789
(c(Q502895),P26,Q23)
action filter_type
action find
entity Q23
relation P26
type Q502895
[ANSWER] is the life partner of George Washington
[{'concept': 'Q502895'}, 'P26', 'Q23']
SELECT DISTINCT ?u WHERE { resource:Q23 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Martha Washington
Martha Washington is the life partner of George Washington
Martha Washington
action filter_type
action find
entity George Washington
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'George Washington']
SELECT DISTINCT ?u WHERE { resource:George_Washington property:spouse ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23
P112
Q1935049
USER
Which military school was started by George Washington ?
(c(Q1935049),P112,Q23)
action filter_type
action find_reverse
entity Q23
relation P112
type Q1935049
[{'concept': 'Q1935049'}, 'P112', 'Q23']
SELECT DISTINCT ?n WHERE { ?n property:P112 resource:Q23 . ?n rdf:type ontology:Q1935049 }
George Washington
action filter_type
action find_reverse
entity George Washington
relation founder
type military school
[{'concept': 'military school'}, 'founder', 'George Washington']
SELECT DISTINCT ?n WHERE { ?n property:founder resource:George_Washington . ?n rdf:type ontology:military_school }
[]
military school
Q9219
SYSTEM
United States Military Academy at West Point
Q9219
(c(Q1935049),P112,Q23)
action filter_type
action find_reverse
entity Q23
relation P112
type Q1935049
The [ANSWER] was started by George Washington
[{'concept': 'Q1935049'}, 'P112', 'Q23']
SELECT DISTINCT ?n WHERE { ?n property:P112 resource:Q23 . ?n rdf:type ontology:Q1935049 }
United States Military Academy at West Point
The United States Military Academy at West Point was started by George Washington
United States Military Academy at West Point
action filter_type
action find_reverse
entity George Washington
relation founder
type military school
[{'concept': 'military school'}, 'founder', 'George Washington']
SELECT DISTINCT ?n WHERE { ?n property:founder resource:George_Washington . ?n rdf:type ontology:military_school }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23
P25
Q502895
USER
Which female person has a child named George Washington ?
(Q23,P25,c(Q502895))
action filter_type
action find
entity Q23
relation P25
type Q502895
['Q23', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q23 property:P25 ?g . ?g rdf:type ontology:Q502895 }
George Washington
action filter_type
action find
entity George Washington
relation mother
type common name
['George Washington', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:George_Washington property:mother ?g . ?g rdf:type ontology:common_name }
[]
common name
Q458119
SYSTEM
Mary Ball Washington
Q458119
(Q23,P25,c(Q502895))
action filter_type
action find
entity Q23
relation P25
type Q502895
And [ANSWER] has a child named George Washington
['Q23', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q23 property:P25 ?g . ?g rdf:type ontology:Q502895 }
Mary Ball Washington
And Mary Ball Washington has a child named George Washington
Mary Ball Washington
action filter_type
action find
entity George Washington
relation mother
type common name
['George Washington', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:George_Washington property:mother ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q622802
Q502895
USER
And what about Lev Kirillovich Razumovsky?
(Q622802,P25,c(Q502895))
action filter_type
action find
entity Q622802
relation P25
type Q502895
['Q622802', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q622802 property:P25 ?j . ?j rdf:type ontology:Q502895 }
Lev Kirillovich Razumovsky
action filter_type
action find
entity Lev Kirillovich Razumovsky
relation mother
type common name
['Lev Kirillovich Razumovsky', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Lev_Kirillovich_Razumovsky property:mother ?j . ?j rdf:type ontology:common_name }
[]
common name
Q3696516
SYSTEM
Katerina Ivanovna Razumovskaja
Q3696516
(Q622802,P25,c(Q502895))
action filter_type
action find
entity Q622802
relation P25
type Q502895
[ANSWER]
['Q622802', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q622802 property:P25 ?j . ?j rdf:type ontology:Q502895 }
Katerina Ivanovna Razumovskaja
Katerina Ivanovna Razumovskaja
action filter_type
action find
entity Lev Kirillovich Razumovsky
relation mother
type common name
['Lev Kirillovich Razumovsky', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Lev_Kirillovich_Razumovsky property:mother ?j . ?j rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11921759 Q9312342
P19 P937
Q56061
USER
Which administrative territories were Roman Jasieński born at or are the work locations of Felip de Solà i Cañizares ?
OR((Q9312342,P19,c(Q56061)), (Q11921759,P937,c(Q56061)))
action filter_type
action union
action find
entity Q9312342
relation P19
action find
entity Q11921759
relation P937
type Q56061
{'OR': [['Q9312342', 'P19', {'concept': 'Q56061'}], ['Q11921759', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q11921759 property:P937 ?v } UNION { resource:Q9312342 property:P19 ?v } } . ?v rdf:type ontology:Q56061 }
Felip de Solà i Cañizares Roman Jasieński
action filter_type
action union
action find
entity Roman Jasieński
relation place of birth
action find
entity Felip de Solà i Cañizares
relation work location
type administrative territorial entity
{'OR': [['Roman Jasieński', 'place of birth', {'concept': 'administrative territorial entity'}], ['Felip de Solà i Cañizares', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Felip_de_Solà_i_Cañizares property:work_location ?v } UNION { resource:Roman_Jasieński property:place_of_birth ?v } } . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807 Q216
SYSTEM
Madrid, Vilnius
Q2807 Q216
OR((Q9312342,P19,c(Q56061)), (Q11921759,P937,c(Q56061)))
action filter_type
action union
action find
entity Q9312342
relation P19
action find
entity Q11921759
relation P937
type Q56061
Roman Jasieński were born or are the work locations of Felip de Solà i Cañizares in [ANSWERS]
{'OR': [['Q9312342', 'P19', {'concept': 'Q56061'}], ['Q11921759', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q11921759 property:P937 ?v } UNION { resource:Q9312342 property:P19 ?v } } . ?v rdf:type ontology:Q56061 }
Madrid Vilnius
Roman Jasieński were born or are the work locations of Felip de Solà i Cañizares in Madrid and Vilnius
Madrid Vilnius
action filter_type
action union
action find
entity Roman Jasieński
relation place of birth
action find
entity Felip de Solà i Cañizares
relation work location
type administrative territorial entity
{'OR': [['Roman Jasieński', 'place of birth', {'concept': 'administrative territorial entity'}], ['Felip de Solà i Cañizares', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Felip_de_Solà_i_Cañizares property:work_location ?v } UNION { resource:Roman_Jasieński property:place_of_birth ?v } } . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2807 Q216
P206
Q355304
USER
Which watercourses are located in the neighbourhood of those administrative territories ?
(Q2807,P206,c(Q355304)) (Q216,P206,c(Q355304))
action filter_type
action find
entity prev_answer
relation P206
type Q355304
['Q2807', 'P206', {'concept': 'Q355304'}] ['Q216', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?d WHERE { ?y property:P206 ?d . ?d rdf:type ontology:Q355304 . VALUES ( ?y ) { ( resource:Q2807 ) ( resource:Q216 ) } }
Madrid Vilnius
action filter_type
action find
entity prev_answer
relation located next to body of water
type watercourse
['Madrid', 'located next to body of water', {'concept': 'watercourse'}] ['Vilnius', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?d WHERE { ?y property:located_next_to_body_of_water ?d . ?d rdf:type ontology:watercourse . VALUES ( ?y ) { ( resource:Madrid ) ( resource:Vilnius ) } }
[]
watercourse
Q16512 Q661684 Q207903
SYSTEM
Manzanares, Vilnia River, Neris
Q16512 Q661684 Q207903
(Q2807,P206,c(Q355304)) (Q216,P206,c(Q355304))
action filter_type
action find
entity prev_answer
relation P206
type Q355304
[ANSWERS] are located in the neighbourhood of those administrative territories
['Q2807', 'P206', {'concept': 'Q355304'}] ['Q216', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?d WHERE { ?y property:P206 ?d . ?d rdf:type ontology:Q355304 . VALUES ( ?y ) { ( resource:Q2807 ) ( resource:Q216 ) } }
Manzanares Vilnia River Neris
Manzanares, Vilnia River and Neris are located in the neighbourhood of those administrative territories
Manzanares Vilnia River Neris
action filter_type
action find
entity prev_answer
relation located next to body of water
type watercourse
['Madrid', 'located next to body of water', {'concept': 'watercourse'}] ['Vilnius', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?d WHERE { ?y property:located_next_to_body_of_water ?d . ?d rdf:type ontology:watercourse . VALUES ( ?y ) { ( resource:Madrid ) ( resource:Vilnius ) } }
[]