Simple Question (Direct)
Simple Question
Q6697263
P20
Q56061
USER
Where did the expiration of Lucille Benson occur ?
(Q6697263,P20,c(Q56061))
action filter_type
action find
entity Q6697263
relation P20
type Q56061
['Q6697263', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q6697263 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Lucille Benson
action filter_type
action find
entity Lucille Benson
relation place of death
type administrative territorial entity
['Lucille Benson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Lucille_Benson property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q79577
SYSTEM
Scottsboro
Q79577
(Q6697263,P20,c(Q56061))
action filter_type
action find
entity Q6697263
relation P20
type Q56061
The expiration of Lucille Benson occurred in [ANSWER]
['Q6697263', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q6697263 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Scottsboro
The expiration of Lucille Benson occurred in Scottsboro
Scottsboro
action filter_type
action find
entity Lucille Benson
relation place of death
type administrative territorial entity
['Lucille Benson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Lucille_Benson property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q79577
P931
Q62447
USER
What city is served by that administrative territory ?
(c(Q62447),P931,Q79577)
action filter_type
action find_reverse
entity Q79577
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q79577']
SELECT DISTINCT ?y WHERE { ?y property:P931 resource:Q79577 . ?y rdf:type ontology:Q62447 }
Scottsboro
action filter_type
action find_reverse
entity Scottsboro
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Scottsboro']
SELECT DISTINCT ?y WHERE { ?y property:place_served_by_airport resource:Scottsboro . ?y rdf:type ontology:aerodrome }
[]
aerodrome
Q7438177
SYSTEM
Scottsboro Municipal Airport
Q7438177
(c(Q62447),P931,Q79577)
action filter_type
action find_reverse
entity Q79577
relation P931
type Q62447
Airport [ANSWER] is served by that administrative territory
[{'concept': 'Q62447'}, 'P931', 'Q79577']
SELECT DISTINCT ?y WHERE { ?y property:P931 resource:Q79577 . ?y rdf:type ontology:Q62447 }
Scottsboro Municipal Airport
Airport Scottsboro Municipal Airport is served by that administrative territory
Scottsboro Municipal Airport
action filter_type
action find_reverse
entity Scottsboro
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Scottsboro']
SELECT DISTINCT ?y WHERE { ?y property:place_served_by_airport resource:Scottsboro . ?y rdf:type ontology:aerodrome }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q740752 Q62447
USER
Which transport companies can manage atmost 19 aerodromes ?
(c(Q62447),P137,c(Q740752))
action atmost
action find_reverse_tuple_counts
relation P137
type Q740752
type Q62447
value 19
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?k ) WHERE { ?j rdf:type ontology:Q740752 . ?n rdf:type ontology:Q62447 . ?n property:P137 ?j } GROUP BY ?j } . FILTER ( ?k <= 19 ) }
action atmost
action find_reverse_tuple_counts
relation operator
type transport company
type aerodrome
value 19
[{'concept': 'aerodrome'}, 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?k ) WHERE { ?j rdf:type ontology:transport_company . ?n rdf:type ontology:aerodrome . ?n property:operator ?j } GROUP BY ?j } . FILTER ( ?k <= 19 ) }
[]
transport company aerodrome
Q18853 Q9322 Q1188230
SYSTEM
DB Regio, Deutsche Bahn, Nankai Electric Railway
Q696056 Q379439 Q6955265 Q466985 Q16951036 Q30850 Q259805 Q11986946 Q13646 Q7596862 Q5314720 Q5531719 Q9322 Q558087 Q2045550 Q5093778 Q822867 Q1502902 Q2304446 Q13882327 Q23239 Q83543 Q498930 Q633760 Q502125 Q1188230 Q20986912 Q1486303 Q3878567 Q629139 Q1201734 Q841227 Q21501365 Q3240991 Q741266 Q4698983 Q524255 Q2245513 Q1332242 Q494088 Q787383 Q19768352 Q13709959 Q833903 Q499071 Q190208 Q291464 Q498366 Q11408721 Q1332019 Q935025 Q652374 Q624798 Q1937120 Q7975717 Q5283358 Q3630199 Q1324935 Q181811 Q247358 Q3138970 Q7880037 Q4154231 Q791050 Q1778084 Q4923279 Q375044 Q1719876 Q177598 Q1662654 Q1140781 Q381636 Q5599675 Q1428642 Q1571428 Q19960466 Q6747270 Q665793 Q591484 Q7283888 Q1190669 Q1332506 Q867040 Q1263077 Q1121154 Q929872 Q5413836 Q7684354 Q1531085 Q4698894 Q7984828 Q83823 Q1433158 Q10682200 Q869251 Q794563 Q2172775 Q690220 Q1868882 Q1069105 Q1631623 Q452140 Q10390136 Q682894 Q1322206 Q1321914 Q4940244 Q83584 Q1188274 Q1967598 Q1652183 Q7684105 Q604174 Q1398696 Q473058 Q10431339 Q18169 Q913248 Q20640459 Q15712205 Q4202182 Q795363 Q8301325 Q83538 Q843251 Q893983 Q1277719 Q10689331 Q933681 Q2105117 Q20060811 Q1244599 Q658126 Q258856 Q23076 Q845951 Q7056819 Q2453128 Q7603486 Q483883 Q4916856 Q589575 Q4121167 Q1674254 Q5350084 Q3115986 Q8046688 Q246824 Q923337 Q18853 Q6921923 Q295619 Q643578 Q1775875 Q617732
(c(Q62447),P137,c(Q740752))
action atmost
action find_reverse_tuple_counts
relation P137
type Q740752
type Q62447
value 19
[ANSWERS] can manage atmost 19 aerodromes
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?k ) WHERE { ?j rdf:type ontology:Q740752 . ?n rdf:type ontology:Q62447 . ?n property:P137 ?j } GROUP BY ?j } . FILTER ( ?k <= 19 ) }
Hamburg America Line Queensland Rail NSB Gjøvikbanen Thalys Belgian State Railways Meitetsu Bayerische Oberlandbahn Norwegian Civil Aviation Administration SNCF Stagecoach Sheffield Dundalk, Newry and Greenore Railway General Authority of Civil Aviation Deutsche Bahn Ann Arbor Railroad Pacific Mail Steamship Company Chester and Holyhead Railway Hamburg-Köln-Express Underground Electric Railways Company of London South Eastern and Chatham Railway Nederlandsche Rhijnspoorweg-Maatschappij Amtrak Seibu Railway Hokkaido Railway Company Conrail West Japan Railway Company Nankai Electric Railway DB Busverkehr Hessen London and North Western Railway Northern Counties Committee London, Midland and Scottish Railway Deutsch-Australische Dampfschiffs-Gesellschaft Metropolitan Intercity Railway Company Railway Touring Company Lima Airport Partners Southern Railway Airports Company South Africa NMBS/SNCB Sanyo Electric Railway Tokyu Corporation Shinbundang Railroad Company North Eastern Railway Joseph Constantine Steamship Neo Trans Stena Line East Japan Railway Company Zentralbahn Aena Kyushu Railway Company Minamiaso tetsudō Ellerman Lines Metropolitan Railway Norddeutscher Lloyd Canadian National Railway NI Railways Waxholmsbolaget District Railway Airports Authority of India Trenord Great Northern Railway Appenzeller Bahnen (2006) Iyo Railway Ulster Transport Authority Far East Shipping Company Avinor Mitsui O.S.K. Lines Blackpool Transport Stockton and Darlington Railway Stern und Kreisschiffahrt Rhaetian Railway Infraero Hanshin Electric Railway Aeroporti di Roma SpA Great Northern Railway (Ireland) Penn Central Transportation Company Swedavia Finnish State Railways Manchester Airports Group Maatschappij tot Exploitatie van Staatsspoorwegen Connexxion Rail Corporation New South Wales Japan Freight Railway Company Keio Corporation Aizu Railway Dublin Airport Authority Compagnie des chemins de fer de Paris à Lyon et à la Méditerranée Royal Caribbean International Eurostar International Limited Taoyuan International Airport Corporation Kintetsu Airport Authority Hong Kong West Coast Railway Company Ferrovie dello Stato Italiane Helsinki City Transport Strömma Kanalbolaget Nishi-Nippon Railroad Aéroports de Paris Nederlandsche Centraal-Spoorweg-Maatschappij Grand Junction Railway London, Tilbury and Southend Railway Kazakhstan Temir Zholy TAV Airports Holding DB Fernverkehr Viação Férrea Federal Leste Brasileiro Tokyo Metro Keikyu Tobu Railway Bolton and Leigh Railway Odakyu Electric Railway Keihan Electric Railway National Railways of Zimbabwe In-der-City-Bus Tanzania Airports Authority Hakone Tozan Railway Liverpool and Manchester Railway Hankyu Corporation Blidösundsbolaget Korail VR Group Lokaltog intercity bus company Malaysia Airports Heathrow Airport Holdings Limited SJ AB Keisei Electric Railway Great Western Railway BornholmerFærgen East African Railways and Harbours Corporation TBI plc Flughafen Berlin Brandenburg GmbH Hollandsche IJzeren Spoorweg-Maatschappij Rede Ferroviária do Nordeste Nizam's Guaranteed State Railway Syrian Railways Angkasa Pura Nederlandse Spoorwegen Sagami Railway North Staffordshire Railway Karelian Trains State Rail Authority of New South Wales Incheon Transit Corporation Birmingham and Gloucester Railway Eurobahn Sydney Airports Corporation Isle of Man Steam Packet Company Eizan Electric Railway Great Western Steamship Company Yagan Railway BLS AG Ukrainian Railways DB Regio Mount Lyell Mining and Railway Company ANA – Aeroportos de Portugal Fraport Overseas Shipholding Group Montreux-Oberland Bernois
DB Regio, Deutsche Bahn and Nankai Electric Railway can manage atmost 19 aerodromes
DB Regio Deutsche Bahn Nankai Electric Railway
action atmost
action find_reverse_tuple_counts
relation operator
type transport company
type aerodrome
value 19
[{'concept': 'aerodrome'}, 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?k ) WHERE { ?j rdf:type ontology:transport_company . ?n rdf:type ontology:aerodrome . ?n property:operator ?j } GROUP BY ?j } . FILTER ( ?k <= 19 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q567000
P355
Q4830453 Q740752
USER
Which business enterprises serve as a subsidiary of lesser number of transport companies than Chiltern Railways ?
(c(Q740752),P355,c(Q4830453))
action less
action find_reverse_tuple_counts
relation P355
type Q4830453
type Q740752
action count
action filter_type
action find_reverse
entity Q567000
relation P355
type Q740752
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?v < ?s ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:P355 resource:Q567000 . ?e rdf:type ontology:Q740752 } } . { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:P355 ?f . ?f rdf:type ontology:Q4830453 . ?d rdf:type ontology:Q740752 } GROUP BY ?f } }
Chiltern Railways
action less
action find_reverse_tuple_counts
relation subsidiary
type business enterprise
type transport company
action count
action filter_type
action find_reverse
entity Chiltern Railways
relation subsidiary
type transport company
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?v < ?s ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:subsidiary resource:Chiltern_Railways . ?e rdf:type ontology:transport_company } } . { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:subsidiary ?f . ?f rdf:type ontology:business_enterprise . ?d rdf:type ontology:transport_company } GROUP BY ?f } }
[]
business enterprise transport company
Q40966 Q866 Q155573
SYSTEM
Opel, YouTube, Airbus Helicopters
Q6840080 Q16987731 Q4721851 Q2843047 Q1143709 Q19977498 Q94912 Q864910 Q18162669 Q10366076 Q1134268 Q386598 Q3547645 Q1532217 Q191615 Q21501946 Q169889 Q181114 Q1714952 Q928831 Q11228051 Q382465 Q1737487 Q985997 Q106158 Q6341142 Q10366119 Q15804204 Q306769 Q1626564 Q6766400 Q205622 Q4854200 Q1201531 Q7497366 Q7385860 Q688893 Q23048564 Q7955301 Q1218180 Q3045727 Q3277439 Q1519181 Q389251 Q11236446 Q24230849 Q1074758 Q259340 Q641746 Q744800 Q10687909 Q2147715 Q795324 Q18689168 Q7160591 Q1318441 Q19515735 Q1342538 Q22813239 Q35886 Q8139691 Q13403399 Q16172809 Q568940 Q734663 Q1778277 Q194009 Q2378642 Q708667 Q6604030 Q11308745 Q11308747 Q858665 Q27489 Q2138491 Q11207295 Q1339456 Q11243694 Q16496497 Q271812 Q26720780 Q308889 Q1180332 Q1475070 Q1053674 Q333780 Q968850 Q3187172 Q2031951 Q7245172 Q10365786 Q10903852 Q5474362 Q3091339 Q18046528 Q658637 Q136478 Q12300146 Q26702890 Q23048814 Q21857804 Q249892 Q1918981 Q5447158 Q59187 Q1542175 Q788231 Q16834431 Q836947 Q155573 Q600457 Q2027177 Q374451 Q4073726 Q1754870 Q20746310 Q40966 Q1420724 Q1122564 Q843448 Q6824151 Q15529123 Q5209438 Q4354860 Q10685076 Q22813244 Q3300783 Q22980120 Q2771806 Q1881443 Q10271259 Q179636 Q8013425 Q7632539 Q19604369 Q13974 Q796719 Q1152110 Q708290 Q5413890 Q965315 Q6715753 Q908436 Q161405 Q7954024 Q3518541 Q2531909 Q6883057 Q810783 Q822314 Q288038 Q5350273 Q11835724 Q1190247 Q7380124 Q188508 Q19904 Q1672772 Q4231991 Q1152109 Q2082380 Q20061301 Q23925826 Q8013770 Q1182611 Q106854 Q564963 Q217365 Q6057450 Q2033167 Q2932698 Q909032 Q6840142 Q6840143 Q866 Q48592 Q837851 Q212268 Q2373435 Q22813243
(c(Q740752),P355,c(Q4830453))
action less
action find_reverse_tuple_counts
relation P355
type Q4830453
type Q740752
action count
action filter_type
action find_reverse
entity Q567000
relation P355
type Q740752
[ANSWERS] serve as a subsidiary of lesser number of transport companies than Chiltern Railways
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?v < ?s ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:P355 resource:Q567000 . ?e rdf:type ontology:Q740752 } } . { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:P355 ?f . ?f rdf:type ontology:Q4830453 . ?d rdf:type ontology:Q740752 } GROUP BY ?f } }
Microsoft Algeria ITV Digital Channels Ltd Alfabet AT&T Corporation BS-TBS Scania-Hytter Rockstar Games Nippon Television SAIC Motor UK Record FM Sony Corporation of America EvoBus Ubisoft Annecy Gloster Pizza Hut J.P. Morgan Private Bank American Broadcasting Company Chrysler Kol Yisrael Seoul Broadcasting System KNT-CT Holdings Affiliated Computer Services Kazan Helicopters HSBC Bank (China) Standard & Poor's KXEN Inc. Rádio Trânsito DB Schenker Rail Nederland Abbott Mead Vickers BBDO Honda Canada Tokyo Broadcasting System Television Astrium Satellites BandNews FM Detroit Diesel Shine Group Rádio Record Bombardier Transportation Scania Peter WRSO Nikon E.ON UK The Co-operative Food Telemontecarlo Kobo Inc. Radio Kansai MyBus Chiron Corporation 7-Eleven Hallmark Channel Fuji Television Säffle Karosseri Rheinisch-Westfälische Straßen- und Kleinbahnen Boeing Defense, Space & Security SOE Busproduction Finland Pegasus Software AdMob James Villa Holidays OXXO FTI Consulting EMEA Lamborghini BS Japan Kirin Holdings SK Innovation Jet TV Tokyo Odense Steel Shipyard Tupolev Thomas Built Buses MAN Truck & Bus Moreshet CS One Ten CS Nippon Big C DAF RVN Regionalverkehr Niederrhein Helio Aircraft Company Brazilian Agricultural Research Corporation SMFG Card & Credit Band FM Ducati J-F. Lemvigh-Müller Holding Cessna MÁV START Zrt. MBDA DoubleClick Yakovlev Nova TV Jovem Pan FM Sociedade Independente de Comunicação Principles Rádio Estadão HSBC North America Holdings Foundation Systems Fyffes Deloitte Miller Brewing Company Shenyang Aircraft Corporation Aabenraa Karrosseri A.P. Møller Holding Scania Production Angers Sct. Oluf Cinemax John Lewis Fieldglass Vauxhall Mitsubishi UFJ Financial Group Massimo Dutti Daimler Trucks North America Convair Airbus Helicopters OCZ Pedigree Petfoods Boeing Helicopters Aeroexpress Stadtwerke Verkehrsgesellschaft Frankfurt am Main The Share Centre Opel Freightliner Trucks Infra Infrastrukturgesellschaft Region Hannover GmbH TBS Radio Metismo Airbus Defence and Space Daimler India Commercial Vehicles Pvt. Ltd. AVIC I Scania-Bussar FTI Consulting APAC Bethesda Game Studios Kadeau Bornholm Compagnie Internationale des Grands Hotels MG Motor Eldorado FM Country Music Television BS Nippon SuccessFactors Columbus Nova NBC Sky Italia S.r.l. DB Schenker Rail Schweiz Cartoon Network HSBC Bank Dansk Automobil Byggeri MGM Worldwide Television TV Asahi Animax WOW! Terracotta, Inc. Volksfürsorge Mitsubishi Fuso Truck of America, Inc. Bath Iron Works Sony Pictures Entertainment WebMethods UKTV Scania Production Słupsk Mitsubishi Fuso Truck and Bus Corporation Runtastic Mikoyan France Info TransnetBW Qoros DB Cargo Deutschland Bethlehem Shipbuilding Corporation DirecTV Latin America Meyers Portefølje BS Asahi Rede 21 Beck's Sport1 Bell Labs Interwoven Sky UK Limited Textron Marine & Land Systems Nippon Broadcasting System Microsoft India R & D Microsoft India YouTube Noma The Body Shop Antonov Volvo Buses FTI Consulting LATAM
Opel, YouTube and Airbus Helicopters serve as a subsidiary of lesser number of transport companies than Chiltern Railways
Opel YouTube Airbus Helicopters
action less
action find_reverse_tuple_counts
relation subsidiary
type business enterprise
type transport company
action count
action filter_type
action find_reverse
entity Chiltern Railways
relation subsidiary
type transport company
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?v < ?s ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:subsidiary resource:Chiltern_Railways . ?e rdf:type ontology:transport_company } } . { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:subsidiary ?f . ?f rdf:type ontology:business_enterprise . ?d rdf:type ontology:transport_company } GROUP BY ?f } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q11463109
P355
Q4830453 Q740752
USER
And what about Odakyu Hakone Holdings?
(c(Q740752),P355,c(Q4830453))
action less
action find_reverse_tuple_counts
relation P355
type Q4830453
type Q740752
action count
action filter_type
action find
entity Q11463109
relation P355
type Q740752
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:P355 ?s . ?s rdf:type ontology:Q4830453 . ?i rdf:type ontology:Q740752 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Q11463109 property:P355 ?t . ?t rdf:type ontology:Q740752 } } . FILTER ( ?e < ?x ) }
Odakyu Hakone Holdings
action less
action find_reverse_tuple_counts
relation subsidiary
type business enterprise
type transport company
action count
action filter_type
action find
entity Odakyu Hakone Holdings
relation subsidiary
type transport company
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:subsidiary ?s . ?s rdf:type ontology:business_enterprise . ?i rdf:type ontology:transport_company } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Odakyu_Hakone_Holdings property:subsidiary ?t . ?t rdf:type ontology:transport_company } } . FILTER ( ?e < ?x ) }
[]
business enterprise transport company
Q40966 Q866 Q155573
SYSTEM
Opel, YouTube, Airbus Helicopters
Q6840080 Q16987731 Q4721851 Q2843047 Q1143709 Q19977498 Q94912 Q864910 Q18162669 Q10366076 Q1134268 Q386598 Q3547645 Q1532217 Q191615 Q21501946 Q169889 Q181114 Q1714952 Q928831 Q11228051 Q382465 Q1737487 Q985997 Q106158 Q6341142 Q10366119 Q15804204 Q306769 Q1626564 Q6766400 Q205622 Q4854200 Q1201531 Q7497366 Q7385860 Q688893 Q23048564 Q7955301 Q1218180 Q3045727 Q3277439 Q1519181 Q389251 Q11236446 Q24230849 Q1074758 Q259340 Q641746 Q744800 Q10687909 Q2147715 Q795324 Q18689168 Q7160591 Q1318441 Q19515735 Q1342538 Q22813239 Q35886 Q8139691 Q13403399 Q16172809 Q568940 Q734663 Q1778277 Q194009 Q2378642 Q708667 Q6604030 Q11308745 Q11308747 Q858665 Q27489 Q2138491 Q11207295 Q1339456 Q11243694 Q16496497 Q271812 Q26720780 Q308889 Q1180332 Q1475070 Q1053674 Q333780 Q968850 Q3187172 Q2031951 Q7245172 Q10365786 Q10903852 Q5474362 Q3091339 Q18046528 Q658637 Q136478 Q12300146 Q26702890 Q23048814 Q21857804 Q249892 Q1918981 Q5447158 Q59187 Q1542175 Q788231 Q16834431 Q836947 Q155573 Q600457 Q2027177 Q374451 Q4073726 Q1754870 Q20746310 Q40966 Q1420724 Q1122564 Q843448 Q6824151 Q15529123 Q5209438 Q4354860 Q10685076 Q22813244 Q3300783 Q22980120 Q2771806 Q1881443 Q10271259 Q179636 Q8013425 Q7632539 Q19604369 Q13974 Q796719 Q1152110 Q708290 Q5413890 Q965315 Q6715753 Q908436 Q161405 Q7954024 Q3518541 Q2531909 Q6883057 Q810783 Q822314 Q288038 Q5350273 Q11835724 Q1190247 Q7380124 Q188508 Q19904 Q1672772 Q4231991 Q1152109 Q2082380 Q20061301 Q23925826 Q8013770 Q1182611 Q106854 Q564963 Q217365 Q6057450 Q2033167 Q2932698 Q909032 Q6840142 Q6840143 Q866 Q48592 Q837851 Q212268 Q2373435 Q22813243
(c(Q740752),P355,c(Q4830453))
action less
action find_reverse_tuple_counts
relation P355
type Q4830453
type Q740752
action count
action filter_type
action find
entity Q11463109
relation P355
type Q740752
[ANSWERS]
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:P355 ?s . ?s rdf:type ontology:Q4830453 . ?i rdf:type ontology:Q740752 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Q11463109 property:P355 ?t . ?t rdf:type ontology:Q740752 } } . FILTER ( ?e < ?x ) }
Microsoft Algeria ITV Digital Channels Ltd Alfabet AT&T Corporation BS-TBS Scania-Hytter Rockstar Games Nippon Television SAIC Motor UK Record FM Sony Corporation of America EvoBus Ubisoft Annecy Gloster Pizza Hut J.P. Morgan Private Bank American Broadcasting Company Chrysler Kol Yisrael Seoul Broadcasting System KNT-CT Holdings Affiliated Computer Services Kazan Helicopters HSBC Bank (China) Standard & Poor's KXEN Inc. Rádio Trânsito DB Schenker Rail Nederland Abbott Mead Vickers BBDO Honda Canada Tokyo Broadcasting System Television Astrium Satellites BandNews FM Detroit Diesel Shine Group Rádio Record Bombardier Transportation Scania Peter WRSO Nikon E.ON UK The Co-operative Food Telemontecarlo Kobo Inc. Radio Kansai MyBus Chiron Corporation 7-Eleven Hallmark Channel Fuji Television Säffle Karosseri Rheinisch-Westfälische Straßen- und Kleinbahnen Boeing Defense, Space & Security SOE Busproduction Finland Pegasus Software AdMob James Villa Holidays OXXO FTI Consulting EMEA Lamborghini BS Japan Kirin Holdings SK Innovation Jet TV Tokyo Odense Steel Shipyard Tupolev Thomas Built Buses MAN Truck & Bus Moreshet CS One Ten CS Nippon Big C DAF RVN Regionalverkehr Niederrhein Helio Aircraft Company Brazilian Agricultural Research Corporation SMFG Card & Credit Band FM Ducati J-F. Lemvigh-Müller Holding Cessna MÁV START Zrt. MBDA DoubleClick Yakovlev Nova TV Jovem Pan FM Sociedade Independente de Comunicação Principles Rádio Estadão HSBC North America Holdings Foundation Systems Fyffes Deloitte Miller Brewing Company Shenyang Aircraft Corporation Aabenraa Karrosseri A.P. Møller Holding Scania Production Angers Sct. Oluf Cinemax John Lewis Fieldglass Vauxhall Mitsubishi UFJ Financial Group Massimo Dutti Daimler Trucks North America Convair Airbus Helicopters OCZ Pedigree Petfoods Boeing Helicopters Aeroexpress Stadtwerke Verkehrsgesellschaft Frankfurt am Main The Share Centre Opel Freightliner Trucks Infra Infrastrukturgesellschaft Region Hannover GmbH TBS Radio Metismo Airbus Defence and Space Daimler India Commercial Vehicles Pvt. Ltd. AVIC I Scania-Bussar FTI Consulting APAC Bethesda Game Studios Kadeau Bornholm Compagnie Internationale des Grands Hotels MG Motor Eldorado FM Country Music Television BS Nippon SuccessFactors Columbus Nova NBC Sky Italia S.r.l. DB Schenker Rail Schweiz Cartoon Network HSBC Bank Dansk Automobil Byggeri MGM Worldwide Television TV Asahi Animax WOW! Terracotta, Inc. Volksfürsorge Mitsubishi Fuso Truck of America, Inc. Bath Iron Works Sony Pictures Entertainment WebMethods UKTV Scania Production Słupsk Mitsubishi Fuso Truck and Bus Corporation Runtastic Mikoyan France Info TransnetBW Qoros DB Cargo Deutschland Bethlehem Shipbuilding Corporation DirecTV Latin America Meyers Portefølje BS Asahi Rede 21 Beck's Sport1 Bell Labs Interwoven Sky UK Limited Textron Marine & Land Systems Nippon Broadcasting System Microsoft India R & D Microsoft India YouTube Noma The Body Shop Antonov Volvo Buses FTI Consulting LATAM
Opel YouTube Airbus Helicopters
action less
action find_reverse_tuple_counts
relation subsidiary
type business enterprise
type transport company
action count
action filter_type
action find
entity Odakyu Hakone Holdings
relation subsidiary
type transport company
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:subsidiary ?s . ?s rdf:type ontology:business_enterprise . ?i rdf:type ontology:transport_company } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Odakyu_Hakone_Holdings property:subsidiary ?t . ?t rdf:type ontology:transport_company } } . FILTER ( ?e < ?x ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4763860 Q7438177
P17
Q15617994
USER
Which administrative territories are Scottsboro Municipal Airport or Angosht located in ?
OR((Q7438177,P17,c(Q15617994)), (Q4763860,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7438177
relation P17
action find
entity Q4763860
relation P17
type Q15617994
{'OR': [['Q7438177', 'P17', {'concept': 'Q15617994'}], ['Q4763860', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q7438177 property:P17 ?o } UNION { resource:Q4763860 property:P17 ?o } } . ?o rdf:type ontology:Q15617994 }
Angosht Scottsboro Municipal Airport
action filter_type
action union
action find
entity Scottsboro Municipal Airport
relation country
action find
entity Angosht
relation country
type designation for an administrative territorial entity
{'OR': [['Scottsboro Municipal Airport', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Angosht', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Scottsboro_Municipal_Airport property:country ?o } UNION { resource:Angosht property:country ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q794
SYSTEM
United States of America, Iran
Q30 Q794
OR((Q7438177,P17,c(Q15617994)), (Q4763860,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7438177
relation P17
action find
entity Q4763860
relation P17
type Q15617994
Scottsboro Municipal Airport or Angosht are located in [ANSWERS]
{'OR': [['Q7438177', 'P17', {'concept': 'Q15617994'}], ['Q4763860', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q7438177 property:P17 ?o } UNION { resource:Q4763860 property:P17 ?o } } . ?o rdf:type ontology:Q15617994 }
United States of America Iran
Scottsboro Municipal Airport or Angosht are located in United States of America and Iran
United States of America Iran
action filter_type
action union
action find
entity Scottsboro Municipal Airport
relation country
action find
entity Angosht
relation country
type designation for an administrative territorial entity
{'OR': [['Scottsboro Municipal Airport', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Angosht', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Scottsboro_Municipal_Airport property:country ?o } UNION { resource:Angosht property:country ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with atleast 15 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 15
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?j ) WHERE { ?k property:P530 ?d . ?k rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?k } . FILTER ( ?j >= 15 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 15
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?j ) WHERE { ?k property:diplomatic_relation ?d . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?j >= 15 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
12
Q801 Q805 Q142 Q159 Q155 Q30 Q929 Q38 Q230 Q184 Q114 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 15
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?j ) WHERE { ?k property:P530 ?d . ?k rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?k } . FILTER ( ?j >= 15 ) }
Israel Yemen France Russia Brazil United States of America Central African Republic Italy Georgia Belarus Kenya Zambia
12
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 15
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?j ) WHERE { ?k property:diplomatic_relation ?d . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?j >= 15 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P194
Q11204 Q701632 Q15617994
USER
Which administrative territories have max number of legislatures and municipal councils as their council ?
(c(Q15617994),P194,c(Q11204)|c(Q701632))
action argmax
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q701632
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?o ) WHERE { ?u rdf:type ?m . VALUES ( ?m ) { ( ontology:Q701632 ) ( ontology:Q11204 ) } } GROUP BY ?b } } . FILTER ( ?g = ?s ) . { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?g ) WHERE { { ?v rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q11204 . ?v property:P194 ?z } UNION { ?v property:P194 ?z . ?v rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q701632 } } GROUP BY ?v } }
action argmax
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?o ) WHERE { ?u rdf:type ?m . VALUES ( ?m ) { ( ontology:municipal_council ) ( ontology:legislature ) } } GROUP BY ?b } } . FILTER ( ?g = ?s ) . { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?g ) WHERE { { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:legislature . ?v property:legislative_body ?z } UNION { ?v property:legislative_body ?z . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:municipal_council } } GROUP BY ?v } }
[]
legislature municipal council designation for an administrative territorial entity
Q948
SYSTEM
Tunisia
Q948
(c(Q15617994),P194,c(Q11204)|c(Q701632))
action argmax
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q701632
[ANSWER] have max number of legislatures and municipal councils as their council
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?o ) WHERE { ?u rdf:type ?m . VALUES ( ?m ) { ( ontology:Q701632 ) ( ontology:Q11204 ) } } GROUP BY ?b } } . FILTER ( ?g = ?s ) . { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?g ) WHERE { { ?v rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q11204 . ?v property:P194 ?z } UNION { ?v property:P194 ?z . ?v rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q701632 } } GROUP BY ?v } }
Tunisia
Tunisia have max number of legislatures and municipal councils as their council
Tunisia
action argmax
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?o ) WHERE { ?u rdf:type ?m . VALUES ( ?m ) { ( ontology:municipal_council ) ( ontology:legislature ) } } GROUP BY ?b } } . FILTER ( ?g = ?s ) . { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?g ) WHERE { { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:legislature . ?v property:legislative_body ?z } UNION { ?v property:legislative_body ?z . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:municipal_council } } GROUP BY ?v } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7738532 Q866
P800
Q502895
USER
Which people have YouTube or The Guns of Normandy as their notable work ?
OR((c(Q502895),P800,Q866), (c(Q502895),P800,Q7738532))
action filter_type
action union
action find_reverse
entity Q866
relation P800
action find_reverse
entity Q7738532
relation P800
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P800', 'Q866'], [{'concept': 'Q502895'}, 'P800', 'Q7738532']]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?d ) { ( resource:Q866 ) ( resource:Q7738532 ) } . ?e property:P800 ?d } . ?e rdf:type ontology:Q502895 }
The Guns of Normandy YouTube
action filter_type
action union
action find_reverse
entity YouTube
relation notable work
action find_reverse
entity The Guns of Normandy
relation notable work
type common name
{'OR': [[{'concept': 'common name'}, 'notable work', 'YouTube'], [{'concept': 'common name'}, 'notable work', 'The Guns of Normandy']]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?d ) { ( resource:YouTube ) ( resource:The_Guns_of_Normandy ) } . ?e property:notable_work ?d } . ?e rdf:type ontology:common_name }
[]
common name
Q5539544 Q13423853
SYSTEM
George G. Blackburn, PewDiePie
Q5539544 Q13423853
OR((c(Q502895),P800,Q866), (c(Q502895),P800,Q7738532))
action filter_type
action union
action find_reverse
entity Q866
relation P800
action find_reverse
entity Q7738532
relation P800
type Q502895
[ANSWERS] have YouTube or The Guns of Normandy as their notable work
{'OR': [[{'concept': 'Q502895'}, 'P800', 'Q866'], [{'concept': 'Q502895'}, 'P800', 'Q7738532']]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?d ) { ( resource:Q866 ) ( resource:Q7738532 ) } . ?e property:P800 ?d } . ?e rdf:type ontology:Q502895 }
George G. Blackburn PewDiePie
George G. Blackburn and PewDiePie have YouTube or The Guns of Normandy as their notable work
George G. Blackburn PewDiePie
action filter_type
action union
action find_reverse
entity YouTube
relation notable work
action find_reverse
entity The Guns of Normandy
relation notable work
type common name
{'OR': [[{'concept': 'common name'}, 'notable work', 'YouTube'], [{'concept': 'common name'}, 'notable work', 'The Guns of Normandy']]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?d ) { ( resource:YouTube ) ( resource:The_Guns_of_Normandy ) } . ?e property:notable_work ?d } . ?e rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q11572
P725
Q502895 Q15961987
USER
How many television genres had their voice dubbing done by approximately the same number of people as Avatar: The Last Airbender ?
(c(Q15961987),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q11572
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?g ) WHERE { ?o rdf:type ontology:Q15961987 . ?e rdf:type ontology:Q502895 . ?o property:P725 ?e } GROUP BY ?o } . FILTER ( ?g = ?n ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Q11572 property:P725 ?c . ?c rdf:type ontology:Q15961987 } } }
Avatar: The Last Airbender
action count
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Avatar: The Last Airbender
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?g ) WHERE { ?o rdf:type ontology:television_genre . ?e rdf:type ontology:common_name . ?o property:voice_actor ?e } GROUP BY ?o } . FILTER ( ?g = ?n ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Avatar:_The_Last_Airbender property:voice_actor ?c . ?c rdf:type ontology:television_genre } } }
[]
common name television genre
SYSTEM
8
Q11572 Q11296848 Q3235151 Q576501 Q847219 Q753848 Q917543 Q2750339
(c(Q15961987),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q11572
relation P725
type Q15961987
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?g ) WHERE { ?o rdf:type ontology:Q15961987 . ?e rdf:type ontology:Q502895 . ?o property:P725 ?e } GROUP BY ?o } . FILTER ( ?g = ?n ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Q11572 property:P725 ?c . ?c rdf:type ontology:Q15961987 } } }
Avatar: The Last Airbender Kiteretsu Daihyakka VeggieTales Garfield and Friends Pururun! Shizuku-chan TaleSpin The Garfield Show Hellsing Ultimate
8
action count
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Avatar: The Last Airbender
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?g ) WHERE { ?o rdf:type ontology:television_genre . ?e rdf:type ontology:common_name . ?o property:voice_actor ?e } GROUP BY ?o } . FILTER ( ?g = ?n ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Avatar:_The_Last_Airbender property:voice_actor ?c . ?c rdf:type ontology:television_genre } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q22773153
P725
Q502895 Q15961987
USER
And what about Milo Murphy's Law?
(c(Q15961987),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q22773153
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?s ) WHERE { ?l property:P725 ?m . ?m rdf:type ontology:Q502895 . ?l rdf:type ontology:Q15961987 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Q22773153 property:P725 ?f . ?f rdf:type ontology:Q15961987 } } . FILTER ( ?s = ?u ) }
Milo Murphy's Law
action count
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Milo Murphy's Law
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?s ) WHERE { ?l property:voice_actor ?m . ?m rdf:type ontology:common_name . ?l rdf:type ontology:television_genre } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Milo_Murphy's_Law property:voice_actor ?f . ?f rdf:type ontology:television_genre } } . FILTER ( ?s = ?u ) }
[]
common name television genre
SYSTEM
2
Q22773153 Q18790
(c(Q15961987),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q22773153
relation P725
type Q15961987
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?s ) WHERE { ?l property:P725 ?m . ?m rdf:type ontology:Q502895 . ?l rdf:type ontology:Q15961987 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Q22773153 property:P725 ?f . ?f rdf:type ontology:Q15961987 } } . FILTER ( ?s = ?u ) }
Milo Murphy's Law The Legend of Korra
2
action count
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Milo Murphy's Law
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?s ) WHERE { ?l property:voice_actor ?m . ?m rdf:type ontology:common_name . ?l rdf:type ontology:television_genre } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Milo_Murphy's_Law property:voice_actor ?f . ?f rdf:type ontology:television_genre } } . FILTER ( ?s = ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q948
P530
Q1048835 Q15617994
USER
How many political territories or administrative territories have diplomatic associations with Tunisia ?
(c(Q1048835),P530,Q948) (c(Q15617994),P530,Q948)
action count
action union
action filter_type
action find_reverse
entity Q948
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q948
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', 'Q948'] [{'concept': 'Q15617994'}, 'P530', 'Q948']
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } }
Tunisia
action count
action union
action filter_type
action find_reverse
entity Tunisia
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Tunisia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Tunisia'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Tunisia']
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q38 Q183
(c(Q1048835),P530,Q948) (c(Q15617994),P530,Q948)
action count
action union
action filter_type
action find_reverse
entity Q948
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q948
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q948'] [{'concept': 'Q15617994'}, 'P530', 'Q948']
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } }
Italy Germany
2
action count
action union
action filter_type
action find_reverse
entity Tunisia
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Tunisia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Tunisia'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Tunisia']
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q6902732
P725
Q502895 Q166142
USER
How many applications have been dubbed by around the same number of people as Monster Hunter Diary: Poka Poka Airu Village ?
(c(Q166142),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q6902732
relation P725
type Q166142
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?u ) WHERE { ?p property:P725 ?i . ?p rdf:type ontology:Q166142 . ?i rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?u = ?c ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { resource:Q6902732 property:P725 ?t . ?t rdf:type ontology:Q166142 } } }
Monster Hunter Diary: Poka Poka Airu Village
action count
action approx
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Monster Hunter Diary: Poka Poka Airu Village
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?u ) WHERE { ?p property:voice_actor ?i . ?p rdf:type ontology:application . ?i rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?u = ?c ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { resource:Monster_Hunter_Diary:_Poka_Poka_Airu_Village property:voice_actor ?t . ?t rdf:type ontology:application } } }
[]
common name application
SYSTEM
97
Q16031150 Q5319170 Q602979 Q1371495 Q53362 Q1065670 Q8059682 Q7379808 Q3546883 Q2578717 Q7379806 Q6902732 Q15588417 Q3274352 Q1191681 Q2709892 Q3291127 Q2987460 Q1986800 Q14831173 Q166060 Q1302197 Q1141572 Q1035512 Q27863 Q2887359 Q840449 Q338486 Q538150 Q483103 Q239288 Q756856 Q14785138 Q216995 Q3823700 Q2819427 Q2525598 Q3992270 Q838707 Q1068256 Q207981 Q1154327 Q1037042 Q1207525 Q2005910 Q1801455 Q699815 Q6133492 Q847471 Q1868703 Q483120 Q2627892 Q537389 Q706638 Q482472 Q482500 Q17911588 Q1153316 Q6143593 Q170489 Q839091 Q5944170 Q484072 Q277021 Q857823 Q887421 Q3178243 Q515254 Q16547653 Q914286 Q2760871 Q1205695 Q1105802 Q3267335 Q2471350 Q746438 Q484233 Q182548 Q1347470 Q385228 Q1774415 Q1113356 Q531552 Q2457536 Q2403902 Q129277 Q4121008 Q891706 Q3866908 Q3715363 Q476230 Q239889 Q165929 Q600707 Q5968518 Q2473832 Q1075410
(c(Q166142),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q6902732
relation P725
type Q166142
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?u ) WHERE { ?p property:P725 ?i . ?p rdf:type ontology:Q166142 . ?i rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?u = ?c ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { resource:Q6902732 property:P725 ?t . ?t rdf:type ontology:Q166142 } } }
Hyperdimension Neptunia PP Dynasty Warriors 8 Tokyo Majin System Shock 2 Bakemonogatari Shuffle! Ys Seven Rune Factory 4 Hourglass of Summer Star Fox Adventures Rune Factory: Tides of Destiny Monster Hunter Diary: Poka Poka Airu Village Project 575 Poyopoyo Kansatsu Nikki Battle Vixens Phantasy Star Online 2 Arc Rise Fantasia Tsuyokiss Megazone 23 Space Dandy Umineko: When They Cry Princess Lover! Miracle Girls Danganronpa: Trigger Happy Havoc Sword Art Online God Eater 2 Kenran Butohsai Street Fighter X Tekken To Love-Ru Nogizaka Haruka no Himitsu StarCraft II: Wings of Liberty Hitman: Codename 47 Kantai Collection Super Mario 64 Princess Minerva ASH: Archaic Sealed Heat Zegapain Tokimeki Memorial Online Mario Kart Wii Gakuen Utopia Manabi Straight! Code Geass XIII Hitman 2: Silent Assassin Hyperdimension Neptunia Metroid: Other M Saints Row: The Third Galaxy Angel Shippū! Iron Leaguer Full Throttle Lollipop Chainsaw Nichijou Tales of Innocence Soul Eater Future GPX Cyber Formula School Rumble Bludgeoning Angel Dokuro-Chan Saints Row: Gat out of Hell Dragon Nest Zettai Bōei Leviathan Super Mario Galaxy Lucky Star Nora to Toki no Kōbō: Kiri no Mori no Majo Granado Espada A Certain Magical Index Fate/stay night Queen's Blade Luminous Arc Record of Agarest War Zero Under Night In-Birth Street Fighter IV Sengoku Collection Akaneiro ni Somaru Saka Lagrange: The Flower of Rin-ne Luminous Arc 2 Godannar Hiiro no Kakera Dungeon Fighter Online (DFO) Date A Live 11eyes: Tsumi to Batsu to Aganai no Shōjo Spice and Wolf Final Fantasy Type-0 Atelier Meruru: The Apprentice of Arland Angel Beats! Galaxy Angel II Disgaea 4: A Promise Unforgotten Hitman: Absolution Hyperdimension Neptunia Victory Super Robot Wars UX Mugen Souls Tanken Driland Claymore Hitman: Blood Money StarCraft Hitman: Contracts Rune Factory 3: A Fantasy Harvest Moon Tantei Opera Milky Holmes Fate/Extra
97
action count
action approx
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Monster Hunter Diary: Poka Poka Airu Village
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?u ) WHERE { ?p property:voice_actor ?i . ?p rdf:type ontology:application . ?i rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?u = ?c ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { resource:Monster_Hunter_Diary:_Poka_Poka_Airu_Village property:voice_actor ?t . ?t rdf:type ontology:application } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q5319170
P725
Q502895 Q166142
USER
And what about Dynasty Warriors 8?
(c(Q166142),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q5319170
relation P725
type Q166142
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?h ) WHERE { ?x property:P725 ?i . ?x rdf:type ontology:Q166142 . ?i rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j rdf:type ontology:Q166142 . resource:Q5319170 property:P725 ?j } } . FILTER ( ?h = ?b ) }
Dynasty Warriors 8
action count
action approx
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Dynasty Warriors 8
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?h ) WHERE { ?x property:voice_actor ?i . ?x rdf:type ontology:application . ?i rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j rdf:type ontology:application . resource:Dynasty_Warriors_8 property:voice_actor ?j } } . FILTER ( ?h = ?b ) }
[]
common name application
SYSTEM
97
Q16031150 Q5319170 Q602979 Q1371495 Q53362 Q1065670 Q8059682 Q7379808 Q3546883 Q2578717 Q7379806 Q6902732 Q15588417 Q3274352 Q1191681 Q2709892 Q3291127 Q2987460 Q1986800 Q14831173 Q166060 Q1302197 Q1141572 Q1035512 Q27863 Q2887359 Q840449 Q338486 Q538150 Q483103 Q239288 Q756856 Q14785138 Q216995 Q3823700 Q2819427 Q2525598 Q3992270 Q838707 Q1068256 Q207981 Q1154327 Q1037042 Q1207525 Q2005910 Q1801455 Q699815 Q6133492 Q847471 Q1868703 Q483120 Q2627892 Q537389 Q706638 Q482472 Q482500 Q17911588 Q1153316 Q6143593 Q170489 Q839091 Q5944170 Q484072 Q277021 Q857823 Q887421 Q3178243 Q515254 Q16547653 Q914286 Q2760871 Q1205695 Q1105802 Q3267335 Q2471350 Q746438 Q484233 Q182548 Q1347470 Q385228 Q1774415 Q1113356 Q531552 Q2457536 Q2403902 Q129277 Q4121008 Q891706 Q3866908 Q3715363 Q476230 Q239889 Q165929 Q600707 Q5968518 Q2473832 Q1075410
(c(Q166142),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q5319170
relation P725
type Q166142
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?h ) WHERE { ?x property:P725 ?i . ?x rdf:type ontology:Q166142 . ?i rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j rdf:type ontology:Q166142 . resource:Q5319170 property:P725 ?j } } . FILTER ( ?h = ?b ) }
Hyperdimension Neptunia PP Dynasty Warriors 8 Tokyo Majin System Shock 2 Bakemonogatari Shuffle! Ys Seven Rune Factory 4 Hourglass of Summer Star Fox Adventures Rune Factory: Tides of Destiny Monster Hunter Diary: Poka Poka Airu Village Project 575 Poyopoyo Kansatsu Nikki Battle Vixens Phantasy Star Online 2 Arc Rise Fantasia Tsuyokiss Megazone 23 Space Dandy Umineko: When They Cry Princess Lover! Miracle Girls Danganronpa: Trigger Happy Havoc Sword Art Online God Eater 2 Kenran Butohsai Street Fighter X Tekken To Love-Ru Nogizaka Haruka no Himitsu StarCraft II: Wings of Liberty Hitman: Codename 47 Kantai Collection Super Mario 64 Princess Minerva ASH: Archaic Sealed Heat Zegapain Tokimeki Memorial Online Mario Kart Wii Gakuen Utopia Manabi Straight! Code Geass XIII Hitman 2: Silent Assassin Hyperdimension Neptunia Metroid: Other M Saints Row: The Third Galaxy Angel Shippū! Iron Leaguer Full Throttle Lollipop Chainsaw Nichijou Tales of Innocence Soul Eater Future GPX Cyber Formula School Rumble Bludgeoning Angel Dokuro-Chan Saints Row: Gat out of Hell Dragon Nest Zettai Bōei Leviathan Super Mario Galaxy Lucky Star Nora to Toki no Kōbō: Kiri no Mori no Majo Granado Espada A Certain Magical Index Fate/stay night Queen's Blade Luminous Arc Record of Agarest War Zero Under Night In-Birth Street Fighter IV Sengoku Collection Akaneiro ni Somaru Saka Lagrange: The Flower of Rin-ne Luminous Arc 2 Godannar Hiiro no Kakera Dungeon Fighter Online (DFO) Date A Live 11eyes: Tsumi to Batsu to Aganai no Shōjo Spice and Wolf Final Fantasy Type-0 Atelier Meruru: The Apprentice of Arland Angel Beats! Galaxy Angel II Disgaea 4: A Promise Unforgotten Hitman: Absolution Hyperdimension Neptunia Victory Super Robot Wars UX Mugen Souls Tanken Driland Claymore Hitman: Blood Money StarCraft Hitman: Contracts Rune Factory 3: A Fantasy Harvest Moon Tantei Opera Milky Holmes Fate/Extra
97
action count
action approx
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Dynasty Warriors 8
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?h ) WHERE { ?x property:voice_actor ?i . ?x rdf:type ontology:application . ?i rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j rdf:type ontology:application . resource:Dynasty_Warriors_8 property:voice_actor ?j } } . FILTER ( ?h = ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P38
Q8142
USER
What is the currency of United States of America ?
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?d WHERE { resource:Q30 property:P38 ?d . ?d rdf:type ontology:Q8142 }
United States of America
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?d WHERE { resource:United_States_of_America property:currency ?d . ?d rdf:type ontology:currency }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
The currency of United States of America is the [ANSWER]
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?d WHERE { resource:Q30 property:P38 ?d . ?d rdf:type ontology:Q8142 }
United States dollar
The currency of United States of America is the United States dollar
United States dollar
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?d WHERE { resource:United_States_of_America property:currency ?d . ?d rdf:type ontology:currency }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by min number of people ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?n ) { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?e ) WHERE { ?r property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?o } } . { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?s = ?n ) }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?n ) { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?e ) WHERE { ?r property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?o } } . { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?s = ?n ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWERS] are played by min number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?n ) { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?e ) WHERE { ?r property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?o } } . { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?s = ?n ) }
spoon cajón wind instrument
Spoon, cajón and wind instrument are played by min number of people
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?n ) { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?e ) WHERE { ?r property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?o } } . { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?s = ?n ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P180
Q34379 Q3305213 Q340169
USER
How many musical instruments are expressed in around the same number of paintings and medias as that musical instrument ?
(c(Q3305213)|c(Q340169),P180,c(Q34379))
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?i property:P180 ?y . VALUES ( ?i ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q340169 }
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?i property:depicts ?y . VALUES ( ?i ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:painting . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:media }
[]
musical instrument painting media
Comparative|Count over More/Less|Mult. entity type|Clarification
Q173453
SYSTEM
Did you mean wind instrument ?
(c(Q3305213)|c(Q340169),P180,c(Q34379))
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?i property:P180 ?y . VALUES ( ?i ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q340169 }
Did you mean wind instrument ?
wind instrument
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?i property:depicts ?y . VALUES ( ?i ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:painting . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:media }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q3305213)|c(Q340169),P180,c(Q34379))
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q34379'}]
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'musical instrument'}]
[]
SYSTEM
15
Q8371 Q3382191 Q5994 Q7933058 Q81982 Q190172 Q218547 Q8338 Q1444 Q173453 Q1141589 Q426948 Q871633 Q3500690 Q1798603
(c(Q3305213)|c(Q340169),P180,c(Q34379))
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P180 ?y } UNION { ?x property:P180 ?y } } . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q340169 }
cello upright piano piano Viola caipira harpsichord cymbal Sigismund Bell trumpet organ wind instrument Crotales sistrum Handbell Church bell string instrument
15
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:depicts ?y } UNION { ?x property:depicts ?y } } . ?z rdf:type ontology:painting . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:media }
[]