Simple Question (Direct)
Simple Question
Q6128769
P27
Q15617994
USER
Which administrative territory is Yuta Someya a civilian of ?
(Q6128769,P27,c(Q15617994))
action filter_type
action find
entity Q6128769
relation P27
type Q15617994
['Q6128769', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q6128769 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Yuta Someya
action filter_type
action find
entity Yuta Someya
relation country of citizenship
type designation for an administrative territorial entity
['Yuta Someya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Yuta_Someya property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q6128769,P27,c(Q15617994))
action filter_type
action find
entity Q6128769
relation P27
type Q15617994
[ANSWER] is Yuta Someya a civilian of
['Q6128769', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q6128769 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Japan
Japan is Yuta Someya a civilian of
Japan
action filter_type
action find
entity Yuta Someya
relation country of citizenship
type designation for an administrative territorial entity
['Yuta Someya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Yuta_Someya property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6128769
P641
Q349
USER
What did Yuta Someya participate in ?
(Q6128769,P641,c(Q349))
action filter_type
action find
entity Q6128769
relation P641
type Q349
['Q6128769', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q6128769 property:P641 ?q . ?q rdf:type ontology:Q349 }
Yuta Someya
action filter_type
action find
entity Yuta Someya
relation sport
type sport
['Yuta Someya', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Yuta_Someya property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6128769,P641,c(Q349))
action filter_type
action find
entity Q6128769
relation P641
type Q349
Yuta Someya participated in [ANSWER]
['Q6128769', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q6128769 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
Yuta Someya participated in association football
association football
action filter_type
action find
entity Yuta Someya
relation sport
type sport
['Yuta Someya', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Yuta_Someya property:sport ?q . ?q rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q349 Q502895 Q43229
USER
Which sports do greater number of people and organizations belong to than that sport ?
(c(Q502895)|c(Q43229),P101,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q502895
type Q43229
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?q > ?t ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:P101 resource:Q2736 . { { ?c rdf:type ontology:Q502895 } UNION { ?c rdf:type ontology:Q43229 } } } } . { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?q ) WHERE { { ?o property:P101 ?i . ?i rdf:type ontology:Q349 . ?o rdf:type ontology:Q43229 } UNION { ?o property:P101 ?i . ?i rdf:type ontology:Q349 . ?o rdf:type ontology:Q502895 } } GROUP BY ?i } }
action greater
action union
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?q > ?t ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:field_of_work resource:association_football . { { ?c rdf:type ontology:common_name } UNION { ?c rdf:type ontology:organization } } } } . { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?q ) WHERE { { ?o property:field_of_work ?i . ?i rdf:type ontology:sport . ?o rdf:type ontology:organization } UNION { ?o property:field_of_work ?i . ?i rdf:type ontology:sport . ?o rdf:type ontology:common_name } } GROUP BY ?i } }
[]
sport common name organization
Q4543 Q500050
SYSTEM
beach volleyball, cross country running
Q4543 Q500050
(c(Q502895)|c(Q43229),P101,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q502895
type Q43229
And [ANSWERS] greater number of people and organizations belong to than that sport
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?q > ?t ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:P101 resource:Q2736 . { { ?c rdf:type ontology:Q502895 } UNION { ?c rdf:type ontology:Q43229 } } } } . { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?q ) WHERE { { ?o property:P101 ?i . ?i rdf:type ontology:Q349 . ?o rdf:type ontology:Q43229 } UNION { ?o property:P101 ?i . ?i rdf:type ontology:Q349 . ?o rdf:type ontology:Q502895 } } GROUP BY ?i } }
beach volleyball cross country running
And beach volleyball and cross country running greater number of people and organizations belong to than that sport
beach volleyball cross country running
action greater
action union
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?q > ?t ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:field_of_work resource:association_football . { { ?c rdf:type ontology:common_name } UNION { ?c rdf:type ontology:organization } } } } . { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?q ) WHERE { { ?o property:field_of_work ?i . ?i rdf:type ontology:sport . ?o rdf:type ontology:organization } UNION { ?o property:field_of_work ?i . ?i rdf:type ontology:sport . ?o rdf:type ontology:common_name } } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q39
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with lesser number of administrative territories than Switzerland ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q39
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { FILTER ( ?h < ?v ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q39 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?h ) WHERE { ?j property:P530 ?g . ?g rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?g } }
Switzerland
action count
action less
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 Switzerland
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 ( ?g ) AS ?k ) WHERE { FILTER ( ?h < ?v ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Switzerland property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?h ) WHERE { ?j property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
103
Q702 Q804 Q800 Q419 Q55 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q792 Q790 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1027 Q1020 Q189 Q842 Q184 Q1029 Q1028 Q736 Q786 Q225 Q221 Q96 Q229 Q902 Q1036 Q1037 Q1032 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q117 Q754 Q750 Q217 Q214 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q39
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { FILTER ( ?h < ?v ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q39 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?h ) WHERE { ?j property:P530 ?g . ?g rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?g } }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad El Salvador Haiti South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Mauritius Malawi Iceland Oman Belarus Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Niger Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ghana Trinidad and Tobago Bolivia Republic of Moldova Slovakia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia Thailand
103
action count
action less
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 Switzerland
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 ( ?g ) AS ?k ) WHERE { FILTER ( ?h < ?v ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Switzerland property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?h ) WHERE { ?j property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with atmost 48 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 48
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?l <= 48 ) }
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 48
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?l <= 48 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q230 Q159
SYSTEM
United States of America, Georgia, Russia
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 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 atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 48
[ANSWERS] have diplomatic relations with atmost 48 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?l <= 48 ) }
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 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
United States of America, Georgia and Russia have diplomatic relations with atmost 48 administrative territories
United States of America Georgia Russia
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 48
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?l <= 48 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q30 Q230 Q159
P463
Q484652
USER
Which international organizations were those administrative territories a member of ?
(Q30,P463,c(Q484652)) (Q230,P463,c(Q484652)) (Q159,P463,c(Q484652))
action filter_type
action find
entity prev_answer
relation P463
type Q484652
['Q30', 'P463', {'concept': 'Q484652'}] ['Q230', 'P463', {'concept': 'Q484652'}] ['Q159', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q484652 . ?p property:P463 ?y . VALUES ( ?p ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } }
United States of America Georgia Russia
action filter_type
action find
entity prev_answer
relation member of
type international organization
['United States of America', 'member of', {'concept': 'international organization'}] ['Georgia', 'member of', {'concept': 'international organization'}] ['Russia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:international_organization . ?p property:member_of ?y . VALUES ( ?p ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } }
[]
international organization
Q81299 Q81299 Q81299
SYSTEM
Organization for Security and Co-operation in Europe
Q81299 Q1043527 Q1065 Q37143 Q188822 Q674182 Q842490 Q19771 Q7184 Q81299 Q1065 Q326816 Q81299 Q1065 Q1043527 Q19771 Q37143 Q674182 Q8475 Q789769 Q166110
(Q30,P463,c(Q484652)) (Q230,P463,c(Q484652)) (Q159,P463,c(Q484652))
action filter_type
action find
entity prev_answer
relation P463
type Q484652
[ANSWER], [ANSWER] and [ANSWER] were those administrative territories a member of
['Q30', 'P463', {'concept': 'Q484652'}] ['Q230', 'P463', {'concept': 'Q484652'}] ['Q159', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q484652 . ?p property:P463 ?y . VALUES ( ?p ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } }
Organization for Security and Co-operation in Europe Multilateral Investment Guarantee Agency United Nations G8 Asian Development Bank Arctic Council Organisation for the Prohibition of Chemical Weapons G20 North Atlantic Treaty Organisation Organization for Security and Co-operation in Europe United Nations GUAM Organization for Democracy and Economic Development Organization for Security and Co-operation in Europe United Nations Multilateral Investment Guarantee Agency G20 G8 Arctic Council Interpol Council of the Baltic Sea States Union State
Organization for Security and Co-operation in Europe, Organization for Security and Co-operation in Europe and Organization for Security and Co-operation in Europe were those administrative territories a member of
Organization for Security and Co-operation in Europe Organization for Security and Co-operation in Europe Organization for Security and Co-operation in Europe
action filter_type
action find
entity prev_answer
relation member of
type international organization
['United States of America', 'member of', {'concept': 'international organization'}] ['Georgia', 'member of', {'concept': 'international organization'}] ['Russia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:international_organization . ?p property:member_of ?y . VALUES ( ?p ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } }
[]