Simple Question (Direct)
Simple Question
Q702216
P410
Q56019
USER
Which is the military rank held by Mineichi Koga ?
(Q702216,P410,c(Q56019))
action filter_type
action find
entity Q702216
relation P410
type Q56019
['Q702216', 'P410', {'concept': 'Q56019'}]
SELECT DISTINCT ?m WHERE { resource:Q702216 property:P410 ?m . ?m rdf:type ontology:Q56019 }
Mineichi Koga
action filter_type
action find
entity Mineichi Koga
relation military rank
type military rank
['Mineichi Koga', 'military rank', {'concept': 'military rank'}]
SELECT DISTINCT ?m WHERE { resource:Mineichi_Koga property:military_rank ?m . ?m rdf:type ontology:military_rank }
[]
military rank
Q132851
SYSTEM
admiral
Q132851
(Q702216,P410,c(Q56019))
action filter_type
action find
entity Q702216
relation P410
type Q56019
[ANSWER] is the military rank held by Mineichi Koga
['Q702216', 'P410', {'concept': 'Q56019'}]
SELECT DISTINCT ?m WHERE { resource:Q702216 property:P410 ?m . ?m rdf:type ontology:Q56019 }
admiral
Admiral is the military rank held by Mineichi Koga
admiral
action filter_type
action find
entity Mineichi Koga
relation military rank
type military rank
['Mineichi Koga', 'military rank', {'concept': 'military rank'}]
SELECT DISTINCT ?m WHERE { resource:Mineichi_Koga property:military_rank ?m . ?m rdf:type ontology:military_rank }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q702216
P69
Q1935049
USER
Which military schools are the alma mater of Mineichi Koga ?
(Q702216,P69,c(Q1935049))
action filter_type
action find
entity Q702216
relation P69
type Q1935049
['Q702216', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?p WHERE { resource:Q702216 property:P69 ?p . ?p rdf:type ontology:Q1935049 }
Mineichi Koga
action filter_type
action find
entity Mineichi Koga
relation educated at
type military school
['Mineichi Koga', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?p WHERE { resource:Mineichi_Koga property:educated_at ?p . ?p rdf:type ontology:military_school }
[]
military school
Q2238519 Q1808259
SYSTEM
Imperial Japanese Naval Academy, Naval War College
Q2238519 Q1808259
(Q702216,P69,c(Q1935049))
action filter_type
action find
entity Q702216
relation P69
type Q1935049
[ANSWERS] are the alma mater of Mineichi Koga
['Q702216', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?p WHERE { resource:Q702216 property:P69 ?p . ?p rdf:type ontology:Q1935049 }
Imperial Japanese Naval Academy Naval War College
Imperial Japanese Naval Academy and Naval War College are the alma mater of Mineichi Koga
Imperial Japanese Naval Academy Naval War College
action filter_type
action find
entity Mineichi Koga
relation educated at
type military school
['Mineichi Koga', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?p WHERE { resource:Mineichi_Koga property:educated_at ?p . ?p rdf:type ontology:military_school }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2899695
Q1935049
USER
And also tell me about Gadi Shamni?
(Q2899695,P69,c(Q1935049))
action filter_type
action find
entity Q2899695
relation P69
type Q1935049
['Q2899695', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?m WHERE { resource:Q2899695 property:P69 ?m . ?m rdf:type ontology:Q1935049 }
Gadi Shamni
action filter_type
action find
entity Gadi Shamni
relation educated at
type military school
['Gadi Shamni', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?m WHERE { resource:Gadi_Shamni property:educated_at ?m . ?m rdf:type ontology:military_school }
[]
military school
Q635078
SYSTEM
United States Army War College
Q635078
(Q2899695,P69,c(Q1935049))
action filter_type
action find
entity Q2899695
relation P69
type Q1935049
[ANSWER]
['Q2899695', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?m WHERE { resource:Q2899695 property:P69 ?m . ?m rdf:type ontology:Q1935049 }
United States Army War College
United States Army War College
action filter_type
action find
entity Gadi Shamni
relation educated at
type military school
['Gadi Shamni', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?m WHERE { resource:Gadi_Shamni property:educated_at ?m . ?m rdf:type ontology:military_school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2899695
P21
Q290
USER
Which sex does that person have ?
(Q635078,P21,c(Q290))
action filter_type
action find
entity Q2899695
relation P21
type Q290
['Q635078', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q2899695 property:P21 ?c }
Gadi Shamni
action filter_type
action find
entity Gadi Shamni
relation gender
type sex
['United States Army War College', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Gadi_Shamni property:gender ?c }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q635078,P21,c(Q290))
action filter_type
action find
entity Q2899695
relation P21
type Q290
That person has a [ANSWER]
['Q635078', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q2899695 property:P21 ?c }
male
That person has a male
male
action filter_type
action find
entity Gadi Shamni
relation gender
type sex
['United States Army War College', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Gadi_Shamni property:gender ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2899695
P607
Q350604
USER
What battle were that person a part of ?
(Q6581097,P607,c(Q350604))
action filter_type
action find
entity Q2899695
relation P607
type Q350604
['Q6581097', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?g WHERE { resource:Q2899695 property:P607 ?g . ?g rdf:type ontology:Q350604 }
Gadi Shamni
action filter_type
action find
entity Gadi Shamni
relation conflict
type armed conflict
['male', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?g WHERE { resource:Gadi_Shamni property:conflict ?g . ?g rdf:type ontology:armed_conflict }
[]
armed conflict
Q49103 Q49104
SYSTEM
Lebanon War, 2006 Lebanon War
Q49103 Q49104
(Q6581097,P607,c(Q350604))
action filter_type
action find
entity Q2899695
relation P607
type Q350604
[ANSWERS] were that person a part of
['Q6581097', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?g WHERE { resource:Q2899695 property:P607 ?g . ?g rdf:type ontology:Q350604 }
Lebanon War 2006 Lebanon War
Lebanon War and 2006 Lebanon War were that person a part of
Lebanon War 2006 Lebanon War
action filter_type
action find
entity Gadi Shamni
relation conflict
type armed conflict
['male', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?g WHERE { resource:Gadi_Shamni property:conflict ?g . ?g rdf:type ontology:armed_conflict }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q49447 Q198 Q350604
USER
Which armed conflicts are a portion of min number of world views or wars ?
(c(Q350604),P361,c(Q49447)|c(Q198))
action argmin
action union
action find_tuple_counts
relation P361
type Q350604
type Q49447
action find_tuple_counts
relation P361
type Q350604
type Q198
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q49447'}, {'concept': 'Q198'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?t ) { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?i ) WHERE { { ?f property:P361 ?g . ?f rdf:type ontology:Q350604 . ?g rdf:type ontology:Q49447 } UNION { ?f property:P361 ?g . ?f rdf:type ontology:Q350604 . ?g rdf:type ontology:Q198 } } GROUP BY ?f } } . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?e ) WHERE { { ?a property:P361 ?x . ?a rdf:type ontology:Q350604 . ?x rdf:type ontology:Q49447 } UNION { ?a rdf:type ontology:Q350604 . ?x rdf:type ontology:Q198 . ?a property:P361 ?x } } GROUP BY ?a } . FILTER ( ?e = ?t ) }
action argmin
action union
action find_tuple_counts
relation part of
type armed conflict
type world view
action find_tuple_counts
relation part of
type armed conflict
type war
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'world view'}, {'concept': 'war'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?t ) { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?i ) WHERE { { ?f property:part_of ?g . ?f rdf:type ontology:armed_conflict . ?g rdf:type ontology:world_view } UNION { ?f property:part_of ?g . ?f rdf:type ontology:armed_conflict . ?g rdf:type ontology:war } } GROUP BY ?f } } . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?e ) WHERE { { ?a property:part_of ?x . ?a rdf:type ontology:armed_conflict . ?x rdf:type ontology:world_view } UNION { ?a rdf:type ontology:armed_conflict . ?x rdf:type ontology:war . ?a property:part_of ?x } } GROUP BY ?a } . FILTER ( ?e = ?t ) }
[]
world view war armed conflict
Q154697 Q19686631 Q168442
SYSTEM
French and Indian War, Yemeni Civil War, Anglo-Spanish War (1625–1630)
Q5168559 Q1044829 Q1305130 Q196409 Q3778613 Q3778618 Q699511 Q6334 Q2373506 Q1968528 Q2259304 Q49077 Q18920712 Q976827 Q63863 Q4200795 Q620735 Q7572892 Q75665 Q2652686 Q58947 Q49097 Q260684 Q989092 Q617350 Q4065191 Q249232 Q1186260 Q552373 Q252298 Q317519 Q550172 Q21693680 Q4072719 Q1418062 Q233642 Q2576016 Q233663 Q2667645 Q553184 Q617070 Q2602070 Q6192082 Q199955 Q3540197 Q170314 Q616846 Q631163 Q1672808 Q8064768 Q690361 Q6286 Q1362162 Q178687 Q1355145 Q2471586 Q12583 Q17324420 Q16933898 Q3042463 Q3984895 Q11942758 Q1249270 Q17126147 Q559181 Q404517 Q19686631 Q617782 Q6271 Q418151 Q4122579 Q179250 Q1429256 Q233702 Q631799 Q2487361 Q3242848 Q598774 Q1967193 Q76118 Q75626 Q16335075 Q34103 Q5555632 Q2523742 Q7210108 Q80330 Q372330 Q1249250 Q372338 Q83085 Q154697 Q5452958 Q400465 Q2985977 Q233553 Q8628 Q1074467 Q431001 Q34145 Q182865 Q207318 Q120843 Q6254 Q12846172 Q644589 Q4207617 Q6744162 Q168442 Q2075775 Q329203 Q177918 Q29269 Q26749 Q288251 Q1669192 Q524272 Q553157 Q936803 Q1262084 Q1757301 Q15542964 Q151622
(c(Q350604),P361,c(Q49447)|c(Q198))
action argmin
action union
action find_tuple_counts
relation P361
type Q350604
type Q49447
action find_tuple_counts
relation P361
type Q350604
type Q198
[ANSWERS] are a portion of min number of world views or wars
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q49447'}, {'concept': 'Q198'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?t ) { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?i ) WHERE { { ?f property:P361 ?g . ?f rdf:type ontology:Q350604 . ?g rdf:type ontology:Q49447 } UNION { ?f property:P361 ?g . ?f rdf:type ontology:Q350604 . ?g rdf:type ontology:Q198 } } GROUP BY ?f } } . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?e ) WHERE { { ?a property:P361 ?x . ?a rdf:type ontology:Q350604 . ?x rdf:type ontology:Q49447 } UNION { ?a rdf:type ontology:Q350604 . ?x rdf:type ontology:Q198 . ?a property:P361 ?x } } GROUP BY ?a } . FILTER ( ?e = ?t ) }
Cophen Campaign Polish–Muscovite War War of Saint Sabas Livonian Crusade Caroline War Lancastrian War Campaigns of 1796 in the French Revolutionary Wars Third Punic War Polish–Swedish War (1617-18) Operation Black Buck Hundred Years' War Six-Day War War in Afghanistan Carnatic Wars Operation Focus Indian campaign of Alexander the Great Russo-Georgian War Spain in the American Revolutionary War Second Macedonian War Kachin conflict War of the Triple Alliance 1948 Palestine war Alexander's Balkan campaign First Anglo-Afghan War Third Anglo-Mysore War Anglo-Spanish War (1796–1808) War of the Third Coalition Creek War Fourth Macedonian War Hungarian–Romanian war of 1919 Muslim conquest of Egypt War of the Breton Succession conflict between Unitarians and Federalists in the Argentine Civil Wars Afghanistan–Pakistan skirmishes Fourth Syrian War (219–217 BCE) Second Anglo-Maratha War Anastasian War Second Anglo-Mysore War Mongol invasion of Poland Gaza–Israel conflict First Anglo-Mysore War Colorado War Jicarilla War Hundred Days Third English Civil War Second Sino-Japanese War Anglo-Spanish War (1762–1763) Deluge Irish Confederate Wars Zaian War Long War First Punic War First Carnatic War First Sino-Japanese War Italian War of 1494–1498 Pomeranian War Spanish–American War 2014 Israel–Gaza conflict Normandy campaigns of 1200–1204 Uruguayan War Third Messenian War Ethiopian-Somali border conflict Third Sacred War Arab–Israeli wars First Silesian War Kargil War Yemeni Civil War Fourth Anglo-Mysore War Second Punic War Second Opium War Arikara War French invasion of Russia War of the League of Cognac Second Silesian War Russo-Turkish War Frans van Brederode's rebellion of 1488–1490 First War of Scottish Independence Polish–Swedish War (1600–11) Second conflict in the Goryeo–Khitan War Third Macedonian War First Macedonian War War in Donbass Second Syrian War (260–253 BCE) First Messenian War Fourth French War of Religion Polish–Swedish War (1621–25) English Civil War Fifth Syrian War (202–195 BCE) First Sacred War Sixth Syrian War (170–168 BCE) Soviet–Afghan War French and Indian War First English Civil War, 1642 Little War Polish–Swedish War (1626–29) Second Sacred War War in the Vendée War of Chioggia Spanish–Portuguese War Third Syrian War (246–241 BCE) War in Afghanistan French Revolutionary Wars Second Chechen War Kitos War Safavid-Ottoman War (1616-1618) Toyota War Balkan campaign of 1529 Mallian Campaign Anglo-Spanish War (1625–1630) Second Messenian War First Boer War First Balkan War First Chechen War War of the Second Coalition Cisplatine War Fourth Sacred War South-East Asian theatre of World War II Romania during World War I First Syrian War (274–271 BCE) Djiboutian Civil War submarine warfare Italian War of 1542–46 Israeli–Palestinian conflict
French and Indian War, Yemeni Civil War and Anglo-Spanish War (1625–1630) are a portion of min number of world views or wars
French and Indian War Yemeni Civil War Anglo-Spanish War (1625–1630)
action argmin
action union
action find_tuple_counts
relation part of
type armed conflict
type world view
action find_tuple_counts
relation part of
type armed conflict
type war
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'world view'}, {'concept': 'war'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?t ) { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?i ) WHERE { { ?f property:part_of ?g . ?f rdf:type ontology:armed_conflict . ?g rdf:type ontology:world_view } UNION { ?f property:part_of ?g . ?f rdf:type ontology:armed_conflict . ?g rdf:type ontology:war } } GROUP BY ?f } } . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?e ) WHERE { { ?a property:part_of ?x . ?a rdf:type ontology:armed_conflict . ?x rdf:type ontology:world_view } UNION { ?a rdf:type ontology:armed_conflict . ?x rdf:type ontology:war . ?a property:part_of ?x } } GROUP BY ?a } . FILTER ( ?e = ?t ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q494205 Q702216
P27 P17
Q15617994
USER
Which administrative territories do Mineichi Koga belong to and do AH1 belong to ?
AND((Q702216,P27,c(Q15617994)), (Q494205,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q702216
relation P27
action find
entity Q494205
relation P17
type Q15617994
{'AND': [['Q702216', 'P27', {'concept': 'Q15617994'}], ['Q494205', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { resource:Q702216 property:P27 ?m . resource:Q494205 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
AH1 Mineichi Koga
action filter_type
action intersection
action find
entity Mineichi Koga
relation country of citizenship
action find
entity AH1
relation country
type designation for an administrative territorial entity
{'AND': [['Mineichi Koga', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['AH1', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { resource:Mineichi_Koga property:country_of_citizenship ?m . resource:AH1 property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
AND((Q702216,P27,c(Q15617994)), (Q494205,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q702216
relation P27
action find
entity Q494205
relation P17
type Q15617994
Mineichi Koga belong to the [ANSWER]
{'AND': [['Q702216', 'P27', {'concept': 'Q15617994'}], ['Q494205', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { resource:Q702216 property:P27 ?m . resource:Q494205 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Japan
Mineichi Koga belong to the Japan
Japan
action filter_type
action intersection
action find
entity Mineichi Koga
relation country of citizenship
action find
entity AH1
relation country
type designation for an administrative territorial entity
{'AND': [['Mineichi Koga', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['AH1', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { resource:Mineichi_Koga property:country_of_citizenship ?m . resource:AH1 property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q16
P530
Q15617994 Q1048835
USER
How many political territories have tactful political relations with lesser number of administrative territories than Canada ?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?n ) WHERE { ?u property:P530 ?a . ?u rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q16 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?n < ?j ) }
Canada
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?n ) WHERE { ?u property:diplomatic_relation ?a . ?u rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Canada property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n < ?j ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
10
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?n ) WHERE { ?u property:P530 ?a . ?u rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q16 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?n < ?j ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
10
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?n ) WHERE { ?u property:diplomatic_relation ?a . ?u rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Canada property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n < ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q408
P530
Q15617994 Q1048835
USER
And also tell me about Australia?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q408
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { resource:Q408 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?g < ?z ) . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?g ) WHERE { ?q property:P530 ?o . ?q rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?q } }
Australia
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { resource:Australia property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g < ?z ) . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?g ) WHERE { ?q property:diplomatic_relation ?o . ?q rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q408
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { resource:Q408 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?g < ?z ) . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?g ) WHERE { ?q property:P530 ?o . ?q rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?q } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { resource:Australia property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g < ?z ) . { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?g ) WHERE { ?q property:diplomatic_relation ?o . ?q rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } }
[]