Simple Question (Direct)
Simple Question
Q433416
P21
Q290
USER
What is the sex of Denis Franskevich ?
(Q433416,P21,c(Q290))
action filter_type
action find
entity Q433416
relation P21
type Q290
['Q433416', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q433416 property:P21 ?k . ?k rdf:type ontology:Q290 }
Denis Franskevich
action filter_type
action find
entity Denis Franskevich
relation gender
type sex
['Denis Franskevich', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Denis_Franskevich property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q433416,P21,c(Q290))
action filter_type
action find
entity Q433416
relation P21
type Q290
The sex of Denis Franskevich is a [ANSWER]
['Q433416', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q433416 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of Denis Franskevich is a male
male
action filter_type
action find
entity Denis Franskevich
relation gender
type sex
['Denis Franskevich', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Denis_Franskevich property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q433416
P19
Q56061
USER
Where was that person born ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q433416
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q433416 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Denis Franskevich
action filter_type
action find
entity Denis Franskevich
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Denis_Franskevich property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q484706
SYSTEM
Karaganda
Q484706
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q433416
relation P19
type Q56061
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q433416 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Karaganda
That person was born in Karaganda
Karaganda
action filter_type
action find
entity Denis Franskevich
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Denis_Franskevich property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
How many ship types have approximately 2 administrative territories as their registry harbour ?
(c(Q2235308),P532,c(Q56061))
action count
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?a ) WHERE { ?w property:P532 ?h . ?w rdf:type ontology:Q2235308 . ?h rdf:type ontology:Q56061 } GROUP BY ?w } . FILTER ( ?a = 2 ) }
action count
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?a ) WHERE { ?w property:port_of_registry ?h . ?w rdf:type ontology:ship_type . ?h rdf:type ontology:administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?a = 2 ) }
[]
administrative territorial entity ship type
SYSTEM
4
Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action count
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?a ) WHERE { ?w property:P532 ?h . ?w rdf:type ontology:Q2235308 . ?h rdf:type ontology:Q56061 } GROUP BY ?w } . FILTER ( ?a = 2 ) }
Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
4
action count
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?a ) WHERE { ?w property:port_of_registry ?h . ?w rdf:type ontology:ship_type . ?h rdf:type ontology:administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?a = 2 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1155
P291
Q56061 Q11032 Q21114848
USER
How many administrative territories are the locations of publication of approximately the same number of newspapers and magazine genres as Busto Arsizio ?
(c(Q11032)|c(Q21114848),P291,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q1155
relation P291
type Q11032
type Q21114848
[[{'concept': 'Q11032'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?t WHERE { { ?a property:P291 ?t . ?t rdf:type ontology:Q56061 . ?a rdf:type ontology:Q21114848 } UNION { ?a property:P291 ?t . ?t rdf:type ontology:Q56061 . ?a rdf:type ontology:Q11032 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P291 resource:Q1155 . { { ?h rdf:type ontology:Q11032 } UNION { ?h rdf:type ontology:Q21114848 } } } } . FILTER ( ?y = ?i ) }
Busto Arsizio
action count
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Busto Arsizio
relation place of publication
type newspaper
type magazine genre
[[{'concept': 'newspaper'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?t WHERE { { ?a property:place_of_publication ?t . ?t rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:magazine_genre } UNION { ?a property:place_of_publication ?t . ?t rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:newspaper } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:place_of_publication resource:Busto_Arsizio . { { ?h rdf:type ontology:newspaper } UNION { ?h rdf:type ontology:magazine_genre } } } } . FILTER ( ?y = ?i ) }
[]
administrative territorial entity newspaper magazine genre
SYSTEM
341
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q982367 Q3150 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q23337 Q33959 Q987 Q8692 Q23051 Q586 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q41876 Q1754 Q749 Q99151 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q597 Q5831 Q22889 Q12892 Q365 Q5836 Q132572 Q6157 Q12411 Q1718 Q43631 Q11125 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q1155 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q1489 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q8678 Q15468 Q490 Q6346 Q495 Q2044 Q887 Q576165 Q5465 Q2141 Q54217 Q23436 Q1679567 Q2814 Q15093 Q2280 Q162279 Q3141 Q671288 Q72 Q17151 Q1490 Q1191195 Q102217 Q237 Q334 Q239 Q16559 Q16554 Q16555 Q16557 Q486306 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1296 Q1297 Q3033 Q936183 Q1563 Q170263 Q35381 Q1748 Q45412 Q87 Q40269 Q2081145 Q1024911 Q193478 Q5112 Q2103 Q1741 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q49111 Q71 Q2617448 Q37100 Q38022 Q36405 Q270 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q16567 Q1861 Q14318 Q14314 Q5092 Q15090 Q134620 Q956 Q15095 Q15098 Q437 Q8745 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q42735 Q242478 Q327022 Q12225 Q23154 Q220 Q340 Q342 Q10282 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q28249 Q13666 Q761 Q9580 Q569661 Q2634 Q8356 Q3584 Q49179 Q735583 Q1726 Q1724 Q11967 Q1729 Q8717 Q3519 Q65 Q159232 Q207891 Q2028 Q61 Q62 Q3395358 Q683512 Q18125 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q269 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q647 Q641 Q193367 Q727 Q649 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q8757 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q6441 Q125080 Q2066 Q12303 Q100 Q156990 Q3834 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q216 Q646620 Q350 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647 Q1085
(c(Q11032)|c(Q21114848),P291,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q1155
relation P291
type Q11032
type Q21114848
[ANSWER]
[[{'concept': 'Q11032'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?t WHERE { { ?a property:P291 ?t . ?t rdf:type ontology:Q56061 . ?a rdf:type ontology:Q21114848 } UNION { ?a property:P291 ?t . ?t rdf:type ontology:Q56061 . ?a rdf:type ontology:Q11032 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P291 resource:Q1155 . { { ?h rdf:type ontology:Q11032 } UNION { ?h rdf:type ontology:Q21114848 } } } } . FILTER ( ?y = ?i ) }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Mineola Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Fribourg Glasgow Athol Zaragoza Crumlin Salt Lake City Nice New Delhi Bilbao Swansea Bonn Palermo Grenoble Straume Málaga Cardiff Gävle Haarlem Ávila Soria Nampula Cádiz Segovia Gloucester Reims Stockholm Groningen Ourense Burbank Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Lisbon Melilla Bath Antwerp Cologne Toledo Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Lugo Elverum Alcones Caernarfon Montevideo Petrozavodsk Harstad Busto Arsizio Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Athens Mexico City Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Rio de Janeiro Badalona Milan Indianapolis Turin Florence Yekaterinburg Warsaw Cape Town Halifax Norwalk Edinburgh Jakobstad Halle (Saale) Ciudad Real Minsk Kuopio Melbourne Bend Zürich Thessaloniki Tokyo Mold Vitebsk Vatican City Singapore Brussels Austin Denver Houston Dallas Pensacola Versailles Shanghai Tbilisi Nagpur Sydney Boulder Ghent Chicago Göttingen Tonbridge Havana Chester Colombo Copenhagen Coimbra Alexandria Porto Alegre Milborne Port Welshpool Buda Adelaide Bochum Vienna Poughkeepsie Fátima Alicante Almaty Mjölby Basel Cambridge Geneva Edinburgh Auckland St. Louis Aberdeen Warsaw New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Budapest Tel Aviv Bradenton Columbus Bangkok Vitoria-Gasteiz Santiago de Compostela Baltimore Lleida Jyväskylä Beijing Albacete Cuenca Ljubljana Vigo Bordeaux Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Olympia Levoča Rockville Murcia Bristol Rome Montreal Quimper Pamplona Dordrecht Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Concord Messina Białystok Burgos Königstein im Taunus Naples Valladolid Nový Jičín Worcester Ylivieska Munich Saarbrücken Huesca Erfurt Seville Bari Los Angeles Santa Cruz Kokkola Verona Washington, D.C. San Francisco Kidwelly Savonlinna Manchester Maputo Winterthur Córdoba Taipei Kouvola Detroit Tashkent Herning Prostějov Tangier Chennai Chepstow Durham Little Rock Christchurch Ostrava Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Portsmouth Dortmund Harpenden Rennes Venice Porvoo Amsterdam Moscow Mo i Rana Newtown Hereford Cheltenham Ulm Liverpool León Ferrol Zamora Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Athens Łódź Preveza Kajaani Oslo A Coruña Rotterdam Oulu Montvale Kotka Novosibirsk Chichester Nottingham Montpellier Vaasa Essen Jerez de la Frontera Boston Monmouth Konstanz Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Toronto Vilnius Estella-Lizarra Cambridge Kanhangad Tartu Jaffna Palma Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg Prague
341
action count
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Busto Arsizio
relation place of publication
type newspaper
type magazine genre
[[{'concept': 'newspaper'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?t WHERE { { ?a property:place_of_publication ?t . ?t rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:magazine_genre } UNION { ?a property:place_of_publication ?t . ?t rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:newspaper } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:place_of_publication resource:Busto_Arsizio . { { ?h rdf:type ontology:newspaper } UNION { ?h rdf:type ontology:magazine_genre } } } } . FILTER ( ?y = ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q180233
P291
Q56061 Q11032 Q21114848
USER
And also tell me about Pori?
(c(Q11032)|c(Q21114848),P291,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q180233
relation P291
type Q11032
type Q21114848
[[{'concept': 'Q11032'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?m ) WHERE { { ?a property:P291 ?n . ?n rdf:type ontology:Q56061 . ?a rdf:type ontology:Q11032 } UNION { ?a property:P291 ?n . ?n rdf:type ontology:Q56061 . ?a rdf:type ontology:Q21114848 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:P291 resource:Q180233 . { VALUES ( ?j ) { ( ontology:Q21114848 ) ( ontology:Q11032 ) } . ?e rdf:type ?j } } } . FILTER ( ?m = ?d ) }
Pori
action count
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Pori
relation place of publication
type newspaper
type magazine genre
[[{'concept': 'newspaper'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?m ) WHERE { { ?a property:place_of_publication ?n . ?n rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:newspaper } UNION { ?a property:place_of_publication ?n . ?n rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:magazine_genre } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:place_of_publication resource:Pori . { VALUES ( ?j ) { ( ontology:magazine_genre ) ( ontology:newspaper ) } . ?e rdf:type ?j } } } . FILTER ( ?m = ?d ) }
[]
administrative territorial entity newspaper magazine genre
SYSTEM
344
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q982367 Q3150 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q23337 Q33959 Q987 Q8692 Q23051 Q586 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q1757 Q41876 Q1754 Q1022 Q749 Q99151 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q597 Q5831 Q22889 Q12892 Q365 Q5836 Q132572 Q6157 Q12411 Q1718 Q43631 Q11125 Q8810 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q1155 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q1489 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q8678 Q15468 Q490 Q6346 Q495 Q2044 Q887 Q576165 Q5465 Q2141 Q54217 Q23436 Q1679567 Q2814 Q15093 Q2280 Q162279 Q3141 Q671288 Q72 Q17151 Q1490 Q1191195 Q102217 Q237 Q334 Q239 Q16559 Q16554 Q16555 Q16557 Q486306 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1296 Q1297 Q3033 Q936183 Q1563 Q170263 Q35381 Q1748 Q45412 Q87 Q40269 Q2081145 Q1024911 Q193478 Q5112 Q2103 Q1741 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q49111 Q71 Q2617448 Q37100 Q38022 Q36405 Q270 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q16567 Q1861 Q14318 Q14314 Q5092 Q15090 Q134620 Q956 Q15095 Q15098 Q437 Q8745 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q42735 Q242478 Q327022 Q12225 Q23154 Q220 Q340 Q342 Q10282 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q28249 Q13666 Q761 Q9580 Q569661 Q2634 Q8356 Q3584 Q49179 Q735583 Q1726 Q1724 Q11967 Q1729 Q8717 Q3519 Q65 Q159232 Q207891 Q2028 Q61 Q62 Q3395358 Q683512 Q18125 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q269 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q647 Q641 Q193367 Q727 Q649 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q8757 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q6441 Q125080 Q2066 Q12303 Q100 Q156990 Q3834 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q216 Q646620 Q350 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647 Q1085
(c(Q11032)|c(Q21114848),P291,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q180233
relation P291
type Q11032
type Q21114848
[ANSWER]
[[{'concept': 'Q11032'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?m ) WHERE { { ?a property:P291 ?n . ?n rdf:type ontology:Q56061 . ?a rdf:type ontology:Q11032 } UNION { ?a property:P291 ?n . ?n rdf:type ontology:Q56061 . ?a rdf:type ontology:Q21114848 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:P291 resource:Q180233 . { VALUES ( ?j ) { ( ontology:Q21114848 ) ( ontology:Q11032 ) } . ?e rdf:type ?j } } } . FILTER ( ?m = ?d ) }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Mineola Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Fribourg Glasgow Athol Zaragoza Crumlin Salt Lake City Nice New Delhi Bilbao Swansea Bonn Palermo Grenoble Straume Málaga Cardiff Gävle Haarlem Ávila Soria Nampula Cádiz Segovia Gloucester Helsinki Reims Stockholm Stuttgart Groningen Ourense Burbank Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Lisbon Melilla Bath Antwerp Cologne Toledo Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Lugo Granada Elverum Alcones Caernarfon Montevideo Petrozavodsk Harstad Busto Arsizio Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Athens Mexico City Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Rio de Janeiro Badalona Milan Indianapolis Turin Florence Yekaterinburg Warsaw Cape Town Halifax Norwalk Edinburgh Jakobstad Halle (Saale) Ciudad Real Minsk Kuopio Melbourne Bend Zürich Thessaloniki Tokyo Mold Vitebsk Vatican City Singapore Brussels Austin Denver Houston Dallas Pensacola Versailles Shanghai Tbilisi Nagpur Sydney Boulder Ghent Chicago Göttingen Tonbridge Havana Chester Colombo Copenhagen Coimbra Alexandria Porto Alegre Milborne Port Welshpool Buda Adelaide Bochum Vienna Poughkeepsie Fátima Alicante Almaty Mjölby Basel Cambridge Geneva Edinburgh Auckland St. Louis Aberdeen Warsaw New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Budapest Tel Aviv Bradenton Columbus Bangkok Vitoria-Gasteiz Santiago de Compostela Baltimore Lleida Jyväskylä Beijing Albacete Cuenca Ljubljana Vigo Bordeaux Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Olympia Levoča Rockville Murcia Bristol Rome Montreal Quimper Pamplona Dordrecht Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Concord Messina Białystok Burgos Königstein im Taunus Naples Valladolid Nový Jičín Worcester Ylivieska Munich Saarbrücken Huesca Erfurt Seville Bari Los Angeles Santa Cruz Kokkola Verona Washington, D.C. San Francisco Kidwelly Savonlinna Manchester Maputo Winterthur Córdoba Taipei Kouvola Detroit Tashkent Herning Prostějov Tangier Chennai Chepstow Durham Little Rock Christchurch Ostrava Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Portsmouth Dortmund Harpenden Rennes Venice Porvoo Amsterdam Moscow Mo i Rana Newtown Hereford Cheltenham Ulm Liverpool León Ferrol Zamora Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Athens Łódź Preveza Kajaani Oslo A Coruña Rotterdam Oulu Montvale Kotka Novosibirsk Chichester Nottingham Montpellier Vaasa Essen Jerez de la Frontera Boston Monmouth Konstanz Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Toronto Vilnius Estella-Lizarra Cambridge Kanhangad Tartu Jaffna Palma Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg Prague
344
action count
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Pori
relation place of publication
type newspaper
type magazine genre
[[{'concept': 'newspaper'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?m ) WHERE { { ?a property:place_of_publication ?n . ?n rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:newspaper } UNION { ?a property:place_of_publication ?n . ?n rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:magazine_genre } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:place_of_publication resource:Pori . { VALUES ( ?j ) { ( ontology:magazine_genre ) ( ontology:newspaper ) } . ?e rdf:type ?j } } } . FILTER ( ?m = ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q433416
P54
Q12973014
USER
Which sports teams are Denis Franskevich a member of ?
(Q433416,P54,c(Q12973014))
action filter_type
action find
entity Q433416
relation P54
type Q12973014
['Q433416', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?m WHERE { resource:Q433416 property:P54 ?m . ?m rdf:type ontology:Q12973014 }
Denis Franskevich
action filter_type
action find
entity Denis Franskevich
relation member of sports team
type sports team
['Denis Franskevich', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?m WHERE { resource:Denis_Franskevich property:member_of_sports_team ?m . ?m rdf:type ontology:sports_team }
[]
sports team
Q1471247 Q2171668 Q639095
SYSTEM
HC Neftekhimik Nizhnekamsk, Rubin Tyumen, Avtomobilist Yekaterinburg
Q2171668 Q1471247 Q639095 Q1162262
(Q433416,P54,c(Q12973014))
action filter_type
action find
entity Q433416
relation P54
type Q12973014
[ANSWERS] are Denis Franskevich a member of
['Q433416', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?m WHERE { resource:Q433416 property:P54 ?m . ?m rdf:type ontology:Q12973014 }
Rubin Tyumen HC Neftekhimik Nizhnekamsk Avtomobilist Yekaterinburg Neftyanik Leninogorsk
HC Neftekhimik Nizhnekamsk, Rubin Tyumen and Avtomobilist Yekaterinburg are Denis Franskevich a member of
HC Neftekhimik Nizhnekamsk Rubin Tyumen Avtomobilist Yekaterinburg
action filter_type
action find
entity Denis Franskevich
relation member of sports team
type sports team
['Denis Franskevich', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?m WHERE { resource:Denis_Franskevich property:member_of_sports_team ?m . ?m rdf:type ontology:sports_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2171668
P641
Q349
USER
What did that sports team participate in ?
(Q2171668,P641,c(Q349))
action filter_type
action find
entity Q2171668
relation P641
type Q349
['Q2171668', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q2171668 property:P641 ?n . ?n rdf:type ontology:Q349 }
Rubin Tyumen
action filter_type
action find
entity Rubin Tyumen
relation sport
type sport
['Rubin Tyumen', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Rubin_Tyumen property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Clarification for simple ques.
Q2171668
SYSTEM
Did you mean Rubin Tyumen ?
Q1471247 Q2171668 Q639095
(Q1471247,P641,c(Q349)) (Q2171668,P641,c(Q349)) (Q639095,P641,c(Q349))
[ANSWER]
['Q1471247', 'P641', {'concept': 'Q349'}] ['Q2171668', 'P641', {'concept': 'Q349'}] ['Q639095', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q2171668 property:P641 ?n . ?n rdf:type ontology:Q349 }
HC Neftekhimik Nizhnekamsk Rubin Tyumen Avtomobilist Yekaterinburg
Did you mean Rubin Tyumen ?
Rubin Tyumen
['HC Neftekhimik Nizhnekamsk', 'sport', {'concept': 'sport'}] ['Rubin Tyumen', 'sport', {'concept': 'sport'}] ['Avtomobilist Yekaterinburg', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Rubin_Tyumen property:sport ?n . ?n rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2171668,P641,c(Q349))
['Q2171668', 'P641', {'concept': 'Q349'}]
['Rubin Tyumen', 'sport', {'concept': 'sport'}]
[]
Q41466
SYSTEM
ice hockey
Q41466
(Q2171668,P641,c(Q349))
action filter_type
action find
entity Q2171668
relation P641
type Q349
That sports team participated in [ANSWER]
['Q2171668', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q2171668 property:P641 ?n . ?n rdf:type ontology:Q349 }
ice hockey
That sports team participated in ice hockey
ice hockey
action filter_type
action find
entity Rubin Tyumen
relation sport
type sport
['Rubin Tyumen', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Rubin_Tyumen property:sport ?n . ?n rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1923
Q12973014 Q15991303 Q22348500
USER
Which sports teams took part in max number of association football leagues and cycling race classes ?
(c(Q15991303)|c(Q22348500),P1923,c(Q12973014))
action argmax
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q22348500
[[{'concept': 'Q15991303'}, {'concept': 'Q22348500'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?q ) { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:P1923 ?z . ?z rdf:type ontology:Q12973014 . ?p rdf:type ontology:Q15991303 } UNION { ?p property:P1923 ?z . ?z rdf:type ontology:Q12973014 . ?p rdf:type ontology:Q22348500 } } GROUP BY ?z } } . { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?a ) { ( ontology:Q15991303 ) ( ontology:Q22348500 ) } . ?r rdf:type ?a } GROUP BY ?i } . FILTER ( ?m = ?q ) }
action argmax
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type association football league
action find_reverse_tuple_counts
relation participating teams
type sports team
type cycling race class defined by the International Cycling Union
[[{'concept': 'association football league'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?q ) { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:participating_teams ?z . ?z rdf:type ontology:sports_team . ?p rdf:type ontology:association_football_league } UNION { ?p property:participating_teams ?z . ?z rdf:type ontology:sports_team . ?p rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } } GROUP BY ?z } } . { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?a ) { ( ontology:association_football_league ) ( ontology:cycling_race_class_defined_by_the_International_Cycling_Union ) } . ?r rdf:type ?a } GROUP BY ?i } . FILTER ( ?m = ?q ) }
[]
sports team association football league cycling race class defined by the International Cycling Union
Q19336122
SYSTEM
Wanty-Groupe Gobert 2015
Q19336122
(c(Q15991303)|c(Q22348500),P1923,c(Q12973014))
action argmax
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q22348500
[ANSWER] took part in max number of association football leagues and cycling race classes
[[{'concept': 'Q15991303'}, {'concept': 'Q22348500'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?q ) { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:P1923 ?z . ?z rdf:type ontology:Q12973014 . ?p rdf:type ontology:Q15991303 } UNION { ?p property:P1923 ?z . ?z rdf:type ontology:Q12973014 . ?p rdf:type ontology:Q22348500 } } GROUP BY ?z } } . { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?a ) { ( ontology:Q15991303 ) ( ontology:Q22348500 ) } . ?r rdf:type ?a } GROUP BY ?i } . FILTER ( ?m = ?q ) }
Wanty-Groupe Gobert 2015
Wanty-Groupe Gobert 2015 took part in max number of association football leagues and cycling race classes
Wanty-Groupe Gobert 2015
action argmax
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type association football league
action find_reverse_tuple_counts
relation participating teams
type sports team
type cycling race class defined by the International Cycling Union
[[{'concept': 'association football league'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?q ) { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:participating_teams ?z . ?z rdf:type ontology:sports_team . ?p rdf:type ontology:association_football_league } UNION { ?p property:participating_teams ?z . ?z rdf:type ontology:sports_team . ?p rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } } GROUP BY ?z } } . { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?a ) { ( ontology:association_football_league ) ( ontology:cycling_race_class_defined_by_the_International_Cycling_Union ) } . ?r rdf:type ?a } GROUP BY ?i } . FILTER ( ?m = ?q ) }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q19336122 Q9007
P17
Q15617994
USER
Is Wanty-Groupe Gobert 2015 located in Arignano ?
(Q19336122,P17,Q9007)
action is_in
entity Q9007
action find
entity Q19336122
relation P17
['Q19336122', 'P17', 'Q9007']
ASK WHERE { resource:Q19336122 property:P17 resource:Q9007 }
Wanty-Groupe Gobert 2015 Arignano
action is_in
entity Arignano
action find
entity Wanty-Groupe Gobert 2015
relation country
['Wanty-Groupe Gobert 2015', 'country', 'Arignano']
ASK WHERE { resource:Wanty-Groupe_Gobert_2015 property:country resource:Arignano }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q19336122,P17,Q9007)
action is_in
entity Q9007
action find
entity Q19336122
relation P17
[ANSWER]
['Q19336122', 'P17', 'Q9007']
ASK WHERE { resource:Q19336122 property:P17 resource:Q9007 }
No
action is_in
entity Arignano
action find
entity Wanty-Groupe Gobert 2015
relation country
['Wanty-Groupe Gobert 2015', 'country', 'Arignano']
ASK WHERE { resource:Wanty-Groupe_Gobert_2015 property:country resource:Arignano }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q433416 Q11774891 Q6865868
P106
Q12737077
USER
Does Denis Franskevich have career as ice hockey player and Minister for Home Affairs ?
(Q433416,P106,Q11774891) (Q433416,P106,Q6865868)
action is_in
entity Q433416
action intersection
action find_reverse
entity Q11774891
relation P106
action find_reverse
entity Q6865868
relation P106
['Q433416', 'P106', 'Q11774891'] ['Q433416', 'P106', 'Q6865868']
ASK WHERE { resource:Q433416 property:P106 resource:Q11774891 . resource:Q433416 property:P106 resource:Q6865868 }
Denis Franskevich ice hockey player Minister for Home Affairs
action is_in
entity Denis Franskevich
action intersection
action find_reverse
entity ice hockey player
relation occupation
action find_reverse
entity Minister for Home Affairs
relation occupation
['Denis Franskevich', 'occupation', 'ice hockey player'] ['Denis Franskevich', 'occupation', 'Minister for Home Affairs']
ASK WHERE { resource:Denis_Franskevich property:occupation resource:ice_hockey_player . resource:Denis_Franskevich property:occupation resource:Minister_for_Home_Affairs }
[]
occupation
SYSTEM
YES and NO respectively
(Q433416,P106,Q11774891) (Q433416,P106,Q6865868)
action is_in
entity Q433416
action intersection
action find_reverse
entity Q11774891
relation P106
action find_reverse
entity Q6865868
relation P106
[ANSWER]
['Q433416', 'P106', 'Q11774891'] ['Q433416', 'P106', 'Q6865868']
ASK WHERE { resource:Q433416 property:P106 resource:Q11774891 . resource:Q433416 property:P106 resource:Q6865868 }
YES and NO respectively
action is_in
entity Denis Franskevich
action intersection
action find_reverse
entity ice hockey player
relation occupation
action find_reverse
entity Minister for Home Affairs
relation occupation
['Denis Franskevich', 'occupation', 'ice hockey player'] ['Denis Franskevich', 'occupation', 'Minister for Home Affairs']
ASK WHERE { resource:Denis_Franskevich property:occupation resource:ice_hockey_player . resource:Denis_Franskevich property:occupation resource:Minister_for_Home_Affairs }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P641
Q31629 Q12973014
USER
Which types of sport were min number of sports teams a part of ?
(c(Q12973014),P641,Q5300110)
action argmin
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
[{'concept': 'Q12973014'}, 'P641', 'Q5300110']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?e ) { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:P641 ?x . ?x rdf:type ontology:Q31629 . ?g rdf:type ontology:Q12973014 } GROUP BY ?x } } . FILTER ( ?m = ?e ) . { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:P641 ?p . ?p rdf:type ontology:Q31629 . ?n rdf:type ontology:Q12973014 } GROUP BY ?p } }
action argmin
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
[{'concept': 'sports team'}, 'sport', 'double trap']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?e ) { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:sport ?x . ?x rdf:type ontology:type_of_sport . ?g rdf:type ontology:sports_team } GROUP BY ?x } } . FILTER ( ?m = ?e ) . { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:sport ?p . ?p rdf:type ontology:type_of_sport . ?n rdf:type ontology:sports_team } GROUP BY ?p } }
[]
type of sport sports team
Q165704 Q40244 Q271008
SYSTEM
high jump, marathon, 800 metres
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q10980 Q217108 Q164731 Q11706688 Q14085739 Q631004 Q672066 Q1293 Q211155 Q191691 Q3817372 Q166788 Q326827 Q178131 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q32485 Q706199 Q919072 Q207238 Q2094083 Q675770 Q692853 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q2164355 Q917562 Q164761 Q1798044 Q718 Q1209037 Q1707432 Q352749 Q1075998 Q1141850 Q774176 Q159354 Q1629556 Q40244 Q172809 Q16629853 Q520611 Q335638 Q1423069 Q465014 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q273285 Q50620 Q31987 Q2891117 Q179226 Q11015 Q428242 Q162883 Q5300110
(c(Q12973014),P641,Q5300110)
action argmin
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
[ANSWERS] were min number of sports teams a part of
[{'concept': 'Q12973014'}, 'P641', 'Q5300110']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?e ) { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:P641 ?x . ?x rdf:type ontology:Q31629 . ?g rdf:type ontology:Q12973014 } GROUP BY ?x } } . FILTER ( ?m = ?e ) . { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:P641 ?p . ?p rdf:type ontology:Q31629 . ?n rdf:type ontology:Q12973014 } GROUP BY ?p } }
800 metres grass skiing 110 metres hurdles International rules football rock climbing heptathlon waterskiing triathlon airsoft 100 metres hurdles sprinting sailing open water swimming downhill mountain biking draughts 200 metres 1500 metres beach run biathlon artistic gymnastics snowboarding horse racing Ice yachting bicycle motocross cross-country cycling kite surfing modern pentathlon nine-pin bowling sporting clays rafting kayaking stadion Flag football freestyle skiing synchronized swimming freestyle wrestling high jump Acrobatic gymnastics skeet shooting roller sport carom billiards 100 metres Olympic skeet chess Modern competitive archery roller skating sprint ski mountaineering canoe racing Keirin rowing 1000 metres marathon ten-pin bowling Mixed Doubles mountain biking cyclo-cross canoe camping trampolining para cycling pool Roller skiing 10,000 metres Sport aerobics ice skating luge Telemark skiing freestyle swimming dragon boat sport equestrianism snooker ski-orienteering free climbing double trap
High jump, marathon and 800 metres were min number of sports teams a part of
high jump marathon 800 metres
action argmin
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
[{'concept': 'sports team'}, 'sport', 'double trap']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?e ) { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:sport ?x . ?x rdf:type ontology:type_of_sport . ?g rdf:type ontology:sports_team } GROUP BY ?x } } . FILTER ( ?m = ?e ) . { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:sport ?p . ?p rdf:type ontology:type_of_sport . ?n rdf:type ontology:sports_team } GROUP BY ?p } }
[]