Simple Question (Direct)
Simple Question
Q20640109
P1427
Q14524493
USER
Which terrain gives the origination point of 2016 Tour of Austria ?
(Q20640109,P1427,c(Q14524493))
action filter_type
action find
entity Q20640109
relation P1427
type Q14524493
['Q20640109', 'P1427', {'concept': 'Q14524493'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q14524493 . resource:Q20640109 property:P1427 ?e }
2016 Tour of Austria
action filter_type
action find
entity 2016 Tour of Austria
relation start point
type terrain
['2016 Tour of Austria', 'start point', {'concept': 'terrain'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:terrain . resource:2016_Tour_of_Austria property:start_point ?e }
[]
terrain
Q671193
SYSTEM
Kitzbüheler Horn
Q671193
(Q20640109,P1427,c(Q14524493))
action filter_type
action find
entity Q20640109
relation P1427
type Q14524493
[ANSWER] gives the origination point of 2016 Tour of Austria
['Q20640109', 'P1427', {'concept': 'Q14524493'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q14524493 . resource:Q20640109 property:P1427 ?e }
Kitzbüheler Horn
Kitzbüheler Horn gives the origination point of 2016 Tour of Austria
Kitzbüheler Horn
action filter_type
action find
entity 2016 Tour of Austria
relation start point
type terrain
['2016 Tour of Austria', 'start point', {'concept': 'terrain'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:terrain . resource:2016_Tour_of_Austria property:start_point ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20640109
P361
Q31629
USER
Which type of sport is a portion of that cycling race class ?
(c(Q31629),P361,Q671193)
action filter_type
action find_reverse
entity Q20640109
relation P361
type Q31629
[{'concept': 'Q31629'}, 'P361', 'Q671193']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q31629 . ?x property:P361 resource:Q20640109 }
2016 Tour of Austria
action filter_type
action find_reverse
entity 2016 Tour of Austria
relation part of
type type of sport
[{'concept': 'type of sport'}, 'part of', 'Kitzbüheler Horn']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:type_of_sport . ?x property:part_of resource:2016_Tour_of_Austria }
[]
type of sport
Q25314466
SYSTEM
2nd stage of the 2016 Tour of Austria
Q25314466
(c(Q31629),P361,Q671193)
action filter_type
action find_reverse
entity Q20640109
relation P361
type Q31629
[ANSWER] is a portion of that cycling race class
[{'concept': 'Q31629'}, 'P361', 'Q671193']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q31629 . ?x property:P361 resource:Q20640109 }
2nd stage of the 2016 Tour of Austria
2nd stage of the 2016 Tour of Austria is a portion of that cycling race class
2nd stage of the 2016 Tour of Austria
action filter_type
action find_reverse
entity 2016 Tour of Austria
relation part of
type type of sport
[{'concept': 'type of sport'}, 'part of', 'Kitzbüheler Horn']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:type_of_sport . ?x property:part_of resource:2016_Tour_of_Austria }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1444
Q56061 Q31629
USER
Which administrative territories do the journey end for atmost 1 type of sport ?
(c(Q31629),P1444,c(Q56061))
action atmost
action find_reverse_tuple_counts
relation P1444
type Q56061
type Q31629
value 1
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?f ) WHERE { ?n rdf:type ontology:Q56061 . ?e rdf:type ontology:Q31629 . ?e property:P1444 ?n } GROUP BY ?n } . FILTER ( ?f <= 1 ) }
action atmost
action find_reverse_tuple_counts
relation destination point
type administrative territorial entity
type type of sport
value 1
[{'concept': 'type of sport'}, 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?f ) WHERE { ?n rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:type_of_sport . ?e property:destination_point ?n } GROUP BY ?n } . FILTER ( ?f <= 1 ) }
[]
administrative territorial entity type of sport
Q490 Q8678 Q64
SYSTEM
Milan, Rio de Janeiro, Berlin
Q3070 Q80053 Q39121 Q803 Q802 Q1048700 Q934871 Q5818 Q102609 Q770233 Q81076 Q2405988 Q10084 Q1718 Q392343 Q1308 Q6252 Q14325 Q984155 Q484799 Q778645 Q5083 Q9248 Q2345828 Q674237 Q9911 Q2058 Q3654596 Q935886 Q2634 Q49227 Q985760 Q41604 Q21176 Q167974 Q40104 Q79996 Q2520019 Q115718 Q2413102 Q890339 Q2272 Q917508 Q68136 Q340 Q15678 Q2037996 Q212991 Q6537 Q13367 Q25286 Q957663 Q8678 Q231765 Q1420012 Q1790832 Q490 Q14314 Q15092 Q10313 Q1555 Q495 Q2044 Q12003924 Q762727 Q1779508 Q6221 Q5465 Q1018423 Q341724 Q641 Q16010 Q2774284 Q2191333 Q921291 Q648 Q275635 Q1045948 Q68124 Q29353 Q1034 Q1842 Q1479 Q15090 Q18288238 Q3646 Q185591 Q983886 Q34820 Q2683168 Q26087 Q711046 Q5266 Q746670 Q15088 Q42810 Q61092 Q3366952 Q1015796 Q23337 Q33959 Q3141 Q8692 Q933261 Q1004686 Q793 Q335141 Q3479787 Q15877 Q8851 Q1016723 Q1289 Q1490 Q2090 Q10690 Q34370 Q1310 Q1449 Q2452442 Q6285 Q53167 Q15688 Q192896 Q3414795 Q25416 Q496567 Q1046281 Q874197 Q2841553 Q3022448 Q2704 Q311717 Q1040 Q5112 Q16554 Q342 Q16556 Q12303 Q190235 Q11935 Q996129 Q13153 Q628 Q365 Q985519 Q29303 Q749 Q59101 Q221184 Q12225 Q1296 Q380043 Q40844 Q984613 Q1017594 Q220 Q717942 Q1012300 Q90 Q1316415 Q1756745 Q145948 Q273779 Q26793 Q1019470 Q10686 Q1741 Q1735 Q372324 Q722522 Q1905554 Q1015813 Q1492 Q914361 Q61089 Q983602 Q1007134 Q482993 Q84 Q26525 Q7880 Q491132 Q10400 Q1028261 Q34713 Q646620 Q4703634 Q81046 Q926672 Q597 Q3532 Q1369887 Q30096 Q296262 Q3921 Q1470791 Q118958 Q2908954 Q80022 Q58900 Q16050 Q1884712 Q1970393 Q732759 Q1415174 Q33532 Q1737 Q964130 Q22889 Q3291153 Q47887 Q8826 Q4811974 Q35493 Q15095 Q7024 Q3856 Q954186 Q62268 Q13972 Q743521 Q3642 Q952929 Q37776 Q100076 Q78 Q3086686 Q47281 Q71 Q70 Q546 Q2280 Q1615405 Q12241857 Q5323 Q73022 Q12191 Q2678458 Q2751 Q94970 Q41876 Q8818 Q134121 Q1759836 Q11125 Q42448 Q1166791 Q44243 Q4045 Q100779 Q239 Q83813 Q79638 Q6441 Q8717 Q289693 Q994575 Q3134346 Q3519 Q64 Q65 Q1034159 Q60 Q215829 Q3571992 Q1432101
(c(Q31629),P1444,c(Q56061))
action atmost
action find_reverse_tuple_counts
relation P1444
type Q56061
type Q31629
value 1
[ANSWERS] for atmost 1 type of sport the journey end
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?f ) WHERE { ?n rdf:type ontology:Q56061 . ?e rdf:type ontology:Q31629 . ?e property:P1444 ?n } GROUP BY ?n } . FILTER ( ?f <= 1 ) }
San José Tabriz Leeds Utrecht Nowy Sącz Sibu Lillestrøm Córdoba Larciano Hatta, United Arab Emirates Zierikzee Roden, Drenthe Vlissingen Düsseldorf Wevelgem Como Monza Logroño Folsom Marbella Col San Martino Seattle Baku Pra Loup Villars-sur-Ollon Den Helder Whitehorse Campitello Matese Lusail Naples Winston-Salem Erpe Amiens Viborg Táriba Ajaccio Nome Juana Koslay Willunga Putte-Kapellen Boezinge Skien Walferdange Sion Montreal Cáceres Inverloch Santa Rosa Vicenza Forlì Uppsala Monchique Municipality Rio de Janeiro Geelong Moe Kuala Kangsar Milan Santiago de Compostela Castelló de la Plana Donostia/San Sebastián Guatemala City Turin Florence Suldalsosen Taroudant Settle Brescia Cape Town Melton Mowbray Čunovo Venice Esch-sur-Alzette Meerkerk Trembleur Mamer Lille Massawa Carterton, New Zealand La Chaux-de-Fonds Algorta Biel/Bienne Luxembourg Bordeaux Lleida Donoratico Krasnodar Pietermaritzburg Oyem Santo Domingo Vilamoura Tromsø Stoumont Novo Mesto Mouila Tarragona Le Havre George Town Alta Victor Harbor Salt Lake City Nice Melbourne Bilbao Les Sybelles Sandnessjøen Zwolle Tinghir Serian, Sarawak Izola Málaga Meerbeke Grenoble Tokyo Nuremberg Cardiff Rotterdam Arnhem Genoa Meerssen Varese Erto e Casso Ávila Carlisle Qurayyat, Oman Stavanger Eibar Carì Lambaréné Ambam Denekamp Pescara Al Khor Karlsruhe Adelaide Denver Quimper Phoenix Jerez de la Frontera Horsens Locarno Cap d'Agde Ronda Bergamo Cologne Lagoa, Algarve Canterbury Groningen Narvik Umag Murcia Ghent Corvara Breda Kettering Merlo Rome Trzebnica Castle Douglas Paris Ndjolé Villa Mercedes, San Luis Svolvær Saint-Louis Bergen Skive Belfast Vienna Innsbruck Dawson City Bouïra Martinborough Healesville Barcelona Méribel Malacca City South Lake Tahoe Eijsden Park City London Drammen Toulouse Santa Clarita Almería Cambridge Salzburg Estella-Lizarra Al Bustan, Oman Charleroi Sagres Lisbon Hemel Hempstead Clemency Frederiksberg Nago–Torbole Harare Knutsford Leuven Morgins Bethel Doncaster Diekirch Baling Hoogerheide Ghinda Lyndoch Gandia Bregenz Colonia Tovar Bath Bolsward Nijmegen Palma La Punta, San Luis Almaty Albacete Lugano Nicosia Campbelltown Zeulenroda-Triebes Tartu Scarborough Asmara Madonna di Campiglio Besançon Valkenburg Basel Frasnes-lez-Buissenal Jesolo Geneva Bern Trieste Minsk Valkenburg, South Holland Madinat Zayed Poreč Sittard Nantes Tanah Rata Siena Monteveglio Reims Valencia Namur Pontal Lugo Sheffield Muttrah San Luis Fujairah Collecchio Brussels Savannah Fairbanks Montpellier Seville Sharjah Kendal La Grita Bari Berlin Los Angeles Harstad New York City Harrogate Fredes Stirling
Milan, Rio de Janeiro and Berlin for atmost 1 type of sport the journey end
Milan Rio de Janeiro Berlin
action atmost
action find_reverse_tuple_counts
relation destination point
type administrative territorial entity
type type of sport
value 1
[{'concept': 'type of sport'}, 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?f ) WHERE { ?n rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:type_of_sport . ?e property:destination_point ?n } GROUP BY ?n } . FILTER ( ?f <= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q64
P1376
Q183366 Q1048835
USER
How many territories and political territories have Berlin as their capital ?
(Q64,P1376,c(Q183366)) (Q64,P1376,c(Q1048835))
action count
action union
action filter_type
action find
entity Q64
relation P1376
type Q183366
action filter_type
action find
entity Q64
relation P1376
type Q1048835
['Q64', 'P1376', {'concept': 'Q183366'}] ['Q64', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:Q183366 ) ( ontology:Q1048835 ) } }
Berlin
action count
action union
action filter_type
action find
entity Berlin
relation capital of
type territory
action filter_type
action find
entity Berlin
relation capital of
type political territorial entity
['Berlin', 'capital of', {'concept': 'territory'}] ['Berlin', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:territory ) ( ontology:political_territorial_entity ) } }
[]
territory political territorial entity
SYSTEM
1 territories and 1 political territories
Q2415901 Q183
(Q64,P1376,c(Q183366)) (Q64,P1376,c(Q1048835))
action count
action union
action filter_type
action find
entity Q64
relation P1376
type Q183366
action filter_type
action find
entity Q64
relation P1376
type Q1048835
[ANSWER]
['Q64', 'P1376', {'concept': 'Q183366'}] ['Q64', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:Q183366 ) ( ontology:Q1048835 ) } }
Allied-occupied Germany Germany
1 territories and 1 political territories
action count
action union
action filter_type
action find
entity Berlin
relation capital of
type territory
action filter_type
action find
entity Berlin
relation capital of
type political territorial entity
['Berlin', 'capital of', {'concept': 'territory'}] ['Berlin', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:territory ) ( ontology:political_territorial_entity ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21996985 Q25314466
P361
Q22348500
USER
Which cycling race classes are 2nd stage of the 2016 Tour of Austria or 2016 Vuelta a España, Stage 17 a part of ?
OR((Q25314466,P361,c(Q22348500)), (Q21996985,P361,c(Q22348500)))
action filter_type
action union
action find
entity Q25314466
relation P361
action find
entity Q21996985
relation P361
type Q22348500
{'OR': [['Q25314466', 'P361', {'concept': 'Q22348500'}], ['Q21996985', 'P361', {'concept': 'Q22348500'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?k ) { ( resource:Q25314466 ) ( resource:Q21996985 ) } . ?k property:P361 ?z } . ?z rdf:type ontology:Q22348500 }
2016 Vuelta a España, Stage 17 2nd stage of the 2016 Tour of Austria
action filter_type
action union
action find
entity 2nd stage of the 2016 Tour of Austria
relation part of
action find
entity 2016 Vuelta a España, Stage 17
relation part of
type cycling race class defined by the International Cycling Union
{'OR': [['2nd stage of the 2016 Tour of Austria', 'part of', {'concept': 'cycling race class defined by the International Cycling Union'}], ['2016 Vuelta a España, Stage 17', 'part of', {'concept': 'cycling race class defined by the International Cycling Union'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?k ) { ( resource:2nd_stage_of_the_2016_Tour_of_Austria ) ( resource:2016_Vuelta_a_España,_Stage_17 ) } . ?k property:part_of ?z } . ?z rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
cycling race class defined by the International Cycling Union
Q20640109 Q20882755
SYSTEM
2016 Tour of Austria, 2016 Vuelta a España
Q20640109 Q20882755
OR((Q25314466,P361,c(Q22348500)), (Q21996985,P361,c(Q22348500)))
action filter_type
action union
action find
entity Q25314466
relation P361
action find
entity Q21996985
relation P361
type Q22348500
[ANSWERS] are 2nd stage of the 2016 Tour of Austria or 2016 Vuelta a España, Stage 17 a part of
{'OR': [['Q25314466', 'P361', {'concept': 'Q22348500'}], ['Q21996985', 'P361', {'concept': 'Q22348500'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?k ) { ( resource:Q25314466 ) ( resource:Q21996985 ) } . ?k property:P361 ?z } . ?z rdf:type ontology:Q22348500 }
2016 Tour of Austria 2016 Vuelta a España
2016 Tour of Austria and 2016 Vuelta a España are 2nd stage of the 2016 Tour of Austria or 2016 Vuelta a España, Stage 17 a part of
2016 Tour of Austria 2016 Vuelta a España
action filter_type
action union
action find
entity 2nd stage of the 2016 Tour of Austria
relation part of
action find
entity 2016 Vuelta a España, Stage 17
relation part of
type cycling race class defined by the International Cycling Union
{'OR': [['2nd stage of the 2016 Tour of Austria', 'part of', {'concept': 'cycling race class defined by the International Cycling Union'}], ['2016 Vuelta a España, Stage 17', 'part of', {'concept': 'cycling race class defined by the International Cycling Union'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?k ) { ( resource:2nd_stage_of_the_2016_Tour_of_Austria ) ( resource:2016_Vuelta_a_España,_Stage_17 ) } . ?k property:part_of ?z } . ?z rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20882755
P17
Q15617994
USER
Which administrative territories are that cycling race class a part of ?
(Q20882755,P17,c(Q15617994))
action filter_type
action find
entity Q20882755
relation P17
type Q15617994
['Q20882755', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q20882755 property:P17 ?z }
2016 Vuelta a España
action filter_type
action find
entity 2016 Vuelta a España
relation country
type designation for an administrative territorial entity
['2016 Vuelta a España', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:2016_Vuelta_a_España property:country ?z }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q20640109
SYSTEM
Did you mean 2016 Tour of Austria ?
Q20640109 Q20882755
(Q20640109,P17,c(Q15617994)) (Q20882755,P17,c(Q15617994))
[ANSWER]
['Q20640109', 'P17', {'concept': 'Q15617994'}] ['Q20882755', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q20882755 property:P17 ?z }
2016 Tour of Austria 2016 Vuelta a España
Did you mean 2016 Tour of Austria ?
2016 Tour of Austria
['2016 Tour of Austria', 'country', {'concept': 'designation for an administrative territorial entity'}] ['2016 Vuelta a España', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:2016_Vuelta_a_España property:country ?z }
[]
Simple Question (Coreferenced)
USER
No, I meant 2016 Vuelta a España. Could you tell me the answer for that?
(Q20882755,P17,c(Q15617994))
Q20882755
['Q20882755', 'P17', {'concept': 'Q15617994'}]
['2016 Vuelta a España', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142 Q29
SYSTEM
France, Spain
Q142 Q29
(Q20882755,P17,c(Q15617994))
action filter_type
action find
entity Q20882755
relation P17
type Q15617994
[ANSWERS] are that cycling race class a part of
['Q20882755', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q20882755 property:P17 ?z }
France Spain
France and Spain are that cycling race class a part of
France Spain
action filter_type
action find
entity 2016 Vuelta a España
relation country
type designation for an administrative territorial entity
['2016 Vuelta a España', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:2016_Vuelta_a_España property:country ?z }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q29358
P641
Q31629 Q500834 Q12973014
USER
Which types of sport did less number of tournaments or sports teams participate in than orienteering ?
(c(Q500834)|c(Q12973014),P641,c(Q31629))
action less
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q29358
relation P641
type Q500834
type Q12973014
[[{'concept': 'Q500834'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?z WHERE { { ?j property:P641 ?z . ?z rdf:type ontology:Q31629 . ?j rdf:type ontology:Q12973014 } UNION { ?j property:P641 ?z . ?z rdf:type ontology:Q31629 . ?j rdf:type ontology:Q500834 } } GROUP BY ?z } . FILTER ( ?w < ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:P641 resource:Q29358 . { VALUES ( ?h ) { ( ontology:Q500834 ) ( ontology:Q12973014 ) } . ?b rdf:type ?h } } } }
orienteering
action less
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_multi_types
action find_reverse
entity orienteering
relation sport
type tournament
type sports team
[[{'concept': 'tournament'}, {'concept': 'sports team'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?z WHERE { { ?j property:sport ?z . ?z rdf:type ontology:type_of_sport . ?j rdf:type ontology:sports_team } UNION { ?j property:sport ?z . ?z rdf:type ontology:type_of_sport . ?j rdf:type ontology:tournament } } GROUP BY ?z } . FILTER ( ?w < ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:sport resource:orienteering . { VALUES ( ?h ) { ( ontology:tournament ) ( ontology:sports_team ) } . ?b rdf:type ?h } } } }
[]
type of sport tournament 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 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 Q428242 Q162883 Q5300110
(c(Q500834)|c(Q12973014),P641,c(Q31629))
action less
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q29358
relation P641
type Q500834
type Q12973014
[ANSWERS] less number of tournaments or sports teams participated in than orienteering
[[{'concept': 'Q500834'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?z WHERE { { ?j property:P641 ?z . ?z rdf:type ontology:Q31629 . ?j rdf:type ontology:Q12973014 } UNION { ?j property:P641 ?z . ?z rdf:type ontology:Q31629 . ?j rdf:type ontology:Q500834 } } GROUP BY ?z } . FILTER ( ?w < ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:P641 resource:Q29358 . { VALUES ( ?h ) { ( ontology:Q500834 ) ( ontology:Q12973014 ) } . ?b rdf:type ?h } } } }
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 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 ski-orienteering free climbing double trap
High jump, marathon and 800 metres less number of tournaments or sports teams participated in than orienteering
high jump marathon 800 metres
action less
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_multi_types
action find_reverse
entity orienteering
relation sport
type tournament
type sports team
[[{'concept': 'tournament'}, {'concept': 'sports team'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?z WHERE { { ?j property:sport ?z . ?z rdf:type ontology:type_of_sport . ?j rdf:type ontology:sports_team } UNION { ?j property:sport ?z . ?z rdf:type ontology:type_of_sport . ?j rdf:type ontology:tournament } } GROUP BY ?z } . FILTER ( ?w < ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:sport resource:orienteering . { VALUES ( ?h ) { ( ontology:tournament ) ( ontology:sports_team ) } . ?b rdf:type ?h } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20640109
P1346
Q502895
USER
Which people were the winner of 2016 Tour of Austria ?
(Q20640109,P1346,c(Q502895))
action filter_type
action find
entity Q20640109
relation P1346
type Q502895
['Q20640109', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q20640109 property:P1346 ?y }
2016 Tour of Austria
action filter_type
action find
entity 2016 Tour of Austria
relation winner
type common name
['2016 Tour of Austria', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:2016_Tour_of_Austria property:winner ?y }
[]
common name
Q648076 Q17614937 Q2057952
SYSTEM
Alessandro Vanotti, Guillaume Martin, Patrick Schelling
Q17614937 Q648076 Q16637236 Q2057952 Q15260889
(Q20640109,P1346,c(Q502895))
action filter_type
action find
entity Q20640109
relation P1346
type Q502895
[ANSWERS] were the winner of 2016 Tour of Austria
['Q20640109', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q20640109 property:P1346 ?y }
Guillaume Martin Alessandro Vanotti Frederik Backaert Patrick Schelling Jan Hirt
Alessandro Vanotti, Guillaume Martin and Patrick Schelling were the winner of 2016 Tour of Austria
Alessandro Vanotti Guillaume Martin Patrick Schelling
action filter_type
action find
entity 2016 Tour of Austria
relation winner
type common name
['2016 Tour of Austria', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:2016_Tour_of_Austria property:winner ?y }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6500772
Q502895
USER
And what about Laurence Olivier Award for Best Actor in a Supporting Role?
(Q6500772,P1346,c(Q502895))
action filter_type
action find
entity Q6500772
relation P1346
type Q502895
['Q6500772', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q6500772 property:P1346 ?g }
Laurence Olivier Award for Best Actor in a Supporting Role
action filter_type
action find
entity Laurence Olivier Award for Best Actor in a Supporting Role
relation winner
type common name
['Laurence Olivier Award for Best Actor in a Supporting Role', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Laurence_Olivier_Award_for_Best_Actor_in_a_Supporting_Role property:winner ?g }
[]
common name
Q342419 Q16296 Q28288
SYSTEM
Toby Jones, Patrick Stewart, Eddie Redmayne
Q3934844 Q499644 Q6113745 Q1242707 Q5344838 Q320073 Q609458 Q208746 Q2156972 Q28288 Q1669482 Q563895 Q5240418 Q722927 Q1174699 Q16019035 Q342419 Q2424994 Q16296 Q345950 Q269589 Q15509115
(Q6500772,P1346,c(Q502895))
action filter_type
action find
entity Q6500772
relation P1346
type Q502895
[ANSWERS]
['Q6500772', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q6500772 property:P1346 ?g }
Richard McCabe Julian Glover Jack Lowden Adrian Scarborough Edward Petherbridge David Bradley Ben Daniels Nathaniel Parker Robert Eddison Eddie Redmayne Joe Melia Oleg Menshikov David Threlfall Ken Stott David Healy Alan Devlin Toby Jones Roger Allam Patrick Stewart Trevor Eve Nigel Hawthorne Joseph Mydell
Toby Jones Patrick Stewart Eddie Redmayne
action filter_type
action find
entity Laurence Olivier Award for Best Actor in a Supporting Role
relation winner
type common name
['Laurence Olivier Award for Best Actor in a Supporting Role', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Laurence_Olivier_Award_for_Best_Actor_in_a_Supporting_Role property:winner ?g }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1257981
P725
Q502895 Q5398426
USER
Which television series did approximately the same number of people dub for as Birdy the Mighty ?
(c(Q5398426),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q1257981
relation P725
type Q5398426
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?l ) WHERE { ?j property:P725 ?k . ?j rdf:type ontology:Q5398426 . ?k rdf:type ontology:Q502895 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:Q1257981 property:P725 ?y . ?y rdf:type ontology:Q5398426 } } . FILTER ( ?l = ?e ) }
Birdy the Mighty
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Birdy the Mighty
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?l ) WHERE { ?j property:voice_actor ?k . ?j rdf:type ontology:television_series . ?k rdf:type ontology:common_name } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:Birdy_the_Mighty property:voice_actor ?y . ?y rdf:type ontology:television_series } } . FILTER ( ?l = ?e ) }
[]
common name television series
Q483803 Q1065178 Q1013388
SYSTEM
Daily Lives of High School Boys, Sketchbook, Telepathy Shōjo Ran Jiken Note
Q2564733 Q602721 Q15148562 Q1317227 Q2583218 Q1149942 Q1723828 Q184352 Q7445961 Q487695 Q2349865 Q3211469 Q483557 Q95063 Q2633652 Q483803 Q2791605 Q1314527 Q1107025 Q1107521 Q7480931 Q483724 Q494804 Q483547 Q1141789 Q844599 Q582630 Q1837327 Q24045770 Q199073 Q752495 Q15574647 Q539284 Q425550 Q182476 Q1060695 Q1191236 Q2318266 Q133532 Q482551 Q900553 Q602434 Q1132147 Q1202916 Q1816558 Q1055370 Q486623 Q492884 Q3271710 Q482796 Q1335290 Q488467 Q2030675 Q1135764 Q1834 Q182662 Q7094371 Q2855268 Q3565008 Q2539006 Q645307 Q5356268 Q2522289 Q11320196 Q2607852 Q1191938 Q1159317 Q736163 Q3980545 Q698229 Q696524 Q9385099 Q1523630 Q482802 Q642944 Q701372 Q1058984 Q865498 Q2539030 Q1580513 Q488438 Q854973 Q482872 Q484259 Q1143991 Q11255631 Q862850 Q696986 Q5158632 Q1052846 Q483375 Q431930 Q699819 Q170019 Q268512 Q1339165 Q1141838 Q1554117 Q1367069 Q1348627 Q494610 Q596883 Q2390297 Q385129 Q2756199 Q536416 Q987783 Q185012 Q6941258 Q8916464 Q137002 Q10890355 Q5653026 Q11519613 Q717382 Q11179499 Q810437 Q2088696 Q1087664 Q484518 Q11387159 Q482865 Q611650 Q1091743 Q1309696 Q944258 Q484515 Q1188003 Q11332238 Q493744 Q368608 Q709673 Q540497 Q830771 Q868899 Q2482070 Q199224 Q1778816 Q713975 Q116122 Q1013388 Q333687 Q1317129 Q482466 Q1186628 Q724155 Q1141816 Q632746 Q1514362 Q1194085 Q11621483 Q606180 Q2566529 Q708174 Q2626017 Q1073660 Q776574 Q483585 Q4251500 Q7447123 Q275676 Q196214 Q1750516 Q2663915 Q2584248 Q7820714 Q495919 Q143830 Q1350885 Q764135 Q1617849 Q485199 Q614495 Q838203 Q608660 Q703031 Q664845 Q2083163 Q1657773 Q1200040 Q700203 Q1202553 Q593049 Q618974 Q705053 Q11571242 Q308035 Q495450 Q931319 Q11275607 Q2498954 Q540997 Q1743797 Q11147846 Q491841 Q2619218 Q590129 Q2499784 Q485753 Q281062 Q735669 Q1790241 Q1477323 Q1091195 Q794345 Q91802 Q1186554 Q615650 Q2043633 Q2578383 Q1137447 Q1051427 Q4185849 Q2756865 Q2418770 Q3211549 Q2419200 Q527398 Q2634885 Q5680972 Q1742099 Q1257981 Q702014 Q1065178 Q1209267 Q385161 Q582788 Q14318175
(c(Q5398426),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q1257981
relation P725
type Q5398426
[ANSWERS] approximately the same number of people dubbed for as Birdy the Mighty
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?l ) WHERE { ?j property:P725 ?k . ?j rdf:type ontology:Q5398426 . ?k rdf:type ontology:Q502895 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:Q1257981 property:P725 ?y . ?y rdf:type ontology:Q5398426 } } . FILTER ( ?l = ?e ) }
Idaten Jump Shugo Chara! Hamatora I Don't Like You at All, Big Brother! Senyu Sket Dance انیمه Kannagi: Crazy Shrine Maidens Ore no Kanojo to Osananajimi ga Shuraba Sugiru Encouragement of Climb Un-Go Hiwou War Chronicles I Couldn’t Become a Hero, So I Reluctantly Decided to Get a Job. Level E Planetes Place to Place Daily Lives of High School Boys Valvrave the Liberator Sumomomo Momomo A Penguin's Troubles Natsuiro Kiseki Yuyushiki MM! Hanasaku Iroha Mitsudomoe Fate/Zero Sayonara Zetsubō Sensei Sgt. Frog Jinrui wa Suitaishimashita Beyblade Tokyo Ravens Asura Cryin' Tesagure! Bukatsu-mono Kaleido Star Steel Angel Kurumi Code:Breaker Ginga e Kickoff!! Infinite Ryvius Oniisama e... Btooom! Kämpfer Yurumates Idolmaster: Xenoglossia Lilpri Working!! Monochrome Factor Mushishi Nekogami Yaoyorozu The "Hentai" Prince and the Stony Cat. Senki Zesshō Symphogear The World God Only Knows Medaka Box Ben-To Witchblade Softenni Death Note The Flowers of Evil Onmyō Taisenki GJ-bu Mushibugyō Blue Seed Di Gi Charat No-Rin I My Me! Strawberry Eggs D-Frag! Sasameki Koto Kyō no Go no Ni Dance in the Vampire Bund Blue Drop Tamagotchi! Kenichi: The Mightiest Disciple MÄR Kyōkai no Kanata Occult Academy IS (Infinite Stratos) Negima! Magister Negi Magi Wedding Peach Kingdom Powerpuff Girls Z Gate Keepers Say 'I love you' Kokoro Connect Yoshinaga-san Chi no Gargoyle Wandering Son Kamisama Hajimemashita Night Wizard! Z/X Reborn! Beelzebub Kagihime Monogatari Eikyū Alice Rondo Last Exile The Sacred Blacksmith Noein El-Hazard D.Gray-man Sacred Seven Hyōka Maid Sama! Guin Saga Hyakka Ryōran Samurai Girls Nabari no Ou Guilty Crown Immortal Grand Prix Black Heaven Sankarea Ixion Saga DT First Love Limited Wan Wan Celeb Soreyuke! Tetsunoshin Mondai-Ji-tachi ga Isekai Kara Kuru Sō Desu yo? Mushi-Uta Servant x Service Recorder and Randsell Shining Hearts: Shiawase no Pan Happy Seven Mikakunin de Shinkōkei Madō King Granzort Black Bullet Basquash! Suzuka Chrome Shelled Regios The Legend of the Legendary Heroes Kenzen Robo Daimidaler Dog Days Karneval Double-J Living for the Day After Tomorrow Yumeiro Patissiere Dragon Crisis! Cardfight!! Vanguard Fantasista Doll Anyamaru Tantei Kiruminzuu Campione! Bakusō Kyōdai Let's & Go!! Kenkō Zenrakei Suieibu Umishō Highschool of the Dead Pandora Hearts Miss Machiko Cuticle Detective Inaba Koi Kaze Nintama Rantarō Hayate the Combat Butler Telepathy Shōjo Ran Jiken Note Chō Soku Henkei Gyrozetter Haré+Guu Maria-sama ga Miteru Moshidora Asobi ni iku yo! Fushigiboshi no Futagohime Bakugan Battle Brawlers Princess Resurrection Nura: Rise of the Yokai Clan Arpeggio of Blue Steel Maria Holic Himawari! Mashin Hero Wataru Aesthetica of a Rogue Hero Tamayura Persona : Trinity Soul Denpa Onna to Seishun Otoko Kocchi Muite! Miiko Wanna be the Strongest in the World Digimon Fusion Is This a Zombie? Kamen no Maid Guy Dazzle Akikan! Tona-Gura! Blue Exorcist Detective School Q Queen's Blade Rebellion Gin Tama High School DxD Someday's Dreamers Sekirei Gdgd Fairies Needless Baby and Me Pumpkin Scissors Teekyu Inu x Boku SS Nagasarete Airantou Mirmo! Suite PreCure Minami-ke Umi Monogatari: Anata ga Ite Kureta Koto Otome Yōkai Zakuro Inugami-san to Nekoyama-san XxxHolic Demon King Daimao Manyū Hiken-chō Happy Kappy The Ambition of Oda Nobuna Net Ghost PiPoPa Kissxsis Noragami Kono Naka ni Hitori, Imōto ga Iru! Yozakura Quartet Mobile Suit Victory Gundam Red Garden Mayoi Neko Overrun! The Qwaser of Stigmata Dragon Ball GT Rumic Theater Speed Grapher Chu-Bra!! Beyblade: Metal Fusion Aria And Yet The Town Moves Aoi Hana Majestic Prince Coppelion Emma Goshūshō-sama Ninomiya-kun Gokujyo NG Knight Lamune & 40 Fancy Lala Hakkenden: Eight Dogs of the East Tokimeki Memorial Only Love MegaMan NT Warrior Jewelpet The Devil Is a Part-Timer! Jing: King of Bandits Birdy the Mighty Little Women II: Jo's Boys Sketchbook Kaiketsu Zorori Ōkami-san Saki Riddle Story of Devil
Daily Lives of High School Boys, Sketchbook and Telepathy Shōjo Ran Jiken Note approximately the same number of people dubbed for as Birdy the Mighty
Daily Lives of High School Boys Sketchbook Telepathy Shōjo Ran Jiken Note
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Birdy the Mighty
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?l ) WHERE { ?j property:voice_actor ?k . ?j rdf:type ontology:television_series . ?k rdf:type ontology:common_name } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:Birdy_the_Mighty property:voice_actor ?y . ?y rdf:type ontology:television_series } } . FILTER ( ?l = ?e ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q31629 Q13406554 Q18608583
USER
Which types of sport were atmost 541 sport competitions and recurring sporting events a part of ?
(c(Q13406554)|c(Q18608583),P641,c(Q31629))
action atmost
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
value 541
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?p WHERE { { ?l property:P641 ?p . ?p rdf:type ontology:Q31629 . ?l rdf:type ontology:Q13406554 } UNION { ?l property:P641 ?p . ?p rdf:type ontology:Q31629 . ?l rdf:type ontology:Q18608583 } } GROUP BY ?p } . FILTER ( ?y <= 541 ) }
action atmost
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
value 541
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?p WHERE { { ?l property:sport ?p . ?p rdf:type ontology:type_of_sport . ?l rdf:type ontology:sport_competition } UNION { ?l property:sport ?p . ?p rdf:type ontology:type_of_sport . ?l rdf:type ontology:recurring_sporting_event } } GROUP BY ?p } . FILTER ( ?y <= 541 ) }
[]
type of sport sport competition recurring sporting event
Q216613 Q165704 Q40244
SYSTEM
Nordic skiing, high jump, marathon
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q10980 Q217108 Q164731 Q11706688 Q14085739 Q631004 Q672066 Q1293 Q29358 Q211155 Q191691 Q3817372 Q166788 Q326827 Q178131 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q32485 Q706199 Q919072 Q216613 Q207238 Q2094083 Q675770 Q692853 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q2164355 Q917562 Q164761 Q542 Q1798044 Q718 Q1209037 Q179687 Q1707432 Q352749 Q272460 Q1075998 Q1141850 Q774176 Q159354 Q1629556 Q40244 Q14554839 Q172809 Q16629853 Q520611 Q335638 Q1423069 Q465014 Q186222 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q273285 Q50620 Q31987 Q2891117 Q179226 Q1128216 Q7735 Q11015 Q428242 Q48890 Q162883 Q5300110
(c(Q13406554)|c(Q18608583),P641,c(Q31629))
action atmost
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
value 541
[ANSWERS] were atmost 541 sport competitions and recurring sporting events a part of
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?p WHERE { { ?l property:P641 ?p . ?p rdf:type ontology:Q31629 . ?l rdf:type ontology:Q13406554 } UNION { ?l property:P641 ?p . ?p rdf:type ontology:Q31629 . ?l rdf:type ontology:Q18608583 } } GROUP BY ?p } . FILTER ( ?y <= 541 ) }
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 orienteering 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 Nordic skiing rafting kayaking stadion Flag football freestyle skiing synchronized swimming freestyle wrestling high jump Acrobatic gymnastics skeet shooting roller sport carom billiards 100 metres athletics Olympic skeet chess Modern competitive archery cross-country skiing roller skating sprint Pilates ski mountaineering canoe racing Keirin rowing 1000 metres marathon competitive fencing ten-pin bowling Mixed Doubles mountain biking cyclo-cross canoe camping trampolining alpine skiing para cycling pool Roller skiing 10,000 metres Sport aerobics ice skating luge Telemark skiing freestyle swimming dragon boat sport equestrianism wheelchair basketball diving snooker ski-orienteering college basketball free climbing double trap
Nordic skiing, high jump and marathon were atmost 541 sport competitions and recurring sporting events a part of
Nordic skiing high jump marathon
action atmost
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
value 541
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?p WHERE { { ?l property:sport ?p . ?p rdf:type ontology:type_of_sport . ?l rdf:type ontology:sport_competition } UNION { ?l property:sport ?p . ?p rdf:type ontology:type_of_sport . ?l rdf:type ontology:recurring_sporting_event } } GROUP BY ?p } . FILTER ( ?y <= 541 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1444
Q14524493 Q31629
USER
How many terrains do the journey end for atleast 1 type of sport ?
(c(Q31629),P1444,c(Q14524493))
action count
action atleast
action find_reverse_tuple_counts
relation P1444
type Q14524493
type Q31629
value 1
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { FILTER ( ?r >= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P1444 ?u . ?u rdf:type ontology:Q14524493 . ?e rdf:type ontology:Q31629 } GROUP BY ?u } }
action count
action atleast
action find_reverse_tuple_counts
relation destination point
type terrain
type type of sport
value 1
[{'concept': 'type of sport'}, 'destination point', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { FILTER ( ?r >= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:destination_point ?u . ?u rdf:type ontology:terrain . ?e rdf:type ontology:type_of_sport } GROUP BY ?u } }
[]
terrain type of sport
SYSTEM
11
Q3861976 Q699291 Q7511639 Q2842559 Q1122701 Q15622232 Q539792 Q3321710 Q22038925 Q8537932 Q913368
(c(Q31629),P1444,c(Q14524493))
action count
action atleast
action find_reverse_tuple_counts
relation P1444
type Q14524493
type Q31629
value 1
[ANSWER]
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { FILTER ( ?r >= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P1444 ?u . ?u rdf:type ontology:Q14524493 . ?e rdf:type ontology:Q31629 } GROUP BY ?u } }
Monte San Vicino Arrate Sierra de Cazorla Kluisberg Montjuïc La Camperona Monte Naranco mount Brouilly Cerro El Amago Peña Cabarga Fóia
11
action count
action atleast
action find_reverse_tuple_counts
relation destination point
type terrain
type type of sport
value 1
[{'concept': 'type of sport'}, 'destination point', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { FILTER ( ?r >= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:destination_point ?u . ?u rdf:type ontology:terrain . ?e rdf:type ontology:type_of_sport } GROUP BY ?u } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16296
P127
Q7743
USER
Which home is owned by Patrick Stewart ?
(c(Q7743),P127,Q16296)
action filter_type
action find_reverse
entity Q16296
relation P127
type Q7743
[{'concept': 'Q7743'}, 'P127', 'Q16296']
SELECT DISTINCT ?b WHERE { ?b property:P127 resource:Q16296 . ?b rdf:type ontology:Q7743 }
Patrick Stewart
action filter_type
action find_reverse
entity Patrick Stewart
relation owned by
type home
[{'concept': 'home'}, 'owned by', 'Patrick Stewart']
SELECT DISTINCT ?b WHERE { ?b property:owned_by resource:Patrick_Stewart . ?b rdf:type ontology:home }
[]
home
Q2278591
SYSTEM
Scalloway Castle
Q2278591
(c(Q7743),P127,Q16296)
action filter_type
action find_reverse
entity Q16296
relation P127
type Q7743
Castle [ANSWER] is owned by Patrick Stewart
[{'concept': 'Q7743'}, 'P127', 'Q16296']
SELECT DISTINCT ?b WHERE { ?b property:P127 resource:Q16296 . ?b rdf:type ontology:Q7743 }
Scalloway Castle
Castle Scalloway Castle is owned by Patrick Stewart
Scalloway Castle
action filter_type
action find_reverse
entity Patrick Stewart
relation owned by
type home
[{'concept': 'home'}, 'owned by', 'Patrick Stewart']
SELECT DISTINCT ?b WHERE { ?b property:owned_by resource:Patrick_Stewart . ?b rdf:type ontology:home }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P840
Q838948
USER
Which works of art have a setting location of France ?
(c(Q838948),P840,Q142)
action filter_type
action find_reverse
entity Q142
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q142']
SELECT DISTINCT ?w WHERE { ?w property:P840 resource:Q142 . ?w rdf:type ontology:Q838948 }
France
action filter_type
action find_reverse
entity France
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'France']
SELECT DISTINCT ?w WHERE { ?w property:narrative_location resource:France . ?w rdf:type ontology:work_of_art }
[]
work of art
Q165817 Q218589 Q508931
SYSTEM
Saving Private Ryan, War Horse, The Three Musketeers
Q17363277 Q7438931 Q3335678 Q7740486 Q165817 Q218589 Q17986183 Q508931
(c(Q838948),P840,Q142)
action filter_type
action find_reverse
entity Q142
relation P840
type Q838948
[ANSWERS] have a setting location of France
[{'concept': 'Q838948'}, 'P840', 'Q142']
SELECT DISTINCT ?w WHERE { ?w property:P840 resource:Q142 . ?w rdf:type ontology:Q838948 }
Kvadrat Screaming Eagles Mozart's Sister The Hour of the Pig Saving Private Ryan War Horse By the Sea The Three Musketeers
Saving Private Ryan, War Horse and The Three Musketeers have a setting location of France
Saving Private Ryan War Horse The Three Musketeers
action filter_type
action find_reverse
entity France
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'France']
SELECT DISTINCT ?w WHERE { ?w property:narrative_location resource:France . ?w rdf:type ontology:work_of_art }
[]