Simple Question (Direct)
Simple Question
Q5550195
P20
Q56061
USER
Which administrative territory is the place of death of Fernando Muscat ?
(Q5550195,P20,c(Q56061))
action filter_type
action find
entity Q5550195
relation P20
type Q56061
['Q5550195', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q5550195 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Fernando Muscat
action filter_type
action find
entity Fernando Muscat
relation place of death
type administrative territorial entity
['Fernando Muscat', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Fernando_Muscat property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q5550195,P20,c(Q56061))
action filter_type
action find
entity Q5550195
relation P20
type Q56061
[ANSWER] is the place of death of Fernando Muscat
['Q5550195', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q5550195 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Barcelona
Barcelona is the place of death of Fernando Muscat
Barcelona
action filter_type
action find
entity Fernando Muscat
relation place of death
type administrative territorial entity
['Fernando Muscat', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Fernando_Muscat property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5550195
P641
Q349
USER
Which sport was that person a part of ?
(Q1492,P641,c(Q349))
action filter_type
action find
entity Q5550195
relation P641
type Q349
['Q1492', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q5550195 property:P641 ?o . ?o rdf:type ontology:Q349 }
Fernando Muscat
action filter_type
action find
entity Fernando Muscat
relation sport
type sport
['Barcelona', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Fernando_Muscat property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q1492,P641,c(Q349))
action filter_type
action find
entity Q5550195
relation P641
type Q349
The [ANSWER] was that person a part of
['Q1492', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q5550195 property:P641 ?o . ?o rdf:type ontology:Q349 }
basketball
The basketball was that person a part of
basketball
action filter_type
action find
entity Fernando Muscat
relation sport
type sport
['Barcelona', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Fernando_Muscat property:sport ?o . ?o rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q349 Q502895 Q43229
USER
Which sports are the field of work of more number of people or organizations than that sport ?
(c(Q502895)|c(Q43229),P101,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q5372
relation P101
type Q502895
type Q43229
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:P101 resource:Q5372 . { VALUES ( ?p ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } . ?f rdf:type ?p } } } . FILTER ( ?d > ?b ) . { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?d ) WHERE { ?y rdf:type ?h . VALUES ( ?h ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } } GROUP BY ?a } }
action greater
action union
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action count
action filter_multi_types
action find_reverse
entity basketball
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:field_of_work resource:basketball . { VALUES ( ?p ) { ( ontology:organization ) ( ontology:common_name ) } . ?f rdf:type ?p } } } . FILTER ( ?d > ?b ) . { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?d ) WHERE { ?y rdf:type ?h . VALUES ( ?h ) { ( ontology:common_name ) ( ontology:organization ) } } GROUP BY ?a } }
[]
sport common name organization
Q10962 Q4543 Q170737
SYSTEM
rugby league, beach volleyball, long jump
Q10962 Q43450 Q4543 Q170737 Q5375 Q1734 Q31920 Q500050 Q2736 Q201965 Q124100 Q41323
(c(Q502895)|c(Q43229),P101,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q5372
relation P101
type Q502895
type Q43229
[ANSWERS] are the field of work of more number of people or organizations than that sport
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:P101 resource:Q5372 . { VALUES ( ?p ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } . ?f rdf:type ?p } } } . FILTER ( ?d > ?b ) . { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?d ) WHERE { ?y rdf:type ?h . VALUES ( ?h ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } } GROUP BY ?a } }
rugby league gymnastics beach volleyball long jump cricket volleyball swimming cross country running association football Nordic combined bodybuilding American football
Rugby league, beach volleyball and long jump are the field of work of more number of people or organizations than that sport
rugby league beach volleyball long jump
action greater
action union
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action count
action filter_multi_types
action find_reverse
entity basketball
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:field_of_work resource:basketball . { VALUES ( ?p ) { ( ontology:organization ) ( ontology:common_name ) } . ?f rdf:type ?p } } } . FILTER ( ?d > ?b ) . { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?d ) WHERE { ?y rdf:type ?h . VALUES ( ?h ) { ( ontology:common_name ) ( ontology:organization ) } } GROUP BY ?a } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1492
P417
Q502895 Q1509831
USER
How many people and titless of Mary are the patron saint of Barcelona ?
(Q1492,P417,c(Q502895)) (Q1492,P417,c(Q1509831))
action count
action union
action filter_type
action find
entity Q1492
relation P417
type Q502895
action filter_type
action find
entity Q1492
relation P417
type Q1509831
['Q1492', 'P417', {'concept': 'Q502895'}] ['Q1492', 'P417', {'concept': 'Q1509831'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { VALUES ( ?n ) { ( ontology:Q502895 ) ( ontology:Q1509831 ) } . ?c rdf:type ?n }
Barcelona
action count
action union
action filter_type
action find
entity Barcelona
relation patron saint
type common name
action filter_type
action find
entity Barcelona
relation patron saint
type titles of Mary
['Barcelona', 'patron saint', {'concept': 'common name'}] ['Barcelona', 'patron saint', {'concept': 'titles of Mary'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { VALUES ( ?n ) { ( ontology:common_name ) ( ontology:titles_of_Mary ) } . ?c rdf:type ?n }
[]
common name titles of Mary
SYSTEM
1 people and 1 titless of Mary
Q176813 Q2456500
(Q1492,P417,c(Q502895)) (Q1492,P417,c(Q1509831))
action count
action union
action filter_type
action find
entity Q1492
relation P417
type Q502895
action filter_type
action find
entity Q1492
relation P417
type Q1509831
[ANSWER]
['Q1492', 'P417', {'concept': 'Q502895'}] ['Q1492', 'P417', {'concept': 'Q1509831'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { VALUES ( ?n ) { ( ontology:Q502895 ) ( ontology:Q1509831 ) } . ?c rdf:type ?n }
Virgin of Mercy Eulalia of Barcelona
1 people and 1 titless of Mary
action count
action union
action filter_type
action find
entity Barcelona
relation patron saint
type common name
action filter_type
action find
entity Barcelona
relation patron saint
type titles of Mary
['Barcelona', 'patron saint', {'concept': 'common name'}] ['Barcelona', 'patron saint', {'concept': 'titles of Mary'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { VALUES ( ?n ) { ( ontology:common_name ) ( ontology:titles_of_Mary ) } . ?c rdf:type ?n }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1799225 Q5550195
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Fernando Muscat or Roger Legeay ?
OR((Q5550195,P27,c(Q15617994)), (Q1799225,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5550195
relation P27
action find
entity Q1799225
relation P27
type Q15617994
{'OR': [['Q5550195', 'P27', {'concept': 'Q15617994'}], ['Q1799225', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1799225 property:P27 ?g } UNION { resource:Q5550195 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Roger Legeay Fernando Muscat
action filter_type
action union
action find
entity Fernando Muscat
relation country of citizenship
action find
entity Roger Legeay
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Fernando Muscat', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Roger Legeay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Roger_Legeay property:country_of_citizenship ?g } UNION { resource:Fernando_Muscat property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q29
SYSTEM
France, Spain
Q142 Q29
OR((Q5550195,P27,c(Q15617994)), (Q1799225,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5550195
relation P27
action find
entity Q1799225
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Fernando Muscat or Roger Legeay
{'OR': [['Q5550195', 'P27', {'concept': 'Q15617994'}], ['Q1799225', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1799225 property:P27 ?g } UNION { resource:Q5550195 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
France Spain
France and Spain are the countries of citizenship of Fernando Muscat or Roger Legeay
France Spain
action filter_type
action union
action find
entity Fernando Muscat
relation country of citizenship
action find
entity Roger Legeay
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Fernando Muscat', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Roger Legeay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Roger_Legeay property:country_of_citizenship ?g } UNION { resource:Fernando_Muscat property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7265830
P495
Q838948
USER
Did Qahar originate in those administrative territories ?
(Q7265830,P495,Q142) (Q7265830,P495,Q29)
action is_in
entity prev_answer
action find
entity Q7265830
relation P495
['Q7265830', 'P495', 'Q142'] ['Q7265830', 'P495', 'Q29']
ASK WHERE { VALUES ( ?s ) { ( resource:Q142 ) ( resource:Q29 ) } . resource:Q7265830 property:P495 ?s }
Qahar
action is_in
entity prev_answer
action find
entity Qahar
relation country of origin
['Qahar', 'country of origin', 'France'] ['Qahar', 'country of origin', 'Spain']
ASK WHERE { VALUES ( ?s ) { ( resource:France ) ( resource:Spain ) } . resource:Qahar property:country_of_origin ?s }
[]
work of art
SYSTEM
NO
(Q7265830,P495,Q142) (Q7265830,P495,Q29)
action is_in
entity prev_answer
action find
entity Q7265830
relation P495
[ANSWER]
['Q7265830', 'P495', 'Q142'] ['Q7265830', 'P495', 'Q29']
ASK WHERE { VALUES ( ?s ) { ( resource:Q142 ) ( resource:Q29 ) } . resource:Q7265830 property:P495 ?s }
No
action is_in
entity prev_answer
action find
entity Qahar
relation country of origin
['Qahar', 'country of origin', 'France'] ['Qahar', 'country of origin', 'Spain']
ASK WHERE { VALUES ( ?s ) { ( resource:France ) ( resource:Spain ) } . resource:Qahar property:country_of_origin ?s }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2891773
Q166142
USER
And how about BattleSphere?
(Q2891773,P136,c(Q166142))
action filter_type
action find
entity Q2891773
relation P136
type Q166142
['Q2891773', 'P136', {'concept': 'Q166142'}]
SELECT DISTINCT ?r WHERE { resource:Q2891773 property:P136 ?r . ?r rdf:type ontology:Q166142 }
BattleSphere
action filter_type
action find
entity BattleSphere
relation genre
type application
['BattleSphere', 'genre', {'concept': 'application'}]
SELECT DISTINCT ?r WHERE { resource:BattleSphere property:genre ?r . ?r rdf:type ontology:application }
[]
application
Q7572308
SYSTEM
Space Combat
Q7572308
(Q2891773,P136,c(Q166142))
action filter_type
action find
entity Q2891773
relation P136
type Q166142
[ANSWER]
['Q2891773', 'P136', {'concept': 'Q166142'}]
SELECT DISTINCT ?r WHERE { resource:Q2891773 property:P136 ?r . ?r rdf:type ontology:Q166142 }
Space Combat
Space Combat
action filter_type
action find
entity BattleSphere
relation genre
type application
['BattleSphere', 'genre', {'concept': 'application'}]
SELECT DISTINCT ?r WHERE { resource:BattleSphere property:genre ?r . ?r rdf:type ontology:application }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7572308 Q587135
P400
Q676202
USER
Is MenuetOS the platform for which Space Combat was developed ?
(Q7572308,P400,Q587135)
action is_in
entity Q587135
action find
entity Q7572308
relation P400
['Q7572308', 'P400', 'Q587135']
ASK WHERE { resource:Q7572308 property:P400 resource:Q587135 }
Space Combat MenuetOS
action is_in
entity MenuetOS
action find
entity Space Combat
relation platform
['Space Combat', 'platform', 'MenuetOS']
ASK WHERE { resource:Space_Combat property:platform resource:MenuetOS }
[]
system software
SYSTEM
NO
(Q7572308,P400,Q587135)
action is_in
entity Q587135
action find
entity Q7572308
relation P400
[ANSWER]
['Q7572308', 'P400', 'Q587135']
ASK WHERE { resource:Q7572308 property:P400 resource:Q587135 }
No
action is_in
entity MenuetOS
action find
entity Space Combat
relation platform
['Space Combat', 'platform', 'MenuetOS']
ASK WHERE { resource:Space_Combat property:platform resource:MenuetOS }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P641
Q349 Q18608583 Q500834
USER
Which sports were min number of recurring sporting events and tournaments a part of ?
(c(Q18608583)|c(Q500834),P641,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
[[{'concept': 'Q18608583'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?g ) { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?t ) WHERE { VALUES ( ?j ) { ( ontology:Q18608583 ) ( ontology:Q500834 ) } . ?i rdf:type ?j } GROUP BY ?a } } . { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?s ) WHERE { { ?o rdf:type ontology:Q349 . ?n rdf:type ontology:Q500834 . ?n property:P641 ?o } UNION { ?o rdf:type ontology:Q349 . ?n rdf:type ontology:Q18608583 . ?n property:P641 ?o } } GROUP BY ?o } . FILTER ( ?s = ?g ) }
action argmin
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type tournament
[[{'concept': 'recurring sporting event'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?g ) { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?t ) WHERE { VALUES ( ?j ) { ( ontology:recurring_sporting_event ) ( ontology:tournament ) } . ?i rdf:type ?j } GROUP BY ?a } } . { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?s ) WHERE { { ?o rdf:type ontology:sport . ?n rdf:type ontology:tournament . ?n property:sport ?o } UNION { ?o rdf:type ontology:sport . ?n rdf:type ontology:recurring_sporting_event . ?n property:sport ?o } } GROUP BY ?o } . FILTER ( ?s = ?g ) }
[]
sport recurring sporting event tournament
Q809831 Q1295867 Q206763
SYSTEM
BASE jumping, pesäpallo, floorball
Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q206763 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q46241 Q192937 Q3372565 Q208607 Q188966 Q961015 Q131359 Q27672886 Q22857 Q657196 Q338208 Q41323 Q738622 Q148636 Q136851 Q2887217 Q599204 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 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q36908 Q483693 Q389654 Q185851 Q4245261 Q624161 Q327742 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q1150656 Q1063445 Q6140386 Q3325635 Q207703 Q1358925 Q1748406 Q667692 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q6350707 Q159992 Q3924425 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q2440459 Q429006
(c(Q18608583)|c(Q500834),P641,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
[ANSWERS] were min number of recurring sporting events and tournaments a part of
[[{'concept': 'Q18608583'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?g ) { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?t ) WHERE { VALUES ( ?j ) { ( ontology:Q18608583 ) ( ontology:Q500834 ) } . ?i rdf:type ?j } GROUP BY ?a } } . { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?s ) WHERE { { ?o rdf:type ontology:Q349 . ?n rdf:type ontology:Q500834 . ?n property:P641 ?o } UNION { ?o rdf:type ontology:Q349 . ?n rdf:type ontology:Q18608583 . ?n property:P641 ?o } } GROUP BY ?o } . FILTER ( ?s = ?g ) }
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 floorball Ultimate memory sport equestrian sport puroresu paintball Finswimming drag racing korfball Kettlebell lifting kung fu contract bridge women's boxing professional wrestling Flying disc games climbing medley swimming giant slalom skiing American football dancesport Kabaddi curling women's basketball rallycross 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 harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football gymnastics Inline skating strength training water sport Contact sport competition aerobatics paralympic swimming gymnastics balkline and straight rail skating mountaineering parkour Greco-Roman wrestling lacrosse touring car racing gliding relay race 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 wheelchair curling nine-ball Kitō-ryū Valencian trinquet rodeo speed skiing roller hockey (quad) Nordic walking hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing formula racing kick boxing Kalari surfing combined track and field events beach soccer Kart racing korbball mind sport winter sport pallone wheelchair fencing Duathlon
BASE jumping, pesäpallo and floorball were min number of recurring sporting events and tournaments a part of
BASE jumping pesäpallo floorball
action argmin
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type tournament
[[{'concept': 'recurring sporting event'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?g ) { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?t ) WHERE { VALUES ( ?j ) { ( ontology:recurring_sporting_event ) ( ontology:tournament ) } . ?i rdf:type ?j } GROUP BY ?a } } . { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?s ) WHERE { { ?o rdf:type ontology:sport . ?n rdf:type ontology:tournament . ?n property:sport ?o } UNION { ?o rdf:type ontology:sport . ?n rdf:type ontology:recurring_sporting_event . ?n property:sport ?o } } GROUP BY ?o } . FILTER ( ?s = ?g ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q349 Q43229 Q502895
USER
How many sports are the field of work of less number of organizations and people than that sport ?
(c(Q43229)|c(Q502895),P101,c(Q349))
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q502895 }
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:sport . ?x rdf:type ontology:common_name }
[]
sport organization common name
Comparative|Count over More/Less|Mult. entity type|Clarification
Q809831
SYSTEM
Did you mean BASE jumping ?
(c(Q43229)|c(Q502895),P101,c(Q349))
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q502895 }
Did you mean BASE jumping ?
BASE jumping
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:sport . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q43229)|c(Q502895),P101,c(Q349))
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
[]
SYSTEM
4
Q1109032 Q14300548 Q130949 Q131359
(c(Q43229)|c(Q502895),P101,c(Q349))
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q502895 }
college football skating skiing professional wrestling
4
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:sport . ?x rdf:type ontology:common_name }
[]