Simple Question (Direct)
Simple Question
Q7546134
P54
Q12973014
USER
Which sports teams are Smoky Burgess a member of ?
(Q7546134,P54,c(Q12973014))
action filter_type
action find
entity Q7546134
relation P54
type Q12973014
['Q7546134', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?l WHERE { resource:Q7546134 property:P54 ?l . ?l rdf:type ontology:Q12973014 }
Smoky Burgess
action filter_type
action find
entity Smoky Burgess
relation member of sports team
type sports team
['Smoky Burgess', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?l WHERE { resource:Smoky_Burgess property:member_of_sports_team ?l . ?l rdf:type ontology:sports_team }
[]
sports team
Q653772 Q826751 Q246782
SYSTEM
Pittsburgh Pirates, Cincinnati Reds, Chicago Cubs
Q650840 Q246782 Q6724873 Q335169 Q826751 Q653772
(Q7546134,P54,c(Q12973014))
action filter_type
action find
entity Q7546134
relation P54
type Q12973014
The [ANSWERS] are Smoky Burgess a member of
['Q7546134', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?l WHERE { resource:Q7546134 property:P54 ?l . ?l rdf:type ontology:Q12973014 }
Philadelphia Phillies Chicago Cubs Macon Peaches Chicago White Sox Cincinnati Reds Pittsburgh Pirates
The Pittsburgh Pirates, Cincinnati Reds and Chicago Cubs are Smoky Burgess a member of
Pittsburgh Pirates Cincinnati Reds Chicago Cubs
action filter_type
action find
entity Smoky Burgess
relation member of sports team
type sports team
['Smoky Burgess', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?l WHERE { resource:Smoky_Burgess property:member_of_sports_team ?l . ?l rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q653772 Q826751 Q246782
P1346
Q500834
USER
Which tournaments were those sports teams decalred as a victor of ?
(c(Q500834),P1346,Q653772) (c(Q500834),P1346,Q826751) (c(Q500834),P1346,Q246782)
action filter_type
action find_reverse
entity prev_answer
relation P1346
type Q500834
[{'concept': 'Q500834'}, 'P1346', 'Q653772'] [{'concept': 'Q500834'}, 'P1346', 'Q826751'] [{'concept': 'Q500834'}, 'P1346', 'Q246782']
SELECT DISTINCT ?q WHERE { ?q property:P1346 ?l . ?q rdf:type ontology:Q500834 . VALUES ( ?l ) { ( resource:Q650840 ) ( resource:Q246782 ) ( resource:Q6724873 ) } }
Pittsburgh Pirates Cincinnati Reds Chicago Cubs
action filter_type
action find_reverse
entity prev_answer
relation winner
type tournament
[{'concept': 'tournament'}, 'winner', 'Pittsburgh Pirates'] [{'concept': 'tournament'}, 'winner', 'Cincinnati Reds'] [{'concept': 'tournament'}, 'winner', 'Chicago Cubs']
SELECT DISTINCT ?q WHERE { ?q property:winner ?l . ?q rdf:type ontology:tournament . VALUES ( ?l ) { ( resource:Philadelphia_Phillies ) ( resource:Chicago_Cubs ) ( resource:Macon_Peaches ) } }
[]
tournament
Q24906838 Q846847 Q4295899
SYSTEM
2016 World Series, 1909 World Series, 1975 World Series
Q4295896 Q4561782 Q1983730 Q869082 Q846847 Q4295899 Q846529 Q4295898 Q1568575 Q4564790 Q4558742 Q4558903 Q24906838
(c(Q500834),P1346,Q653772) (c(Q500834),P1346,Q826751) (c(Q500834),P1346,Q246782)
action filter_type
action find_reverse
entity prev_answer
relation P1346
type Q500834
[ANSWERS] were those sports teams decalred as a victor of
[{'concept': 'Q500834'}, 'P1346', 'Q653772'] [{'concept': 'Q500834'}, 'P1346', 'Q826751'] [{'concept': 'Q500834'}, 'P1346', 'Q246782']
SELECT DISTINCT ?q WHERE { ?q property:P1346 ?l . ?q rdf:type ontology:Q500834 . VALUES ( ?l ) { ( resource:Q650840 ) ( resource:Q246782 ) ( resource:Q6724873 ) } }
1971 World Series 1925 World Series 1979 World Series 1960 World Series 1909 World Series 1975 World Series 1919 World Series 1976 World Series 1990 World Series 1940 World Series 1907 World Series 1908 World Series 2016 World Series
2016 World Series, 1909 World Series and 1975 World Series were those sports teams decalred as a victor of
2016 World Series 1909 World Series 1975 World Series
action filter_type
action find_reverse
entity prev_answer
relation winner
type tournament
[{'concept': 'tournament'}, 'winner', 'Pittsburgh Pirates'] [{'concept': 'tournament'}, 'winner', 'Cincinnati Reds'] [{'concept': 'tournament'}, 'winner', 'Chicago Cubs']
SELECT DISTINCT ?q WHERE { ?q property:winner ?l . ?q rdf:type ontology:tournament . VALUES ( ?l ) { ( resource:Philadelphia_Phillies ) ( resource:Chicago_Cubs ) ( resource:Macon_Peaches ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4295899
P17
Q15617994
USER
Which administrative territory is that tournament situated in ?
(Q4295899,P17,c(Q15617994))
action filter_type
action find
entity Q4295899
relation P17
type Q15617994
['Q4295899', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q4295899 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
1975 World Series
action filter_type
action find
entity 1975 World Series
relation country
type designation for an administrative territorial entity
['1975 World Series', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:1975_World_Series property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q846847
SYSTEM
Did you mean 1909 World Series ?
Q24906838 Q846847 Q4295899
(Q24906838,P17,c(Q15617994)) (Q846847,P17,c(Q15617994)) (Q4295899,P17,c(Q15617994))
[ANSWER]
['Q24906838', 'P17', {'concept': 'Q15617994'}] ['Q846847', 'P17', {'concept': 'Q15617994'}] ['Q4295899', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q4295899 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
2016 World Series 1909 World Series 1975 World Series
Did you mean 1909 World Series ?
1909 World Series
['2016 World Series', 'country', {'concept': 'designation for an administrative territorial entity'}] ['1909 World Series', 'country', {'concept': 'designation for an administrative territorial entity'}] ['1975 World Series', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:1975_World_Series property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant 1975 World Series. Could you tell me the answer for that?
(Q4295899,P17,c(Q15617994))
Q4295899
['Q4295899', 'P17', {'concept': 'Q15617994'}]
['1975 World Series', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q30
SYSTEM
United States of America
Q30
(Q4295899,P17,c(Q15617994))
action filter_type
action find
entity Q4295899
relation P17
type Q15617994
That tournament is situated in [ANSWER]
['Q4295899', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q4295899 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
United States of America
That tournament is situated in United States of America
United States of America
action filter_type
action find
entity 1975 World Series
relation country
type designation for an administrative territorial entity
['1975 World Series', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:1975_World_Series property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q817
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with around the same number of administrative territories as Kuwait ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q817
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?u ) WHERE { ?b rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 . ?t property:P530 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Q817 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?u = ?c ) }
Kuwait
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Kuwait
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?u ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Kuwait property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u = ?c ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
151
Q702 Q804 Q800 Q419 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q817
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?u ) WHERE { ?b rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 . ?t property:P530 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Q817 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?u = ?c ) }
Federated States of Micronesia Panama Costa Rica Peru Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
151
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Kuwait
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?u ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Kuwait property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u = ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1033
P530
Q15617994 Q15617994
USER
And what about Nigeria?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1033
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q1033 property:P530 ?w } } . FILTER ( ?t = ?l ) }
Nigeria
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Nigeria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Nigeria property:diplomatic_relation ?w } } . FILTER ( ?t = ?l ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1033
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q1033 property:P530 ?w } } . FILTER ( ?t = ?l ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
158
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Nigeria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Nigeria property:diplomatic_relation ?w } } . FILTER ( ?t = ?l ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24906838
P361
Q13406554
USER
Which sport competition is 2016 World Series a component of ?
(Q24906838,P361,c(Q13406554))
action filter_type
action find
entity Q24906838
relation P361
type Q13406554
['Q24906838', 'P361', {'concept': 'Q13406554'}]
SELECT DISTINCT ?w WHERE { resource:Q24906838 property:P361 ?w . ?w rdf:type ontology:Q13406554 }
2016 World Series
action filter_type
action find
entity 2016 World Series
relation part of
type sport competition
['2016 World Series', 'part of', {'concept': 'sport competition'}]
SELECT DISTINCT ?w WHERE { resource:2016_World_Series property:part_of ?w . ?w rdf:type ontology:sport_competition }
[]
sport competition
Q20950396
SYSTEM
2016 Major League Baseball season
Q20950396
(Q24906838,P361,c(Q13406554))
action filter_type
action find
entity Q24906838
relation P361
type Q13406554
The [ANSWER] is 2016 World Series a component of
['Q24906838', 'P361', {'concept': 'Q13406554'}]
SELECT DISTINCT ?w WHERE { resource:Q24906838 property:P361 ?w . ?w rdf:type ontology:Q13406554 }
2016 Major League Baseball season
The 2016 Major League Baseball season is 2016 World Series a component of
2016 Major League Baseball season
action filter_type
action find
entity 2016 World Series
relation part of
type sport competition
['2016 World Series', 'part of', {'concept': 'sport competition'}]
SELECT DISTINCT ?w WHERE { resource:2016_World_Series property:part_of ?w . ?w rdf:type ontology:sport_competition }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24906838
P276
Q811430
USER
Where are that tournament located ?
(Q20950396,P276,c(Q811430))
action filter_type
action find
entity Q24906838
relation P276
type Q811430
['Q20950396', 'P276', {'concept': 'Q811430'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q811430 . resource:Q24906838 property:P276 ?q }
2016 World Series
action filter_type
action find
entity 2016 World Series
relation location
type construction
['2016 Major League Baseball season', 'location', {'concept': 'construction'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:construction . resource:2016_World_Series property:location ?q }
[]
construction
Q1154053 Q1052807
SYSTEM
Progressive Field, Wrigley Field
Q1154053 Q1052807
(Q20950396,P276,c(Q811430))
action filter_type
action find
entity Q24906838
relation P276
type Q811430
That tournament are located at [ANSWERS]
['Q20950396', 'P276', {'concept': 'Q811430'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q811430 . resource:Q24906838 property:P276 ?q }
Progressive Field Wrigley Field
That tournament are located at Progressive Field and Wrigley Field
Progressive Field Wrigley Field
action filter_type
action find
entity 2016 World Series
relation location
type construction
['2016 Major League Baseball season', 'location', {'concept': 'construction'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:construction . resource:2016_World_Series property:location ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24906838
P641
Q349
USER
What did 2016 World Series participate in ?
(Q24906838,P641,c(Q349))
action filter_type
action find
entity Q24906838
relation P641
type Q349
['Q24906838', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q24906838 property:P641 ?n }
2016 World Series
action filter_type
action find
entity 2016 World Series
relation sport
type sport
['2016 World Series', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:2016_World_Series property:sport ?n }
[]
sport
Q5369
SYSTEM
baseball
Q5369
(Q24906838,P641,c(Q349))
action filter_type
action find
entity Q24906838
relation P641
type Q349
2016 World Series participated in [ANSWER]
['Q24906838', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q24906838 property:P641 ?n }
baseball
2016 World Series participated in baseball
baseball
action filter_type
action find
entity 2016 World Series
relation sport
type sport
['2016 World Series', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:2016_World_Series property:sport ?n }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q811430 Q3947 Q16970
USER
Which constructions are the main uses of atmost 4 houses or churches ?
(c(Q3947)|c(Q16970),P366,c(Q811430))
action atmost
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q3947
action find_reverse_tuple_counts
relation P366
type Q811430
type Q16970
value 4
[[{'concept': 'Q3947'}, {'concept': 'Q16970'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?e ) WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:Q3947 ) ( ontology:Q16970 ) } } GROUP BY ?g } . FILTER ( ?e <= 4 ) }
action atmost
action union
action find_reverse_tuple_counts
relation use
type construction
type house
action find_reverse_tuple_counts
relation use
type construction
type church
value 4
[[{'concept': 'house'}, {'concept': 'church'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?e ) WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:house ) ( ontology:church ) } } GROUP BY ?g } . FILTER ( ?e <= 4 ) }
[]
construction house church
Q11707 Q55488 Q148319
SYSTEM
restaurant, railway station, planetarium
Q12280 Q4989906 Q11707 Q494829 Q1362225 Q12518 Q174782 Q148319 Q1195942 Q190157 Q641226 Q18674739 Q55488 Q39715 Q335261
(c(Q3947)|c(Q16970),P366,c(Q811430))
action atmost
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q3947
action find_reverse_tuple_counts
relation P366
type Q811430
type Q16970
value 4
[ANSWERS] are the main uses of atmost 4 houses or churches
[[{'concept': 'Q3947'}, {'concept': 'Q16970'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?e ) WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:Q3947 ) ( ontology:Q16970 ) } } GROUP BY ?g } . FILTER ( ?e <= 4 ) }
bridge monument restaurant bus station warehouse tower square planetarium fire station transmitter arena event venue railway station lighthouse ornament
Restaurant, railway station and planetarium are the main uses of atmost 4 houses or churches
restaurant railway station planetarium
action atmost
action union
action find_reverse_tuple_counts
relation use
type construction
type house
action find_reverse_tuple_counts
relation use
type construction
type church
value 4
[[{'concept': 'house'}, {'concept': 'church'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?e ) WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:house ) ( ontology:church ) } } GROUP BY ?g } . FILTER ( ?e <= 4 ) }
[]