Simple Question (Direct)
Simple Question
Q4909954
P136
Q151885
USER
What is the genre of Bill Lowrey ?
(Q4909954,P136,c(Q151885))
action filter_type
action find
entity Q4909954
relation P136
type Q151885
['Q4909954', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q4909954 property:P136 ?z . ?z rdf:type ontology:Q151885 }
Bill Lowrey
action filter_type
action find
entity Bill Lowrey
relation genre
type concept
['Bill Lowrey', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Bill_Lowrey property:genre ?z . ?z rdf:type ontology:concept }
[]
concept
Q906647
SYSTEM
Dixieland
Q906647
(Q4909954,P136,c(Q151885))
action filter_type
action find
entity Q4909954
relation P136
type Q151885
The genre of Bill Lowrey is a [ANSWER]
['Q4909954', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q4909954 property:P136 ?z . ?z rdf:type ontology:Q151885 }
Dixieland
The genre of Bill Lowrey is a Dixieland
Dixieland
action filter_type
action find
entity Bill Lowrey
relation genre
type concept
['Bill Lowrey', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Bill_Lowrey property:genre ?z . ?z rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q906647
P495
Q15617994
USER
Which administrative territory is the origin of that concept ?
(Q906647,P495,c(Q15617994))
action filter_type
action find
entity Q906647
relation P495
type Q15617994
['Q906647', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q906647 property:P495 ?o }
Dixieland
action filter_type
action find
entity Dixieland
relation country of origin
type designation for an administrative territorial entity
['Dixieland', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Dixieland property:country_of_origin ?o }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q906647,P495,c(Q15617994))
action filter_type
action find
entity Q906647
relation P495
type Q15617994
The [ANSWER] is the origin of that concept
['Q906647', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q906647 property:P495 ?o }
United States of America
The United States of America is the origin of that concept
United States of America
action filter_type
action find
entity Dixieland
relation country of origin
type designation for an administrative territorial entity
['Dixieland', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Dixieland property:country_of_origin ?o }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with atmost 24 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 24
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?x ) WHERE { ?h property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?x <= 24 ) }
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 24
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?x ) WHERE { ?h property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?x <= 24 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q142
SYSTEM
Georgia, Netherlands, France
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 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 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 24
[ANSWERS] have a diplomatic relationship with atmost 24 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?x ) WHERE { ?h property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?x <= 24 ) }
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 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 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
Georgia, Netherlands and France have a diplomatic relationship with atmost 24 administrative territories
Georgia Netherlands France
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 24
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?x ) WHERE { ?h property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?x <= 24 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q230 Q55 Q142
P463
Q874405
USER
Which organizations were those administrative territories a member of ?
(Q230,P463,c(Q874405)) (Q55,P463,c(Q874405)) (Q142,P463,c(Q874405))
action filter_type
action find
entity prev_answer
relation P463
type Q874405
['Q230', 'P463', {'concept': 'Q874405'}] ['Q55', 'P463', {'concept': 'Q874405'}] ['Q142', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { ?g property:P463 ?d . ?d rdf:type ontology:Q874405 . VALUES ( ?g ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } }
Georgia Netherlands France
action filter_type
action find
entity prev_answer
relation member of
type social group
['Georgia', 'member of', {'concept': 'social group'}] ['Netherlands', 'member of', {'concept': 'social group'}] ['France', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { ?g property:member_of ?d . ?d rdf:type ontology:social_group . VALUES ( ?g ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } }
[]
social group
Q8908 Q8908 Q41984
SYSTEM
Council of Europe for 1st, 2nd, International Atomic Energy Agency for 3rd
Q8908 Q406558 Q8908 Q1069175 Q376150 Q41984 Q782942 Q8932 Q694772 Q848633 Q8908 Q782942
(Q230,P463,c(Q874405)) (Q55,P463,c(Q874405)) (Q142,P463,c(Q874405))
action filter_type
action find
entity prev_answer
relation P463
type Q874405
[ANSWERS]
['Q230', 'P463', {'concept': 'Q874405'}] ['Q55', 'P463', {'concept': 'Q874405'}] ['Q142', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { ?g property:P463 ?d . ?d rdf:type ontology:Q874405 . VALUES ( ?g ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } }
Council of Europe Accreditation Organisation of the Netherlands and Flanders Council of Europe International Federation of Red Cross and Red Crescent Societies International Telecommunication Union International Atomic Energy Agency Australia Group European Economic Area United Nations Peacekeeping Force in Cyprus International Chamber of Commerce Council of Europe Australia Group
Council of Europe, Council of Europe and International Atomic Energy Agency were those administrative territories a member of
Council of Europe Council of Europe International Atomic Energy Agency
action filter_type
action find
entity prev_answer
relation member of
type social group
['Georgia', 'member of', {'concept': 'social group'}] ['Netherlands', 'member of', {'concept': 'social group'}] ['France', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { ?g property:member_of ?d . ?d rdf:type ontology:social_group . VALUES ( ?g ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8908
P159
Q515
USER
Where is the headquarter of Council of Europe located ?
(Q8908,P159,c(Q515))
action filter_type
action find
entity Q8908
relation P159
type Q515
['Q8908', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q8908 property:P159 ?x . ?x rdf:type ontology:Q515 }
Council of Europe
action filter_type
action find
entity Council of Europe
relation headquarters location
type city
['Council of Europe', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Council_of_Europe property:headquarters_location ?x . ?x rdf:type ontology:city }
[]
city
Q6602
SYSTEM
Strasbourg
Q6602
(Q8908,P159,c(Q515))
action filter_type
action find
entity Q8908
relation P159
type Q515
The headquarter of Council of Europe is located in [ANSWER]
['Q8908', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q8908 property:P159 ?x . ?x rdf:type ontology:Q515 }
Strasbourg
The headquarter of Council of Europe is located in Strasbourg
Strasbourg
action filter_type
action find
entity Council of Europe
relation headquarters location
type city
['Council of Europe', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Council_of_Europe property:headquarters_location ?x . ?x rdf:type ontology:city }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q284454
Q515
USER
And also tell me about Pakistan Tehreek-e-Insaf?
(Q284454,P159,c(Q515))
action filter_type
action find
entity Q284454
relation P159
type Q515
['Q284454', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { resource:Q284454 property:P159 ?b . ?b rdf:type ontology:Q515 }
Pakistan Tehreek-e-Insaf
action filter_type
action find
entity Pakistan Tehreek-e-Insaf
relation headquarters location
type city
['Pakistan Tehreek-e-Insaf', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { resource:Pakistan_Tehreek-e-Insaf property:headquarters_location ?b . ?b rdf:type ontology:city }
[]
city
Q1362
SYSTEM
Islamabad
Q1362
(Q284454,P159,c(Q515))
action filter_type
action find
entity Q284454
relation P159
type Q515
[ANSWER]
['Q284454', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { resource:Q284454 property:P159 ?b . ?b rdf:type ontology:Q515 }
Islamabad
Islamabad
action filter_type
action find
entity Pakistan Tehreek-e-Insaf
relation headquarters location
type city
['Pakistan Tehreek-e-Insaf', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { resource:Pakistan_Tehreek-e-Insaf property:headquarters_location ?b . ?b rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1362 Q3130 Q956
P190
Q56061
USER
Is that city twin town of Sydney and Beijing ?
(Q1362,P190,Q3130) (Q1362,P190,Q956)
action is_in
entity Q1362
action intersection
action find_reverse
entity Q3130
relation P190
action find_reverse
entity Q956
relation P190
['Q1362', 'P190', 'Q3130'] ['Q1362', 'P190', 'Q956']
ASK WHERE { resource:Q1362 property:P190 resource:Q3130 . resource:Q1362 property:P190 resource:Q956 }
Islamabad Sydney Beijing
action is_in
entity Islamabad
action intersection
action find_reverse
entity Sydney
relation sister city
action find_reverse
entity Beijing
relation sister city
['Islamabad', 'sister city', 'Sydney'] ['Islamabad', 'sister city', 'Beijing']
ASK WHERE { resource:Islamabad property:sister_city resource:Sydney . resource:Islamabad property:sister_city resource:Beijing }
[]
administrative territorial entity
SYSTEM
YES
(Q1362,P190,Q3130) (Q1362,P190,Q956)
action is_in
entity Q1362
action intersection
action find_reverse
entity Q3130
relation P190
action find_reverse
entity Q956
relation P190
[ANSWER]
['Q1362', 'P190', 'Q3130'] ['Q1362', 'P190', 'Q956']
ASK WHERE { resource:Q1362 property:P190 resource:Q3130 . resource:Q1362 property:P190 resource:Q956 }
Yes
action is_in
entity Islamabad
action intersection
action find_reverse
entity Sydney
relation sister city
action find_reverse
entity Beijing
relation sister city
['Islamabad', 'sister city', 'Sydney'] ['Islamabad', 'sister city', 'Beijing']
ASK WHERE { resource:Islamabad property:sister_city resource:Sydney . resource:Islamabad property:sister_city resource:Beijing }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P355
Q874405 Q43229 Q1269299
USER
How many social groups are exactly 1 organizations or business organizations the parent company of ?
(c(Q43229)|c(Q1269299),P355,c(Q874405))
action count
action equal
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q43229
action find_reverse_tuple_counts
relation P355
type Q874405
type Q1269299
value 1
[[{'concept': 'Q43229'}, {'concept': 'Q1269299'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?a WHERE { { ?r property:P355 ?a . ?a rdf:type ontology:Q874405 . ?r rdf:type ontology:Q43229 } UNION { ?a rdf:type ontology:Q874405 . ?r rdf:type ontology:Q1269299 . ?r property:P355 ?a } } GROUP BY ?a } . FILTER ( ?n = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type organization
action find_reverse_tuple_counts
relation subsidiary
type social group
type type of business entity
value 1
[[{'concept': 'organization'}, {'concept': 'type of business entity'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?a WHERE { { ?r property:subsidiary ?a . ?a rdf:type ontology:social_group . ?r rdf:type ontology:organization } UNION { ?a rdf:type ontology:social_group . ?r rdf:type ontology:type_of_business_entity . ?r property:subsidiary ?a } } GROUP BY ?a } . FILTER ( ?n = 1 ) }
[]
social group organization type of business entity
SYSTEM
24
Q751152 Q1114200 Q11788418 Q4929965 Q82610 Q13431465 Q2860866 Q4698479 Q3519460 Q14623752 Q2044206 Q1203555 Q2543504 Q3913196 Q3435621 Q5892736 Q4698480 Q1377855 Q477386 Q408396 Q11722823 Q14334150 Q1411739 Q10955989
(c(Q43229)|c(Q1269299),P355,c(Q874405))
action count
action equal
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q43229
action find_reverse_tuple_counts
relation P355
type Q874405
type Q1269299
value 1
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q1269299'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?a WHERE { { ?r property:P355 ?a . ?a rdf:type ontology:Q874405 . ?r rdf:type ontology:Q43229 } UNION { ?a rdf:type ontology:Q874405 . ?r rdf:type ontology:Q1269299 . ?r property:P355 ?a } } GROUP BY ?a } . FILTER ( ?n = 1 ) }
Astrium Services Picnik NWR Karbonia Blue Triangle Newport News Shipbuilding Thales Air Defence Areva TA Airbus ProSky Thales Underwater Systems Pink BH PIK Vrbovec Deutsche Messe AG Saturn Thales Nederland Elektrárna Dětmarovice Honda Taiwan Airbus Operations S.A.S. Google.org EADS Astrium Space Transportation Airbus Transport International Centrum Holdings MediaCorp Raintree Pictures Time Inc. Media Asia Film Distribution Company
24
action count
action equal
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type organization
action find_reverse_tuple_counts
relation subsidiary
type social group
type type of business entity
value 1
[[{'concept': 'organization'}, {'concept': 'type of business entity'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?a WHERE { { ?r property:subsidiary ?a . ?a rdf:type ontology:social_group . ?r rdf:type ontology:organization } UNION { ?a rdf:type ontology:social_group . ?r rdf:type ontology:type_of_business_entity . ?r property:subsidiary ?a } } GROUP BY ?a } . FILTER ( ?n = 1 ) }
[]