Simple Question (Direct)
Simple Question
Q1396192
P21
Q290
USER
What is the sex of Gilbert Teodoro ?
(Q1396192,P21,c(Q290))
action filter_type
action find
entity Q1396192
relation P21
type Q290
['Q1396192', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q1396192 property:P21 ?m . ?m rdf:type ontology:Q290 }
Gilbert Teodoro
action filter_type
action find
entity Gilbert Teodoro
relation gender
type sex
['Gilbert Teodoro', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Gilbert_Teodoro property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1396192,P21,c(Q290))
action filter_type
action find
entity Q1396192
relation P21
type Q290
The sex of Gilbert Teodoro is a [ANSWER]
['Q1396192', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q1396192 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
The sex of Gilbert Teodoro is a male
male
action filter_type
action find
entity Gilbert Teodoro
relation gender
type sex
['Gilbert Teodoro', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Gilbert_Teodoro property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1396192
P39
Q12737077
USER
What was the position for which Gilbert Teodoro was appointed ?
(Q1396192,P39,c(Q12737077))
action filter_type
action find
entity Q1396192
relation P39
type Q12737077
['Q1396192', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1396192 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
Gilbert Teodoro
action filter_type
action find
entity Gilbert Teodoro
relation position held
type occupation
['Gilbert Teodoro', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Gilbert_Teodoro property:position_held ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q18002923
SYSTEM
Member of the House of Representatives of the Philippines
Q18002923
(Q1396192,P39,c(Q12737077))
action filter_type
action find
entity Q1396192
relation P39
type Q12737077
[ANSWER]
['Q1396192', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1396192 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
Member of the House of Representatives of the Philippines
Member of the House of Representatives of the Philippines
Member of the House of Representatives of the Philippines
action filter_type
action find
entity Gilbert Teodoro
relation position held
type occupation
['Gilbert Teodoro', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Gilbert_Teodoro property:position_held ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18002923
P17
Q15617994
USER
Which administrative territory is that occupation located in ?
(Q18002923,P17,c(Q15617994))
action filter_type
action find
entity Q18002923
relation P17
type Q15617994
['Q18002923', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q18002923 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Member of the House of Representatives of the Philippines
action filter_type
action find
entity Member of the House of Representatives of the Philippines
relation country
type designation for an administrative territorial entity
['Member of the House of Representatives of the Philippines', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Member_of_the_House_of_Representatives_of_the_Philippines property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q928
SYSTEM
Philippines
Q928
(Q18002923,P17,c(Q15617994))
action filter_type
action find
entity Q18002923
relation P17
type Q15617994
That occupation is located in [ANSWER]
['Q18002923', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q18002923 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Philippines
That occupation is located in Philippines
Philippines
action filter_type
action find
entity Member of the House of Representatives of the Philippines
relation country
type designation for an administrative territorial entity
['Member of the House of Representatives of the Philippines', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Member_of_the_House_of_Representatives_of_the_Philippines property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have tactful political relations with approximately 83 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 83
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?u ) WHERE { ?b property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?b } . FILTER ( ?u = 83 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 83
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?u ) WHERE { ?b property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?b } . FILTER ( ?u = 83 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 83
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?u ) WHERE { ?b property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?b } . FILTER ( ?u = 83 ) }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 83
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?u ) WHERE { ?b property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?b } . FILTER ( ?u = 83 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q19757861 Q1396192
P27
Q15617994
USER
Which administrative territories are Gilbert Teodoro and Valentin Ventura an inhabitant of ?
AND((Q1396192,P27,c(Q15617994)), (Q19757861,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1396192
relation P27
action find
entity Q19757861
relation P27
type Q15617994
{'AND': [['Q1396192', 'P27', {'concept': 'Q15617994'}], ['Q19757861', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { resource:Q1396192 property:P27 ?j . resource:Q19757861 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Valentin Ventura Gilbert Teodoro
action filter_type
action intersection
action find
entity Gilbert Teodoro
relation country of citizenship
action find
entity Valentin Ventura
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Gilbert Teodoro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Valentin Ventura', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Gilbert_Teodoro property:country_of_citizenship ?j . resource:Valentin_Ventura property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q928
SYSTEM
Philippines
Q928
AND((Q1396192,P27,c(Q15617994)), (Q19757861,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1396192
relation P27
action find
entity Q19757861
relation P27
type Q15617994
The [ANSWER] is Gilbert Teodoro and Valentin Ventura an inhabitant of
{'AND': [['Q1396192', 'P27', {'concept': 'Q15617994'}], ['Q19757861', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { resource:Q1396192 property:P27 ?j . resource:Q19757861 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Philippines
The Philippines is Gilbert Teodoro and Valentin Ventura an inhabitant of
Philippines
action filter_type
action intersection
action find
entity Gilbert Teodoro
relation country of citizenship
action find
entity Valentin Ventura
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Gilbert Teodoro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Valentin Ventura', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Gilbert_Teodoro property:country_of_citizenship ?j . resource:Valentin_Ventura property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P248
Q4894405 Q223393 Q502895
USER
How many people have been mentioned in exactly 1 journalism genres or literary genres ?
(c(Q502895),P248,c(Q4894405)|c(Q223393))
action count
action equal
action union
action find_tuple_counts
relation P248
type Q502895
type Q4894405
action find_tuple_counts
relation P248
type Q502895
type Q223393
value 1
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q4894405'}, {'concept': 'Q223393'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) ?r WHERE { { ?r property:P248 ?g . ?g rdf:type ontology:Q4894405 . ?r rdf:type ontology:Q502895 } UNION { ?r property:P248 ?g . ?r rdf:type ontology:Q502895 . ?g rdf:type ontology:Q223393 } } GROUP BY ?r } . FILTER ( ?u = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation stated in
type common name
type journalism genre
action find_tuple_counts
relation stated in
type common name
type literary genre
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'journalism genre'}, {'concept': 'literary genre'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) ?r WHERE { { ?r property:stated_in ?g . ?g rdf:type ontology:journalism_genre . ?r rdf:type ontology:common_name } UNION { ?r property:stated_in ?g . ?r rdf:type ontology:common_name . ?g rdf:type ontology:literary_genre } } GROUP BY ?r } . FILTER ( ?u = 1 ) }
[]
journalism genre literary genre common name
SYSTEM
53
Q5239879 Q16013737 Q6237329 Q16011002 Q6262994 Q15996304 Q16225368 Q6221407 Q7351119 Q16026267 Q10978488 Q661947 Q16023331 Q5241202 Q6130313 Q6255174 Q6255172 Q16060029 Q7351121 Q6237337 Q6255426 Q5232850 Q8018834 Q16015315 Q8004402 Q5537303 Q11154564 Q5606271 Q5606273 Q5144956 Q6221420 Q6221434 Q16062311 Q15995818 Q6228730 Q16194812 Q15485947 Q6246958 Q16027113 Q16043626 Q6255177 Q6221432 Q5144950 Q6255170 Q5239886 Q5233458 Q6255179 Q6262982 Q6262980 Q6244744 Q16095641 Q5233469 Q8019367
(c(Q502895),P248,c(Q4894405)|c(Q223393))
action count
action equal
action union
action find_tuple_counts
relation P248
type Q502895
type Q4894405
action find_tuple_counts
relation P248
type Q502895
type Q223393
value 1
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q4894405'}, {'concept': 'Q223393'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) ?r WHERE { { ?r property:P248 ?g . ?g rdf:type ontology:Q4894405 . ?r rdf:type ontology:Q502895 } UNION { ?r property:P248 ?g . ?r rdf:type ontology:Q502895 . ?g rdf:type ontology:Q223393 } } GROUP BY ?r } . FILTER ( ?u = 1 ) }
David Smith John Roberts John Hall John Parker John Ward John Martin John Rogers John Bell Robert Williams John Rogers John Jackson John Davies William Walker David Wilson James Brown John Roberts John Roberts David Davies Robert Williams John Hall John Rogers David Davies William Stewart David Thomas William Anderson George Brown David Evans Greg Smith Greg Smith Colin Campbell John Bell John Bell John Martin John Thompson John Davies David Smith John Walker John Martin John Roberts William Thompson John Roberts John Bell Colin Campbell John Roberts David Smith David Evans John Roberts John Ward John Ward John Lewis John Hall David Evans William Thompson
53
action count
action equal
action union
action find_tuple_counts
relation stated in
type common name
type journalism genre
action find_tuple_counts
relation stated in
type common name
type literary genre
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'journalism genre'}, {'concept': 'literary genre'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) ?r WHERE { { ?r property:stated_in ?g . ?g rdf:type ontology:journalism_genre . ?r rdf:type ontology:common_name } UNION { ?r property:stated_in ?g . ?r rdf:type ontology:common_name . ?g rdf:type ontology:literary_genre } } GROUP BY ?r } . FILTER ( ?u = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q928
P138
Q16521
USER
Which taxon is the eponym of Philippines ?
(c(Q16521),P138,Q928)
action filter_type
action find_reverse
entity Q928
relation P138
type Q16521
[{'concept': 'Q16521'}, 'P138', 'Q928']
SELECT DISTINCT ?y WHERE { ?y property:P138 resource:Q928 . ?y rdf:type ontology:Q16521 }
Philippines
action filter_type
action find_reverse
entity Philippines
relation named after
type taxon
[{'concept': 'taxon'}, 'named after', 'Philippines']
SELECT DISTINCT ?y WHERE { ?y property:named_after resource:Philippines . ?y rdf:type ontology:taxon }
[]
taxon
Q4118523
SYSTEM
Rafflesia philippensis
Q4118523
(c(Q16521),P138,Q928)
action filter_type
action find_reverse
entity Q928
relation P138
type Q16521
Philippines [ANSWER] is the eponym of Philippines
[{'concept': 'Q16521'}, 'P138', 'Q928']
SELECT DISTINCT ?y WHERE { ?y property:P138 resource:Q928 . ?y rdf:type ontology:Q16521 }
Rafflesia philippensis
Philippines Rafflesia philippensis is the eponym of Philippines
Rafflesia philippensis
action filter_type
action find_reverse
entity Philippines
relation named after
type taxon
[{'concept': 'taxon'}, 'named after', 'Philippines']
SELECT DISTINCT ?y WHERE { ?y property:named_after resource:Philippines . ?y rdf:type ontology:taxon }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q265
P17
Q15617994 Q271669 Q7210356
USER
Which administrative territories do greater number of landforms or political organizations belong to than Uzbekistan ?
(c(Q271669)|c(Q7210356),P17,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q271669
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q7210356
action count
action filter_multi_types
action find_reverse
entity Q265
relation P17
type Q271669
type Q7210356
[[{'concept': 'Q271669'}, {'concept': 'Q7210356'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:Q271669 ) ( ontology:Q7210356 ) } . ?x rdf:type ?c } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { ?k property:P17 resource:Q265 . { VALUES ( ?m ) { ( ontology:Q271669 ) ( ontology:Q7210356 ) } . ?k rdf:type ?m } } } . FILTER ( ?e > ?h ) }
Uzbekistan
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type landform
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political organization
action count
action filter_multi_types
action find_reverse
entity Uzbekistan
relation country
type landform
type political organization
[[{'concept': 'landform'}, {'concept': 'political organization'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:landform ) ( ontology:political_organization ) } . ?x rdf:type ?c } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { ?k property:country resource:Uzbekistan . { VALUES ( ?m ) { ( ontology:landform ) ( ontology:political_organization ) } . ?k rdf:type ?m } } } . FILTER ( ?e > ?h ) }
[]
designation for an administrative territorial entity landform political organization
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q801 Q800 Q709 Q398 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q214 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q219 Q4628 Q826 Q822 Q241 Q242 Q244 Q811 Q736 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q854 Q734 Q819 Q424 Q730 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q786 Q32 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q977 Q17 Q902 Q1036 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q215 Q218 Q37 Q912 Q916 Q1007 Q1006 Q833 Q1009 Q1008 Q971 Q970 Q683 Q686 Q760 Q29 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q1019 Q813 Q1014 Q1016 Q1011 Q678 Q1039 Q672 Q929 Q863 Q1049 Q869 Q953
(c(Q271669)|c(Q7210356),P17,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q271669
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q7210356
action count
action filter_multi_types
action find_reverse
entity Q265
relation P17
type Q271669
type Q7210356
[ANSWERS] greater number of landforms or political organizations belong to than Uzbekistan
[[{'concept': 'Q271669'}, {'concept': 'Q7210356'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:Q271669 ) ( ontology:Q7210356 ) } . ?x rdf:type ?c } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { ?k property:P17 resource:Q265 . { VALUES ( ?m ) { ( ontology:Q271669 ) ( ontology:Q7210356 ) } . ?k rdf:type ?m } } } . FILTER ( ?e > ?h ) }
Federated States of Micronesia Panama Israel Costa Rica Marshall Islands Bahrain Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Slovakia Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Bulgaria Faroe Islands Maldives Lebanon Cuba Belize Barbados Nicaragua Ecuador Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Sri Lanka Guyana Laos Cambodia Suriname Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary Mauritania Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Myanmar Dominican Republic Luxembourg Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Djibouti Japan Bangladesh Uganda 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 Slovenia Romania Lithuania Mali Angola Guinea-Bissau Guinea Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Vanuatu Saint Lucia Spain East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Madagascar Kyrgyzstan Liberia Libya Cape Verde Tonga Sao Tomé and Príncipe Tuvalu Central African Republic Tajikistan Sudan Thailand Zambia
Italy, Brazil and United States of America greater number of landforms or political organizations belong to than Uzbekistan
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type landform
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political organization
action count
action filter_multi_types
action find_reverse
entity Uzbekistan
relation country
type landform
type political organization
[[{'concept': 'landform'}, {'concept': 'political organization'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:landform ) ( ontology:political_organization ) } . ?x rdf:type ?c } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { ?k property:country resource:Uzbekistan . { VALUES ( ?m ) { ( ontology:landform ) ( ontology:political_organization ) } . ?k rdf:type ?m } } } . FILTER ( ?e > ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1032
P17
Q15617994 Q271669 Q7210356
USER
And also tell me about Niger?
(c(Q271669)|c(Q7210356),P17,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q271669
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q7210356
action count
action filter_multi_types
action find_reverse
entity Q1032
relation P17
type Q271669
type Q7210356
[[{'concept': 'Q271669'}, {'concept': 'Q7210356'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) ?w WHERE { { ?w rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q271669 . ?l property:P17 ?w } UNION { ?l property:P17 ?w . ?w rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q7210356 } } GROUP BY ?w } . FILTER ( ?t > ?p ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:P17 resource:Q1032 . { { ?d rdf:type ontology:Q271669 } UNION { ?d rdf:type ontology:Q7210356 } } } } }
Niger
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type landform
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political organization
action count
action filter_multi_types
action find_reverse
entity Niger
relation country
type landform
type political organization
[[{'concept': 'landform'}, {'concept': 'political organization'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) ?w WHERE { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:landform . ?l property:country ?w } UNION { ?l property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:political_organization } } GROUP BY ?w } . FILTER ( ?t > ?p ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:country resource:Niger . { { ?d rdf:type ontology:landform } UNION { ?d rdf:type ontology:political_organization } } } } }
[]
designation for an administrative territorial entity landform political organization
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q801 Q800 Q709 Q398 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q784 Q214 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q889 Q884 Q881 Q986 Q219 Q4628 Q826 Q822 Q241 Q242 Q811 Q736 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q854 Q734 Q424 Q730 Q236 Q230 Q232 Q233 Q238 Q20 Q1044 Q1042 Q1041 Q27 Q28 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q786 Q32 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q977 Q17 Q902 Q1036 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q215 Q218 Q37 Q916 Q1007 Q1006 Q833 Q1009 Q971 Q970 Q683 Q686 Q29 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q1019 Q813 Q1014 Q1011 Q678 Q1039 Q672 Q929 Q863 Q1049 Q869 Q953
(c(Q271669)|c(Q7210356),P17,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q271669
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q7210356
action count
action filter_multi_types
action find_reverse
entity Q1032
relation P17
type Q271669
type Q7210356
[ANSWERS]
[[{'concept': 'Q271669'}, {'concept': 'Q7210356'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) ?w WHERE { { ?w rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q271669 . ?l property:P17 ?w } UNION { ?l property:P17 ?w . ?w rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q7210356 } } GROUP BY ?w } . FILTER ( ?t > ?p ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:P17 resource:Q1032 . { { ?d rdf:type ontology:Q271669 } UNION { ?d rdf:type ontology:Q7210356 } } } } }
Federated States of Micronesia Panama Israel Costa Rica Marshall Islands Bahrain Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Dominica Slovakia Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Afghanistan South Korea Vietnam Eritrea Bulgaria Faroe Islands Maldives Lebanon Cuba Belize Nicaragua Ecuador Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Sri Lanka Guyana Cambodia Suriname Montenegro Georgia Kazakhstan Malta San Marino Norway Sierra Leone Seychelles Senegal Ireland Hungary Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Myanmar Dominican Republic Luxembourg Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Djibouti Japan Bangladesh Uganda Democratic Republic of the Congo Nigeria Namibia Estonia Burkina Faso Burundi Benin Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovenia Romania Lithuania Angola Guinea-Bissau Guinea Malaysia Cameroon Republic of the Congo Comoros Samoa Vanuatu Spain East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Madagascar Kyrgyzstan Liberia Cape Verde Tonga Sao Tomé and Príncipe Tuvalu Central African Republic Tajikistan Sudan Thailand Zambia
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type landform
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political organization
action count
action filter_multi_types
action find_reverse
entity Niger
relation country
type landform
type political organization
[[{'concept': 'landform'}, {'concept': 'political organization'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) ?w WHERE { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:landform . ?l property:country ?w } UNION { ?l property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:political_organization } } GROUP BY ?w } . FILTER ( ?t > ?p ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:country resource:Niger . { { ?d rdf:type ontology:landform } UNION { ?d rdf:type ontology:political_organization } } } } }
[]