Simple Question (Direct)
Simple Question
Q7370927
P641
Q349
USER
What was the sport that Rouhollah Arab was a part of ?
(Q7370927,P641,c(Q349))
action filter_type
action find
entity Q7370927
relation P641
type Q349
['Q7370927', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q7370927 property:P641 ?q . ?q rdf:type ontology:Q349 }
Rouhollah Arab
action filter_type
action find
entity Rouhollah Arab
relation sport
type sport
['Rouhollah Arab', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Rouhollah_Arab property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7370927,P641,c(Q349))
action filter_type
action find
entity Q7370927
relation P641
type Q349
The sport that Rouhollah Arab was a part of was h [ANSWER]
['Q7370927', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q7370927 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
The sport that Rouhollah Arab was a part of was h association football
association football
action filter_type
action find
entity Rouhollah Arab
relation sport
type sport
['Rouhollah Arab', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Rouhollah_Arab property:sport ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P425
Q12737077
USER
Which occupations do that sport belong to ?
(c(Q12737077),P425,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q2736']
SELECT DISTINCT ?k WHERE { ?k property:P425 resource:Q2736 . ?k rdf:type ontology:Q12737077 }
association football
action filter_type
action find_reverse
entity association football
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'association football']
SELECT DISTINCT ?k WHERE { ?k property:field_of_this_occupation resource:association_football . ?k rdf:type ontology:occupation }
[]
occupation
Q18052877 Q628099 Q937857
SYSTEM
assistant coach, association football manager, association football player
Q18052877 Q628099 Q937857
(c(Q12737077),P425,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P425
type Q12737077
That sport belong to [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q2736']
SELECT DISTINCT ?k WHERE { ?k property:P425 resource:Q2736 . ?k rdf:type ontology:Q12737077 }
assistant coach association football manager association football player
That sport belong to assistant coach, association football manager and association football player
assistant coach association football manager association football player
action filter_type
action find_reverse
entity association football
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'association football']
SELECT DISTINCT ?k WHERE { ?k property:field_of_this_occupation resource:association_football . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q18052877 Q628099 Q937857
P425
Q349
USER
Who have those ones as the associated fields of occupation ?
(Q18052877,P425,c(Q349)) (Q628099,P425,c(Q349)) (Q937857,P425,c(Q349))
action filter_type
action find
entity prev_answer
relation P425
type Q349
['Q18052877', 'P425', {'concept': 'Q349'}] ['Q628099', 'P425', {'concept': 'Q349'}] ['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { ?r property:P425 ?u . VALUES ( ?r ) { ( resource:Q18052877 ) ( resource:Q628099 ) ( resource:Q937857 ) } . ?u rdf:type ontology:Q349 }
assistant coach association football manager association football player
action filter_type
action find
entity prev_answer
relation field of this occupation
type sport
['assistant coach', 'field of this occupation', {'concept': 'sport'}] ['association football manager', 'field of this occupation', {'concept': 'sport'}] ['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { ?r property:field_of_this_occupation ?u . VALUES ( ?r ) { ( resource:assistant_coach ) ( resource:association_football_manager ) ( resource:association_football_player ) } . ?u rdf:type ontology:sport }
[]
sport
Q2736 Q2736 Q2736
SYSTEM
association football
Q2736 Q2736 Q2736
(Q18052877,P425,c(Q349)) (Q628099,P425,c(Q349)) (Q937857,P425,c(Q349))
action filter_type
action find
entity prev_answer
relation P425
type Q349
[ANSWER], [ANSWER] and [ANSWER] have those ones as the associated fields of occupation
['Q18052877', 'P425', {'concept': 'Q349'}] ['Q628099', 'P425', {'concept': 'Q349'}] ['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { ?r property:P425 ?u . VALUES ( ?r ) { ( resource:Q18052877 ) ( resource:Q628099 ) ( resource:Q937857 ) } . ?u rdf:type ontology:Q349 }
association football association football association football
Association football, association football and association football have those ones as the associated fields of occupation
association football association football association football
action filter_type
action find
entity prev_answer
relation field of this occupation
type sport
['assistant coach', 'field of this occupation', {'concept': 'sport'}] ['association football manager', 'field of this occupation', {'concept': 'sport'}] ['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { ?r property:field_of_this_occupation ?u . VALUES ( ?r ) { ( resource:assistant_coach ) ( resource:association_football_manager ) ( resource:association_football_player ) } . ?u rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P495
Q1496967
USER
Which territory is the origin of association football ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?i WHERE { resource:Q2736 property:P495 ?i . ?i rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:association_football property:country_of_origin ?i . ?i rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
[ANSWER] is the origin of association football
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?i WHERE { resource:Q2736 property:P495 ?i . ?i rdf:type ontology:Q1496967 }
England
England is the origin of association football
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:association_football property:country_of_origin ?i . ?i rdf:type ontology:territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7764868
Q1496967
USER
And how about The Small House at Allington?
(Q7764868,P495,c(Q1496967))
action filter_type
action find
entity Q7764868
relation P495
type Q1496967
['Q7764868', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?b WHERE { resource:Q7764868 property:P495 ?b . ?b rdf:type ontology:Q1496967 }
The Small House at Allington
action filter_type
action find
entity The Small House at Allington
relation country of origin
type territorial entity
['The Small House at Allington', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:The_Small_House_at_Allington property:country_of_origin ?b . ?b rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q7764868,P495,c(Q1496967))
action filter_type
action find
entity Q7764868
relation P495
type Q1496967
[ANSWER]
['Q7764868', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?b WHERE { resource:Q7764868 property:P495 ?b . ?b rdf:type ontology:Q1496967 }
England
England
action filter_type
action find
entity The Small House at Allington
relation country of origin
type territorial entity
['The Small House at Allington', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:The_Small_House_at_Allington property:country_of_origin ?b . ?b rdf:type ontology:territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q21 Q46
P30
Q2221906
USER
Is England situated in Europe ?
(Q21,P30,Q46)
action is_in
entity Q46
action find
entity Q21
relation P30
['Q21', 'P30', 'Q46']
ASK WHERE { resource:Q21 property:P30 resource:Q46 }
England Europe
action is_in
entity Europe
action find
entity England
relation continent
['England', 'continent', 'Europe']
ASK WHERE { resource:England property:continent resource:Europe }
[]
geographic location
SYSTEM
YES
(Q21,P30,Q46)
action is_in
entity Q46
action find
entity Q21
relation P30
[ANSWER]
['Q21', 'P30', 'Q46']
ASK WHERE { resource:Q21 property:P30 resource:Q46 }
Yes
action is_in
entity Europe
action find
entity England
relation continent
['England', 'continent', 'Europe']
ASK WHERE { resource:England property:continent resource:Europe }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q10962
P641
Q349 Q500834 Q18608583
USER
How many sports were approximately the same number of tournaments or recurring sporting events a part of as rugby league ?
(c(Q500834)|c(Q18608583),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q10962
relation P641
type Q500834
type Q18608583
[[{'concept': 'Q500834'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) ?e WHERE { { ?v property:P641 ?e . ?e rdf:type ontology:Q349 . ?v rdf:type ontology:Q18608583 } UNION { ?v property:P641 ?e . ?e rdf:type ontology:Q349 . ?v rdf:type ontology:Q500834 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P641 resource:Q10962 . { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:Q500834 ) ( ontology:Q18608583 ) } } } } . FILTER ( ?q = ?b ) }
rugby league
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity rugby league
relation sport
type tournament
type recurring sporting event
[[{'concept': 'tournament'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) ?e WHERE { { ?v property:sport ?e . ?e rdf:type ontology:sport . ?v rdf:type ontology:recurring_sporting_event } UNION { ?v property:sport ?e . ?e rdf:type ontology:sport . ?v rdf:type ontology:tournament } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:sport resource:rugby_league . { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:tournament ) ( ontology:recurring_sporting_event ) } } } } . FILTER ( ?q = ?b ) }
[]
sport tournament recurring sporting event
SYSTEM
178
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 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 Q5372 Q5375 Q5377 Q206989 Q5369 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q41466 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 Q1734 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(Q500834)|c(Q18608583),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q10962
relation P641
type Q500834
type Q18608583
[ANSWER]
[[{'concept': 'Q500834'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) ?e WHERE { { ?v property:P641 ?e . ?e rdf:type ontology:Q349 . ?v rdf:type ontology:Q18608583 } UNION { ?v property:P641 ?e . ?e rdf:type ontology:Q349 . ?v rdf:type ontology:Q500834 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P641 resource:Q10962 . { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:Q500834 ) ( ontology:Q18608583 ) } } } } . FILTER ( ?q = ?b ) }
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 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 basketball cricket golf shooting sport baseball canoe polo handball 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 ice hockey 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 volleyball 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
178
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity rugby league
relation sport
type tournament
type recurring sporting event
[[{'concept': 'tournament'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) ?e WHERE { { ?v property:sport ?e . ?e rdf:type ontology:sport . ?v rdf:type ontology:recurring_sporting_event } UNION { ?v property:sport ?e . ?e rdf:type ontology:sport . ?v rdf:type ontology:tournament } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:sport resource:rugby_league . { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:tournament ) ( ontology:recurring_sporting_event ) } } } } . FILTER ( ?q = ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2413978
P641
Q349 Q500834 Q18608583
USER
And what about paralympic swimming?
(c(Q500834)|c(Q18608583),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q2413978
relation P641
type Q500834
type Q18608583
[[{'concept': 'Q500834'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?k ) WHERE { VALUES ( ?i ) { ( ontology:Q500834 ) ( ontology:Q18608583 ) } . ?n rdf:type ?i } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:P641 resource:Q2413978 . { { ?o rdf:type ontology:Q500834 } UNION { ?o rdf:type ontology:Q18608583 } } } } . FILTER ( ?k = ?x ) }
paralympic swimming
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity paralympic swimming
relation sport
type tournament
type recurring sporting event
[[{'concept': 'tournament'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?k ) WHERE { VALUES ( ?i ) { ( ontology:tournament ) ( ontology:recurring_sporting_event ) } . ?n rdf:type ?i } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:sport resource:paralympic_swimming . { { ?o rdf:type ontology:tournament } UNION { ?o rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?k = ?x ) }
[]
sport tournament recurring sporting event
SYSTEM
178
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 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 Q5372 Q5375 Q5377 Q206989 Q5369 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q41466 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 Q1734 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(Q500834)|c(Q18608583),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q2413978
relation P641
type Q500834
type Q18608583
[ANSWER]
[[{'concept': 'Q500834'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?k ) WHERE { VALUES ( ?i ) { ( ontology:Q500834 ) ( ontology:Q18608583 ) } . ?n rdf:type ?i } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:P641 resource:Q2413978 . { { ?o rdf:type ontology:Q500834 } UNION { ?o rdf:type ontology:Q18608583 } } } } . FILTER ( ?k = ?x ) }
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 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 basketball cricket golf shooting sport baseball canoe polo handball 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 ice hockey 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 volleyball 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
178
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity paralympic swimming
relation sport
type tournament
type recurring sporting event
[[{'concept': 'tournament'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?k ) WHERE { VALUES ( ?i ) { ( ontology:tournament ) ( ontology:recurring_sporting_event ) } . ?n rdf:type ?i } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:sport resource:paralympic_swimming . { { ?o rdf:type ontology:tournament } UNION { ?o rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?k = ?x ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the patron saints of atleast 3 occupations ?
(c(Q12737077),P417,c(Q502895))
action count
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:P417 ?p . ?p rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?p } . FILTER ( ?e >= 3 ) }
action count
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:patron_saint ?p . ?p rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?p } . FILTER ( ?e >= 3 ) }
[]
common name occupation
SYSTEM
6
Q128538 Q192816 Q43982 Q179718 Q43600 Q200895
(c(Q12737077),P417,c(Q502895))
action count
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:P417 ?p . ?p rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?p } . FILTER ( ?e >= 3 ) }
Luke the Evangelist Saint Barbara Bartholomew the Apostle Catherine of Alexandria Matthew the Apostle Agatha of Sicily
6
action count
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:patron_saint ?p . ?p rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?p } . FILTER ( ?e >= 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q2342494 Q1792379
USER
Which occupations are expressed in around 1 collectables or art genres ?
(c(Q2342494)|c(Q1792379),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?z ) WHERE { VALUES ( ?q ) { ( ontology:Q2342494 ) ( ontology:Q1792379 ) } . ?k rdf:type ?q } GROUP BY ?c } . FILTER ( ?z = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
value 1
[[{'concept': 'collectable'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?z ) WHERE { VALUES ( ?q ) { ( ontology:collectable ) ( ontology:art_genre ) } . ?k rdf:type ?q } GROUP BY ?c } . FILTER ( ?z = 1 ) }
[]
occupation collectable art genre
Q170779 Q4991371 Q11900058
SYSTEM
Kassandra, soldier, explorer
Q2079936 Q11900058 Q843281 Q4991371 Q2730732 Q170779
(c(Q2342494)|c(Q1792379),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
value 1
[ANSWERS] are expressed in around 1 collectables or art genres
[[{'concept': 'Q2342494'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?z ) WHERE { VALUES ( ?q ) { ( ontology:Q2342494 ) ( ontology:Q1792379 ) } . ?k rdf:type ?q } GROUP BY ?c } . FILTER ( ?z = 1 ) }
king of marksmen explorer hobo soldier equestrian Kassandra
Kassandra, soldier and explorer are expressed in around 1 collectables or art genres
Kassandra soldier explorer
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
value 1
[[{'concept': 'collectable'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?z ) WHERE { VALUES ( ?q ) { ( ontology:collectable ) ( ontology:art_genre ) } . ?k rdf:type ?q } GROUP BY ?c } . FILTER ( ?z = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16145657 Q628099
P641
Q349
USER
Which sports did association football manager or Steve Previs participate in ?
OR((Q628099,P641,c(Q349)), (Q16145657,P641,c(Q349)))
action filter_type
action union
action find
entity Q628099
relation P641
action find
entity Q16145657
relation P641
type Q349
{'OR': [['Q628099', 'P641', {'concept': 'Q349'}], ['Q16145657', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q349 . { { resource:Q16145657 property:P641 ?q } UNION { resource:Q628099 property:P641 ?q } } }
Steve Previs association football manager
action filter_type
action union
action find
entity association football manager
relation sport
action find
entity Steve Previs
relation sport
type sport
{'OR': [['association football manager', 'sport', {'concept': 'sport'}], ['Steve Previs', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sport . { { resource:Steve_Previs property:sport ?q } UNION { resource:association_football_manager property:sport ?q } } }
[]
sport
Q5372 Q2736
SYSTEM
basketball, association football
Q5372 Q2736
OR((Q628099,P641,c(Q349)), (Q16145657,P641,c(Q349)))
action filter_type
action union
action find
entity Q628099
relation P641
action find
entity Q16145657
relation P641
type Q349
Association football manager or Steve Previs participated in [ANSWERS]
{'OR': [['Q628099', 'P641', {'concept': 'Q349'}], ['Q16145657', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q349 . { { resource:Q16145657 property:P641 ?q } UNION { resource:Q628099 property:P641 ?q } } }
basketball association football
Association football manager or Steve Previs participated in basketball and association football
basketball association football
action filter_type
action union
action find
entity association football manager
relation sport
action find
entity Steve Previs
relation sport
type sport
{'OR': [['association football manager', 'sport', {'concept': 'sport'}], ['Steve Previs', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sport . { { resource:Steve_Previs property:sport ?q } UNION { resource:association_football_manager property:sport ?q } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q198027
P641
Q502895
USER
Are Vítor Benite involved in playing those sports ?
(Q198027,P641,Q5372) (Q198027,P641,Q2736)
action is_in
entity prev_answer
action find
entity Q198027
relation P641
['Q198027', 'P641', 'Q5372'] ['Q198027', 'P641', 'Q2736']
ASK WHERE { VALUES ( ?v ) { ( resource:Q5372 ) ( resource:Q2736 ) } . resource:Q198027 property:P641 ?v }
Vítor Benite
action is_in
entity prev_answer
action find
entity Vítor Benite
relation sport
['Vítor Benite', 'sport', 'basketball'] ['Vítor Benite', 'sport', 'association football']
ASK WHERE { VALUES ( ?v ) { ( resource:basketball ) ( resource:association_football ) } . resource:Vítor_Benite property:sport ?v }
[]
common name
SYSTEM
YES
(Q198027,P641,Q5372) (Q198027,P641,Q2736)
action is_in
entity prev_answer
action find
entity Q198027
relation P641
[ANSWER]
['Q198027', 'P641', 'Q5372'] ['Q198027', 'P641', 'Q2736']
ASK WHERE { VALUES ( ?v ) { ( resource:Q5372 ) ( resource:Q2736 ) } . resource:Q198027 property:P641 ?v }
Yes
action is_in
entity prev_answer
action find
entity Vítor Benite
relation sport
['Vítor Benite', 'sport', 'basketball'] ['Vítor Benite', 'sport', 'association football']
ASK WHERE { VALUES ( ?v ) { ( resource:basketball ) ( resource:association_football ) } . resource:Vítor_Benite property:sport ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P421
Q317623
USER
Which is the technical standard where England is located in ?
(Q21,P421,c(Q317623))
action filter_type
action find
entity Q21
relation P421
type Q317623
['Q21', 'P421', {'concept': 'Q317623'}]
SELECT DISTINCT ?m WHERE { resource:Q21 property:P421 ?m . ?m rdf:type ontology:Q317623 }
England
action filter_type
action find
entity England
relation located in time zone
type technical standard
['England', 'located in time zone', {'concept': 'technical standard'}]
SELECT DISTINCT ?m WHERE { resource:England property:located_in_time_zone ?m . ?m rdf:type ontology:technical_standard }
[]
technical standard
Q30192
SYSTEM
Greenwich Mean Time
Q30192
(Q21,P421,c(Q317623))
action filter_type
action find
entity Q21
relation P421
type Q317623
[ANSWER] is the technical standard where England is located in
['Q21', 'P421', {'concept': 'Q317623'}]
SELECT DISTINCT ?m WHERE { resource:Q21 property:P421 ?m . ?m rdf:type ontology:Q317623 }
Greenwich Mean Time
Greenwich Mean Time is the technical standard where England is located in
Greenwich Mean Time
action filter_type
action find
entity England
relation located in time zone
type technical standard
['England', 'located in time zone', {'concept': 'technical standard'}]
SELECT DISTINCT ?m WHERE { resource:England property:located_in_time_zone ?m . ?m rdf:type ontology:technical_standard }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P551
Q502895
USER
Which people live in England ?
(c(Q502895),P551,Q21)
action filter_type
action find_reverse
entity Q21
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q21']
SELECT DISTINCT ?t WHERE { ?t property:P551 resource:Q21 . ?t rdf:type ontology:Q502895 }
England
action filter_type
action find_reverse
entity England
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'England']
SELECT DISTINCT ?t WHERE { ?t property:residence resource:England . ?t rdf:type ontology:common_name }
[]
common name
Q7085 Q12908 Q935
SYSTEM
Niels Bohr, George Soros, Isaac Newton
Q19721999 Q7085 Q17297597 Q15632055 Q1331681 Q12908 Q189144 Q544951 Q7086769 Q171363 Q27740159 Q3198512 Q21151748 Q16065895 Q21069418 Q6097409 Q117139 Q8006910 Q2877725 Q15429884 Q213712 Q14277 Q76948 Q6914744 Q19629253 Q935 Q5538701 Q20810758
(c(Q502895),P551,Q21)
action filter_type
action find_reverse
entity Q21
relation P551
type Q502895
[ANSWERS] live in England
[{'concept': 'Q502895'}, 'P551', 'Q21']
SELECT DISTINCT ?t WHERE { ?t property:P551 resource:Q21 . ?t rdf:type ontology:Q502895 }
Coco Piris Niels Bohr Charles de Coux Christie Fuller Ella Briggs George Soros Walter Raleigh Moshoeshoe II of Lesotho Oli Thompson Viggo Mortensen Barbara Ferland Gundulf Rosemary Stjernstedt Maria Caterina Rosalbina Caradori-Allan Frédéric Albrecht Ivan Sansom Wiz Khalifa William Close Baba de Faucigny-Lucinge Mary Elizabeth Hawker Rudolf von Laban William Herschel Caroline Herschel Mortimer Menpes Jacques Dessalines Isaac Newton George E. A. Hallett Leopold William Jerome Fane De Salis
Niels Bohr, George Soros and Isaac Newton live in England
Niels Bohr George Soros Isaac Newton
action filter_type
action find_reverse
entity England
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'England']
SELECT DISTINCT ?t WHERE { ?t property:residence resource:England . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7085
P1344
Q1914636
USER
What did Niels Bohr participate in ?
(Q7085,P1344,c(Q1914636))
action filter_type
action find
entity Q7085
relation P1344
type Q1914636
['Q7085', 'P1344', {'concept': 'Q1914636'}]
SELECT DISTINCT ?h WHERE { resource:Q7085 property:P1344 ?h . ?h rdf:type ontology:Q1914636 }
Niels Bohr
action filter_type
action find
entity Niels Bohr
relation participant of
type activity
['Niels Bohr', 'participant of', {'concept': 'activity'}]
SELECT DISTINCT ?h WHERE { resource:Niels_Bohr property:participant_of ?h . ?h rdf:type ontology:activity }
[]
activity
Q127050
SYSTEM
Manhattan Project
Q127050
(Q7085,P1344,c(Q1914636))
action filter_type
action find
entity Q7085
relation P1344
type Q1914636
Niels Bohr participated in [ANSWER]
['Q7085', 'P1344', {'concept': 'Q1914636'}]
SELECT DISTINCT ?h WHERE { resource:Q7085 property:P1344 ?h . ?h rdf:type ontology:Q1914636 }
Manhattan Project
Niels Bohr participated in Manhattan Project
Manhattan Project
action filter_type
action find
entity Niels Bohr
relation participant of
type activity
['Niels Bohr', 'participant of', {'concept': 'activity'}]
SELECT DISTINCT ?h WHERE { resource:Niels_Bohr property:participant_of ?h . ?h rdf:type ontology:activity }
[]