Simple Question (Direct)
Simple Question
Q3433049
P106
Q12737077
USER
What does Colin Burns do for a living ?
(Q3433049,P106,c(Q12737077))
action filter_type
action find
entity Q3433049
relation P106
type Q12737077
['Q3433049', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3433049 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Colin Burns
action filter_type
action find
entity Colin Burns
relation occupation
type occupation
['Colin Burns', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Colin_Burns property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3433049,P106,c(Q12737077))
action filter_type
action find
entity Q3433049
relation P106
type Q12737077
Colin Burns does an [ANSWER] for a living
['Q3433049', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3433049 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
association football player
Colin Burns does an association football player for a living
association football player
action filter_type
action find
entity Colin Burns
relation occupation
type occupation
['Colin Burns', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Colin_Burns property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3433049
P27
Q15617994
USER
Which administrative territory is the native country of Colin Burns ?
(Q3433049,P27,c(Q15617994))
action filter_type
action find
entity Q3433049
relation P27
type Q15617994
['Q3433049', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q3433049 property:P27 ?z }
Colin Burns
action filter_type
action find
entity Colin Burns
relation country of citizenship
type designation for an administrative territorial entity
['Colin Burns', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Colin_Burns property:country_of_citizenship ?z }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3433049,P27,c(Q15617994))
action filter_type
action find
entity Q3433049
relation P27
type Q15617994
The [ANSWER] is the native country of Colin Burns
['Q3433049', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q3433049 property:P27 ?z }
United States of America
The United States of America is the native country of Colin Burns
United States of America
action filter_type
action find
entity Colin Burns
relation country of citizenship
type designation for an administrative territorial entity
['Colin Burns', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Colin_Burns property:country_of_citizenship ?z }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q30 Q16 Q5808908
P530
Q1048835
USER
Does that administrative territory have tactful political relations with Canada and 26 de Octubre ?
(Q30,P530,Q16) (Q30,P530,Q5808908)
action is_in
entity Q30
action intersection
action find_reverse
entity Q16
relation P530
action find_reverse
entity Q5808908
relation P530
['Q30', 'P530', 'Q16'] ['Q30', 'P530', 'Q5808908']
ASK WHERE { resource:Q30 property:P530 resource:Q5808908 . resource:Q30 property:P530 resource:Q16 }
United States of America Canada 26 de Octubre
action is_in
entity United States of America
action intersection
action find_reverse
entity Canada
relation diplomatic relation
action find_reverse
entity 26 de Octubre
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Canada'] ['United States of America', 'diplomatic relation', '26 de Octubre']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:26_de_Octubre . resource:United_States_of_America property:diplomatic_relation resource:Canada }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q30,P530,Q16) (Q30,P530,Q5808908)
action is_in
entity Q30
action intersection
action find_reverse
entity Q16
relation P530
action find_reverse
entity Q5808908
relation P530
[ANSWER]
['Q30', 'P530', 'Q16'] ['Q30', 'P530', 'Q5808908']
ASK WHERE { resource:Q30 property:P530 resource:Q5808908 . resource:Q30 property:P530 resource:Q16 }
YES and NO respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Canada
relation diplomatic relation
action find_reverse
entity 26 de Octubre
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Canada'] ['United States of America', 'diplomatic relation', '26 de Octubre']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:26_de_Octubre . resource:United_States_of_America property:diplomatic_relation resource:Canada }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q657
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with around the same number of administrative territories as Chad ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q657
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { FILTER ( ?h = ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Q657 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?v } }
Chad
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Chad
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { FILTER ( ?h = ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Chad property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
152
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q657
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { FILTER ( ?h = ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Q657 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?v } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
152
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Chad
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { FILTER ( ?h = ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Chad property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q145
P530
Q15617994 Q15617994
USER
And also tell me about United Kingdom?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q145
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?n ) WHERE { ?k property:P530 ?z . ?k rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q145 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?n = ?h ) }
United Kingdom
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?n ) WHERE { ?k property:diplomatic_relation ?z . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:United_Kingdom property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n = ?h ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
38
Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q43 Q41 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q34 Q423 Q27 Q843 Q227 Q222 Q347 Q17 Q1033 Q213 Q916 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q145
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?n ) WHERE { ?k property:P530 ?z . ?k rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q145 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?n = ?h ) }
Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Turkey Greece Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium Sweden North Korea Ireland Pakistan Azerbaijan Albania Liechtenstein Japan Nigeria Czech Republic Angola Egypt Libya Cape Verde Zambia
38
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?n ) WHERE { ?k property:diplomatic_relation ?z . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:United_Kingdom property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n = ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P1001
Q1292279
USER
Which political borders preside the jurisdiction over United States of America ?
(c(Q1292279),P1001,Q30)
action filter_type
action find_reverse
entity Q30
relation P1001
type Q1292279
[{'concept': 'Q1292279'}, 'P1001', 'Q30']
SELECT DISTINCT ?u WHERE { ?u property:P1001 resource:Q30 . ?u rdf:type ontology:Q1292279 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'United States of America']
SELECT DISTINCT ?u WHERE { ?u property:applies_to_jurisdiction resource:United_States_of_America . ?u rdf:type ontology:political_border }
[]
political border
Q17351798 Q3081870 Q17351808
SYSTEM
Kiribati–United States border, Russia–United States border, Marshall Islands–United States border
Q3081870 Q17351808 Q119515 Q17351747 Q17351812 Q17351714 Q17351837 Q17351768 Q17351794 Q1057263 Q17351831 Q17351798 Q17351739 Q17351841 Q17351840
(c(Q1292279),P1001,Q30)
action filter_type
action find_reverse
entity Q30
relation P1001
type Q1292279
[ANSWERS] preside the jurisdiction over United States of America
[{'concept': 'Q1292279'}, 'P1001', 'Q30']
SELECT DISTINCT ?u WHERE { ?u property:P1001 resource:Q30 . ?u rdf:type ontology:Q1292279 }
Russia–United States border Marshall Islands–United States border Canada–United States border Dominican Republic–United States border Micronesia–United States border Bahamas–United States border Tonga–United States border Haiti–United States border Japan–United States border Mexico–United States border Samoa–United States border Kiribati–United States border Cuba–United States border United States–Venezuela border United Kingdom–United States border
Kiribati–United States border, Russia–United States border and Marshall Islands–United States border preside the jurisdiction over United States of America
Kiribati–United States border Russia–United States border Marshall Islands–United States border
action filter_type
action find_reverse
entity United States of America
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'United States of America']
SELECT DISTINCT ?u WHERE { ?u property:applies_to_jurisdiction resource:United_States_of_America . ?u rdf:type ontology:political_border }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3081870
P17
Q15617994
USER
Which administrative territories do that political border belong to ?
(Q3081870,P17,c(Q15617994))
action filter_type
action find
entity Q3081870
relation P17
type Q15617994
['Q3081870', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3081870 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Russia–United States border
action filter_type
action find
entity Russia–United States border
relation country
type designation for an administrative territorial entity
['Russia–United States border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Russia–United_States_border property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q3081870
SYSTEM
Did you mean Russia–United States border ?
Q17351798 Q3081870 Q17351808
(Q17351798,P17,c(Q15617994)) (Q3081870,P17,c(Q15617994)) (Q17351808,P17,c(Q15617994))
[ANSWER]
['Q17351798', 'P17', {'concept': 'Q15617994'}] ['Q3081870', 'P17', {'concept': 'Q15617994'}] ['Q17351808', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3081870 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Kiribati–United States border Russia–United States border Marshall Islands–United States border
Did you mean Russia–United States border ?
Russia–United States border
['Kiribati–United States border', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Russia–United States border', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Marshall Islands–United States border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Russia–United_States_border property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3081870,P17,c(Q15617994))
['Q3081870', 'P17', {'concept': 'Q15617994'}]
['Russia–United States border', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q30 Q159
SYSTEM
United States of America, Russia
Q30 Q159
(Q3081870,P17,c(Q15617994))
action filter_type
action find
entity Q3081870
relation P17
type Q15617994
That political border belong to the [ANSWERS]
['Q3081870', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3081870 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
United States of America Russia
That political border belong to the United States of America and Russia
United States of America Russia
action filter_type
action find
entity Russia–United States border
relation country
type designation for an administrative territorial entity
['Russia–United States border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Russia–United_States_border property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic associations with approximately 75 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 75
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?u ) WHERE { ?h property:P530 ?z . ?h rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?u = 75 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 75
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?u ) WHERE { ?h property:diplomatic_relation ?z . ?h rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?u = 75 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q408 Q16
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 75
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?u ) WHERE { ?h property:P530 ?z . ?h rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?u = 75 ) }
Australia Canada
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 75
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?u ) WHERE { ?h property:diplomatic_relation ?z . ?h rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?u = 75 ) }
[]