Simple Question (Direct)
Simple Question
Q174470
P641
Q349
USER
What was the sport that Dan LaCosta was a part of ?
(Q174470,P641,c(Q349))
action filter_type
action find
entity Q174470
relation P641
type Q349
['Q174470', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q174470 property:P641 ?f . ?f rdf:type ontology:Q349 }
Dan LaCosta
action filter_type
action find
entity Dan LaCosta
relation sport
type sport
['Dan LaCosta', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Dan_LaCosta property:sport ?f . ?f rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q174470,P641,c(Q349))
action filter_type
action find
entity Q174470
relation P641
type Q349
The sport that Dan LaCosta was a part of was h [ANSWER]
['Q174470', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q174470 property:P641 ?f . ?f rdf:type ontology:Q349 }
ice hockey
The sport that Dan LaCosta was a part of was h ice hockey
ice hockey
action filter_type
action find
entity Dan LaCosta
relation sport
type sport
['Dan LaCosta', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Dan_LaCosta property:sport ?f . ?f rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174470
P54
Q12973014
USER
Which sports team is Dan LaCosta a member of ?
(Q174470,P54,c(Q12973014))
action filter_type
action find
entity Q174470
relation P54
type Q12973014
['Q174470', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12973014 . resource:Q174470 property:P54 ?a }
Dan LaCosta
action filter_type
action find
entity Dan LaCosta
relation member of sports team
type sports team
['Dan LaCosta', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sports_team . resource:Dan_LaCosta property:member_of_sports_team ?a }
[]
sports team
Q207507
SYSTEM
Columbus Blue Jackets
Q207507
(Q174470,P54,c(Q12973014))
action filter_type
action find
entity Q174470
relation P54
type Q12973014
The [ANSWER] is Dan LaCosta a member of
['Q174470', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12973014 . resource:Q174470 property:P54 ?a }
Columbus Blue Jackets
The Columbus Blue Jackets is Dan LaCosta a member of
Columbus Blue Jackets
action filter_type
action find
entity Dan LaCosta
relation member of sports team
type sports team
['Dan LaCosta', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sports_team . resource:Dan_LaCosta property:member_of_sports_team ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q207507 Q1237093
P17
Q1048835
USER
How many political territories are Columbus Blue Jackets or Wringen a part of ?
(Q207507,P17,c(Q1048835)) (Q1237093,P17,c(Q1048835))
action count
action union
action filter_type
action find
entity Q207507
relation P17
type Q1048835
action filter_type
action find
entity Q1237093
relation P17
type Q1048835
['Q207507', 'P17', {'concept': 'Q1048835'}] ['Q1237093', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { resource:Q207507 property:P17 ?x . ?x rdf:type ontology:Q1048835 } UNION { resource:Q1237093 property:P17 ?x . ?x rdf:type ontology:Q1048835 } }
Columbus Blue Jackets Wringen
action count
action union
action filter_type
action find
entity Columbus Blue Jackets
relation country
type political territorial entity
action filter_type
action find
entity Wringen
relation country
type political territorial entity
['Columbus Blue Jackets', 'country', {'concept': 'political territorial entity'}] ['Wringen', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { resource:Columbus_Blue_Jackets property:country ?x . ?x rdf:type ontology:political_territorial_entity } UNION { resource:Wringen property:country ?x . ?x rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
SYSTEM
2
Q183 Q40
(Q207507,P17,c(Q1048835)) (Q1237093,P17,c(Q1048835))
action count
action union
action filter_type
action find
entity Q207507
relation P17
type Q1048835
action filter_type
action find
entity Q1237093
relation P17
type Q1048835
[ANSWER]
['Q207507', 'P17', {'concept': 'Q1048835'}] ['Q1237093', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { resource:Q207507 property:P17 ?x . ?x rdf:type ontology:Q1048835 } UNION { resource:Q1237093 property:P17 ?x . ?x rdf:type ontology:Q1048835 } }
Germany Austria
2
action count
action union
action filter_type
action find
entity Columbus Blue Jackets
relation country
type political territorial entity
action filter_type
action find
entity Wringen
relation country
type political territorial entity
['Columbus Blue Jackets', 'country', {'concept': 'political territorial entity'}] ['Wringen', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { resource:Columbus_Blue_Jackets property:country ?x . ?x rdf:type ontology:political_territorial_entity } UNION { resource:Wringen property:country ?x . ?x rdf:type ontology:political_territorial_entity } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q3918 Q618123 Q12973014
USER
Which sports teams are a component of around 1 universities and geographical objects ?
(c(Q12973014),P361,c(Q3918)|c(Q618123))
action approx
action union
action find_tuple_counts
relation P361
type Q12973014
type Q3918
action find_tuple_counts
relation P361
type Q12973014
type Q618123
value 1
[{'concept': 'Q12973014'}, 'P361', [{'concept': 'Q3918'}, {'concept': 'Q618123'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?e ) WHERE { { ?y property:P361 ?p . ?y rdf:type ontology:Q12973014 . ?p rdf:type ontology:Q3918 } UNION { ?y property:P361 ?p . ?p rdf:type ontology:Q618123 . ?y rdf:type ontology:Q12973014 } } GROUP BY ?y } }
action approx
action union
action find_tuple_counts
relation part of
type sports team
type university
action find_tuple_counts
relation part of
type sports team
type geographical object
value 1
[{'concept': 'sports team'}, 'part of', [{'concept': 'university'}, {'concept': 'geographical object'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?e ) WHERE { { ?y property:part_of ?p . ?y rdf:type ontology:sports_team . ?p rdf:type ontology:university } UNION { ?y property:part_of ?p . ?p rdf:type ontology:geographical_object . ?y rdf:type ontology:sports_team } } GROUP BY ?y } }
[]
university geographical object sports team
Q8383824 Q2049524 Q922432
SYSTEM
Aris Thessaloniki B.C., Panionios B.C., Olympiacos Water Polo Club
Q17098475 Q6686164 Q16683843 Q8383824 Q2449917 Q6686175 Q2443717 Q847701 Q2819480 Q1635382 Q949399 Q18704184 Q6827387 Q2049524 Q23760224 Q3365302 Q922432 Q18343671
(c(Q12973014),P361,c(Q3918)|c(Q618123))
action approx
action union
action find_tuple_counts
relation P361
type Q12973014
type Q3918
action find_tuple_counts
relation P361
type Q12973014
type Q618123
value 1
[ANSWERS] are a component of around 1 universities and geographical objects
[{'concept': 'Q12973014'}, 'P361', [{'concept': 'Q3918'}, {'concept': 'Q618123'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?e ) WHERE { { ?y property:P361 ?p . ?y rdf:type ontology:Q12973014 . ?p rdf:type ontology:Q3918 } UNION { ?y property:P361 ?p . ?p rdf:type ontology:Q618123 . ?y rdf:type ontology:Q12973014 } } GROUP BY ?y } }
RK Mornar Bar Loughborough MCC University ZMC Amicitia Zürich Aris Thessaloniki B.C. Tranås AIF Hockey Loughborough Students RUFC KK Mornar Bar Olympiacos B.C. ASUL Vaulx-en-Velin Legia Warszawa Legia Warsaw Karlsruher SC II Miami RedHawks men's basketball Panionios B.C. New York Athletic Club Paris Université Club Olympiacos Water Polo Club Melli Haffari Ahvaz Basketball Club
Aris Thessaloniki B.C., Panionios B.C. and Olympiacos Water Polo Club are a component of around 1 universities and geographical objects
Aris Thessaloniki B.C. Panionios B.C. Olympiacos Water Polo Club
action approx
action union
action find_tuple_counts
relation part of
type sports team
type university
action find_tuple_counts
relation part of
type sports team
type geographical object
value 1
[{'concept': 'sports team'}, 'part of', [{'concept': 'university'}, {'concept': 'geographical object'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?e ) WHERE { { ?y property:part_of ?p . ?y rdf:type ontology:sports_team . ?p rdf:type ontology:university } UNION { ?y property:part_of ?p . ?p rdf:type ontology:geographical_object . ?y rdf:type ontology:sports_team } } GROUP BY ?y } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P54
Q502895
USER
How many people plays for that sports team ?
(c(Q502895),P54,Q2049524)
[{'concept': 'Q502895'}, 'P54', 'Q2049524']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P54 resource:Q2049524 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'member of sports team', 'Panionios B.C.']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:member_of_sports_team resource:Panionios_B.C. . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q922432
SYSTEM
Did you mean Olympiacos Water Polo Club ?
(c(Q502895),P54,Q8383824) (c(Q502895),P54,Q2049524) (c(Q502895),P54,Q922432)
[ANSWER]
[{'concept': 'Q502895'}, 'P54', 'Q8383824'] [{'concept': 'Q502895'}, 'P54', 'Q2049524'] [{'concept': 'Q502895'}, 'P54', 'Q922432']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P54 resource:Q2049524 . ?z rdf:type ontology:Q502895 }
Did you mean Olympiacos Water Polo Club ?
Olympiacos Water Polo Club
[{'concept': 'common name'}, 'member of sports team', 'Aris Thessaloniki B.C.'] [{'concept': 'common name'}, 'member of sports team', 'Panionios B.C.'] [{'concept': 'common name'}, 'member of sports team', 'Olympiacos Water Polo Club']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:member_of_sports_team resource:Panionios_B.C. . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Panionios B.C.. Could you tell me the answer for that?
(c(Q502895),P54,Q2049524)
Q2049524
[{'concept': 'Q502895'}, 'P54', 'Q2049524']
[{'concept': 'common name'}, 'member of sports team', 'Panionios B.C.']
[]
SYSTEM
141
Q2407242 Q3217083 Q372500 Q1296648 Q6062024 Q729453 Q5277584 Q3675545 Q2501000 Q4813239 Q2016441 Q393404 Q6874042 Q4806036 Q528585 Q6833366 Q798290 Q926337 Q7916964 Q14907398 Q524883 Q7916956 Q2060069 Q505136 Q3538248 Q4816406 Q8991274 Q978439 Q3341829 Q7606993 Q1441343 Q6765488 Q448029 Q177151 Q317050 Q1584499 Q14625005 Q1648028 Q1115192 Q1856664 Q7581801 Q7916662 Q128197 Q556821 Q3752021 Q3559036 Q1465576 Q3892967 Q7247672 Q1463557 Q21066497 Q557148 Q3810769 Q3761260 Q3707767 Q2736739 Q304565 Q2618508 Q14324145 Q12880401 Q10773317 Q1362904 Q3765867 Q3792435 Q17492572 Q2735584 Q709907 Q332434 Q1449836 Q535456 Q2335631 Q3876996 Q3210029 Q1621585 Q7861942 Q3562852 Q1389621 Q1463338 Q934948 Q4755486 Q734762 Q8992274 Q6505868 Q8992263 Q3849533 Q2717354 Q1440606 Q1635332 Q1620299 Q1869647 Q2834391 Q2333450 Q135109 Q1650846 Q628422 Q2024453 Q1661518 Q20745065 Q4008567 Q8992282 Q2604634 Q2569502 Q20744704 Q7611723 Q599377 Q5552619 Q4008929 Q1091369 Q3765860 Q761392 Q1267570 Q1618113 Q3973346 Q377852 Q605713 Q8072810 Q2838055 Q1287593 Q251532 Q935772 Q2401592 Q1389713 Q3716761 Q4721441 Q3162963 Q3640045 Q3804791 Q2343394 Q32187 Q3930034 Q7939008 Q720041 Q1362765 Q1632060 Q2351523 Q3810732 Q516837 Q2532920 Q1226046 Q4717840 Q2331907
(c(Q502895),P54,Q2049524)
[ANSWER]
[{'concept': 'Q502895'}, 'P54', 'Q2049524']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P54 resource:Q2049524 . ?z rdf:type ontology:Q502895 }
Harper Williams Landon Milbourne Dušan Ivković Stratos Perperoglou Ioannis Georgallis Kennedy Winston Dimitrios Katiakos Chris Owens Zoran Erceg Athanasios Skourtopoulos Fedon Matheou Žarko Paspalj Miroslav Pecarski Ashton Gibbs Brad Newley Michael Paragyios Fanis Christodoulou Byron Mullens Vassilis Simtsak Kostas Missas Evangelos Koronios Vassilis Kikilias Jon Diebler Paul Shirley Travon Bryant Chris Booker Ioannis Athinaiou Goran Nikolić Nikos Linardos Stelios Ioannou Andre Hutson Marios Batis Georgios Bogris Dimos Dikoudis Theodoros Papaloukas Aaron Miles Christos Saloustros Vladimir Micov Laurent Sciarra Vassil Evtimov Spyros Motsenigos Vasileios Kavvadas Makis Dendrinos Charis Giannopoulos Frankie King Giorgos Diamantopoulos Giorgos Sigalas Panagiotis Kafkis Prodromos Dreliozis Mateen Cleaves Kostas Oikonomopoulos P. J. Brown Juan Antonio Morales Gerry McNamara Dimitrios Marmarinos Mark Landsberger Ruben Douglas Giorgos Karagoutis Dimitrios Agravanis Marios Dimadis Luke Hancock Nikos Oikonomou Giorgos Papadakos Igor Moraitis Dimitrios Stamatis Chinemelu Elonu Miloš Vujanić Jeff McInnis Giannis Giannoulis Alexis Kyritsis Boban Janković Nikos Pappas Nikos Barlos Kenyon Jones Tzanis Stavrakopoulos Christos Christodoulou Rashad Wright Travis Mays Georgios Bartzokas Andreas Kanonidis Panagiotis Giannakis Ioannis Athanasoulas Lazaros Agadakos Ioannis Sfairopoulos Mark Payne Ender Arslan Dejan Borovnjak Ioannis Kalampokis Takis Koroneos Lonny Baxter Alexi Giannoulias Johnny Newman Christos Tapoutos Byron Dinkins Geert Hammink Georgios Kalaitzis Thurl Bailey Dimitrios Moraitis Evangelos Sklavos Gintaras Kadžiulis Levon Kendall Nenad Marković Alexandros Sigounas Stevan Nađfeji Giorgos Gasparis Gerrod Henderson Vasilis Soulis Aleksandar Ćapin Giorgos Bosganas Dimitrios Mavroeidis Dušan Šakota Amal McCaskill Steve Henson Duane Cooper Kristaps Valters Zisis Sarikopoulos Giorgos Tsiaras Branko Cvetković Giannis Sioutis Donnell Harvey Henry Turner Nikos Chatzis Dušan Jelić Alexis Falekas Jason Lawson Billy Keys Ivan Zoroski John Wallace Gaios Skordilis Randolph Keys Vlantimir Giankovits Gabe Pruitt Vassilis Xanthopoulos Miroslav Raičević Mitchell Wiggins João Santos Ed Stokes Travis Watson Dimitrios Papanikolaou Alex Stepheson Chris Jent
141
[{'concept': 'common name'}, 'member of sports team', 'Panionios B.C.']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:member_of_sports_team resource:Panionios_B.C. . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P641
Q31629 Q12973014
USER
How many types of sport were approximately 23 sports teams a part of ?
(c(Q12973014),P641,c(Q31629))
action count
action approx
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
value 23
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:P641 ?v . ?v rdf:type ontology:Q31629 . ?e rdf:type ontology:Q12973014 } GROUP BY ?v } . FILTER ( ?m = 23 ) }
action count
action approx
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
value 23
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:sport ?v . ?v rdf:type ontology:type_of_sport . ?e rdf:type ontology:sports_team } GROUP BY ?v } . FILTER ( ?m = 23 ) }
[]
type of sport sports team
SYSTEM
2
Q542 Q1128216
(c(Q12973014),P641,c(Q31629))
action count
action approx
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
value 23
[ANSWER]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:P641 ?v . ?v rdf:type ontology:Q31629 . ?e rdf:type ontology:Q12973014 } GROUP BY ?v } . FILTER ( ?m = 23 ) }
athletics wheelchair basketball
2
action count
action approx
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
value 23
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:sport ?v . ?v rdf:type ontology:type_of_sport . ?e rdf:type ontology:sports_team } GROUP BY ?v } . FILTER ( ?m = 23 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3609
P641
Q31629 Q12973014
USER
Which types of sport did less number of sports teams participate in than road bicycle racing ?
(c(Q12973014),P641,c(Q31629))
action less
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_type
action find_reverse
entity Q3609
relation P641
type Q31629
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:P641 ?s . ?n rdf:type ontology:Q12973014 . ?s rdf:type ontology:Q31629 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { ?m property:P641 resource:Q3609 . ?m rdf:type ontology:Q31629 } } . FILTER ( ?d < ?q ) }
road bicycle racing
action less
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_type
action find_reverse
entity road bicycle racing
relation sport
type type of sport
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:sport ?s . ?n rdf:type ontology:sports_team . ?s rdf:type ontology:type_of_sport } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { ?m property:sport resource:road_bicycle_racing . ?m rdf:type ontology:type_of_sport } } . FILTER ( ?d < ?q ) }
[]
type of sport sports team
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(Q12973014),P641,c(Q31629))
action less
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_type
action find_reverse
entity Q3609
relation P641
type Q31629
[ANSWERS] less number of sports teams participated in than road bicycle racing
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:P641 ?s . ?n rdf:type ontology:Q12973014 . ?s rdf:type ontology:Q31629 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { ?m property:P641 resource:Q3609 . ?m rdf:type ontology:Q31629 } } . FILTER ( ?d < ?q ) }
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 less number of sports teams participated in than road bicycle racing
Nordic skiing high jump marathon
action less
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_type
action find_reverse
entity road bicycle racing
relation sport
type type of sport
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:sport ?s . ?n rdf:type ontology:sports_team . ?s rdf:type ontology:type_of_sport } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { ?m property:sport resource:road_bicycle_racing . ?m rdf:type ontology:type_of_sport } } . FILTER ( ?d < ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q542
P641
Q31629 Q12973014
USER
And how about athletics?
(c(Q12973014),P641,c(Q31629))
action less
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_type
action find_reverse
entity Q542
relation P641
type Q31629
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:P641 ?p . ?p rdf:type ontology:Q31629 . ?f rdf:type ontology:Q12973014 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:Q31629 . ?v property:P641 resource:Q542 } } . FILTER ( ?i < ?e ) }
athletics
action less
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_type
action find_reverse
entity athletics
relation sport
type type of sport
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:sport ?p . ?p rdf:type ontology:type_of_sport . ?f rdf:type ontology:sports_team } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:type_of_sport . ?v property:sport resource:athletics } } . FILTER ( ?i < ?e ) }
[]
type of sport sports team
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 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 Q7735 Q11015 Q428242 Q48890 Q162883 Q5300110
(c(Q12973014),P641,c(Q31629))
action less
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_type
action find_reverse
entity Q542
relation P641
type Q31629
[ANSWERS]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:P641 ?p . ?p rdf:type ontology:Q31629 . ?f rdf:type ontology:Q12973014 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:Q31629 . ?v property:P641 resource:Q542 } } . FILTER ( ?i < ?e ) }
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 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 diving snooker ski-orienteering college basketball free climbing double trap
Nordic skiing high jump marathon
action less
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_type
action find_reverse
entity athletics
relation sport
type type of sport
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:sport ?p . ?p rdf:type ontology:type_of_sport . ?f rdf:type ontology:sports_team } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:type_of_sport . ?v property:sport resource:athletics } } . FILTER ( ?i < ?e ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q216613 Q165704 Q40244
P641
Q502895
USER
Which people play Nordic skiing, high jump and marathon ?
(c(Q502895),P641,Q216613) (c(Q502895),P641,Q165704) (c(Q502895),P641,Q40244)
action union
action filter_type
action find_reverse
entity Q216613
relation P641
type Q502895
action filter_type
action find_reverse
entity Q165704
relation P641
type Q502895
action filter_type
action find_reverse
entity Q40244
relation P641
type Q502895
[{'concept': 'Q502895'}, 'P641', 'Q216613'] [{'concept': 'Q502895'}, 'P641', 'Q165704'] [{'concept': 'Q502895'}, 'P641', 'Q40244']
SELECT DISTINCT ?a WHERE { { ?a property:P641 resource:Q216613 . ?a rdf:type ontology:Q502895 } UNION { ?a rdf:type ontology:Q502895 . ?a property:P641 resource:Q165704 } }
Nordic skiing high jump marathon
action union
action filter_type
action find_reverse
entity Nordic skiing
relation sport
type common name
action filter_type
action find_reverse
entity high jump
relation sport
type common name
action filter_type
action find_reverse
entity marathon
relation sport
type common name
[{'concept': 'common name'}, 'sport', 'Nordic skiing'] [{'concept': 'common name'}, 'sport', 'high jump'] [{'concept': 'common name'}, 'sport', 'marathon']
SELECT DISTINCT ?a WHERE { { ?a property:sport resource:Nordic_skiing . ?a rdf:type ontology:common_name } UNION { ?a rdf:type ontology:common_name . ?a property:sport resource:high_jump } }
[]
common name
Q3180548 Q267879 Q2272803
SYSTEM
Levern Spencer, Olivera Jevtić, Sergey Senyukov
Q1150664 Q16683534 Q629360 Q456929 Q6109622 Q3180548 Q231969 Q267150 Q10508695 Q520322 Q292000 Q270252 Q17737839 Q1732 Q1739 Q2272803 Q17600207 Q15477273 Q235140 Q17505314 Q241819 Q715011 Q920803 Q2385920 Q440700 Q19758470 Q21014706 Q25713915 Q6145026 Q334017 Q10295047 Q26436578 Q356579 Q271522 Q267879 Q21259345
(c(Q502895),P641,Q216613) (c(Q502895),P641,Q165704) (c(Q502895),P641,Q40244)
action union
action filter_type
action find_reverse
entity Q216613
relation P641
type Q502895
action filter_type
action find_reverse
entity Q165704
relation P641
type Q502895
action filter_type
action find_reverse
entity Q40244
relation P641
type Q502895
[ANSWERS] play Nordic skiing, high jump and marathon
[{'concept': 'Q502895'}, 'P641', 'Q216613'] [{'concept': 'Q502895'}, 'P641', 'Q165704'] [{'concept': 'Q502895'}, 'P641', 'Q40244']
SELECT DISTINCT ?a WHERE { { ?a property:P641 resource:Q216613 . ?a rdf:type ontology:Q502895 } UNION { ?a rdf:type ontology:Q502895 . ?a property:P641 resource:Q165704 } }
César Baena Xavier Thévenard Masashi Abe Melanie Melfort Roberto Cabrejas Levern Spencer Yelena Slesarenko Marina Kuptsova Šárka Nováková Jaroslav Bába Olga Kaliturina Svetlana Lapina Riccardo Fortini Ivan Ukhov Mutaz Essa Barshim Sergey Senyukov Danil Lysenko Angelo Tommasi Yelena Yelesina Yair Lubin Svetlana Shkolina Dimitrios Chondrokoukis Tomáš Janků Iryna Kovalenko Marina Aitova Fabrice Saint-Jean Fernand Le Heurteur Viviana Chávez James Walker Patrick Makau Musyoki Chang Wen-yen Serkan Kaya Ron Hill Wanda Panfil Olivera Jevtić Jan van Ginkel
Levern Spencer, Olivera Jevtić and Sergey Senyukov play Nordic skiing, high jump and marathon
Levern Spencer Olivera Jevtić Sergey Senyukov
action union
action filter_type
action find_reverse
entity Nordic skiing
relation sport
type common name
action filter_type
action find_reverse
entity high jump
relation sport
type common name
action filter_type
action find_reverse
entity marathon
relation sport
type common name
[{'concept': 'common name'}, 'sport', 'Nordic skiing'] [{'concept': 'common name'}, 'sport', 'high jump'] [{'concept': 'common name'}, 'sport', 'marathon']
SELECT DISTINCT ?a WHERE { { ?a property:sport resource:Nordic_skiing . ?a rdf:type ontology:common_name } UNION { ?a rdf:type ontology:common_name . ?a property:sport resource:high_jump } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q267879
P551
Q56061
USER
Where did that person reside ?
(Q267879,P551,c(Q56061))
action filter_type
action find
entity Q267879
relation P551
type Q56061
['Q267879', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q267879 property:P551 ?p . ?p rdf:type ontology:Q56061 }
Olivera Jevtić
action filter_type
action find
entity Olivera Jevtić
relation residence
type administrative territorial entity
['Olivera Jevtić', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Olivera_Jevtić property:residence ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q3180548
SYSTEM
Did you mean Levern Spencer ?
Q3180548 Q267879 Q2272803
(Q3180548,P551,c(Q56061)) (Q267879,P551,c(Q56061)) (Q2272803,P551,c(Q56061))
[ANSWER]
['Q3180548', 'P551', {'concept': 'Q56061'}] ['Q267879', 'P551', {'concept': 'Q56061'}] ['Q2272803', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q267879 property:P551 ?p . ?p rdf:type ontology:Q56061 }
Levern Spencer Olivera Jevtić Sergey Senyukov
Did you mean Levern Spencer ?
Levern Spencer
['Levern Spencer', 'residence', {'concept': 'administrative territorial entity'}] ['Olivera Jevtić', 'residence', {'concept': 'administrative territorial entity'}] ['Sergey Senyukov', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Olivera_Jevtić property:residence ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Olivera Jevtić. Could you tell me the answer for that?
(Q267879,P551,c(Q56061))
Q267879
['Q267879', 'P551', {'concept': 'Q56061'}]
['Olivera Jevtić', 'residence', {'concept': 'administrative territorial entity'}]
[]
Q59473
SYSTEM
Užice
Q59473
(Q267879,P551,c(Q56061))
action filter_type
action find
entity Q267879
relation P551
type Q56061
That person resided in [ANSWER]
['Q267879', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q267879 property:P551 ?p . ?p rdf:type ontology:Q56061 }
Užice
That person resided in Užice
Užice
action filter_type
action find
entity Olivera Jevtić
relation residence
type administrative territorial entity
['Olivera Jevtić', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Olivera_Jevtić property:residence ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q59473 Q3159 Q157050
P190
Q56061
USER
Is that administrative territory sister town of Kursk and Veles ?
(Q59473,P190,Q3159) (Q59473,P190,Q157050)
action is_in
entity Q59473
action intersection
action find_reverse
entity Q3159
relation P190
action find_reverse
entity Q157050
relation P190
['Q59473', 'P190', 'Q3159'] ['Q59473', 'P190', 'Q157050']
ASK WHERE { resource:Q59473 property:P190 resource:Q3159 . resource:Q59473 property:P190 resource:Q157050 }
Užice Kursk Veles
action is_in
entity Užice
action intersection
action find_reverse
entity Kursk
relation sister city
action find_reverse
entity Veles
relation sister city
['Užice', 'sister city', 'Kursk'] ['Užice', 'sister city', 'Veles']
ASK WHERE { resource:Užice property:sister_city resource:Kursk . resource:Užice property:sister_city resource:Veles }
[]
administrative territorial entity
SYSTEM
YES
(Q59473,P190,Q3159) (Q59473,P190,Q157050)
action is_in
entity Q59473
action intersection
action find_reverse
entity Q3159
relation P190
action find_reverse
entity Q157050
relation P190
[ANSWER]
['Q59473', 'P190', 'Q3159'] ['Q59473', 'P190', 'Q157050']
ASK WHERE { resource:Q59473 property:P190 resource:Q3159 . resource:Q59473 property:P190 resource:Q157050 }
Yes
action is_in
entity Užice
action intersection
action find_reverse
entity Kursk
relation sister city
action find_reverse
entity Veles
relation sister city
['Užice', 'sister city', 'Kursk'] ['Užice', 'sister city', 'Veles']
ASK WHERE { resource:Užice property:sister_city resource:Kursk . resource:Užice property:sister_city resource:Veles }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q59473
P931
Q62447
USER
Which city does Užice serve ?
action filter_type
action find_reverse
entity Q59473
relation P931
type Q62447
SELECT DISTINCT ?l WHERE { ?l property:P931 resource:Q59473 . ?l rdf:type ontology:Q62447 }
Užice
action filter_type
action find_reverse
entity Užice
relation place served by airport
type aerodrome
SELECT DISTINCT ?l WHERE { ?l property:place_served_by_airport resource:Užice . ?l rdf:type ontology:aerodrome }
[]
aerodrome
Q2875789
SYSTEM
Užice-Ponikve Airport
Q2875789
action filter_type
action find_reverse
entity Q59473
relation P931
type Q62447
Užice serves the [ANSWER]
SELECT DISTINCT ?l WHERE { ?l property:P931 resource:Q59473 . ?l rdf:type ontology:Q62447 }
Užice-Ponikve Airport
Užice serves the Užice-Ponikve Airport
Užice-Ponikve Airport
action filter_type
action find_reverse
entity Užice
relation place served by airport
type aerodrome
SELECT DISTINCT ?l WHERE { ?l property:place_served_by_airport resource:Užice . ?l rdf:type ontology:aerodrome }
[]