Simple Question (Direct)
Simple Question
Q4760810
P106
Q151885
USER
Which concept has Andy High as his/her 's career ?
(Q4760810,P106,c(Q151885))
action filter_type
action find
entity Q4760810
relation P106
type Q151885
['Q4760810', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q151885 . resource:Q4760810 property:P106 ?w }
Andy High
action filter_type
action find
entity Andy High
relation occupation
type concept
['Andy High', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:concept . resource:Andy_High property:occupation ?w }
[]
concept
Q10871364
SYSTEM
baseball player
Q10871364
(Q4760810,P106,c(Q151885))
action filter_type
action find
entity Q4760810
relation P106
type Q151885
Player [ANSWER] has Andy High as his/her 's career
['Q4760810', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q151885 . resource:Q4760810 property:P106 ?w }
baseball player
Player baseball player has Andy High as his/her 's career
baseball player
action filter_type
action find
entity Andy High
relation occupation
type concept
['Andy High', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:concept . resource:Andy_High property:occupation ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4760810
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q10871364,P27,c(Q15617994))
action filter_type
action find
entity Q4760810
relation P27
type Q15617994
['Q10871364', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q4760810 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Andy High
action filter_type
action find
entity Andy High
relation country of citizenship
type designation for an administrative territorial entity
['baseball player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Andy_High property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q10871364,P27,c(Q15617994))
action filter_type
action find
entity Q4760810
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q10871364', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q4760810 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person an inhabitant of
United States of America
action filter_type
action find
entity Andy High
relation country of citizenship
type designation for an administrative territorial entity
['baseball player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Andy_High property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6848244 Q4760810
P54
Q12973014
USER
What are the team that Andy High and Mike O'Neill are a member of ?
AND((Q4760810,P54,c(Q12973014)), (Q6848244,P54,c(Q12973014)))
action filter_type
action intersection
action find
entity Q4760810
relation P54
action find
entity Q6848244
relation P54
type Q12973014
{'AND': [['Q4760810', 'P54', {'concept': 'Q12973014'}], ['Q6848244', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?j WHERE { resource:Q4760810 property:P54 ?j . resource:Q6848244 property:P54 ?j . ?j rdf:type ontology:Q12973014 }
Mike O'Neill Andy High
action filter_type
action intersection
action find
entity Andy High
relation member of sports team
action find
entity Mike O'Neill
relation member of sports team
type sports team
{'AND': [['Andy High', 'member of sports team', {'concept': 'sports team'}], ["Mike O'Neill", 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?j WHERE { resource:Andy_High property:member_of_sports_team ?j . resource:Mike_O'Neill property:member_of_sports_team ?j . ?j rdf:type ontology:sports_team }
[]
sports team
Q504309 Q826751
SYSTEM
St. Louis Cardinals, Cincinnati Reds
Q504309 Q826751
AND((Q4760810,P54,c(Q12973014)), (Q6848244,P54,c(Q12973014)))
action filter_type
action intersection
action find
entity Q4760810
relation P54
action find
entity Q6848244
relation P54
type Q12973014
The team that Andy High and Mike O'Neill are a member of are the [ANSWERS]
{'AND': [['Q4760810', 'P54', {'concept': 'Q12973014'}], ['Q6848244', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?j WHERE { resource:Q4760810 property:P54 ?j . resource:Q6848244 property:P54 ?j . ?j rdf:type ontology:Q12973014 }
St. Louis Cardinals Cincinnati Reds
The team that Andy High and Mike O'Neill are a member of are the St. Louis Cardinals and Cincinnati Reds
St. Louis Cardinals Cincinnati Reds
action filter_type
action intersection
action find
entity Andy High
relation member of sports team
action find
entity Mike O'Neill
relation member of sports team
type sports team
{'AND': [['Andy High', 'member of sports team', {'concept': 'sports team'}], ["Mike O'Neill", 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?j WHERE { resource:Andy_High property:member_of_sports_team ?j . resource:Mike_O'Neill property:member_of_sports_team ?j . ?j rdf:type ontology:sports_team }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q15458258 Q4760810
P54
Q12973014
USER
Which sports teams are Andy High but not Jimmy Brown a member of ?
AND((Q4760810,P54,c(Q12973014)), NOT((Q15458258,P54,c(Q12973014))))
action filter_type
action difference
action find
entity Q4760810
relation P54
action find
entity Q15458258
relation P54
type Q12973014
{'AND': [['Q4760810', 'P54', {'concept': 'Q12973014'}], {'NOT': [['Q15458258', 'P54', {'concept': 'Q12973014'}]]}]}
SELECT DISTINCT ?b WHERE { MINUS { resource:Q15458258 property:P54 ?b } . resource:Q4760810 property:P54 ?b . ?b rdf:type ontology:Q12973014 }
Jimmy Brown Andy High
action filter_type
action difference
action find
entity Andy High
relation member of sports team
action find
entity Jimmy Brown
relation member of sports team
type sports team
{'AND': [['Andy High', 'member of sports team', {'concept': 'sports team'}], {'NOT': [['Jimmy Brown', 'member of sports team', {'concept': 'sports team'}]]}]}
SELECT DISTINCT ?b WHERE { MINUS { resource:Jimmy_Brown property:member_of_sports_team ?b } . resource:Andy_High property:member_of_sports_team ?b . ?b rdf:type ontology:sports_team }
[]
sports team
Q650840 Q826751
SYSTEM
Philadelphia Phillies, Cincinnati Reds
Q650840 Q826751
AND((Q4760810,P54,c(Q12973014)), NOT((Q15458258,P54,c(Q12973014))))
action filter_type
action difference
action find
entity Q4760810
relation P54
action find
entity Q15458258
relation P54
type Q12973014
[ANSWERS] are Andy High but not Jimmy Brown a member of
{'AND': [['Q4760810', 'P54', {'concept': 'Q12973014'}], {'NOT': [['Q15458258', 'P54', {'concept': 'Q12973014'}]]}]}
SELECT DISTINCT ?b WHERE { MINUS { resource:Q15458258 property:P54 ?b } . resource:Q4760810 property:P54 ?b . ?b rdf:type ontology:Q12973014 }
Philadelphia Phillies Cincinnati Reds
Philadelphia Phillies and Cincinnati Reds are Andy High but not Jimmy Brown a member of
Philadelphia Phillies Cincinnati Reds
action filter_type
action difference
action find
entity Andy High
relation member of sports team
action find
entity Jimmy Brown
relation member of sports team
type sports team
{'AND': [['Andy High', 'member of sports team', {'concept': 'sports team'}], {'NOT': [['Jimmy Brown', 'member of sports team', {'concept': 'sports team'}]]}]}
SELECT DISTINCT ?b WHERE { MINUS { resource:Jimmy_Brown property:member_of_sports_team ?b } . resource:Andy_High property:member_of_sports_team ?b . ?b rdf:type ontology:sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1923
Q12973014 Q15991303 Q13406554
USER
How many sports teams were participants in exactly 14 association football leagues or sport competitions ?
(c(Q15991303)|c(Q13406554),P1923,c(Q12973014))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q13406554
value 14
[[{'concept': 'Q15991303'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?f WHERE { VALUES ( ?n ) { ( ontology:Q13406554 ) ( ontology:Q15991303 ) } . ?q rdf:type ?n } GROUP BY ?f } . FILTER ( ?t = 14 ) }
action count
action equal
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 sport competition
value 14
[[{'concept': 'association football league'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?f WHERE { VALUES ( ?n ) { ( ontology:sport_competition ) ( ontology:association_football_league ) } . ?q rdf:type ?n } GROUP BY ?f } . FILTER ( ?t = 14 ) }
[]
sports team association football league sport competition
SYSTEM
2
Q19826622 Q27146314
(c(Q15991303)|c(Q13406554),P1923,c(Q12973014))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q13406554
value 14
[ANSWER]
[[{'concept': 'Q15991303'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?f WHERE { VALUES ( ?n ) { ( ontology:Q13406554 ) ( ontology:Q15991303 ) } . ?q rdf:type ?n } GROUP BY ?f } . FILTER ( ?t = 14 ) }
Ukraine national badminton team Estonia national badminton team
2
action count
action equal
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 sport competition
value 14
[[{'concept': 'association football league'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?f WHERE { VALUES ( ?n ) { ( ontology:sport_competition ) ( ontology:association_football_league ) } . ?q rdf:type ?n } GROUP BY ?f } . FILTER ( ?t = 14 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q182570
P641
Q349 Q12973014
USER
How many sports did more number of sports teams participate in than discus throw ?
(c(Q12973014),P641,c(Q349))
action count
action greater
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_type
action find
entity Q182570
relation P641
type Q349
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q182570 property:P641 ?n . ?n rdf:type ontology:Q349 } } . FILTER ( ?h > ?j ) . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P641 ?r . ?r rdf:type ontology:Q349 . ?t rdf:type ontology:Q12973014 } GROUP BY ?r } }
discus throw
action count
action greater
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_type
action find
entity discus throw
relation sport
type sport
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:discus_throw property:sport ?n . ?n rdf:type ontology:sport } } . FILTER ( ?h > ?j ) . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:sport ?r . ?r rdf:type ontology:sport . ?t rdf:type ontology:sports_team } GROUP BY ?r } }
[]
sport sports team
SYSTEM
41
Q10962 Q1109032 Q500050 Q7707 Q171038 Q17163326 Q206763 Q133201 Q847 Q192937 Q188966 Q328716 Q41323 Q7291 Q136851 Q7856 Q599204 Q5372 Q5375 Q5377 Q5369 Q8418 Q754586 Q41466 Q43450 Q1455 Q2215841 Q185851 Q3930 Q963312 Q130949 Q535116 Q647559 Q1734 Q31920 Q1748406 Q183018 Q177275 Q2736 Q1199515 Q210778
(c(Q12973014),P641,c(Q349))
action count
action greater
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_type
action find
entity Q182570
relation P641
type Q349
[ANSWER]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q182570 property:P641 ?n . ?n rdf:type ontology:Q349 } } . FILTER ( ?h > ?j ) . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P641 ?r . ?r rdf:type ontology:Q349 . ?t rdf:type ontology:Q12973014 } GROUP BY ?r } }
rugby league college football cross country running water polo softball motorcycle racing floorball squash tennis korfball contract bridge motorcycle sport American football badminton curling rallying rallycross basketball cricket golf baseball handball racquetball ice hockey gymnastics field hockey cycle sport lacrosse table tennis Sledge hockey skiing beach handball Goalball volleyball swimming roller hockey (quad) bandy bobsleigh association football formula racing beach soccer
41
action count
action greater
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_type
action find
entity discus throw
relation sport
type sport
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:discus_throw property:sport ?n . ?n rdf:type ontology:sport } } . FILTER ( ?h > ?j ) . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:sport ?r . ?r rdf:type ontology:sport . ?t rdf:type ontology:sports_team } GROUP BY ?r } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3431217 Q6848244
P54
Q12973014
USER
What are the team that Mike O'Neill or Richard Sharp are a member of ?
OR((Q6848244,P54,c(Q12973014)), (Q3431217,P54,c(Q12973014)))
action filter_type
action union
action find
entity Q6848244
relation P54
action find
entity Q3431217
relation P54
type Q12973014
{'OR': [['Q6848244', 'P54', {'concept': 'Q12973014'}], ['Q3431217', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?v WHERE { { ?m property:P54 ?v . VALUES ( ?m ) { ( resource:Q6848244 ) ( resource:Q3431217 ) } } . ?v rdf:type ontology:Q12973014 }
Richard Sharp Mike O'Neill
action filter_type
action union
action find
entity Mike O'Neill
relation member of sports team
action find
entity Richard Sharp
relation member of sports team
type sports team
{'OR': [["Mike O'Neill", 'member of sports team', {'concept': 'sports team'}], ['Richard Sharp', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?v WHERE { { ?m property:member_of_sports_team ?v . VALUES ( ?m ) { ( resource:Mike_O'Neill ) ( resource:Richard_Sharp ) } } . ?v rdf:type ontology:sports_team }
[]
sports team
Q917973 Q504309 Q826751 Q378628 Q3446304 Q1150127 Q3359056
SYSTEM
Bristol Rugby, St. Louis Cardinals, Cincinnati Reds, England national rugby union team, Montreal Royals, Wasps RFC, Oxford University RFC
Q917973 Q504309 Q826751 Q378628 Q3446304 Q1150127 Q3359056
OR((Q6848244,P54,c(Q12973014)), (Q3431217,P54,c(Q12973014)))
action filter_type
action union
action find
entity Q6848244
relation P54
action find
entity Q3431217
relation P54
type Q12973014
The team that Mike O'Neill or Richard Sharp are a member of are the [ANSWERS]
{'OR': [['Q6848244', 'P54', {'concept': 'Q12973014'}], ['Q3431217', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?v WHERE { { ?m property:P54 ?v . VALUES ( ?m ) { ( resource:Q6848244 ) ( resource:Q3431217 ) } } . ?v rdf:type ontology:Q12973014 }
Bristol Rugby St. Louis Cardinals Cincinnati Reds England national rugby union team Montreal Royals Wasps RFC Oxford University RFC
The team that Mike O'Neill or Richard Sharp are a member of are the Bristol Rugby, St. Louis Cardinals, Cincinnati Reds, England national rugby union team, Montreal Royals, Wasps RFC and Oxford University RFC
Bristol Rugby St. Louis Cardinals Cincinnati Reds England national rugby union team Montreal Royals Wasps RFC Oxford University RFC
action filter_type
action union
action find
entity Mike O'Neill
relation member of sports team
action find
entity Richard Sharp
relation member of sports team
type sports team
{'OR': [["Mike O'Neill", 'member of sports team', {'concept': 'sports team'}], ['Richard Sharp', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?v WHERE { { ?m property:member_of_sports_team ?v . VALUES ( ?m ) { ( resource:Mike_O'Neill ) ( resource:Richard_Sharp ) } } . ?v rdf:type ontology:sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3431217 Q7326327
P69
Q1244442
USER
How many school buildings were Richard Sharp or Richard Hawkins educated at ?
(Q3431217,P69,c(Q1244442)) (Q7326327,P69,c(Q1244442))
action count
action union
action filter_type
action find
entity Q3431217
relation P69
type Q1244442
action filter_type
action find
entity Q7326327
relation P69
type Q1244442
['Q3431217', 'P69', {'concept': 'Q1244442'}] ['Q7326327', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?m property:P69 ?w . VALUES ( ?m ) { ( resource:Q3431217 ) ( resource:Q7326327 ) } }
Richard Sharp Richard Hawkins
action count
action union
action filter_type
action find
entity Richard Sharp
relation educated at
type school building
action filter_type
action find
entity Richard Hawkins
relation educated at
type school building
['Richard Sharp', 'educated at', {'concept': 'school building'}] ['Richard Hawkins', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?m property:educated_at ?w . VALUES ( ?m ) { ( resource:Richard_Sharp ) ( resource:Richard_Hawkins ) } }
[]
school building
SYSTEM
2
Q81173 Q805285
(Q3431217,P69,c(Q1244442)) (Q7326327,P69,c(Q1244442))
action count
action union
action filter_type
action find
entity Q3431217
relation P69
type Q1244442
action filter_type
action find
entity Q7326327
relation P69
type Q1244442
[ANSWER]
['Q3431217', 'P69', {'concept': 'Q1244442'}] ['Q7326327', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?m property:P69 ?w . VALUES ( ?m ) { ( resource:Q3431217 ) ( resource:Q7326327 ) } }
Exeter College Balliol College
2
action count
action union
action filter_type
action find
entity Richard Sharp
relation educated at
type school building
action filter_type
action find
entity Richard Hawkins
relation educated at
type school building
['Richard Sharp', 'educated at', {'concept': 'school building'}] ['Richard Hawkins', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?m property:educated_at ?w . VALUES ( ?m ) { ( resource:Richard_Sharp ) ( resource:Richard_Hawkins ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P115
Q483110 Q811979 Q12973014
USER
Which sports teams have atmost 5 stadia or architectural structures as their home ground ?
(c(Q12973014),P115,c(Q483110)|c(Q811979))
action atmost
action union
action find_tuple_counts
relation P115
type Q12973014
type Q483110
action find_tuple_counts
relation P115
type Q12973014
type Q811979
value 5
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q483110'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?g WHERE { VALUES ( ?q ) { ( ontology:Q483110 ) ( ontology:Q811979 ) } . ?a rdf:type ?q } GROUP BY ?g } . FILTER ( ?k <= 5 ) }
action atmost
action union
action find_tuple_counts
relation home venue
type sports team
type stadium
action find_tuple_counts
relation home venue
type sports team
type architectural structure
value 5
[{'concept': 'sports team'}, 'home venue', [{'concept': 'stadium'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?g WHERE { VALUES ( ?q ) { ( ontology:stadium ) ( ontology:architectural_structure ) } . ?a rdf:type ?q } GROUP BY ?g } . FILTER ( ?k <= 5 ) }
[]
stadium architectural structure sports team
Q12872831 Q213959 Q16331496
SYSTEM
AEZ Zakakiou, Boston Red Sox, Elpida Astromeriti
Q5018221 Q16959086 Q166105 Q466586 Q868082 Q1141306 Q463349 Q743309 Q247577 Q3013412 Q868101 Q1417287 Q16969278 Q5763570 Q19870761 Q3151359 Q157376 Q1251724 Q5617454 Q454764 Q8383824 Q745758 Q692417 Q5416971 Q836109 Q2060261 Q7016620 Q12018770 Q2892340 Q54927 Q54922 Q131371 Q940641 Q1416353 Q8025768 Q498084 Q681433 Q4841174 Q1019345 Q1130636 Q7074000 Q1328038 Q600149 Q5617444 Q431412 Q2937449 Q1901938 Q1166013 Q796358 Q721134 Q329816 Q6117111 Q868087 Q36930 Q3106580 Q36932 Q193643 Q1274643 Q3555221 Q868067 Q159729 Q2276590 Q285017 Q266588 Q5461409 Q5461408 Q521663 Q1090574 Q2085806 Q1136066 Q6683231 Q7009239 Q954798 Q7093725 Q7425627 Q1051212 Q744636 Q1138095 Q656923 Q604879 Q217601 Q583259 Q2217179 Q665920 Q652879 Q1375077 Q5498202 Q129164 Q388858 Q161337 Q1071691 Q3195284 Q571472 Q1563903 Q461595 Q5916414 Q964957 Q377374 Q521129 Q1126243 Q7935602 Q4791903 Q387496 Q132880 Q6967027 Q5407207 Q825838 Q2104699 Q5644222 Q532269 Q3400957 Q1270259 Q169138 Q2083283 Q1562933 Q1550312 Q213417 Q334634 Q707861 Q1653499 Q1387375 Q3489807 Q484151 Q7681737 Q867828 Q867822 Q3844332 Q4938454 Q1564514 Q1631017 Q324589 Q553293 Q5668261 Q643795 Q974277 Q4993321 Q1518257 Q6365002 Q3218293 Q331650 Q16957588 Q203384 Q6811755 Q916967 Q650840 Q246782 Q154053 Q128109 Q2205512 Q1779406 Q4289724 Q15786 Q1568246 Q162289 Q7985913 Q704072 Q10856994 Q1544869 Q5095788 Q1465192 Q5604682 Q1357204 Q1266000 Q1047634 Q1148233 Q14947971 Q5715626 Q7960021 Q4791331 Q7101188 Q163909 Q1319827 Q15728845 Q848103 Q5425090 Q10865306 Q787447 Q152572 Q23275471 Q325819 Q912247 Q1194023 Q787652 Q170329 Q5461417 Q5253685 Q1419127 Q4407923 Q194116 Q1420393 Q131364 Q3960035 Q17236274 Q15728852 Q504339 Q161345 Q592714 Q54906 Q7826440 Q4985683 Q974900 Q413568 Q3259700 Q739613 Q7959622 Q1749669 Q688162 Q695825 Q1536851 Q1197407 Q868581 Q1193020 Q3359056 Q7845058 Q2075122 Q838520 Q504309 Q36916 Q7101532 Q1069384 Q213959 Q611163 Q812713 Q3124782 Q16259354 Q4911952 Q684077 Q7914130 Q957952 Q3124767 Q2924138 Q33699 Q5461389 Q653772 Q5876892 Q642553 Q1067358 Q966879 Q1329633 Q1458596 Q7231881 Q681072 Q24725640 Q2411402 Q2406877 Q1324392 Q127635 Q766529 Q205973 Q2300859 Q3041569 Q335169 Q636019 Q165127 Q2297548 Q650855 Q4816008 Q7912570 Q971676 Q1472697 Q922432 Q180950 Q12872831 Q7578867 Q3174673 Q885646 Q169637 Q1060978 Q1419876 Q3755111 Q7419313 Q868093 Q2975432 Q1753439 Q868095 Q868098 Q209961 Q472805 Q5461420 Q5461423 Q5461422 Q5461425 Q12872691 Q7866372 Q637404 Q848117 Q3505744 Q4959020 Q787436 Q2725705 Q697902 Q3058749 Q3041096 Q655240 Q4171772 Q192083 Q163480 Q1132627 Q7442149 Q188143 Q974705 Q6392430 Q704336 Q5254272 Q2740400 Q358191 Q928991 Q650865 Q1498153 Q826751 Q267094 Q2979803 Q1566189 Q670376 Q7839677 Q949035 Q308966 Q650816 Q5617449 Q3664188 Q7355432 Q169661 Q3126578 Q121783 Q868073 Q12752453 Q461647 Q3476102 Q4701227 Q469053 Q249612 Q2822963 Q3080188 Q7534873 Q1019555 Q23979109 Q1541588 Q5461411 Q3124779 Q5461413 Q5461414 Q5461416 Q853056 Q5461418 Q389007 Q1562969 Q700366 Q538747 Q5461394 Q2825666 Q15279091 Q1727656 Q1474850 Q2184204 Q4239555 Q162954 Q1788018 Q1471247 Q16331496 Q6879072 Q169941 Q7895746 Q4666935 Q756160 Q2740096 Q828527 Q650829 Q680599 Q1054218 Q744530 Q7404166 Q1433297 Q20750295 Q686068 Q393357
(c(Q12973014),P115,c(Q483110)|c(Q811979))
action atmost
action union
action find_tuple_counts
relation P115
type Q12973014
type Q483110
action find_tuple_counts
relation P115
type Q12973014
type Q811979
value 5
[ANSWERS] have atmost 5 stadia or architectural structures as their home ground
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q483110'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?g WHERE { VALUES ( ?q ) { ( ontology:Q483110 ) ( ontology:Q811979 ) } . ?a rdf:type ?q } GROUP BY ?g } . FILTER ( ?k <= 5 ) }
Cal State Fullerton Titans men's basketball Connecticut Huskies football Sacramento Kings Seattle Mariners Guerreros de Oaxaca KK Zadar Phoenix Hagen Los Angeles Angels of Anaheim Hiroshima Toyo Carp Dandenong Rangers Acereros de Monclova Panserraikos F.C. Sochinskiye Leopardy Hillsboro Hops Jaguares Inland Empire 66ers of San Bernardino Golden State Cavaliers Baltimore Monumentals Gulf Coast League Yankees TBB Trier Aris Thessaloniki B.C. Gloucester Rugby New York Mets Everett AquaSox Skyliners Frankfurt Sioux Falls Skyforce Newark Bears HC Stadion Litoměřice Bowie Baysox Saski Baskonia Real Madrid Baloncesto Boston Celtics SK Horácká Slavia Třebíč HC Lev Praha Winnipeg Maroons Iserlohn Roosters Keramin Minsk Badureliya Sports Club Bærum SK Oulun Kärpät Oakland Golden Grizzlies men's basketball Orix Buffaloes FC Bayern Munich Gulf Coast League Orioles Stade Toulousain Québec Capitales BC Ural Yekaterinburg FC Barcelona Ice Hockey Chicago Sky San Diego Padres Texas Rangers Jackson Generals Vaqueros Laguna EHC Kloten Fresno Grizzlies HC Ambrì-Piotta Pittsburgh Penguins Phoenix Mercury Pinar del Río Vegueros Saraperos de Saltillo San Antonio Spurs Iowa Cubs Alba Volán Székesfehérvár Ratiopharm Ulm Florida Gators men's golf Florida Gators men's basketball Mitteldeutscher BC Vancouver Whitecaps Philadelphia Phantoms Victoria cricket team Rieleros de Aguascalientes New Jersey Jackals HC Sareza Ostrava Oneonta Tigers Saskatchewan Silver Sox Pericos de Puebla Natal Sharks Salt Lake Bees MT Melsungen Minnesota Twins Drøbak-Frogn IL Las Vegas 51s Horsens HK VfB Lübeck Miami Marlins Tohoku Rakuten Golden Eagles Frederick Keys Fukuoka SoftBank Hawks Colorado Rockies Orlando Magic Leicester Tigers Kent County Cricket Club medi bayreuth HK Partizan Atlanta Braves Houston Buffaloes Castres Olympique Malmö Redhawks Benetton Rugby Treviso Connecticut Sun Visalia Rawhide Arkansas Travelers Tigres de Quintana Roo Toronto Raptors Nashville Xpress Eugene Emeralds Washington Nationals Port Huron Border Cats Hambledon Club Phantoms Braunschweig Portland Power Piráti Chomutov Miami Heat Colorado Springs Sky Sox HC Lev Poprad Lethbridge Hurricanes New York Yankees Los Angeles Dodgers EWE Baskets Oldenburg IFK Kristianstad FC Midtjylland Håndbold Somerset County Cricket Club Chiba Lotte Marines Tampa Tarpons Rojos del Águila de Veracruz Leones de Yucatán Daiei Unions Boise Hawks New Haven Elm Citys Indiana Fever C.A. Lanús Neckar Riesen Ludwigsburg Algodoneros de San Luis Alba Berlin Hokkaido Nippon-Ham Fighters Odense Håndbold Ospreys Kansas Jayhawks men's basketball San Jose Lasers FBK Kaunas Florida Gators cross country Toronto Maple Leafs Melbourne Cricket Club KK Cibona Philadelphia Phillies Chicago Cubs Eintracht Braunschweig Chicago Bulls SC Rasta Vechta Norfolk Tides Melbourne Cricket Club 1. FC Nürnberg Altoona Mountain City 1. FC Köln Frauen West Michigan Whitecaps Telekom Baskets Bonn ZJS Zbrojovka Spartak Brno Seattle Storm Chicago State Cougars men's basketball Washington Mystics Greenville Drive Jokerit Dunkerque Handball Grand Littoral Diablos Rojos del México Montreal Expos Columbus Quest BC Apollo Waikiki BeachBoys Arizona League Angels Oregon Ducks men's basketball Grüner IL US Dax Duke Blue Devils Milwaukee Brewers FC Oțelul II Galați SC Magdeburg BM Valladolid Al-Muharraq SC HC Kunlun Red Star Saitama Seibu Lions KK Partizan Yokohama DeNA BayStars Toledo Mud Hens Indiana Pacers Florida Gators women's basketball Delfines del Carmen Tappara Santos FC Futsal Detroit Red Wings Galatasaray Medical Park New York Knicks York Revolution Ottawa Champions Duke Blue Devils Oakland Athletics Houston Rockets Valladolid RAC CB Gran Canaria Toronto Maple Leafs Buffalo Bulls men's basketball HK Alfa Ak Bars Kazan Los Angeles Angels Edinburgh Rugby Wagner Seahawks men's basketball Team Tvis Holstebro Eisbären Berlin ERC Ingolstadt Tulsa Shock Yomiuri Giants Basket Zielona Góra London Irish Oxford University RFC Trois-Rivières Aigles Lowell Spinners HC Slezan Opava St. Louis Cardinals SC Bern Orem Owlz Osaka Kintetsu Buffaloes Boston Red Sox Ethnikos Piraeus Water Polo Club Al-Wehda Club HC ZUBR Přerov Moors Sports Club Billings Mustangs Artland Dragons Vancouver Canadians Washington Capitols HC Benátky nad Jizerou Gwinnett Braves HC Fribourg-Gottéron Florida Gators baseball Pittsburgh Pirates Hofstra Pride men's basketball Cleveland Indians Charlotte Sting Albuquerque Isotopes Los Angeles Sparks PBC Lokomotiv-Kuban Portland Beavers EHC Olten Las Vegas NHL team Landstede Basketbal HC Chelny Tokyo Yakult Swallows Hanshin Tigers AZ Havířov Edmonton Oilers Western Province Durham County Cricket Club Chicago White Sox Oyonnax Rugby THW Kiel Oklahoma City Dodgers Detroit Tigers Atlanta Beat Valparaiso Crusaders men's basketball Sultanes de Monterrey San Antonio Silver Stars Olympiacos Water Polo Club Oklahoma City Thunder AEZ Zakakiou Spokane Indians UE Santboiana Blue Bulls Milwaukee Bucks Brooklyn Cyclones Limoges CSP F.C. Porto Santa Clara Broncos football Olmecas de Tabasco HK Orange 20 SaiPa Piratas de Campeche Broncos de Reynosa Chunichi Dragons TSV Hannover-Burgdorf Florida Gators women's gymnastics Florida Gators women's tennis Florida Gators women's soccer Florida Gators women's volleyball Proteas Voulas B.C. USC Trojans men's basketball Guam national rugby union team Houston Astros Sussex County Cricket Club Brazos Valley Bombers BM Ciudad Real Warwickshire County Cricket Club Kölner Haie Essex County Cricket Club Albuquerque Dukes Calgary Expos Duke Blue Devils Philadelphia Flyers Charlotte Hornets KK Crvena zvezda Seattle Pilots Montreal Canadiens New York Liberty Kentucky Wildcats women's basketball Düsseldorfer EG Delmarva Shorebirds Tucson Padres Adler Mannheim Aalborg DH Tampa Bay Rays Kalamazoo Wings Cincinnati Reds Hockey Club de Reims Alcobendas Rugby HYS The Hague Arizona Diamondbacks Tri-City Dust Devils Cambridge University Cricket Club San Francisco Giants Baltimore Orioles Gulf Coast League Red Sox Celana Basket Bergamo Rockland Boulders Detroit Pistons Hampshire County Cricket Club Los Angeles Lakers Petroleros de Minatitlán KK Loznica Walter Tigers Tübingen Scottsdale Scorpions Akita Northern Happinets Eisbären Bremerhaven Club Sport Emelec Reno Aces KIF Kolding Copenhagen Ski IL HC Bílí Tygři Liberec Atlas Aglandjias Sacramento Monarchs Florida Gators men's tennis HC Tábor Florida Gators softball Florida Gators swimming and diving Florida Gators track and field Metallurg Magnitogorsk Florida Gators women's golf CRC Madrid HC Slovan Ústečtí Lvi Brose Baskets Scarlets Florida Gators football Akron RubberDucks El Paso Chihuahuas New York Golden Blades Minnesota Lynx Sacramento River Cats BC Krasny Oktyabr Denver Nuggets Derbyshire County Cricket Club HC Neftekhimik Nizhnekamsk Elpida Astromeriti Mississippi Braves Cardiff Blues University of Miami Rugby Football Club Aberdeen IronBirds Atlanta Dream Tacoma Rainiers RK 03 Berlin Toronto Blue Jays TuS Nettelstedt-Lübbecke Portland Sea Dogs Kansas City Royals Salem Red Sox Hokki E.S. Kadmos Thivas Vienna Capitals BC Žalgiris
AEZ Zakakiou, Boston Red Sox and Elpida Astromeriti have atmost 5 stadia or architectural structures as their home ground
AEZ Zakakiou Boston Red Sox Elpida Astromeriti
action atmost
action union
action find_tuple_counts
relation home venue
type sports team
type stadium
action find_tuple_counts
relation home venue
type sports team
type architectural structure
value 5
[{'concept': 'sports team'}, 'home venue', [{'concept': 'stadium'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?g WHERE { VALUES ( ?q ) { ( ontology:stadium ) ( ontology:architectural_structure ) } . ?a rdf:type ?q } GROUP BY ?g } . FILTER ( ?k <= 5 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q12872831 Q213959 Q16331496
P115
Q483110
USER
Which stadia are the grounds of AEZ Zakakiou, Boston Red Sox and Elpida Astromeriti ?
(Q12872831,P115,c(Q483110)) (Q213959,P115,c(Q483110)) (Q16331496,P115,c(Q483110))
action union
action filter_type
action find
entity Q12872831
relation P115
type Q483110
action filter_type
action find
entity Q213959
relation P115
type Q483110
action filter_type
action find
entity Q16331496
relation P115
type Q483110
['Q12872831', 'P115', {'concept': 'Q483110'}] ['Q213959', 'P115', {'concept': 'Q483110'}] ['Q16331496', 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?n WHERE { { resource:Q213959 property:P115 ?n . ?n rdf:type ontology:Q483110 } UNION { resource:Q12872831 property:P115 ?n . ?n rdf:type ontology:Q483110 } }
AEZ Zakakiou Boston Red Sox Elpida Astromeriti
action union
action filter_type
action find
entity AEZ Zakakiou
relation home venue
type stadium
action filter_type
action find
entity Boston Red Sox
relation home venue
type stadium
action filter_type
action find
entity Elpida Astromeriti
relation home venue
type stadium
['AEZ Zakakiou', 'home venue', {'concept': 'stadium'}] ['Boston Red Sox', 'home venue', {'concept': 'stadium'}] ['Elpida Astromeriti', 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?n WHERE { { resource:Boston_Red_Sox property:home_venue ?n . ?n rdf:type ontology:stadium } UNION { resource:AEZ_Zakakiou property:home_venue ?n . ?n rdf:type ontology:stadium } }
[]
stadium
Q1132478 Q582868 Q49136
SYSTEM
Pafiako Stadium, Ammochostos Stadium, Fenway Park
Q16467555 Q1132478 Q582868 Q49136 Q7168854
(Q12872831,P115,c(Q483110)) (Q213959,P115,c(Q483110)) (Q16331496,P115,c(Q483110))
action union
action filter_type
action find
entity Q12872831
relation P115
type Q483110
action filter_type
action find
entity Q213959
relation P115
type Q483110
action filter_type
action find
entity Q16331496
relation P115
type Q483110
[ANSWERS] are the grounds of AEZ Zakakiou, Boston Red Sox and Elpida Astromeriti
['Q12872831', 'P115', {'concept': 'Q483110'}] ['Q213959', 'P115', {'concept': 'Q483110'}] ['Q16331496', 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?n WHERE { { resource:Q213959 property:P115 ?n . ?n rdf:type ontology:Q483110 } UNION { resource:Q12872831 property:P115 ?n . ?n rdf:type ontology:Q483110 } }
Zakaki Community Stadium Pafiako Stadium Ammochostos Stadium Fenway Park Peristerona Stadium
Pafiako Stadium, Ammochostos Stadium and Fenway Park are the grounds of AEZ Zakakiou, Boston Red Sox and Elpida Astromeriti
Pafiako Stadium Ammochostos Stadium Fenway Park
action union
action filter_type
action find
entity AEZ Zakakiou
relation home venue
type stadium
action filter_type
action find
entity Boston Red Sox
relation home venue
type stadium
action filter_type
action find
entity Elpida Astromeriti
relation home venue
type stadium
['AEZ Zakakiou', 'home venue', {'concept': 'stadium'}] ['Boston Red Sox', 'home venue', {'concept': 'stadium'}] ['Elpida Astromeriti', 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?n WHERE { { resource:Boston_Red_Sox property:home_venue ?n . ?n rdf:type ontology:stadium } UNION { resource:AEZ_Zakakiou property:home_venue ?n . ?n rdf:type ontology:stadium } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1132478 Q582868 Q49136
P115
Q12973014
USER
Which sports teams have Pafiako Stadium, Ammochostos Stadium and Fenway Park as their home ground ?
(c(Q12973014),P115,Q1132478) (c(Q12973014),P115,Q582868) (c(Q12973014),P115,Q49136)
action union
action filter_type
action find_reverse
entity Q1132478
relation P115
type Q12973014
action filter_type
action find_reverse
entity Q582868
relation P115
type Q12973014
action filter_type
action find_reverse
entity Q49136
relation P115
type Q12973014
[{'concept': 'Q12973014'}, 'P115', 'Q1132478'] [{'concept': 'Q12973014'}, 'P115', 'Q582868'] [{'concept': 'Q12973014'}, 'P115', 'Q49136']
SELECT DISTINCT ?x WHERE { { ?x property:P115 resource:Q582868 . ?x rdf:type ontology:Q12973014 } UNION { ?x property:P115 resource:Q1132478 . ?x rdf:type ontology:Q12973014 } }
Pafiako Stadium Ammochostos Stadium Fenway Park
action union
action filter_type
action find_reverse
entity Pafiako Stadium
relation home venue
type sports team
action filter_type
action find_reverse
entity Ammochostos Stadium
relation home venue
type sports team
action filter_type
action find_reverse
entity Fenway Park
relation home venue
type sports team
[{'concept': 'sports team'}, 'home venue', 'Pafiako Stadium'] [{'concept': 'sports team'}, 'home venue', 'Ammochostos Stadium'] [{'concept': 'sports team'}, 'home venue', 'Fenway Park']
SELECT DISTINCT ?x WHERE { { ?x property:home_venue resource:Ammochostos_Stadium . ?x rdf:type ontology:sports_team } UNION { ?x property:home_venue resource:Pafiako_Stadium . ?x rdf:type ontology:sports_team } }
[]
sports team
Q12872831 Q12872831 Q213959
SYSTEM
AEZ Zakakiou for 1st, 2nd, Boston Red Sox for 3rd
Q12872831 Q12872831 Q213959 Q461595
(c(Q12973014),P115,Q1132478) (c(Q12973014),P115,Q582868) (c(Q12973014),P115,Q49136)
action union
action filter_type
action find_reverse
entity Q1132478
relation P115
type Q12973014
action filter_type
action find_reverse
entity Q582868
relation P115
type Q12973014
action filter_type
action find_reverse
entity Q49136
relation P115
type Q12973014
[ANSWERS]
[{'concept': 'Q12973014'}, 'P115', 'Q1132478'] [{'concept': 'Q12973014'}, 'P115', 'Q582868'] [{'concept': 'Q12973014'}, 'P115', 'Q49136']
SELECT DISTINCT ?x WHERE { { ?x property:P115 resource:Q582868 . ?x rdf:type ontology:Q12973014 } UNION { ?x property:P115 resource:Q1132478 . ?x rdf:type ontology:Q12973014 } }
AEZ Zakakiou AEZ Zakakiou Boston Red Sox Atlanta Braves
AEZ Zakakiou, AEZ Zakakiou and Boston Red Sox have Pafiako Stadium, Ammochostos Stadium and Fenway Park as their home ground
AEZ Zakakiou AEZ Zakakiou Boston Red Sox
action union
action filter_type
action find_reverse
entity Pafiako Stadium
relation home venue
type sports team
action filter_type
action find_reverse
entity Ammochostos Stadium
relation home venue
type sports team
action filter_type
action find_reverse
entity Fenway Park
relation home venue
type sports team
[{'concept': 'sports team'}, 'home venue', 'Pafiako Stadium'] [{'concept': 'sports team'}, 'home venue', 'Ammochostos Stadium'] [{'concept': 'sports team'}, 'home venue', 'Fenway Park']
SELECT DISTINCT ?x WHERE { { ?x property:home_venue resource:Ammochostos_Stadium . ?x rdf:type ontology:sports_team } UNION { ?x property:home_venue resource:Pafiako_Stadium . ?x rdf:type ontology:sports_team } }
[]