Simple Question (Direct)
Simple Question
Q619169
P641
Q349
USER
What did John Chibuike participate in ?
(Q619169,P641,c(Q349))
action filter_type
action find
entity Q619169
relation P641
type Q349
['Q619169', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q619169 property:P641 ?t . ?t rdf:type ontology:Q349 }
John Chibuike
action filter_type
action find
entity John Chibuike
relation sport
type sport
['John Chibuike', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:John_Chibuike property:sport ?t . ?t rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q619169,P641,c(Q349))
action filter_type
action find
entity Q619169
relation P641
type Q349
John Chibuike participated in [ANSWER]
['Q619169', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q619169 property:P641 ?t . ?t rdf:type ontology:Q349 }
association football
John Chibuike participated in association football
association football
action filter_type
action find
entity John Chibuike
relation sport
type sport
['John Chibuike', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:John_Chibuike property:sport ?t . ?t rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q619169
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q619169
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q619169 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
John Chibuike
action filter_type
action find
entity John Chibuike
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:John_Chibuike property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1033
SYSTEM
Nigeria
Q1033
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q619169
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q619169 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Nigeria
Nigeria is the country of citizenship of that person
Nigeria
action filter_type
action find
entity John Chibuike
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:John_Chibuike property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with atmost 60 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 60
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?r <= 60 ) }
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 60
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?r <= 60 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
165
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 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 Q17 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 count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 60
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?r <= 60 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America 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 Japan 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
165
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 60
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?r <= 60 ) }
[]
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 ?h WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?e ) { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?c ) WHERE { ?d property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?d } } . { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?k ) WHERE { ?h property:P530 ?j . ?h rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?k = ?e ) }
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 ?h WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?e ) { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?c ) WHERE { ?d property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } } . { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?k ) WHERE { ?h property:diplomatic_relation ?j . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?k = ?e ) }
[]
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 ?h WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?e ) { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?c ) WHERE { ?d property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?d } } . { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?k ) WHERE { ?h property:P530 ?j . ?h rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?k = ?e ) }
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 ?h WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?e ) { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?c ) WHERE { ?d property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } } . { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?k ) WHERE { ?h property:diplomatic_relation ?j . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?k = ?e ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q29999
P127
Q43229
USER
Which organization is owned by that administrative territory ?
(c(Q43229),P127,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P127
type Q43229
[{'concept': 'Q43229'}, 'P127', 'Q29999']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q43229 . ?m property:P127 resource:Q29999 }
Kingdom of the Netherlands
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', 'Kingdom of the Netherlands']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:organization . ?m property:owned_by resource:Kingdom_of_the_Netherlands }
[]
organization
Clarification for simple ques.
Q929
SYSTEM
Did you mean Central African Republic ?
Q929 Q29999 Q232
(c(Q43229),P127,Q929) (c(Q43229),P127,Q29999) (c(Q43229),P127,Q232)
[ANSWER]
[{'concept': 'Q43229'}, 'P127', 'Q929'] [{'concept': 'Q43229'}, 'P127', 'Q29999'] [{'concept': 'Q43229'}, 'P127', 'Q232']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q43229 . ?m property:P127 resource:Q29999 }
Central African Republic Kingdom of the Netherlands Kazakhstan
Did you mean Central African Republic ?
Central African Republic
[{'concept': 'organization'}, 'owned by', 'Central African Republic'] [{'concept': 'organization'}, 'owned by', 'Kingdom of the Netherlands'] [{'concept': 'organization'}, 'owned by', 'Kazakhstan']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:organization . ?m property:owned_by resource:Kingdom_of_the_Netherlands }
[]
Simple Question (Coreferenced)
USER
No, I meant Kingdom of the Netherlands. Could you tell me the answer for that?
(c(Q43229),P127,Q29999)
Q29999
[{'concept': 'Q43229'}, 'P127', 'Q29999']
[{'concept': 'organization'}, 'owned by', 'Kingdom of the Netherlands']
[]
Q287471
SYSTEM
ABN AMRO
Q287471
(c(Q43229),P127,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P127
type Q43229
[ANSWER] is owned by that administrative territory
[{'concept': 'Q43229'}, 'P127', 'Q29999']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q43229 . ?m property:P127 resource:Q29999 }
ABN AMRO
ABN AMRO is owned by that administrative territory
ABN AMRO
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', 'Kingdom of the Netherlands']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:organization . ?m property:owned_by resource:Kingdom_of_the_Netherlands }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q287471 Q52286
P127
Q15617994
USER
Did Ferrandina own ABN AMRO ?
(Q287471,P127,Q52286)
action is_in
entity Q52286
action find
entity Q287471
relation P127
['Q287471', 'P127', 'Q52286']
ASK WHERE { resource:Q287471 property:P127 resource:Q52286 }
ABN AMRO Ferrandina
action is_in
entity Ferrandina
action find
entity ABN AMRO
relation owned by
['ABN AMRO', 'owned by', 'Ferrandina']
ASK WHERE { resource:ABN_AMRO property:owned_by resource:Ferrandina }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q287471,P127,Q52286)
action is_in
entity Q52286
action find
entity Q287471
relation P127
[ANSWER]
['Q287471', 'P127', 'Q52286']
ASK WHERE { resource:Q287471 property:P127 resource:Q52286 }
No
action is_in
entity Ferrandina
action find
entity ABN AMRO
relation owned by
['ABN AMRO', 'owned by', 'Ferrandina']
ASK WHERE { resource:ABN_AMRO property:owned_by resource:Ferrandina }
[]