Simple Question (Direct)
Simple Question
Q2020319
P19
Q15617994
USER
Which administrative territory was Oliver Hüsing born at ?
(Q2020319,P19,c(Q15617994))
action filter_type
action find
entity Q2020319
relation P19
type Q15617994
['Q2020319', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q2020319 property:P19 ?y . ?y rdf:type ontology:Q15617994 }
Oliver Hüsing
action filter_type
action find
entity Oliver Hüsing
relation place of birth
type designation for an administrative territorial entity
['Oliver Hüsing', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Oliver_Hüsing property:place_of_birth ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q712104
SYSTEM
Bühren
Q712104
(Q2020319,P19,c(Q15617994))
action filter_type
action find
entity Q2020319
relation P19
type Q15617994
Oliver Hüsing was born in [ANSWER]
['Q2020319', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q2020319 property:P19 ?y . ?y rdf:type ontology:Q15617994 }
Bühren
Oliver Hüsing was born in Bühren
Bühren
action filter_type
action find
entity Oliver Hüsing
relation place of birth
type designation for an administrative territorial entity
['Oliver Hüsing', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Oliver_Hüsing property:place_of_birth ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q1048835
USER
How many political territories are that administrative territory situated in ?
(Q712104,P17,c(Q1048835))
action count
action filter_type
action find
entity Q712104
relation P17
type Q1048835
['Q712104', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Q712104 property:P17 ?e . ?e rdf:type ontology:Q1048835 }
action count
action filter_type
action find
entity Bühren
relation country
type political territorial entity
['Bühren', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Bühren property:country ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q712104,P17,c(Q1048835))
action count
action filter_type
action find
entity Q712104
relation P17
type Q1048835
[ANSWER]
['Q712104', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Q712104 property:P17 ?e . ?e rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Bühren
relation country
type political territorial entity
['Bühren', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Bühren property:country ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q337143 Q2020319
P27
Q1048835
USER
Which political territories do Oliver Hüsing or Aca Lukas belong to ?
OR((Q2020319,P27,c(Q1048835)), (Q337143,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q2020319
relation P27
action find
entity Q337143
relation P27
type Q1048835
{'OR': [['Q2020319', 'P27', {'concept': 'Q1048835'}], ['Q337143', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1048835 . { { resource:Q2020319 property:P27 ?z } UNION { resource:Q337143 property:P27 ?z } } }
Aca Lukas Oliver Hüsing
action filter_type
action union
action find
entity Oliver Hüsing
relation country of citizenship
action find
entity Aca Lukas
relation country of citizenship
type political territorial entity
{'OR': [['Oliver Hüsing', 'country of citizenship', {'concept': 'political territorial entity'}], ['Aca Lukas', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:political_territorial_entity . { { resource:Oliver_Hüsing property:country_of_citizenship ?z } UNION { resource:Aca_Lukas property:country_of_citizenship ?z } } }
[]
political territorial entity
Q838261 Q183
SYSTEM
Federal Republic of Yugoslavia, Germany
Q838261 Q183
OR((Q2020319,P27,c(Q1048835)), (Q337143,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q2020319
relation P27
action find
entity Q337143
relation P27
type Q1048835
Oliver Hüsing or Aca Lukas belong to the [ANSWERS]
{'OR': [['Q2020319', 'P27', {'concept': 'Q1048835'}], ['Q337143', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1048835 . { { resource:Q2020319 property:P27 ?z } UNION { resource:Q337143 property:P27 ?z } } }
Federal Republic of Yugoslavia Germany
Oliver Hüsing or Aca Lukas belong to the Federal Republic of Yugoslavia and Germany
Federal Republic of Yugoslavia Germany
action filter_type
action union
action find
entity Oliver Hüsing
relation country of citizenship
action find
entity Aca Lukas
relation country of citizenship
type political territorial entity
{'OR': [['Oliver Hüsing', 'country of citizenship', {'concept': 'political territorial entity'}], ['Aca Lukas', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:political_territorial_entity . { { resource:Oliver_Hüsing property:country_of_citizenship ?z } UNION { resource:Aca_Lukas property:country_of_citizenship ?z } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with that political territory ?
(Q183,P530,c(Q15617994))
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q423030 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Germany property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q183
SYSTEM
Did you mean Germany ?
(Q838261,P530,c(Q15617994)) (Q183,P530,c(Q15617994))
[ANSWER]
['Q838261', 'P530', {'concept': 'Q15617994'}] ['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q423030 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Germany ?
Germany
['Federal Republic of Yugoslavia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Germany property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q183,P530,c(Q15617994))
['Q183', 'P530', {'concept': 'Q15617994'}]
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
124
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
(Q183,P530,c(Q15617994))
[ANSWER]
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q423030 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
124
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Germany property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P127
Q1048835 Q483110 Q41176
USER
Which political territories do min number of stadia and buildings belong to ?
(c(Q483110)|c(Q41176),P127,c(Q1048835))
action argmin
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q41176
[[{'concept': 'Q483110'}, {'concept': 'Q41176'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?g ) { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?k ) WHERE { ?d rdf:type ?c . VALUES ( ?c ) { ( ontology:Q483110 ) ( ontology:Q41176 ) } } GROUP BY ?e } } . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?n ) WHERE { { ?w property:P127 ?x . ?x rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q41176 } UNION { ?w property:P127 ?x . ?x rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q483110 } } GROUP BY ?x } . FILTER ( ?n = ?g ) }
action argmin
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type building
[[{'concept': 'stadium'}, {'concept': 'building'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?g ) { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?k ) WHERE { ?d rdf:type ?c . VALUES ( ?c ) { ( ontology:stadium ) ( ontology:building ) } } GROUP BY ?e } } . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?n ) WHERE { { ?w property:owned_by ?x . ?x rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:building } UNION { ?w property:owned_by ?x . ?x rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:stadium } } GROUP BY ?x } . FILTER ( ?n = ?g ) }
[]
political territorial entity stadium building
Q408 Q35 Q16
SYSTEM
Australia, Denmark, Canada
Q192536 Q170322 Q1648590 Q3741 Q20937 Q2321093 Q5691 Q188399 Q490638 Q6040 Q126514 Q211091 Q6053 Q133083 Q74881 Q8543 Q6041 Q2379199 Q6139 Q8178 Q7379734 Q1823 Q8551 Q13786 Q193317 Q35 Q191091 Q2947 Q13862 Q1135166 Q46070 Q211106 Q202174 Q54902 Q192697 Q188373 Q190930 Q192702 Q2175 Q849584 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q40 Q9331 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q193307 Q16 Q206926
(c(Q483110)|c(Q41176),P127,c(Q1048835))
action argmin
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q41176
[ANSWERS] min number of stadia and buildings belong to
[[{'concept': 'Q483110'}, {'concept': 'Q41176'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?g ) { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?k ) WHERE { ?d rdf:type ?c . VALUES ( ?c ) { ( ontology:Q483110 ) ( ontology:Q41176 ) } } GROUP BY ?e } } . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?n ) WHERE { { ?w property:P127 ?x . ?x rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q41176 } UNION { ?w property:P127 ?x . ?x rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q483110 } } GROUP BY ?x } . FILTER ( ?n = ?g ) }
Zlín Region Qingdao Manises Special Region of Yogyakarta Gyeonggi Province Chorrillos South Karelia Central Bohemian Region Almendralejo Goslar Dumfries and Galloway Renfrewshire Gifhorn Gauteng Dalian Germersheim Wolfenbüttel politics of Edinburgh Havelland Karlsruhe Aachen Aceh Südliche Weinstraße Cebu Pardubice Region Denmark Karlovy Vary Region Dithmarschen Negros Occidental Greater London Authority Plzeň Region Moray Argyll and Bute Fuenlabrada South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province Jaraguá do Sul Potsdam-Mittelmark Sestao Flemish Region Orkney Islands California Republic Walloon Region Austria Flemish Community Helmstedt Peine Flemish Region Rastatt Bermuda Australia Olomouc Region Canada North Ayrshire
Australia, Denmark and Canada min number of stadia and buildings belong to
Australia Denmark Canada
action argmin
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type building
[[{'concept': 'stadium'}, {'concept': 'building'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?g ) { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?k ) WHERE { ?d rdf:type ?c . VALUES ( ?c ) { ( ontology:stadium ) ( ontology:building ) } } GROUP BY ?e } } . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?n ) WHERE { { ?w property:owned_by ?x . ?x rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:building } UNION { ?w property:owned_by ?x . ?x rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:stadium } } GROUP BY ?x } . FILTER ( ?n = ?g ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q183
P530
Q15617994
USER
How many administrative territories have diplomatic relations with Germany ?
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Q183 property:P530 ?v . ?v rdf:type ontology:Q15617994 }
Germany
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Germany property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
124
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[ANSWER]
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Q183 property:P530 ?v . ?v rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
124
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Germany property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q403
P530
Q15617994
USER
And also tell me about Serbia?
(Q403,P530,c(Q15617994))
action count
action filter_type
action find
entity Q403
relation P530
type Q15617994
['Q403', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i rdf:type ontology:Q15617994 . resource:Q403 property:P530 ?i }
Serbia
action count
action filter_type
action find
entity Serbia
relation diplomatic relation
type designation for an administrative territorial entity
['Serbia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Serbia property:diplomatic_relation ?i }
[]
designation for an administrative territorial entity
SYSTEM
7
Q142 Q159 Q145 Q155 Q30 Q28 Q38
(Q403,P530,c(Q15617994))
action count
action filter_type
action find
entity Q403
relation P530
type Q15617994
[ANSWER]
['Q403', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i rdf:type ontology:Q15617994 . resource:Q403 property:P530 ?i }
France Russia United Kingdom Brazil United States of America Hungary Italy
7
action count
action filter_type
action find
entity Serbia
relation diplomatic relation
type designation for an administrative territorial entity
['Serbia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Serbia property:diplomatic_relation ?i }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q114
Q15617994
USER
And how about Kenya?
(Q114,P530,c(Q15617994))
action count
action filter_type
action find
entity Q114
relation P530
type Q15617994
['Q114', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { resource:Q114 property:P530 ?h . ?h rdf:type ontology:Q15617994 }
Kenya
action count
action filter_type
action find
entity Kenya
relation diplomatic relation
type designation for an administrative territorial entity
['Kenya', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { resource:Kenya property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
17
(Q114,P530,c(Q15617994))
action count
action filter_type
action find
entity Q114
relation P530
type Q15617994
[ANSWER]
['Q114', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { resource:Q114 property:P530 ?h . ?h rdf:type ontology:Q15617994 }
17
action count
action filter_type
action find
entity Kenya
relation diplomatic relation
type designation for an administrative territorial entity
['Kenya', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { resource:Kenya property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]