Simple Question (Direct)
Simple Question
Q4331289
P27
Q15617994
USER
Which administrative territory is Samuel Ogunsania an inhabitant of ?
(Q4331289,P27,c(Q15617994))
action filter_type
action find
entity Q4331289
relation P27
type Q15617994
['Q4331289', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q4331289 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Samuel Ogunsania
action filter_type
action find
entity Samuel Ogunsania
relation country of citizenship
type designation for an administrative territorial entity
['Samuel Ogunsania', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Samuel_Ogunsania property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1033
SYSTEM
Nigeria
Q1033
(Q4331289,P27,c(Q15617994))
action filter_type
action find
entity Q4331289
relation P27
type Q15617994
[ANSWER] is Samuel Ogunsania an inhabitant of
['Q4331289', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q4331289 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Nigeria
Nigeria is Samuel Ogunsania an inhabitant of
Nigeria
action filter_type
action find
entity Samuel Ogunsania
relation country of citizenship
type designation for an administrative territorial entity
['Samuel Ogunsania', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Samuel_Ogunsania property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4331289
P21
Q290
USER
Which sex does Samuel Ogunsania possess ?
(Q4331289,P21,c(Q290))
action filter_type
action find
entity Q4331289
relation P21
type Q290
['Q4331289', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q4331289 property:P21 ?z . ?z rdf:type ontology:Q290 }
Samuel Ogunsania
action filter_type
action find
entity Samuel Ogunsania
relation gender
type sex
['Samuel Ogunsania', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Samuel_Ogunsania property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4331289,P21,c(Q290))
action filter_type
action find
entity Q4331289
relation P21
type Q290
Samuel Ogunsania possesses un [ANSWER]
['Q4331289', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q4331289 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
Samuel Ogunsania possesses un male
male
action filter_type
action find
entity Samuel Ogunsania
relation gender
type sex
['Samuel Ogunsania', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Samuel_Ogunsania property:gender ?z . ?z rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P180
Q340169 Q3305213
USER
How many medias and paintings depict that sex ?
(c(Q340169),P180,Q6581097) (c(Q3305213),P180,Q6581097) (c(Q340169),P180,Q6581097) (c(Q3305213),P180,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q340169
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[{'concept': 'Q340169'}, 'P180', 'Q6581097'] [{'concept': 'Q3305213'}, 'P180', 'Q6581097'] [{'concept': 'Q340169'}, 'P180', 'Q6581097'] [{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n rdf:type ?t . VALUES ( ?t ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } }
action count
action union
action filter_type
action find_reverse
entity male
relation depicts
type media
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'media'}, 'depicts', 'male'] [{'concept': 'painting'}, 'depicts', 'male'] [{'concept': 'media'}, 'depicts', 'male'] [{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n rdf:type ?t . VALUES ( ?t ) { ( ontology:painting ) ( ontology:media ) } }
[]
media painting
SYSTEM
1 medias and 1 paintings
Q18713957 Q20020115
(c(Q340169),P180,Q6581097) (c(Q3305213),P180,Q6581097) (c(Q340169),P180,Q6581097) (c(Q3305213),P180,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q340169
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[ANSWER]
[{'concept': 'Q340169'}, 'P180', 'Q6581097'] [{'concept': 'Q3305213'}, 'P180', 'Q6581097'] [{'concept': 'Q340169'}, 'P180', 'Q6581097'] [{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n rdf:type ?t . VALUES ( ?t ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } }
Raja Surendra Vikram Shah at the age of 15 with his prime minister Portrait of a Young Man
1 medias and 1 paintings
action count
action union
action filter_type
action find_reverse
entity male
relation depicts
type media
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'media'}, 'depicts', 'male'] [{'concept': 'painting'}, 'depicts', 'male'] [{'concept': 'media'}, 'depicts', 'male'] [{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n rdf:type ?t . VALUES ( ?t ) { ( ontology:painting ) ( ontology:media ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q1048835 Q15617994
USER
How many administrative territories have diplomatic relationships with approximately 1 political territories and administrative territories ?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 1
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) ?k WHERE { { ?h property:P530 ?k . ?h rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } UNION { ?h rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 . ?h property:P530 ?k } } GROUP BY ?k } }
action count
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 1
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) ?k WHERE { { ?h property:diplomatic_relation ?k . ?h rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?k } } GROUP BY ?k } }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
150
Q702 Q804 Q800 Q419 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 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 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 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 1
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) ?k WHERE { { ?h property:P530 ?k . ?h rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } UNION { ?h rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 . ?h property:P530 ?k } } GROUP BY ?k } }
Federated States of Micronesia Panama Costa Rica Peru Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal 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 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 Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand
150
action count
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 1
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) ?k WHERE { { ?h property:diplomatic_relation ?k . ?h rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?k } } GROUP BY ?k } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6581097 Q6581072
P21
Q502895
USER
How many people are a male and female ?
(c(Q502895),P21,Q6581097) (c(Q502895),P21,Q6581072)
action count
action intersection
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q502895
[{'concept': 'Q502895'}, 'P21', 'Q6581097'] [{'concept': 'Q502895'}, 'P21', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:P21 resource:Q6581097 . ?z rdf:type ontology:Q502895 . ?z property:P21 resource:Q6581072 . ?z rdf:type ontology:Q502895 }
male female
action count
action intersection
action filter_type
action find_reverse
entity male
relation gender
type common name
action filter_type
action find_reverse
entity female
relation gender
type common name
[{'concept': 'common name'}, 'gender', 'male'] [{'concept': 'common name'}, 'gender', 'female']
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:gender resource:male . ?z rdf:type ontology:common_name . ?z property:gender resource:female . ?z rdf:type ontology:common_name }
[]
common name
SYSTEM
114
Q12966459 Q24500675 Q17600942 Q3260705 Q5874237 Q21391750 Q17225819 Q21258362 Q16941580 Q16733519 Q11622868 Q6702791 Q10263785 Q6571041 Q16165783 Q16732132 Q24264223 Q20401379 Q20119921 Q2312612 Q16164967 Q19357604 Q6555624 Q12586819 Q23698979 Q17628096 Q22342662 Q525066 Q9544977 Q503007 Q22280111 Q22102078 Q5482749 Q21392153 Q201204 Q10281088 Q442804 Q16767898 Q22570074 Q21601127 Q12403076 Q14432239 Q12734885 Q734662 Q22808784 Q24034956 Q19957341 Q6258596 Q22236117 Q11379959 Q24807469 Q21857402 Q5972494 Q5569499 Q11449790 Q2379965 Q3575012 Q3764762 Q7377573 Q20068820 Q6031433 Q21794041 Q6438624 Q25768293 Q19448005 Q21503040 Q17148031 Q11604340 Q17158335 Q11815936 Q17364527 Q22280435 Q15934058 Q18559837 Q11201210 Q25748324 Q459844 Q22001922 Q3291942 Q17621841 Q20980163 Q23416861 Q11531266 Q4255661 Q22675675 Q528434 Q237726 Q74813 Q2668396 Q298423 Q22073991 Q503575 Q453573 Q22095108 Q242700 Q18049905 Q26921704 Q2882250 Q18346977 Q2939204 Q3809749 Q12685049 Q21033490 Q5856706 Q6003690 Q4979792 Q12613187 Q7849225 Q16582167 Q19543099 Q16865281 Q15807938 Q12872947 Q15433626
(c(Q502895),P21,Q6581097) (c(Q502895),P21,Q6581072)
action count
action intersection
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P21', 'Q6581097'] [{'concept': 'Q502895'}, 'P21', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:P21 resource:Q6581097 . ?z rdf:type ontology:Q502895 . ?z property:P21 resource:Q6581072 . ?z rdf:type ontology:Q502895 }
Kim Ju-yeong Amadeus Serafini Gert Portael Louis-Marie Autissier Hom Nguyen George Mather Luer Hajime Hyakkoku Dominique Van Der Straeten Antonio Merayo Ali Nuhu Kodai Fujii Luli Bitri Dalmau IV de Rocabertí Diemut Theato America Sanchez Robin Mathews Milko Tokola Hakima El Haite Lee Parkhill Floris Meydam Ivan Almeida Hamda Khamis Hana Shezifi Gilgun Elmo Jankari Rafeef Ziadah Magdalena Mayr Liss Eriksson Lilly Wachowski Andreja Pejić Yengkhom Roma Letebrhan Haylay Gebreslasea Francis Wheatley Jian-Huan Yang Dana International Fenedy Masauvakalo Anna Grodzka Chanmi Elisabeth Ullmann Marina Lampraki-Plaka Ángel Martínez Ortega Benny Motzfeldt Maria-Magdalena Zaharescu Joan de Munchensi Annegret Kuhn Jaki Irvine Tinne De Caigny John Spaulding Colombe Marcasiano Kazue Itō Kudirat Akhigbe Miska Humaloja Leeland Dayton Mooring Glenys Barton Terunobu Utsunomiya Thomas Beatie Zdeněk Koubek Shamshad Begum Rudy Autio Lesya Nikityuk Matthew W. Taylor Jelizaveta Potapova Gaz Beadle Shagdaryn Bira Juan Illas y Vidal Kenneth Neil Maria Espinalt i Font Akira Yoneda Songhaye Petia Stawrewa Ángel Tejeda Sun Vandeth Matsudaira Yoshiko Mirabel Topham Asmik Grigorian K. T. Rama Rao Norah Al Faiz Suzanne Schulting Marie-Joseph Charles des Acres de l'Aigle Marta Linares Engel Reimers Ivica Mavrenski Miki Matsumoto Adolfine Therese Leander-Flodin Nikola Jakadofsky Daniele Hypólito Rosalba Carriera Mina Caputo Parinya Charoenphol Chelsea Manning Saalumarada Thimmakka Cesare Nebbia Vicki Richter Taofik Adegbite Naima Mora Stanisława Witekowa Jean-Marie Aleokol Mabieme Jingjing Wang Jan Norback Carlo Guasco Jaiyah Saelua Chew Mei Fun Silke Weitendorf Ingel Fallstedt María Elena Orantes Emma Josepha Sparre Lee Hye-jin Kim Ye-ri Jorge Garate Ionna Stephanopoli Choi Jung-moon Elvire De Bruyn Frosso Kiaou Florence Randal Livesay
114
action count
action intersection
action filter_type
action find_reverse
entity male
relation gender
type common name
action filter_type
action find_reverse
entity female
relation gender
type common name
[{'concept': 'common name'}, 'gender', 'male'] [{'concept': 'common name'}, 'gender', 'female']
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:gender resource:male . ?z rdf:type ontology:common_name . ?z property:gender resource:female . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6581097
P106
Q502895
USER
Which person has career as male ?
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P106 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation occupation
type common name
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:occupation resource:male }
[]
common name
Q24877298
SYSTEM
Antonín Straka
Q24877298
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[ANSWER] has career as male
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P106 resource:Q6581097 }
Antonín Straka
Antonín Straka has career as male
Antonín Straka
action filter_type
action find_reverse
entity male
relation occupation
type common name
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:occupation resource:male }
[]