Simple Question (Direct)
Simple Question
Q20739570
P641
Q349
USER
What did Rostyslav Bahdasarov participate in ?
(Q20739570,P641,c(Q349))
action filter_type
action find
entity Q20739570
relation P641
type Q349
['Q20739570', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q349 . resource:Q20739570 property:P641 ?c }
Rostyslav Bahdasarov
action filter_type
action find
entity Rostyslav Bahdasarov
relation sport
type sport
['Rostyslav Bahdasarov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sport . resource:Rostyslav_Bahdasarov property:sport ?c }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q20739570,P641,c(Q349))
action filter_type
action find
entity Q20739570
relation P641
type Q349
Rostyslav Bahdasarov participated in [ANSWER]
['Q20739570', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q349 . resource:Q20739570 property:P641 ?c }
association football
Rostyslav Bahdasarov participated in association football
association football
action filter_type
action find
entity Rostyslav Bahdasarov
relation sport
type sport
['Rostyslav Bahdasarov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sport . resource:Rostyslav_Bahdasarov property:sport ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20739570
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q20739570
relation P19
type Q56061
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q20739570 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Rostyslav Bahdasarov
action filter_type
action find
entity Rostyslav Bahdasarov
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Rostyslav_Bahdasarov property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q43070
SYSTEM
Donetsk
Q43070
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q20739570
relation P19
type Q56061
That person was born in [ANSWER]
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q20739570 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Donetsk
That person was born in Donetsk
Donetsk
action filter_type
action find
entity Rostyslav Bahdasarov
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Rostyslav_Bahdasarov property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20739570
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q43070,P27,c(Q15617994))
action filter_type
action find
entity Q20739570
relation P27
type Q15617994
['Q43070', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q20739570 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Rostyslav Bahdasarov
action filter_type
action find
entity Rostyslav Bahdasarov
relation country of citizenship
type designation for an administrative territorial entity
['Donetsk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Rostyslav_Bahdasarov property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
(Q43070,P27,c(Q15617994))
action filter_type
action find
entity Q20739570
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q43070', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q20739570 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Ukraine
The Ukraine is that person an inhabitant of
Ukraine
action filter_type
action find
entity Rostyslav Bahdasarov
relation country of citizenship
type designation for an administrative territorial entity
['Donetsk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Rostyslav_Bahdasarov property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with min number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?k ) { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?o ) WHERE { ?e property:P530 ?z . ?e rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?e } } . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?v ) WHERE { ?i property:P530 ?n . ?i rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?v = ?k ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?k ) { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?o ) WHERE { ?e property:diplomatic_relation ?z . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } } . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?v ) WHERE { ?i property:diplomatic_relation ?n . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?v = ?k ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,Q953)
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWERS] have a diplomatic relationship with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?k ) { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?o ) WHERE { ?e property:P530 ?z . ?e rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?e } } . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?v ) WHERE { ?i property:P530 ?n . ?i rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?v = ?k ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Central African Republic, Kingdom of the Netherlands and Kazakhstan have a diplomatic relationship with min number of administrative territories
Central African Republic Kingdom of the Netherlands Kazakhstan
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?k ) { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?o ) WHERE { ?e property:diplomatic_relation ?z . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } } . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?v ) WHERE { ?i property:diplomatic_relation ?n . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?v = ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q79
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with lesser number of administrative territories than Egypt ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q79
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { resource:Q79 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?o < ?d ) . { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?o ) WHERE { ?p rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 . ?p property:P530 ?k } GROUP BY ?p } }
Egypt
action less
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 Egypt
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 ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { resource:Egypt property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o < ?d ) . { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?o ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?k } GROUP BY ?p } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q32
SYSTEM
Netherlands, Poland, Luxembourg
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q954 Q889 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q77 Q878 Q774 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q79
relation P530
type Q15617994
[ANSWERS] have diplomatic associations with lesser number of administrative territories than Egypt
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { resource:Q79 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?o < ?d ) . { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?o ) WHERE { ?p rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 . ?p property:P530 ?k } GROUP BY ?p } }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Zimbabwe Afghanistan South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia 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 Samoa Niue Vanuatu Myanmar East Timor Uruguay United Arab Emirates Guatemala Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and Luxembourg have diplomatic associations with lesser number of administrative territories than Egypt
Netherlands Poland Luxembourg
action less
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 Egypt
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 ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { resource:Egypt property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o < ?d ) . { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?o ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?k } GROUP BY ?p } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q219
P530
Q15617994 Q15617994
USER
And what about Bulgaria?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q219
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?o ) WHERE { ?h rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 . ?h property:P530 ?j } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:Q219 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?o < ?q ) }
Bulgaria
action less
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 Bulgaria
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 ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?o ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?j } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:Bulgaria property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o < ?q ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q219
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?o ) WHERE { ?h rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 . ?h property:P530 ?j } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:Q219 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?o < ?q ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands Dominican Republic Tanzania
action less
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 Bulgaria
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 ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?o ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?j } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:Bulgaria property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o < ?q ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q29999 Q786 Q924
P17
Q2385804
USER
Which educational institutions are located in Kingdom of the Netherlands, Dominican Republic and Tanzania ?
(c(Q2385804),P17,Q29999) (c(Q2385804),P17,Q786) (c(Q2385804),P17,Q924)
action union
action filter_type
action find_reverse
entity Q29999
relation P17
type Q2385804
action filter_type
action find_reverse
entity Q786
relation P17
type Q2385804
action filter_type
action find_reverse
entity Q924
relation P17
type Q2385804
[{'concept': 'Q2385804'}, 'P17', 'Q29999'] [{'concept': 'Q2385804'}, 'P17', 'Q786'] [{'concept': 'Q2385804'}, 'P17', 'Q924']
SELECT DISTINCT ?h WHERE { ?h property:P17 ?n . VALUES ( ?n ) { ( resource:Q786 ) ( resource:Q29999 ) } }
Kingdom of the Netherlands Dominican Republic Tanzania
action union
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country
type educational institution
action filter_type
action find_reverse
entity Dominican Republic
relation country
type educational institution
action filter_type
action find_reverse
entity Tanzania
relation country
type educational institution
[{'concept': 'educational institution'}, 'country', 'Kingdom of the Netherlands'] [{'concept': 'educational institution'}, 'country', 'Dominican Republic'] [{'concept': 'educational institution'}, 'country', 'Tanzania']
SELECT DISTINCT ?h WHERE { ?h property:country ?n . VALUES ( ?n ) { ( resource:Dominican_Republic ) ( resource:Kingdom_of_the_Netherlands ) } }
[]
educational institution
Q27680691 Q7420235 Q16866496
SYSTEM
Christian School for MAVO "Nij Walpert", Santiago Christian School, Lumumba Secondary School
Q27680691 Q7420235 Q16866496 Q7432576 Q7594505
(c(Q2385804),P17,Q29999) (c(Q2385804),P17,Q786) (c(Q2385804),P17,Q924)
action union
action filter_type
action find_reverse
entity Q29999
relation P17
type Q2385804
action filter_type
action find_reverse
entity Q786
relation P17
type Q2385804
action filter_type
action find_reverse
entity Q924
relation P17
type Q2385804
[ANSWERS] are located in Kingdom of the Netherlands, Dominican Republic and Tanzania
[{'concept': 'Q2385804'}, 'P17', 'Q29999'] [{'concept': 'Q2385804'}, 'P17', 'Q786'] [{'concept': 'Q2385804'}, 'P17', 'Q924']
SELECT DISTINCT ?h WHERE { ?h property:P17 ?n . VALUES ( ?n ) { ( resource:Q786 ) ( resource:Q29999 ) } }
Christian School for MAVO "Nij Walpert" Santiago Christian School Lumumba Secondary School School of St Jude St Mary's Mbeya Secondary School
Christian School for MAVO "Nij Walpert", Santiago Christian School and Lumumba Secondary School are located in Kingdom of the Netherlands, Dominican Republic and Tanzania
Christian School for MAVO "Nij Walpert" Santiago Christian School Lumumba Secondary School
action union
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country
type educational institution
action filter_type
action find_reverse
entity Dominican Republic
relation country
type educational institution
action filter_type
action find_reverse
entity Tanzania
relation country
type educational institution
[{'concept': 'educational institution'}, 'country', 'Kingdom of the Netherlands'] [{'concept': 'educational institution'}, 'country', 'Dominican Republic'] [{'concept': 'educational institution'}, 'country', 'Tanzania']
SELECT DISTINCT ?h WHERE { ?h property:country ?n . VALUES ( ?n ) { ( resource:Dominican_Republic ) ( resource:Kingdom_of_the_Netherlands ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q232
P1376
Q56061
USER
Which administrative territory is the capital of Kazakhstan ?
(c(Q56061),P1376,Q232)
action filter_type
action find_reverse
entity Q232
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q232']
SELECT DISTINCT ?t WHERE { ?t property:P1376 resource:Q232 . ?t rdf:type ontology:Q56061 }
Kazakhstan
action filter_type
action find_reverse
entity Kazakhstan
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Kazakhstan']
SELECT DISTINCT ?t WHERE { ?t property:capital_of resource:Kazakhstan . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1520
SYSTEM
Astana
Q1520
(c(Q56061),P1376,Q232)
action filter_type
action find_reverse
entity Q232
relation P1376
type Q56061
Of [ANSWER] is the capital of Kazakhstan
[{'concept': 'Q56061'}, 'P1376', 'Q232']
SELECT DISTINCT ?t WHERE { ?t property:P1376 resource:Q232 . ?t rdf:type ontology:Q56061 }
Astana
Of Astana is the capital of Kazakhstan
Astana
action filter_type
action find_reverse
entity Kazakhstan
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Kazakhstan']
SELECT DISTINCT ?t WHERE { ?t property:capital_of resource:Kazakhstan . ?t rdf:type ontology:administrative_territorial_entity }
[]