Simple Question (Direct)
Simple Question
Q8018018
P607
Q350604
USER
Which battle did William S. Sitman take part in ?
(Q8018018,P607,c(Q350604))
action filter_type
action find
entity Q8018018
relation P607
type Q350604
['Q8018018', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?a WHERE { resource:Q8018018 property:P607 ?a . ?a rdf:type ontology:Q350604 }
William S. Sitman
action filter_type
action find
entity William S. Sitman
relation conflict
type armed conflict
['William S. Sitman', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?a WHERE { resource:William_S._Sitman property:conflict ?a . ?a rdf:type ontology:armed_conflict }
[]
armed conflict
Q8663
SYSTEM
Korean War
Q8663
(Q8018018,P607,c(Q350604))
action filter_type
action find
entity Q8018018
relation P607
type Q350604
William S. Sitman took in the [ANSWER] part
['Q8018018', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?a WHERE { resource:Q8018018 property:P607 ?a . ?a rdf:type ontology:Q350604 }
Korean War
William S. Sitman took in the Korean War part
Korean War
action filter_type
action find
entity William S. Sitman
relation conflict
type armed conflict
['William S. Sitman', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?a WHERE { resource:William_S._Sitman property:conflict ?a . ?a rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8663
P793
Q15617994
USER
Which administrative territory has that armed conflict as a significant associated event ?
(c(Q15617994),P793,Q8663)
action filter_type
action find_reverse
entity Q8663
relation P793
type Q15617994
[{'concept': 'Q15617994'}, 'P793', 'Q8663']
SELECT DISTINCT ?c WHERE { ?c property:P793 resource:Q8663 . ?c rdf:type ontology:Q15617994 }
Korean War
action filter_type
action find_reverse
entity Korean War
relation significant event
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'significant event', 'Korean War']
SELECT DISTINCT ?c WHERE { ?c property:significant_event resource:Korean_War . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(c(Q15617994),P793,Q8663)
action filter_type
action find_reverse
entity Q8663
relation P793
type Q15617994
[ANSWER] has that armed conflict as a significant associated event
[{'concept': 'Q15617994'}, 'P793', 'Q8663']
SELECT DISTINCT ?c WHERE { ?c property:P793 resource:Q8663 . ?c rdf:type ontology:Q15617994 }
Japan
Japan has that armed conflict as a significant associated event
Japan
action filter_type
action find_reverse
entity Korean War
relation significant event
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'significant event', 'Korean War']
SELECT DISTINCT ?c WHERE { ?c property:significant_event resource:Korean_War . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q800
P85
Q7725634 Q484692 Q15617994
USER
How many administrative territories have an anthem named lesser number of literary works and hymns than Costa Rica ?
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q800
relation P85
type Q7725634
type Q484692
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?s WHERE { { ?s property:P85 ?l . ?s rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q7725634 } UNION { ?s property:P85 ?l . ?s rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q484692 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } } . resource:Q800 property:P85 ?q } } . FILTER ( ?a < ?h ) }
Costa Rica
action count
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity Costa Rica
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?s WHERE { { ?s property:anthem ?l . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:literary_work } UNION { ?s property:anthem ?l . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:hymn } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:literary_work ) ( ontology:hymn ) } } . resource:Costa_Rica property:anthem ?q } } . FILTER ( ?a < ?h ) }
[]
literary work hymn designation for an administrative territorial entity
SYSTEM
8
Q701 Q705 Q142 Q1093 Q694 Q773 Q772 Q33788
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q800
relation P85
type Q7725634
type Q484692
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?s WHERE { { ?s property:P85 ?l . ?s rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q7725634 } UNION { ?s property:P85 ?l . ?s rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q484692 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } } . resource:Q800 property:P85 ?q } } . FILTER ( ?a < ?h ) }
North Holland Zeeland France Limburg South Holland Overijssel Drenthe New Caledonia
8
action count
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity Costa Rica
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?s WHERE { { ?s property:anthem ?l . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:literary_work } UNION { ?s property:anthem ?l . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:hymn } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:literary_work ) ( ontology:hymn ) } } . resource:Costa_Rica property:anthem ?q } } . FILTER ( ?a < ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q617782
P607
Q350604 Q2235308 Q502895
USER
Which armed conflicts did around the same number of ship types and people take part in as Fourth Anglo-Mysore War ?
(c(Q2235308)|c(Q502895),P607,c(Q350604))
action approx
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 Q617782
relation P607
type Q2235308
type Q502895
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?f ) WHERE { { ?c rdf:type ontology:Q350604 . ?a rdf:type ontology:Q502895 . ?a property:P607 ?c } UNION { ?a property:P607 ?c . ?c rdf:type ontology:Q350604 . ?a rdf:type ontology:Q2235308 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { VALUES ( ?s ) { ( ontology:Q2235308 ) ( ontology:Q502895 ) } . ?d rdf:type ?s } . ?d property:P607 resource:Q617782 } } . FILTER ( ?f = ?h ) }
Fourth Anglo-Mysore War
action approx
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 Fourth Anglo-Mysore War
relation conflict
type ship type
type common name
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?f ) WHERE { { ?c rdf:type ontology:armed_conflict . ?a rdf:type ontology:common_name . ?a property:conflict ?c } UNION { ?a property:conflict ?c . ?c rdf:type ontology:armed_conflict . ?a rdf:type ontology:ship_type } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { VALUES ( ?s ) { ( ontology:ship_type ) ( ontology:common_name ) } . ?d rdf:type ?s } . ?d property:conflict resource:Fourth_Anglo-Mysore_War } } . FILTER ( ?f = ?h ) }
[]
armed conflict ship type common name
Q154697 Q19686631 Q168442
SYSTEM
French and Indian War, Yemeni Civil War, Anglo-Spanish War (1625–1630)
Q2321496 Q1044829 Q185729 Q2326099 Q184425 Q696848 Q1760930 Q184183 Q940618 Q698281 Q196409 Q619749 Q616939 Q879980 Q68969 Q1552718 Q749397 Q154940 Q2912306 Q699511 Q3540197 Q5453768 Q6334 Q694835 Q179077 Q381375 Q748780 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 Q1922071 Q129864 Q989092 Q617350 Q1936011 Q3439047 Q165136 Q4940496 Q223126 Q203824 Q1450594 Q249232 Q777345 Q2320020 Q1064335 Q609836 Q891806 Q327150 Q677316 Q39194 Q252298 Q1456086 Q1382989 Q369291 Q2441248 Q636365 Q2407716 Q2090475 Q74623 Q371394 Q631163 Q194378 Q1495944 Q382116 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 Q170314 Q1362209 Q54434 Q706183 Q551888 Q1501025 Q957532 Q8064768 Q690361 Q6286 Q766437 Q2320981 Q1851858 Q698985 Q1282732 Q178687 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 Q2487 Q430053 Q19686631 Q3071310 Q1361354 Q2082222 Q617782 Q2032554 Q1186260 Q154981 Q1676845 Q2992403 Q6271 Q426201 Q123070 Q76118 Q233642 Q2060306 Q1949299 Q2471586 Q1047682 Q179250 Q12055176 Q3118990 Q4207759 Q233702 Q859815 Q1783607 Q82664 Q755170 Q11154636 Q3242848 Q553157 Q598774 Q190029 Q3119132 Q16335075 Q1536533 Q223085 Q550172 Q2976715 Q2444955 Q989115 Q1259237 Q655480 Q79791 Q623171 Q7166879 Q3237019 Q122100 Q617827 Q2909600 Q418151 Q11050383 Q2600326 Q1139887 Q233657 Q202465 Q478301 Q83085 Q154697 Q722051 Q75756 Q228911 Q2985977 Q181533 Q8628 Q2665664 Q3118940 Q195378 Q4222429 Q28365 Q1780850 Q26690200 Q900693 Q168442 Q877450 Q385676 Q2635052 Q2670249 Q1429256 Q49104 Q120843 Q1519107 Q1420115 Q202578 Q1962709 Q6542740 Q309184 Q3042457 Q1178424 Q3365438 Q4120277 Q937255 Q696389 Q3119025 Q74109 Q94916 Q172068 Q329203 Q2577772 Q177918 Q17025641 Q29269 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 approx
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 Q617782
relation P607
type Q2235308
type Q502895
[ANSWERS] around the same number of ship types and people took part in as Fourth Anglo-Mysore War
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?f ) WHERE { { ?c rdf:type ontology:Q350604 . ?a rdf:type ontology:Q502895 . ?a property:P607 ?c } UNION { ?a property:P607 ?c . ?c rdf:type ontology:Q350604 . ?a rdf:type ontology:Q2235308 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { VALUES ( ?s ) { ( ontology:Q2235308 ) ( ontology:Q502895 ) } . ?d rdf:type ?s } . ?d property:P607 resource:Q617782 } } . FILTER ( ?f = ?h ) }
Bannock War Polish–Muscovite War War on Terror Byzantine–Sassanid War of 602–28 Pacific War Anglo-Iraqi War Paquisha War Second Balkan War Cod Wars Italian War of 1521–1526 Livonian Crusade Kurdish–Turkish conflict Anglo-Egyptian War Black Hawk War Croatian War of Independence 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 First Indochina 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 Indo-Pakistani War of 1971 Indian Rebellion of 1857 First Anglo-Afghan War Third Anglo-Mysore War Cold War (1962–79) Dominican War of Independence Swabian War Bombardment of Algiers Chaco War Italo-Turkish 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 Caucasian 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 Second Sino-Japanese 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 Rif War Williamite War in Ireland Dakota War of 1862 Ottoman wars in Europe Guatemalan Civil War First Sino-Japanese 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 Thirty Years' 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 French invasion of Russia Angolan Civil War War for Brittany Seleucid–Parthian wars Second Silesian War Ishiyama Hongan-ji War Salvadoran Civil War Iran–Iraq 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 War in Donbass 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 Second Opium War Eelam War II Egyptian-Ottoman War Russo-Persian War Second Matabele War Uganda–Tanzania War Hussite Wars Soviet–Afghan War French and Indian War Anglo-Ashanti wars Second Congo War Anglo-Zulu War Polish–Swedish War (1626–29) Bosnian War 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 Boshin 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 Tirah Campaign First Chechen 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
French and Indian War, Yemeni Civil War and Anglo-Spanish War (1625–1630) around the same number of ship types and people took part in as Fourth Anglo-Mysore War
French and Indian War Yemeni Civil War Anglo-Spanish War (1625–1630)
action approx
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 Fourth Anglo-Mysore War
relation conflict
type ship type
type common name
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?f ) WHERE { { ?c rdf:type ontology:armed_conflict . ?a rdf:type ontology:common_name . ?a property:conflict ?c } UNION { ?a property:conflict ?c . ?c rdf:type ontology:armed_conflict . ?a rdf:type ontology:ship_type } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { VALUES ( ?s ) { ( ontology:ship_type ) ( ontology:common_name ) } . ?d rdf:type ?s } . ?d property:conflict resource:Fourth_Anglo-Mysore_War } } . FILTER ( ?f = ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1259237
P607
Q350604 Q2235308 Q502895
USER
And what about Third Anglo-Afghan War?
(c(Q2235308)|c(Q502895),P607,c(Q350604))
action approx
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 Q1259237
relation P607
type Q2235308
type Q502895
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?k ) WHERE { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:Q2235308 ) ( ontology:Q502895 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { { ?z rdf:type ontology:Q2235308 } UNION { ?z rdf:type ontology:Q502895 } } . ?z property:P607 resource:Q1259237 } } . FILTER ( ?k = ?e ) }
Third Anglo-Afghan War
action approx
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 Third Anglo-Afghan War
relation conflict
type ship type
type common name
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?k ) WHERE { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:ship_type ) ( ontology:common_name ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { { ?z rdf:type ontology:ship_type } UNION { ?z rdf:type ontology:common_name } } . ?z property:conflict resource:Third_Anglo-Afghan_War } } . FILTER ( ?k = ?e ) }
[]
armed conflict ship type common name
Q154697 Q19686631 Q168442
SYSTEM
French and Indian War, Yemeni Civil War, Anglo-Spanish War (1625–1630)
Q2321496 Q1044829 Q185729 Q2326099 Q184425 Q696848 Q1760930 Q184183 Q940618 Q698281 Q196409 Q619749 Q616939 Q879980 Q68969 Q1552718 Q749397 Q154940 Q2912306 Q699511 Q3540197 Q5453768 Q6334 Q694835 Q179077 Q381375 Q748780 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 Q1922071 Q129864 Q989092 Q617350 Q1936011 Q3439047 Q165136 Q4940496 Q223126 Q203824 Q1450594 Q249232 Q777345 Q2320020 Q1064335 Q609836 Q891806 Q327150 Q677316 Q39194 Q252298 Q1456086 Q1382989 Q369291 Q2441248 Q636365 Q2407716 Q2090475 Q74623 Q371394 Q631163 Q194378 Q1495944 Q382116 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 Q170314 Q1362209 Q54434 Q706183 Q551888 Q1501025 Q957532 Q8064768 Q690361 Q6286 Q766437 Q2320981 Q1851858 Q698985 Q1282732 Q178687 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 Q2487 Q430053 Q19686631 Q3071310 Q1361354 Q2082222 Q617782 Q2032554 Q1186260 Q154981 Q1676845 Q2992403 Q6271 Q426201 Q123070 Q76118 Q233642 Q2060306 Q1949299 Q2471586 Q1047682 Q179250 Q12055176 Q3118990 Q4207759 Q233702 Q859815 Q1783607 Q82664 Q755170 Q11154636 Q3242848 Q553157 Q598774 Q190029 Q3119132 Q16335075 Q1536533 Q223085 Q550172 Q2976715 Q2444955 Q989115 Q1259237 Q655480 Q79791 Q623171 Q7166879 Q3237019 Q122100 Q617827 Q2909600 Q418151 Q11050383 Q2600326 Q1139887 Q233657 Q202465 Q478301 Q83085 Q154697 Q722051 Q75756 Q228911 Q2985977 Q181533 Q8628 Q2665664 Q3118940 Q195378 Q4222429 Q28365 Q1780850 Q26690200 Q900693 Q168442 Q877450 Q385676 Q2635052 Q2670249 Q182865 Q1429256 Q49104 Q120843 Q1519107 Q1420115 Q202578 Q1962709 Q6542740 Q309184 Q3042457 Q1178424 Q3365438 Q4120277 Q134949 Q937255 Q696389 Q3119025 Q74109 Q94916 Q172068 Q329203 Q2577772 Q177918 Q17025641 Q29269 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 approx
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 Q1259237
relation P607
type Q2235308
type Q502895
[ANSWERS]
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?k ) WHERE { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:Q2235308 ) ( ontology:Q502895 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { { ?z rdf:type ontology:Q2235308 } UNION { ?z rdf:type ontology:Q502895 } } . ?z property:P607 resource:Q1259237 } } . FILTER ( ?k = ?e ) }
Bannock War Polish–Muscovite War War on Terror Byzantine–Sassanid War of 602–28 Pacific War Anglo-Iraqi War Paquisha War Second Balkan War Cod Wars Italian War of 1521–1526 Livonian Crusade Kurdish–Turkish conflict Anglo-Egyptian War Black Hawk War Croatian War of Independence 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 First Indochina 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 Indo-Pakistani War of 1971 Indian Rebellion of 1857 First Anglo-Afghan War Third Anglo-Mysore War Cold War (1962–79) Dominican War of Independence Swabian War Bombardment of Algiers Chaco War Italo-Turkish 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 Caucasian 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 Second Sino-Japanese 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 Rif War Williamite War in Ireland Dakota War of 1862 Ottoman wars in Europe Guatemalan Civil War First Sino-Japanese 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 Thirty Years' 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 French invasion of Russia Angolan Civil War War for Brittany Seleucid–Parthian wars Second Silesian War Ishiyama Hongan-ji War Salvadoran Civil War Iran–Iraq 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 War in Donbass 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 Second Opium War Eelam War II Egyptian-Ottoman War Russo-Persian War Second Matabele War Uganda–Tanzania War Hussite Wars Soviet–Afghan War French and Indian War Anglo-Ashanti wars Second Congo War Anglo-Zulu War Polish–Swedish War (1626–29) Bosnian War 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 in Afghanistan 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 Boshin War Platine War Carlist Wars War in Vietnam (1945–46) Second Samoan Civil War Winter 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 Tirah Campaign First Chechen 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
French and Indian War Yemeni Civil War Anglo-Spanish War (1625–1630)
action approx
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 Third Anglo-Afghan War
relation conflict
type ship type
type common name
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?k ) WHERE { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:ship_type ) ( ontology:common_name ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { { ?z rdf:type ontology:ship_type } UNION { ?z rdf:type ontology:common_name } } . ?z property:conflict resource:Third_Anglo-Afghan_War } } . FILTER ( ?k = ?e ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q154697
P21 P607
Q502895
USER
Which people did French and Indian War fight in and have the gender as male ?
AND((c(Q502895),P607,Q154697), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q154697
relation P607
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P607', 'Q154697'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P607 resource:Q154697 . ?i property:P21 resource:Q6581097 }
male French and Indian War
action filter_type
action intersection
action find_reverse
entity French and Indian War
relation conflict
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'conflict', 'French and Indian War'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:conflict resource:French_and_Indian_War . ?i property:gender resource:male }
[]
common name
Q6273011 Q7517663 Q3260996 Q1722601 Q2958896 Q7412149 Q3484281 Q5422990 Q2959594 Q81148
SYSTEM
Some of them are Jonathan Eddy, Simeon Thayer, Louis Aleno de St Aloüarn, Robert Abercromby of Airthrey, Charles Deschamps de Boishébert et de Raffetot, Samuel McDowell, Simon Fraser, Eyre Massey, 1st Baron Clarina, Charles Lawrence, John Parker
Q457369 Q1722601 Q4669225 Q8018746 Q454144 Q7517663 Q116866 Q7412187 Q7427747 Q960315 Q5422990 Q2959594 Q2959824 Q201646 Q2958896 Q6135334 Q4803149 Q7412149 Q18214577 Q113412 Q7290717 Q6238039 Q3260996 Q81148 Q7350086 Q6273011 Q6290028 Q328197 Q23 Q3484281
AND((c(Q502895),P607,Q154697), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q154697
relation P607
action find_reverse
entity Q6581097
relation P21
type Q502895
French and Indian War fought in the [ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P607', 'Q154697'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P607 resource:Q154697 . ?i property:P21 resource:Q6581097 }
Sir William Johnson, 1st Baronet Robert Abercromby of Airthrey Abraham Whipple William Stark George Monro Simeon Thayer Henry Bouquet Samuel Miles Savage Mostyn Francis Marion Eyre Massey, 1st Baron Clarina Charles Lawrence Charles Michel de Langlade George Clinton Charles Deschamps de Boishébert et de Raffetot James Hackett Asa Pollard Samuel McDowell Douville Edward Braddock Ranald MacKinnon John Hart Louis Aleno de St Aloüarn John Parker Robert Stobo Jonathan Eddy Joshua Loring Thomas Sumter George Washington Simon Fraser
French and Indian War fought in the Jonathan Eddy, Simeon Thayer, Louis Aleno de St Aloüarn, Robert Abercromby of Airthrey, Charles Deschamps de Boishébert et de Raffetot, Samuel McDowell, Simon Fraser, Eyre Massey, 1st Baron Clarina, Charles Lawrence and John Parker
Jonathan Eddy Simeon Thayer Louis Aleno de St Aloüarn Robert Abercromby of Airthrey Charles Deschamps de Boishébert et de Raffetot Samuel McDowell Simon Fraser Eyre Massey, 1st Baron Clarina Charles Lawrence John Parker
action filter_type
action intersection
action find_reverse
entity French and Indian War
relation conflict
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'conflict', 'French and Indian War'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:conflict resource:French_and_Indian_War . ?i property:gender resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P915
Q15416
USER
Which television programs had Japan as their location of filming ?
(c(Q15416),P915,Q17)
action filter_type
action find_reverse
entity Q17
relation P915
type Q15416
[{'concept': 'Q15416'}, 'P915', 'Q17']
SELECT DISTINCT ?h WHERE { ?h property:P915 resource:Q17 . ?h rdf:type ontology:Q15416 }
Japan
action filter_type
action find_reverse
entity Japan
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'Japan']
SELECT DISTINCT ?h WHERE { ?h property:filming_location resource:Japan . ?h rdf:type ontology:television_program }
[]
television program
Q1778567 Q12124784 Q496296
SYSTEM
Shōgun, Hiroshima, Iris
Q1778567 Q12124784 Q496296
(c(Q15416),P915,Q17)
action filter_type
action find_reverse
entity Q17
relation P915
type Q15416
The [ANSWERS] had Japan as their location of filming
[{'concept': 'Q15416'}, 'P915', 'Q17']
SELECT DISTINCT ?h WHERE { ?h property:P915 resource:Q17 . ?h rdf:type ontology:Q15416 }
Shōgun Hiroshima Iris
The Shōgun, Hiroshima and Iris had Japan as their location of filming
Shōgun Hiroshima Iris
action filter_type
action find_reverse
entity Japan
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'Japan']
SELECT DISTINCT ?h WHERE { ?h property:filming_location resource:Japan . ?h rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17
P206
Q15324
USER
Which body of water is situated nearby that administrative territory ?
(Q1778567,P206,c(Q15324)) (Q12124784,P206,c(Q15324)) (Q496296,P206,c(Q15324))
action filter_type
action find
entity Q17
relation P206
type Q15324
['Q1778567', 'P206', {'concept': 'Q15324'}] ['Q12124784', 'P206', {'concept': 'Q15324'}] ['Q496296', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?e WHERE { resource:Q17 property:P206 ?e . ?e rdf:type ontology:Q15324 }
Japan
action filter_type
action find
entity Japan
relation located next to body of water
type body of water
['Shōgun', 'located next to body of water', {'concept': 'body of water'}] ['Hiroshima', 'located next to body of water', {'concept': 'body of water'}] ['Iris', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?e WHERE { resource:Japan property:located_next_to_body_of_water ?e . ?e rdf:type ontology:body_of_water }
[]
body of water
Q27092
SYSTEM
Sea of Japan
Q27092
(Q1778567,P206,c(Q15324)) (Q12124784,P206,c(Q15324)) (Q496296,P206,c(Q15324))
action filter_type
action find
entity Q17
relation P206
type Q15324
Of [ANSWER] is situated nearby that administrative territory
['Q1778567', 'P206', {'concept': 'Q15324'}] ['Q12124784', 'P206', {'concept': 'Q15324'}] ['Q496296', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?e WHERE { resource:Q17 property:P206 ?e . ?e rdf:type ontology:Q15324 }
Sea of Japan
Of Sea of Japan is situated nearby that administrative territory
Sea of Japan
action filter_type
action find
entity Japan
relation located next to body of water
type body of water
['Shōgun', 'located next to body of water', {'concept': 'body of water'}] ['Hiroshima', 'located next to body of water', {'concept': 'body of water'}] ['Iris', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?e WHERE { resource:Japan property:located_next_to_body_of_water ?e . ?e rdf:type ontology:body_of_water }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q7082047 Q17
P206
Q15324
USER
And also Okinoshima
AND((Q17,P206,c(Q15324)), (Q7082047,P206,c(Q15324)))
action filter_type
action intersection
action find
entity Q17
relation P206
action find
entity Q7082047
relation P206
type Q15324
{'AND': [['Q17', 'P206', {'concept': 'Q15324'}], ['Q7082047', 'P206', {'concept': 'Q15324'}]]}
SELECT DISTINCT ?a WHERE { resource:Q7082047 property:P206 ?a . resource:Q17 property:P206 ?a . ?a rdf:type ontology:Q15324 }
Okinoshima Japan
action filter_type
action intersection
action find
entity Japan
relation located next to body of water
action find
entity Okinoshima
relation located next to body of water
type body of water
{'AND': [['Japan', 'located next to body of water', {'concept': 'body of water'}], ['Okinoshima', 'located next to body of water', {'concept': 'body of water'}]]}
SELECT DISTINCT ?a WHERE { resource:Okinoshima property:located_next_to_body_of_water ?a . resource:Japan property:located_next_to_body_of_water ?a . ?a rdf:type ontology:body_of_water }
[]
body of water
Q27092
SYSTEM
Sea of Japan
Q27092
AND((Q17,P206,c(Q15324)), (Q7082047,P206,c(Q15324)))
action filter_type
action intersection
action find
entity Q17
relation P206
action find
entity Q7082047
relation P206
type Q15324
[ANSWER]
{'AND': [['Q17', 'P206', {'concept': 'Q15324'}], ['Q7082047', 'P206', {'concept': 'Q15324'}]]}
SELECT DISTINCT ?a WHERE { resource:Q7082047 property:P206 ?a . resource:Q17 property:P206 ?a . ?a rdf:type ontology:Q15324 }
Sea of Japan
Sea of Japan
action filter_type
action intersection
action find
entity Japan
relation located next to body of water
action find
entity Okinoshima
relation located next to body of water
type body of water
{'AND': [['Japan', 'located next to body of water', {'concept': 'body of water'}], ['Okinoshima', 'located next to body of water', {'concept': 'body of water'}]]}
SELECT DISTINCT ?a WHERE { resource:Okinoshima property:located_next_to_body_of_water ?a . resource:Japan property:located_next_to_body_of_water ?a . ?a rdf:type ontology:body_of_water }
[]