Simple Question (Direct)
Simple Question
Q11652299
P27
Q15617994
USER
Which administrative territory is Hiroaki Nagashima an inhabitant of ?
(Q11652299,P27,c(Q15617994))
action filter_type
action find
entity Q11652299
relation P27
type Q15617994
['Q11652299', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q11652299 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Hiroaki Nagashima
action filter_type
action find
entity Hiroaki Nagashima
relation country of citizenship
type designation for an administrative territorial entity
['Hiroaki Nagashima', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Hiroaki_Nagashima property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q11652299,P27,c(Q15617994))
action filter_type
action find
entity Q11652299
relation P27
type Q15617994
The [ANSWER] is Hiroaki Nagashima an inhabitant of
['Q11652299', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q11652299 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Japan
The Japan is Hiroaki Nagashima an inhabitant of
Japan
action filter_type
action find
entity Hiroaki Nagashima
relation country of citizenship
type designation for an administrative territorial entity
['Hiroaki Nagashima', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Hiroaki_Nagashima property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17
P1001
Q846882
USER
Which sourcess of law have jurisdiction over that administrative territory ?
(c(Q846882),P1001,Q17)
action filter_type
action find_reverse
entity Q17
relation P1001
type Q846882
[{'concept': 'Q846882'}, 'P1001', 'Q17']
SELECT DISTINCT ?r WHERE { ?r property:P1001 resource:Q17 . ?r rdf:type ontology:Q846882 }
Japan
action filter_type
action find_reverse
entity Japan
relation applies to jurisdiction
type sources of law
[{'concept': 'sources of law'}, 'applies to jurisdiction', 'Japan']
SELECT DISTINCT ?r WHERE { ?r property:applies_to_jurisdiction resource:Japan . ?r rdf:type ontology:sources_of_law }
[]
sources of law
Q17220988 Q11498173 Q10372494
SYSTEM
Road maintenance special measures law, Act on the Exercise of the Sovereign Right for Fishery, etc. in the Exclusive Economic Zone, Civil Code of Japan
Q11498173 Q10372494 Q15277824 Q17220988 Q2044663 Q11429668 Q11626080 Q11552696 Q16536887 Q11606967 Q11385952 Q6973006 Q11163539 Q11418792 Q11641836 Q11660457 Q11353082 Q11631817 Q657594 Q11442025 Q11420808 Q4698915 Q3258264 Q11421248 Q6488969 Q3678382 Q11630301 Q11660402 Q5001968 Q574705 Q4251291 Q11631063 Q11143511 Q4683476
(c(Q846882),P1001,Q17)
action filter_type
action find_reverse
entity Q17
relation P1001
type Q846882
[ANSWERS] have jurisdiction over that administrative territory
[{'concept': 'Q846882'}, 'P1001', 'Q17']
SELECT DISTINCT ?r WHERE { ?r property:P1001 resource:Q17 . ?r rdf:type ontology:Q846882 }
Act on the Exercise of the Sovereign Right for Fishery, etc. in the Exclusive Economic Zone Civil Code of Japan Special Secrecy Law Road maintenance special measures law PSE law Anti-Prostitution Act (Japan) Administrative Appeal Act Act on Special Measures for the Promotion and Development of Okinawa Act on Access to Information Held by Administrative Organs Natural Habitat Conservation Areas in Japan Insurance Business Act National Health Care Act of 1958 Diet Act (Japan) Japanese trademark law 貨物利用運送事業法 Telecommunications Business Act (Japan) Act on General Incorporated Associations and General Incorporated Foundations petition law Narcotics and Psychotropics Control Law Cannabis Control Law National Government Organization Act Airport Law Ainu Cultural Promotion Act National University Corporation Act Large-Scale Earthquake Countermeasure Act Japanese nationality law Awakening Drug Control Law Act on Special Measures Concerning Procurement of Electricity from Renewable Energy Sources by Electricity Utilities Businesses Affecting Public Morals Regulation Law Japanese competition law Child pornography laws in Japan Measurement Act Official infectious Administrative Litigation Act
Road maintenance special measures law, Act on the Exercise of the Sovereign Right for Fishery, etc. in the Exclusive Economic Zone and Civil Code of Japan have jurisdiction over that administrative territory
Road maintenance special measures law Act on the Exercise of the Sovereign Right for Fishery, etc. in the Exclusive Economic Zone Civil Code of Japan
action filter_type
action find_reverse
entity Japan
relation applies to jurisdiction
type sources of law
[{'concept': 'sources of law'}, 'applies to jurisdiction', 'Japan']
SELECT DISTINCT ?r WHERE { ?r property:applies_to_jurisdiction resource:Japan . ?r rdf:type ontology:sources_of_law }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P467
Q35749 Q846882
USER
Which parliaments were atmost 1 sources of law legislated by ?
(c(Q846882),P467,c(Q35749))
action atmost
action find_reverse_tuple_counts
relation P467
type Q35749
type Q846882
value 1
[{'concept': 'Q846882'}, 'P467', {'concept': 'Q35749'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?h ) WHERE { ?a rdf:type ontology:Q35749 . ?l rdf:type ontology:Q846882 . ?l property:P467 ?a } GROUP BY ?a } . FILTER ( ?h <= 1 ) }
action atmost
action find_reverse_tuple_counts
relation legislated by
type parliament
type sources of law
value 1
[{'concept': 'sources of law'}, 'legislated by', {'concept': 'parliament'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?h ) WHERE { ?a rdf:type ontology:parliament . ?l rdf:type ontology:sources_of_law . ?l property:legislated_by ?a } GROUP BY ?a } . FILTER ( ?h <= 1 ) }
[]
parliament sources of law
Q15150636 Q15212694 Q6595042
SYSTEM
General Assembly of Newfoundland and Labrador, Legislature of Nunavut, General Assembly of Prince Edward Island
Q15150636 Q15212694 Q6595042 Q6564780 Q6560903 Q15150769 Q6593026 Q9390785 Q37470 Q6596422
(c(Q846882),P467,c(Q35749))
action atmost
action find_reverse_tuple_counts
relation P467
type Q35749
type Q846882
value 1
Atmost 1 sources of law were legislated by [ANSWERS]
[{'concept': 'Q846882'}, 'P467', {'concept': 'Q35749'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?h ) WHERE { ?a rdf:type ontology:Q35749 . ?l rdf:type ontology:Q846882 . ?l property:P467 ?a } GROUP BY ?a } . FILTER ( ?h <= 1 ) }
General Assembly of Newfoundland and Labrador Legislature of Nunavut General Assembly of Prince Edward Island Parliament of British Columbia Legislature of Alberta Legislature of Manitoba Parliament of Ontario Northern Territory Legislative Assembly United Nations Security Council Legislature of Saskatchewan
Atmost 1 sources of law were legislated by General Assembly of Newfoundland and Labrador, Legislature of Nunavut and General Assembly of Prince Edward Island
General Assembly of Newfoundland and Labrador Legislature of Nunavut General Assembly of Prince Edward Island
action atmost
action find_reverse_tuple_counts
relation legislated by
type parliament
type sources of law
value 1
[{'concept': 'sources of law'}, 'legislated by', {'concept': 'parliament'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?h ) WHERE { ?a rdf:type ontology:parliament . ?l rdf:type ontology:sources_of_law . ?l property:legislated_by ?a } GROUP BY ?a } . FILTER ( ?h <= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q15617994 Q7946 Q82799
USER
Which administrative territories are max number of minerals and names named after ?
(c(Q7946)|c(Q82799),P138,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q7946
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q82799
[[{'concept': 'Q7946'}, {'concept': 'Q82799'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?k ) { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?h ) WHERE { { ?s property:P138 ?i . ?i rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q82799 } UNION { ?s property:P138 ?i . ?s rdf:type ontology:Q7946 . ?i rdf:type ontology:Q15617994 } } GROUP BY ?i } } . { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?p ) WHERE { { ?v property:P138 ?z . ?z rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q7946 } UNION { ?z rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q82799 . ?v property:P138 ?z } } GROUP BY ?z } . FILTER ( ?p = ?k ) }
action argmax
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type mineral
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type name
[[{'concept': 'mineral'}, {'concept': 'name'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?k ) { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?h ) WHERE { { ?s property:named_after ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:name } UNION { ?s property:named_after ?i . ?s rdf:type ontology:mineral . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?i } } . { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?p ) WHERE { { ?v property:named_after ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:mineral } UNION { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:name . ?v property:named_after ?z } } GROUP BY ?z } . FILTER ( ?p = ?k ) }
[]
designation for an administrative territorial entity mineral name
Q889 Q794 Q1028
SYSTEM
Afghanistan, Iran, Morocco
Q1273 Q1028 Q794 Q889 Q221 Q81740 Q1948 Q10312 Q854 Q2139159 Q645340
(c(Q7946)|c(Q82799),P138,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q7946
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q82799
[ANSWERS] are max number of minerals and names named after
[[{'concept': 'Q7946'}, {'concept': 'Q82799'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?k ) { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?h ) WHERE { { ?s property:P138 ?i . ?i rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q82799 } UNION { ?s property:P138 ?i . ?s rdf:type ontology:Q7946 . ?i rdf:type ontology:Q15617994 } } GROUP BY ?i } } . { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?p ) WHERE { { ?v property:P138 ?z . ?z rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q7946 } UNION { ?z rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q82799 . ?v property:P138 ?z } } GROUP BY ?z } . FILTER ( ?p = ?k ) }
Tuscany Morocco Iran Afghanistan Republic of Macedonia Lauta Manitoba Tavagnasco Sri Lanka Reichenbach Brenk
Afghanistan, Iran and Morocco are max number of minerals and names named after
Afghanistan Iran Morocco
action argmax
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type mineral
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type name
[[{'concept': 'mineral'}, {'concept': 'name'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?k ) { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?h ) WHERE { { ?s property:named_after ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:name } UNION { ?s property:named_after ?i . ?s rdf:type ontology:mineral . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?i } } . { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?p ) WHERE { { ?v property:named_after ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:mineral } UNION { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:name . ?v property:named_after ?z } } GROUP BY ?z } . FILTER ( ?p = ?k ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4323084
P530
Q1048835
USER
Are Novooleksandrivske known to have diplomatic connections with those administrative territories ?
(Q4323084,P530,Q889) (Q4323084,P530,Q794) (Q4323084,P530,Q1028)
action is_in
entity prev_answer
action find
entity Q4323084
relation P530
['Q4323084', 'P530', 'Q889'] ['Q4323084', 'P530', 'Q794'] ['Q4323084', 'P530', 'Q1028']
ASK WHERE { VALUES ( ?h ) { ( resource:Q1273 ) ( resource:Q1028 ) ( resource:Q794 ) } . resource:Q4323084 property:P530 ?h }
Novooleksandrivske
action is_in
entity prev_answer
action find
entity Novooleksandrivske
relation diplomatic relation
['Novooleksandrivske', 'diplomatic relation', 'Afghanistan'] ['Novooleksandrivske', 'diplomatic relation', 'Iran'] ['Novooleksandrivske', 'diplomatic relation', 'Morocco']
ASK WHERE { VALUES ( ?h ) { ( resource:Tuscany ) ( resource:Morocco ) ( resource:Iran ) } . resource:Novooleksandrivske property:diplomatic_relation ?h }
[]
political territorial entity
SYSTEM
NO
(Q4323084,P530,Q889) (Q4323084,P530,Q794) (Q4323084,P530,Q1028)
action is_in
entity prev_answer
action find
entity Q4323084
relation P530
[ANSWER]
['Q4323084', 'P530', 'Q889'] ['Q4323084', 'P530', 'Q794'] ['Q4323084', 'P530', 'Q1028']
ASK WHERE { VALUES ( ?h ) { ( resource:Q1273 ) ( resource:Q1028 ) ( resource:Q794 ) } . resource:Q4323084 property:P530 ?h }
No
action is_in
entity prev_answer
action find
entity Novooleksandrivske
relation diplomatic relation
['Novooleksandrivske', 'diplomatic relation', 'Afghanistan'] ['Novooleksandrivske', 'diplomatic relation', 'Iran'] ['Novooleksandrivske', 'diplomatic relation', 'Morocco']
ASK WHERE { VALUES ( ?h ) { ( resource:Tuscany ) ( resource:Morocco ) ( resource:Iran ) } . resource:Novooleksandrivske property:diplomatic_relation ?h }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q239502
P495
Q15617994 Q2031291 Q15416
USER
Which administrative territories are the origins of greater number of releases or television programs than Kingdom of Galicia–Volhynia ?
(c(Q2031291)|c(Q15416),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q239502
relation P495
type Q2031291
type Q15416
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?a WHERE { { ?o property:P495 ?a . ?a rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q2031291 } UNION { ?o property:P495 ?a . ?a rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15416 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:P495 resource:Q239502 . { { ?z rdf:type ontology:Q2031291 } UNION { ?z rdf:type ontology:Q15416 } } } } . FILTER ( ?i > ?v ) }
Kingdom of Galicia–Volhynia
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Kingdom of Galicia–Volhynia
relation country of origin
type release
type television program
[[{'concept': 'release'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?a WHERE { { ?o property:country_of_origin ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:release } UNION { ?o property:country_of_origin ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:television_program } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:country_of_origin resource:Kingdom_of_Galicia–Volhynia . { { ?z rdf:type ontology:release } UNION { ?z rdf:type ontology:television_program } } } } . FILTER ( ?i > ?v ) }
[]
designation for an administrative territorial entity release television program
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q801 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q37 Q712 Q717 Q837 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q794 Q889 Q884 Q881 Q826 Q822 Q241 Q242 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q854 Q424 Q230 Q232 Q20 Q1041 Q27 Q28 Q921 Q189 Q843 Q736 Q786 Q225 Q224 Q222 Q96 Q229 Q17 Q902 Q1033 Q191 Q298 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q916 Q1005 Q833 Q79 Q858 Q878 Q774 Q817 Q810 Q29 Q869
(c(Q2031291)|c(Q15416),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q239502
relation P495
type Q2031291
type Q15416
[ANSWERS] are the origins of greater number of releases or television programs than Kingdom of Galicia–Volhynia
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?a WHERE { { ?o property:P495 ?a . ?a rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q2031291 } UNION { ?o property:P495 ?a . ?a rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15416 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:P495 resource:Q239502 . { { ?z rdf:type ontology:Q2031291 } UNION { ?z rdf:type ontology:Q15416 } } } } . FILTER ( ?i > ?v ) }
Panama Israel Peru India Argentina France Netherlands United Kingdom People's Republic of China Lithuania Fiji Venezuela Nepal Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iran Afghanistan South Korea Vietnam Maldives Lebanon Cuba Belize Finland Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia Sri Lanka Cambodia Georgia Kazakhstan Norway Senegal Ireland Hungary Brunei Iceland Pakistan Ecuador Dominican Republic Bosnia and Herzegovina Croatia Albania Mexico Cyprus Japan Bangladesh Nigeria Estonia Chile Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Angola Gambia Malaysia Egypt Syria United Arab Emirates Guatemala Kuwait Jordan Spain Thailand
Italy, Brazil and United States of America are the origins of greater number of releases or television programs than Kingdom of Galicia–Volhynia
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Kingdom of Galicia–Volhynia
relation country of origin
type release
type television program
[[{'concept': 'release'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?a WHERE { { ?o property:country_of_origin ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:release } UNION { ?o property:country_of_origin ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:television_program } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:country_of_origin resource:Kingdom_of_Galicia–Volhynia . { { ?z rdf:type ontology:release } UNION { ?z rdf:type ontology:television_program } } } } . FILTER ( ?i > ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q730
P495
Q15617994 Q2031291 Q15416
USER
And how about Suriname?
(c(Q2031291)|c(Q15416),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q730
relation P495
type Q2031291
type Q15416
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) ?x WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15416 ) ( ontology:Q2031291 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m property:P495 resource:Q730 . { VALUES ( ?k ) { ( ontology:Q2031291 ) ( ontology:Q15416 ) } . ?m rdf:type ?k } } } . FILTER ( ?y > ?j ) }
Suriname
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Suriname
relation country of origin
type release
type television program
[[{'concept': 'release'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) ?x WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:television_program ) ( ontology:release ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m property:country_of_origin resource:Suriname . { VALUES ( ?k ) { ( ontology:release ) ( ontology:television_program ) } . ?m rdf:type ?k } } } . FILTER ( ?y > ?j ) }
[]
designation for an administrative territorial entity release television program
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q801 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q37 Q712 Q717 Q837 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q794 Q889 Q884 Q881 Q826 Q822 Q241 Q242 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q854 Q424 Q230 Q232 Q20 Q1041 Q27 Q28 Q921 Q189 Q843 Q736 Q786 Q225 Q224 Q222 Q96 Q229 Q17 Q902 Q1033 Q191 Q298 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q916 Q1005 Q833 Q79 Q858 Q878 Q774 Q817 Q810 Q29 Q869
(c(Q2031291)|c(Q15416),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q730
relation P495
type Q2031291
type Q15416
[ANSWERS]
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) ?x WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15416 ) ( ontology:Q2031291 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m property:P495 resource:Q730 . { VALUES ( ?k ) { ( ontology:Q2031291 ) ( ontology:Q15416 ) } . ?m rdf:type ?k } } } . FILTER ( ?y > ?j ) }
Panama Israel Peru India Argentina France Netherlands United Kingdom People's Republic of China Lithuania Fiji Venezuela Nepal Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iran Afghanistan South Korea Vietnam Maldives Lebanon Cuba Belize Finland Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia Sri Lanka Cambodia Georgia Kazakhstan Norway Senegal Ireland Hungary Brunei Iceland Pakistan Ecuador Dominican Republic Bosnia and Herzegovina Croatia Albania Mexico Cyprus Japan Bangladesh Nigeria Estonia Chile Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Angola Gambia Malaysia Egypt Syria United Arab Emirates Guatemala Kuwait Jordan Spain Thailand
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Suriname
relation country of origin
type release
type television program
[[{'concept': 'release'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) ?x WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:television_program ) ( ontology:release ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m property:country_of_origin resource:Suriname . { VALUES ( ?k ) { ( ontology:release ) ( ontology:television_program ) } . ?m rdf:type ?k } } } . FILTER ( ?y > ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q574
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with less number of administrative territories than East Timor ?
(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 Q574
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?y ) WHERE { ?f property:P530 ?u . ?f rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Q574 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?y < ?w ) }
East Timor
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 East Timor
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 ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?y ) WHERE { ?f property:diplomatic_relation ?u . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:East_Timor property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y < ?w ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
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 less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q574
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with less number of administrative territories than East Timor
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?y ) WHERE { ?f property:P530 ?u . ?f rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Q574 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?y < ?w ) }
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
Central African Republic, Kingdom of the Netherlands and Kazakhstan have diplomatic relationships with less number of administrative territories than East Timor
Central African Republic Kingdom of the Netherlands Kazakhstan
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 East Timor
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 ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?y ) WHERE { ?f property:diplomatic_relation ?u . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:East_Timor property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y < ?w ) }
[]