Simple Question (Direct)
Simple Question
Q7719562
P161
Q502895
USER
Which people are in The Box ?
(Q7719562,P161,c(Q502895))
action filter_type
action find
entity Q7719562
relation P161
type Q502895
['Q7719562', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q7719562 property:P161 ?u . ?u rdf:type ontology:Q502895 }
The Box
action filter_type
action find
entity The Box
relation cast member
type common name
['The Box', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:The_Box property:cast_member ?u . ?u rdf:type ontology:common_name }
[]
common name
Q52447 Q231648 Q726142
SYSTEM
RZA, Gabrielle Union, Giancarlo Esposito
Q1321014 Q18219 Q726142 Q231648 Q52447
(Q7719562,P161,c(Q502895))
action filter_type
action find
entity Q7719562
relation P161
type Q502895
[ANSWERS] are in The Box
['Q7719562', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q7719562 property:P161 ?u . ?u rdf:type ontology:Q502895 }
Jason Winston George A. J. Buckley Giancarlo Esposito Gabrielle Union RZA
RZA, Gabrielle Union and Giancarlo Esposito are in The Box
RZA Gabrielle Union Giancarlo Esposito
action filter_type
action find
entity The Box
relation cast member
type common name
['The Box', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:The_Box property:cast_member ?u . ?u rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q52447
P57
Q838948
USER
Which works of art are that person a director of ?
(c(Q838948),P57,Q52447)
action filter_type
action find_reverse
entity Q52447
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q52447']
SELECT DISTINCT ?a WHERE { ?a property:P57 resource:Q52447 . ?a rdf:type ontology:Q838948 }
RZA
action filter_type
action find_reverse
entity RZA
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'RZA']
SELECT DISTINCT ?a WHERE { ?a property:director resource:RZA . ?a rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q231648
SYSTEM
Did you mean Gabrielle Union ?
Q52447 Q231648 Q726142
(c(Q838948),P57,Q52447) (c(Q838948),P57,Q231648) (c(Q838948),P57,Q726142)
[ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q52447'] [{'concept': 'Q838948'}, 'P57', 'Q231648'] [{'concept': 'Q838948'}, 'P57', 'Q726142']
SELECT DISTINCT ?a WHERE { ?a property:P57 resource:Q52447 . ?a rdf:type ontology:Q838948 }
RZA Gabrielle Union Giancarlo Esposito
Did you mean Gabrielle Union ?
Gabrielle Union
[{'concept': 'work of art'}, 'director', 'RZA'] [{'concept': 'work of art'}, 'director', 'Gabrielle Union'] [{'concept': 'work of art'}, 'director', 'Giancarlo Esposito']
SELECT DISTINCT ?a WHERE { ?a property:director resource:RZA . ?a rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant RZA. Could you tell me the answer for that?
(c(Q838948),P57,Q52447)
Q52447
[{'concept': 'Q838948'}, 'P57', 'Q52447']
[{'concept': 'work of art'}, 'director', 'RZA']
[]
Q168602 Q22251923
SYSTEM
The Man with the Iron Fists, Coco
Q168602 Q22251923
(c(Q838948),P57,Q52447)
action filter_type
action find_reverse
entity Q52447
relation P57
type Q838948
[ANSWERS] are that person a director of
[{'concept': 'Q838948'}, 'P57', 'Q52447']
SELECT DISTINCT ?a WHERE { ?a property:P57 resource:Q52447 . ?a rdf:type ontology:Q838948 }
The Man with the Iron Fists Coco
The Man with the Iron Fists and Coco are that person a director of
The Man with the Iron Fists Coco
action filter_type
action find_reverse
entity RZA
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'RZA']
SELECT DISTINCT ?a WHERE { ?a property:director resource:RZA . ?a rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q52447 Q1120576
P50
Q2342494
USER
How many collectables have RZA or Communist Party of Britain as their author ?
(c(Q2342494),P50,Q52447) (c(Q2342494),P50,Q1120576)
action count
action union
action filter_type
action find_reverse
entity Q52447
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q1120576
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q52447'] [{'concept': 'Q2342494'}, 'P50', 'Q1120576']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { ?u rdf:type ontology:Q2342494 . ?u property:P50 resource:Q52447 } UNION { ?u property:P50 resource:Q1120576 . ?u rdf:type ontology:Q2342494 } }
RZA Communist Party of Britain
action count
action union
action filter_type
action find_reverse
entity RZA
relation author
type collectable
action filter_type
action find_reverse
entity Communist Party of Britain
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'RZA'] [{'concept': 'collectable'}, 'author', 'Communist Party of Britain']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { ?u rdf:type ontology:collectable . ?u property:author resource:RZA } UNION { ?u property:author resource:Communist_Party_of_Britain . ?u rdf:type ontology:collectable } }
[]
collectable
SYSTEM
3
Q7768110 Q4969236 Q7776370
(c(Q2342494),P50,Q52447) (c(Q2342494),P50,Q1120576)
action count
action union
action filter_type
action find_reverse
entity Q52447
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q1120576
relation P50
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q52447'] [{'concept': 'Q2342494'}, 'P50', 'Q1120576']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { ?u rdf:type ontology:Q2342494 . ?u property:P50 resource:Q52447 } UNION { ?u property:P50 resource:Q1120576 . ?u rdf:type ontology:Q2342494 } }
The Tao of Wu Britain's Road to Socialism The Wu-Tang Manual
3
action count
action union
action filter_type
action find_reverse
entity RZA
relation author
type collectable
action filter_type
action find_reverse
entity Communist Party of Britain
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'RZA'] [{'concept': 'collectable'}, 'author', 'Communist Party of Britain']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { ?u rdf:type ontology:collectable . ?u property:author resource:RZA } UNION { ?u property:author resource:Communist_Party_of_Britain . ?u rdf:type ontology:collectable } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q173242
P2079
Q2695280 Q838948
USER
Which technicss are used to fabricate approximately the same number of works of art as woodcut technique ?
(c(Q838948),P2079,c(Q2695280))
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q173242
relation P2079
type Q2695280
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:P2079 ?j . ?j rdf:type ontology:Q2695280 . ?z rdf:type ontology:Q838948 } GROUP BY ?j } . FILTER ( ?w = ?l ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Q173242 property:P2079 ?x . ?x rdf:type ontology:Q2695280 } } }
woodcut technique
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity woodcut technique
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:fabrication_method ?j . ?j rdf:type ontology:technics . ?z rdf:type ontology:work_of_art } GROUP BY ?j } . FILTER ( ?w = ?l ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:woodcut_technique property:fabrication_method ?x . ?x rdf:type ontology:technics } } }
[]
technics work of art
Q173242 Q26265824 Q139106
SYSTEM
woodcut technique, chasing, engraving
Q11750728 Q9363879 Q173242 Q204867 Q192047 Q752633 Q26265824 Q139106 Q133036 Q2657271
(c(Q838948),P2079,c(Q2695280))
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q173242
relation P2079
type Q2695280
[ANSWERS] are used to fabricate approximately the same number of works of art as woodcut technique
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:P2079 ?j . ?j rdf:type ontology:Q2695280 . ?z rdf:type ontology:Q838948 } GROUP BY ?j } . FILTER ( ?w = ?l ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Q173242 property:P2079 ?x . ?x rdf:type ontology:Q2695280 } } }
Punching stamping woodcut technique zincography machining linocut technique chasing engraving lithography silvering
Woodcut technique, chasing and engraving are used to fabricate approximately the same number of works of art as woodcut technique
woodcut technique chasing engraving
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity woodcut technique
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:fabrication_method ?j . ?j rdf:type ontology:technics . ?z rdf:type ontology:work_of_art } GROUP BY ?j } . FILTER ( ?w = ?l ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:woodcut_technique property:fabrication_method ?x . ?x rdf:type ontology:technics } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7719562
P750
Q43229
USER
Who serves as the distributor of The Box ?
(Q7719562,P750,c(Q43229))
action filter_type
action find
entity Q7719562
relation P750
type Q43229
['Q7719562', 'P750', {'concept': 'Q43229'}]
SELECT DISTINCT ?z WHERE { resource:Q7719562 property:P750 ?z . ?z rdf:type ontology:Q43229 }
The Box
action filter_type
action find
entity The Box
relation distributor
type organization
['The Box', 'distributor', {'concept': 'organization'}]
SELECT DISTINCT ?z WHERE { resource:The_Box property:distributor ?z . ?z rdf:type ontology:organization }
[]
organization
Q5516982
SYSTEM
Gaiam Vivendi Entertainment
Q5516982
(Q7719562,P750,c(Q43229))
action filter_type
action find
entity Q7719562
relation P750
type Q43229
[ANSWER] serves as the distributor of The Box
['Q7719562', 'P750', {'concept': 'Q43229'}]
SELECT DISTINCT ?z WHERE { resource:Q7719562 property:P750 ?z . ?z rdf:type ontology:Q43229 }
Gaiam Vivendi Entertainment
Gaiam Vivendi Entertainment serves as the distributor of The Box
Gaiam Vivendi Entertainment
action filter_type
action find
entity The Box
relation distributor
type organization
['The Box', 'distributor', {'concept': 'organization'}]
SELECT DISTINCT ?z WHERE { resource:The_Box property:distributor ?z . ?z rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7719562
P364
Q34770
USER
Which language was used originally for the creation of The Box ?
(Q7719562,P364,c(Q34770))
action filter_type
action find
entity Q7719562
relation P364
type Q34770
['Q7719562', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q7719562 property:P364 ?l . ?l rdf:type ontology:Q34770 }
The Box
action filter_type
action find
entity The Box
relation original language of work
type language
['The Box', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:The_Box property:original_language_of_work ?l . ?l rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7719562,P364,c(Q34770))
action filter_type
action find
entity Q7719562
relation P364
type Q34770
[ANSWER] was used originally for the creation of The Box
['Q7719562', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q7719562 property:P364 ?l . ?l rdf:type ontology:Q34770 }
English
English was used originally for the creation of The Box
English
action filter_type
action find
entity The Box
relation original language of work
type language
['The Box', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:The_Box property:original_language_of_work ?l . ?l rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P629
Q571
USER
Which book is an edition or translation of that language ?
(c(Q571),P629,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P629
type Q571
[{'concept': 'Q571'}, 'P629', 'Q1860']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q571 . ?m property:P629 resource:Q1860 }
English
action filter_type
action find_reverse
entity English
relation edition or translation of
type book
[{'concept': 'book'}, 'edition or translation of', 'English']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:book . ?m property:edition_or_translation_of resource:English }
[]
book
Q24036077
SYSTEM
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
Q24036077
(c(Q571),P629,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P629
type Q571
[ANSWER] is an edition or translation of that language
[{'concept': 'Q571'}, 'P629', 'Q1860']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q571 . ?m property:P629 resource:Q1860 }
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
Two Addresses from the Governour, Council and Convention of the Massachusets Colony is an edition or translation of that language
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
action filter_type
action find_reverse
entity English
relation edition or translation of
type book
[{'concept': 'book'}, 'edition or translation of', 'English']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:book . ?m property:edition_or_translation_of resource:English }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P264
Q2031291
USER
Which release has English as its record label ?
(c(Q2031291),P264,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P264
type Q2031291
[{'concept': 'Q2031291'}, 'P264', 'Q1860']
SELECT DISTINCT ?h WHERE { ?h property:P264 resource:Q1860 . ?h rdf:type ontology:Q2031291 }
English
action filter_type
action find_reverse
entity English
relation record label
type release
[{'concept': 'release'}, 'record label', 'English']
SELECT DISTINCT ?h WHERE { ?h property:record_label resource:English . ?h rdf:type ontology:release }
[]
release
Q7281317
SYSTEM
Radiosurgery
Q7281317
(c(Q2031291),P264,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P264
type Q2031291
[ANSWER] has English as its record label
[{'concept': 'Q2031291'}, 'P264', 'Q1860']
SELECT DISTINCT ?h WHERE { ?h property:P264 resource:Q1860 . ?h rdf:type ontology:Q2031291 }
Radiosurgery
Radiosurgery has English as its record label
Radiosurgery
action filter_type
action find_reverse
entity English
relation record label
type release
[{'concept': 'release'}, 'record label', 'English']
SELECT DISTINCT ?h WHERE { ?h property:record_label resource:English . ?h rdf:type ontology:release }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7281317
P175
Q215380
USER
What was presented by that release ?
(Q7281317,P175,c(Q215380))
action filter_type
action find
entity Q7281317
relation P175
type Q215380
['Q7281317', 'P175', {'concept': 'Q215380'}]
SELECT DISTINCT ?l WHERE { resource:Q7281317 property:P175 ?l . ?l rdf:type ontology:Q215380 }
Radiosurgery
action filter_type
action find
entity Radiosurgery
relation performer
type band
['Radiosurgery', 'performer', {'concept': 'band'}]
SELECT DISTINCT ?l WHERE { resource:Radiosurgery property:performer ?l . ?l rdf:type ontology:band }
[]
band
Q850645
SYSTEM
New Found Glory
Q850645
(Q7281317,P175,c(Q215380))
action filter_type
action find
entity Q7281317
relation P175
type Q215380
[ANSWER] was presented by that release
['Q7281317', 'P175', {'concept': 'Q215380'}]
SELECT DISTINCT ?l WHERE { resource:Q7281317 property:P175 ?l . ?l rdf:type ontology:Q215380 }
New Found Glory
New Found Glory was presented by that release
New Found Glory
action filter_type
action find
entity Radiosurgery
relation performer
type band
['Radiosurgery', 'performer', {'concept': 'band'}]
SELECT DISTINCT ?l WHERE { resource:Radiosurgery property:performer ?l . ?l rdf:type ontology:band }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7948861
Q15617994
USER
And how about WEGP?
(Q7948861,P17,c(Q15617994))
action filter_type
action find
entity Q7948861
relation P17
type Q15617994
['Q7948861', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q7948861 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
WEGP
action filter_type
action find
entity WEGP
relation country
type designation for an administrative territorial entity
['WEGP', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:WEGP property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7948861,P17,c(Q15617994))
action filter_type
action find
entity Q7948861
relation P17
type Q15617994
[ANSWER]
['Q7948861', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q7948861 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity WEGP
relation country
type designation for an administrative territorial entity
['WEGP', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:WEGP property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q41
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with lesser number of administrative territories than Greece ?
(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 Q41
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { ?u property:P530 resource:Q41 . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?b < ?r ) }
Greece
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 Greece
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 ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { ?u property:diplomatic_relation resource:Greece . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b < ?r ) }
[]
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 Q41
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { ?u property:P530 resource:Q41 . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?b < ?r ) }
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 Greece
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 ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { ?u property:diplomatic_relation resource:Greece . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b < ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q252
P530
Q15617994 Q15617994
USER
And what about 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 ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:P530 resource:Q252 . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?s < ?d ) }
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 ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:diplomatic_relation resource:Indonesia . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s < ?d ) }
[]
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 ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:P530 resource:Q252 . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?s < ?d ) }
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 ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:diplomatic_relation resource:Indonesia . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s < ?d ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with atmost 17 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 17
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?n <= 17 ) . { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?n ) WHERE { ?l rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 . ?l property:P530 ?h } GROUP BY ?l } }
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 17
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?n <= 17 ) . { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?n ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?h } GROUP BY ?l } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q55 Q142
SYSTEM
United States of America, Netherlands, France
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q142 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 Q30 Q924 Q36 Q34 Q928 Q929 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 Q114 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 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 17
[ANSWERS] have diplomatic associations with atmost 17 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?n <= 17 ) . { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?n ) WHERE { ?l rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 . ?l property:P530 ?h } GROUP BY ?l } }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina France 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 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 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 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
United States of America, Netherlands and France have diplomatic associations with atmost 17 administrative territories
United States of America Netherlands France
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 17
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?n <= 17 ) . { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?n ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?h } GROUP BY ?l } }
[]