Simple Question (Direct)
Simple Question
Q334852
P17
Q15617994
USER
Which administrative territory does Vernosc-lès-Annonay belong to ?
(Q334852,P17,c(Q15617994))
action filter_type
action find
entity Q334852
relation P17
type Q15617994
['Q334852', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q334852 property:P17 ?v }
Vernosc-lès-Annonay
action filter_type
action find
entity Vernosc-lès-Annonay
relation country
type designation for an administrative territorial entity
['Vernosc-lès-Annonay', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Vernosc-lès-Annonay property:country ?v }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q334852,P17,c(Q15617994))
action filter_type
action find
entity Q334852
relation P17
type Q15617994
Vernosc-lès-Annonay belongs to [ANSWER]
['Q334852', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q334852 property:P17 ?v }
France
Vernosc-lès-Annonay belongs to France
France
action filter_type
action find
entity Vernosc-lès-Annonay
relation country
type designation for an administrative territorial entity
['Vernosc-lès-Annonay', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Vernosc-lès-Annonay property:country ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P276
Q198
USER
Which wars have their location as that administrative territory ?
(c(Q198),P276,Q142)
action filter_type
action find_reverse
entity Q142
relation P276
type Q198
[{'concept': 'Q198'}, 'P276', 'Q142']
SELECT DISTINCT ?x WHERE { ?x property:P276 resource:Q142 . ?x rdf:type ontology:Q198 }
France
action filter_type
action find_reverse
entity France
relation location
type war
[{'concept': 'war'}, 'location', 'France']
SELECT DISTINCT ?x WHERE { ?x property:location resource:France . ?x rdf:type ontology:war }
[]
war
Q1021160 Q17507684
SYSTEM
Armagnac–Burgundian Civil War, military intervention against ISIL
Q1021160 Q17507684
(c(Q198),P276,Q142)
action filter_type
action find_reverse
entity Q142
relation P276
type Q198
[ANSWERS] have their location as that administrative territory
[{'concept': 'Q198'}, 'P276', 'Q142']
SELECT DISTINCT ?x WHERE { ?x property:P276 resource:Q142 . ?x rdf:type ontology:Q198 }
Armagnac–Burgundian Civil War military intervention against ISIL
Armagnac–Burgundian Civil War and military intervention against ISIL have their location as that administrative territory
Armagnac–Burgundian Civil War military intervention against ISIL
action filter_type
action find_reverse
entity France
relation location
type war
[{'concept': 'war'}, 'location', 'France']
SELECT DISTINCT ?x WHERE { ?x property:location resource:France . ?x rdf:type ontology:war }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17507684
P361
Q350604
USER
What is that war a portion of ?
(Q17507684,P361,c(Q350604))
action filter_type
action find
entity Q17507684
relation P361
type Q350604
['Q17507684', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?q WHERE { resource:Q17507684 property:P361 ?q . ?q rdf:type ontology:Q350604 }
military intervention against ISIL
action filter_type
action find
entity military intervention against ISIL
relation part of
type armed conflict
['military intervention against ISIL', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?q WHERE { resource:military_intervention_against_ISIL property:part_of ?q . ?q rdf:type ontology:armed_conflict }
[]
armed conflict
Clarification for simple ques.
Q1021160
SYSTEM
Did you mean Armagnac–Burgundian Civil War ?
Q1021160 Q17507684
(Q1021160,P361,c(Q350604)) (Q17507684,P361,c(Q350604))
[ANSWER]
['Q1021160', 'P361', {'concept': 'Q350604'}] ['Q17507684', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?q WHERE { resource:Q17507684 property:P361 ?q . ?q rdf:type ontology:Q350604 }
Armagnac–Burgundian Civil War military intervention against ISIL
Did you mean Armagnac–Burgundian Civil War ?
Armagnac–Burgundian Civil War
['Armagnac–Burgundian Civil War', 'part of', {'concept': 'armed conflict'}] ['military intervention against ISIL', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?q WHERE { resource:military_intervention_against_ISIL property:part_of ?q . ?q rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
USER
No, I meant military intervention against ISIL. Could you tell me the answer for that?
(Q17507684,P361,c(Q350604))
Q17507684
['Q17507684', 'P361', {'concept': 'Q350604'}]
['military intervention against ISIL', 'part of', {'concept': 'armed conflict'}]
[]
Q185729
SYSTEM
War on Terror
Q185729
(Q17507684,P361,c(Q350604))
action filter_type
action find
entity Q17507684
relation P361
type Q350604
That war a portion of is the [ANSWER]
['Q17507684', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?q WHERE { resource:Q17507684 property:P361 ?q . ?q rdf:type ontology:Q350604 }
War on Terror
That war a portion of is the War on Terror
War on Terror
action filter_type
action find
entity military intervention against ISIL
relation part of
type armed conflict
['military intervention against ISIL', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?q WHERE { resource:military_intervention_against_ISIL property:part_of ?q . ?q rdf:type ontology:armed_conflict }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P607
Q350604 Q2235308 Q502895
USER
How many armed conflicts did lesser number of ship types or people take part in than that armed conflict ?
(c(Q2235308)|c(Q502895),P607,c(Q350604))
action count
action less
action union
action find_reverse_tuple_counts
relation P607
type Q350604
type Q2235308
action find_reverse_tuple_counts
relation P607
type Q350604
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q185729
relation P607
type Q2235308
type Q502895
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?e WHERE { VALUES ( ?j ) { ( ontology:Q2235308 ) ( ontology:Q502895 ) } . ?b rdf:type ?j } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:P607 resource:Q185729 . { ?x rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2235308 ) ( ontology:Q502895 ) } } } } . FILTER ( ?y < ?m ) }
action count
action less
action union
action find_reverse_tuple_counts
relation conflict
type armed conflict
type ship type
action find_reverse_tuple_counts
relation conflict
type armed conflict
type common name
action count
action filter_multi_types
action find_reverse
entity War on Terror
relation conflict
type ship type
type common name
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?e WHERE { VALUES ( ?j ) { ( ontology:ship_type ) ( ontology:common_name ) } . ?b rdf:type ?j } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:conflict resource:War_on_Terror . { ?x rdf:type ?k . VALUES ( ?k ) { ( ontology:ship_type ) ( ontology:common_name ) } } } } . FILTER ( ?y < ?m ) }
[]
armed conflict ship type common name
SYSTEM
274
Q2321496 Q1044829 Q2326099 Q696848 Q1760930 Q940618 Q698281 Q196409 Q619749 Q879980 Q1552718 Q749397 Q154940 Q2912306 Q699511 Q3540197 Q5453768 Q6334 Q694835 Q179077 Q381375 Q285280 Q780845 Q103495 Q3621718 Q1352401 Q699602 Q18920712 Q976827 Q657055 Q768496 Q4116897 Q525097 Q620735 Q3499292 Q474891 Q558423 Q58947 Q2632175 Q370963 Q651008 Q233500 Q233507 Q617210 Q49097 Q431806 Q1933729 Q857982 Q1080711 Q260684 Q989092 Q617350 Q1936011 Q3439047 Q165136 Q4940496 Q223126 Q1450594 Q249232 Q777345 Q2320020 Q1064335 Q609836 Q891806 Q327150 Q677316 Q39194 Q252298 Q1456086 Q1382989 Q369291 Q2441248 Q636365 Q2407716 Q2090475 Q74623 Q371394 Q631163 Q194378 Q1495944 Q164432 Q1500631 Q1209169 Q643925 Q151616 Q559181 Q1361929 Q2096286 Q631991 Q1455917 Q748042 Q658598 Q2001082 Q68478 Q2576016 Q2656995 Q233663 Q717809 Q1348630 Q1837308 Q2341073 Q1545405 Q553184 Q862257 Q842380 Q686564 Q635533 Q2419855 Q33745 Q1352215 Q199955 Q257724 Q1362209 Q54434 Q706183 Q551888 Q1501025 Q957532 Q8064768 Q690361 Q6286 Q2320981 Q1851858 Q698985 Q1282732 Q858108 Q7572892 Q404517 Q14947002 Q179275 Q127751 Q817206 Q7210108 Q786171 Q166001 Q1072042 Q2337340 Q31307 Q2599340 Q76026 Q322607 Q177109 Q1269777 Q325314 Q3042463 Q604204 Q1249270 Q273348 Q1891008 Q7125242 Q2326066 Q170682 Q49100 Q486831 Q49077 Q1640107 Q258679 Q430053 Q19686631 Q3071310 Q1361354 Q2082222 Q617782 Q2032554 Q1186260 Q154981 Q1676845 Q2992403 Q6271 Q426201 Q123070 Q76118 Q233642 Q2060306 Q1949299 Q2471586 Q1047682 Q12055176 Q3118990 Q4207759 Q233702 Q859815 Q1783607 Q755170 Q11154636 Q3242848 Q553157 Q598774 Q190029 Q3119132 Q1536533 Q223085 Q550172 Q2976715 Q2444955 Q989115 Q1259237 Q655480 Q79791 Q623171 Q7166879 Q3237019 Q122100 Q617827 Q2909600 Q11050383 Q2600326 Q1139887 Q233657 Q202465 Q478301 Q154697 Q722051 Q75756 Q2985977 Q8628 Q2665664 Q3118940 Q195378 Q4222429 Q28365 Q1780850 Q26690200 Q900693 Q168442 Q877450 Q385676 Q2635052 Q2670249 Q1429256 Q49104 Q120843 Q1519107 Q1420115 Q202578 Q1962709 Q6542740 Q3042457 Q1178424 Q3365438 Q4120277 Q937255 Q696389 Q3119025 Q74109 Q94916 Q172068 Q329203 Q2577772 Q177918 Q1814745 Q26749 Q288251 Q3119015 Q1450532 Q524272 Q1434602 Q157548 Q1154983 Q17324420 Q1501724 Q652285 Q4176199 Q1069736 Q742813 Q1632880 Q220602 Q42937 Q838695 Q1237867 Q49103 Q1143379 Q151622 Q1265114
(c(Q2235308)|c(Q502895),P607,c(Q350604))
action count
action less
action union
action find_reverse_tuple_counts
relation P607
type Q350604
type Q2235308
action find_reverse_tuple_counts
relation P607
type Q350604
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q185729
relation P607
type Q2235308
type Q502895
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?e WHERE { VALUES ( ?j ) { ( ontology:Q2235308 ) ( ontology:Q502895 ) } . ?b rdf:type ?j } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:P607 resource:Q185729 . { ?x rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2235308 ) ( ontology:Q502895 ) } } } } . FILTER ( ?y < ?m ) }
Bannock War Polish–Muscovite War Byzantine–Sassanid War of 602–28 Anglo-Iraqi War Paquisha War Cod Wars Italian War of 1521–1526 Livonian Crusade Kurdish–Turkish conflict Black Hawk War Granada War Eastern Theater of the American Civil War Lapland War Wars of the Diadochi Campaigns of 1796 in the French Revolutionary Wars Third English Civil War First Rohilla War Third Punic War Austro-Turkish War of 1716–1718 Pontiac's War Nagorno-Karabakh War War of Transnistria Franco-Thai War world war Arab–Khazar Wars Bombardment of Kagoshima Cretan War War in Afghanistan Carnatic Wars Greco-Turkish War (1897) Banana Wars Second Kurdish–Iraqi War Persian Expedition of 1796 Russo-Georgian War Byzantine civil war of 1321–1328 Texas–Indian wars Polish–Teutonic War War of the Triple Alliance Dunmore's War Russo-Swedish War Corinthian War Second Anglo-Burmese War Second Anglo-Afghan War Third Anglo-Maratha War 1948 Palestine war Arauco War Polish–Czechoslovak War First Matabele War Ottoman–Hungarian Wars Alexander's Balkan campaign First Anglo-Afghan War Third Anglo-Mysore War Cold War (1962–79) Dominican War of Independence Swabian War Bombardment of Algiers Chaco War Hundred Thousand Sons of Saint Louis War of the Third Coalition Mad War Byzantine–Sassanid War of 572–591 Pig War Portuguese Colonial War Bombardment of Algiers (1816) Byzantine–Norman wars Social War Spanish reconquest of Santo Domingo Hungarian–Romanian war of 1919 Nez Perce War Rogue River Wars Anglo-Spanish War (1654–1660) Anglo-Russian War War of the League of Cambrai Roman–Sassanid War Second Franco-Dahomean War Great Turkish War Bangladesh Liberation War Deluge Third Servile War Polish–Lithuanian War Eighty Years' War Ecuadorian–Peruvian War War in Abkhazia Invasion of Dagestan Great Northern War First Silesian War Indonesia–Malaysia confrontation Theater War Russo-Polish War Umayyad conquest of Hispania Irish Civil War Siberian Intervention Allied intervention in the Russian Civil War Peruvian War of Independence Anastasian War Northwest Indian War Second Anglo-Mysore War Central Plains War Ridda wars Rus'–Byzantine War (941) First Carlist War New Zealand Wars Gaza–Israel conflict King Philip's War Second Sudanese Civil War Serbian-Ottoman War Cambodian–Vietnamese War Ukrainian–Soviet War Peloponnesian War Polish–Russian War of 1792 Hundred Days Ethiopian Civil War First Anglo-Maratha War War of Jenkins' Ear Sino-French War Wars of Alexander the Great Utah War Third Carlist War Zaian War Long War First Punic War Williamite War in Ireland Dakota War of 1862 Ottoman wars in Europe Guatemalan Civil War Byzantine–Sassanid Wars Spain in the American Revolutionary War Kargil War Chechen–Russian conflict War in North-West Pakistan Wars of the Roses Cambodian Civil War Polish–Swedish War (1621–25) Ottoman–Habsburg wars Scanian War War in Somalia (2006-2009) Cenepa War Burmese–Siamese War War of the Sicilian Vespers Greco-Persian Wars War of Attrition Slovak–Hungarian War Dano-Swedish War of 1808-1809 Tecumseh's War Uruguayan War Anglo-Spanish War (1727–1729) Third Sacred War Italian Wars Sand War Paiute War Iberian War Gaza War Yom Kippur War Roman–Syrian war Six-Day War Ifni War Austro-Turkish War Great Sioux War of 1876 Yemeni Civil War War of the Supremes Nine Years' War Lazic War Fourth Anglo-Mysore War Second Melillan campaign Creek War Second Schleswig War Boer Wa Franco-Syrian War Second Punic War Gunboat War Russo-Turkish War of 1768–1774 Third Macedonian War Second Anglo-Maratha War Red Cloud's War Russo-Kazan Wars Pomeranian War Asian and Pacific theatre of World War I Angolan Civil War War for Brittany Seleucid–Parthian wars Second Silesian War Ishiyama Hongan-ji War Salvadoran Civil War Anglo-Dutch Wars Eelam War III First War of Scottish Independence Romania during World War I Polish–Swedish War (1600–11) Kosovo War Indo-Pakistani wars and conflicts Colombian-Peruvian War Football War War of the Breton Succession Second Seminole War Rhodesian Bush War First Italo-Ethiopian War Third Anglo-Afghan War Quasi-War Reconquista Sino-Vietnamese War Perak War Sino-Burmese War Continuation War Apache Wars Bombardment of Genoa Eelam War II Egyptian-Ottoman War Russo-Persian War Second Matabele War Uganda–Tanzania War Hussite Wars French and Indian War Anglo-Ashanti wars Second Congo War Polish–Swedish War (1626–29) War in the Vendée Prussian Crusade Father Le Loutre's War Anglo-Nepalese War Sino–Tibetan War Lamian War Swedish-Norwegian War Rutulian War Seminole Wars Anglo-Spanish War (1625–1630) Laotian Civil War Ōnin War Modoc War Bombardment of Alexandria War of the League of Cognac 2006 Lebanon War Second Chechen War War in Afghanistan Russo-Persian War First Jewish-Roman War Ingrian War Austro–Turkish War Platine War Carlist Wars War in Vietnam (1945–46) Second Samoan Civil War Polish–Lithuanian–Teutonic War Soviet–Japanese border conflicts Red River War Albanian resistance during World War II Second Italo-Ethiopian War National Liberation War of Macedonia First Boer War Wars of the Three Kingdoms First Balkan War Eelam War I War of the Second Coalition Cisplatine War Yakima War Franco-Turkish War South-East Asian theatre of World War II Libyan–Egyptian War War of the Bavarian Succession Ottoman–Venetian War 2014 Israel–Gaza conflict Portuguese Restoration War Indo-Pakistani War of 1947 cold war Croat–Bosniak War Chincha Islands War Burmese–Siamese War Soviet–Japanese War Trojan War First Congo War Liberal Wars Lebanon War 1991–1992 South Ossetia War Israeli–Palestinian conflict Father Rale's War
274
action count
action less
action union
action find_reverse_tuple_counts
relation conflict
type armed conflict
type ship type
action find_reverse_tuple_counts
relation conflict
type armed conflict
type common name
action count
action filter_multi_types
action find_reverse
entity War on Terror
relation conflict
type ship type
type common name
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?e WHERE { VALUES ( ?j ) { ( ontology:ship_type ) ( ontology:common_name ) } . ?b rdf:type ?j } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:conflict resource:War_on_Terror . { ?x rdf:type ?k . VALUES ( ?k ) { ( ontology:ship_type ) ( ontology:common_name ) } } } } . FILTER ( ?y < ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1021160
P361
Q350604
USER
Which armed conflict is Armagnac–Burgundian Civil War a part of ?
(Q1021160,P361,c(Q350604))
action filter_type
action find
entity Q1021160
relation P361
type Q350604
['Q1021160', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?e WHERE { resource:Q1021160 property:P361 ?e . ?e rdf:type ontology:Q350604 }
Armagnac–Burgundian Civil War
action filter_type
action find
entity Armagnac–Burgundian Civil War
relation part of
type armed conflict
['Armagnac–Burgundian Civil War', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?e WHERE { resource:Armagnac–Burgundian_Civil_War property:part_of ?e . ?e rdf:type ontology:armed_conflict }
[]
armed conflict
Q12551
SYSTEM
Hundred Years' War
Q12551
(Q1021160,P361,c(Q350604))
action filter_type
action find
entity Q1021160
relation P361
type Q350604
The [ANSWER] is Armagnac–Burgundian Civil War a part of
['Q1021160', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?e WHERE { resource:Q1021160 property:P361 ?e . ?e rdf:type ontology:Q350604 }
Hundred Years' War
The Hundred Years' War is Armagnac–Burgundian Civil War a part of
Hundred Years' War
action filter_type
action find
entity Armagnac–Burgundian Civil War
relation part of
type armed conflict
['Armagnac–Burgundian Civil War', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?e WHERE { resource:Armagnac–Burgundian_Civil_War property:part_of ?e . ?e rdf:type ontology:armed_conflict }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q12551 Q21 Q5620210
P276
Q1496967
USER
Is Hundred Years' War situated at England and Gurney Drive ?
(Q12551,P276,Q21) (Q12551,P276,Q5620210)
action is_in
entity Q12551
action intersection
action find_reverse
entity Q21
relation P276
action find_reverse
entity Q5620210
relation P276
['Q12551', 'P276', 'Q21'] ['Q12551', 'P276', 'Q5620210']
ASK WHERE { resource:Q12551 property:P276 resource:Q5620210 . resource:Q12551 property:P276 resource:Q21 }
Hundred Years' War England Gurney Drive
action is_in
entity Hundred Years' War
action intersection
action find_reverse
entity England
relation location
action find_reverse
entity Gurney Drive
relation location
["Hundred Years' War", 'location', 'England'] ["Hundred Years' War", 'location', 'Gurney Drive']
ASK WHERE { resource:Hundred_Years'_War property:location resource:Gurney_Drive . resource:Hundred_Years'_War property:location resource:England }
[]
territorial entity
SYSTEM
YES and NO respectively
(Q12551,P276,Q21) (Q12551,P276,Q5620210)
action is_in
entity Q12551
action intersection
action find_reverse
entity Q21
relation P276
action find_reverse
entity Q5620210
relation P276
[ANSWER]
['Q12551', 'P276', 'Q21'] ['Q12551', 'P276', 'Q5620210']
ASK WHERE { resource:Q12551 property:P276 resource:Q5620210 . resource:Q12551 property:P276 resource:Q21 }
YES and NO respectively
action is_in
entity Hundred Years' War
action intersection
action find_reverse
entity England
relation location
action find_reverse
entity Gurney Drive
relation location
["Hundred Years' War", 'location', 'England'] ["Hundred Years' War", 'location', 'Gurney Drive']
ASK WHERE { resource:Hundred_Years'_War property:location resource:Gurney_Drive . resource:Hundred_Years'_War property:location resource:England }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7870281 Q17507684
P361 P607
Q198
USER
Which wars are military intervention against ISIL a component of or was USS Hugh Purvis a part of ?
OR((Q17507684,P361,c(Q198)), (Q7870281,P607,c(Q198)))
action filter_type
action union
action find
entity Q17507684
relation P361
action find
entity Q7870281
relation P607
type Q198
{'OR': [['Q17507684', 'P361', {'concept': 'Q198'}], ['Q7870281', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q7870281 property:P607 ?f } UNION { resource:Q17507684 property:P361 ?f } } . ?f rdf:type ontology:Q198 }
USS Hugh Purvis military intervention against ISIL
action filter_type
action union
action find
entity military intervention against ISIL
relation part of
action find
entity USS Hugh Purvis
relation conflict
type war
{'OR': [['military intervention against ISIL', 'part of', {'concept': 'war'}], ['USS Hugh Purvis', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?f WHERE { { { resource:USS_Hugh_Purvis property:conflict ?f } UNION { resource:military_intervention_against_ISIL property:part_of ?f } } . ?f rdf:type ontology:war }
[]
war
Q178810 Q362
SYSTEM
Syrian Civil War, World War II
Q178810 Q362
OR((Q17507684,P361,c(Q198)), (Q7870281,P607,c(Q198)))
action filter_type
action union
action find
entity Q17507684
relation P361
action find
entity Q7870281
relation P607
type Q198
[ANSWERS] are military intervention against ISIL a component of or was USS Hugh Purvis a part of
{'OR': [['Q17507684', 'P361', {'concept': 'Q198'}], ['Q7870281', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q7870281 property:P607 ?f } UNION { resource:Q17507684 property:P361 ?f } } . ?f rdf:type ontology:Q198 }
Syrian Civil War World War II
Syrian Civil War and World War II are military intervention against ISIL a component of or was USS Hugh Purvis a part of
Syrian Civil War World War II
action filter_type
action union
action find
entity military intervention against ISIL
relation part of
action find
entity USS Hugh Purvis
relation conflict
type war
{'OR': [['military intervention against ISIL', 'part of', {'concept': 'war'}], ['USS Hugh Purvis', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?f WHERE { { { resource:USS_Hugh_Purvis property:conflict ?f } UNION { resource:military_intervention_against_ISIL property:part_of ?f } } . ?f rdf:type ontology:war }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q211855
P361
Q198 Q350604
USER
Which wars are more number of armed conflicts a component of than Finnish Civil War ?
(c(Q350604),P361,c(Q198))
action greater
action find_reverse_tuple_counts
relation P361
type Q198
type Q350604
action count
action filter_type
action find
entity Q211855
relation P361
type Q350604
[{'concept': 'Q350604'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P361 ?c . ?e rdf:type ontology:Q350604 . ?c rdf:type ontology:Q198 } GROUP BY ?c } . FILTER ( ?f > ?w ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { ?t rdf:type ontology:Q350604 . resource:Q211855 property:P361 ?t } } }
Finnish Civil War
action greater
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 armed conflict
[{'concept': 'armed conflict'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:part_of ?c . ?e rdf:type ontology:armed_conflict . ?c rdf:type ontology:war } GROUP BY ?c } . FILTER ( ?f > ?w ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { ?t rdf:type ontology:armed_conflict . resource:Finnish_Civil_War property:part_of ?t } } }
[]
war armed conflict
Q17984356 Q79911 Q362
SYSTEM
Iraqi Civil War, Russian Civil War, World War II
Q8683 Q4783165 Q3778746 Q362 Q17984356 Q242352 Q178810 Q16954835 Q15059994 Q8676 Q2672972 Q243620 Q79911
(c(Q350604),P361,c(Q198))
action greater
action find_reverse_tuple_counts
relation P361
type Q198
type Q350604
action count
action filter_type
action find
entity Q211855
relation P361
type Q350604
[ANSWERS] are more number of armed conflicts a component of than Finnish Civil War
[{'concept': 'Q350604'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P361 ?c . ?e rdf:type ontology:Q350604 . ?c rdf:type ontology:Q198 } GROUP BY ?c } . FILTER ( ?f > ?w ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { ?t rdf:type ontology:Q350604 . resource:Q211855 property:P361 ?t } } }
Cold War Arab Cold War Sioux Wars World War II Iraqi Civil War Yugoslav Wars Syrian Civil War Nagorno-Karabakh conflict Iran–Israel proxy conflict American Civil War Uruguayan Civil War Somali Civil War Russian Civil War
Iraqi Civil War, Russian Civil War and World War II are more number of armed conflicts a component of than Finnish Civil War
Iraqi Civil War Russian Civil War World War II
action greater
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 armed conflict
[{'concept': 'armed conflict'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:part_of ?c . ?e rdf:type ontology:armed_conflict . ?c rdf:type ontology:war } GROUP BY ?c } . FILTER ( ?f > ?w ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { ?t rdf:type ontology:armed_conflict . resource:Finnish_Civil_War property:part_of ?t } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P163
Q14660
USER
What is associated with France ?
(Q142,P163,c(Q14660))
action filter_type
action find
entity Q142
relation P163
type Q14660
['Q142', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?f WHERE { resource:Q142 property:P163 ?f . ?f rdf:type ontology:Q14660 }
France
action filter_type
action find
entity France
relation flag
type flag
['France', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?f WHERE { resource:France property:flag ?f . ?f rdf:type ontology:flag }
[]
flag
Q43192
SYSTEM
Flag of France
Q43192
(Q142,P163,c(Q14660))
action filter_type
action find
entity Q142
relation P163
type Q14660
France [ANSWER] is associated with France
['Q142', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?f WHERE { resource:Q142 property:P163 ?f . ?f rdf:type ontology:Q14660 }
Flag of France
France Flag of France is associated with France
Flag of France
action filter_type
action find
entity France
relation flag
type flag
['France', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?f WHERE { resource:France property:flag ?f . ?f rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P85
Q571
USER
Which is the national anthem of France ?
(Q142,P85,c(Q571))
action filter_type
action find
entity Q142
relation P85
type Q571
['Q142', 'P85', {'concept': 'Q571'}]
SELECT DISTINCT ?o WHERE { resource:Q142 property:P85 ?o . ?o rdf:type ontology:Q571 }
France
action filter_type
action find
entity France
relation anthem
type book
['France', 'anthem', {'concept': 'book'}]
SELECT DISTINCT ?o WHERE { resource:France property:anthem ?o . ?o rdf:type ontology:book }
[]
book
Q41180
SYSTEM
La Marseillaise
Q41180
(Q142,P85,c(Q571))
action filter_type
action find
entity Q142
relation P85
type Q571
The national anthem of France is [ANSWER]
['Q142', 'P85', {'concept': 'Q571'}]
SELECT DISTINCT ?o WHERE { resource:Q142 property:P85 ?o . ?o rdf:type ontology:Q571 }
La Marseillaise
The national anthem of France is La Marseillaise
La Marseillaise
action filter_type
action find
entity France
relation anthem
type book
['France', 'anthem', {'concept': 'book'}]
SELECT DISTINCT ?o WHERE { resource:France property:anthem ?o . ?o rdf:type ontology:book }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q362
P180
Q2342494
USER
Which collectables depict World War II ?
(c(Q2342494),P180,Q362)
action filter_type
action find_reverse
entity Q362
relation P180
type Q2342494
[{'concept': 'Q2342494'}, 'P180', 'Q362']
SELECT DISTINCT ?n WHERE { ?n property:P180 resource:Q362 . ?n rdf:type ontology:Q2342494 }
World War II
action filter_type
action find_reverse
entity World War II
relation depicts
type collectable
[{'concept': 'collectable'}, 'depicts', 'World War II']
SELECT DISTINCT ?n WHERE { ?n property:depicts resource:World_War_II . ?n rdf:type ontology:collectable }
[]
collectable
Q15060532 Q15054582 Q15065792
SYSTEM
US Airborne Units in the Mediterranean Theater 1942-44, Fleets of World War II, World War II Order of Battle
Q15060532 Q15054582 Q15065792 Q15060548
(c(Q2342494),P180,Q362)
action filter_type
action find_reverse
entity Q362
relation P180
type Q2342494
[ANSWERS] depict World War II
[{'concept': 'Q2342494'}, 'P180', 'Q362']
SELECT DISTINCT ?n WHERE { ?n property:P180 resource:Q362 . ?n rdf:type ontology:Q2342494 }
US Airborne Units in the Mediterranean Theater 1942-44 Fleets of World War II World War II Order of Battle US Armored Divisions
US Airborne Units in the Mediterranean Theater 1942-44, Fleets of World War II and World War II Order of Battle depict World War II
US Airborne Units in the Mediterranean Theater 1942-44 Fleets of World War II World War II Order of Battle
action filter_type
action find_reverse
entity World War II
relation depicts
type collectable
[{'concept': 'collectable'}, 'depicts', 'World War II']
SELECT DISTINCT ?n WHERE { ?n property:depicts resource:World_War_II . ?n rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q362
P710
Q15617994
USER
Which artists participated in that war ?
(Q15060532,P710,c(Q15617994)) (Q15054582,P710,c(Q15617994)) (Q15065792,P710,c(Q15617994))
action filter_type
action find
entity Q362
relation P710
type Q15617994
['Q15060532', 'P710', {'concept': 'Q15617994'}] ['Q15054582', 'P710', {'concept': 'Q15617994'}] ['Q15065792', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q362 property:P710 ?p . ?p rdf:type ontology:Q15617994 }
World War II
action filter_type
action find
entity World War II
relation participant
type designation for an administrative territorial entity
['US Airborne Units in the Mediterranean Theater 1942-44', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['Fleets of World War II', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['World War II Order of Battle', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:World_War_II property:participant ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q30 Q142
SYSTEM
Italy, United States of America, France
Q142 Q17 Q30 Q38 Q145
(Q15060532,P710,c(Q15617994)) (Q15054582,P710,c(Q15617994)) (Q15065792,P710,c(Q15617994))
action filter_type
action find
entity Q362
relation P710
type Q15617994
[ANSWERS] participated in that war
['Q15060532', 'P710', {'concept': 'Q15617994'}] ['Q15054582', 'P710', {'concept': 'Q15617994'}] ['Q15065792', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q362 property:P710 ?p . ?p rdf:type ontology:Q15617994 }
France Japan United States of America Italy United Kingdom
Italy, United States of America and France participated in that war
Italy United States of America France
action filter_type
action find
entity World War II
relation participant
type designation for an administrative territorial entity
['US Airborne Units in the Mediterranean Theater 1942-44', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['Fleets of World War II', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['World War II Order of Battle', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:World_War_II property:participant ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P629
Q838948 Q234460 Q2342494
USER
Which collectables are an edition or translation of min number of works of art or texts ?
(c(Q2342494),P629,c(Q838948)|c(Q234460))
action argmin
action union
action find_tuple_counts
relation P629
type Q2342494
type Q838948
action find_tuple_counts
relation P629
type Q2342494
type Q234460
[{'concept': 'Q2342494'}, 'P629', [{'concept': 'Q838948'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) ?l WHERE { ?u rdf:type ?x . VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q234460 ) } } GROUP BY ?l } } . FILTER ( ?n = ?c ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?i WHERE { VALUES ( ?b ) { ( ontology:Q838948 ) ( ontology:Q234460 ) } . ?g rdf:type ?b } GROUP BY ?i } }
action argmin
action union
action find_tuple_counts
relation edition or translation of
type collectable
type work of art
action find_tuple_counts
relation edition or translation of
type collectable
type text
[{'concept': 'collectable'}, 'edition or translation of', [{'concept': 'work of art'}, {'concept': 'text'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) ?l WHERE { ?u rdf:type ?x . VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:text ) } } GROUP BY ?l } } . FILTER ( ?n = ?c ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?i WHERE { VALUES ( ?b ) { ( ontology:work_of_art ) ( ontology:text ) } . ?g rdf:type ?b } GROUP BY ?i } }
[]
work of art text collectable
Q6517916 Q15895126 Q15895076
SYSTEM
Legends II, International Code of Botanical Nomenclature (Vienna Code), International Code of Nomenclature for algae, fungi, and plants (Melbourne Code)
Q961566 Q26937308 Q7508229 Q15732178 Q19219752 Q19200252 Q6517916 Q15895076 Q15895151 Q25991168 Q25991180 Q4894530 Q20968078 Q5378289 Q12412127 Q25804195 Q7768064 Q7741206 Q19113362 Q19842227 Q2906565 Q14866876 Q17292611 Q3526597 Q11306262 Q15895126 Q23809256 Q15895201 Q11323186 Q27251920 Q19366550 Q19076567 Q7047658 Q15732180
(c(Q2342494),P629,c(Q838948)|c(Q234460))
action argmin
action union
action find_tuple_counts
relation P629
type Q2342494
type Q838948
action find_tuple_counts
relation P629
type Q2342494
type Q234460
[ANSWERS]
[{'concept': 'Q2342494'}, 'P629', [{'concept': 'Q838948'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) ?l WHERE { ?u rdf:type ?x . VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q234460 ) } } GROUP BY ?l } } . FILTER ( ?n = ?c ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?i WHERE { VALUES ( ?b ) { ( ontology:Q838948 ) ( ontology:Q234460 ) } . ?g rdf:type ?b } GROUP BY ?i } }
The Autumn of the Patriarch Marcus Aureliuser Atmachinta Siddur of Saadia Gaon The Adventures of Werner Holt (vol. 1) Meyers Konversations-Lexikon (1888–1889) Le Talisman Legends II International Code of Nomenclature for algae, fungi, and plants (Melbourne Code) International Code of Botanical Nomenclature (Saint Louis Code) Aviel revé Sant Maheu Buez ar Pêvar Mab Emon Bernie Wrightson's Frankenstein A Historical and Descriptive Narrative of twenty years' residence in South America English Hymnal Tanakh Ram Večerní písně The Talmud: The Steinsaltz Edition The Hymnal 1982 Uncle Remus: His Songs and His Sayings Zwerversbloed Vilna Edition Shas Syllabus der Pflanzenfamilien Deutsches Bühnen-Jahrbuch 1942 The Theology of Aristotle Samkok International Code of Botanical Nomenclature (Vienna Code) Fishes of the World (4th edition) International Code of Botanical Nomenclature (Tokyo Code) Doctor Dolittle Books (Japanese translation) Bharatbarshe Ludwig der Deutsche (1st edition) Bible (Wycliffe) Noise: The Political Economy of Music The Adventures of Werner Holt (vol. 2)
Legends II, International Code of Botanical Nomenclature (Vienna Code) and International Code of Nomenclature for algae, fungi, and plants (Melbourne Code) are an edition or translation of min number of works of art or texts
Legends II International Code of Botanical Nomenclature (Vienna Code) International Code of Nomenclature for algae, fungi, and plants (Melbourne Code)
action argmin
action union
action find_tuple_counts
relation edition or translation of
type collectable
type work of art
action find_tuple_counts
relation edition or translation of
type collectable
type text
[{'concept': 'collectable'}, 'edition or translation of', [{'concept': 'work of art'}, {'concept': 'text'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) ?l WHERE { ?u rdf:type ?x . VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:text ) } } GROUP BY ?l } } . FILTER ( ?n = ?c ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?i WHERE { VALUES ( ?b ) { ( ontology:work_of_art ) ( ontology:text ) } . ?g rdf:type ?b } GROUP BY ?i } }
[]