Simple Question (Direct)
Simple Question
Q2082052
P21
Q290
USER
Which sex does Norman Sylla belong to ?
(Q2082052,P21,c(Q290))
action filter_type
action find
entity Q2082052
relation P21
type Q290
['Q2082052', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q2082052 property:P21 ?c . ?c rdf:type ontology:Q290 }
Norman Sylla
action filter_type
action find
entity Norman Sylla
relation gender
type sex
['Norman Sylla', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Norman_Sylla property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2082052,P21,c(Q290))
action filter_type
action find
entity Q2082052
relation P21
type Q290
Norman Sylla belongs to [ANSWER]
['Q2082052', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q2082052 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
Norman Sylla belongs to male
male
action filter_type
action find
entity Norman Sylla
relation gender
type sex
['Norman Sylla', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Norman_Sylla property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2082052
P641
Q349
USER
What was the sport that Norman Sylla was a part of ?
(Q2082052,P641,c(Q349))
action filter_type
action find
entity Q2082052
relation P641
type Q349
['Q2082052', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q2082052 property:P641 ?w . ?w rdf:type ontology:Q349 }
Norman Sylla
action filter_type
action find
entity Norman Sylla
relation sport
type sport
['Norman Sylla', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Norman_Sylla property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2082052,P641,c(Q349))
action filter_type
action find
entity Q2082052
relation P641
type Q349
The sport that Norman Sylla was a part of was the [ANSWER]
['Q2082052', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q2082052 property:P641 ?w . ?w rdf:type ontology:Q349 }
association football
The sport that Norman Sylla was a part of was the association football
association football
action filter_type
action find
entity Norman Sylla
relation sport
type sport
['Norman Sylla', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Norman_Sylla property:sport ?w . ?w rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7322898
Q349
USER
And how about Riccardo Capogna?
(Q7322898,P641,c(Q349))
action filter_type
action find
entity Q7322898
relation P641
type Q349
['Q7322898', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q7322898 property:P641 ?d . ?d rdf:type ontology:Q349 }
Riccardo Capogna
action filter_type
action find
entity Riccardo Capogna
relation sport
type sport
['Riccardo Capogna', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Riccardo_Capogna property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7322898,P641,c(Q349))
action filter_type
action find
entity Q7322898
relation P641
type Q349
[ANSWER]
['Q7322898', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q7322898 property:P641 ?d . ?d rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Riccardo Capogna
relation sport
type sport
['Riccardo Capogna', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Riccardo_Capogna property:sport ?d . ?d rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2082052
P19
Q56061
USER
How many administrative territories are the birthplace of Norman Sylla ?
(Q2082052,P19,c(Q56061))
action count
action filter_type
action find
entity Q2082052
relation P19
type Q56061
['Q2082052', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { ?v rdf:type ontology:Q56061 . resource:Q2082052 property:P19 ?v }
Norman Sylla
action count
action filter_type
action find
entity Norman Sylla
relation place of birth
type administrative territorial entity
['Norman Sylla', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Norman_Sylla property:place_of_birth ?v }
[]
administrative territorial entity
SYSTEM
1
Q90
(Q2082052,P19,c(Q56061))
action count
action filter_type
action find
entity Q2082052
relation P19
type Q56061
[ANSWER]
['Q2082052', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { ?v rdf:type ontology:Q56061 . resource:Q2082052 property:P19 ?v }
Paris
1
action count
action filter_type
action find
entity Norman Sylla
relation place of birth
type administrative territorial entity
['Norman Sylla', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Norman_Sylla property:place_of_birth ?v }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q5485876
Q56061
USER
And how about Antonio Fernández-Galiano Campos?
(Q5485876,P19,c(Q56061))
action count
action filter_type
action find
entity Q5485876
relation P19
type Q56061
['Q5485876', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Q5485876 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Antonio Fernández-Galiano Campos
action count
action filter_type
action find
entity Antonio Fernández-Galiano Campos
relation place of birth
type administrative territorial entity
['Antonio Fernández-Galiano Campos', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Antonio_Fernández-Galiano_Campos property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q5485876,P19,c(Q56061))
action count
action filter_type
action find
entity Q5485876
relation P19
type Q56061
[ANSWER]
['Q5485876', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Q5485876 property:P19 ?u . ?u rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Antonio Fernández-Galiano Campos
relation place of birth
type administrative territorial entity
['Antonio Fernández-Galiano Campos', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Antonio_Fernández-Galiano_Campos property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q5485876 Q3369894
P21
Q290
USER
How many sexes do Antonio Fernández-Galiano Campos or League of Women Voters possess ?
(Q5485876,P21,c(Q290)) (Q3369894,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q5485876
relation P21
type Q290
action filter_type
action find
entity Q3369894
relation P21
type Q290
['Q5485876', 'P21', {'concept': 'Q290'}] ['Q3369894', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { resource:Q5485876 property:P21 ?s . ?s rdf:type ontology:Q290 } UNION { resource:Q3369894 property:P21 ?s . ?s rdf:type ontology:Q290 } }
Antonio Fernández-Galiano Campos League of Women Voters
action count
action union
action filter_type
action find
entity Antonio Fernández-Galiano Campos
relation gender
type sex
action filter_type
action find
entity League of Women Voters
relation gender
type sex
['Antonio Fernández-Galiano Campos', 'gender', {'concept': 'sex'}] ['League of Women Voters', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { resource:Antonio_Fernández-Galiano_Campos property:gender ?s . ?s rdf:type ontology:sex } UNION { resource:League_of_Women_Voters property:gender ?s . ?s rdf:type ontology:sex } }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q5485876,P21,c(Q290)) (Q3369894,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q5485876
relation P21
type Q290
action filter_type
action find
entity Q3369894
relation P21
type Q290
[ANSWER]
['Q5485876', 'P21', {'concept': 'Q290'}] ['Q3369894', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { resource:Q5485876 property:P21 ?s . ?s rdf:type ontology:Q290 } UNION { resource:Q3369894 property:P21 ?s . ?s rdf:type ontology:Q290 } }
male female
2
action count
action union
action filter_type
action find
entity Antonio Fernández-Galiano Campos
relation gender
type sex
action filter_type
action find
entity League of Women Voters
relation gender
type sex
['Antonio Fernández-Galiano Campos', 'gender', {'concept': 'sex'}] ['League of Women Voters', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { resource:Antonio_Fernández-Galiano_Campos property:gender ?s . ?s rdf:type ontology:sex } UNION { resource:League_of_Women_Voters property:gender ?s . ?s rdf:type ontology:sex } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q27057482 Q2082052
P276 P19
Q56061
USER
Which administrative territories were Norman Sylla born at or are the place where First Forest Service Office Moon Tree are located ?
OR((Q2082052,P19,c(Q56061)), (Q27057482,P276,c(Q56061)))
action filter_type
action union
action find
entity Q2082052
relation P19
action find
entity Q27057482
relation P276
type Q56061
{'OR': [['Q2082052', 'P19', {'concept': 'Q56061'}], ['Q27057482', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q2082052 property:P19 ?k } UNION { resource:Q27057482 property:P276 ?k } } . ?k rdf:type ontology:Q56061 }
First Forest Service Office Moon Tree Norman Sylla
action filter_type
action union
action find
entity Norman Sylla
relation place of birth
action find
entity First Forest Service Office Moon Tree
relation location
type administrative territorial entity
{'OR': [['Norman Sylla', 'place of birth', {'concept': 'administrative territorial entity'}], ['First Forest Service Office Moon Tree', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Norman_Sylla property:place_of_birth ?k } UNION { resource:First_Forest_Service_Office_Moon_Tree property:location ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2738191 Q90
SYSTEM
Tell City, Paris
Q2738191 Q90
OR((Q2082052,P19,c(Q56061)), (Q27057482,P276,c(Q56061)))
action filter_type
action union
action find
entity Q2082052
relation P19
action find
entity Q27057482
relation P276
type Q56061
Norman Sylla were born in [ANSWERS] or are the place where First Forest Service Office Moon Tree are located
{'OR': [['Q2082052', 'P19', {'concept': 'Q56061'}], ['Q27057482', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q2082052 property:P19 ?k } UNION { resource:Q27057482 property:P276 ?k } } . ?k rdf:type ontology:Q56061 }
Tell City Paris
Norman Sylla were born in Tell City and Paris or are the place where First Forest Service Office Moon Tree are located
Tell City Paris
action filter_type
action union
action find
entity Norman Sylla
relation place of birth
action find
entity First Forest Service Office Moon Tree
relation location
type administrative territorial entity
{'OR': [['Norman Sylla', 'place of birth', {'concept': 'administrative territorial entity'}], ['First Forest Service Office Moon Tree', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Norman_Sylla property:place_of_birth ?k } UNION { resource:First_Forest_Service_Office_Moon_Tree property:location ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2438297 Q2082052
P27
Q15617994
USER
Which administrative territories are Norman Sylla or Diego Rodríguez Cano a civilian of ?
OR((Q2082052,P27,c(Q15617994)), (Q2438297,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2082052
relation P27
action find
entity Q2438297
relation P27
type Q15617994
{'OR': [['Q2082052', 'P27', {'concept': 'Q15617994'}], ['Q2438297', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q2082052 property:P27 ?m } UNION { resource:Q2438297 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Diego Rodríguez Cano Norman Sylla
action filter_type
action union
action find
entity Norman Sylla
relation country of citizenship
action find
entity Diego Rodríguez Cano
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Norman Sylla', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Diego Rodríguez Cano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Norman_Sylla property:country_of_citizenship ?m } UNION { resource:Diego_Rodríguez_Cano property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q77
SYSTEM
France, Uruguay
Q142 Q77
OR((Q2082052,P27,c(Q15617994)), (Q2438297,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2082052
relation P27
action find
entity Q2438297
relation P27
type Q15617994
[ANSWERS] are Norman Sylla or Diego Rodríguez Cano a civilian of
{'OR': [['Q2082052', 'P27', {'concept': 'Q15617994'}], ['Q2438297', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q2082052 property:P27 ?m } UNION { resource:Q2438297 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
France Uruguay
France and Uruguay are Norman Sylla or Diego Rodríguez Cano a civilian of
France Uruguay
action filter_type
action union
action find
entity Norman Sylla
relation country of citizenship
action find
entity Diego Rodríguez Cano
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Norman Sylla', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Diego Rodríguez Cano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Norman_Sylla property:country_of_citizenship ?m } UNION { resource:Diego_Rodríguez_Cano property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2736
P2416
Q502895 Q618123
USER
How many people or geographical objects participated in association football ?
(c(Q502895),P2416,Q2736) (c(Q618123),P2416,Q2736)
action count
action union
action filter_type
action find_reverse
entity Q2736
relation P2416
type Q502895
action filter_type
action find_reverse
entity Q2736
relation P2416
type Q618123
[{'concept': 'Q502895'}, 'P2416', 'Q2736'] [{'concept': 'Q618123'}, 'P2416', 'Q2736']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { VALUES ( ?b ) { ( ontology:Q502895 ) ( ontology:Q618123 ) } . ?m rdf:type ?b }
association football
action count
action union
action filter_type
action find_reverse
entity association football
relation sports discipline competed in
type common name
action filter_type
action find_reverse
entity association football
relation sports discipline competed in
type geographical object
[{'concept': 'common name'}, 'sports discipline competed in', 'association football'] [{'concept': 'geographical object'}, 'sports discipline competed in', 'association football']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { VALUES ( ?b ) { ( ontology:common_name ) ( ontology:geographical_object ) } . ?m rdf:type ?b }
[]
common name geographical object
SYSTEM
9
Q12307889 Q23902692 Q3939068 Q22687929 Q22998602 Q877207 Q1975921 Q23095388 Q24006307
(c(Q502895),P2416,Q2736) (c(Q618123),P2416,Q2736)
action count
action union
action filter_type
action find_reverse
entity Q2736
relation P2416
type Q502895
action filter_type
action find_reverse
entity Q2736
relation P2416
type Q618123
[ANSWER]
[{'concept': 'Q502895'}, 'P2416', 'Q2736'] [{'concept': 'Q618123'}, 'P2416', 'Q2736']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { VALUES ( ?b ) { ( ontology:Q502895 ) ( ontology:Q618123 ) } . ?m rdf:type ?b }
De Studerendes Idræt Odense Florian Kohls Roberto Policano Pedro Confesor Maximilian Mittelstädt Horst Bertram Agustín Gómez Pagóla Eberhard Dallagrazia Lion Schweers
9
action count
action union
action filter_type
action find_reverse
entity association football
relation sports discipline competed in
type common name
action filter_type
action find_reverse
entity association football
relation sports discipline competed in
type geographical object
[{'concept': 'common name'}, 'sports discipline competed in', 'association football'] [{'concept': 'geographical object'}, 'sports discipline competed in', 'association football']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { VALUES ( ?b ) { ( ontology:common_name ) ( ontology:geographical_object ) } . ?m rdf:type ?b }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with around 27 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 27
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?g ) WHERE { ?n property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?g = 27 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 27
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?g ) WHERE { ?n property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?g = 27 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
3
Q801 Q159 Q30
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 27
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?g ) WHERE { ?n property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?g = 27 ) }
Israel Russia United States of America
3
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 27
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?g ) WHERE { ?n property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?g = 27 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q429006
P641
Q349 Q502895 Q13406554
USER
Which sports were less number of people and sport competitions a part of than Duathlon ?
(c(Q502895)|c(Q13406554),P641,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q429006
relation P641
type Q502895
type Q13406554
[[{'concept': 'Q502895'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?r ) WHERE { { ?s property:P641 ?u . ?u rdf:type ontology:Q349 . ?s rdf:type ontology:Q502895 } UNION { ?s property:P641 ?u . ?u rdf:type ontology:Q349 . ?s rdf:type ontology:Q13406554 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:P641 resource:Q429006 . { { ?c rdf:type ontology:Q13406554 } UNION { ?c rdf:type ontology:Q502895 } } } } . FILTER ( ?r < ?t ) }
Duathlon
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity Duathlon
relation sport
type common name
type sport competition
[[{'concept': 'common name'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?r ) WHERE { { ?s property:sport ?u . ?u rdf:type ontology:sport . ?s rdf:type ontology:common_name } UNION { ?s property:sport ?u . ?u rdf:type ontology:sport . ?s rdf:type ontology:sport_competition } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:sport resource:Duathlon . { { ?c rdf:type ontology:sport_competition } UNION { ?c rdf:type ontology:common_name } } } } . FILTER ( ?r < ?t ) }
[]
sport common name sport competition
Q809831 Q1295867 Q1148620
SYSTEM
BASE jumping, pesäpallo, Finswimming
Q2348250 Q3337306 Q193387 Q4808504 Q3844480 Q809831 Q1575010 Q244700 Q1497658 Q1761866 Q192832 Q1148620 Q601972 Q192937 Q208607 Q188966 Q961015 Q27672886 Q657196 Q338208 Q738622 Q148636 Q2887217 Q690676 Q31897 Q1050588 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q1295867 Q1143202 Q850256 Q393808 Q1866478 Q1194269 Q990637 Q1358545 Q1145338 Q2250158 Q212434 Q6034982 Q12834857 Q61065 Q4429020 Q13108218 Q4851143 Q14300548 Q483693 Q4245261 Q624161 Q327742 Q4347112 Q797108 Q963312 Q2167372 Q535116 Q2360406 Q1078835 Q1899731 Q943526 Q647559 Q1150656 Q1063445 Q6140386 Q3325635 Q207703 Q667692 Q14405929 Q1129021 Q1199515 Q17988507 Q6350707 Q3924425 Q192420 Q1784241 Q1188693 Q204686 Q1055193
(c(Q502895)|c(Q13406554),P641,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q429006
relation P641
type Q502895
type Q13406554
[ANSWERS] were less number of people and sport competitions a part of than Duathlon
[[{'concept': 'Q502895'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?r ) WHERE { { ?s property:P641 ?u . ?u rdf:type ontology:Q349 . ?s rdf:type ontology:Q502895 } UNION { ?s property:P641 ?u . ?u rdf:type ontology:Q349 . ?s rdf:type ontology:Q13406554 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:P641 resource:Q429006 . { { ?c rdf:type ontology:Q13406554 } UNION { ?c rdf:type ontology:Q502895 } } } } . FILTER ( ?r < ?t ) }
team time trial yachting croquet snocross rink bandy BASE jumping para rowing Ultimate memory sport puroresu paintball Finswimming Camogie korfball kung fu contract bridge women's boxing Flying disc games medley swimming giant slalom skiing dancesport Kabaddi women's basketball canoe polo natural track luge fistball rackets wingsuit flying greyhound racing tug of war racquetball pair skating pesäpallo roque shinty Dog agility American handball harness racing Broomball arena football Adventure racing five-a-side football Olympic sport Inline skating strength training water sport competition aerobatics gymnastics balkline and straight rail skating parkour touring car racing gliding relay race strength athletics jeu de paume Sledge hockey fell running beach handball real tennis Powerchair Football Frisian handball Castell Goalball wheelchair curling nine-ball Kitō-ryū Valencian trinquet rodeo Nordic walking high diving super giant slalom skiing formula racing women's tennis Kalari combined track and field events Kart racing korbball mind sport winter sport pallone
BASE jumping, pesäpallo and Finswimming were less number of people and sport competitions a part of than Duathlon
BASE jumping pesäpallo Finswimming
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity Duathlon
relation sport
type common name
type sport competition
[[{'concept': 'common name'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?r ) WHERE { { ?s property:sport ?u . ?u rdf:type ontology:sport . ?s rdf:type ontology:common_name } UNION { ?s property:sport ?u . ?u rdf:type ontology:sport . ?s rdf:type ontology:sport_competition } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:sport resource:Duathlon . { { ?c rdf:type ontology:sport_competition } UNION { ?c rdf:type ontology:common_name } } } } . FILTER ( ?r < ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q206763
P641
Q349 Q502895 Q13406554
USER
And what about floorball?
(c(Q502895)|c(Q13406554),P641,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q206763
relation P641
type Q502895
type Q13406554
[[{'concept': 'Q502895'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ?e . VALUES ( ?e ) { ( ontology:Q502895 ) ( ontology:Q13406554 ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:P641 resource:Q206763 . { ?r rdf:type ?l . VALUES ( ?l ) { ( ontology:Q502895 ) ( ontology:Q13406554 ) } } } } . FILTER ( ?p < ?d ) }
floorball
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity floorball
relation sport
type common name
type sport competition
[[{'concept': 'common name'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ?e . VALUES ( ?e ) { ( ontology:common_name ) ( ontology:sport_competition ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:sport resource:floorball . { ?r rdf:type ?l . VALUES ( ?l ) { ( ontology:common_name ) ( ontology:sport_competition ) } } } } . FILTER ( ?p < ?d ) }
[]
sport common name sport competition
Q809831 Q1295867 Q1148620
SYSTEM
BASE jumping, pesäpallo, Finswimming
Q170737 Q114466 Q2348250 Q3337306 Q193387 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q192937 Q3372565 Q208607 Q188966 Q961015 Q131359 Q27672886 Q657196 Q338208 Q738622 Q148636 Q2887217 Q599204 Q690676 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q1295867 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q1866478 Q182570 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q6034982 Q12834857 Q61065 Q2284014 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q36908 Q1081491 Q483693 Q389654 Q4245261 Q624161 Q327742 Q213711 Q271277 Q376040 Q4347112 Q5465793 Q797108 Q963312 Q2167372 Q535116 Q2360406 Q20856109 Q16996906 Q1078835 Q838781 Q1899731 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q667692 Q1622659 Q1421697 Q201252 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q2440459 Q429006
(c(Q502895)|c(Q13406554),P641,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q206763
relation P641
type Q502895
type Q13406554
[ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ?e . VALUES ( ?e ) { ( ontology:Q502895 ) ( ontology:Q13406554 ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:P641 resource:Q206763 . { ?r rdf:type ?l . VALUES ( ?l ) { ( ontology:Q502895 ) ( ontology:Q13406554 ) } } } } . FILTER ( ?p < ?d ) }
long jump mixed martial arts team time trial yachting croquet windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing Ultimate memory sport equestrian sport puroresu paintball Finswimming Camogie drag racing korfball Kettlebell lifting kung fu contract bridge women's boxing professional wrestling Flying disc games medley swimming giant slalom skiing dancesport Kabaddi women's basketball rallycross canoe polo natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating pesäpallo boxe roque shinty Gaelic football Harri-jasotze Dog agility American handball discus throw international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport Inline skating strength training water sport Contact sport competition aerobatics paralympic swimming gymnastics balkline and straight rail skating mountaineering football parkour Greco-Roman wrestling touring car racing gliding relay race hurling Savate wakeboarding strength athletics CP football jeu de paume Sledge hockey fell running beach handball real tennis canoeing Indoor American football Powerchair Football eventing Frisian handball Castell Goalball sport climbing women's association football wheelchair curling nine-ball Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing Nordic walking hockey Chilean rodeo pankration high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone wheelchair fencing Duathlon
BASE jumping pesäpallo Finswimming
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity floorball
relation sport
type common name
type sport competition
[[{'concept': 'common name'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ?e . VALUES ( ?e ) { ( ontology:common_name ) ( ontology:sport_competition ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:sport resource:floorball . { ?r rdf:type ?l . VALUES ( ?l ) { ( ontology:common_name ) ( ontology:sport_competition ) } } } } . FILTER ( ?p < ?d ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P641
Q811979 Q618123
USER
How many architectural structures or geographical objects play that sport ?
(c(Q811979),P641,Q1295867) (c(Q618123),P641,Q1295867) (c(Q811979),P641,Q809831) (c(Q618123),P641,Q809831) (c(Q811979),P641,Q1295867) (c(Q618123),P641,Q1295867) (c(Q811979),P641,Q1148620) (c(Q618123),P641,Q1148620)
[{'concept': 'Q811979'}, 'P641', 'Q1295867'] [{'concept': 'Q618123'}, 'P641', 'Q1295867'] [{'concept': 'Q811979'}, 'P641', 'Q809831'] [{'concept': 'Q618123'}, 'P641', 'Q809831'] [{'concept': 'Q811979'}, 'P641', 'Q1295867'] [{'concept': 'Q618123'}, 'P641', 'Q1295867'] [{'concept': 'Q811979'}, 'P641', 'Q1148620'] [{'concept': 'Q618123'}, 'P641', 'Q1148620']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q1567764 resource:Q1295867 } UNION { ?y property:Q1567764 resource:Q1295867 } UNION { ?z property:Q1567764 resource:Q809831 } UNION { ?y property:Q1567764 resource:Q809831 } UNION { ?z property:Q1567764 resource:Q1295867 } UNION { ?y property:Q1567764 resource:Q1295867 } UNION { ?z property:Q1567764 resource:Q1148620 } UNION { ?y property:Q1567764 resource:Q1148620 } } . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q618123 }
[{'concept': 'architectural structure'}, 'sport', 'pesäpallo'] [{'concept': 'geographical object'}, 'sport', 'pesäpallo'] [{'concept': 'architectural structure'}, 'sport', 'BASE jumping'] [{'concept': 'geographical object'}, 'sport', 'BASE jumping'] [{'concept': 'architectural structure'}, 'sport', 'pesäpallo'] [{'concept': 'geographical object'}, 'sport', 'pesäpallo'] [{'concept': 'architectural structure'}, 'sport', 'Finswimming'] [{'concept': 'geographical object'}, 'sport', 'Finswimming']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:sport resource:pesäpallo } UNION { ?y property:sport resource:pesäpallo } UNION { ?z property:sport resource:BASE_jumping } UNION { ?y property:sport resource:BASE_jumping } UNION { ?z property:sport resource:pesäpallo } UNION { ?y property:sport resource:pesäpallo } UNION { ?z property:sport resource:Finswimming } UNION { ?y property:sport resource:Finswimming } } . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:geographical_object }
[]
architectural structure geographical object
Quantitative|Count|Mult. entity type|Clarification
Q809831
SYSTEM
Did you mean BASE jumping ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q1567764 resource:Q1295867 } UNION { ?y property:Q1567764 resource:Q1295867 } UNION { ?z property:Q1567764 resource:Q809831 } UNION { ?y property:Q1567764 resource:Q809831 } UNION { ?z property:Q1567764 resource:Q1295867 } UNION { ?y property:Q1567764 resource:Q1295867 } UNION { ?z property:Q1567764 resource:Q1148620 } UNION { ?y property:Q1567764 resource:Q1148620 } } . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q618123 }
Did you mean BASE jumping ?
BASE jumping
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:sport resource:pesäpallo } UNION { ?y property:sport resource:pesäpallo } UNION { ?z property:sport resource:BASE_jumping } UNION { ?y property:sport resource:BASE_jumping } UNION { ?z property:sport resource:pesäpallo } UNION { ?y property:sport resource:pesäpallo } UNION { ?z property:sport resource:Finswimming } UNION { ?y property:sport resource:Finswimming } } . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:geographical_object }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant pesäpallo. Could you tell me the answer for that?
(c(Q811979),P641,Q1295867) (c(Q618123),P641,Q1295867) (c(Q811979),P641,Q809831) (c(Q618123),P641,Q809831) (c(Q811979),P641,Q1295867) (c(Q618123),P641,Q1295867) (c(Q811979),P641,Q1148620) (c(Q618123),P641,Q1148620)
Q1295867
[{'concept': 'Q811979'}, 'P641', 'Q1295867'] [{'concept': 'Q618123'}, 'P641', 'Q1295867'] [{'concept': 'Q811979'}, 'P641', 'Q809831'] [{'concept': 'Q618123'}, 'P641', 'Q809831'] [{'concept': 'Q811979'}, 'P641', 'Q1295867'] [{'concept': 'Q618123'}, 'P641', 'Q1295867'] [{'concept': 'Q811979'}, 'P641', 'Q1148620'] [{'concept': 'Q618123'}, 'P641', 'Q1148620']
[{'concept': 'architectural structure'}, 'sport', 'pesäpallo'] [{'concept': 'geographical object'}, 'sport', 'pesäpallo'] [{'concept': 'architectural structure'}, 'sport', 'BASE jumping'] [{'concept': 'geographical object'}, 'sport', 'BASE jumping'] [{'concept': 'architectural structure'}, 'sport', 'pesäpallo'] [{'concept': 'geographical object'}, 'sport', 'pesäpallo'] [{'concept': 'architectural structure'}, 'sport', 'Finswimming'] [{'concept': 'geographical object'}, 'sport', 'Finswimming']
[]
SYSTEM
6
Q18681075 Q18681044 Q11889974 Q11884947 Q474947 Q11870887
(c(Q811979),P641,Q1295867) (c(Q618123),P641,Q1295867) (c(Q811979),P641,Q809831) (c(Q618123),P641,Q809831) (c(Q811979),P641,Q1295867) (c(Q618123),P641,Q1295867) (c(Q811979),P641,Q1148620) (c(Q618123),P641,Q1148620)
[ANSWER]
[{'concept': 'Q811979'}, 'P641', 'Q1295867'] [{'concept': 'Q618123'}, 'P641', 'Q1295867'] [{'concept': 'Q811979'}, 'P641', 'Q809831'] [{'concept': 'Q618123'}, 'P641', 'Q809831'] [{'concept': 'Q811979'}, 'P641', 'Q1295867'] [{'concept': 'Q618123'}, 'P641', 'Q1295867'] [{'concept': 'Q811979'}, 'P641', 'Q1148620'] [{'concept': 'Q618123'}, 'P641', 'Q1148620']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q1567764 resource:Q1295867 } UNION { ?y property:Q1567764 resource:Q1295867 } UNION { ?z property:Q1567764 resource:Q809831 } UNION { ?y property:Q1567764 resource:Q809831 } UNION { ?z property:Q1567764 resource:Q1295867 } UNION { ?y property:Q1567764 resource:Q1295867 } UNION { ?z property:Q1567764 resource:Q1148620 } UNION { ?y property:Q1567764 resource:Q1148620 } } . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q618123 }
Suomen Pesäpalloliitto Sarkkiranta Pesäpallo Stadium Raksila Pesäpallo Stadium Nurmon Jymy Football Association of Finland Kempeleen Kiri
6
[{'concept': 'architectural structure'}, 'sport', 'pesäpallo'] [{'concept': 'geographical object'}, 'sport', 'pesäpallo'] [{'concept': 'architectural structure'}, 'sport', 'BASE jumping'] [{'concept': 'geographical object'}, 'sport', 'BASE jumping'] [{'concept': 'architectural structure'}, 'sport', 'pesäpallo'] [{'concept': 'geographical object'}, 'sport', 'pesäpallo'] [{'concept': 'architectural structure'}, 'sport', 'Finswimming'] [{'concept': 'geographical object'}, 'sport', 'Finswimming']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:sport resource:pesäpallo } UNION { ?y property:sport resource:pesäpallo } UNION { ?z property:sport resource:BASE_jumping } UNION { ?y property:sport resource:BASE_jumping } UNION { ?z property:sport resource:pesäpallo } UNION { ?y property:sport resource:pesäpallo } UNION { ?z property:sport resource:Finswimming } UNION { ?y property:sport resource:Finswimming } } . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:geographical_object }
[]