Simple Question (Direct)
Simple Question
Q234718
P19
Q56061
USER
Where was Joanne Harris born ?
(Q234718,P19,c(Q56061))
action filter_type
action find
entity Q234718
relation P19
type Q56061
['Q234718', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q234718 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Joanne Harris
action filter_type
action find
entity Joanne Harris
relation place of birth
type administrative territorial entity
['Joanne Harris', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Joanne_Harris property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q54212
SYSTEM
Barnsley
Q54212
(Q234718,P19,c(Q56061))
action filter_type
action find
entity Q234718
relation P19
type Q56061
Joanne Harris was born in [ANSWER]
['Q234718', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q234718 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Barnsley
Joanne Harris was born in Barnsley
Barnsley
action filter_type
action find
entity Joanne Harris
relation place of birth
type administrative territorial entity
['Joanne Harris', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Joanne_Harris property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q54212
P190
Q56061
USER
Which administrative territory is twin city of that one ?
(Q54212,P190,c(Q56061))
action filter_type
action find
entity Q54212
relation P190
type Q56061
['Q54212', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q54212 property:P190 ?g . ?g rdf:type ontology:Q56061 }
Barnsley
action filter_type
action find
entity Barnsley
relation sister city
type administrative territorial entity
['Barnsley', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Barnsley property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4037
SYSTEM
Schwäbisch Gmünd
Q4037
(Q54212,P190,c(Q56061))
action filter_type
action find
entity Q54212
relation P190
type Q56061
[ANSWER] is twin city of that one
['Q54212', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q54212 property:P190 ?g . ?g rdf:type ontology:Q56061 }
Schwäbisch Gmünd
Schwäbisch Gmünd is twin city of that one
Schwäbisch Gmünd
action filter_type
action find
entity Barnsley
relation sister city
type administrative territorial entity
['Barnsley', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Barnsley property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q4037 Q14520508
P19
Q502895
USER
Does Johann Baptist Bommas have place of birth as that administrative territory ?
(Q14520508,P19,Q4037)
action is_in
entity Q4037
action find
entity Q14520508
relation P19
['Q14520508', 'P19', 'Q4037']
ASK WHERE { resource:Q14520508 property:P19 resource:Q4037 }
Schwäbisch Gmünd Johann Baptist Bommas
action is_in
entity Schwäbisch Gmünd
action find
entity Johann Baptist Bommas
relation place of birth
['Johann Baptist Bommas', 'place of birth', 'Schwäbisch Gmünd']
ASK WHERE { resource:Johann_Baptist_Bommas property:place_of_birth resource:Schwäbisch_Gmünd }
[]
common name
SYSTEM
YES
(Q14520508,P19,Q4037)
action is_in
entity Q4037
action find
entity Q14520508
relation P19
[ANSWER]
['Q14520508', 'P19', 'Q4037']
ASK WHERE { resource:Q14520508 property:P19 resource:Q4037 }
Yes
action is_in
entity Schwäbisch Gmünd
action find
entity Johann Baptist Bommas
relation place of birth
['Johann Baptist Bommas', 'place of birth', 'Schwäbisch Gmünd']
ASK WHERE { resource:Johann_Baptist_Bommas property:place_of_birth resource:Schwäbisch_Gmünd }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q54212
P47
Q56061
USER
Which administrative territory is adjacent to Barnsley ?
(Q54212,P47,c(Q56061))
action filter_type
action find
entity Q54212
relation P47
type Q56061
['Q54212', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q54212 property:P47 ?v . ?v rdf:type ontology:Q56061 }
Barnsley
action filter_type
action find
entity Barnsley
relation shares border with
type administrative territorial entity
['Barnsley', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Barnsley property:shares_border_with ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q42448
SYSTEM
Sheffield
Q42448
(Q54212,P47,c(Q56061))
action filter_type
action find
entity Q54212
relation P47
type Q56061
[ANSWER] is adjacent to Barnsley
['Q54212', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q54212 property:P47 ?v . ?v rdf:type ontology:Q56061 }
Sheffield
Sheffield is adjacent to Barnsley
Sheffield
action filter_type
action find
entity Barnsley
relation shares border with
type administrative territorial entity
['Barnsley', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Barnsley property:shares_border_with ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q54212
P17
Q15617994
USER
Which administrative territory is Barnsley situated in ?
(Q54212,P17,c(Q15617994))
action filter_type
action find
entity Q54212
relation P17
type Q15617994
['Q54212', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q54212 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Barnsley
action filter_type
action find
entity Barnsley
relation country
type designation for an administrative territorial entity
['Barnsley', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Barnsley property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q54212,P17,c(Q15617994))
action filter_type
action find
entity Q54212
relation P17
type Q15617994
Barnsley is situated in [ANSWER]
['Q54212', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q54212 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
United Kingdom
Barnsley is situated in United Kingdom
United Kingdom
action filter_type
action find
entity Barnsley
relation country
type designation for an administrative territorial entity
['Barnsley', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Barnsley property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q145 Q183 Q1998287
P530
Q1048835
USER
Does United Kingdom have tactful political relations with Germany and Santana ?
(Q145,P530,Q183) (Q145,P530,Q1998287)
action is_in
entity Q145
action intersection
action find_reverse
entity Q183
relation P530
action find_reverse
entity Q1998287
relation P530
['Q145', 'P530', 'Q183'] ['Q145', 'P530', 'Q1998287']
ASK WHERE { resource:Q145 property:P530 resource:Q183 . resource:Q145 property:P530 resource:Q1998287 }
United Kingdom Germany Santana
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Germany
relation diplomatic relation
action find_reverse
entity Santana
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Germany'] ['United Kingdom', 'diplomatic relation', 'Santana']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Germany . resource:United_Kingdom property:diplomatic_relation resource:Santana }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q145,P530,Q183) (Q145,P530,Q1998287)
action is_in
entity Q145
action intersection
action find_reverse
entity Q183
relation P530
action find_reverse
entity Q1998287
relation P530
[ANSWER]
['Q145', 'P530', 'Q183'] ['Q145', 'P530', 'Q1998287']
ASK WHERE { resource:Q145 property:P530 resource:Q183 . resource:Q145 property:P530 resource:Q1998287 }
YES and NO respectively
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Germany
relation diplomatic relation
action find_reverse
entity Santana
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Germany'] ['United Kingdom', 'diplomatic relation', 'Santana']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Germany . resource:United_Kingdom property:diplomatic_relation resource:Santana }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q42448 Q3594440 Q239580
P190
Q56061
USER
Is Sheffield a sister city of Žilići and Kitwe ?
(Q42448,P190,Q3594440) (Q42448,P190,Q239580)
action is_in
entity Q42448
action intersection
action find_reverse
entity Q3594440
relation P190
action find_reverse
entity Q239580
relation P190
['Q42448', 'P190', 'Q3594440'] ['Q42448', 'P190', 'Q239580']
ASK WHERE { resource:Q42448 property:P190 resource:Q3594440 . resource:Q42448 property:P190 resource:Q239580 }
Sheffield Žilići Kitwe
action is_in
entity Sheffield
action intersection
action find_reverse
entity Žilići
relation sister city
action find_reverse
entity Kitwe
relation sister city
['Sheffield', 'sister city', 'Žilići'] ['Sheffield', 'sister city', 'Kitwe']
ASK WHERE { resource:Sheffield property:sister_city resource:Žilići . resource:Sheffield property:sister_city resource:Kitwe }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q42448,P190,Q3594440) (Q42448,P190,Q239580)
action is_in
entity Q42448
action intersection
action find_reverse
entity Q3594440
relation P190
action find_reverse
entity Q239580
relation P190
[ANSWER]
['Q42448', 'P190', 'Q3594440'] ['Q42448', 'P190', 'Q239580']
ASK WHERE { resource:Q42448 property:P190 resource:Q3594440 . resource:Q42448 property:P190 resource:Q239580 }
NO and YES respectively
action is_in
entity Sheffield
action intersection
action find_reverse
entity Žilići
relation sister city
action find_reverse
entity Kitwe
relation sister city
['Sheffield', 'sister city', 'Žilići'] ['Sheffield', 'sister city', 'Kitwe']
ASK WHERE { resource:Sheffield property:sister_city resource:Žilići . resource:Sheffield property:sister_city resource:Kitwe }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42448
P119
Q502895
USER
Which person has Sheffield as resting place ?
action filter_type
action find_reverse
entity Q42448
relation P119
type Q502895
SELECT DISTINCT ?f WHERE { ?f property:P119 resource:Q42448 . ?f rdf:type ontology:Q502895 }
Sheffield
action filter_type
action find_reverse
entity Sheffield
relation place of burial
type common name
SELECT DISTINCT ?f WHERE { ?f property:place_of_burial resource:Sheffield . ?f rdf:type ontology:common_name }
[]
common name
Q16801035
SYSTEM
John Green
Q16801035
action filter_type
action find_reverse
entity Q42448
relation P119
type Q502895
[ANSWER] has Sheffield as resting place
SELECT DISTINCT ?f WHERE { ?f property:P119 resource:Q42448 . ?f rdf:type ontology:Q502895 }
John Green
John Green has Sheffield as resting place
John Green
action filter_type
action find_reverse
entity Sheffield
relation place of burial
type common name
SELECT DISTINCT ?f WHERE { ?f property:place_of_burial resource:Sheffield . ?f rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q662
P725
Q502895 Q5398426
USER
Which television series had their voice dubbing done by more number of people than Neon Genesis Evangelion ?
(c(Q5398426),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q662
relation P725
type Q5398426
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?z ) WHERE { ?e rdf:type ontology:Q5398426 . ?l rdf:type ontology:Q502895 . ?e property:P725 ?l } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q662 property:P725 ?t . ?t rdf:type ontology:Q5398426 } } . FILTER ( ?z > ?n ) }
Neon Genesis Evangelion
action greater
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Neon Genesis Evangelion
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?z ) WHERE { ?e rdf:type ontology:television_series . ?l rdf:type ontology:common_name . ?e property:voice_actor ?l } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Neon_Genesis_Evangelion property:voice_actor ?t . ?t rdf:type ontology:television_series } } . FILTER ( ?z > ?n ) }
[]
common name television series
Q386361 Q483535
SYSTEM
Devil May Cry: The Animated Series, Ore no Imōto ga Konna ni Kawaii Wake ga Nai
Q386361 Q483535
(c(Q5398426),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q662
relation P725
type Q5398426
[ANSWERS] had their voice dubbing done by more number of people than Neon Genesis Evangelion
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?z ) WHERE { ?e rdf:type ontology:Q5398426 . ?l rdf:type ontology:Q502895 . ?e property:P725 ?l } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q662 property:P725 ?t . ?t rdf:type ontology:Q5398426 } } . FILTER ( ?z > ?n ) }
Devil May Cry: The Animated Series Ore no Imōto ga Konna ni Kawaii Wake ga Nai
Devil May Cry: The Animated Series and Ore no Imōto ga Konna ni Kawaii Wake ga Nai had their voice dubbing done by more number of people than Neon Genesis Evangelion
Devil May Cry: The Animated Series Ore no Imōto ga Konna ni Kawaii Wake ga Nai
action greater
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Neon Genesis Evangelion
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?z ) WHERE { ?e rdf:type ontology:television_series . ?l rdf:type ontology:common_name . ?e property:voice_actor ?l } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Neon_Genesis_Evangelion property:voice_actor ?t . ?t rdf:type ontology:television_series } } . FILTER ( ?z > ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q865498
P725
Q502895 Q5398426
USER
And what about Powerpuff Girls Z?
(c(Q5398426),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q865498
relation P725
type Q5398426
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?z ) WHERE { ?y property:P725 ?i . ?y rdf:type ontology:Q5398426 . ?i rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Q865498 property:P725 ?e . ?e rdf:type ontology:Q5398426 } } . FILTER ( ?z > ?f ) }
Powerpuff Girls Z
action greater
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Powerpuff Girls Z
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?z ) WHERE { ?y property:voice_actor ?i . ?y rdf:type ontology:television_series . ?i rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Powerpuff_Girls_Z property:voice_actor ?e . ?e rdf:type ontology:television_series } } . FILTER ( ?z > ?f ) }
[]
common name television series
Q881797 Q662 Q386361
SYSTEM
YuruYuri, Neon Genesis Evangelion, Devil May Cry: The Animated Series
Q602721 Q1149942 Q487695 Q662 Q7480931 Q494804 Q483547 Q199073 Q752495 Q133532 Q602434 Q1202916 Q486623 Q881797 Q211183 Q482796 Q1335290 Q488467 Q1135764 Q3565008 Q498079 Q386361 Q11320196 Q2607852 Q483535 Q3980545 Q3280971 Q482802 Q696986 Q1052846 Q1339165 Q921440 Q1367069 Q494610 Q5364072 Q8916464 Q484518 Q482865 Q11332238 Q116122 Q724155 Q11621483 Q15392994 Q606180 Q2626017 Q483585 Q7447123 Q1350885 Q1617849 Q838203 Q664845 Q1657773 Q618974 Q495450 Q11275607 Q2498954 Q2619218 Q281062 Q794345 Q615650 Q4185849 Q2756865 Q582788
(c(Q5398426),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q865498
relation P725
type Q5398426
[ANSWERS]
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?z ) WHERE { ?y property:P725 ?i . ?y rdf:type ontology:Q5398426 . ?i rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Q865498 property:P725 ?e . ?e rdf:type ontology:Q5398426 } } . FILTER ( ?z > ?f ) }
Shugo Chara! Sket Dance انیمه Un-Go Neon Genesis Evangelion Yuyushiki Hanasaku Iroha Mitsudomoe Tokyo Ravens Asura Cryin' Btooom! Idolmaster: Xenoglossia Working!! Nekogami Yaoyorozu YuruYuri Tamako Market The World God Only Knows Medaka Box Ben-To Softenni Mushibugyō Pretty Rhythm Devil May Cry: The Animated Series D-Frag! Sasameki Koto Ore no Imōto ga Konna ni Kawaii Wake ga Nai Tamagotchi! Love Live! IS (Infinite Stratos) Beelzebub Last Exile Hyōka Seitokai Yakuindomo Hyakka Ryōran Samurai Girls Guilty Crown Non Non Biyori Servant x Service The Legend of the Legendary Heroes Dog Days Fantasista Doll Hayate the Combat Butler Asobi ni iku yo! Arpeggio of Blue Steel Prison School Maria Holic Aesthetica of a Rogue Hero Denpa Onna to Seishun Otoko Wanna be the Strongest in the World Queen's Blade Rebellion High School DxD Gdgd Fairies Pumpkin Scissors Inu x Boku SS Umi Monogatari: Anata ga Ite Kureta Koto Demon King Daimao Happy Kappy The Ambition of Oda Nobuna Yozakura Quartet The Qwaser of Stigmata Beyblade: Metal Fusion Aoi Hana Gokujyo NG Knight Lamune & 40 Saki
YuruYuri Neon Genesis Evangelion Devil May Cry: The Animated Series
action greater
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Powerpuff Girls Z
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?z ) WHERE { ?y property:voice_actor ?i . ?y rdf:type ontology:television_series . ?i rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Powerpuff_Girls_Z property:voice_actor ?e . ?e rdf:type ontology:television_series } } . FILTER ( ?z > ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q55
P495
Q15617994 Q201658 Q838948
USER
Which administrative territories are the countries of origin of lesser number of film genres and works of art than Netherlands ?
(c(Q201658)|c(Q838948),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q55
relation P495
type Q201658
type Q838948
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P495 resource:Q55 . { ?t rdf:type ?a . VALUES ( ?a ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } } } } . FILTER ( ?q < ?h ) }
Netherlands
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Netherlands
relation country of origin
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:film_genre ) ( ontology:work_of_art ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:country_of_origin resource:Netherlands . { ?t rdf:type ?a . VALUES ( ?a ) { ( ontology:film_genre ) ( ontology:work_of_art ) } } } } . FILTER ( ?q < ?h ) }
[]
designation for an administrative territorial entity film genre work of art
Q155 Q230 Q159
SYSTEM
Brazil, Georgia, Russia
Q805 Q804 Q801 Q800 Q1462 Q419 Q12536 Q262 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q869 Q953
(c(Q201658)|c(Q838948),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q55
relation P495
type Q201658
type Q838948
[ANSWERS] are the countries of origin of lesser number of film genres and works of art than Netherlands
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P495 resource:Q55 . { ?t rdf:type ?a . VALUES ( ?a ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } } } } . FILTER ( ?q < ?h ) }
Yemen Panama Israel Costa Rica Sardinia Peru Abbasid caliphate Algeria Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Thailand Zambia
Brazil, Georgia and Russia are the countries of origin of lesser number of film genres and works of art than Netherlands
Brazil Georgia Russia
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Netherlands
relation country of origin
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:film_genre ) ( ontology:work_of_art ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:country_of_origin resource:Netherlands . { ?t rdf:type ?a . VALUES ( ?a ) { ( ontology:film_genre ) ( ontology:work_of_art ) } } } } . FILTER ( ?q < ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q921
P495
Q15617994 Q201658 Q838948
USER
And also tell me about Brunei?
(c(Q201658)|c(Q838948),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q921
relation P495
type Q201658
type Q838948
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?q WHERE { { ?v property:P495 ?q . ?v rdf:type ontology:Q201658 . ?q rdf:type ontology:Q15617994 } UNION { ?v property:P495 ?q . ?v rdf:type ontology:Q838948 . ?q rdf:type ontology:Q15617994 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:P495 resource:Q921 . { VALUES ( ?r ) { ( ontology:Q838948 ) ( ontology:Q201658 ) } . ?y rdf:type ?r } } } . FILTER ( ?d < ?i ) }
Brunei
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Brunei
relation country of origin
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?q WHERE { { ?v property:country_of_origin ?q . ?v rdf:type ontology:film_genre . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v property:country_of_origin ?q . ?v rdf:type ontology:work_of_art . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:country_of_origin resource:Brunei . { VALUES ( ?r ) { ( ontology:work_of_art ) ( ontology:film_genre ) } . ?y rdf:type ?r } } } . FILTER ( ?d < ?i ) }
[]
designation for an administrative territorial entity film genre work of art
Q953 Q347 Q29999
SYSTEM
Zambia, Liechtenstein, Kingdom of the Netherlands
Q1462 Q12536 Q36678 Q712 Q1460 Q4628 Q958 Q986 Q242 Q244 Q153136 Q29999 Q730 Q1013 Q159626 Q238 Q1025 Q1020 Q347 Q1030 Q967 Q962 Q963 Q916 Q1007 Q1006 Q1005 Q971 Q239502 Q686 Q1014 Q672 Q176 Q953
(c(Q201658)|c(Q838948),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q921
relation P495
type Q201658
type Q838948
[ANSWERS]
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?q WHERE { { ?v property:P495 ?q . ?v rdf:type ontology:Q201658 . ?q rdf:type ontology:Q15617994 } UNION { ?v property:P495 ?q . ?v rdf:type ontology:Q838948 . ?q rdf:type ontology:Q15617994 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:P495 resource:Q921 . { VALUES ( ?r ) { ( ontology:Q838948 ) ( ontology:Q201658 ) } . ?y rdf:type ?r } } } . FILTER ( ?d < ?i ) }
Sardinia Abbasid caliphate West Bank Fiji Sicily Faroe Islands South Sudan Eritrea Belize Barbados Habsburg Empire Kingdom of the Netherlands Suriname Lesotho Württemberg San Marino Mauritania Malawi Liechtenstein Namibia Burundi Benin Botswana Angola Guinea-Bissau Guinea Gambia Republic of the Congo Kingdom of Galicia–Volhynia Vanuatu Liberia Tuvalu Quebec Zambia
Zambia Liechtenstein Kingdom of the Netherlands
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Brunei
relation country of origin
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?q WHERE { { ?v property:country_of_origin ?q . ?v rdf:type ontology:film_genre . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v property:country_of_origin ?q . ?v rdf:type ontology:work_of_art . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:country_of_origin resource:Brunei . { VALUES ( ?r ) { ( ontology:work_of_art ) ( ontology:film_genre ) } . ?y rdf:type ?r } } } . FILTER ( ?d < ?i ) }
[]