Simple Question (Direct)
Simple Question
Q7173535
P69
Q1244442
USER
Which school building was Peter Danckwerts educated at ?
(Q7173535,P69,c(Q1244442))
action filter_type
action find
entity Q7173535
relation P69
type Q1244442
['Q7173535', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?l WHERE { resource:Q7173535 property:P69 ?l . ?l rdf:type ontology:Q1244442 }
Peter Danckwerts
action filter_type
action find
entity Peter Danckwerts
relation educated at
type school building
['Peter Danckwerts', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?l WHERE { resource:Peter_Danckwerts property:educated_at ?l . ?l rdf:type ontology:school_building }
[]
school building
Q805285
SYSTEM
Balliol College
Q805285
(Q7173535,P69,c(Q1244442))
action filter_type
action find
entity Q7173535
relation P69
type Q1244442
The [ANSWER] was Peter Danckwerts educated at
['Q7173535', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?l WHERE { resource:Q7173535 property:P69 ?l . ?l rdf:type ontology:Q1244442 }
Balliol College
The Balliol College was Peter Danckwerts educated at
Balliol College
action filter_type
action find
entity Peter Danckwerts
relation educated at
type school building
['Peter Danckwerts', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?l WHERE { resource:Peter_Danckwerts property:educated_at ?l . ?l rdf:type ontology:school_building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7173535
P19
Q56061
USER
Where was that person born ?
(Q805285,P19,c(Q56061))
action filter_type
action find
entity Q7173535
relation P19
type Q56061
['Q805285', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q7173535 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Peter Danckwerts
action filter_type
action find
entity Peter Danckwerts
relation place of birth
type administrative territorial entity
['Balliol College', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Peter_Danckwerts property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1219676
SYSTEM
Emsworth
Q1219676
(Q805285,P19,c(Q56061))
action filter_type
action find
entity Q7173535
relation P19
type Q56061
That person was born in [ANSWER]
['Q805285', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q7173535 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Emsworth
That person was born in Emsworth
Emsworth
action filter_type
action find
entity Peter Danckwerts
relation place of birth
type administrative territorial entity
['Balliol College', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Peter_Danckwerts property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P840
Q56061 Q2342494 Q15416
USER
Which administrative territories are max number of collectables and television programs set in ?
(c(Q2342494)|c(Q15416),P840,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?f WHERE { VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?v rdf:type ?k } GROUP BY ?f } } . FILTER ( ?t = ?e ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?r WHERE { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } } GROUP BY ?r } }
action argmax
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?f WHERE { VALUES ( ?k ) { ( ontology:collectable ) ( ontology:television_program ) } . ?v rdf:type ?k } GROUP BY ?f } } . FILTER ( ?t = ?e ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?r WHERE { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:collectable ) ( ontology:television_program ) } } GROUP BY ?r } }
[]
administrative territorial entity collectable television program
Q60
SYSTEM
New York City
Q60
(c(Q2342494)|c(Q15416),P840,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
Max number of collectables and television programs are set in the [ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?f WHERE { VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?v rdf:type ?k } GROUP BY ?f } } . FILTER ( ?t = ?e ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?r WHERE { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } } GROUP BY ?r } }
New York City
Max number of collectables and television programs are set in the New York City
New York City
action argmax
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?f WHERE { VALUES ( ?k ) { ( ontology:collectable ) ( ontology:television_program ) } . ?v rdf:type ?k } GROUP BY ?f } } . FILTER ( ?t = ?e ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?r WHERE { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:collectable ) ( ontology:television_program ) } } GROUP BY ?r } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4273123
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q60,P27,c(Q15617994))
action filter_type
action find
entity Q4273123
relation P27
type Q15617994
['Q60', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q4273123 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Louis François Jules Rodolphe Leresche
action filter_type
action find
entity Louis François Jules Rodolphe Leresche
relation country of citizenship
type designation for an administrative territorial entity
['New York City', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Louis_François_Jules_Rodolphe_Leresche property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q60,P27,c(Q15617994))
action filter_type
action find
entity Q4273123
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q60', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q4273123 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Switzerland
Switzerland is the country of citizenship of that person
Switzerland
action filter_type
action find
entity Louis François Jules Rodolphe Leresche
relation country of citizenship
type designation for an administrative territorial entity
['New York City', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Louis_François_Jules_Rodolphe_Leresche property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1908410 Q4273123
P27
Q15617994
USER
Or Matthew Makil?
OR((Q4273123,P27,c(Q15617994)), (Q1908410,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4273123
relation P27
action find
entity Q1908410
relation P27
type Q15617994
{'OR': [['Q4273123', 'P27', {'concept': 'Q15617994'}], ['Q1908410', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q4273123 property:P27 ?s } UNION { resource:Q1908410 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Matthew Makil Louis François Jules Rodolphe Leresche
action filter_type
action union
action find
entity Louis François Jules Rodolphe Leresche
relation country of citizenship
action find
entity Matthew Makil
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Louis François Jules Rodolphe Leresche', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Matthew Makil', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Louis_François_Jules_Rodolphe_Leresche property:country_of_citizenship ?s } UNION { resource:Matthew_Makil property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39 Q668
SYSTEM
Switzerland, India
Q39 Q668
OR((Q4273123,P27,c(Q15617994)), (Q1908410,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4273123
relation P27
action find
entity Q1908410
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q4273123', 'P27', {'concept': 'Q15617994'}], ['Q1908410', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q4273123 property:P27 ?s } UNION { resource:Q1908410 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Switzerland India
Switzerland India
action filter_type
action union
action find
entity Louis François Jules Rodolphe Leresche
relation country of citizenship
action find
entity Matthew Makil
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Louis François Jules Rodolphe Leresche', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Matthew Makil', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Louis_François_Jules_Rodolphe_Leresche property:country_of_citizenship ?s } UNION { resource:Matthew_Makil property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q574
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with greater number of administrative territories than East Timor ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q574
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:Q574 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?d > ?u ) }
East Timor
action count
action greater
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 East Timor
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 ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:East_Timor property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d > ?u ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
102
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q574
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:Q574 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?d > ?u ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
102
action count
action greater
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 East Timor
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 ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:East_Timor property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q717
P530
Q15617994 Q15617994
USER
And what about Venezuela?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q717
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?z ) WHERE { ?a property:P530 ?t . ?a rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:Q15617994 . resource:Q717 property:P530 ?d } } . FILTER ( ?z > ?i ) }
Venezuela
action count
action greater
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 Venezuela
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 ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?z ) WHERE { ?a property:diplomatic_relation ?t . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Venezuela property:diplomatic_relation ?d } } . FILTER ( ?z > ?i ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
63
Q801 Q805 Q668 Q414 Q142 Q145 Q262 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q27 Q1049 Q843 Q228 Q227 Q224 Q222 Q347 Q17 Q974 Q1033 Q298 Q115 Q114 Q212 Q213 Q211 Q215 Q916 Q79 Q810 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q717
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?z ) WHERE { ?a property:P530 ?t . ?a rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:Q15617994 . resource:Q717 property:P530 ?d } } . FILTER ( ?z > ?i ) }
Israel Yemen India Argentina France United Kingdom Algeria People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Ireland Sudan Pakistan Andorra Azerbaijan Croatia Albania Liechtenstein Japan Democratic Republic of the Congo Nigeria Chile Ethiopia Kenya Ukraine Czech Republic Latvia Slovenia Angola Egypt Jordan Libya Cape Verde Spain Zambia
63
action count
action greater
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 Venezuela
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 ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?z ) WHERE { ?a property:diplomatic_relation ?t . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Venezuela property:diplomatic_relation ?d } } . FILTER ( ?z > ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q221
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with around the same number of administrative territories as Republic of Macedonia ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q221
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?z ) WHERE { ?q rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 . ?t property:P530 ?q } GROUP BY ?q } . FILTER ( ?z = ?j ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { resource:Q221 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } }
Republic of Macedonia
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 Republic of Macedonia
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 ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?z ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?q } GROUP BY ?q } . FILTER ( ?z = ?j ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { resource:Republic_of_Macedonia property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q43 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 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q221
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with around the same number of administrative territories as Republic of Macedonia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?z ) WHERE { ?q rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 . ?t property:P530 ?q } GROUP BY ?q } . FILTER ( ?z = ?j ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { resource:Q221 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } }
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 Turkey 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 Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
Georgia, Netherlands and Poland have diplomatic relationships with around the same number of administrative territories as Republic of Macedonia
Georgia Netherlands Poland
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 Republic of Macedonia
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 ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?z ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?q } GROUP BY ?q } . FILTER ( ?z = ?j ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { resource:Republic_of_Macedonia property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q262
P530
Q15617994 Q15617994
USER
And how about Algeria?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q262
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?k ) WHERE { ?a rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 . ?s property:P530 ?a } GROUP BY ?a } . FILTER ( ?k = ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Q262 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } }
Algeria
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 Algeria
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 ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?k ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?a } GROUP BY ?a } . FILTER ( ?k = ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Algeria property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 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 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q262
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?k ) WHERE { ?a rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 . ?s property:P530 ?a } GROUP BY ?a } . FILTER ( ?k = ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Q262 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey 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 Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
Georgia Netherlands Poland
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 Algeria
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 ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?k ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?a } GROUP BY ?a } . FILTER ( ?k = ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Algeria property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P122
Q15617994 Q4164871 Q15617994
USER
How many administrative territories have around 1 administrative territories and positions as the form of government ?
(c(Q15617994),P122,c(Q15617994)|c(Q4164871))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q15617994
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
value 1
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q15617994'}, {'concept': 'Q4164871'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?x WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:Q15617994 ) ( ontology:Q4164871 ) } } GROUP BY ?x } . FILTER ( ?w = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'position'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?x WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:position ) } } GROUP BY ?x } . FILTER ( ?w = 1 ) }
[]
designation for an administrative territorial entity position designation for an administrative territorial entity
SYSTEM
6
Q889 Q689837 Q313175 Q815731 Q1483510 Q696651
(c(Q15617994),P122,c(Q15617994)|c(Q4164871))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q15617994
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q15617994'}, {'concept': 'Q4164871'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?x WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:Q15617994 ) ( ontology:Q4164871 ) } } GROUP BY ?x } . FILTER ( ?w = 1 ) }
Afghanistan Spanish Sahara Saxe-Lauenburg Principality of Bulgaria Principality of Wales Saxe-Eisenach
6
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'position'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?x WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:position ) } } GROUP BY ?x } . FILTER ( ?w = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q515 Q271669 Q56061
USER
Which administrative territories have min number of cities and landforms as their toponym ?
(c(Q56061),P138,c(Q515)|c(Q271669))
action argmin
action union
action find_tuple_counts
relation P138
type Q56061
type Q515
action find_tuple_counts
relation P138
type Q56061
type Q271669
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q515'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ?r . VALUES ( ?r ) { ( ontology:Q271669 ) ( ontology:Q515 ) } } GROUP BY ?w } . FILTER ( ?m = ?i ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?i ) { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?s ) WHERE { VALUES ( ?f ) { ( ontology:Q515 ) ( ontology:Q271669 ) } . ?z rdf:type ?f } GROUP BY ?y } } }
action argmin
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type city
action find_tuple_counts
relation named after
type administrative territorial entity
type landform
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'city'}, {'concept': 'landform'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ?r . VALUES ( ?r ) { ( ontology:landform ) ( ontology:city ) } } GROUP BY ?w } . FILTER ( ?m = ?i ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?i ) { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?s ) WHERE { VALUES ( ?f ) { ( ontology:city ) ( ontology:landform ) } . ?z rdf:type ?f } GROUP BY ?y } } }
[]
city landform administrative territorial entity
Q458 Q649 Q216
SYSTEM
European Union, Moscow, Vilnius
Q1510724 Q202736 Q5425343 Q923811 Q630597 Q1004791 Q1020592 Q1017362 Q2132 Q509541 Q2965897 Q1016100 Q1024892 Q585426 Q15273 Q567825 Q755425 Q1718 Q3028710 Q190583 Q146811 Q493378 Q574085 Q639408 Q947001 Q1085963 Q2675898 Q23927055 Q786124 Q4849268 Q7947 Q155955 Q1152219 Q894 Q2058 Q2502173 Q891 Q2284698 Q1465092 Q18682600 Q34116 Q2291816 Q83178 Q21416521 Q157688 Q25923 Q102334 Q3844 Q6661068 Q11683189 Q963170 Q2583602 Q2786054 Q583161 Q1784180 Q534957 Q3805 Q3240441 Q2288 Q810678 Q732554 Q2247076 Q3481151 Q2768192 Q4217424 Q588 Q484678 Q196501 Q946227 Q4258240 Q1276943 Q2067514 Q2451306 Q19289482 Q6506 Q605113 Q989567 Q1309 Q2605640 Q1403187 Q2560090 Q606153 Q1018025 Q2403511 Q2890642 Q28539 Q2685999 Q4067724 Q1297086 Q323432 Q1829193 Q10690 Q18471262 Q959016 Q13648690 Q21999685 Q383434 Q208318 Q4116524 Q172575 Q1186226 Q167895 Q191642 Q131335 Q200917 Q3025889 Q124281 Q787828 Q13542193 Q2138 Q1120380 Q128306 Q15242553 Q2327293 Q1924796 Q1685683 Q172616 Q189295 Q9365 Q79439 Q3726467 Q90 Q2442973 Q976759 Q470638 Q48329 Q4231936 Q5646251 Q675049 Q12725121 Q970482 Q1963236 Q2267197 Q264605 Q6883436 Q160544 Q269222 Q5284497 Q5284494 Q2550212 Q2441471 Q13122 Q1930 Q1010188 Q18682030 Q516769 Q1212270 Q525007 Q7974195 Q5433196 Q2315713 Q568563 Q3030491 Q1020419 Q2310264 Q12077645 Q2280179 Q12077647 Q1000232 Q133310 Q58337 Q132679 Q365 Q1509463 Q2135060 Q676589 Q2583736 Q1410885 Q1253349 Q1144877 Q192235 Q2060859 Q2231797 Q116732 Q2786965 Q206954 Q3462820 Q2022921 Q746056 Q14218357 Q1871309 Q4792204 Q208445 Q2396415 Q913476 Q21186160 Q2104736 Q954186 Q16555 Q476835 Q1019187 Q516581 Q282540 Q1670366 Q2096672 Q393693 Q2132831 Q11899935 Q20593492 Q2459510 Q28260 Q13129608 Q153490 Q1027521 Q2531632 Q11870465 Q6661799 Q95041 Q852658 Q751594 Q1000172 Q874262 Q3112096 Q2305259 Q166065 Q1524 Q1043381 Q4454 Q128361 Q2549931 Q128244 Q2367586 Q155309 Q1904685 Q3396792 Q154785 Q196724 Q2995979 Q43463 Q2199406 Q16294796 Q990898 Q488987 Q2281401 Q970540 Q18659914 Q2231869 Q3239732 Q887 Q2082 Q2024923 Q2020113 Q906740 Q55669 Q1907325 Q852577 Q491462 Q2141 Q6178987 Q812722 Q37133 Q714650 Q6661272 Q3028745 Q746772 Q4813216 Q1620075 Q2899083 Q767177 Q3141 Q706032 Q814163 Q2031463 Q17151 Q11892363 Q5062771 Q431932 Q237 Q14706851 Q3566431 Q605267 Q567814 Q16559 Q614727 Q647 Q585186 Q23443 Q1763534 Q1656936 Q1019486 Q2405593 Q3130 Q10843471 Q932955 Q844091 Q7399833 Q198125 Q7592847 Q1866604 Q2294628 Q2545984 Q79863 Q1750681 Q690882 Q615136 Q2615624 Q3567822 Q484870 Q13129631 Q664723 Q606268 Q87 Q129452 Q733744 Q491132 Q965101 Q12980087 Q211463 Q10686 Q16274129 Q11901984 Q19289906 Q765823 Q1353744 Q48338 Q7225587 Q5112 Q525618 Q11892146 Q2199088 Q5239 Q1741 Q2190456 Q175161 Q268782 Q1735 Q666165 Q93910 Q2470571 Q5284547 Q966492 Q1434796 Q18242285 Q37320 Q642164 Q208000 Q284406 Q297853 Q5330523 Q49111 Q618495 Q17203393 Q2792756 Q806903 Q153609 Q153565 Q786611 Q16869 Q722396 Q5169909 Q175505 Q19289593 Q393619 Q174 Q60 Q1957 Q961248 Q932623 Q18602441 Q485699 Q823475 Q1144250 Q1659808 Q2198018 Q16648189 Q129461 Q746027 Q501744 Q16660730 Q1878726 Q2003323 Q2324280 Q143697 Q3029834 Q858607 Q5032535 Q2266864 Q975843 Q2224902 Q3183 Q15241652 Q1158897 Q368727 Q2204179 Q14912 Q2722227 Q2211711 Q48273 Q1935682 Q10393380 Q105284 Q336350 Q196922 Q22669030 Q1176875 Q20593780 Q31990 Q3406126 Q3497036 Q956 Q196934 Q187346 Q4412287 Q5655 Q6226 Q99988 Q493025 Q3101185 Q34183 Q103850 Q2920311 Q1996519 Q157458 Q578758 Q51681 Q51685 Q2198333 Q5384 Q2324628 Q50816 Q2270295 Q17942 Q1021877 Q18419 Q953279 Q2455984 Q7110478 Q2770 Q6936566 Q574612 Q2174173 Q13652348 Q158357 Q5206 Q12131761 Q983538 Q2375558 Q1020484 Q2865259 Q20593327 Q3117041 Q5355318 Q895407 Q18161533 Q3047387 Q52998 Q3152900 Q1856529 Q11568 Q6377788 Q16658206 Q983832 Q16658203 Q1974434 Q501824 Q2496779 Q530191 Q961897 Q153549 Q54886 Q2684131 Q49219 Q979752 Q2380665 Q1010939 Q156717 Q4207520 Q2063327 Q3567118 Q3876 Q2523914 Q1829 Q1047189 Q340 Q2240740 Q175651 Q12093400 Q593141 Q4670000 Q2503080 Q1659154 Q2855406 Q20933314 Q6125153 Q457334 Q16015068 Q244025 Q1816203 Q631186 Q1112057 Q979938 Q6787277 Q3043 Q2732597 Q43070 Q24639 Q45604 Q2311761 Q1026175 Q3413067 Q1942643 Q315052 Q868869 Q2552887 Q463165 Q134279 Q652552 Q13035375 Q915 Q914 Q162933 Q1861097 Q2956038 Q6449092 Q188693 Q129449 Q3623803 Q196384 Q129447 Q743632 Q44016 Q44013 Q133123 Q744550 Q471969 Q197902 Q2540118 Q7438733 Q13640603 Q2272796 Q375185 Q7122288 Q1005623 Q663035 Q157469 Q2043530 Q223308 Q2919992 Q486860 Q2931074 Q5627 Q1026291 Q15982072 Q61 Q62 Q1937099 Q2080102 Q2857905 Q201125 Q105150 Q2636902 Q15552182 Q194067 Q1026838 Q670083 Q1025016 Q2018240 Q2621007 Q1297201 Q1014288 Q2271236 Q79588 Q5284526 Q2805272 Q2761467 Q2649977 Q982379 Q5261403 Q1002286 Q72380 Q4867888 Q956545 Q982372 Q855572 Q3025882 Q795623 Q498968 Q2483434 Q1929731 Q499169 Q270887 Q1818610 Q2215428 Q8076888 Q132832 Q5491176 Q11880386 Q2782963 Q2613390 Q4620106 Q10313 Q2434021 Q405550 Q1921069 Q3112125 Q3497234 Q641 Q40747 Q17486733 Q578669 Q727 Q134318 Q632687 Q867468 Q21181 Q187313 Q44059 Q40191 Q955151 Q20252340 Q2603127 Q276115 Q2464425 Q158292 Q79844 Q427543 Q2500115 Q727806 Q4361 Q633371 Q617602 Q2662899 Q203263 Q518189 Q2639307 Q5511175 Q104059 Q1380511 Q75008 Q34932 Q2650727 Q9003776 Q784496 Q2623928 Q6665662 Q1040 Q503652 Q575206 Q3947651 Q6421147 Q152491 Q870864 Q201243 Q5603908 Q14452 Q3400083 Q136383 Q100 Q19290903 Q2123 Q458 Q2127 Q2061265 Q3117008 Q3832 Q988751 Q18744510 Q3495314 Q856004 Q3002124 Q470481 Q60705 Q133116 Q991515 Q983438 Q3932 Q649 Q1002490 Q642894 Q3305212 Q2029779 Q2928449 Q2269699 Q513464 Q216 Q2278195 Q3077234 Q1007823 Q1187051 Q712567 Q661735 Q13972 Q208151 Q2081683 Q6096033 Q2688620 Q1943127 Q3028087 Q955115 Q1858372 Q1015690 Q339527 Q2388710 Q478029 Q886915 Q4336048 Q2997217 Q849292 Q79809 Q661559 Q1341 Q16106 Q1476342 Q146798 Q1016404 Q15241524 Q8052284 Q916603 Q103661 Q1013717 Q198210 Q2904899 Q198748 Q11873198 Q1849651 Q11901400 Q20205972 Q2757895 Q2503821 Q1758944
(c(Q56061),P138,c(Q515)|c(Q271669))
action argmin
action union
action find_tuple_counts
relation P138
type Q56061
type Q515
action find_tuple_counts
relation P138
type Q56061
type Q271669
[ANSWERS] have min number of cities and landforms as their toponym
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q515'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ?r . VALUES ( ?r ) { ( ontology:Q271669 ) ( ontology:Q515 ) } } GROUP BY ?w } . FILTER ( ?m = ?i ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?i ) { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?s ) WHERE { VALUES ( ?f ) { ( ontology:Q515 ) ( ontology:Q271669 ) } . ?z rdf:type ?f } GROUP BY ?y } } }
White Bird Littlefield FELDA L.B. Johnson New Amsterdam, Guyana Twijzelerheide Douglas Pulaski Mount Hagen Victoria Andrews Ermerveen King William's Town Robertsport Eesergroen Kirovsk Zuid-Beijerland Athens Düsseldorf Zuidlaarderveen Mikkeli Zanesville Culver City Strahan Waterloo George Enescu Franklin Beetsterzwaag Karuma Falls Kosovo Polje Bakers Narrows Pushkin Kuybyshev Baker City Samara Whitehorse Maksyma Horkoho Nizhny Novgorod Munnekemoer New Bremen Saukkoriipi Thunder Bay Gheorghe Doja Almere Settlement of Sullivans Cove Lomonosov Longyearbyen Dmitrov Brazzaville Llanafan Fawr Ingeniero Adolfo Sourdeaux Humboldt Sint-Anna Valthermond Aranđelovac Doral Cleburne Amman Canistota Tver Bastrop Chavín de Huantar Barger-Compascuum Shackleton Mahbubnagar Cato Ridge Katowice Berkeley Suvorov Kermit Lenino Eamont Bridge Quesnel, British Columbia Onida Sztálinváros Varna Gosford Wooster Maastricht Gasselterboerveen Felipe Carrillo Puerto Athol Port Macquarie Vahdat St Arnaud Beit Berl Karrharde Pieterburen Anuchino Szentléránt Fairfield Gardner Cardiff San Lorenzo Amsterdam Taradei Llantrithyd Greater Sudbury Kaduna Daintree Neftegorsk Lincoln, New Zealand Kalamata São José dos Campos Sioux Falls Zaslawye Odoornerveen Antinopolis Aleksa Šantić C.A. Rosetti Fredericton Prescott Denton Llandeloy Kolderwolde Mora Jean Marie River Nefteyugansk Serov Dushanbe Athens I.L. Caragiale Paris Coal City Kountze Loyalist Mariehamn Konchanskoe-Suvorovskoe Hampton Lucy Flandreau Sarmizegetusa Nacogdoches Nieuwe Krim Blauwestad Humboldt Mitta Mitta Heraklion Buchanan, Liberia Braddon Bass De Bombay Dieverbrug Dendermonde Ottawa Scheemda Kivijärvi Faya-Largeau Máriabesnyő Kerrville Waterloo Groenlandsekade Inkster Lincoln Nieuw-Dordrecht Madison Roderwolde Alexandru Odobescu Ushakovskoye Alexandru Odobescu Falcon Heights Volodarsk Banff Willemstad Cologne Vaishali Gas Szandaszőlős Lincolnville Pulaski Rókus Currie Ciudad del Este Nieuw-Beijerland Nieuw-Roden Nakovo Lincoln Kastoria Krasnogvardeyskoye, Stavropol Krai Burgemeester Beinsdorp Telečka Holbrook Ironton Qarakeçdi Vallejo Hornhuizen Albert Lea Kerekszenttamás Port McNeill Campbelltown Houston Givat Brenner Daireaux Baunatal Thompson Falls Tangipahoa Spangen Agioi Anargyroi Prins Alexander Vaalajärvi Llandeilo Graban Pesse Lincoln Llanbadarn Fynydd Kirov Ermelo Papagou Kauhajärvi Llantilio Pertholey Naberezhnye Chelny Bishop Preseka, Gornji Mihaljevec Pulaski Ladysmith Rotsterhaule Vegelinsoord Lelystad Athens Reimersholme Khabarovsk Odessa Haskerhorne Waco Sint Jacobiparochie Korolyov Naterij Melas Komsomolsk Tutayev Hull Fortaleza Haslam Stalinstadt Georgetown Türkmenbaşy Nieuw-Buinen Wharton Kauhajärvi Fort Ripley Sulphur Yekaterinburg St. John's Pooley Bridge Clay City Diósgyőr-Vasgyár Ny-Ålesund Laaghalerveen Carlsbad Anderson Halifax Jennings Bački Gračac Mariupol Obrenovac Llandyssil Eelderwolde Hantumhuizen Athanasios Diakos, Greece Hippos Sevenhill Kurchatov Melbourne Melton Beeville Santo Tomé Thessaloniki Sanginjoki General Berthelot Truth or Consequences Vatican City Mabbettsville Askio Geraldton Iron Mountain Austin Eexterveen Rennes Tweede Exloërmond Provo Açailândia Sáenz Peña Harper Drouwenermond Sydney Aarón Castellanos Scharsterbrug Calabar Sai Ying Pun Chkalovsk St Clether Livingstone, Zambia Oneida De Wilp Tskhinvali Rakovski Municipality Sint Philipsland Nederland Lincolnton Whitton Eisleben Llanfechell Henderson Port Lincoln Alexandria Snorum Filadelfia Santa Clarita Emory Flaten Agios Nikolaos Belfast Bergen Isakhanova Vuontisjärvi Dunapentele Augusta Vindelicorum Marconi Wireless Station Site Kayseri Pollards Point Adelaide Presidente Prudente Salpausselkä Dalerpeel Vladikavkaz Vienna Stawell Novomoskovsk Bady Bassitt Innsbruck Augusta Treverorum Novokuznetsk Pineia Lyons Lincoln, California Tamworth Beruniy Cleveland Beylagan Mahabalipuram José María Morelos Øresund Region Eastern Tickle Cambridge Aphrodisias Bajaszentistván Wijnjewoude Banning Kirovsk Kirovo-Chepetsk Püspökszentlászló Constantinople Dusti Cordeaux Heights Nolinsk Leninváros Ayia Trias, Cyprus São Paulo New York City Vologda Valentine Dauphin Island Benczúrfalva Stadskanaal Hall Hopetoun Imeni Poliny Osipenko Batadorp Yelizavetovka Hej Havelterberg Alert Mindszent Willemsoord, Steenwijkerland Warner Robins Eexterzandvoort Kalininsk Kollumerzwaag Strijen Cann River Rotstergaast Kaufman Echtenerbrug Perth Busse Dampier Mátyásföld Llandeilo Saarlouis Creil Nitro Adamstown Kolkhozobod Wenceslao Escalante Bolgar Sokoto Usolye Máriaváros Mihail Kogălniceanu Llanddwywe San Saba Llantwit Fardre Kennedy Town Beijing Ussuriysk Constantine Bromma Kyrka Chernyakhovsk St Albans Gulpen Edson Uithuizermeeden Barrie Arsenyev Nordia Agia Varvara Leninogorsk Darien Charlotte Amalie Tempe Buweklooster Kirov Geesbrug Mississauga Dalerveen Haasts Bluff Clarens, Free State Brooklyn Sveti Petar, Ogulin Haulerwijk Oulu Tula Victor Larco Herrera Municipality New Braunfels Rhederbrug Nebo Marks Stavropol Mihai Eminescu Green River Rutherglen Satpayev Exloërveen Llanbadarn y Garreg Nigtevecht Electoral district of Daylesford Bowen Russell Hill Eden Richmond Hill Amsterdam, Mpumalanga Alexander Bay, Northern Cape Darwin Oprișani Turgenevo Yazoo City Ruzhino Yodfat Elim Gasselternijveenschemond Nea Ionia Lincoln Kirovgrad Cuenca De Punt Irvine Post Mission Akhalgori Khmelnytskyi Kazakevichevo Roma Weiteveen Lilongwe Bethlehem, Groningen Kaliningrad Golovnino Montreal IJsselmonde Obninsk Vintilă Vodă Philip Acharnes Amsterdamscheveld Shahrixon Bonnerveen Itascatown Jakhau Moncton Venyukovo Burnaby Presidente Bernardes Thomasville Jumilla Frieschepalen Mathinna Belmopan Nikola Tesla Donetsk Vancouver Kandahar Iron City Custer Jean-Jaurès Aberfeldy Nahe Harlingen Peizerwold Sault Ste. Marie Luhansk Dordrecht, Eastern Cape Luneburg, South Africa Perm Volgograd Amaliada Sint Nicolaasga Change Islands Kuybyshev Blantyre Snapp General Praporgescu Solikamsk Snipp Nieuw-Amsterdam, Drenthe Markham Vaughan Patras Belton Lille metropolis Chekalin Santo Tomé Scranton Banevurovo Damwâld Hanford Pacific Alliance New Berlin Lincoln Leninsk Oranjedorp New Amsterdam Kfar Zoharim Mountain View Termunterzijl Ulyanovsk Kant Colonia Calafia Washington, D.C. San Francisco Pierz Kraggenburg Anthedon Zrenjanin Biryuch Eagmaryp Tikhmenevo Serpukhov Kfar Malal Sveti Duh na Ostrem Vrhu Cooperstown Beech Grove Kreva Szentsimon Nea Vyssa Kootstertille Lincoln Franklin Ens Roderesch Peizermade Sherman Derby Donji Milanovac Kurchatov Bass Wildervank Dalhart Bükkszentlászló Poortugaal Oud-Beijerland Espargos Frederiksoord Ter Apelkanaal Tyler Lethbridge Lastoursville Souillac, Mauritius Ángel R. Cabada Budyonnovsk Franklin Maanselkä Nieuw-Balinge Tweede Valthermond Kərimbəyli Donostia/San Sebastián Lheebroek Suvorovo Meppen Nij Beets Motovilikhinsky City District Venice Pierre Llandeilo Abercywyn Albertfalva Amsterdam Gagarin Archer City Ciprian Porumbescu Fredericia Stanley La Plata Hobart Butler Miguel Alemán Valdés Al-Malikiyah Grise Fiord Clay Kropyvnytskyi Stuttgart Stockholm metropolitan area Musselkanaal Kollumerpomp Curitiba Raseborg Palestine Surhuisterveen Athens Agostyán Mastichochoria Fyansford Asbest Gloversville Östra Torn Brisbane Gieterveen Hilario Ascasubi Victoria Bartlehiem Lockington Karlsruhe Malvinas Argentinas Mount Pulaski San Martino della Battaglia Klisurski Monastery Herzliya Lenauheim Slutsk Greenethorpe Easter Island Llanafan Zhukov Boston Pálhalma Regina European Union Charlottetown Perito Moreno Oranjewoud Bangui Lincoln City Llanfechan St Endellion C.A. Rosetti Crantock Amfissa Emmeloord Hamilton Canmore Douglas São Tomé Moscow New Bern Alumínio Young Lincolnton Burfjord White River Horiany Vilnius Natchitoches Forfjord Galyatető Svilojevo Artigas Szilasliget Tartu León Donnybrook Ivan Cankar, Maribor Nieuw-Beerta Seville Feanwâldsterwâl Kirawsk Exloërkijl Hastings Launceston Eerste Exloërmond Falmouth Blythe Ordzhonikidze Chkalovsk Pedro Juan Caballero Utqiaġvik Ambracia Tolyatti Eisenhüttenstadt Hell-Bourg Zanesfield Burketown Abrazheyevka Yeni yol, Shamkir Cody Apatity Hamtramck Shakhunya Beetgumermolen Engels Kuivasjärvi Nieuw-Weerdinge Vikajärvi Colonia Ángel Heladio Aguirre Rivero Vrouwenparochie Ouwster-Nijega Rottumeroog
European Union, Moscow and Vilnius have min number of cities and landforms as their toponym
European Union Moscow Vilnius
action argmin
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type city
action find_tuple_counts
relation named after
type administrative territorial entity
type landform
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'city'}, {'concept': 'landform'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ?r . VALUES ( ?r ) { ( ontology:landform ) ( ontology:city ) } } GROUP BY ?w } . FILTER ( ?m = ?i ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?i ) { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?s ) WHERE { VALUES ( ?f ) { ( ontology:city ) ( ontology:landform ) } . ?z rdf:type ?f } GROUP BY ?y } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q458 Q649 Q216
P159
Q43229
USER
Which organizations have their HQ location at those administrative territories ?
(c(Q43229),P159,Q458) (c(Q43229),P159,Q649) (c(Q43229),P159,Q216)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q458'] [{'concept': 'Q43229'}, 'P159', 'Q649'] [{'concept': 'Q43229'}, 'P159', 'Q216']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q43229 . ?c property:P159 ?l . VALUES ( ?l ) { ( resource:Q1510724 ) ( resource:Q202736 ) ( resource:Q5425343 ) } }
European Union Moscow Vilnius
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'European Union'] [{'concept': 'organization'}, 'headquarters location', 'Moscow'] [{'concept': 'organization'}, 'headquarters location', 'Vilnius']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:organization . ?c property:headquarters_location ?l . VALUES ( ?l ) { ( resource:White_Bird ) ( resource:Littlefield ) ( resource:FELDA_L.B._Johnson ) } }
[]
organization
Q102673 Q660770 Q1561136
SYSTEM
Gazprom, OJSC Russian Railways, Solidarnost
Q7161745 Q1949245 Q1581784 Q7381086 Q7779 Q15951082 Q4348924 Q5353861 Q3656098 Q1284333 Q1885456 Q4206408 Q2025089 Q4161561 Q5937565 Q4048916 Q4051813 Q4327204 Q4038650 Q4036250 Q2020019 Q15113561 Q4195208 Q2068771 Q4430148 Q4241838 Q1963801 Q5376867 Q3920212 Q5457620 Q7389451 Q16635219 Q1226440 Q4035567 Q4304709 Q1421543 Q1651553 Q2116312 Q3063197 Q1284261 Q7392585 Q2004123 Q2004123 Q4073999 Q379271 Q4114952 Q16471828 Q7855902 Q629733 Q1233894 Q1131102 Q691418 Q18516440 Q2035424 Q739720 Q1477022 Q3523271 Q2529854 Q19825970 Q4204952 Q8065057 Q4173352 Q4173350 Q642959 Q763402 Q4050799 Q4198513 Q4198514 Q4398142 Q4221349 Q1785784 Q4033119 Q258748 Q1477012 Q1915579 Q6710567 Q4230314 Q17984830 Q1636892 Q3347682 Q7982950 Q23539130 Q2297567 Q891586 Q4398139 Q4400712 Q1970759 Q4686295 Q5174990 Q4288866 Q4300779 Q14623477 Q2005769 Q7661923 Q4500466 Q1119857 Q4397962 Q995224 Q260542 Q4072227 Q4405552 Q4513187 Q1720713 Q1276764 Q4310819 Q221419 Q2298048 Q1881420 Q4397843 Q5099019 Q660770 Q318693 Q18205826 Q4201982 Q2007491 Q2007495 Q4499024 Q15302353 Q2286963 Q191582 Q16529366 Q1642605 Q286774 Q4420441 Q1534233 Q24451137 Q1561136 Q4456148 Q3049652 Q4236456 Q4043636 Q4400854 Q1809133 Q2037196 Q575146 Q195785 Q1972036 Q4033828 Q4273386 Q647689 Q2201088 Q2860429 Q7950799 Q1967834 Q1519572 Q5968485 Q7670202 Q1549389 Q23538372 Q4456914 Q5183424 Q4403264 Q20643978 Q4386536 Q4403274 Q1331507 Q4397763 Q4389244 Q3704981 Q4039141 Q767946 Q2440867 Q768353 Q4038038 Q835692 Q4025033 Q821172 Q16487636 Q4108170 Q388270 Q2212423 Q2298901 Q2344958 Q1344438 Q19558931 Q638156 Q4355104 Q2177339 Q623094 Q14920510 Q7907607 Q4131790 Q3704987 Q1377835 Q2869564 Q4398593 Q4444191 Q4469096 Q4273688 Q1022148 Q4421431 Q2426032 Q1924939 Q18747482 Q4035327 Q4403131 Q4047288 Q4430613 Q4430616 Q4086829 Q2369311 Q102673 Q1473229 Q4286569 Q21076894 Q8069402 Q4418250 Q4461999 Q18396143 Q692440 Q15623842 Q1924338 Q647737 Q4342693 Q6414345 Q809999 Q4304201 Q18401261 Q4406106 Q757657 Q4187558 Q1141123 Q8058167 Q333760 Q628275 Q2874275 Q4860767 Q2617739 Q5411026 Q6558969 Q5377908 Q4127504 Q1781702 Q5060041 Q4261263 Q958900 Q14942040 Q2279155 Q1502763 Q777721 Q4655251 Q4150726 Q18085177 Q877529 Q4047347 Q6558800 Q4150730 Q1460895 Q16450886 Q15733690 Q2827260 Q4263938 Q21595096 Q555123 Q2524941 Q494274 Q24260325 Q583822 Q2607444 Q1881222 Q796010 Q1974994 Q11246105 Q267205 Q1818656 Q1653259 Q8083574 Q18421733 Q7389381 Q6806013 Q5350587 Q790765 Q600958 Q4155626 Q1653981 Q1551228 Q2092661 Q15856906 Q1974912 Q2631680 Q5358772
(c(Q43229),P159,Q458) (c(Q43229),P159,Q649) (c(Q43229),P159,Q216)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q43229
[ANSWERS] have their HQ location at those administrative territories
[{'concept': 'Q43229'}, 'P159', 'Q458'] [{'concept': 'Q43229'}, 'P159', 'Q649'] [{'concept': 'Q43229'}, 'P159', 'Q216']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q43229 . ?c property:P159 ?l . VALUES ( ?l ) { ( resource:Q1510724 ) ( resource:Q202736 ) ( resource:Q5425343 ) } }
Peltarion Mosgortrans Tekhsnabexport Ruspublica Commonwealth of Independent States Russky Produkt OAO Freight One ElcomSoft Aton Capital OMZ Digital Sky Technologies CROC Incorporated Bazalt DIXY Human Stem Cells Institute SUP Media TrueConf NOMOS-BANK Fast Lane Ventures Cityline TsUM NVS Telematic Systems ICT Group Golden Telecom Soho Media Kroshka Kartoshka Inter RAO Energomash Congress of Russian Communities Flashgamm SDI Media Russia Genplan Institute of Moscow United Civil Front CBOSS Corporation Mostotrest Moscow Interbank Currency Exchange Wimm-Bill-Dann Foods Transneft FGC UES Norilsk Nickel Spirit DSP Alfa Group Alfa Group Business Logic Interfax Vozrozhdenie Bank Group-IB Turner Broadcasting System Russia RBC Information Systems Dr. Web OGK-2 PIK Group Airports of Regions RusHydro Sedmoi Kontinent Mosenergo The Walt Disney Company CIS Vodohod R-1 Federation Soviet Central Television Zakharov Books Eurocement group Evrofinance Mosnarbank Lebedyansky S.P. Korolev Rocket and Space Corporation Energia Tele2 Russia Rodionov Publishing House Hobby World Russian Direct Investment Fund Cyril and Methodius (company) Rosenergoatom AZIMUT Hotels Company X5 Retail Group Rostelecom Mechel Lyulka Komus Hearst Shkulev Media RAO UES OPIN Wenrus Restaurant Group Blagosostoyanie Softline International Bolshoi Ballet Russian Foundation for Technological Development Russian Standard Corporation Eurasian Youth Union Advanced Technologies Center Costafilm Multiregional TransitTelecom Youth Yabloko Nordgold Polyus Gold SynBio Home Credit and Finance Bank Rosbank Russian Venture Company Intourist Gazprom-Media ARMZ Uranium Holding Sakura Press Cherkizovo MegaFon Eagle Dynamics NTC Module Ilyushin Sojusekspertisa Moscow City Telephone Network Rosneftegaz Chillax hostels OJSC Russian Railways Collective Security Treaty Organisation Carnegie Moscow Center Inteco OGK-1 OGK-6 Rosseti Russtroybank KrioRus Comecon News Media Rusal ABBYY Synterra Media Interros Bilenkin Classic Cars Solidarnost TerraLink Eksmo Kofe Khauz Majordomo Russian Standard Bank OAO TMK Astrum Online Entertainment Svyazinvest RusRating Buka Entertainment AlterGeo MDM Bank SUAL Group Play Ten Interactive Russian State Archive of Literature and Art WINTEC Professional Altimo Transmashholding IBA-Moscow TH&C VTB UTLC Technopromexport CreateSurvey CTC Media Ostankino RIC-Finance SU-155 Almaz-Antey Rosinter Restaurants Raiffeisenbank GSKB Almaz-Antey GFI Russia Bank of Moscow Mir Publishers Renault Russia En+ Group Yukos Zvezda RIA Novosti Aviation Equipment Holding Russian Helicopters MOESK TVEL TNK-BP WebMoney Russian Trading System FBK ZiL Renaissance Capital Russo-Balt Rovercomputers 1C-Rarus VTB Capital Gazprom Promgaz Marine Scientific Research Institute of radioelectronics Alfa-Bank Atomenergomash Rosenergomash Stroytransgaz Coal Company Zarechnaya Moscow Center of SPARC Technologies Sitronics Sky Link (Russia) Arabinform Metalloinvest United Wagon Company Bork SMP Bank Potok Sojuzpatent Soiuzplodoimport B&N Bank Russneft Gazprom Ural Automotive Plant Mega-Anime Avtoframos Zerich Siberian Coal Energy Company TransContainer Runa Capital Sollers JSC Pop Farm Gazprombank Marussia Motors Pallada Asset Management Kintech Lab Basic Element Mosmetrostroy Spetstyazhavtotrans Salym Petroleum Development Atomstroyexport Zarubezhneft Rosneft Young Guard of United Russia ISC Kosmotras CenterTelecom Aviastroitel Baring Vostok Capital Partners Vanguard of Red Youth Eurasia Drilling Company Limited Liskom Engineering – the Aviation Maintenance Holding Dukhov Research Institute of Automatics Sistema Centergazservice-opt International Money Transfers System Leader Atomenergoprom Russian National Agency for Energy Saving and Renewable Energy Rusnano Russian Post Smirnoff AZLK HMS Group Microgen Art. Lebedev Studio PRIME M.video E4 Group VP Group Forum Cinemas Vostok Europe Agrowill Group Lithuanian Film Studios Estravel Vilnius Gaumina FL Technics Omnitel LiTak-Tak Lietuvos Energija Švyturys-Utenos alus Maxima Group BITĖ Group Grigiškės Lithuania Bushido Federation Euroapotheca LEO LT UAB ICOR ŽIA valda Amber Grid SC Lithuanian Radio and Television Centre Mediafon Ekspla Avia Solutions Group NASDAQ OMX Vilnius Dvarčionių keramika Palink Teo LT Pieno žvaigždės Bitė Lietuva Apranga Snoras Elektrit
Gazprom, OJSC Russian Railways and Solidarnost have their HQ location at those administrative territories
Gazprom OJSC Russian Railways Solidarnost
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'European Union'] [{'concept': 'organization'}, 'headquarters location', 'Moscow'] [{'concept': 'organization'}, 'headquarters location', 'Vilnius']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:organization . ?c property:headquarters_location ?l . VALUES ( ?l ) { ( resource:White_Bird ) ( resource:Littlefield ) ( resource:FELDA_L.B._Johnson ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q458
P1376
Q515
USER
Which city is center of administration for that administrative territory ?
(c(Q515),P1376,Q458)
action filter_type
action find_reverse
entity Q458
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q458']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q515 . ?o property:P1376 resource:Q458 }
European Union
action filter_type
action find_reverse
entity European Union
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'European Union']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:city . ?o property:capital_of resource:European_Union }
[]
city
Clarification for simple ques.
Q458
SYSTEM
Did you mean European Union ?
Q102673 Q660770 Q1561136
(c(Q515),P1376,Q102673) (c(Q515),P1376,Q660770) (c(Q515),P1376,Q1561136)
[ANSWER]
[{'concept': 'Q515'}, 'P1376', 'Q102673'] [{'concept': 'Q515'}, 'P1376', 'Q660770'] [{'concept': 'Q515'}, 'P1376', 'Q1561136']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q515 . ?o property:P1376 resource:Q458 }
Gazprom OJSC Russian Railways Solidarnost
Did you mean European Union ?
European Union
[{'concept': 'city'}, 'capital of', 'Gazprom'] [{'concept': 'city'}, 'capital of', 'OJSC Russian Railways'] [{'concept': 'city'}, 'capital of', 'Solidarnost']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:city . ?o property:capital_of resource:European_Union }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q515),P1376,Q458)
[{'concept': 'Q515'}, 'P1376', 'Q458']
[{'concept': 'city'}, 'capital of', 'European Union']
[]
Q6602
SYSTEM
Strasbourg
Q6602
(c(Q515),P1376,Q458)
action filter_type
action find_reverse
entity Q458
relation P1376
type Q515
[ANSWER] is center of administration for that administrative territory
[{'concept': 'Q515'}, 'P1376', 'Q458']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q515 . ?o property:P1376 resource:Q458 }
Strasbourg
Strasbourg is center of administration for that administrative territory
Strasbourg
action filter_type
action find_reverse
entity European Union
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'European Union']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:city . ?o property:capital_of resource:European_Union }
[]