Simple Question (Direct)
Simple Question
Q5889072
P136
Q1792379
USER
What can be considered as category for Home in Oklahoma ?
(Q5889072,P136,c(Q1792379))
action filter_type
action find
entity Q5889072
relation P136
type Q1792379
['Q5889072', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1792379 . resource:Q5889072 property:P136 ?f }
Home in Oklahoma
action filter_type
action find
entity Home in Oklahoma
relation genre
type art genre
['Home in Oklahoma', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:art_genre . resource:Home_in_Oklahoma property:genre ?f }
[]
art genre
Q172980
SYSTEM
Western
Q172980
(Q5889072,P136,c(Q1792379))
action filter_type
action find
entity Q5889072
relation P136
type Q1792379
[ANSWER] can be considered as category for Home in Oklahoma
['Q5889072', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1792379 . resource:Q5889072 property:P136 ?f }
Western
Western can be considered as category for Home in Oklahoma
Western
action filter_type
action find
entity Home in Oklahoma
relation genre
type art genre
['Home in Oklahoma', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:art_genre . resource:Home_in_Oklahoma property:genre ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5889072
P495
Q15617994
USER
Which administrative territory is the country of origin of Home in Oklahoma ?
(Q5889072,P495,c(Q15617994))
action filter_type
action find
entity Q5889072
relation P495
type Q15617994
['Q5889072', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q5889072 property:P495 ?t . ?t rdf:type ontology:Q15617994 }
Home in Oklahoma
action filter_type
action find
entity Home in Oklahoma
relation country of origin
type designation for an administrative territorial entity
['Home in Oklahoma', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Home_in_Oklahoma property:country_of_origin ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5889072,P495,c(Q15617994))
action filter_type
action find
entity Q5889072
relation P495
type Q15617994
The [ANSWER] is the country of origin of Home in Oklahoma
['Q5889072', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q5889072 property:P495 ?t . ?t rdf:type ontology:Q15617994 }
United States of America
The United States of America is the country of origin of Home in Oklahoma
United States of America
action filter_type
action find
entity Home in Oklahoma
relation country of origin
type designation for an administrative territorial entity
['Home in Oklahoma', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Home_in_Oklahoma property:country_of_origin ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17639973
Q15617994
USER
And how about The Undertaker?
(Q17639973,P495,c(Q15617994))
action filter_type
action find
entity Q17639973
relation P495
type Q15617994
['Q17639973', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q17639973 property:P495 ?x . ?x rdf:type ontology:Q15617994 }
The Undertaker
action filter_type
action find
entity The Undertaker
relation country of origin
type designation for an administrative territorial entity
['The Undertaker', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:The_Undertaker property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q17639973,P495,c(Q15617994))
action filter_type
action find
entity Q17639973
relation P495
type Q15617994
[ANSWER]
['Q17639973', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q17639973 property:P495 ?x . ?x rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity The Undertaker
relation country of origin
type designation for an administrative territorial entity
['The Undertaker', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:The_Undertaker property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q30
P6
Q502895
USER
How many people are United States of America the head of goverment of ?
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:Q30 property:P6 ?c . ?c rdf:type ontology:Q502895 }
United States of America
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:United_States_of_America property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
44
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
[ANSWER]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:Q30 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
44
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:United_States_of_America property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q12725200
P6
Q502895
USER
And how about Teasc?
(Q12725200,P6,c(Q502895))
action count
action filter_type
action find
entity Q12725200
relation P6
type Q502895
['Q12725200', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Q12725200 property:P6 ?i . ?i rdf:type ontology:Q502895 }
Teasc
action count
action filter_type
action find
entity Teasc
relation head of government
type common name
['Teasc', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Teasc property:head_of_government ?i . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q24205360 Q25999097
(Q12725200,P6,c(Q502895))
action count
action filter_type
action find
entity Q12725200
relation P6
type Q502895
[ANSWER]
['Q12725200', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Q12725200 property:P6 ?i . ?i rdf:type ontology:Q502895 }
Cristinel Banu Marin Nițu
2
action count
action filter_type
action find
entity Teasc
relation head of government
type common name
['Teasc', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Teasc property:head_of_government ?i . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2046237
Q502895
USER
And what about La Yesa?
(Q2046237,P6,c(Q502895))
action count
action filter_type
action find
entity Q2046237
relation P6
type Q502895
['Q2046237', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Q2046237 property:P6 ?j . ?j rdf:type ontology:Q502895 }
La Yesa
action count
action filter_type
action find
entity La Yesa
relation head of government
type common name
['La Yesa', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:La_Yesa property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q2046237,P6,c(Q502895))
action count
action filter_type
action find
entity Q2046237
relation P6
type Q502895
[ANSWER]
['Q2046237', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Q2046237 property:P6 ?j . ?j rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity La Yesa
relation head of government
type common name
['La Yesa', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:La_Yesa property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1049
P530
Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with around the same number of administrative territories as Sudan ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1049
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?a ) WHERE { ?b property:P530 ?g . ?b rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { resource:Q1049 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?a = ?p ) }
Sudan
action count
action approx
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 Sudan
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 ( COUNT ( ?b ) AS ?v ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?a ) WHERE { ?b property:diplomatic_relation ?g . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { resource:Sudan property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a = ?p ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
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 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1049
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?a ) WHERE { ?b property:P530 ?g . ?b rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { resource:Q1049 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?a = ?p ) }
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 United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
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 Sudan
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 ( COUNT ( ?b ) AS ?v ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?a ) WHERE { ?b property:diplomatic_relation ?g . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { resource:Sudan property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a = ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1019
P530
Q15617994 Q15617994
USER
And how about Madagascar?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1019
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?q ) WHERE { ?z property:P530 ?y . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Q1019 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?q = ?b ) }
Madagascar
action count
action approx
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 Madagascar
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 ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?q ) WHERE { ?z property:diplomatic_relation ?y . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Madagascar property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q = ?b ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
147
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 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 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1019
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?q ) WHERE { ?z property:P530 ?y . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Q1019 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?q = ?b ) }
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 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 United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
147
action count
action approx
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 Madagascar
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 ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?q ) WHERE { ?z property:diplomatic_relation ?y . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Madagascar property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q = ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q252
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with less number of administrative territories than Indonesia ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q252
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?t ) WHERE { ?h rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 . ?f property:P530 ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { ?s property:P530 resource:Q252 . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?t < ?x ) }
Indonesia
action count
action less
action find_reverse_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_reverse
entity Indonesia
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 ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?t ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { ?s property:diplomatic_relation resource:Indonesia . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t < ?x ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
132
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q45 Q792 Q790 Q954 Q889 Q884 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q32 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 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q252
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?t ) WHERE { ?h rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 . ?f property:P530 ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { ?s property:P530 resource:Q252 . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?t < ?x ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad Portugal El Salvador Haiti Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Luxembourg 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 Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Republic of Macedonia Mexico Cyprus 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 Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan 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 Togo Tonga Spain New Caledonia Thailand
132
action count
action less
action find_reverse_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_reverse
entity Indonesia
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 ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?t ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { ?s property:diplomatic_relation resource:Indonesia . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t < ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q424
P530
Q15617994 Q15617994
USER
And also tell me about Cambodia?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q424
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?n ) WHERE { ?k property:P530 ?j . ?k rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Q424 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?n < ?z ) }
Cambodia
action count
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 Cambodia
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 ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?n ) WHERE { ?k property:diplomatic_relation ?j . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Cambodia property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n < ?z ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
25
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q424
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?n ) WHERE { ?k property:P530 ?j . ?k rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Q424 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?n < ?z ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
25
action count
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 Cambodia
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 ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?n ) WHERE { ?k property:diplomatic_relation ?j . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Cambodia property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n < ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q503180
P47
Q914262
USER
Which administrative territory of Swedens share border with Finspång Municipality ?
(Q503180,P47,c(Q914262))
action filter_type
action find
entity Q503180
relation P47
type Q914262
['Q503180', 'P47', {'concept': 'Q914262'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q914262 . resource:Q503180 property:P47 ?l }
Finspång Municipality
action filter_type
action find
entity Finspång Municipality
relation shares border with
type administrative territorial entity of Sweden
['Finspång Municipality', 'shares border with', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity_of_Sweden . resource:Finspång_Municipality property:shares_border_with ?l }
[]
administrative territorial entity of Sweden
Q499410 Q297718 Q504676
SYSTEM
Linköping Municipality, Örebro Municipality, Norrköping Municipality
Q508140 Q508108 Q297718 Q504676 Q249378 Q508180 Q499410
(Q503180,P47,c(Q914262))
action filter_type
action find
entity Q503180
relation P47
type Q914262
[ANSWERS] share border with Finspång Municipality
['Q503180', 'P47', {'concept': 'Q914262'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q914262 . resource:Q503180 property:P47 ?l }
Katrineholm Municipality Motala Municipality Örebro Municipality Norrköping Municipality Vingåker Municipality Hallsberg Municipality Linköping Municipality
Linköping Municipality, Örebro Municipality and Norrköping Municipality share border with Finspång Municipality
Linköping Municipality Örebro Municipality Norrköping Municipality
action filter_type
action find
entity Finspång Municipality
relation shares border with
type administrative territorial entity of Sweden
['Finspång Municipality', 'shares border with', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity_of_Sweden . resource:Finspång_Municipality property:shares_border_with ?l }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q427422
Q914262
USER
And what about Mariestad Municipality?
(Q427422,P47,c(Q914262))
action filter_type
action find
entity Q427422
relation P47
type Q914262
['Q427422', 'P47', {'concept': 'Q914262'}]
SELECT DISTINCT ?i WHERE { resource:Q427422 property:P47 ?i . ?i rdf:type ontology:Q914262 }
Mariestad Municipality
action filter_type
action find
entity Mariestad Municipality
relation shares border with
type administrative territorial entity of Sweden
['Mariestad Municipality', 'shares border with', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?i WHERE { resource:Mariestad_Municipality property:shares_border_with ?i . ?i rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
administrative territorial entity of Sweden
Q501452 Q511326 Q501470
SYSTEM
Skövde Municipality, Säffle Municipality, Töreboda Municipality
Q511326 Q501470 Q511281 Q503193 Q501452
(Q427422,P47,c(Q914262))
action filter_type
action find
entity Q427422
relation P47
type Q914262
[ANSWERS]
['Q427422', 'P47', {'concept': 'Q914262'}]
SELECT DISTINCT ?i WHERE { resource:Q427422 property:P47 ?i . ?i rdf:type ontology:Q914262 }
Säffle Municipality Töreboda Municipality Götene Municipality Gullspång Municipality Skövde Municipality
Skövde Municipality Säffle Municipality Töreboda Municipality
action filter_type
action find
entity Mariestad Municipality
relation shares border with
type administrative territorial entity of Sweden
['Mariestad Municipality', 'shares border with', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?i WHERE { resource:Mariestad_Municipality property:shares_border_with ?i . ?i rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21567578
P47
Q914262
USER
Does Strömstad share border with those ones ?
(Q21567578,P47,Q501452) (Q21567578,P47,Q511326) (Q21567578,P47,Q501470)
action is_in
entity prev_answer
action find
entity Q21567578
relation P47
['Q21567578', 'P47', 'Q501452'] ['Q21567578', 'P47', 'Q511326'] ['Q21567578', 'P47', 'Q501470']
ASK WHERE { resource:Q21567578 property:P47 ?h . VALUES ( ?h ) { ( resource:Q511326 ) ( resource:Q501470 ) ( resource:Q511281 ) } }
Strömstad
action is_in
entity prev_answer
action find
entity Strömstad
relation shares border with
['Strömstad', 'shares border with', 'Skövde Municipality'] ['Strömstad', 'shares border with', 'Säffle Municipality'] ['Strömstad', 'shares border with', 'Töreboda Municipality']
ASK WHERE { resource:Strömstad property:shares_border_with ?h . VALUES ( ?h ) { ( resource:Säffle_Municipality ) ( resource:Töreboda_Municipality ) ( resource:Götene_Municipality ) } }
[]
administrative territorial entity of Sweden
SYSTEM
NO
(Q21567578,P47,Q501452) (Q21567578,P47,Q511326) (Q21567578,P47,Q501470)
action is_in
entity prev_answer
action find
entity Q21567578
relation P47
[ANSWER]
['Q21567578', 'P47', 'Q501452'] ['Q21567578', 'P47', 'Q511326'] ['Q21567578', 'P47', 'Q501470']
ASK WHERE { resource:Q21567578 property:P47 ?h . VALUES ( ?h ) { ( resource:Q511326 ) ( resource:Q501470 ) ( resource:Q511281 ) } }
No
action is_in
entity prev_answer
action find
entity Strömstad
relation shares border with
['Strömstad', 'shares border with', 'Skövde Municipality'] ['Strömstad', 'shares border with', 'Säffle Municipality'] ['Strömstad', 'shares border with', 'Töreboda Municipality']
ASK WHERE { resource:Strömstad property:shares_border_with ?h . VALUES ( ?h ) { ( resource:Säffle_Municipality ) ( resource:Töreboda_Municipality ) ( resource:Götene_Municipality ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q501452 Q660105 Q34
P17
Q15617994
USER
Is Skövde Municipality located in Neundorf bei Schleiz and Sweden ?
(Q501452,P17,Q660105) (Q501452,P17,Q34)
action is_in
entity Q501452
action intersection
action find_reverse
entity Q660105
relation P17
action find_reverse
entity Q34
relation P17
['Q501452', 'P17', 'Q660105'] ['Q501452', 'P17', 'Q34']
ASK WHERE { resource:Q501452 property:P17 resource:Q660105 . resource:Q501452 property:P17 resource:Q34 }
Skövde Municipality Neundorf bei Schleiz Sweden
action is_in
entity Skövde Municipality
action intersection
action find_reverse
entity Neundorf bei Schleiz
relation country
action find_reverse
entity Sweden
relation country
['Skövde Municipality', 'country', 'Neundorf bei Schleiz'] ['Skövde Municipality', 'country', 'Sweden']
ASK WHERE { resource:Skövde_Municipality property:country resource:Neundorf_bei_Schleiz . resource:Skövde_Municipality property:country resource:Sweden }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q501452,P17,Q660105) (Q501452,P17,Q34)
action is_in
entity Q501452
action intersection
action find_reverse
entity Q660105
relation P17
action find_reverse
entity Q34
relation P17
[ANSWER]
['Q501452', 'P17', 'Q660105'] ['Q501452', 'P17', 'Q34']
ASK WHERE { resource:Q501452 property:P17 resource:Q660105 . resource:Q501452 property:P17 resource:Q34 }
NO and YES respectively
action is_in
entity Skövde Municipality
action intersection
action find_reverse
entity Neundorf bei Schleiz
relation country
action find_reverse
entity Sweden
relation country
['Skövde Municipality', 'country', 'Neundorf bei Schleiz'] ['Skövde Municipality', 'country', 'Sweden']
ASK WHERE { resource:Skövde_Municipality property:country resource:Neundorf_bei_Schleiz . resource:Skövde_Municipality property:country resource:Sweden }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5889072 Q2064707
P57
Q502895
USER
Was William Witney the director of Home in Oklahoma ?
(Q5889072,P57,Q2064707)
action is_in
entity Q2064707
action find
entity Q5889072
relation P57
['Q5889072', 'P57', 'Q2064707']
ASK WHERE { resource:Q5889072 property:P57 resource:Q2064707 }
Home in Oklahoma William Witney
action is_in
entity William Witney
action find
entity Home in Oklahoma
relation director
['Home in Oklahoma', 'director', 'William Witney']
ASK WHERE { resource:Home_in_Oklahoma property:director resource:William_Witney }
[]
common name
SYSTEM
YES
(Q5889072,P57,Q2064707)
action is_in
entity Q2064707
action find
entity Q5889072
relation P57
[ANSWER]
['Q5889072', 'P57', 'Q2064707']
ASK WHERE { resource:Q5889072 property:P57 resource:Q2064707 }
Yes
action is_in
entity William Witney
action find
entity Home in Oklahoma
relation director
['Home in Oklahoma', 'director', 'William Witney']
ASK WHERE { resource:Home_in_Oklahoma property:director resource:William_Witney }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19185847 Q21567578
P17
Q15617994
USER
Which administrative territories are Strömstad or Gieteling a part of ?
OR((Q21567578,P17,c(Q15617994)), (Q19185847,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21567578
relation P17
action find
entity Q19185847
relation P17
type Q15617994
{'OR': [['Q21567578', 'P17', {'concept': 'Q15617994'}], ['Q19185847', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { ?a property:P17 ?r . VALUES ( ?a ) { ( resource:Q21567578 ) ( resource:Q19185847 ) } } . ?r rdf:type ontology:Q15617994 }
Gieteling Strömstad
action filter_type
action union
action find
entity Strömstad
relation country
action find
entity Gieteling
relation country
type designation for an administrative territorial entity
{'OR': [['Strömstad', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gieteling', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { ?a property:country ?r . VALUES ( ?a ) { ( resource:Strömstad ) ( resource:Gieteling ) } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55 Q34
SYSTEM
Netherlands, Sweden
Q55 Q34
OR((Q21567578,P17,c(Q15617994)), (Q19185847,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21567578
relation P17
action find
entity Q19185847
relation P17
type Q15617994
[ANSWERS] are Strömstad or Gieteling a part of
{'OR': [['Q21567578', 'P17', {'concept': 'Q15617994'}], ['Q19185847', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { ?a property:P17 ?r . VALUES ( ?a ) { ( resource:Q21567578 ) ( resource:Q19185847 ) } } . ?r rdf:type ontology:Q15617994 }
Netherlands Sweden
Netherlands and Sweden are Strömstad or Gieteling a part of
Netherlands Sweden
action filter_type
action union
action find
entity Strömstad
relation country
action find
entity Gieteling
relation country
type designation for an administrative territorial entity
{'OR': [['Strömstad', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gieteling', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { ?a property:country ?r . VALUES ( ?a ) { ( resource:Strömstad ) ( resource:Gieteling ) } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q201658
USER
How many administrative territories are the countries of origin of less number of works of art or film genres than that administrative territory ?
(c(Q838948)|c(Q201658),P495,c(Q15617994))
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
designation for an administrative territorial entity work of art film genre
Comparative|Count over More/Less|Mult. entity type|Clarification
Q34
SYSTEM
Did you mean Sweden ?
(c(Q838948)|c(Q201658),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
Did you mean Sweden ?
Sweden
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Netherlands. Could you tell me the answer for that?
(c(Q838948)|c(Q201658),P495,c(Q15617994))
Q55
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
156
Q805 Q804 Q801 Q800 Q1462 Q419 Q12536 Q262 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q869 Q953
(c(Q838948)|c(Q201658),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
Yemen Panama Israel Costa Rica Sardinia Peru Abbasid caliphate Algeria Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Thailand Zambia
156
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]