Simple Question (Direct)
Simple Question
Q6274282
P21
Q290
USER
What is the sex of Jonathan Rowan ?
(Q6274282,P21,c(Q290))
action filter_type
action find
entity Q6274282
relation P21
type Q290
['Q6274282', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q6274282 property:P21 ?y . ?y rdf:type ontology:Q290 }
Jonathan Rowan
action filter_type
action find
entity Jonathan Rowan
relation gender
type sex
['Jonathan Rowan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Jonathan_Rowan property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6274282,P21,c(Q290))
action filter_type
action find
entity Q6274282
relation P21
type Q290
The sex of Jonathan Rowan is a [ANSWER]
['Q6274282', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q6274282 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
The sex of Jonathan Rowan is a male
male
action filter_type
action find
entity Jonathan Rowan
relation gender
type sex
['Jonathan Rowan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Jonathan_Rowan property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6274282
P641
Q349
USER
Which sport was that person a part of ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q6274282
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q6274282 property:P641 ?z . ?z rdf:type ontology:Q349 }
Jonathan Rowan
action filter_type
action find
entity Jonathan Rowan
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Jonathan_Rowan property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q6274282
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q6274282 property:P641 ?z . ?z rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Jonathan Rowan
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Jonathan_Rowan property:sport ?z . ?z rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6274282
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q6274282
relation P19
type Q56061
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q6274282 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Jonathan Rowan
action filter_type
action find
entity Jonathan Rowan
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Jonathan_Rowan property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q179406
SYSTEM
Grimsby
Q179406
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q6274282
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q6274282 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Grimsby
Grimsby is the birthplace of that person
Grimsby
action filter_type
action find
entity Jonathan Rowan
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Jonathan_Rowan property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q179406
P17
Q15617994
USER
Which administrative territory does that administrative territory belong to ?
(Q179406,P17,c(Q15617994))
action filter_type
action find
entity Q179406
relation P17
type Q15617994
['Q179406', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q179406 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Grimsby
action filter_type
action find
entity Grimsby
relation country
type designation for an administrative territorial entity
['Grimsby', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Grimsby property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q179406,P17,c(Q15617994))
action filter_type
action find
entity Q179406
relation P17
type Q15617994
That administrative territory belongs to [ANSWER]
['Q179406', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q179406 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
United Kingdom
That administrative territory belongs to United Kingdom
United Kingdom
action filter_type
action find
entity Grimsby
relation country
type designation for an administrative territorial entity
['Grimsby', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Grimsby property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P122
Q12737077 Q22676587 Q15617994
USER
Which administrative territories have atmost 1 occupations and monarchic systems as government ?
(c(Q15617994),P122,c(Q12737077)|c(Q22676587))
action atmost
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
value 1
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:Q12737077 ) ( ontology:Q22676587 ) } } GROUP BY ?d } . FILTER ( ?b <= 1 ) }
action atmost
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:occupation ) ( ontology:monarchic_system ) } } GROUP BY ?d } . FILTER ( ?b <= 1 ) }
[]
occupation monarchic system designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q154547 Q801 Q805 Q419 Q668 Q414 Q142 Q165116 Q145 Q265 Q1130767 Q833 Q711 Q717 Q837 Q208500 Q541991 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q794 Q889 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q32 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q423 Q953 Q29999 Q153091 Q280312 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q347 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q228 Q17 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q199688 Q878 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q12737077)|c(Q22676587))
action atmost
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
value 1
[ANSWERS] have atmost 1 occupations and monarchic systems as government
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:Q12737077 ) ( ontology:Q22676587 ) } } GROUP BY ?d } . FILTER ( ?b <= 1 ) }
Federated States of Micronesia Panama duchy Israel Yemen Peru India Argentina France grand duchy United Kingdom Uzbekistan Bear Creek Village Malaysia Mongolia Venezuela Nepal principality Hummelfeld Armenia South Africa Portugal Russia Turkey Brazil Iraq Iran Afghanistan South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Luxembourg Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy North Korea Zambia Kingdom of the Netherlands Duchy of Prussia Principality of Lüneburg Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Liechtenstein Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Andorra Japan Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay Almohad United Arab Emirates Tunisia Nicaragua Cape Verde Lesotho Sudan
Italy, Brazil and United States of America have atmost 1 occupations and monarchic systems as government
Italy Brazil United States of America
action atmost
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:occupation ) ( ontology:monarchic_system ) } } GROUP BY ?d } . FILTER ( ?b <= 1 ) }
[]
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 14 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 14
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?r ) WHERE { ?s property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?r <= 14 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 14
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?r ) WHERE { ?s property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?r <= 14 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 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 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 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 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 14
[ANSWERS] have diplomatic relations with atmost 14 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?r ) WHERE { ?s property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?r <= 14 ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia 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 Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco 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 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and People's Republic of China have diplomatic relations with atmost 14 administrative territories
Netherlands Poland People's Republic of China
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 14
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?r ) WHERE { ?s property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?r <= 14 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q55 Q36 Q148
P35
Q502895
USER
Which people have the highest formal authority in those administrative territories ?
(Q55,P35,c(Q502895)) (Q36,P35,c(Q502895)) (Q148,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
['Q55', 'P35', {'concept': 'Q502895'}] ['Q36', 'P35', {'concept': 'Q502895'}] ['Q148', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?o property:P35 ?m . ?m rdf:type ontology:Q502895 . VALUES ( ?o ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Netherlands Poland People's Republic of China
action filter_type
action find
entity prev_answer
relation head of state
type common name
['Netherlands', 'head of state', {'concept': 'common name'}] ['Poland', 'head of state', {'concept': 'common name'}] ["People's Republic of China", 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?o property:head_of_state ?m . ?m rdf:type ontology:common_name . VALUES ( ?o ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
common name
Q444 Q5816 Q154946
SYSTEM
Lech Wałęsa, Mao Zedong, Juliana of the Netherlands
Q154952 Q29574 Q154946 Q150747 Q2757 Q444 Q9151911 Q55758 Q311413 Q15029 Q377935 Q17132 Q15031 Q16597 Q968038 Q16988 Q22513 Q504372 Q5816
(Q55,P35,c(Q502895)) (Q36,P35,c(Q502895)) (Q148,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
[ANSWERS] have the highest formal authority in those administrative territories
['Q55', 'P35', {'concept': 'Q502895'}] ['Q36', 'P35', {'concept': 'Q502895'}] ['Q148', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?o property:P35 ?m . ?m rdf:type ontology:Q502895 . VALUES ( ?o ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Willem-Alexander of the Netherlands Beatrix of the Netherlands Juliana of the Netherlands Wilhelmina of the Netherlands Lech Kaczyński Lech Wałęsa Andrzej Duda Aleksander Kwaśniewski Li Xiannian Hu Jintao Yang Shangkun Soong Ching-ling Xi Jinping Jiang Zemin Dong Biwu Liu Shaoqi Zhu De Ye Jianying Mao Zedong
Lech Wałęsa, Mao Zedong and Juliana of the Netherlands have the highest formal authority in those administrative territories
Lech Wałęsa Mao Zedong Juliana of the Netherlands
action filter_type
action find
entity prev_answer
relation head of state
type common name
['Netherlands', 'head of state', {'concept': 'common name'}] ['Poland', 'head of state', {'concept': 'common name'}] ["People's Republic of China", 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?o property:head_of_state ?m . ?m rdf:type ontology:common_name . VALUES ( ?o ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]