Simple Question (Direct)
Simple Question
Q3568286
P641
Q349
USER
Which sport was Will Harris a part of ?
(Q3568286,P641,c(Q349))
action filter_type
action find
entity Q3568286
relation P641
type Q349
['Q3568286', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q3568286 property:P641 ?h . ?h rdf:type ontology:Q349 }
Will Harris
action filter_type
action find
entity Will Harris
relation sport
type sport
['Will Harris', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Will_Harris property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q5369
SYSTEM
baseball
Q5369
(Q3568286,P641,c(Q349))
action filter_type
action find
entity Q3568286
relation P641
type Q349
Will Harris was the [ANSWER]
['Q3568286', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q3568286 property:P641 ?h . ?h rdf:type ontology:Q349 }
baseball
Will Harris was the baseball
baseball
action filter_type
action find
entity Will Harris
relation sport
type sport
['Will Harris', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Will_Harris property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3568286
P54
Q12973014
USER
Which sports teams are that person a member of ?
(Q5369,P54,c(Q12973014))
action filter_type
action find
entity Q3568286
relation P54
type Q12973014
['Q5369', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12973014 . resource:Q3568286 property:P54 ?h }
Will Harris
action filter_type
action find
entity Will Harris
relation member of sports team
type sports team
['baseball', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sports_team . resource:Will_Harris property:member_of_sports_team ?h }
[]
sports team
Q388858 Q670376 Q848117
SYSTEM
Colorado Rockies, Arizona Diamondbacks, Houston Astros
Q388858 Q670376 Q848117
(Q5369,P54,c(Q12973014))
action filter_type
action find
entity Q3568286
relation P54
type Q12973014
[ANSWERS] are that person a member of
['Q5369', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12973014 . resource:Q3568286 property:P54 ?h }
Colorado Rockies Arizona Diamondbacks Houston Astros
Colorado Rockies, Arizona Diamondbacks and Houston Astros are that person a member of
Colorado Rockies Arizona Diamondbacks Houston Astros
action filter_type
action find
entity Will Harris
relation member of sports team
type sports team
['baseball', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sports_team . resource:Will_Harris property:member_of_sports_team ?h }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1497658
P641
Q349 Q12973014
USER
How many sports were approximately the same number of sports teams a part of as memory sport ?
(c(Q12973014),P641,c(Q349))
action count
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_type
action find
entity Q1497658
relation P641
type Q349
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:P641 ?s . ?s rdf:type ontology:Q349 . ?g rdf:type ontology:Q12973014 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Q1497658 property:P641 ?e . ?e rdf:type ontology:Q349 } } . FILTER ( ?m = ?c ) }
memory sport
action count
action approx
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_type
action find
entity memory sport
relation sport
type sport
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:sport ?s . ?s rdf:type ontology:sport . ?g rdf:type ontology:sports_team } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:memory_sport property:sport ?e . ?e rdf:type ontology:sport } } . FILTER ( ?m = ?c ) }
[]
sport sports team
SYSTEM
173
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q847 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q41323 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5377 Q206989 Q690676 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q12973014),P641,c(Q349))
action count
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_type
action find
entity Q1497658
relation P641
type Q349
[ANSWER]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:P641 ?s . ?s rdf:type ontology:Q349 . ?g rdf:type ontology:Q12973014 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Q1497658 property:P641 ?e . ?e rdf:type ontology:Q349 } } . FILTER ( ?m = ?c ) }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport tennis equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing American football dancesport Kabaddi curling women's basketball rallying rallycross golf shooting sport canoe polo natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
173
action count
action approx
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_type
action find
entity memory sport
relation sport
type sport
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:sport ?s . ?s rdf:type ontology:sport . ?g rdf:type ontology:sports_team } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:memory_sport property:sport ?e . ?e rdf:type ontology:sport } } . FILTER ( ?m = ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q3177899
P641
Q349 Q12973014
USER
And what about bowling?
(c(Q12973014),P641,c(Q349))
action count
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_type
action find
entity Q3177899
relation P641
type Q349
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:P641 ?f . ?f rdf:type ontology:Q349 . ?n rdf:type ontology:Q12973014 } GROUP BY ?f } . FILTER ( ?r = ?e ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q3177899 property:P641 ?i . ?i rdf:type ontology:Q349 } } }
bowling
action count
action approx
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_type
action find
entity bowling
relation sport
type sport
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:sport ?f . ?f rdf:type ontology:sport . ?n rdf:type ontology:sports_team } GROUP BY ?f } . FILTER ( ?r = ?e ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:bowling property:sport ?i . ?i rdf:type ontology:sport } } }
[]
sport sports team
SYSTEM
173
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q847 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q41323 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5377 Q206989 Q690676 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q12973014),P641,c(Q349))
action count
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_type
action find
entity Q3177899
relation P641
type Q349
[ANSWER]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:P641 ?f . ?f rdf:type ontology:Q349 . ?n rdf:type ontology:Q12973014 } GROUP BY ?f } . FILTER ( ?r = ?e ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q3177899 property:P641 ?i . ?i rdf:type ontology:Q349 } } }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport tennis equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing American football dancesport Kabaddi curling women's basketball rallying rallycross golf shooting sport canoe polo natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
173
action count
action approx
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_type
action find
entity bowling
relation sport
type sport
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:sport ?f . ?f rdf:type ontology:sport . ?n rdf:type ontology:sports_team } GROUP BY ?f } . FILTER ( ?r = ?e ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:bowling property:sport ?i . ?i rdf:type ontology:sport } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q13406554 Q502895
USER
How many sports were approximately 27090 sport competitions and people a part of ?
(c(Q13406554)|c(Q502895),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
value 27090
[[{'concept': 'Q13406554'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?v ) WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:Q13406554 ) ( ontology:Q502895 ) } } GROUP BY ?b } . FILTER ( ?v = 27090 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action find_reverse_tuple_counts
relation sport
type sport
type common name
value 27090
[[{'concept': 'sport competition'}, {'concept': 'common name'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?v ) WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:sport_competition ) ( ontology:common_name ) } } GROUP BY ?b } . FILTER ( ?v = 27090 ) }
[]
sport sport competition common name
SYSTEM
2
Q5372 Q41466
(c(Q13406554)|c(Q502895),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
value 27090
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?v ) WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:Q13406554 ) ( ontology:Q502895 ) } } GROUP BY ?b } . FILTER ( ?v = 27090 ) }
basketball ice hockey
2
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action find_reverse_tuple_counts
relation sport
type sport
type common name
value 27090
[[{'concept': 'sport competition'}, {'concept': 'common name'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?v ) WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:sport_competition ) ( ontology:common_name ) } } GROUP BY ?b } . FILTER ( ?v = 27090 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3135903 Q3568286
P27
Q15617994
USER
Which administrative territories do Will Harris and Tomás de Herrera belong to ?
AND((Q3568286,P27,c(Q15617994)), (Q3135903,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3568286
relation P27
action find
entity Q3135903
relation P27
type Q15617994
{'AND': [['Q3568286', 'P27', {'concept': 'Q15617994'}], ['Q3135903', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { resource:Q3568286 property:P27 ?i . resource:Q3135903 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Tomás de Herrera Will Harris
action filter_type
action intersection
action find
entity Will Harris
relation country of citizenship
action find
entity Tomás de Herrera
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Will Harris', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tomás de Herrera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:Will_Harris property:country_of_citizenship ?i . resource:Tomás_de_Herrera property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q3568286,P27,c(Q15617994)), (Q3135903,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3568286
relation P27
action find
entity Q3135903
relation P27
type Q15617994
Will Harris and Tomás de Herrera belong to the [ANSWER]
{'AND': [['Q3568286', 'P27', {'concept': 'Q15617994'}], ['Q3135903', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { resource:Q3568286 property:P27 ?i . resource:Q3135903 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
United States of America
Will Harris and Tomás de Herrera belong to the United States of America
United States of America
action filter_type
action intersection
action find
entity Will Harris
relation country of citizenship
action find
entity Tomás de Herrera
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Will Harris', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tomás de Herrera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:Will_Harris property:country_of_citizenship ?i . resource:Tomás_de_Herrera property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q388858
P466
Q811430 Q1076486
USER
How many constructions or sports venues are occupied by Colorado Rockies ?
(c(Q811430),P466,Q388858) (c(Q1076486),P466,Q388858)
action count
action union
action filter_type
action find_reverse
entity Q388858
relation P466
type Q811430
action filter_type
action find_reverse
entity Q388858
relation P466
type Q1076486
[{'concept': 'Q811430'}, 'P466', 'Q388858'] [{'concept': 'Q1076486'}, 'P466', 'Q388858']
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { ?p property:P466 resource:Q388858 . ?p rdf:type ontology:Q1076486 } UNION { ?p rdf:type ontology:Q811430 . ?p property:P466 resource:Q388858 } }
Colorado Rockies
action count
action union
action filter_type
action find_reverse
entity Colorado Rockies
relation occupant
type construction
action filter_type
action find_reverse
entity Colorado Rockies
relation occupant
type sports venue
[{'concept': 'construction'}, 'occupant', 'Colorado Rockies'] [{'concept': 'sports venue'}, 'occupant', 'Colorado Rockies']
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { ?p property:occupant resource:Colorado_Rockies . ?p rdf:type ontology:sports_venue } UNION { ?p rdf:type ontology:construction . ?p property:occupant resource:Colorado_Rockies } }
[]
construction sports venue
SYSTEM
3
Q1129916 Q14680394 Q6619833
(c(Q811430),P466,Q388858) (c(Q1076486),P466,Q388858)
action count
action union
action filter_type
action find_reverse
entity Q388858
relation P466
type Q811430
action filter_type
action find_reverse
entity Q388858
relation P466
type Q1076486
[ANSWER]
[{'concept': 'Q811430'}, 'P466', 'Q388858'] [{'concept': 'Q1076486'}, 'P466', 'Q388858']
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { ?p property:P466 resource:Q388858 . ?p rdf:type ontology:Q1076486 } UNION { ?p rdf:type ontology:Q811430 . ?p property:P466 resource:Q388858 } }
Coors Field Hi Corbett Field Salt River Fields at Talking Stick
3
action count
action union
action filter_type
action find_reverse
entity Colorado Rockies
relation occupant
type construction
action filter_type
action find_reverse
entity Colorado Rockies
relation occupant
type sports venue
[{'concept': 'construction'}, 'occupant', 'Colorado Rockies'] [{'concept': 'sports venue'}, 'occupant', 'Colorado Rockies']
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { ?p property:occupant resource:Colorado_Rockies . ?p rdf:type ontology:sports_venue } UNION { ?p rdf:type ontology:construction . ?p property:occupant resource:Colorado_Rockies } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q4460352 Q30
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with United States of America and do Vladimir Tomsinov belong to ?
AND((Q30,P530,c(Q15617994)), (Q4460352,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q30
relation P530
action find
entity Q4460352
relation P27
type Q15617994
{'AND': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q4460352', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { resource:Q30 property:P530 ?l . resource:Q4460352 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Vladimir Tomsinov United States of America
action filter_type
action intersection
action find
entity United States of America
relation diplomatic relation
action find
entity Vladimir Tomsinov
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Vladimir Tomsinov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { resource:United_States_of_America property:diplomatic_relation ?l . resource:Vladimir_Tomsinov property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
AND((Q30,P530,c(Q15617994)), (Q4460352,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q30
relation P530
action find
entity Q4460352
relation P27
type Q15617994
[ANSWER] have diplomatic relationships with United States of America and do Vladimir Tomsinov belong to
{'AND': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q4460352', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { resource:Q30 property:P530 ?l . resource:Q4460352 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Russia
Russia have diplomatic relationships with United States of America and do Vladimir Tomsinov belong to
Russia
action filter_type
action intersection
action find
entity United States of America
relation diplomatic relation
action find
entity Vladimir Tomsinov
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Vladimir Tomsinov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { resource:United_States_of_America property:diplomatic_relation ?l . resource:Vladimir_Tomsinov property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q159 Q953
P530
Q15617994
USER
Does Zambia have diplomatic relationships with that one ?
(Q159,P530,Q953)
action is_in
entity Q953
action find
entity Q159
relation P530
['Q159', 'P530', 'Q953']
ASK WHERE { resource:Q159 property:P530 resource:Q953 }
Russia Zambia
action is_in
entity Zambia
action find
entity Russia
relation diplomatic relation
['Russia', 'diplomatic relation', 'Zambia']
ASK WHERE { resource:Russia property:diplomatic_relation resource:Zambia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q159,P530,Q953)
action is_in
entity Q953
action find
entity Q159
relation P530
[ANSWER]
['Q159', 'P530', 'Q953']
ASK WHERE { resource:Q159 property:P530 resource:Q953 }
Yes
action is_in
entity Zambia
action find
entity Russia
relation diplomatic relation
['Russia', 'diplomatic relation', 'Zambia']
ASK WHERE { resource:Russia property:diplomatic_relation resource:Zambia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q670376
P466
Q483110
USER
What are the stadia occupied by Arizona Diamondbacks ?
(c(Q483110),P466,Q670376)
action filter_type
action find_reverse
entity Q670376
relation P466
type Q483110
[{'concept': 'Q483110'}, 'P466', 'Q670376']
SELECT DISTINCT ?y WHERE { ?y property:P466 resource:Q670376 . ?y rdf:type ontology:Q483110 }
Arizona Diamondbacks
action filter_type
action find_reverse
entity Arizona Diamondbacks
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Arizona Diamondbacks']
SELECT DISTINCT ?y WHERE { ?y property:occupant resource:Arizona_Diamondbacks . ?y rdf:type ontology:stadium }
[]
stadium
Q1068011 Q3197185
SYSTEM
Chase Field, Kino Veterans Memorial Stadium
Q1068011 Q3197185
(c(Q483110),P466,Q670376)
action filter_type
action find_reverse
entity Q670376
relation P466
type Q483110
The stadia occupied by Arizona Diamondbacks are the [ANSWERS]
[{'concept': 'Q483110'}, 'P466', 'Q670376']
SELECT DISTINCT ?y WHERE { ?y property:P466 resource:Q670376 . ?y rdf:type ontology:Q483110 }
Chase Field Kino Veterans Memorial Stadium
The stadia occupied by Arizona Diamondbacks are the Chase Field and Kino Veterans Memorial Stadium
Chase Field Kino Veterans Memorial Stadium
action filter_type
action find_reverse
entity Arizona Diamondbacks
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Arizona Diamondbacks']
SELECT DISTINCT ?y WHERE { ?y property:occupant resource:Arizona_Diamondbacks . ?y rdf:type ontology:stadium }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q670376
P1346
Q500834
USER
Which tournament was won by Arizona Diamondbacks ?
(c(Q500834),P1346,Q670376)
action filter_type
action find_reverse
entity Q670376
relation P1346
type Q500834
[{'concept': 'Q500834'}, 'P1346', 'Q670376']
SELECT DISTINCT ?u WHERE { ?u property:P1346 resource:Q670376 . ?u rdf:type ontology:Q500834 }
Arizona Diamondbacks
action filter_type
action find_reverse
entity Arizona Diamondbacks
relation winner
type tournament
[{'concept': 'tournament'}, 'winner', 'Arizona Diamondbacks']
SELECT DISTINCT ?u WHERE { ?u property:winner resource:Arizona_Diamondbacks . ?u rdf:type ontology:tournament }
[]
tournament
Q1207242
SYSTEM
2001 World Series
Q1207242
(c(Q500834),P1346,Q670376)
action filter_type
action find_reverse
entity Q670376
relation P1346
type Q500834
[ANSWER] was won by Arizona Diamondbacks
[{'concept': 'Q500834'}, 'P1346', 'Q670376']
SELECT DISTINCT ?u WHERE { ?u property:P1346 resource:Q670376 . ?u rdf:type ontology:Q500834 }
2001 World Series
2001 World Series was won by Arizona Diamondbacks
2001 World Series
action filter_type
action find_reverse
entity Arizona Diamondbacks
relation winner
type tournament
[{'concept': 'tournament'}, 'winner', 'Arizona Diamondbacks']
SELECT DISTINCT ?u WHERE { ?u property:winner resource:Arizona_Diamondbacks . ?u rdf:type ontology:tournament }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q670376
P793
Q500834
USER
What is a significant event associated with that sports team ?
(Q1207242,P793,c(Q500834))
action filter_type
action find
entity Q670376
relation P793
type Q500834
['Q1207242', 'P793', {'concept': 'Q500834'}]
SELECT DISTINCT ?s WHERE { resource:Q670376 property:P793 ?s . ?s rdf:type ontology:Q500834 }
Arizona Diamondbacks
action filter_type
action find
entity Arizona Diamondbacks
relation significant event
type tournament
['2001 World Series', 'significant event', {'concept': 'tournament'}]
SELECT DISTINCT ?s WHERE { resource:Arizona_Diamondbacks property:significant_event ?s . ?s rdf:type ontology:tournament }
[]
tournament
Q1207242
SYSTEM
2001 World Series
Q1207242
(Q1207242,P793,c(Q500834))
action filter_type
action find
entity Q670376
relation P793
type Q500834
A significant event associated with that sports team is the [ANSWER]
['Q1207242', 'P793', {'concept': 'Q500834'}]
SELECT DISTINCT ?s WHERE { resource:Q670376 property:P793 ?s . ?s rdf:type ontology:Q500834 }
2001 World Series
A significant event associated with that sports team is the 2001 World Series
2001 World Series
action filter_type
action find
entity Arizona Diamondbacks
relation significant event
type tournament
['2001 World Series', 'significant event', {'concept': 'tournament'}]
SELECT DISTINCT ?s WHERE { resource:Arizona_Diamondbacks property:significant_event ?s . ?s rdf:type ontology:tournament }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q592031
P641
Q349 Q500834
USER
How many sports did greater number of tournaments participate in than wingsuit flying ?
(c(Q500834),P641,c(Q349))
action count
action greater
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_type
action find
entity Q592031
relation P641
type Q349
[{'concept': 'Q500834'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:P641 ?c . ?r rdf:type ontology:Q500834 . ?c rdf:type ontology:Q349 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Q592031 property:P641 ?b . ?b rdf:type ontology:Q349 } } . FILTER ( ?l > ?p ) }
wingsuit flying
action count
action greater
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_type
action find
entity wingsuit flying
relation sport
type sport
[{'concept': 'tournament'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:sport ?c . ?r rdf:type ontology:tournament . ?c rdf:type ontology:sport } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:wingsuit_flying property:sport ?b . ?b rdf:type ontology:sport } } . FILTER ( ?l > ?p ) }
[]
sport tournament
SYSTEM
23
Q10962 Q1109032 Q133201 Q847 Q601972 Q5372 Q5375 Q5377 Q5369 Q8418 Q41466 Q221635 Q1455 Q1081491 Q213711 Q606060 Q134211 Q1734 Q2701632 Q1875777 Q2736 Q17988507 Q3341285
(c(Q500834),P641,c(Q349))
action count
action greater
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_type
action find
entity Q592031
relation P641
type Q349
[ANSWER]
[{'concept': 'Q500834'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:P641 ?c . ?r rdf:type ontology:Q500834 . ?c rdf:type ontology:Q349 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Q592031 property:P641 ?b . ?b rdf:type ontology:Q349 } } . FILTER ( ?l > ?p ) }
rugby league college football squash tennis Camogie basketball cricket golf baseball handball ice hockey track cycling field hockey football hurling women's association football polo volleyball muggle quidditch air racing association football women's tennis cue sports
23
action count
action greater
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_type
action find
entity wingsuit flying
relation sport
type sport
[{'concept': 'tournament'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:sport ?c . ?r rdf:type ontology:tournament . ?c rdf:type ontology:sport } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:wingsuit_flying property:sport ?b . ?b rdf:type ontology:sport } } . FILTER ( ?l > ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q7291
P641
Q349 Q500834
USER
And what about badminton?
(c(Q500834),P641,c(Q349))
action count
action greater
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_type
action find
entity Q7291
relation P641
type Q349
[{'concept': 'Q500834'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a rdf:type ontology:Q349 . resource:Q7291 property:P641 ?a } } . FILTER ( ?d > ?w ) . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:P641 ?o . ?o rdf:type ontology:Q349 . ?t rdf:type ontology:Q500834 } GROUP BY ?o } }
badminton
action count
action greater
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_type
action find
entity badminton
relation sport
type sport
[{'concept': 'tournament'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a rdf:type ontology:sport . resource:badminton property:sport ?a } } . FILTER ( ?d > ?w ) . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:sport ?o . ?o rdf:type ontology:sport . ?t rdf:type ontology:tournament } GROUP BY ?o } }
[]
sport tournament
SYSTEM
23
Q10962 Q1109032 Q133201 Q847 Q601972 Q5372 Q5375 Q5377 Q5369 Q8418 Q41466 Q221635 Q1455 Q1081491 Q213711 Q606060 Q134211 Q1734 Q2701632 Q1875777 Q2736 Q17988507 Q3341285
(c(Q500834),P641,c(Q349))
action count
action greater
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_type
action find
entity Q7291
relation P641
type Q349
[ANSWER]
[{'concept': 'Q500834'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a rdf:type ontology:Q349 . resource:Q7291 property:P641 ?a } } . FILTER ( ?d > ?w ) . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:P641 ?o . ?o rdf:type ontology:Q349 . ?t rdf:type ontology:Q500834 } GROUP BY ?o } }
rugby league college football squash tennis Camogie basketball cricket golf baseball handball ice hockey track cycling field hockey football hurling women's association football polo volleyball muggle quidditch air racing association football women's tennis cue sports
23
action count
action greater
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_type
action find
entity badminton
relation sport
type sport
[{'concept': 'tournament'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a rdf:type ontology:sport . resource:badminton property:sport ?a } } . FILTER ( ?d > ?w ) . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:sport ?o . ?o rdf:type ontology:sport . ?t rdf:type ontology:tournament } GROUP BY ?o } }
[]