Simple Question (Direct)
Simple Question
Q23003881
P19
Q1076486
USER
Where was Alfrēds Ruks born ?
(Q23003881,P19,c(Q1076486))
action filter_type
action find
entity Q23003881
relation P19
type Q1076486
['Q23003881', 'P19', {'concept': 'Q1076486'}]
SELECT DISTINCT ?s WHERE { resource:Q23003881 property:P19 ?s . ?s rdf:type ontology:Q1076486 }
Alfrēds Ruks
action filter_type
action find
entity Alfrēds Ruks
relation place of birth
type sports venue
['Alfrēds Ruks', 'place of birth', {'concept': 'sports venue'}]
SELECT DISTINCT ?s WHERE { resource:Alfrēds_Ruks property:place_of_birth ?s . ?s rdf:type ontology:sports_venue }
[]
sports venue
Q465698
SYSTEM
Sigulda
Q465698
(Q23003881,P19,c(Q1076486))
action filter_type
action find
entity Q23003881
relation P19
type Q1076486
Alfrēds Ruks was born in [ANSWER]
['Q23003881', 'P19', {'concept': 'Q1076486'}]
SELECT DISTINCT ?s WHERE { resource:Q23003881 property:P19 ?s . ?s rdf:type ontology:Q1076486 }
Sigulda
Alfrēds Ruks was born in Sigulda
Sigulda
action filter_type
action find
entity Alfrēds Ruks
relation place of birth
type sports venue
['Alfrēds Ruks', 'place of birth', {'concept': 'sports venue'}]
SELECT DISTINCT ?s WHERE { resource:Alfrēds_Ruks property:place_of_birth ?s . ?s rdf:type ontology:sports_venue }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23003881
P27
Q3024240
USER
Which former country is Alfrēds Ruks an inhabitant of ?
(Q23003881,P27,c(Q3024240))
action filter_type
action find
entity Q23003881
relation P27
type Q3024240
['Q23003881', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?f WHERE { resource:Q23003881 property:P27 ?f . ?f rdf:type ontology:Q3024240 }
Alfrēds Ruks
action filter_type
action find
entity Alfrēds Ruks
relation country of citizenship
type former country
['Alfrēds Ruks', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?f WHERE { resource:Alfrēds_Ruks property:country_of_citizenship ?f . ?f rdf:type ontology:former_country }
[]
former country
Q34266
SYSTEM
Russian Empire
Q34266
(Q23003881,P27,c(Q3024240))
action filter_type
action find
entity Q23003881
relation P27
type Q3024240
The [ANSWER] is Alfrēds Ruks an inhabitant of
['Q23003881', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?f WHERE { resource:Q23003881 property:P27 ?f . ?f rdf:type ontology:Q3024240 }
Russian Empire
The Russian Empire is Alfrēds Ruks an inhabitant of
Russian Empire
action filter_type
action find
entity Alfrēds Ruks
relation country of citizenship
type former country
['Alfrēds Ruks', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?f WHERE { resource:Alfrēds_Ruks property:country_of_citizenship ?f . ?f rdf:type ontology:former_country }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23003881
P106
Q151885
USER
Which concept has Alfrēds Ruks as his/her 's career ?
(Q23003881,P106,c(Q151885))
action filter_type
action find
entity Q23003881
relation P106
type Q151885
['Q23003881', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { resource:Q23003881 property:P106 ?c . ?c rdf:type ontology:Q151885 }
Alfrēds Ruks
action filter_type
action find
entity Alfrēds Ruks
relation occupation
type concept
['Alfrēds Ruks', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { resource:Alfrēds_Ruks property:occupation ?c . ?c rdf:type ontology:concept }
[]
concept
Q11513337
SYSTEM
athletics competitor
Q11513337
(Q23003881,P106,c(Q151885))
action filter_type
action find
entity Q23003881
relation P106
type Q151885
The [ANSWER] has Alfrēds Ruks as his/her 's career
['Q23003881', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { resource:Q23003881 property:P106 ?c . ?c rdf:type ontology:Q151885 }
athletics competitor
The athletics competitor has Alfrēds Ruks as his/her 's career
athletics competitor
action filter_type
action find
entity Alfrēds Ruks
relation occupation
type concept
['Alfrēds Ruks', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { resource:Alfrēds_Ruks property:occupation ?c . ?c rdf:type ontology:concept }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P425
Q1190554 Q1792379 Q151885
USER
How many concepts do more number of events and art genres belong to than that concept ?
(c(Q151885),P425,c(Q1190554)|c(Q1792379))
action count
action greater
action union
action find_tuple_counts
relation P425
type Q151885
type Q1190554
action find_tuple_counts
relation P425
type Q151885
type Q1792379
action count
action filter_multi_types
action find
entity Q11513337
relation P425
type Q1190554
type Q1792379
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q1190554'}, {'concept': 'Q1792379'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { resource:Q11513337 property:P425 ?h . { ?h rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1792379 ) ( ontology:Q1190554 ) } } } } . FILTER ( ?e > ?j ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?e ) WHERE { { ?y property:P425 ?m . ?y rdf:type ontology:Q151885 . ?m rdf:type ontology:Q1190554 } UNION { ?y property:P425 ?m . ?m rdf:type ontology:Q1792379 . ?y rdf:type ontology:Q151885 } } GROUP BY ?y } }
action count
action greater
action union
action find_tuple_counts
relation field of this occupation
type concept
type event
action find_tuple_counts
relation field of this occupation
type concept
type art genre
action count
action filter_multi_types
action find
entity athletics competitor
relation field of this occupation
type event
type art genre
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'event'}, {'concept': 'art genre'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { resource:athletics_competitor property:field_of_this_occupation ?h . { ?h rdf:type ?o . VALUES ( ?o ) { ( ontology:art_genre ) ( ontology:event ) } } } } . FILTER ( ?e > ?j ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?e ) WHERE { { ?y property:field_of_this_occupation ?m . ?y rdf:type ontology:concept . ?m rdf:type ontology:event } UNION { ?y property:field_of_this_occupation ?m . ?m rdf:type ontology:art_genre . ?y rdf:type ontology:concept } } GROUP BY ?y } }
[]
event art genre concept
SYSTEM
5
Q21694268 Q1125062 Q27431227 Q1414937 Q15095148
(c(Q151885),P425,c(Q1190554)|c(Q1792379))
action count
action greater
action union
action find_tuple_counts
relation P425
type Q151885
type Q1190554
action find_tuple_counts
relation P425
type Q151885
type Q1792379
action count
action filter_multi_types
action find
entity Q11513337
relation P425
type Q1190554
type Q1792379
[ANSWER]
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q1190554'}, {'concept': 'Q1792379'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { resource:Q11513337 property:P425 ?h . { ?h rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1792379 ) ( ontology:Q1190554 ) } } } } . FILTER ( ?e > ?j ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?e ) WHERE { { ?y property:P425 ?m . ?y rdf:type ontology:Q151885 . ?m rdf:type ontology:Q1190554 } UNION { ?y property:P425 ?m . ?m rdf:type ontology:Q1792379 . ?y rdf:type ontology:Q151885 } } GROUP BY ?y } }
amateur photographer rebel figure of scandal combatant graffiti artist
5
action count
action greater
action union
action find_tuple_counts
relation field of this occupation
type concept
type event
action find_tuple_counts
relation field of this occupation
type concept
type art genre
action count
action filter_multi_types
action find
entity athletics competitor
relation field of this occupation
type event
type art genre
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'event'}, {'concept': 'art genre'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { resource:athletics_competitor property:field_of_this_occupation ?h . { ?h rdf:type ?o . VALUES ( ?o ) { ( ontology:art_genre ) ( ontology:event ) } } } } . FILTER ( ?e > ?j ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?e ) WHERE { { ?y property:field_of_this_occupation ?m . ?y rdf:type ontology:concept . ?m rdf:type ontology:event } UNION { ?y property:field_of_this_occupation ?m . ?m rdf:type ontology:art_genre . ?y rdf:type ontology:concept } } GROUP BY ?y } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1489 Q465698
P190
Q515
USER
Which cities are twin town of Sigulda or Mexico City ?
OR((c(Q515),P190,Q465698), (c(Q515),P190,Q1489))
action filter_type
action union
action find_reverse
entity Q465698
relation P190
action find_reverse
entity Q1489
relation P190
type Q515
{'OR': [[{'concept': 'Q515'}, 'P190', 'Q465698'], [{'concept': 'Q515'}, 'P190', 'Q1489']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q515 . { { ?v property:P190 resource:Q465698 } UNION { ?v property:P190 resource:Q1489 } } }
Mexico City Sigulda
action filter_type
action union
action find_reverse
entity Sigulda
relation sister city
action find_reverse
entity Mexico City
relation sister city
type city
{'OR': [[{'concept': 'city'}, 'sister city', 'Sigulda'], [{'concept': 'city'}, 'sister city', 'Mexico City']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:city . { { ?v property:sister_city resource:Sigulda } UNION { ?v property:sister_city resource:Mexico_City } } }
[]
city
Q1000056 Q1533 Q1461 Q1486 Q1899 Q3861 Q1863 Q174461 Q8684 Q613813
SYSTEM
Some of them are Sušice, Caracas, Manila, Buenos Aires, Kyiv, Doha, Andorra la Vella, Ranchi, Seoul, Kőszeg
Q587746 Q8684 Q1000056 Q1533 Q2887 Q3861 Q1863 Q1461 Q1899 Q174461 Q1486 Q613813
OR((c(Q515),P190,Q465698), (c(Q515),P190,Q1489))
action filter_type
action union
action find_reverse
entity Q465698
relation P190
action find_reverse
entity Q1489
relation P190
type Q515
[ANSWERS] are twin town of Sigulda or Mexico City
{'OR': [[{'concept': 'Q515'}, 'P190', 'Q465698'], [{'concept': 'Q515'}, 'P190', 'Q1489']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q515 . { { ?v property:P190 resource:Q465698 } UNION { ?v property:P190 resource:Q1489 } } }
Siret Seoul Sušice Caracas Santiago Doha Andorra la Vella Manila Kyiv Ranchi Buenos Aires Kőszeg
Sušice, Caracas, Manila, Buenos Aires, Kyiv, Doha, Andorra la Vella, Ranchi, Seoul and Kőszeg are twin town of Sigulda or Mexico City
Sušice Caracas Manila Buenos Aires Kyiv Doha Andorra la Vella Ranchi Seoul Kőszeg
action filter_type
action union
action find_reverse
entity Sigulda
relation sister city
action find_reverse
entity Mexico City
relation sister city
type city
{'OR': [[{'concept': 'city'}, 'sister city', 'Sigulda'], [{'concept': 'city'}, 'sister city', 'Mexico City']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:city . { { ?v property:sister_city resource:Sigulda } UNION { ?v property:sister_city resource:Mexico_City } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1899
P36
Q1267632
USER
Which raion of Ukraine consists of Kyiv as its capital ?
(c(Q1267632),P36,Q1899)
action filter_type
action find_reverse
entity Q1899
relation P36
type Q1267632
[{'concept': 'Q1267632'}, 'P36', 'Q1899']
SELECT DISTINCT ?t WHERE { ?t property:P36 resource:Q1899 . ?t rdf:type ontology:Q1267632 }
Kyiv
action filter_type
action find_reverse
entity Kyiv
relation capital
type raion of Ukraine
[{'concept': 'raion of Ukraine'}, 'capital', 'Kyiv']
SELECT DISTINCT ?t WHERE { ?t property:capital resource:Kyiv . ?t rdf:type ontology:raion_of_Ukraine }
[]
raion of Ukraine
Q2996231
SYSTEM
Kiev-Sviatoshyn Raion
Q2996231
(c(Q1267632),P36,Q1899)
action filter_type
action find_reverse
entity Q1899
relation P36
type Q1267632
[ANSWER] consists of Kyiv as its capital
[{'concept': 'Q1267632'}, 'P36', 'Q1899']
SELECT DISTINCT ?t WHERE { ?t property:P36 resource:Q1899 . ?t rdf:type ontology:Q1267632 }
Kiev-Sviatoshyn Raion
Kiev-Sviatoshyn Raion consists of Kyiv as its capital
Kiev-Sviatoshyn Raion
action filter_type
action find_reverse
entity Kyiv
relation capital
type raion of Ukraine
[{'concept': 'raion of Ukraine'}, 'capital', 'Kyiv']
SELECT DISTINCT ?t WHERE { ?t property:capital resource:Kyiv . ?t rdf:type ontology:raion_of_Ukraine }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1486
P127
Q811430
USER
Which construction belongs to Buenos Aires ?
(c(Q811430),P127,Q1486)
action filter_type
action find_reverse
entity Q1486
relation P127
type Q811430
[{'concept': 'Q811430'}, 'P127', 'Q1486']
SELECT DISTINCT ?m WHERE { ?m property:P127 resource:Q1486 . ?m rdf:type ontology:Q811430 }
Buenos Aires
action filter_type
action find_reverse
entity Buenos Aires
relation owned by
type construction
[{'concept': 'construction'}, 'owned by', 'Buenos Aires']
SELECT DISTINCT ?m WHERE { ?m property:owned_by resource:Buenos_Aires . ?m rdf:type ontology:construction }
[]
construction
Q7691915
SYSTEM
Teatro General San Martín
Q7691915
(c(Q811430),P127,Q1486)
action filter_type
action find_reverse
entity Q1486
relation P127
type Q811430
[ANSWER] belongs to Buenos Aires
[{'concept': 'Q811430'}, 'P127', 'Q1486']
SELECT DISTINCT ?m WHERE { ?m property:P127 resource:Q1486 . ?m rdf:type ontology:Q811430 }
Teatro General San Martín
Teatro General San Martín belongs to Buenos Aires
Teatro General San Martín
action filter_type
action find_reverse
entity Buenos Aires
relation owned by
type construction
[{'concept': 'construction'}, 'owned by', 'Buenos Aires']
SELECT DISTINCT ?m WHERE { ?m property:owned_by resource:Buenos_Aires . ?m rdf:type ontology:construction }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1899
P559
Q3565868
USER
Which rail transport has Kyiv as the terminus ?
(c(Q3565868),P559,Q1899)
action filter_type
action find_reverse
entity Q1899
relation P559
type Q3565868
[{'concept': 'Q3565868'}, 'P559', 'Q1899']
SELECT DISTINCT ?p WHERE { ?p property:P559 resource:Q1899 . ?p rdf:type ontology:Q3565868 }
Kyiv
action filter_type
action find_reverse
entity Kyiv
relation terminus
type rail transport
[{'concept': 'rail transport'}, 'terminus', 'Kyiv']
SELECT DISTINCT ?p WHERE { ?p property:terminus resource:Kyiv . ?p rdf:type ontology:rail_transport }
[]
rail transport
Q16653259
SYSTEM
Zaporizhzhya
Q16653259
(c(Q3565868),P559,Q1899)
action filter_type
action find_reverse
entity Q1899
relation P559
type Q3565868
[ANSWER] has Kyiv as the terminus
[{'concept': 'Q3565868'}, 'P559', 'Q1899']
SELECT DISTINCT ?p WHERE { ?p property:P559 resource:Q1899 . ?p rdf:type ontology:Q3565868 }
Zaporizhzhya
Zaporizhzhya has Kyiv as the terminus
Zaporizhzhya
action filter_type
action find_reverse
entity Kyiv
relation terminus
type rail transport
[{'concept': 'rail transport'}, 'terminus', 'Kyiv']
SELECT DISTINCT ?p WHERE { ?p property:terminus resource:Kyiv . ?p rdf:type ontology:rail_transport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16653259
P137
Q740752
USER
Which transport company operates that rail transport ?
(Q16653259,P137,c(Q740752))
action filter_type
action find
entity Q16653259
relation P137
type Q740752
['Q16653259', 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ?s WHERE { resource:Q16653259 property:P137 ?s . ?s rdf:type ontology:Q740752 }
Zaporizhzhya
action filter_type
action find
entity Zaporizhzhya
relation operator
type transport company
['Zaporizhzhya', 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ?s WHERE { resource:Zaporizhzhya property:operator ?s . ?s rdf:type ontology:transport_company }
[]
transport company
Q923337
SYSTEM
Ukrainian Railways
Q923337
(Q16653259,P137,c(Q740752))
action filter_type
action find
entity Q16653259
relation P137
type Q740752
[ANSWER] operates that rail transport
['Q16653259', 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ?s WHERE { resource:Q16653259 property:P137 ?s . ?s rdf:type ontology:Q740752 }
Ukrainian Railways
Ukrainian Railways operates that rail transport
Ukrainian Railways
action filter_type
action find
entity Zaporizhzhya
relation operator
type transport company
['Zaporizhzhya', 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ?s WHERE { resource:Zaporizhzhya property:operator ?s . ?s rdf:type ontology:transport_company }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q4830453 Q740752
USER
How many business enterprises are subsidiaries of atmost 1 transport company ?
(c(Q740752),P355,c(Q4830453))
action count
action atmost
action find_reverse_tuple_counts
relation P355
type Q4830453
type Q740752
value 1
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P355 ?l . ?l rdf:type ontology:Q4830453 . ?v rdf:type ontology:Q740752 } GROUP BY ?l } . FILTER ( ?g <= 1 ) }
action count
action atmost
action find_reverse_tuple_counts
relation subsidiary
type business enterprise
type transport company
value 1
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:subsidiary ?l . ?l rdf:type ontology:business_enterprise . ?v rdf:type ontology:transport_company } GROUP BY ?l } . FILTER ( ?g <= 1 ) }
[]
business enterprise transport company
SYSTEM
188
Q6840080 Q16987731 Q4721851 Q2843047 Q1143709 Q19977498 Q94912 Q1085106 Q864910 Q18162669 Q10366076 Q1134268 Q386598 Q3547645 Q1532217 Q191615 Q21501946 Q169889 Q181114 Q1714952 Q928831 Q11228051 Q382465 Q1737487 Q908916 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 Q1922100 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 Q567000 Q12300146 Q26702890 Q23048814 Q21857804 Q249892 Q1918981 Q5447158 Q59187 Q1542175 Q788231 Q16834431 Q836947 Q155573 Q600457 Q2027177 Q374451 Q4073726 Q1754870 Q20746310 Q40966 Q1420724 Q1122564 Q843448 Q151378 Q6824151 Q318672 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 Q12374454 Q11835724 Q1190247 Q7380124 Q188508 Q19904 Q1672772 Q4231991 Q1152109 Q11463109 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 count
action atmost
action find_reverse_tuple_counts
relation P355
type Q4830453
type Q740752
value 1
[ANSWER]
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P355 ?l . ?l rdf:type ontology:Q4830453 . ?v rdf:type ontology:Q740752 } GROUP BY ?l } . FILTER ( ?g <= 1 ) }
Microsoft Algeria ITV Digital Channels Ltd Alfabet AT&T Corporation BS-TBS Scania-Hytter Rockstar Games Centostazioni 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 Grandi Stazioni 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 Merseyrail 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 Chiltern Railways 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 BVR Busverkehr Rheinland Metismo Abellio 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 S-Bahn Berlin GmbH Scania Production Słupsk Mitsubishi Fuso Truck and Bus Corporation Runtastic Mikoyan France Info TransnetBW Qoros DB Cargo Deutschland Odakyu Hakone Holdings 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
188
action count
action atmost
action find_reverse_tuple_counts
relation subsidiary
type business enterprise
type transport company
value 1
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:subsidiary ?l . ?l rdf:type ontology:business_enterprise . ?v rdf:type ontology:transport_company } GROUP BY ?l } . FILTER ( ?g <= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P355
Q740752 Q740752
USER
Which transport companies are subsidiaries of max number of transport companies ?
(c(Q740752),P355,Q812482)
action argmax
action find_reverse_tuple_counts
relation P355
type Q740752
type Q740752
[{'concept': 'Q740752'}, 'P355', 'Q812482']
SELECT DISTINCT ?k WHERE { FILTER ( ?b = ?c ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:P355 ?k . ?k rdf:type ontology:Q740752 . ?s rdf:type ontology:Q740752 } GROUP BY ?k } . { SELECT DISTINCT ( MAX ( ?u ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P355 ?z . ?d rdf:type ontology:Q740752 . ?z rdf:type ontology:Q740752 } GROUP BY ?z } } }
action argmax
action find_reverse_tuple_counts
relation subsidiary
type transport company
type transport company
[{'concept': 'transport company'}, 'subsidiary', 'Bayern Express & P. Kühn Berlin']
SELECT DISTINCT ?k WHERE { FILTER ( ?b = ?c ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:subsidiary ?k . ?k rdf:type ontology:transport_company . ?s rdf:type ontology:transport_company } GROUP BY ?k } . { SELECT DISTINCT ( MAX ( ?u ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:subsidiary ?z . ?d rdf:type ontology:transport_company . ?z rdf:type ontology:transport_company } GROUP BY ?z } } }
[]
transport company transport company
Q18853 Q1144530 Q786975
SYSTEM
DB Regio, Southwestern Railways, Autokraft
Q2350232 Q18641001 Q31341 Q7105599 Q2192478 Q1144530 Q18640999 Q20986912 Q452140 Q20855955 Q3240991 Q250760 Q18853 Q786975 Q812482
(c(Q740752),P355,Q812482)
action argmax
action find_reverse_tuple_counts
relation P355
type Q740752
type Q740752
[ANSWERS] are subsidiaries of max number of transport companies
[{'concept': 'Q740752'}, 'P355', 'Q812482']
SELECT DISTINCT ?k WHERE { FILTER ( ?b = ?c ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:P355 ?k . ?k rdf:type ontology:Q740752 . ?s rdf:type ontology:Q740752 } GROUP BY ?k } . { SELECT DISTINCT ( MAX ( ?u ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P355 ?z . ?d rdf:type ontology:Q740752 . ?z rdf:type ontology:Q740752 } GROUP BY ?z } } }
Stinnes AG Jyväskylän Liikenne DB Schenker Logistics Semboku Rapid Railway Crossrail Benelux Southwestern Railways Koskilinjat DB Busverkehr Hessen DB Fernverkehr CrossRail Italia Lima Airport Partners Enoshima Electric Railway DB Regio Autokraft Bayern Express & P. Kühn Berlin
DB Regio, Southwestern Railways and Autokraft are subsidiaries of max number of transport companies
DB Regio Southwestern Railways Autokraft
action argmax
action find_reverse_tuple_counts
relation subsidiary
type transport company
type transport company
[{'concept': 'transport company'}, 'subsidiary', 'Bayern Express & P. Kühn Berlin']
SELECT DISTINCT ?k WHERE { FILTER ( ?b = ?c ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:subsidiary ?k . ?k rdf:type ontology:transport_company . ?s rdf:type ontology:transport_company } GROUP BY ?k } . { SELECT DISTINCT ( MAX ( ?u ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:subsidiary ?z . ?d rdf:type ontology:transport_company . ?z rdf:type ontology:transport_company } GROUP BY ?z } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q1048835 Q515 Q515
USER
How many cities are the capital of atmost 1 political territories or cities ?
(c(Q515),P1376,c(Q1048835)|c(Q515))
action count
action atmost
action union
action find_tuple_counts
relation P1376
type Q515
type Q1048835
action find_tuple_counts
relation P1376
type Q515
type Q515
value 1
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q1048835'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) ?u WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:Q515 ) ( ontology:Q1048835 ) } } GROUP BY ?u } . FILTER ( ?i <= 1 ) }
action count
action atmost
action union
action find_tuple_counts
relation capital of
type city
type political territorial entity
action find_tuple_counts
relation capital of
type city
type city
value 1
[{'concept': 'city'}, 'capital of', [{'concept': 'political territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) ?u WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:city ) ( ontology:political_territorial_entity ) } } GROUP BY ?u } . FILTER ( ?i <= 1 ) }
[]
political territorial entity city city
SYSTEM
521
Q15826 Q373542 Q780731 Q39738 Q3572 Q10126 Q843001 Q1710 Q843006 Q843009 Q14525 Q3042 Q3974 Q861296 Q637647 Q240026 Q19689 Q873377 Q853746 Q8131 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q4024 Q379030 Q1711 Q496667 Q27860 Q240504 Q3806 Q281371 Q258884 Q3624 Q592338 Q52607 Q766168 Q933645 Q58650 Q214938 Q830394 Q205607 Q193050 Q71305 Q841296 Q911600 Q789256 Q7473516 Q903177 Q3870 Q243293 Q5779 Q932806 Q377834 Q295367 Q653389 Q851097 Q1696 Q861292 Q41474 Q57953 Q917888 Q1070920 Q174096 Q174091 Q740800 Q855082 Q633945 Q843031 Q593314 Q783255 Q197687 Q111739 Q842967 Q329768 Q843035 Q246723 Q696388 Q185719 Q18970 Q80989 Q14424 Q304803 Q432169 Q147738 Q853744 Q2135 Q43196 Q855032 Q404529 Q5954 Q3926 Q11462 Q834567 Q851675 Q3214 Q842908 Q23482 Q505208 Q1000336 Q911530 Q5838 Q181276 Q583137 Q3692 Q847546 Q330409 Q1019949 Q847543 Q854956 Q235004 Q379160 Q132997 Q478038 Q725168 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q1899 Q494777 Q221283 Q2419449 Q1410 Q854969 Q842934 Q1794 Q793405 Q665 Q375097 Q911558 Q59144 Q12062 Q629471 Q209766 Q178878 Q5316658 Q203027 Q1486 Q2966 Q220445 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q1467 Q1461 Q843018 Q14499 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q12245 Q117676 Q16959 Q1844 Q10389 Q650015 Q30340 Q23430 Q225257 Q35925 Q44215 Q629849 Q680656 Q854996 Q207408 Q214956 Q1362 Q15379 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q1723 Q288413 Q1519 Q8684 Q270704 Q3838 Q167109 Q3104 Q734378 Q459787 Q585630 Q855529 Q7248 Q4346 Q1107569 Q1025387 Q6602 Q602042 Q237699 Q207406 Q517407 Q191651 Q7856199 Q3904 Q325164 Q305640 Q14819 Q5285 Q14182 Q740810 Q1069007 Q861221 Q911667 Q6807568 Q7568 Q842971 Q842976 Q3866 Q181007 Q385864 Q755686 Q3599 Q1731 Q3861 Q43433 Q1636 Q3852 Q846652 Q7786 Q10104 Q3859 Q155975 Q19660 Q1020939 Q674311 Q3915 Q155674 Q863747 Q841125 Q314686 Q487439 Q385591 Q1953 Q124375 Q933641 Q854940 Q2180 Q714628 Q335427 Q177149 Q9005 Q2337 Q633789 Q1330294 Q14960 Q8158 Q385070 Q116417 Q830404 Q861262 Q781435 Q26600 Q2025433 Q740853 Q749320 Q874270 Q911628 Q632146 Q52564 Q4905 Q207876 Q2978 Q34261 Q137271 Q855060 Q843028 Q842996 Q1773 Q679249 Q843021 Q14821 Q680743 Q564234 Q488990 Q3955 Q668318 Q2079 Q2773 Q6829 Q260522 Q8156 Q752838 Q993064 Q276534 Q41773 Q42007 Q1858 Q2096 Q329775 Q1854 Q1856 Q855016 Q3787 Q855011 Q308657 Q4007 Q480421 Q14168 Q823907 Q7070 Q3826 Q642031 Q55598 Q498011 Q214948 Q271000 Q214945 Q182852 Q755681 Q214942 Q68481 Q549427 Q335506 Q320798 Q386655 Q245126 Q1826 Q1533 Q200077 Q47916 Q80484 Q3183016 Q328601 Q542154 Q2526233 Q946769 Q846351 Q739304 Q789233 Q7253 Q2936 Q530634 Q4827 Q877227 Q5753 Q429409 Q2749 Q193719 Q170454 Q211243 Q841603 Q7929221 Q911576 Q42751 Q42750 Q185684 Q187861 Q207311 Q11194 Q386682 Q63145 Q2119 Q390796 Q271917 Q5972 Q1720 Q1721 Q83247 Q1645 Q7578 Q390798 Q11443 Q7033 Q14126 Q57906 Q44244 Q855052 Q11449 Q547479 Q404817 Q183584 Q2907 Q15847 Q843014 Q2844 Q11725 Q604516 Q73156 Q3768 Q732300 Q789510 Q20073 Q1863 Q1865 Q2209 Q2200 Q18342086 Q16506 Q14155 Q430207 Q756273 Q14409 Q188247 Q206872 Q72778 Q1355 Q146363 Q208818 Q187136 Q5869 Q46845 Q57951 Q830411 Q171943 Q728438 Q427769 Q189823 Q40626 Q55740 Q250733 Q146317 Q693264 Q6582 Q187821 Q502205 Q203344 Q107401 Q71159 Q3355306 Q57944 Q189761 Q189769 Q1761 Q57948 Q2795 Q378225 Q954569 Q2887 Q738275 Q69060 Q8179 Q727383 Q2061 Q2069869 Q184998 Q5217 Q854965 Q1020709 Q489147 Q456 Q755701 Q267894 Q679224 Q168648 Q2152435 Q843043 Q850676 Q36063 Q3935 Q7003 Q3931 Q726993 Q3919 Q3751 Q3750 Q3616 Q42666 Q738013 Q894059 Q933638 Q183111 Q40584 Q1067897 Q25475 Q11506 Q613813 Q375862 Q107624 Q1530 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q209983 Q877190 Q2900 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q8042 Q911642 Q187284 Q158245 Q50179 Q284480 Q632080 Q207309 Q187812 Q104125 Q2999 Q16666
(c(Q515),P1376,c(Q1048835)|c(Q515))
action count
action atmost
action union
action find_tuple_counts
relation P1376
type Q515
type Q1048835
action find_tuple_counts
relation P1376
type Q515
type Q515
value 1
[ANSWER]
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q1048835'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) ?u WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:Q515 ) ( ontology:Q1048835 ) } } GROUP BY ?u } . FILTER ( ?i <= 1 ) }
Palu Szigetvár Szeghalom Laoag Tunis Serang Csorna Isabela City Nagykálló Marcali Gorontalo Offenbach am Main Landshut Nōgata Pásztó Jászapáti Tirana Dumaguete Bátonyterenye Palembang Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Frankfurt (Oder) Zalaszentgrót Potsdam Muroran Jayapura Makó Tübingen Jászberény Bélapátfalva Addis Ababa Marawi Mar del Plata Nagykáta Kunhegyes Zhangjiakou Gyula Nagykőrös Zirc Érd Ezhou Příbram Vásárosnamény Balatonalmádi Tokyo Tiszafüred Nairobi Sekondi-Takoradi Banda Aceh Polgárdi Szentes Nagyatád Nobeoka Iiyama Legazpi Hitoyoshi Kingstown Schwarzenberg Vinaròs Mamuju Sorsogon City Changsha Paks Csenger Saijō Vasvár Sárbogárd Kapuvár Miercurea Sibiului Puerto Princesa Gönc Tata Celldömölk Záhony Toyooka Pétervására Ambon Bhopal Nagykanizsa Mezőcsát Dipolog Saint Helier Devecser Winnipeg Cincinnati Mezőkovácsháza Xuchang Binjai Pretoria Surabaya Bonyhád Takahashi Cottbus Gyál Marseille Ouarzazate Tandil Hajdúhadház Kabul Szolnok Kidapawan Riyadh Saiki Ústí nad Orlicí Surigao City Katsuyama Ibrány Vigan Kunszentmárton Florianópolis Kiskunfélegyháza Tagum Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Kyiv Alcoi Cape Coast Polgár Gibraltar Letenye Püspökladány Frankfurt Berettyóújfalu Lugdunum Tiszaújváros Putnok Zhanjiang Torgau Kiskunmajsa Saga Békéscsaba Durjaya Tsu Buenos Aires Heidelberg Kuching Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Cebu City Manila Kunszentmiklós Samarinda Tamási Keszthely Olbia Akō Szentlőrinc Adony Stanley Viseu Ürümqi Vaduz Bandung Pannonhalma Zhengzhou Ulaanbaatar Rupea Tabuk Santa Rosa Hatvan Sümeg Szerencs Vác Znojmo Islamabad Kendari Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Batangas City Tapolca Abu Dhabi Seoul Třebíč Kinshasa Eger Koblenz Yonezawa Iloilo City Yanagawa Kistelek Bukittinggi Waren (Müritz) Kerma Maasin Strasbourg Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Sondershausen Masbate City Turquoise Mountain Mbabane Kayes Abashiri Freiberg Tarlac Banjarmasin Békés Washukanni Nakatsu Elek Emmen Yogyakarta Sellye Mátészalka Dodoma Hattusa Ōsakasayama Nyírbátor Bicske Dresden Doha Chandigarh Antipolo Worms Cigánd Pekanbaru Tanjung Pinang Kigali Kutná Hora Bucharest Digos Kisvárda Antananarivo Tandag Uda Tsuyama Mati Oral Ōmura Yerevan Hódmezővásárhely Martonvásár Dabas Malolos Rumoi Kisarazu Obihiro Brussels Smolensk Dombóvár Jiankang Brno Metro, Indonesia Burriana Sátoraljaújhely Hajdúszoboszló Uto Derecske Fukuoka Calimport Szigetszentmiklós Monor Pagadian Kemecse Enying Maloe Verevo Druzhnaya Gorka Yamaguchi Regensburg Port-au-Prince Kota Kinabalu Encs Oroszlány Pécsvárad Riga Kalocsa Tolna Coburg Balatonfüred Annaka Kostanay Weimar Sárospatak Leipzig Braunschweig Speyer Bácsalmás Bandar Lampung Aszód Saint Anne Wau, South Sudan Obama Szombathely Hanoi Edmonton Kiskunhalas Ho Chi Minh City Malaybalay Csurgó Abuja Heves Minas Tirith Rosenheim Abony Pontianak HigashiMatsuyama Eisenach Muscat Gárdony Palayan Sakura Cegléd Bouaké Pápa Kunming Várpalota Kazincbarcika Fuzhou Jánoshalma Salto Mohács Ōzu Siófok Tagbilaran Caracas Morioka Lucknow Patna Ungaran Hirado Koronadal Carn Dûm Mórahalom Miyazu Hajdúnánás Balassagyarmat Padang Oldenburg Pilisvörösvár Vyritsa Ogi Samarkand Szob Augsburg Cheb Agartala Yinchuan Tiszakécske Vijaya Rétság Palikir Vojskovitsy Hefei Wollongong Suzuka Sarajevo Khost Imus Mannheim Orosháza Kushiro Medan Mainz Wiesbaden Braga Cagayan de Oro Jambi Szentendre Kediri Nordhausen Mataram Yangzhou Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Lanzhou Sucre Manado Szarvas Brasília Chongqing Szentgotthárd Linfen Yamoussoukro Gyomaendrőd Balmazújváros Hohenstein-Ernstthal Andorra la Vella Kuala Lumpur Roxas Tuguegarao Oyo-Ile České Budějovice Kupang Komló Karcag Palangkaraya Sarkad Ajka Taiyuan Bangalore Most Fuchū Luoyang Lhasa Oelsnitz, Vogtland Marienberg Körmend Nanchang Siklós Kisbér Haikou Tacloban San Fernando Wa Veszprém Iwamizawa Carcassonne Tatabánya Nemuro Baja Sivas Brand-Erbisdorf Fukuchiyama Annaberg-Buchholz Szekszárd Salgótarján Dublin Aue Chemnitz Hagi Vyškov Santiago Karatsu Xining Pangkal Pinang Sokolov Yellowknife Edoras Kaposvár Bacolod Lenti Catbalogan Schmalkalden Lyon Ráckeve Wakkanai Hajdúböszörmény Sopron Miramar Sárvár Blansko Vecsés Windhoek Dijon Brandenburg an der Havel Cotabato City Gaborone Praia Gera Tehran Shaoxing Xàtiva Borongan Mezőkövesd Jihlava San Fernando Oroquieta Batumi Denpasar Kőszeg Nyíradony Calapan Baghdad Mór Jaipur Csongrád Kiskőrös Gödöllő Tokaj Gyöngyös Tatsuno Quito Usuki Kashima Agadir Inuyama Edelény Pomáz Tab Cocentaina Bengkulu Füzesabony Hurghada Písek Ilagan Bóly Tét Tokushima Dunaújváros Lucena Würzburg Nanjing
521
action count
action atmost
action union
action find_tuple_counts
relation capital of
type city
type political territorial entity
action find_tuple_counts
relation capital of
type city
type city
value 1
[{'concept': 'city'}, 'capital of', [{'concept': 'political territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) ?u WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:city ) ( ontology:political_territorial_entity ) } } GROUP BY ?u } . FILTER ( ?i <= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q82794 Q107425 Q151885
USER
Which concepts are located in atmost 1 geographic regions and landscapes ?
(c(Q151885),P706,c(Q82794)|c(Q107425))
action atmost
action union
action find_tuple_counts
relation P706
type Q151885
type Q82794
action find_tuple_counts
relation P706
type Q151885
type Q107425
value 1
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q82794'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?n <= 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?n ) WHERE { { ?e property:P706 ?w . ?e rdf:type ontology:Q151885 . ?w rdf:type ontology:Q82794 } UNION { ?e property:P706 ?w . ?e rdf:type ontology:Q151885 . ?w rdf:type ontology:Q107425 } } GROUP BY ?e } }
action atmost
action union
action find_tuple_counts
relation located on terrain feature
type concept
type geographic region
action find_tuple_counts
relation located on terrain feature
type concept
type landscape
value 1
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'geographic region'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?n <= 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?n ) WHERE { { ?e property:located_on_terrain_feature ?w . ?e rdf:type ontology:concept . ?w rdf:type ontology:geographic_region } UNION { ?e property:located_on_terrain_feature ?w . ?e rdf:type ontology:concept . ?w rdf:type ontology:landscape } } GROUP BY ?e } }
[]
geographic region landscape concept
Q611017 Q2379716 Q470867
SYSTEM
Lusatian culture, Sögel-Wohlde culture, Beaker culture
Q1585136 Q16389397 Q402743 Q80974 Q1121344 Q645489 Q314639 Q13409799 Q2332687 Q2560070 Q1298414 Q575396 Q2064825 Q647858 Q2460861 Q2379716 Q893119 Q831336 Q1483547 Q1049966 Q1887797 Q2005344 Q1987770 Q1037978 Q687230 Q693549 Q245156 Q1737460 Q756905 Q1263312 Q279792 Q2245864 Q1075080 Q2603061 Q2632835 Q855546 Q2619651 Q3007186 Q2624476 Q773818 Q1588784 Q1017984 Q570798 Q500099 Q169349 Q1859432 Q175801 Q1932196 Q127455 Q2098731 Q1090851 Q672010 Q127118 Q1051663 Q1470903 Q2994546 Q3485378 Q671984 Q1886212 Q2640569 Q427986 Q202165 Q134178 Q1473758 Q2216194 Q875115 Q1088939 Q1808482 Q2252048 Q1241230 Q1362485 Q1054850 Q459376 Q1423912 Q1421436 Q1002169 Q372349 Q2625916 Q1041674 Q1229136 Q2370603 Q2666408 Q3651998 Q2015677 Q1688286 Q1474345 Q1509262 Q1139760 Q1241067 Q22906080 Q2372667 Q208247 Q2995537 Q1781546 Q746287 Q221901 Q2446445 Q1755265 Q470867 Q2347305 Q169320 Q1577518 Q733489 Q4096641 Q2636498 Q1369777 Q399951 Q611017 Q806348
(c(Q151885),P706,c(Q82794)|c(Q107425))
action atmost
action union
action find_tuple_counts
relation P706
type Q151885
type Q82794
action find_tuple_counts
relation P706
type Q151885
type Q107425
value 1
[ANSWERS] are located in atmost 1 geographic regions and landscapes
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q82794'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?n <= 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?n ) WHERE { { ?e property:P706 ?w . ?e rdf:type ontology:Q151885 . ?w rdf:type ontology:Q82794 } UNION { ?e property:P706 ?w . ?e rdf:type ontology:Q151885 . ?w rdf:type ontology:Q107425 } } GROUP BY ?e } }
Monte Claro culture Kepler-186f Ahrensburg culture Afanasevo culture Solutrean Baradostian culture Baalberge group Argaric culture Piliny culture Magosian Egolzwil Culture Cernavodă culture Pavlovian culture Zarzian culture Lima culture Sögel-Wohlde culture Boat Axe culture Vinča culture Starčevo culture Castro culture Mal'ta-Buret' culture Tagar culture Saltovo-Mayaki Gushi culture Baden culture Magdalenian Ubaid period Kayue culture Gravettian Tiszapolgár culture Botai culture Schmarloh Upper Xiajiadian culture Coțofeni culture Okunev Culture Bükk culture Asbestos-ceramic Arzachena culture Marajoara culture Unetice culture Hassuna culture Butmir culture Michelsberg culture Jastorf culture Kura–Araxes culture Varna culture Sican culture Stroke-ornamented ware culture Ordos culture Slab Grave Culture Châtelperronian Horgen culture Vorholz Erlitou culture Iberomaurusian Penkovka culture Clovis culture Cortaillod culture Rössen culture Aldy-Bel culture Gaudo culture Hallstatt culture Minoan civilization Ozieri culture Salzmünde group Funnelbeaker culture Kebaran Tardenoisian Schussenried culture Donets Ridge Ertebølle culture Bactria–Margiana Archaeological Complex Andronovo culture Przeworsk culture Nuragic civilization Bug-Dniester culture Gáva culture Gandhara grave culture Lower Xiajiadian culture Grooved ware Boian culture Asturian culture South-German Urnfield culture Zarubintsy culture Esik Bes-Shatir Culture Chernyakhov culture Hamangia culture Creswellian culture Old Europe K2-3d Swiderian culture La Tène culture Soanian Kongemose culture Oldowan Aurignacian Milograd culture Kulli culture Beaker culture Polada culture Trialeti culture Komsa culture Natufian culture Brnjica culture Chernoles culture Este culture Ahar-Banas culture Lusatian culture Linear Pottery culture
Lusatian culture, Sögel-Wohlde culture and Beaker culture are located in atmost 1 geographic regions and landscapes
Lusatian culture Sögel-Wohlde culture Beaker culture
action atmost
action union
action find_tuple_counts
relation located on terrain feature
type concept
type geographic region
action find_tuple_counts
relation located on terrain feature
type concept
type landscape
value 1
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'geographic region'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?n <= 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?n ) WHERE { { ?e property:located_on_terrain_feature ?w . ?e rdf:type ontology:concept . ?w rdf:type ontology:geographic_region } UNION { ?e property:located_on_terrain_feature ?w . ?e rdf:type ontology:concept . ?w rdf:type ontology:landscape } } GROUP BY ?e } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q470867
P361
Q1790144
USER
How many units of time are Beaker culture a component of ?
(Q470867,P361,c(Q1790144))
action count
action filter_type
action find
entity Q470867
relation P361
type Q1790144
['Q470867', 'P361', {'concept': 'Q1790144'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:Q470867 property:P361 ?m . ?m rdf:type ontology:Q1790144 }
Beaker culture
action count
action filter_type
action find
entity Beaker culture
relation part of
type unit of time
['Beaker culture', 'part of', {'concept': 'unit of time'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:Beaker_culture property:part_of ?m . ?m rdf:type ontology:unit_of_time }
[]
unit of time
SYSTEM
3
Q130253 Q36422 Q11761
(Q470867,P361,c(Q1790144))
action count
action filter_type
action find
entity Q470867
relation P361
type Q1790144
[ANSWER]
['Q470867', 'P361', {'concept': 'Q1790144'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:Q470867 property:P361 ?m . ?m rdf:type ontology:Q1790144 }
Chalcolithic Neolithic era Bronze Age
3
action count
action filter_type
action find
entity Beaker culture
relation part of
type unit of time
['Beaker culture', 'part of', {'concept': 'unit of time'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:Beaker_culture property:part_of ?m . ?m rdf:type ontology:unit_of_time }
[]