Simple Question (Direct)
Simple Question
Q4793537
P641
Q349
USER
Which sport did Armin Tanković participate in ?
(Q4793537,P641,c(Q349))
action filter_type
action find
entity Q4793537
relation P641
type Q349
['Q4793537', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q4793537 property:P641 ?d . ?d rdf:type ontology:Q349 }
Armin Tanković
action filter_type
action find
entity Armin Tanković
relation sport
type sport
['Armin Tanković', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Armin_Tanković property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4793537,P641,c(Q349))
action filter_type
action find
entity Q4793537
relation P641
type Q349
Armin Tanković participated in [ANSWER]
['Q4793537', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q4793537 property:P641 ?d . ?d rdf:type ontology:Q349 }
association football
Armin Tanković participated in association football
association football
action filter_type
action find
entity Armin Tanković
relation sport
type sport
['Armin Tanković', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Armin_Tanković property:sport ?d . ?d rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4793537
P27
Q15617994
USER
Which administrative territory is Armin Tanković an inhabitant of ?
(Q4793537,P27,c(Q15617994))
action filter_type
action find
entity Q4793537
relation P27
type Q15617994
['Q4793537', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q4793537 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Armin Tanković
action filter_type
action find
entity Armin Tanković
relation country of citizenship
type designation for an administrative territorial entity
['Armin Tanković', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Armin_Tanković property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q4793537,P27,c(Q15617994))
action filter_type
action find
entity Q4793537
relation P27
type Q15617994
[ANSWER] is Armin Tanković an inhabitant of
['Q4793537', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q4793537 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Sweden
Sweden is Armin Tanković an inhabitant of
Sweden
action filter_type
action find
entity Armin Tanković
relation country of citizenship
type designation for an administrative territorial entity
['Armin Tanković', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Armin_Tanković property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q34
P1532
Q1194951 Q502895
USER
How many national sports teams or people play for Sweden ?
(c(Q1194951),P1532,Q34) (c(Q502895),P1532,Q34)
action count
action union
action filter_type
action find_reverse
entity Q34
relation P1532
type Q1194951
action filter_type
action find_reverse
entity Q34
relation P1532
type Q502895
[{'concept': 'Q1194951'}, 'P1532', 'Q34'] [{'concept': 'Q502895'}, 'P1532', 'Q34']
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { ?l rdf:type ontology:Q1194951 . ?l property:P1532 resource:Q34 } UNION { ?l property:P1532 resource:Q34 . ?l rdf:type ontology:Q502895 } }
Sweden
action count
action union
action filter_type
action find_reverse
entity Sweden
relation country for sport
type national sports team
action filter_type
action find_reverse
entity Sweden
relation country for sport
type common name
[{'concept': 'national sports team'}, 'country for sport', 'Sweden'] [{'concept': 'common name'}, 'country for sport', 'Sweden']
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { ?l rdf:type ontology:national_sports_team . ?l property:country_for_sport resource:Sweden } UNION { ?l property:country_for_sport resource:Sweden . ?l rdf:type ontology:common_name } }
[]
national sports team common name
SYSTEM
19
Q5888043 Q22249564 Q23418572 Q23827037 Q4990346 Q23838152 Q5545583 Q442182 Q10685864 Q23840287 Q23915862 Q5913953 Q20354569 Q6019106 Q20740797 Q23834471 Q164250 Q4962811 Q160826
(c(Q1194951),P1532,Q34) (c(Q502895),P1532,Q34)
action count
action union
action filter_type
action find_reverse
entity Q34
relation P1532
type Q1194951
action filter_type
action find_reverse
entity Q34
relation P1532
type Q502895
[ANSWER]
[{'concept': 'Q1194951'}, 'P1532', 'Q34'] [{'concept': 'Q502895'}, 'P1532', 'Q34']
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { ?l rdf:type ontology:Q1194951 . ?l property:P1532 resource:Q34 } UNION { ?l property:P1532 resource:Q34 . ?l rdf:type ontology:Q502895 } }
Torbjörn Johansson Johanna Nilsson Andreas Kramer Lisa Gunnarsson Monica Westén Åke Söderlund Claes Albihn Klas Ingesson Sweden national football B team Britt Holmquist Fanny Roos Tom Kling-Baptiste Björn Johansson Claes Nyberg Armand Duplantis Margareta Simu Chardine Sloof Lovisa Lindh Sweden national football team
19
action count
action union
action filter_type
action find_reverse
entity Sweden
relation country for sport
type national sports team
action filter_type
action find_reverse
entity Sweden
relation country for sport
type common name
[{'concept': 'national sports team'}, 'country for sport', 'Sweden'] [{'concept': 'common name'}, 'country for sport', 'Sweden']
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { ?l rdf:type ontology:national_sports_team . ?l property:country_for_sport resource:Sweden } UNION { ?l property:country_for_sport resource:Sweden . ?l rdf:type ontology:common_name } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories holds diplomatic relationship with atmost 30 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 30
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?e ) WHERE { ?h property:P530 ?g . ?g rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?e <= 30 ) }
action count
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 30
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?e ) WHERE { ?h property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?e <= 30 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
164
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 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 count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 30
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?e ) WHERE { ?h property:P530 ?g . ?g rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?e <= 30 ) }
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 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
164
action count
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 30
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?e ) WHERE { ?h property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?e <= 30 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q191
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with lesser number of administrative territories than Estonia ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q191
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?t ) WHERE { ?o property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?t < ?k ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q191 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } }
Estonia
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Estonia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?t ) WHERE { ?o property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?t < ?k ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Estonia property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q191
relation P530
type Q15617994
[ANSWERS] have diplomatic associations with lesser number of administrative territories than Estonia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?t ) WHERE { ?o property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?t < ?k ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q191 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands, Dominican Republic and Tanzania have diplomatic associations with lesser number of administrative territories than Estonia
Kingdom of the Netherlands Dominican Republic Tanzania
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Estonia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?t ) WHERE { ?o property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?t < ?k ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Estonia property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1016
P530
Q15617994 Q15617994
USER
And how about Libya?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1016
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?r ) WHERE { ?h property:P530 ?g . ?h rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?r < ?m ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Q1016 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } }
Libya
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Libya
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?r ) WHERE { ?h property:diplomatic_relation ?g . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?r < ?m ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Libya property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q96
SYSTEM
Netherlands, Poland, Mexico
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q265 Q712 Q717 Q837 Q398 Q657 Q792 Q790 Q954 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q924 Q36 Q34 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q221 Q96 Q229 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q77 Q878 Q774 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1016
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?r ) WHERE { ?h property:P530 ?g . ?h rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?r < ?m ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Q1016 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Uzbekistan Fiji Venezuela Nepal Bahrain Chad El Salvador Haiti Zimbabwe South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Tanzania Poland Sweden 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 Hungary Brunei Sudan Mauritius Malawi Iceland Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Republic of Macedonia Mexico Cyprus 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 Latvia Republic of Moldova Slovakia Slovenia 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 Uruguay United Arab Emirates Guatemala Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
Netherlands Poland Mexico
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Libya
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?r ) WHERE { ?h property:diplomatic_relation ?g . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?r < ?m ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Libya property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1938346
P530
Q1048835
USER
Do Sauquillo de Cabezas have diplomatic associations with those administrative territories ?
(Q1938346,P530,Q55) (Q1938346,P530,Q36) (Q1938346,P530,Q96)
action is_in
entity prev_answer
action find
entity Q1938346
relation P530
['Q1938346', 'P530', 'Q55'] ['Q1938346', 'P530', 'Q36'] ['Q1938346', 'P530', 'Q96']
ASK WHERE { resource:Q1938346 property:P530 ?j . VALUES ( ?j ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Sauquillo de Cabezas
action is_in
entity prev_answer
action find
entity Sauquillo de Cabezas
relation diplomatic relation
['Sauquillo de Cabezas', 'diplomatic relation', 'Netherlands'] ['Sauquillo de Cabezas', 'diplomatic relation', 'Poland'] ['Sauquillo de Cabezas', 'diplomatic relation', 'Mexico']
ASK WHERE { resource:Sauquillo_de_Cabezas property:diplomatic_relation ?j . VALUES ( ?j ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
political territorial entity
SYSTEM
NO
(Q1938346,P530,Q55) (Q1938346,P530,Q36) (Q1938346,P530,Q96)
action is_in
entity prev_answer
action find
entity Q1938346
relation P530
[ANSWER]
['Q1938346', 'P530', 'Q55'] ['Q1938346', 'P530', 'Q36'] ['Q1938346', 'P530', 'Q96']
ASK WHERE { resource:Q1938346 property:P530 ?j . VALUES ( ?j ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
No
action is_in
entity prev_answer
action find
entity Sauquillo de Cabezas
relation diplomatic relation
['Sauquillo de Cabezas', 'diplomatic relation', 'Netherlands'] ['Sauquillo de Cabezas', 'diplomatic relation', 'Poland'] ['Sauquillo de Cabezas', 'diplomatic relation', 'Mexico']
ASK WHERE { resource:Sauquillo_de_Cabezas property:diplomatic_relation ?j . VALUES ( ?j ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q117
P1001
Q15617994 Q11204 Q14660
USER
Which administrative territories are judicially linked to more number of legislatures and flags than Ghana ?
(c(Q11204)|c(Q14660),P1001,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action count
action filter_multi_types
action find_reverse
entity Q117
relation P1001
type Q11204
type Q14660
[[{'concept': 'Q11204'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?f ) WHERE { VALUES ( ?a ) { ( ontology:Q11204 ) ( ontology:Q14660 ) } . ?q rdf:type ?a } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { { ?w rdf:type ontology:Q11204 } UNION { ?w rdf:type ontology:Q14660 } } . ?w property:P1001 resource:Q117 } } . FILTER ( ?f > ?o ) }
Ghana
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action count
action filter_multi_types
action find_reverse
entity Ghana
relation applies to jurisdiction
type legislature
type flag
[[{'concept': 'legislature'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?f ) WHERE { VALUES ( ?a ) { ( ontology:legislature ) ( ontology:flag ) } . ?q rdf:type ?a } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { { ?w rdf:type ontology:legislature } UNION { ?w rdf:type ontology:flag } } . ?w property:applies_to_jurisdiction resource:Ghana } } . FILTER ( ?f > ?o ) }
[]
designation for an administrative territorial entity legislature flag
Q30 Q159 Q148
SYSTEM
United States of America, Russia, People's Republic of China
Q148 Q189 Q37 Q710 Q159 Q792 Q884 Q1965 Q1952 Q30 Q786 Q347 Q902 Q191 Q962 Q29 Q774 Q176
(c(Q11204)|c(Q14660),P1001,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action count
action filter_multi_types
action find_reverse
entity Q117
relation P1001
type Q11204
type Q14660
[ANSWERS] are judicially linked to more number of legislatures and flags than Ghana
[[{'concept': 'Q11204'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?f ) WHERE { VALUES ( ?a ) { ( ontology:Q11204 ) ( ontology:Q14660 ) } . ?q rdf:type ?a } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { { ?w rdf:type ontology:Q11204 } UNION { ?w rdf:type ontology:Q14660 } } . ?w property:P1001 resource:Q117 } } . FILTER ( ?f > ?o ) }
People's Republic of China Iceland Lithuania Kiribati Russia El Salvador South Korea New Brunswick Nova Scotia United States of America Dominican Republic Liechtenstein Bangladesh Estonia Benin Spain Guatemala Quebec
United States of America, Russia and People's Republic of China are judicially linked to more number of legislatures and flags than Ghana
United States of America Russia People's Republic of China
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action count
action filter_multi_types
action find_reverse
entity Ghana
relation applies to jurisdiction
type legislature
type flag
[[{'concept': 'legislature'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?f ) WHERE { VALUES ( ?a ) { ( ontology:legislature ) ( ontology:flag ) } . ?q rdf:type ?a } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { { ?w rdf:type ontology:legislature } UNION { ?w rdf:type ontology:flag } } . ?w property:applies_to_jurisdiction resource:Ghana } } . FILTER ( ?f > ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q954
P1001
Q15617994 Q11204 Q14660
USER
And how about Zimbabwe?
(c(Q11204)|c(Q14660),P1001,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action count
action filter_multi_types
action find_reverse
entity Q954
relation P1001
type Q11204
type Q14660
[[{'concept': 'Q11204'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?r WHERE { VALUES ( ?m ) { ( ontology:Q11204 ) ( ontology:Q14660 ) } . ?i rdf:type ?m } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { ?h property:P1001 resource:Q954 . { ?h rdf:type ?b . VALUES ( ?b ) { ( ontology:Q14660 ) ( ontology:Q11204 ) } } } } . FILTER ( ?v > ?y ) }
Zimbabwe
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action count
action filter_multi_types
action find_reverse
entity Zimbabwe
relation applies to jurisdiction
type legislature
type flag
[[{'concept': 'legislature'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?r WHERE { VALUES ( ?m ) { ( ontology:legislature ) ( ontology:flag ) } . ?i rdf:type ?m } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { ?h property:applies_to_jurisdiction resource:Zimbabwe . { ?h rdf:type ?b . VALUES ( ?b ) { ( ontology:flag ) ( ontology:legislature ) } } } } . FILTER ( ?v > ?y ) }
[]
designation for an administrative territorial entity legislature flag
Q30 Q159 Q148
SYSTEM
United States of America, Russia, People's Republic of China
Q148 Q189 Q37 Q710 Q159 Q792 Q884 Q1965 Q1952 Q30 Q786 Q347 Q902 Q191 Q962 Q29 Q774 Q176
(c(Q11204)|c(Q14660),P1001,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action count
action filter_multi_types
action find_reverse
entity Q954
relation P1001
type Q11204
type Q14660
[ANSWERS]
[[{'concept': 'Q11204'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?r WHERE { VALUES ( ?m ) { ( ontology:Q11204 ) ( ontology:Q14660 ) } . ?i rdf:type ?m } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { ?h property:P1001 resource:Q954 . { ?h rdf:type ?b . VALUES ( ?b ) { ( ontology:Q14660 ) ( ontology:Q11204 ) } } } } . FILTER ( ?v > ?y ) }
People's Republic of China Iceland Lithuania Kiribati Russia El Salvador South Korea New Brunswick Nova Scotia United States of America Dominican Republic Liechtenstein Bangladesh Estonia Benin Spain Guatemala Quebec
United States of America Russia People's Republic of China
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action count
action filter_multi_types
action find_reverse
entity Zimbabwe
relation applies to jurisdiction
type legislature
type flag
[[{'concept': 'legislature'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?r WHERE { VALUES ( ?m ) { ( ontology:legislature ) ( ontology:flag ) } . ?i rdf:type ?m } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { ?h property:applies_to_jurisdiction resource:Zimbabwe . { ?h rdf:type ?b . VALUES ( ?b ) { ( ontology:flag ) ( ontology:legislature ) } } } } . FILTER ( ?v > ?y ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7131763
P840
Q166142
USER
Do Panther have a setting location of those administrative territories ?
(Q7131763,P840,Q30) (Q7131763,P840,Q159) (Q7131763,P840,Q148)
action is_in
entity prev_answer
action find
entity Q7131763
relation P840
['Q7131763', 'P840', 'Q30'] ['Q7131763', 'P840', 'Q159'] ['Q7131763', 'P840', 'Q148']
ASK WHERE { resource:Q7131763 property:P840 ?u . VALUES ( ?u ) { ( resource:Q148 ) ( resource:Q189 ) ( resource:Q37 ) } }
Panther
action is_in
entity prev_answer
action find
entity Panther
relation narrative location
['Panther', 'narrative location', 'United States of America'] ['Panther', 'narrative location', 'Russia'] ['Panther', 'narrative location', "People's Republic of China"]
ASK WHERE { resource:Panther property:narrative_location ?u . VALUES ( ?u ) { ( resource:People's_Republic_of_China ) ( resource:Iceland ) ( resource:Lithuania ) } }
[]
application
SYSTEM
NO
(Q7131763,P840,Q30) (Q7131763,P840,Q159) (Q7131763,P840,Q148)
action is_in
entity prev_answer
action find
entity Q7131763
relation P840
[ANSWER]
['Q7131763', 'P840', 'Q30'] ['Q7131763', 'P840', 'Q159'] ['Q7131763', 'P840', 'Q148']
ASK WHERE { resource:Q7131763 property:P840 ?u . VALUES ( ?u ) { ( resource:Q148 ) ( resource:Q189 ) ( resource:Q37 ) } }
No
action is_in
entity prev_answer
action find
entity Panther
relation narrative location
['Panther', 'narrative location', 'United States of America'] ['Panther', 'narrative location', 'Russia'] ['Panther', 'narrative location', "People's Republic of China"]
ASK WHERE { resource:Panther property:narrative_location ?u . VALUES ( ?u ) { ( resource:People's_Republic_of_China ) ( resource:Iceland ) ( resource:Lithuania ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q23 Q11896
P6
Q502895
USER
Does United States of America have a government lead by George Washington and Zachary Taylor ?
(Q30,P6,Q23) (Q30,P6,Q11896)
action is_in
entity Q30
action intersection
action find_reverse
entity Q23
relation P6
action find_reverse
entity Q11896
relation P6
['Q30', 'P6', 'Q23'] ['Q30', 'P6', 'Q11896']
ASK WHERE { resource:Q30 property:P6 resource:Q23 . resource:Q30 property:P6 resource:Q11896 }
United States of America George Washington Zachary Taylor
action is_in
entity United States of America
action intersection
action find_reverse
entity George Washington
relation head of government
action find_reverse
entity Zachary Taylor
relation head of government
['United States of America', 'head of government', 'George Washington'] ['United States of America', 'head of government', 'Zachary Taylor']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:George_Washington . resource:United_States_of_America property:head_of_government resource:Zachary_Taylor }
[]
common name
SYSTEM
YES
(Q30,P6,Q23) (Q30,P6,Q11896)
action is_in
entity Q30
action intersection
action find_reverse
entity Q23
relation P6
action find_reverse
entity Q11896
relation P6
[ANSWER]
['Q30', 'P6', 'Q23'] ['Q30', 'P6', 'Q11896']
ASK WHERE { resource:Q30 property:P6 resource:Q23 . resource:Q30 property:P6 resource:Q11896 }
Yes
action is_in
entity United States of America
action intersection
action find_reverse
entity George Washington
relation head of government
action find_reverse
entity Zachary Taylor
relation head of government
['United States of America', 'head of government', 'George Washington'] ['United States of America', 'head of government', 'Zachary Taylor']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:George_Washington . resource:United_States_of_America property:head_of_government resource:Zachary_Taylor }
[]