Simple Question (Direct)
Simple Question
Q3378950
P39
Q12737077
USER
What was the position for which Philibert Simond was appointed ?
(Q3378950,P39,c(Q12737077))
action filter_type
action find
entity Q3378950
relation P39
type Q12737077
['Q3378950', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q3378950 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
Philibert Simond
action filter_type
action find
entity Philibert Simond
relation position held
type occupation
['Philibert Simond', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Philibert_Simond property:position_held ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q3378950,P39,c(Q12737077))
action filter_type
action find
entity Q3378950
relation P39
type Q12737077
Member of the French National Assembly
['Q3378950', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q3378950 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
member of the French National Assembly
Member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Philibert Simond
relation position held
type occupation
['Philibert Simond', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Philibert_Simond property:position_held ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3044918
P17
Q15617994
USER
Which administrative territory is that occupation situated in ?
(Q3044918,P17,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P17
type Q15617994
['Q3044918', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q3044918 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
member of the French National Assembly
action filter_type
action find
entity member of the French National Assembly
relation country
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:member_of_the_French National_Assembly property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3044918,P17,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P17
type Q15617994
That occupation is situated in [ANSWER]
['Q3044918', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q3044918 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
France
That occupation is situated in France
France
action filter_type
action find
entity member of the French National Assembly
relation country
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:member_of_the_French National_Assembly property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q142 Q399
P530
Q15617994
USER
Does Armenia have diplomatic relationships with that one ?
(Q142,P530,Q399)
action is_in
entity Q399
action find
entity Q142
relation P530
['Q142', 'P530', 'Q399']
ASK WHERE { resource:Q142 property:P530 resource:Q399 }
France Armenia
action is_in
entity Armenia
action find
entity France
relation diplomatic relation
['France', 'diplomatic relation', 'Armenia']
ASK WHERE { resource:France property:diplomatic_relation resource:Armenia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q142,P530,Q399)
action is_in
entity Q399
action find
entity Q142
relation P530
[ANSWER]
['Q142', 'P530', 'Q399']
ASK WHERE { resource:Q142 property:P530 resource:Q399 }
Yes
action is_in
entity Armenia
action find
entity France
relation diplomatic relation
['France', 'diplomatic relation', 'Armenia']
ASK WHERE { resource:France property:diplomatic_relation resource:Armenia }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3044918 Q50784
P1001
Q15617994
USER
Does Zajtsevo come under the jurisdiction of member of the French National Assembly ?
(Q3044918,P1001,Q50784)
action is_in
entity Q50784
action find
entity Q3044918
relation P1001
['Q3044918', 'P1001', 'Q50784']
ASK WHERE { resource:Q3044918 property:P1001 resource:Q50784 }
member of the French National Assembly Zajtsevo
action is_in
entity Zajtsevo
action find
entity member of the French National Assembly
relation applies to jurisdiction
['member of the French\xa0National Assembly', 'applies to jurisdiction', 'Zajtsevo']
ASK WHERE { resource:member_of_the_French National_Assembly property:applies_to_jurisdiction resource:Zajtsevo }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3044918,P1001,Q50784)
action is_in
entity Q50784
action find
entity Q3044918
relation P1001
[ANSWER]
['Q3044918', 'P1001', 'Q50784']
ASK WHERE { resource:Q3044918 property:P1001 resource:Q50784 }
No
action is_in
entity Zajtsevo
action find
entity member of the French National Assembly
relation applies to jurisdiction
['member of the French\xa0National Assembly', 'applies to jurisdiction', 'Zajtsevo']
ASK WHERE { resource:member_of_the_French National_Assembly property:applies_to_jurisdiction resource:Zajtsevo }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3378950 Q90 Q170263
P20
Q56061
USER
Did Philibert Simond expire at Paris and Chester ?
(Q3378950,P20,Q90) (Q3378950,P20,Q170263)
action is_in
entity Q3378950
action intersection
action find_reverse
entity Q90
relation P20
action find_reverse
entity Q170263
relation P20
['Q3378950', 'P20', 'Q90'] ['Q3378950', 'P20', 'Q170263']
ASK WHERE { resource:Q3378950 property:P20 resource:Q90 . resource:Q3378950 property:P20 resource:Q170263 }
Philibert Simond Paris Chester
action is_in
entity Philibert Simond
action intersection
action find_reverse
entity Paris
relation place of death
action find_reverse
entity Chester
relation place of death
['Philibert Simond', 'place of death', 'Paris'] ['Philibert Simond', 'place of death', 'Chester']
ASK WHERE { resource:Philibert_Simond property:place_of_death resource:Paris . resource:Philibert_Simond property:place_of_death resource:Chester }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q3378950,P20,Q90) (Q3378950,P20,Q170263)
action is_in
entity Q3378950
action intersection
action find_reverse
entity Q90
relation P20
action find_reverse
entity Q170263
relation P20
[ANSWER]
['Q3378950', 'P20', 'Q90'] ['Q3378950', 'P20', 'Q170263']
ASK WHERE { resource:Q3378950 property:P20 resource:Q90 . resource:Q3378950 property:P20 resource:Q170263 }
YES and NO respectively
action is_in
entity Philibert Simond
action intersection
action find_reverse
entity Paris
relation place of death
action find_reverse
entity Chester
relation place of death
['Philibert Simond', 'place of death', 'Paris'] ['Philibert Simond', 'place of death', 'Chester']
ASK WHERE { resource:Philibert_Simond property:place_of_death resource:Paris . resource:Philibert_Simond property:place_of_death resource:Chester }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q11204 Q1292279
USER
Which administrative territories apply to jurisdiction of atmost 18 legislatures or political borders ?
(c(Q11204)|c(Q1292279),P1001,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
value 18
[[{'concept': 'Q11204'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?k ) WHERE { { ?w property:P1001 ?m . ?m rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q11204 } UNION { ?w property:P1001 ?m . ?m rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1292279 } } GROUP BY ?m } . FILTER ( ?k <= 18 ) }
action atmost
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
value 18
[[{'concept': 'legislature'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?k ) WHERE { { ?w property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:legislature } UNION { ?w property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:political_border } } GROUP BY ?m } . FILTER ( ?k <= 18 ) }
[]
designation for an administrative territorial entity legislature political border
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q668 Q163012 Q414 Q22273061 Q55 Q2871 Q145 Q262 Q148 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q403 Q657 Q258 Q6465 Q1979 Q45 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q218 Q33 Q921 Q4712 Q30 Q924 Q36 Q34 Q928 Q155019 Q39 Q38 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q233 Q1093 Q238 Q119284 Q20 Q1045 Q3403547 Q1042 Q1041 Q27 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q786 Q1904 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q29 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q11204)|c(Q1292279),P1001,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
value 18
[ANSWERS] apply to jurisdiction of atmost 18 legislatures or political borders
[[{'concept': 'Q11204'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?k ) WHERE { { ?w property:P1001 ?m . ?m rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q11204 } UNION { ?w property:P1001 ?m . ?m rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1292279 } } GROUP BY ?m } . FILTER ( ?k <= 18 ) }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru India Pankow Argentina Duchy of Nemours Netherlands Hagen United Kingdom Algeria People's Republic of China Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Serbia Chad South Africa department of France Prince Edward Island Portugal Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Romania Finland Brunei Duchy of Burgundy United States of America Tanzania Poland Sweden Philippines Duchy of Lorraine Switzerland Italy Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Malta Limburg San Marino Marzahn-Hellersdorf Norway Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Ireland Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Ontario Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Duchy of Elbeuf Herdecke Latvia Gevelsberg Republic of Moldova Slovakia Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia Spain East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Central African Republic Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
Italy, Brazil and United States of America apply to jurisdiction of atmost 18 legislatures or political borders
Italy Brazil United States of America
action atmost
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
value 18
[[{'concept': 'legislature'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?k ) WHERE { { ?w property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:legislature } UNION { ?w property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:political_border } } GROUP BY ?m } . FILTER ( ?k <= 18 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q16
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic associations 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 ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?b ) WHERE { ?h property:P530 ?n . ?h rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Q16 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?b < ?k ) }
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 ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?b ) WHERE { ?h property:diplomatic_relation ?n . ?h rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Canada property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b < ?k ) }
[]
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 ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?b ) WHERE { ?h property:P530 ?n . ?h rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Q16 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?b < ?k ) }
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 ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?b ) WHERE { ?h property:diplomatic_relation ?n . ?h rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Canada property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b < ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q664
P530
Q15617994 Q1048835
USER
And also tell me about New Zealand?
(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 Q664
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { FILTER ( ?n < ?s ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Q664 property:P530 ?f . ?f rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?n ) WHERE { ?h property:P530 ?t . ?h rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 } GROUP BY ?h } }
New Zealand
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 New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { FILTER ( ?n < ?s ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:New_Zealand property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?n ) WHERE { ?h property:diplomatic_relation ?t . ?h rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
7
Q1000 Q781 Q778 Q769 Q685 Q691 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 Q664
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { FILTER ( ?n < ?s ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Q664 property:P530 ?f . ?f rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?n ) WHERE { ?h property:P530 ?t . ?h rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 } GROUP BY ?h } }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea Jamaica
7
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 New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { FILTER ( ?n < ?s ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:New_Zealand property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?n ) WHERE { ?h property:diplomatic_relation ?t . ?h rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } }
[]