Simple Question (Direct)
Simple Question
Q11273867
P161
Q502895
USER
Which people starred in Dora-heita ?
(Q11273867,P161,c(Q502895))
action filter_type
action find
entity Q11273867
relation P161
type Q502895
['Q11273867', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q11273867 property:P161 ?n . ?n rdf:type ontology:Q502895 }
Dora-heita
action filter_type
action find
entity Dora-heita
relation cast member
type common name
['Dora-heita', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Dora-heita property:cast_member ?n . ?n rdf:type ontology:common_name }
[]
common name
Q852322 Q185421 Q1139492
SYSTEM
Ryudo Uzaki, Takashi Miike, Bunta Sugawara
Q1139492 Q2512372 Q975146 Q852322 Q185421
(Q11273867,P161,c(Q502895))
action filter_type
action find
entity Q11273867
relation P161
type Q502895
[ANSWERS] starred in Dora-heita
['Q11273867', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q11273867 property:P161 ?n . ?n rdf:type ontology:Q502895 }
Bunta Sugawara Tsurutaro Kataoka Kōji Yakusho Ryudo Uzaki Takashi Miike
Ryudo Uzaki, Takashi Miike and Bunta Sugawara starred in Dora-heita
Ryudo Uzaki Takashi Miike Bunta Sugawara
action filter_type
action find
entity Dora-heita
relation cast member
type common name
['Dora-heita', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Dora-heita property:cast_member ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q852322 Q185421 Q1139492
P161
Q838948
USER
Which works of art stars Ryudo Uzaki, Takashi Miike and Bunta Sugawara as actor ?
(c(Q838948),P161,Q852322) (c(Q838948),P161,Q185421) (c(Q838948),P161,Q1139492)
action union
action filter_type
action find_reverse
entity Q852322
relation P161
type Q838948
action filter_type
action find_reverse
entity Q185421
relation P161
type Q838948
action filter_type
action find_reverse
entity Q1139492
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q852322'] [{'concept': 'Q838948'}, 'P161', 'Q185421'] [{'concept': 'Q838948'}, 'P161', 'Q1139492']
SELECT DISTINCT ?c WHERE { ?c property:P161 ?s . VALUES ( ?s ) { ( resource:Q852322 ) ( resource:Q185421 ) } }
Ryudo Uzaki Takashi Miike Bunta Sugawara
action union
action filter_type
action find_reverse
entity Ryudo Uzaki
relation cast member
type work of art
action filter_type
action find_reverse
entity Takashi Miike
relation cast member
type work of art
action filter_type
action find_reverse
entity Bunta Sugawara
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Ryudo Uzaki'] [{'concept': 'work of art'}, 'cast member', 'Takashi Miike'] [{'concept': 'work of art'}, 'cast member', 'Bunta Sugawara']
SELECT DISTINCT ?c WHERE { ?c property:cast_member ?s . VALUES ( ?s ) { ( resource:Ryudo_Uzaki ) ( resource:Takashi_Miike ) } }
[]
work of art
Q842720 Q967090 Q155653
SYSTEM
Hostel, Dōbutsu no Mori, Spirited Away
Q5299888 Q16164968 Q7688456 Q1533961 Q11273867 Q236589 Q4183833 Q3093095 Q7488499 Q849869 Q2706213 Q842720 Q3357571 Q3523320 Q967090 Q2421466 Q1060500 Q11273867 Q3521996 Q4873189 Q4873186 Q4873187 Q4873190 Q2517358 Q721737 Q11272534 Q155653 Q11582712 Q8914257 Q4184492 Q7622886 Q2754817 Q11273867 Q7695388 Q7676670
(c(Q838948),P161,Q852322) (c(Q838948),P161,Q185421) (c(Q838948),P161,Q1139492)
action union
action filter_type
action find_reverse
entity Q852322
relation P161
type Q838948
action filter_type
action find_reverse
entity Q185421
relation P161
type Q838948
action filter_type
action find_reverse
entity Q1139492
relation P161
type Q838948
[ANSWERS] star Ryudo Uzaki, Takashi Miike and Bunta Sugawara as actor
[{'concept': 'Q838948'}, 'P161', 'Q852322'] [{'concept': 'Q838948'}, 'P161', 'Q185421'] [{'concept': 'Q838948'}, 'P161', 'Q1139492']
SELECT DISTINCT ?c WHERE { ?c property:P161 ?s . VALUES ( ?s ) { ( resource:Q852322 ) ( resource:Q185421 ) } }
Double Suicide of Sonezaki Pecoross' Mother and Her Days Tattoo Ari Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack Dora-heita 47 Ronin Station G@me Shanghai Rhapsody Graveyard of Honor Last Life in the Universe Hostel Otakus in Love The Way to Fight Dōbutsu no Mori Agitator Young Thugs: Innocent Blood Dora-heita The Neighbor No. Thirteen Battles Without Honor and Humanity: Police Tactics Battles Without Honor and Humanity: Final Episode Battles Without Honor and Humanity: Hiroshima Deathmatch Battles Without Honor and Humanity: Proxy War Battles Without Honor and Humanity Tales from Earthsea Tsuru Spirited Away Cops vs. Thugs The Battery The Gate of Youth Street Mobster The Great Yokai War Dora-heita Tekken Taiyō o Nusunda Otoko
Hostel, Dōbutsu no Mori and Spirited Away star Ryudo Uzaki, Takashi Miike and Bunta Sugawara as actor
Hostel Dōbutsu no Mori Spirited Away
action union
action filter_type
action find_reverse
entity Ryudo Uzaki
relation cast member
type work of art
action filter_type
action find_reverse
entity Takashi Miike
relation cast member
type work of art
action filter_type
action find_reverse
entity Bunta Sugawara
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Ryudo Uzaki'] [{'concept': 'work of art'}, 'cast member', 'Takashi Miike'] [{'concept': 'work of art'}, 'cast member', 'Bunta Sugawara']
SELECT DISTINCT ?c WHERE { ?c property:cast_member ?s . VALUES ( ?s ) { ( resource:Ryudo_Uzaki ) ( resource:Takashi_Miike ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q842720 Q967090 Q155653
P495
Q15617994
USER
Which administrative territories are the origin of those works of art ?
(Q842720,P495,c(Q15617994)) (Q967090,P495,c(Q15617994)) (Q155653,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
['Q842720', 'P495', {'concept': 'Q15617994'}] ['Q967090', 'P495', {'concept': 'Q15617994'}] ['Q155653', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . VALUES ( ?t ) { ( resource:Q5299888 ) ( resource:Q16164968 ) ( resource:Q7688456 ) } . ?t property:P495 ?p }
Hostel Dōbutsu no Mori Spirited Away
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['Hostel', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Dōbutsu no Mori', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Spirited Away', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?t ) { ( resource:Double_Suicide_of_Sonezaki ) ( resource:Pecoross'_Mother_and_Her_Days ) ( resource:Tattoo_Ari ) } . ?t property:country_of_origin ?p }
[]
designation for an administrative territorial entity
Q30 Q17 Q17
SYSTEM
Japan for 2nd, 3rd, United States of America for 1st
Q30 Q17 Q17
(Q842720,P495,c(Q15617994)) (Q967090,P495,c(Q15617994)) (Q155653,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
[ANSWERS]
['Q842720', 'P495', {'concept': 'Q15617994'}] ['Q967090', 'P495', {'concept': 'Q15617994'}] ['Q155653', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . VALUES ( ?t ) { ( resource:Q5299888 ) ( resource:Q16164968 ) ( resource:Q7688456 ) } . ?t property:P495 ?p }
United States of America Japan Japan
United States of America, Japan and Japan are the origin of those works of art
United States of America Japan Japan
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['Hostel', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Dōbutsu no Mori', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Spirited Away', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?t ) { ( resource:Double_Suicide_of_Sonezaki ) ( resource:Pecoross'_Mother_and_Her_Days ) ( resource:Tattoo_Ari ) } . ?t property:country_of_origin ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q842720
P364
Q34770
USER
Which languages are the original languages of creation of Hostel ?
(Q842720,P364,c(Q34770))
action filter_type
action find
entity Q842720
relation P364
type Q34770
['Q842720', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q842720 property:P364 ?k }
Hostel
action filter_type
action find
entity Hostel
relation original language of work
type language
['Hostel', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:Hostel property:original_language_of_work ?k }
[]
language
Q1860 Q9056
SYSTEM
English, Czech
Q1860 Q9056
(Q842720,P364,c(Q34770))
action filter_type
action find
entity Q842720
relation P364
type Q34770
[ANSWERS] are the original languages of creation of Hostel
['Q842720', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q842720 property:P364 ?k }
English Czech
English and Czech are the original languages of creation of Hostel
English Czech
action filter_type
action find
entity Hostel
relation original language of work
type language
['Hostel', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:Hostel property:original_language_of_work ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q842720
P2515
Q502895
USER
Which person created the costume designs for that work of art ?
(Q1860,P2515,c(Q502895)) (Q9056,P2515,c(Q502895))
action filter_type
action find
entity Q842720
relation P2515
type Q502895
['Q1860', 'P2515', {'concept': 'Q502895'}] ['Q9056', 'P2515', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q842720 property:P2515 ?u . ?u rdf:type ontology:Q502895 }
Hostel
action filter_type
action find
entity Hostel
relation costume designer
type common name
['English', 'costume designer', {'concept': 'common name'}] ['Czech', 'costume designer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Hostel property:costume_designer ?u . ?u rdf:type ontology:common_name }
[]
common name
Q3854333
SYSTEM
Franco-Giacomo Carbone
Q3854333
(Q1860,P2515,c(Q502895)) (Q9056,P2515,c(Q502895))
action filter_type
action find
entity Q842720
relation P2515
type Q502895
[ANSWER] created the costume designs for that work of art
['Q1860', 'P2515', {'concept': 'Q502895'}] ['Q9056', 'P2515', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q842720 property:P2515 ?u . ?u rdf:type ontology:Q502895 }
Franco-Giacomo Carbone
Franco-Giacomo Carbone created the costume designs for that work of art
Franco-Giacomo Carbone
action filter_type
action find
entity Hostel
relation costume designer
type common name
['English', 'costume designer', {'concept': 'common name'}] ['Czech', 'costume designer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Hostel property:costume_designer ?u . ?u rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3854333 Q304156 Q1569546
P27
Q15617994
USER
Is that person a citizen of Oberweiler im Tal and Hainstadt ?
(Q3854333,P27,Q304156) (Q3854333,P27,Q1569546)
action is_in
entity Q3854333
action intersection
action find_reverse
entity Q304156
relation P27
action find_reverse
entity Q1569546
relation P27
['Q3854333', 'P27', 'Q304156'] ['Q3854333', 'P27', 'Q1569546']
ASK WHERE { resource:Q3854333 property:P27 resource:Q304156 . resource:Q3854333 property:P27 resource:Q1569546 }
Franco-Giacomo Carbone Oberweiler im Tal Hainstadt
action is_in
entity Franco-Giacomo Carbone
action intersection
action find_reverse
entity Oberweiler im Tal
relation country of citizenship
action find_reverse
entity Hainstadt
relation country of citizenship
['Franco-Giacomo Carbone', 'country of citizenship', 'Oberweiler im Tal'] ['Franco-Giacomo Carbone', 'country of citizenship', 'Hainstadt']
ASK WHERE { resource:Franco-Giacomo_Carbone property:country_of_citizenship resource:Oberweiler_im_Tal . resource:Franco-Giacomo_Carbone property:country_of_citizenship resource:Hainstadt }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3854333,P27,Q304156) (Q3854333,P27,Q1569546)
action is_in
entity Q3854333
action intersection
action find_reverse
entity Q304156
relation P27
action find_reverse
entity Q1569546
relation P27
[ANSWER]
['Q3854333', 'P27', 'Q304156'] ['Q3854333', 'P27', 'Q1569546']
ASK WHERE { resource:Q3854333 property:P27 resource:Q304156 . resource:Q3854333 property:P27 resource:Q1569546 }
No
action is_in
entity Franco-Giacomo Carbone
action intersection
action find_reverse
entity Oberweiler im Tal
relation country of citizenship
action find_reverse
entity Hainstadt
relation country of citizenship
['Franco-Giacomo Carbone', 'country of citizenship', 'Oberweiler im Tal'] ['Franco-Giacomo Carbone', 'country of citizenship', 'Hainstadt']
ASK WHERE { resource:Franco-Giacomo_Carbone property:country_of_citizenship resource:Oberweiler_im_Tal . resource:Franco-Giacomo_Carbone property:country_of_citizenship resource:Hainstadt }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q17 Q227 Q30
P530
Q15617994
USER
Is Japan known to have diplomatic connections with Azerbaijan and United States of America ?
(Q17,P530,Q227) (Q17,P530,Q30)
action is_in
entity Q17
action intersection
action find_reverse
entity Q227
relation P530
action find_reverse
entity Q30
relation P530
['Q17', 'P530', 'Q227'] ['Q17', 'P530', 'Q30']
ASK WHERE { resource:Q17 property:P530 resource:Q227 . resource:Q17 property:P530 resource:Q30 }
Japan Azerbaijan United States of America
action is_in
entity Japan
action intersection
action find_reverse
entity Azerbaijan
relation diplomatic relation
action find_reverse
entity United States of America
relation diplomatic relation
['Japan', 'diplomatic relation', 'Azerbaijan'] ['Japan', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Japan property:diplomatic_relation resource:Azerbaijan . resource:Japan property:diplomatic_relation resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q17,P530,Q227) (Q17,P530,Q30)
action is_in
entity Q17
action intersection
action find_reverse
entity Q227
relation P530
action find_reverse
entity Q30
relation P530
[ANSWER]
['Q17', 'P530', 'Q227'] ['Q17', 'P530', 'Q30']
ASK WHERE { resource:Q17 property:P530 resource:Q227 . resource:Q17 property:P530 resource:Q30 }
Yes
action is_in
entity Japan
action intersection
action find_reverse
entity Azerbaijan
relation diplomatic relation
action find_reverse
entity United States of America
relation diplomatic relation
['Japan', 'diplomatic relation', 'Azerbaijan'] ['Japan', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Japan property:diplomatic_relation resource:Azerbaijan . resource:Japan property:diplomatic_relation resource:United_States_of_America }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q675616
P138
Q15617994 Q62447 Q838948
USER
How many administrative territories are namesakes of lesser number of aerodromes or works of art than Langenzersdorf ?
(c(Q62447)|c(Q838948),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q62447
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q675616
relation P138
type Q62447
type Q838948
[[{'concept': 'Q62447'}, {'concept': 'Q838948'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?p WHERE { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:Q62447 ) ( ontology:Q838948 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P138 resource:Q675616 . { VALUES ( ?n ) { ( ontology:Q62447 ) ( ontology:Q838948 ) } . ?v rdf:type ?n } } } . FILTER ( ?g < ?w ) }
Langenzersdorf
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type aerodrome
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Langenzersdorf
relation named after
type aerodrome
type work of art
[[{'concept': 'aerodrome'}, {'concept': 'work of art'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?p WHERE { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:aerodrome ) ( ontology:work_of_art ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:named_after resource:Langenzersdorf . { VALUES ( ?n ) { ( ontology:aerodrome ) ( ontology:work_of_art ) } . ?v rdf:type ?n } } } . FILTER ( ?g < ?w ) }
[]
designation for an administrative territorial entity aerodrome work of art
SYSTEM
381
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q1279 Q186538 Q640473 Q189 Q184 Q1028 Q1458 Q570120 Q18421666 Q167215 Q42777 Q159856 Q6274 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q33788 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q39 Q38 Q1023890 Q101226 Q42906 Q40516 Q1987554 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q391167 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q555328 Q1037 Q1033 Q1030 Q53873 Q18040 Q3926245 Q697 Q186115 Q39985 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q77 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q712 Q717 Q42993 Q488513 Q243311 Q503160 Q2993085 Q42996 Q954 Q690417 Q826 Q822 Q1142326 Q244095 Q223459 Q42419 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q681329 Q12661 Q20 Q5274 Q28 Q29 Q111460 Q50932 Q20489 Q390125 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q23178 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q917 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q819 Q654138 Q81261 Q493437 Q863 Q574429 Q869 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 Q770 Q131633 Q2596432 Q928 Q19306 Q759201 Q424 Q854 Q9574 Q2790 Q566435 Q496885 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q81138 Q17 Q15059063 Q42668 Q3940173 Q4066675 Q138823 Q697787 Q47578 Q11337 Q211 Q159605 Q215 Q1837 Q501626 Q554187 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q631654 Q42192 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q16104 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q62447)|c(Q838948),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q62447
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q675616
relation P138
type Q62447
type Q838948
[ANSWER]
[[{'concept': 'Q62447'}, {'concept': 'Q838948'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?p WHERE { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:Q62447 ) ( ontology:Q838948 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P138 resource:Q675616 . { VALUES ( ?n ) { ( ontology:Q62447 ) ( ontology:Q838948 ) } . ?v rdf:type ?n } } } . FILTER ( ?g < ?w ) }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Marche Arzachena Hohenstein Iceland Belarus Morocco Calabria Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Duchy of Brabant Sondrio Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin Heinsen Livigno Gorgonzola Bussero Meerfeld Wernborn Remanzacco Detmold Brivio Mitino Calco Leuna Rovereto Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Veneto Templin Charente Vosges Perinaldo New Caledonia Asti Merate Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Switzerland Italy Huangpu District Mapello Cologno Monzese Bormio Nieder-Roden Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Ozieri Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Urmitz Rwanda Nigeria Namibia Diamante Candelo QT8 Nauru Montmartre Brugherio Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Uruguay Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Fiji Venezuela Gessate Anklam Sacrofano Wolfratshausen Levashovo, Saint Petersburg Pero Zimbabwe Währing Maldives Lebanon Seine Bellagio Borbona Vimodrone Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Dümmer Nord Norway Balve Hungary Spain Pontevico Helpt Savigliano Linz am Rhein Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Bisceglie Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Bhutan Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Laos Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Thailand Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Assisi Tavagnasco Oberhöchstadt Guatemala Robecco d'Oglio Bad Köstritz Friesland Hallstatt Euvelgunne Philippines Altamura Auerbach Cambodia Sri Lanka Pino Torinese Udine Erpel Isnello Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Pudost Rogoredo Annino Farnese, Lazio Duchy of Limburg Vittorio Veneto Herdecke Latvia Tivoli Slovenia Wohldorf-Ohlstedt Wildeshausen Lunden Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren Selent San Donato Milanese Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Ahrensburg Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
381
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type aerodrome
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Langenzersdorf
relation named after
type aerodrome
type work of art
[[{'concept': 'aerodrome'}, {'concept': 'work of art'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?p WHERE { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:aerodrome ) ( ontology:work_of_art ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:named_after resource:Langenzersdorf . { VALUES ( ?n ) { ( ontology:aerodrome ) ( ontology:work_of_art ) } . ?v rdf:type ?n } } } . FILTER ( ?g < ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q205050
P138
Q15617994 Q62447 Q838948
USER
And also tell me about Geilenkirchen?
(c(Q62447)|c(Q838948),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q62447
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q205050
relation P138
type Q62447
type Q838948
[[{'concept': 'Q62447'}, {'concept': 'Q838948'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?e ) WHERE { VALUES ( ?o ) { ( ontology:Q62447 ) ( ontology:Q838948 ) } . ?z rdf:type ?o } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k property:P138 resource:Q205050 . { { ?k rdf:type ontology:Q62447 } UNION { ?k rdf:type ontology:Q838948 } } } } . FILTER ( ?e < ?g ) }
Geilenkirchen
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type aerodrome
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Geilenkirchen
relation named after
type aerodrome
type work of art
[[{'concept': 'aerodrome'}, {'concept': 'work of art'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?e ) WHERE { VALUES ( ?o ) { ( ontology:aerodrome ) ( ontology:work_of_art ) } . ?z rdf:type ?o } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k property:named_after resource:Geilenkirchen . { { ?k rdf:type ontology:aerodrome } UNION { ?k rdf:type ontology:work_of_art } } } } . FILTER ( ?e < ?g ) }
[]
designation for an administrative territorial entity aerodrome work of art
SYSTEM
381
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q1279 Q186538 Q640473 Q189 Q184 Q1028 Q1458 Q570120 Q18421666 Q167215 Q42777 Q159856 Q6274 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q33788 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q39 Q38 Q1023890 Q101226 Q42906 Q40516 Q1987554 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q391167 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q555328 Q1037 Q1033 Q1030 Q53873 Q18040 Q3926245 Q697 Q186115 Q39985 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q77 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q712 Q717 Q42993 Q488513 Q243311 Q503160 Q2993085 Q42996 Q954 Q690417 Q826 Q822 Q1142326 Q244095 Q223459 Q42419 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q681329 Q12661 Q20 Q5274 Q28 Q29 Q111460 Q50932 Q20489 Q390125 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q23178 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q917 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q819 Q654138 Q81261 Q493437 Q863 Q574429 Q869 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 Q770 Q131633 Q2596432 Q928 Q19306 Q759201 Q424 Q854 Q9574 Q2790 Q566435 Q496885 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q81138 Q17 Q15059063 Q42668 Q3940173 Q4066675 Q138823 Q697787 Q47578 Q11337 Q211 Q159605 Q215 Q1837 Q501626 Q554187 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q631654 Q42192 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q16104 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q62447)|c(Q838948),P138,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q62447
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q205050
relation P138
type Q62447
type Q838948
[ANSWER]
[[{'concept': 'Q62447'}, {'concept': 'Q838948'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?e ) WHERE { VALUES ( ?o ) { ( ontology:Q62447 ) ( ontology:Q838948 ) } . ?z rdf:type ?o } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k property:P138 resource:Q205050 . { { ?k rdf:type ontology:Q62447 } UNION { ?k rdf:type ontology:Q838948 } } } } . FILTER ( ?e < ?g ) }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Marche Arzachena Hohenstein Iceland Belarus Morocco Calabria Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Duchy of Brabant Sondrio Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin Heinsen Livigno Gorgonzola Bussero Meerfeld Wernborn Remanzacco Detmold Brivio Mitino Calco Leuna Rovereto Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Veneto Templin Charente Vosges Perinaldo New Caledonia Asti Merate Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Switzerland Italy Huangpu District Mapello Cologno Monzese Bormio Nieder-Roden Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Ozieri Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Urmitz Rwanda Nigeria Namibia Diamante Candelo QT8 Nauru Montmartre Brugherio Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Uruguay Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Fiji Venezuela Gessate Anklam Sacrofano Wolfratshausen Levashovo, Saint Petersburg Pero Zimbabwe Währing Maldives Lebanon Seine Bellagio Borbona Vimodrone Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Dümmer Nord Norway Balve Hungary Spain Pontevico Helpt Savigliano Linz am Rhein Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Bisceglie Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Bhutan Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Laos Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Thailand Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Assisi Tavagnasco Oberhöchstadt Guatemala Robecco d'Oglio Bad Köstritz Friesland Hallstatt Euvelgunne Philippines Altamura Auerbach Cambodia Sri Lanka Pino Torinese Udine Erpel Isnello Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Pudost Rogoredo Annino Farnese, Lazio Duchy of Limburg Vittorio Veneto Herdecke Latvia Tivoli Slovenia Wohldorf-Ohlstedt Wildeshausen Lunden Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren Selent San Donato Milanese Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Ahrensburg Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
381
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type aerodrome
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Geilenkirchen
relation named after
type aerodrome
type work of art
[[{'concept': 'aerodrome'}, {'concept': 'work of art'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?e ) WHERE { VALUES ( ?o ) { ( ontology:aerodrome ) ( ontology:work_of_art ) } . ?z rdf:type ?o } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k property:named_after resource:Geilenkirchen . { { ?k rdf:type ontology:aerodrome } UNION { ?k rdf:type ontology:work_of_art } } } } . FILTER ( ?e < ?g ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can around 3684 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3684
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?n = 3684 ) . { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?h } }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3684
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?n = 3684 ) . { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?h } }
[]
musical instrument common name
Q8355 Q1444
SYSTEM
violin, organ
Q8355 Q1444
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3684
[ANSWERS] can around 3684 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?n = 3684 ) . { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?h } }
violin organ
Violin and organ can around 3684 people perform with
violin organ
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3684
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?n = 3684 ) . { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?h } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P35
Q502895 Q7275 Q15617994
USER
Which people have the highest formal authority in around 2 states and administrative territories ?
(c(Q7275)|c(Q15617994),P35,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
value 2
[[{'concept': 'Q7275'}, {'concept': 'Q15617994'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?m WHERE { { ?a property:P35 ?m . ?m rdf:type ontology:Q502895 . ?a rdf:type ontology:Q7275 } UNION { ?a property:P35 ?m . ?m rdf:type ontology:Q502895 . ?a rdf:type ontology:Q15617994 } } GROUP BY ?m } . FILTER ( ?d = 2 ) }
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type state
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
value 2
[[{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?m WHERE { { ?a property:head_of_state ?m . ?m rdf:type ontology:common_name . ?a rdf:type ontology:state } UNION { ?a property:head_of_state ?m . ?m rdf:type ontology:common_name . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?m } . FILTER ( ?d = 2 ) }
[]
common name state designation for an administrative territorial entity
Q7747 Q36233 Q157
SYSTEM
Vladimir Putin, Václav Havel, François Hollande
Q157 Q152274 Q7747 Q147989 Q36233 Q43330 Q12950 Q324108 Q156806 Q189575 Q151944 Q559756 Q2667 Q229493
(c(Q7275)|c(Q15617994),P35,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
value 2
[ANSWERS] have the highest formal authority in around 2 states and administrative territories
[[{'concept': 'Q7275'}, {'concept': 'Q15617994'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?m WHERE { { ?a property:P35 ?m . ?m rdf:type ontology:Q502895 . ?a rdf:type ontology:Q7275 } UNION { ?a property:P35 ?m . ?m rdf:type ontology:Q502895 . ?a rdf:type ontology:Q15617994 } } GROUP BY ?m } . FILTER ( ?d = 2 ) }
François Hollande Edvard Beneš Vladimir Putin Joaquín Balaguer Václav Havel Mikhail Saakashvili Alain Poher Ibrahim Boubacar Keïta Konstantinos Karamanlis Ion Iliescu Leonel Fernández el ladron Dragan Čović Paul von Hindenburg Nino Burjanadze
Vladimir Putin, Václav Havel and François Hollande have the highest formal authority in around 2 states and administrative territories
Vladimir Putin Václav Havel François Hollande
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type state
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
value 2
[[{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?m WHERE { { ?a property:head_of_state ?m . ?m rdf:type ontology:common_name . ?a rdf:type ontology:state } UNION { ?a property:head_of_state ?m . ?m rdf:type ontology:common_name . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?m } . FILTER ( ?d = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q7747 Q27120673
P172
Q2472587
USER
How many peoples do Vladimir Putin or Si have as ethnic origin ?
(Q7747,P172,c(Q2472587)) (Q27120673,P172,c(Q2472587))
action count
action union
action filter_type
action find
entity Q7747
relation P172
type Q2472587
action filter_type
action find
entity Q27120673
relation P172
type Q2472587
['Q7747', 'P172', {'concept': 'Q2472587'}] ['Q27120673', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { VALUES ( ?c ) { ( resource:Q7747 ) ( resource:Q27120673 ) } . ?c property:P172 ?o }
Vladimir Putin Si
action count
action union
action filter_type
action find
entity Vladimir Putin
relation ethnic group
type people
action filter_type
action find
entity Si
relation ethnic group
type people
['Vladimir Putin', 'ethnic group', {'concept': 'people'}] ['Si', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { VALUES ( ?c ) { ( resource:Vladimir_Putin ) ( resource:Si ) } . ?c property:ethnic_group ?o }
[]
people
SYSTEM
2
Q49542 Q727928
(Q7747,P172,c(Q2472587)) (Q27120673,P172,c(Q2472587))
action count
action union
action filter_type
action find
entity Q7747
relation P172
type Q2472587
action filter_type
action find
entity Q27120673
relation P172
type Q2472587
[ANSWER]
['Q7747', 'P172', {'concept': 'Q2472587'}] ['Q27120673', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { VALUES ( ?c ) { ( resource:Q7747 ) ( resource:Q27120673 ) } . ?c property:P172 ?o }
Russians Asian American
2
action count
action union
action filter_type
action find
entity Vladimir Putin
relation ethnic group
type people
action filter_type
action find
entity Si
relation ethnic group
type people
['Vladimir Putin', 'ethnic group', {'concept': 'people'}] ['Si', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { VALUES ( ?c ) { ( resource:Vladimir_Putin ) ( resource:Si ) } . ?c property:ethnic_group ?o }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17028229 Q1569546
P17
Q1048835
USER
Which political territories are Hainstadt or Electoral district of Stirling situated in ?
OR((Q1569546,P17,c(Q1048835)), (Q17028229,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q1569546
relation P17
action find
entity Q17028229
relation P17
type Q1048835
{'OR': [['Q1569546', 'P17', {'concept': 'Q1048835'}], ['Q17028229', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1569546 property:P17 ?i } UNION { resource:Q17028229 property:P17 ?i } } . ?i rdf:type ontology:Q1048835 }
Electoral district of Stirling Hainstadt
action filter_type
action union
action find
entity Hainstadt
relation country
action find
entity Electoral district of Stirling
relation country
type political territorial entity
{'OR': [['Hainstadt', 'country', {'concept': 'political territorial entity'}], ['Electoral district of Stirling', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Hainstadt property:country ?i } UNION { resource:Electoral_district_of_Stirling property:country ?i } } . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
OR((Q1569546,P17,c(Q1048835)), (Q17028229,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q1569546
relation P17
action find
entity Q17028229
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q1569546', 'P17', {'concept': 'Q1048835'}], ['Q17028229', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1569546 property:P17 ?i } UNION { resource:Q17028229 property:P17 ?i } } . ?i rdf:type ontology:Q1048835 }
Australia Germany
Which political territories are Hainstadt or Electoral district of Stirling situated in
Australia Germany
action filter_type
action union
action find
entity Hainstadt
relation country
action find
entity Electoral district of Stirling
relation country
type political territorial entity
{'OR': [['Hainstadt', 'country', {'concept': 'political territorial entity'}], ['Electoral district of Stirling', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Hainstadt property:country ?i } UNION { resource:Electoral_district_of_Stirling property:country ?i } } . ?i rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q408 Q183
P30
Q2221906
USER
Where are those political territories located ?
(Q408,P30,c(Q2221906)) (Q183,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
['Q408', 'P30', {'concept': 'Q2221906'}] ['Q183', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?k ) { ( resource:Q408 ) ( resource:Q183 ) } . ?k property:P30 ?o . ?o rdf:type ontology:Q2221906 }
Australia Germany
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Australia', 'continent', {'concept': 'geographic location'}] ['Germany', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?k ) { ( resource:Australia ) ( resource:Germany ) } . ?k property:continent ?o . ?o rdf:type ontology:geographic_location }
[]
geographic location
Q3960 Q538 Q46
SYSTEM
Australia, Oceania, Europe
Q3960 Q538 Q46
(Q408,P30,c(Q2221906)) (Q183,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
Those political territories are located in [ANSWERS]
['Q408', 'P30', {'concept': 'Q2221906'}] ['Q183', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?k ) { ( resource:Q408 ) ( resource:Q183 ) } . ?k property:P30 ?o . ?o rdf:type ontology:Q2221906 }
Australia Oceania Europe
Those political territories are located in Australia, Oceania and Europe
Australia Oceania Europe
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Australia', 'continent', {'concept': 'geographic location'}] ['Germany', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?k ) { ( resource:Australia ) ( resource:Germany ) } . ?k property:continent ?o . ?o rdf:type ontology:geographic_location }
[]