Simple Question (Direct)
Simple Question
Q42490
P674
Q6619679
USER
Who plays a role in Asterix ?
(Q42490,P674,c(Q6619679))
action filter_type
action find
entity Q42490
relation P674
type Q6619679
['Q42490', 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?l WHERE { resource:Q42490 property:P674 ?l . ?l rdf:type ontology:Q6619679 }
Asterix
action filter_type
action find
entity Asterix
relation characters
type fictional humanoid
['Asterix', 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?l WHERE { resource:Asterix property:characters ?l . ?l rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q1756333 Q7620503 Q715597
SYSTEM
Getafix, Asterix, Obelix
Q715597 Q1756333 Q2445695 Q7620503 Q1084219
(Q42490,P674,c(Q6619679))
action filter_type
action find
entity Q42490
relation P674
type Q6619679
[ANSWERS] play a role in Asterix
['Q42490', 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?l WHERE { resource:Q42490 property:P674 ?l . ?l rdf:type ontology:Q6619679 }
Obelix Getafix Abraracourcix Asterix Falbala
Getafix, Asterix and Obelix play a role in Asterix
Getafix Asterix Obelix
action filter_type
action find
entity Asterix
relation characters
type fictional humanoid
['Asterix', 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?l WHERE { resource:Asterix property:characters ?l . ?l rdf:type ontology:fictional_humanoid }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42490
P50
Q502895
USER
Who authored Asterix ?
(Q42490,P50,c(Q502895))
action filter_type
action find
entity Q42490
relation P50
type Q502895
['Q42490', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q42490 property:P50 ?a }
Asterix
action filter_type
action find
entity Asterix
relation author
type common name
['Asterix', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Asterix property:author ?a }
[]
common name
Q206685 Q192214
SYSTEM
Albert Uderzo, René Goscinny
Q206685 Q192214
(Q42490,P50,c(Q502895))
action filter_type
action find
entity Q42490
relation P50
type Q502895
[ANSWERS] authored Asterix
['Q42490', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q42490 property:P50 ?a }
Albert Uderzo René Goscinny
Albert Uderzo and René Goscinny authored Asterix
Albert Uderzo René Goscinny
action filter_type
action find
entity Asterix
relation author
type common name
['Asterix', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Asterix property:author ?a }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q206685 Q192214
P58
Q838948
USER
Which works of art have Albert Uderzo and René Goscinny as screenwriter ?
(c(Q838948),P58,Q206685) (c(Q838948),P58,Q192214)
action union
action filter_type
action find_reverse
entity Q206685
relation P58
type Q838948
action filter_type
action find_reverse
entity Q192214
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q206685'] [{'concept': 'Q838948'}, 'P58', 'Q192214']
SELECT DISTINCT ?f WHERE { VALUES ( ?h ) { ( resource:Q206685 ) ( resource:Q192214 ) } . ?f property:P58 ?h }
Albert Uderzo René Goscinny
action union
action filter_type
action find_reverse
entity Albert Uderzo
relation screenwriter
type work of art
action filter_type
action find_reverse
entity René Goscinny
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Albert Uderzo'] [{'concept': 'work of art'}, 'screenwriter', 'René Goscinny']
SELECT DISTINCT ?f WHERE { VALUES ( ?h ) { ( resource:Albert_Uderzo ) ( resource:René_Goscinny ) } . ?f property:screenwriter ?h }
[]
work of art
Q747919 Q747919 Q737904
SYSTEM
Asterix & Obelix: On Her Majesty's Service for 1st, 2nd, Asterix & Obelix: Mission Cleopatra for 3rd
Q747919 Q1082924 Q737904 Q747919 Q3232939 Q3228079 Q370830 Q737904 Q751099
(c(Q838948),P58,Q206685) (c(Q838948),P58,Q192214)
action union
action filter_type
action find_reverse
entity Q206685
relation P58
type Q838948
action filter_type
action find_reverse
entity Q192214
relation P58
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P58', 'Q206685'] [{'concept': 'Q838948'}, 'P58', 'Q192214']
SELECT DISTINCT ?f WHERE { VALUES ( ?h ) { ( resource:Q206685 ) ( resource:Q192214 ) } . ?f property:P58 ?h }
Asterix & Obelix: On Her Majesty's Service Sky Fighters Asterix & Obelix: Mission Cleopatra Asterix & Obelix: On Her Majesty's Service The Holes Le Viager Tintin and the Blue Oranges Asterix & Obelix: Mission Cleopatra Lucky Luke
Asterix & Obelix: On Her Majesty's Service, Asterix & Obelix: On Her Majesty's Service and Asterix & Obelix: Mission Cleopatra have Albert Uderzo and René Goscinny as screenwriter
Asterix & Obelix: On Her Majesty's Service Asterix & Obelix: On Her Majesty's Service Asterix & Obelix: Mission Cleopatra
action union
action filter_type
action find_reverse
entity Albert Uderzo
relation screenwriter
type work of art
action filter_type
action find_reverse
entity René Goscinny
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Albert Uderzo'] [{'concept': 'work of art'}, 'screenwriter', 'René Goscinny']
SELECT DISTINCT ?f WHERE { VALUES ( ?h ) { ( resource:Albert_Uderzo ) ( resource:René_Goscinny ) } . ?f property:screenwriter ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42490
P144
Q838948
USER
Which work of art is derived from Asterix ?
(c(Q838948),P144,Q42490)
action filter_type
action find_reverse
entity Q42490
relation P144
type Q838948
[{'concept': 'Q838948'}, 'P144', 'Q42490']
SELECT DISTINCT ?r WHERE { ?r property:P144 resource:Q42490 . ?r rdf:type ontology:Q838948 }
Asterix
action filter_type
action find_reverse
entity Asterix
relation based on
type work of art
[{'concept': 'work of art'}, 'based on', 'Asterix']
SELECT DISTINCT ?r WHERE { ?r property:based_on resource:Asterix . ?r rdf:type ontology:work_of_art }
[]
work of art
Q747919
SYSTEM
Asterix & Obelix: On Her Majesty's Service
Q747919
(c(Q838948),P144,Q42490)
action filter_type
action find_reverse
entity Q42490
relation P144
type Q838948
[ANSWER] is derived from Asterix
[{'concept': 'Q838948'}, 'P144', 'Q42490']
SELECT DISTINCT ?r WHERE { ?r property:P144 resource:Q42490 . ?r rdf:type ontology:Q838948 }
Asterix & Obelix: On Her Majesty's Service
Asterix & Obelix: On Her Majesty's Service is derived from Asterix
Asterix & Obelix: On Her Majesty's Service
action filter_type
action find_reverse
entity Asterix
relation based on
type work of art
[{'concept': 'work of art'}, 'based on', 'Asterix']
SELECT DISTINCT ?r WHERE { ?r property:based_on resource:Asterix . ?r rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q747919
P915
Q15617994
USER
Which administrative territory was that work of art filmed at ?
(Q747919,P915,c(Q15617994))
action filter_type
action find
entity Q747919
relation P915
type Q15617994
['Q747919', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q747919 property:P915 ?u . ?u rdf:type ontology:Q15617994 }
Asterix & Obelix: On Her Majesty's Service
action filter_type
action find
entity Asterix & Obelix: On Her Majesty's Service
relation filming location
type designation for an administrative territorial entity
["Asterix & Obelix: On Her Majesty's Service", 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Asterix_&_Obelix:_On_Her_Majesty's_Service property:filming_location ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q233
SYSTEM
Malta
Q233
(Q747919,P915,c(Q15617994))
action filter_type
action find
entity Q747919
relation P915
type Q15617994
That work of art was filmed in [ANSWER]
['Q747919', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q747919 property:P915 ?u . ?u rdf:type ontology:Q15617994 }
Malta
That work of art was filmed in Malta
Malta
action filter_type
action find
entity Asterix & Obelix: On Her Majesty's Service
relation filming location
type designation for an administrative territorial entity
["Asterix & Obelix: On Her Majesty's Service", 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Asterix_&_Obelix:_On_Her_Majesty's_Service property:filming_location ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q491978
Q15617994
USER
And also tell me about Quick?
(Q491978,P915,c(Q15617994))
action filter_type
action find
entity Q491978
relation P915
type Q15617994
['Q491978', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q491978 property:P915 ?i . ?i rdf:type ontology:Q15617994 }
Quick
action filter_type
action find
entity Quick
relation filming location
type designation for an administrative territorial entity
['Quick', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Quick property:filming_location ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q491978,P915,c(Q15617994))
action filter_type
action find
entity Q491978
relation P915
type Q15617994
[ANSWER]
['Q491978', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q491978 property:P915 ?i . ?i rdf:type ontology:Q15617994 }
South Korea
South Korea
action filter_type
action find
entity Quick
relation filming location
type designation for an administrative territorial entity
['Quick', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Quick property:filming_location ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories are the countries of origin of around the same number of releases as that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q884
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:P495 ?n . ?n rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q2031291 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Q884 property:P495 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?m = ?o ) }
action count
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity South Korea
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:country_of_origin ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:release } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:South_Korea property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m = ?o ) }
[]
designation for an administrative territorial entity release
SYSTEM
168
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 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 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 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 Q96 Q229 Q347 Q17 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 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q884
relation P495
type Q15617994
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:P495 ?n . ?n rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q2031291 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Q884 property:P495 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?m = ?o ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China 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 Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy 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 Mexico Cyprus Liechtenstein Japan 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 Spain Tuvalu Quebec Tajikistan Thailand Zambia
168
action count
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity South Korea
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:country_of_origin ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:release } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:South_Korea property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m = ?o ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9021613 Q192214
P27
Q15617994
USER
Which administrative territories are the native countriesof René Goscinny or Leopoldo Vázquez Mellado ?
OR((Q192214,P27,c(Q15617994)), (Q9021613,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q192214
relation P27
action find
entity Q9021613
relation P27
type Q15617994
{'OR': [['Q192214', 'P27', {'concept': 'Q15617994'}], ['Q9021613', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?w ) { ( resource:Q192214 ) ( resource:Q9021613 ) } . ?w property:P27 ?d } . ?d rdf:type ontology:Q15617994 }
Leopoldo Vázquez Mellado René Goscinny
action filter_type
action union
action find
entity René Goscinny
relation country of citizenship
action find
entity Leopoldo Vázquez Mellado
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['René Goscinny', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Leopoldo Vázquez Mellado', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?w ) { ( resource:René_Goscinny ) ( resource:Leopoldo_Vázquez_Mellado ) } . ?w property:country_of_citizenship ?d } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q96
SYSTEM
France, Mexico
Q142 Q96
OR((Q192214,P27,c(Q15617994)), (Q9021613,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q192214
relation P27
action find
entity Q9021613
relation P27
type Q15617994
[ANSWERS] are the native countriesof René Goscinny or Leopoldo Vázquez Mellado
{'OR': [['Q192214', 'P27', {'concept': 'Q15617994'}], ['Q9021613', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?w ) { ( resource:Q192214 ) ( resource:Q9021613 ) } . ?w property:P27 ?d } . ?d rdf:type ontology:Q15617994 }
France Mexico
France and Mexico are the native countriesof René Goscinny or Leopoldo Vázquez Mellado
France Mexico
action filter_type
action union
action find
entity René Goscinny
relation country of citizenship
action find
entity Leopoldo Vázquez Mellado
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['René Goscinny', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Leopoldo Vázquez Mellado', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?w ) { ( resource:René_Goscinny ) ( resource:Leopoldo_Vázquez_Mellado ) } . ?w property:country_of_citizenship ?d } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q218
P530
Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with less number of administrative territories than Romania ?
(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 Q218
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ontology:Q15617994 . resource:Q218 property:P530 ?r } } . FILTER ( ?b < ?e ) . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?b ) WHERE { ?a rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 . ?a property:P530 ?u } GROUP BY ?a } }
Romania
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 Romania
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 ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Romania property:diplomatic_relation ?r } } . FILTER ( ?b < ?e ) . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?b ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:diplomatic_relation ?u } GROUP BY ?a } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
111
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q265 Q712 Q717 Q837 Q398 Q657 Q792 Q790 Q954 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q924 Q36 Q34 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q221 Q96 Q229 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q77 Q878 Q774 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q218
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ontology:Q15617994 . resource:Q218 property:P530 ?r } } . FILTER ( ?b < ?e ) . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?b ) WHERE { ?a rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 . ?a property:P530 ?u } GROUP BY ?a } }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Uzbekistan Fiji Venezuela Nepal Bahrain Chad El Salvador Haiti Zimbabwe South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Tanzania Poland Sweden Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Republic of Macedonia Mexico Cyprus Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Uruguay United Arab Emirates Guatemala Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
111
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 Romania
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 ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Romania property:diplomatic_relation ?r } } . FILTER ( ?b < ?e ) . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?b ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:diplomatic_relation ?u } GROUP BY ?a } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q801
P530
Q15617994 Q15617994
USER
And also tell me about Israel?
(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 Q801
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { resource:Q801 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?t < ?m ) . { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?t ) WHERE { ?a property:P530 ?r . ?a rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?a } }
Israel
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 Israel
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 ( COUNT ( ?o ) AS ?m ) WHERE { resource:Israel property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t < ?m ) . { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?t ) WHERE { ?a property:diplomatic_relation ?r . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
154
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 count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q801
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { resource:Q801 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?t < ?m ) . { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?t ) WHERE { ?a property:P530 ?r . ?a rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?a } }
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
154
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 Israel
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 ( COUNT ( ?o ) AS ?m ) WHERE { resource:Israel property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t < ?m ) . { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?t ) WHERE { ?a property:diplomatic_relation ?r . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have ambassadorial relations with around 62 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 62
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?w = 62 ) . { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?w ) WHERE { ?v property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?v } }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 62
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?w = 62 ) . { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?w ) WHERE { ?v property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 62
[ANSWER] have ambassadorial relations with around 62 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?w = 62 ) . { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?w ) WHERE { ?v property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?v } }
Brazil
Brazil have ambassadorial relations with around 62 administrative territories
Brazil
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 62
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?w = 62 ) . { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?w ) WHERE { ?v property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2737454 Q715597
P674
Q571
USER
Which books are Obelix or Fantasio a character of ?
OR((c(Q571),P674,Q715597), (c(Q571),P674,Q2737454))
action filter_type
action union
action find_reverse
entity Q715597
relation P674
action find_reverse
entity Q2737454
relation P674
type Q571
{'OR': [[{'concept': 'Q571'}, 'P674', 'Q715597'], [{'concept': 'Q571'}, 'P674', 'Q2737454']]}
SELECT DISTINCT ?d WHERE { { ?d property:P674 ?y . VALUES ( ?y ) { ( resource:Q715597 ) ( resource:Q2737454 ) } } . ?d rdf:type ontology:Q571 }
Fantasio Obelix
action filter_type
action union
action find_reverse
entity Obelix
relation characters
action find_reverse
entity Fantasio
relation characters
type book
{'OR': [[{'concept': 'book'}, 'characters', 'Obelix'], [{'concept': 'book'}, 'characters', 'Fantasio']]}
SELECT DISTINCT ?d WHERE { { ?d property:characters ?y . VALUES ( ?y ) { ( resource:Obelix ) ( resource:Fantasio ) } } . ?d rdf:type ontology:book }
[]
book
Q3480354 Q3094299 Q748291 Q3201366 Q3040378 Q1198454 Q493732 Q3226350 Q3225935 Q3480362
SYSTEM
Some of them are Virus, Gaffes et gadgets, Asterix and the Actress, L'abbaye truquée, Du glucose pour Noémie, La mauvaise tête, QRN sur Bretzelburg, Le repaire de la murène, Le prisonnier du Bouddha, Vito la Déveine
Q3220668 Q748360 Q2873490 Q3223372 Q3094295 Q1198454 Q3209263 Q676258 Q3094299 Q3024108 Q3480927 Q3207121 Q3482123 Q3482125 Q2788297 Q3203865 Q657101 Q3204520 Q3226773 Q3040378 Q3040352 Q3206839 Q3095576 Q3094457 Q3198228 Q3024130 Q748291 Q3222309 Q493732 Q3225935 Q1168335 Q3202037 Q3207824 Q3148571 Q3480170 Q3232512 Q3224108 Q3480242 Q3480354 Q3236160 Q3480362 Q534855 Q3201366 Q3414383 Q3064649 Q2387508 Q3213437 Q3226350 Q3053542
OR((c(Q571),P674,Q715597), (c(Q571),P674,Q2737454))
action filter_type
action union
action find_reverse
entity Q715597
relation P674
action find_reverse
entity Q2737454
relation P674
type Q571
[ANSWERS]
{'OR': [[{'concept': 'Q571'}, 'P674', 'Q715597'], [{'concept': 'Q571'}, 'P674', 'Q2737454']]}
SELECT DISTINCT ?d WHERE { { ?d property:P674 ?y . VALUES ( ?y ) { ( resource:Q715597 ) ( resource:Q2737454 ) } } . ?d rdf:type ontology:Q571 }
Le bureau des gaffes en gros Asterix and the Cauldron Aventure en Australie Le gri-gri du Niokolo-Koba Gaffe à Lagaffe ! La mauvaise tête La frousse aux trousses Asterix and the Chieftain's Shield Gaffes et gadgets Des gaffes et des dégâts La jeunesse de Spirou La ceinture du grand froid Tora Torapa Spirou et les héritiers Quatre aventures de Spirou et Fantasio L'horloger de la comète Spirou et Fantasio L'ombre du Z Le réveil du Z Du glucose pour Noémie Du cidre pour les étoiles La boîte noire Gare aux gaffes du gars gonflé Gala de gaffes à gogo Kodo le tyran Des haricots partout Asterix and the Actress Le dictateur et le champignon QRN sur Bretzelburg Le prisonnier du Bouddha Asterix and Caesar's Gift L'Ankou La corne de rhinocéros Il y a un sorcier à Champignac Z comme Zorglub Les faiseurs de silence Le lourd passé de Lagaffe Spirou à New York Virus Les voleurs du Marsupilami Vito la Déveine Asterix at the Olympic Games L'abbaye truquée Qui arrêtera Cyanure? Gaston 19 Spirou à Moscou La vallée des bannis Le repaire de la murène En direct de la gaffe
Which books are Obelix or Fantasio a character of
Virus Gaffes et gadgets Asterix and the Actress L'abbaye truquée Du glucose pour Noémie La mauvaise tête QRN sur Bretzelburg Le repaire de la murène Le prisonnier du Bouddha Vito la Déveine
action filter_type
action union
action find_reverse
entity Obelix
relation characters
action find_reverse
entity Fantasio
relation characters
type book
{'OR': [[{'concept': 'book'}, 'characters', 'Obelix'], [{'concept': 'book'}, 'characters', 'Fantasio']]}
SELECT DISTINCT ?d WHERE { { ?d property:characters ?y . VALUES ( ?y ) { ( resource:Obelix ) ( resource:Fantasio ) } } . ?d rdf:type ontology:book }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q6619679 Q277759 Q2342494
USER
How many fictional humanoids plays a role in atleast 12 book series and collectables ?
(c(Q277759)|c(Q2342494),P674,c(Q6619679))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q277759
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q2342494
value 12
[[{'concept': 'Q277759'}, {'concept': 'Q2342494'}], 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q277759 ) } } GROUP BY ?y } . FILTER ( ?b >= 12 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type book series
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type collectable
value 12
[[{'concept': 'book series'}, {'concept': 'collectable'}], 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?k . VALUES ( ?k ) { ( ontology:collectable ) ( ontology:book_series ) } } GROUP BY ?y } . FILTER ( ?b >= 12 ) }
[]
fictional humanoid book series collectable
SYSTEM
14
Q15220681 Q170534 Q18516397 Q2362626 Q3119417 Q18510587 Q830561 Q2009573 Q193531 Q18516409 Q18516401 Q18516407 Q371774 Q18516276
(c(Q277759)|c(Q2342494),P674,c(Q6619679))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q277759
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q2342494
value 12
[ANSWER]
[[{'concept': 'Q277759'}, {'concept': 'Q2342494'}], 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q277759 ) } } GROUP BY ?y } . FILTER ( ?b >= 12 ) }
Temperance Brennan Hercule Poirot Lorenzo Vianello Rand al'Thor Guido Brunetti Paola Brunetti Jules Maigret James Bond Miss Marple Chiara Brunetti Elettra Zorzi Raffaele Brunetti Nero Wolfe Vice-Questore Patta
14
action count
action atleast
action union
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type book series
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type collectable
value 12
[[{'concept': 'book series'}, {'concept': 'collectable'}], 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?k . VALUES ( ?k ) { ( ontology:collectable ) ( ontology:book_series ) } } GROUP BY ?y } . FILTER ( ?b >= 12 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3519
P291
Q56061 Q571
USER
Which administrative territories are the places of publication of lesser number of books than Bari ?
(c(Q571),P291,c(Q56061))
action less
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find_reverse
entity Q3519
relation P291
type Q571
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:P291 resource:Q3519 . ?x rdf:type ontology:Q571 } } . FILTER ( ?f < ?n ) . { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:P291 ?s . ?s rdf:type ontology:Q56061 . ?v rdf:type ontology:Q571 } GROUP BY ?s } }
Bari
action less
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find_reverse
entity Bari
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:place_of_publication resource:Bari . ?x rdf:type ontology:book } } . FILTER ( ?f < ?n ) . { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:place_of_publication ?s . ?s rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:book } GROUP BY ?s } }
[]
administrative territorial entity book
Q8686 Q1781 Q406
SYSTEM
Shanghai, Budapest, Istanbul
Q807 Q2536016 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q3150 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q987 Q8692 Q23051 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q41876 Q749 Q99151 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q81046 Q5831 Q22889 Q12892 Q132572 Q6157 Q12411 Q1718 Q43631 Q11125 Q8810 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q1489 Q2020203 Q406 Q234178 Q15468 Q6346 Q887 Q576165 Q5465 Q2141 Q54217 Q1679567 Q2814 Q15093 Q162279 Q17151 Q1490 Q1191195 Q102217 Q237 Q239 Q16559 Q16554 Q16555 Q16557 Q486306 Q8686 Q994 Q1513 Q1296 Q1563 Q170263 Q35381 Q87 Q40269 Q2081145 Q1024911 Q193478 Q1741 Q191133 Q11959 Q35493 Q538915 Q78 Q37100 Q38022 Q286048 Q1235510 Q15678 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q1861 Q14318 Q14314 Q15090 Q134620 Q956 Q15095 Q15098 Q437 Q8745 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q327022 Q12225 Q23154 Q340 Q342 Q10282 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q6576 Q28249 Q13666 Q9580 Q569661 Q8356 Q49179 Q735583 Q1724 Q11967 Q1729 Q159232 Q207891 Q3395358 Q683512 Q3889 Q9125 Q5818 Q1867 Q204382 Q269 Q27393 Q126148 Q771986 Q49229 Q33405 Q79990 Q493794 Q6537 Q6106 Q2391194 Q10313 Q1295 Q59169 Q669171 Q204720 Q206988 Q3012 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q15088 Q3366952 Q203263 Q213898 Q193180 Q8757 Q47048 Q178277 Q192155 Q883 Q41262 Q6441 Q125080 Q12303 Q156990 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q646620 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q29303 Q628667 Q127159 Q14336 Q34647
(c(Q571),P291,c(Q56061))
action less
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find_reverse
entity Q3519
relation P291
type Q571
[ANSWERS] are the places of publication of lesser number of books than Bari
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:P291 resource:Q3519 . ?x rdf:type ontology:Q571 } } . FILTER ( ?f < ?n ) . { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:P291 ?s . ?s rdf:type ontology:Q56061 . ?v rdf:type ontology:Q571 } GROUP BY ?s } }
Lausanne Crickhowell Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Fribourg Glasgow Athol Zaragoza Crumlin New Delhi Bilbao Swansea Palermo Grenoble Straume Málaga Cardiff Gävle Ávila Soria Nampula Cádiz Segovia Gloucester Reims Groningen Ourense Burbank Mariehamn Liège Victoria Toulouse Ottawa Wilmington Charleroi Melilla Bath Antwerp Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Lugo Granada Elverum Alcones Caernarfon Montevideo Petrozavodsk Harstad Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Athens Mexico City Rhyl Istanbul Bangor Badalona Indianapolis Yekaterinburg Warsaw Cape Town Halifax Norwalk Jakobstad Halle (Saale) Ciudad Real Kuopio Thessaloniki Tokyo Mold Vitebsk Vatican City Brussels Austin Denver Houston Dallas Pensacola Shanghai Tbilisi Nagpur Ghent Havana Chester Colombo Alexandria Porto Alegre Milborne Port Welshpool Buda Vienna Fátima Alicante Almaty Mjölby Basel Auckland St. Louis New Glasgow, Nova Scotia Dolgellau Cáceres Lexington Perth Winchester Budapest Tel Aviv Bradenton Bangkok Vitoria-Gasteiz Santiago de Compostela Lleida Jyväskylä Beijing Albacete Cuenca Ljubljana Vigo Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Rockville Murcia Bristol Montreal Quimper Pamplona Sereď Barmouth Sunderland Padua Conwy Sofia Irkutsk Concord Messina Burgos Königstein im Taunus Valladolid Worcester Ylivieska Saarbrücken Huesca Erfurt Santa Cruz Kokkola Kidwelly Savonlinna Maputo Winterthur Córdoba Taipei Kouvola Tashkent Herning Tangier Chepstow Durham Little Rock Christchurch Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Dortmund Mo i Rana Newtown Hereford Cheltenham Ulm León Ferrol Zamora Salamanca The Dalles Saint Paul Tarragona Alta Athens Preveza Kajaani A Coruña Oulu Montvale Kotka Novosibirsk Nottingham Montpellier Vaasa Jerez de la Frontera Monmouth Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Toronto Estella-Lizarra Kanhangad Tartu Jaffna Palma Galway Greenwich Canterbury Spangenberg Bletchley Teruel Johannesburg
Shanghai, Budapest and Istanbul are the places of publication of lesser number of books than Bari
Shanghai Budapest Istanbul
action less
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find_reverse
entity Bari
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:place_of_publication resource:Bari . ?x rdf:type ontology:book } } . FILTER ( ?f < ?n ) . { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:place_of_publication ?s . ?s rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:book } GROUP BY ?s } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q5092
P291
Q56061 Q571
USER
And what about Baltimore?
(c(Q571),P291,c(Q56061))
action less
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find_reverse
entity Q5092
relation P291
type Q571
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:P291 ?c . ?c rdf:type ontology:Q56061 . ?p rdf:type ontology:Q571 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b rdf:type ontology:Q571 . ?b property:P291 resource:Q5092 } } . FILTER ( ?l < ?j ) }
Baltimore
action less
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find_reverse
entity Baltimore
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:place_of_publication ?c . ?c rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:book } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b rdf:type ontology:book . ?b property:place_of_publication resource:Baltimore } } . FILTER ( ?l < ?j ) }
[]
administrative territorial entity book
Q8686 Q1781 Q406
SYSTEM
Shanghai, Budapest, Istanbul
Q807 Q2536016 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q3150 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q987 Q8692 Q23051 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q41876 Q749 Q99151 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q81046 Q5831 Q22889 Q12892 Q132572 Q6157 Q12411 Q1718 Q43631 Q11125 Q8810 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q1489 Q2020203 Q406 Q234178 Q15468 Q6346 Q887 Q576165 Q5465 Q2141 Q54217 Q1679567 Q2814 Q15093 Q162279 Q17151 Q1490 Q1191195 Q102217 Q237 Q239 Q16559 Q16554 Q16555 Q16557 Q486306 Q8686 Q994 Q1513 Q1296 Q1563 Q170263 Q35381 Q87 Q40269 Q2081145 Q1024911 Q193478 Q1741 Q191133 Q11959 Q35493 Q538915 Q78 Q37100 Q38022 Q286048 Q1235510 Q15678 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q1861 Q14318 Q14314 Q15090 Q134620 Q956 Q15095 Q15098 Q437 Q8745 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q327022 Q12225 Q23154 Q340 Q342 Q10282 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q6576 Q28249 Q13666 Q9580 Q569661 Q8356 Q49179 Q735583 Q1724 Q11967 Q1729 Q159232 Q207891 Q3395358 Q683512 Q3889 Q9125 Q5818 Q1867 Q204382 Q269 Q27393 Q126148 Q771986 Q49229 Q33405 Q79990 Q493794 Q6537 Q6106 Q2391194 Q10313 Q1295 Q59169 Q669171 Q204720 Q206988 Q3012 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q15088 Q3366952 Q203263 Q213898 Q193180 Q8757 Q47048 Q178277 Q192155 Q883 Q41262 Q6441 Q125080 Q12303 Q156990 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q646620 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q29303 Q628667 Q127159 Q14336 Q34647
(c(Q571),P291,c(Q56061))
action less
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find_reverse
entity Q5092
relation P291
type Q571
[ANSWERS]
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:P291 ?c . ?c rdf:type ontology:Q56061 . ?p rdf:type ontology:Q571 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b rdf:type ontology:Q571 . ?b property:P291 resource:Q5092 } } . FILTER ( ?l < ?j ) }
Lausanne Crickhowell Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Fribourg Glasgow Athol Zaragoza Crumlin New Delhi Bilbao Swansea Palermo Grenoble Straume Málaga Cardiff Gävle Ávila Soria Nampula Cádiz Segovia Gloucester Reims Groningen Ourense Burbank Mariehamn Liège Victoria Toulouse Ottawa Wilmington Charleroi Melilla Bath Antwerp Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Lugo Granada Elverum Alcones Caernarfon Montevideo Petrozavodsk Harstad Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Athens Mexico City Rhyl Istanbul Bangor Badalona Indianapolis Yekaterinburg Warsaw Cape Town Halifax Norwalk Jakobstad Halle (Saale) Ciudad Real Kuopio Thessaloniki Tokyo Mold Vitebsk Vatican City Brussels Austin Denver Houston Dallas Pensacola Shanghai Tbilisi Nagpur Ghent Havana Chester Colombo Alexandria Porto Alegre Milborne Port Welshpool Buda Vienna Fátima Alicante Almaty Mjölby Basel Auckland St. Louis New Glasgow, Nova Scotia Dolgellau Cáceres Lexington Perth Winchester Budapest Tel Aviv Bradenton Bangkok Vitoria-Gasteiz Santiago de Compostela Lleida Jyväskylä Beijing Albacete Cuenca Ljubljana Vigo Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Rockville Murcia Bristol Montreal Quimper Pamplona Sereď Barmouth Sunderland Padua Conwy Sofia Irkutsk Concord Messina Burgos Königstein im Taunus Valladolid Worcester Ylivieska Saarbrücken Huesca Erfurt Santa Cruz Kokkola Kidwelly Savonlinna Maputo Winterthur Córdoba Taipei Kouvola Tashkent Herning Tangier Chepstow Durham Little Rock Christchurch Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Dortmund Mo i Rana Newtown Hereford Cheltenham Ulm León Ferrol Zamora Salamanca The Dalles Saint Paul Tarragona Alta Athens Preveza Kajaani A Coruña Oulu Montvale Kotka Novosibirsk Nottingham Montpellier Vaasa Jerez de la Frontera Monmouth Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Toronto Estella-Lizarra Kanhangad Tartu Jaffna Palma Galway Greenwich Canterbury Spangenberg Bletchley Teruel Johannesburg
Shanghai Budapest Istanbul
action less
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find_reverse
entity Baltimore
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:place_of_publication ?c . ?c rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:book } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b rdf:type ontology:book . ?b property:place_of_publication resource:Baltimore } } . FILTER ( ?l < ?j ) }
[]