Simple Question (Direct)
Simple Question
Q10513474
P21
Q290
USER
Which sex does Lukas Mandowen possess ?
(Q10513474,P21,c(Q290))
action filter_type
action find
entity Q10513474
relation P21
type Q290
['Q10513474', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q10513474 property:P21 ?f . ?f rdf:type ontology:Q290 }
Lukas Mandowen
action filter_type
action find
entity Lukas Mandowen
relation gender
type sex
['Lukas Mandowen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Lukas_Mandowen property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q10513474,P21,c(Q290))
action filter_type
action find
entity Q10513474
relation P21
type Q290
Lukas Mandowen possesses a [ANSWER]
['Q10513474', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q10513474 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
Lukas Mandowen possesses a male
male
action filter_type
action find
entity Lukas Mandowen
relation gender
type sex
['Lukas Mandowen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Lukas_Mandowen property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10513474
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q10513474
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q10513474 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Lukas Mandowen
action filter_type
action find
entity Lukas Mandowen
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Lukas_Mandowen property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q10513474
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q10513474 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Lukas Mandowen
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Lukas_Mandowen property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q937857 Q23416771
P106
Q502895
USER
Does Elizabeth Gómez have that occupation as his/her means of employment ?
(Q23416771,P106,Q937857)
action is_in
entity Q937857
action find
entity Q23416771
relation P106
['Q23416771', 'P106', 'Q937857']
ASK WHERE { resource:Q23416771 property:P106 resource:Q937857 }
association football player Elizabeth Gómez
action is_in
entity association football player
action find
entity Elizabeth Gómez
relation occupation
['Elizabeth Gómez', 'occupation', 'association football player']
ASK WHERE { resource:Elizabeth_Gómez property:occupation resource:association_football_player }
[]
common name
SYSTEM
YES
(Q23416771,P106,Q937857)
action is_in
entity Q937857
action find
entity Q23416771
relation P106
[ANSWER]
['Q23416771', 'P106', 'Q937857']
ASK WHERE { resource:Q23416771 property:P106 resource:Q937857 }
Yes
action is_in
entity association football player
action find
entity Elizabeth Gómez
relation occupation
['Elizabeth Gómez', 'occupation', 'association football player']
ASK WHERE { resource:Elizabeth_Gómez property:occupation resource:association_football_player }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1964823 Q10513474
P27
Q15617994
USER
Which administrative territories are Lukas Mandowen or Naomi Bentley an inhabitant of ?
OR((Q10513474,P27,c(Q15617994)), (Q1964823,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q10513474
relation P27
action find
entity Q1964823
relation P27
type Q15617994
{'OR': [['Q10513474', 'P27', {'concept': 'Q15617994'}], ['Q1964823', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { ?k property:P27 ?g . VALUES ( ?k ) { ( resource:Q10513474 ) ( resource:Q1964823 ) } } }
Naomi Bentley Lukas Mandowen
action filter_type
action union
action find
entity Lukas Mandowen
relation country of citizenship
action find
entity Naomi Bentley
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Lukas Mandowen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Naomi Bentley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?k property:country_of_citizenship ?g . VALUES ( ?k ) { ( resource:Lukas_Mandowen ) ( resource:Naomi_Bentley ) } } }
[]
designation for an administrative territorial entity
Q252 Q145
SYSTEM
Indonesia, United Kingdom
Q252 Q145
OR((Q10513474,P27,c(Q15617994)), (Q1964823,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q10513474
relation P27
action find
entity Q1964823
relation P27
type Q15617994
[ANSWERS] are Lukas Mandowen or Naomi Bentley an inhabitant of
{'OR': [['Q10513474', 'P27', {'concept': 'Q15617994'}], ['Q1964823', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { ?k property:P27 ?g . VALUES ( ?k ) { ( resource:Q10513474 ) ( resource:Q1964823 ) } } }
Indonesia United Kingdom
Indonesia and United Kingdom are Lukas Mandowen or Naomi Bentley an inhabitant of
Indonesia United Kingdom
action filter_type
action union
action find
entity Lukas Mandowen
relation country of citizenship
action find
entity Naomi Bentley
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Lukas Mandowen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Naomi Bentley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?k property:country_of_citizenship ?g . VALUES ( ?k ) { ( resource:Lukas_Mandowen ) ( resource:Naomi_Bentley ) } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q27063418
P27
Q502895
USER
Are Mohammed Qasim civilians of those administrative territories ?
(Q27063418,P27,Q252) (Q27063418,P27,Q145)
action is_in
entity prev_answer
action find
entity Q27063418
relation P27
['Q27063418', 'P27', 'Q252'] ['Q27063418', 'P27', 'Q145']
ASK WHERE { VALUES ( ?p ) { ( resource:Q252 ) ( resource:Q145 ) } . resource:Q27063418 property:P27 ?p }
Mohammed Qasim
action is_in
entity prev_answer
action find
entity Mohammed Qasim
relation country of citizenship
['Mohammed Qasim', 'country of citizenship', 'Indonesia'] ['Mohammed Qasim', 'country of citizenship', 'United Kingdom']
ASK WHERE { VALUES ( ?p ) { ( resource:Indonesia ) ( resource:United_Kingdom ) } . resource:Mohammed_Qasim property:country_of_citizenship ?p }
[]
common name
SYSTEM
NO
(Q27063418,P27,Q252) (Q27063418,P27,Q145)
action is_in
entity prev_answer
action find
entity Q27063418
relation P27
[ANSWER]
['Q27063418', 'P27', 'Q252'] ['Q27063418', 'P27', 'Q145']
ASK WHERE { VALUES ( ?p ) { ( resource:Q252 ) ( resource:Q145 ) } . resource:Q27063418 property:P27 ?p }
No
action is_in
entity prev_answer
action find
entity Mohammed Qasim
relation country of citizenship
['Mohammed Qasim', 'country of citizenship', 'Indonesia'] ['Mohammed Qasim', 'country of citizenship', 'United Kingdom']
ASK WHERE { VALUES ( ?p ) { ( resource:Indonesia ) ( resource:United_Kingdom ) } . resource:Mohammed_Qasim property:country_of_citizenship ?p }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with atmost 60 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 60
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?v <= 60 ) . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?n } }
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 ?n WHERE { FILTER ( ?v <= 60 ) . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
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 atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 60
[ANSWERS] have diplomatic relationships with atmost 60 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?v <= 60 ) . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?n } }
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
Brazil, United States of America and Georgia have diplomatic relationships with atmost 60 administrative territories
Brazil United States of America Georgia
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 ?n WHERE { FILTER ( ?v <= 60 ) . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q155 Q30 Q230
P463
Q43229
USER
Which organizations were those administrative territories a member of ?
(Q155,P463,c(Q43229)) (Q30,P463,c(Q43229)) (Q230,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
['Q155', 'P463', {'concept': 'Q43229'}] ['Q30', 'P463', {'concept': 'Q43229'}] ['Q230', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?q WHERE { ?c property:P463 ?q . ?q rdf:type ontology:Q43229 . VALUES ( ?c ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } }
Brazil United States of America Georgia
action filter_type
action find
entity prev_answer
relation member of
type organization
['Brazil', 'member of', {'concept': 'organization'}] ['United States of America', 'member of', {'concept': 'organization'}] ['Georgia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?q WHERE { ?c property:member_of ?q . ?q rdf:type ontology:organization . VALUES ( ?c ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } }
[]
organization
Q151991 Q7825 Q7825
SYSTEM
European Southern Observatory for 1st, World Trade Organization for 2nd, 3rd
Q340195 Q191384 Q182500 Q123759 Q1045401 Q7825 Q656801 Q151991 Q123209 Q243630 Q827525 Q340195 Q191384 Q899770 Q41550 Q656801 Q170481 Q7825 Q827525 Q380340 Q7825
(Q155,P463,c(Q43229)) (Q30,P463,c(Q43229)) (Q230,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
[ANSWERS]
['Q155', 'P463', {'concept': 'Q43229'}] ['Q30', 'P463', {'concept': 'Q43229'}] ['Q230', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?q WHERE { ?c property:P463 ?q . ?q rdf:type ontology:Q43229 . VALUES ( ?c ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } }
African Development Bank International Bank for Reconstruction and Development Community of Portuguese Language Countries Organization of American States Community of Latin American and Caribbean States World Trade Organization International Finance Corporation European Southern Observatory Latin Union BRICS International Development Association African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation Asia-Pacific Economic Cooperation World Trade Organization International Development Association Organization of the Black Sea Economic Cooperation World Trade Organization
European Southern Observatory, World Trade Organization and World Trade Organization were those administrative territories a member of
European Southern Observatory World Trade Organization World Trade Organization
action filter_type
action find
entity prev_answer
relation member of
type organization
['Brazil', 'member of', {'concept': 'organization'}] ['United States of America', 'member of', {'concept': 'organization'}] ['Georgia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?q WHERE { ?c property:member_of ?q . ?q rdf:type ontology:organization . VALUES ( ?c ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P159
Q2088357
USER
Which musical ensembles have their head office location at United Kingdom ?
(c(Q2088357),P159,Q145)
action filter_type
action find_reverse
entity Q145
relation P159
type Q2088357
[{'concept': 'Q2088357'}, 'P159', 'Q145']
SELECT DISTINCT ?g WHERE { ?g property:P159 resource:Q145 . ?g rdf:type ontology:Q2088357 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation headquarters location
type musical ensemble
[{'concept': 'musical ensemble'}, 'headquarters location', 'United Kingdom']
SELECT DISTINCT ?g WHERE { ?g property:headquarters_location resource:United_Kingdom . ?g rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q1394100 Q7832316
SYSTEM
Torche, Traditional Youth Marching Bands Association
Q1394100 Q7832316
(c(Q2088357),P159,Q145)
action filter_type
action find_reverse
entity Q145
relation P159
type Q2088357
[ANSWERS] have their head office location at United Kingdom
[{'concept': 'Q2088357'}, 'P159', 'Q145']
SELECT DISTINCT ?g WHERE { ?g property:P159 resource:Q145 . ?g rdf:type ontology:Q2088357 }
Torche Traditional Youth Marching Bands Association
Torche and Traditional Youth Marching Bands Association have their head office location at United Kingdom
Torche Traditional Youth Marching Bands Association
action filter_type
action find_reverse
entity United Kingdom
relation headquarters location
type musical ensemble
[{'concept': 'musical ensemble'}, 'headquarters location', 'United Kingdom']
SELECT DISTINCT ?g WHERE { ?g property:headquarters_location resource:United_Kingdom . ?g rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1394100 Q7832316
P159
Q15617994
USER
Which administrative territories are the HQ of those musical ensembles ?
(Q1394100,P159,c(Q15617994)) (Q7832316,P159,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P159
type Q15617994
['Q1394100', 'P159', {'concept': 'Q15617994'}] ['Q7832316', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?r property:P159 ?c . ?c rdf:type ontology:Q15617994 . VALUES ( ?r ) { ( resource:Q1394100 ) ( resource:Q7832316 ) } }
Torche Traditional Youth Marching Bands Association
action filter_type
action find
entity prev_answer
relation headquarters location
type designation for an administrative territorial entity
['Torche', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Traditional Youth Marching Bands Association', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?r property:headquarters_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?r ) { ( resource:Torche ) ( resource:Traditional_Youth_Marching_Bands_Association ) } }
[]
designation for an administrative territorial entity
Q145 Q145
SYSTEM
United Kingdom
Q145 Q145
(Q1394100,P159,c(Q15617994)) (Q7832316,P159,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P159
type Q15617994
[ANSWER] and [ANSWER] are the HQ of those musical ensembles
['Q1394100', 'P159', {'concept': 'Q15617994'}] ['Q7832316', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?r property:P159 ?c . ?c rdf:type ontology:Q15617994 . VALUES ( ?r ) { ( resource:Q1394100 ) ( resource:Q7832316 ) } }
United Kingdom United Kingdom
United Kingdom and United Kingdom are the HQ of those musical ensembles
United Kingdom United Kingdom
action filter_type
action find
entity prev_answer
relation headquarters location
type designation for an administrative territorial entity
['Torche', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Traditional Youth Marching Bands Association', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?r property:headquarters_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?r ) { ( resource:Torche ) ( resource:Traditional_Youth_Marching_Bands_Association ) } }
[]