Simple Question (Direct)
Simple Question
Q11677
P1411
Q15229207
USER
Which sports award was Lindsay Davenport a recipient of ?
(Q11677,P1411,c(Q15229207))
action filter_type
action find
entity Q11677
relation P1411
type Q15229207
['Q11677', 'P1411', {'concept': 'Q15229207'}]
SELECT DISTINCT ?e WHERE { resource:Q11677 property:P1411 ?e . ?e rdf:type ontology:Q15229207 }
Lindsay Davenport
action filter_type
action find
entity Lindsay Davenport
relation nominated for
type sports award
['Lindsay Davenport', 'nominated for', {'concept': 'sports award'}]
SELECT DISTINCT ?e WHERE { resource:Lindsay_Davenport property:nominated_for ?e . ?e rdf:type ontology:sports_award }
[]
sports award
Q1648927
SYSTEM
Laureus World Sports Award for Sportswoman of the Year
Q1648927
(Q11677,P1411,c(Q15229207))
action filter_type
action find
entity Q11677
relation P1411
type Q15229207
The [ANSWER] was Lindsay Davenport a recipient of
['Q11677', 'P1411', {'concept': 'Q15229207'}]
SELECT DISTINCT ?e WHERE { resource:Q11677 property:P1411 ?e . ?e rdf:type ontology:Q15229207 }
Laureus World Sports Award for Sportswoman of the Year
The Laureus World Sports Award for Sportswoman of the Year was Lindsay Davenport a recipient of
Laureus World Sports Award for Sportswoman of the Year
action filter_type
action find
entity Lindsay Davenport
relation nominated for
type sports award
['Lindsay Davenport', 'nominated for', {'concept': 'sports award'}]
SELECT DISTINCT ?e WHERE { resource:Lindsay_Davenport property:nominated_for ?e . ?e rdf:type ontology:sports_award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11677
P40
Q502895
USER
Who has Lindsay Davenport as a child ?
(c(Q502895),P40,Q11677)
action filter_type
action find_reverse
entity Q11677
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q11677']
SELECT DISTINCT ?b WHERE { ?b property:P40 resource:Q11677 . ?b rdf:type ontology:Q502895 }
Lindsay Davenport
action filter_type
action find_reverse
entity Lindsay Davenport
relation child
type common name
[{'concept': 'common name'}, 'child', 'Lindsay Davenport']
SELECT DISTINCT ?b WHERE { ?b property:child resource:Lindsay_Davenport . ?b rdf:type ontology:common_name }
[]
common name
Q8025442
SYSTEM
Wink Davenport
Q8025442
(c(Q502895),P40,Q11677)
action filter_type
action find_reverse
entity Q11677
relation P40
type Q502895
[ANSWER] has Lindsay Davenport as a child
[{'concept': 'Q502895'}, 'P40', 'Q11677']
SELECT DISTINCT ?b WHERE { ?b property:P40 resource:Q11677 . ?b rdf:type ontology:Q502895 }
Wink Davenport
Wink Davenport has Lindsay Davenport as a child
Wink Davenport
action filter_type
action find_reverse
entity Lindsay Davenport
relation child
type common name
[{'concept': 'common name'}, 'child', 'Lindsay Davenport']
SELECT DISTINCT ?b WHERE { ?b property:child resource:Lindsay_Davenport . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8025442
P22
Q502895
USER
Which person has that one as a parent ?
(c(Q502895),P22,Q8025442)
action filter_type
action find_reverse
entity Q8025442
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q8025442']
SELECT DISTINCT ?d WHERE { ?d property:P22 resource:Q8025442 . ?d rdf:type ontology:Q502895 }
Wink Davenport
action filter_type
action find_reverse
entity Wink Davenport
relation father
type common name
[{'concept': 'common name'}, 'father', 'Wink Davenport']
SELECT DISTINCT ?d WHERE { ?d property:father resource:Wink_Davenport . ?d rdf:type ontology:common_name }
[]
common name
Q11677
SYSTEM
Lindsay Davenport
Q11677
(c(Q502895),P22,Q8025442)
action filter_type
action find_reverse
entity Q8025442
relation P22
type Q502895
[ANSWER] has that one as a parent
[{'concept': 'Q502895'}, 'P22', 'Q8025442']
SELECT DISTINCT ?d WHERE { ?d property:P22 resource:Q8025442 . ?d rdf:type ontology:Q502895 }
Lindsay Davenport
Lindsay Davenport has that one as a parent
Lindsay Davenport
action filter_type
action find_reverse
entity Wink Davenport
relation father
type common name
[{'concept': 'common name'}, 'father', 'Wink Davenport']
SELECT DISTINCT ?d WHERE { ?d property:father resource:Wink_Davenport . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1648927
P1346
Q502895
USER
Which people emerged victorious in Laureus World Sports Award for Sportswoman of the Year ?
(Q1648927,P1346,c(Q502895))
action filter_type
action find
entity Q1648927
relation P1346
type Q502895
['Q1648927', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q1648927 property:P1346 ?s . ?s rdf:type ontology:Q502895 }
Laureus World Sports Award for Sportswoman of the Year
action filter_type
action find
entity Laureus World Sports Award for Sportswoman of the Year
relation winner
type common name
['Laureus World Sports Award for Sportswoman of the Year', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Laureus_World_Sports_Award_for_Sportswoman_of_the_Year property:winner ?s . ?s rdf:type ontology:common_name }
[]
common name
Q11459 Q10068 Q117867
SYSTEM
Serena Williams, Lindsey Vonn, Missy Franklin
Q234762 Q117867 Q457099 Q11459 Q230758 Q232711 Q209396 Q6319 Q11680 Q11682 Q6091 Q10091 Q10068 Q5998
(Q1648927,P1346,c(Q502895))
action filter_type
action find
entity Q1648927
relation P1346
type Q502895
[ANSWERS] emerged victorious in Laureus World Sports Award for Sportswoman of the Year
['Q1648927', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q1648927 property:P1346 ?s . ?s rdf:type ontology:Q502895 }
Kathy Freeman Missy Franklin Genzebe Dibaba Serena Williams Kelly Holmes Annika Sörenstam Marion Jones Yelena Isinbayeva Jennifer Capriati Justine Henin Jessica Ennis-Hill Janica Kostelić Lindsey Vonn Vivian Cheruiyot
Serena Williams, Lindsey Vonn and Missy Franklin emerged victorious in Laureus World Sports Award for Sportswoman of the Year
Serena Williams Lindsey Vonn Missy Franklin
action filter_type
action find
entity Laureus World Sports Award for Sportswoman of the Year
relation winner
type common name
['Laureus World Sports Award for Sportswoman of the Year', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Laureus_World_Sports_Award_for_Sportswoman_of_the_Year property:winner ?s . ?s rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q989865
P1346
Q15229207
USER
Were those people decalred as a victor of 2008 FIFA World Player of the Year ?
(Q989865,P1346,Q11459) (Q989865,P1346,Q10068) (Q989865,P1346,Q117867)
action is_in
entity prev_answer
action find
entity Q989865
relation P1346
['Q989865', 'P1346', 'Q11459'] ['Q989865', 'P1346', 'Q10068'] ['Q989865', 'P1346', 'Q117867']
ASK WHERE { VALUES ( ?t ) { ( resource:Q234762 ) ( resource:Q117867 ) ( resource:Q457099 ) } . resource:Q989865 property:P1346 ?t }
2008 FIFA World Player of the Year
action is_in
entity prev_answer
action find
entity 2008 FIFA World Player of the Year
relation winner
['2008 FIFA World Player of the Year', 'winner', 'Serena Williams'] ['2008 FIFA World Player of the Year', 'winner', 'Lindsey Vonn'] ['2008 FIFA World Player of the Year', 'winner', 'Missy Franklin']
ASK WHERE { VALUES ( ?t ) { ( resource:Kathy_Freeman ) ( resource:Missy_Franklin ) ( resource:Genzebe_Dibaba ) } . resource:2008_FIFA_World_Player_of_the_Year property:winner ?t }
[]
sports award
SYSTEM
NO
(Q989865,P1346,Q11459) (Q989865,P1346,Q10068) (Q989865,P1346,Q117867)
action is_in
entity prev_answer
action find
entity Q989865
relation P1346
[ANSWER]
['Q989865', 'P1346', 'Q11459'] ['Q989865', 'P1346', 'Q10068'] ['Q989865', 'P1346', 'Q117867']
ASK WHERE { VALUES ( ?t ) { ( resource:Q234762 ) ( resource:Q117867 ) ( resource:Q457099 ) } . resource:Q989865 property:P1346 ?t }
No
action is_in
entity prev_answer
action find
entity 2008 FIFA World Player of the Year
relation winner
['2008 FIFA World Player of the Year', 'winner', 'Serena Williams'] ['2008 FIFA World Player of the Year', 'winner', 'Lindsey Vonn'] ['2008 FIFA World Player of the Year', 'winner', 'Missy Franklin']
ASK WHERE { VALUES ( ?t ) { ( resource:Kathy_Freeman ) ( resource:Missy_Franklin ) ( resource:Genzebe_Dibaba ) } . resource:2008_FIFA_World_Player_of_the_Year property:winner ?t }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atleast 1515 people ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1515
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?s >= 1515 ) . { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?j } }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1515
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?s >= 1515 ) . { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?j } }
[]
musical instrument common name
Q5994 Q8338 Q8355
SYSTEM
piano, trumpet, violin
Q5994 Q8338 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1515
[ANSWERS] are played by atleast 1515 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?s >= 1515 ) . { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?j } }
piano trumpet violin organ drum kit
Piano, trumpet and violin are played by atleast 1515 people
piano trumpet violin
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1515
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?s >= 1515 ) . { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?j } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11459
P161
Q838948
USER
Which works of art have Serena Williams in their star cast ?
(c(Q838948),P161,Q11459)
action filter_type
action find_reverse
entity Q11459
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q11459']
SELECT DISTINCT ?x WHERE { ?x property:P161 resource:Q11459 . ?x rdf:type ontology:Q838948 }
Serena Williams
action filter_type
action find_reverse
entity Serena Williams
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Serena Williams']
SELECT DISTINCT ?x WHERE { ?x property:cast_member resource:Serena_Williams . ?x rdf:type ontology:work_of_art }
[]
work of art
Q12131255 Q17182905 Q5639494
SYSTEM
Venus and Serena, Pixels, Hair Show
Q12131255 Q17182905 Q5639494
(c(Q838948),P161,Q11459)
action filter_type
action find_reverse
entity Q11459
relation P161
type Q838948
[ANSWERS] have Serena Williams in their star cast
[{'concept': 'Q838948'}, 'P161', 'Q11459']
SELECT DISTINCT ?x WHERE { ?x property:P161 resource:Q11459 . ?x rdf:type ontology:Q838948 }
Venus and Serena Pixels Hair Show
Venus and Serena, Pixels and Hair Show have Serena Williams in their star cast
Venus and Serena Pixels Hair Show
action filter_type
action find_reverse
entity Serena Williams
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Serena Williams']
SELECT DISTINCT ?x WHERE { ?x property:cast_member resource:Serena_Williams . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11459
P9
Q502895
USER
Which person had that one as sister ?
(c(Q502895),P9,Q12131255) (c(Q502895),P9,Q17182905) (c(Q502895),P9,Q5639494)
action filter_type
action find
entity Q11459
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q12131255'] [{'concept': 'Q502895'}, 'P9', 'Q17182905'] [{'concept': 'Q502895'}, 'P9', 'Q5639494']
SELECT DISTINCT ?v WHERE { resource:Q11459 property:P9 ?v . ?v rdf:type ontology:Q502895 }
Serena Williams
action filter_type
action find
entity Serena Williams
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Venus and Serena'] [{'concept': 'common name'}, 'sister', 'Pixels'] [{'concept': 'common name'}, 'sister', 'Hair Show']
SELECT DISTINCT ?v WHERE { resource:Serena_Williams property:sister ?v . ?v rdf:type ontology:common_name }
[]
common name
Q11578
SYSTEM
Venus Williams
Q11578
(c(Q502895),P9,Q12131255) (c(Q502895),P9,Q17182905) (c(Q502895),P9,Q5639494)
action filter_type
action find
entity Q11459
relation P9
type Q502895
[ANSWER] had that one as sister
[{'concept': 'Q502895'}, 'P9', 'Q12131255'] [{'concept': 'Q502895'}, 'P9', 'Q17182905'] [{'concept': 'Q502895'}, 'P9', 'Q5639494']
SELECT DISTINCT ?v WHERE { resource:Q11459 property:P9 ?v . ?v rdf:type ontology:Q502895 }
Venus Williams
Venus Williams had that one as sister
Venus Williams
action filter_type
action find
entity Serena Williams
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Venus and Serena'] [{'concept': 'common name'}, 'sister', 'Pixels'] [{'concept': 'common name'}, 'sister', 'Hair Show']
SELECT DISTINCT ?v WHERE { resource:Serena_Williams property:sister ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11578
P710
Q2312410
USER
Which sport discipline has that person as its participant ?
(c(Q2312410),P710,Q11578)
action filter_type
action find_reverse
entity Q11578
relation P710
type Q2312410
[{'concept': 'Q2312410'}, 'P710', 'Q11578']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2312410 . ?r property:P710 resource:Q11578 }
Venus Williams
action filter_type
action find_reverse
entity Venus Williams
relation participant
type sport discipline
[{'concept': 'sport discipline'}, 'participant', 'Venus Williams']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport_discipline . ?r property:participant resource:Venus_Williams }
[]
sport discipline
Q16744720
SYSTEM
2014 French Open – Women's Singles
Q16744720
(c(Q2312410),P710,Q11578)
action filter_type
action find_reverse
entity Q11578
relation P710
type Q2312410
[ANSWER] has that person as its participant
[{'concept': 'Q2312410'}, 'P710', 'Q11578']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2312410 . ?r property:P710 resource:Q11578 }
2014 French Open – Women's Singles
2014 French Open – Women's Singles has that person as its participant
2014 French Open – Women's Singles
action filter_type
action find_reverse
entity Venus Williams
relation participant
type sport discipline
[{'concept': 'sport discipline'}, 'participant', 'Venus Williams']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport_discipline . ?r property:participant resource:Venus_Williams }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q16744720 Q617047
P17
Q15617994
USER
Does that sport discipline belong to Weissenbach an der Triesting ?
(Q16744720,P17,Q617047)
action is_in
entity Q617047
action find
entity Q16744720
relation P17
['Q16744720', 'P17', 'Q617047']
ASK WHERE { resource:Q16744720 property:P17 resource:Q617047 }
2014 French Open – Women's Singles Weissenbach an der Triesting
action is_in
entity Weissenbach an der Triesting
action find
entity 2014 French Open – Women's Singles
relation country
["2014 French Open – Women's Singles", 'country', 'Weissenbach an der Triesting']
ASK WHERE { resource:2014_French_Open_–_Women's_Singles property:country resource:Weissenbach_an_der_Triesting }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q16744720,P17,Q617047)
action is_in
entity Q617047
action find
entity Q16744720
relation P17
[ANSWER]
['Q16744720', 'P17', 'Q617047']
ASK WHERE { resource:Q16744720 property:P17 resource:Q617047 }
No
action is_in
entity Weissenbach an der Triesting
action find
entity 2014 French Open – Women's Singles
relation country
["2014 French Open – Women's Singles", 'country', 'Weissenbach an der Triesting']
ASK WHERE { resource:2014_French_Open_–_Women's_Singles property:country resource:Weissenbach_an_der_Triesting }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q8025442 Q11677 Q1739265
P40
Q502895
USER
Does Wink Davenport have Lindsay Davenport and Luka Wraber as an offspring ?
(Q8025442,P40,Q11677) (Q8025442,P40,Q1739265)
action is_in
entity Q8025442
action intersection
action find_reverse
entity Q11677
relation P40
action find_reverse
entity Q1739265
relation P40
['Q8025442', 'P40', 'Q11677'] ['Q8025442', 'P40', 'Q1739265']
ASK WHERE { resource:Q8025442 property:P40 resource:Q11677 . resource:Q8025442 property:P40 resource:Q1739265 }
Wink Davenport Lindsay Davenport Luka Wraber
action is_in
entity Wink Davenport
action intersection
action find_reverse
entity Lindsay Davenport
relation child
action find_reverse
entity Luka Wraber
relation child
['Wink Davenport', 'child', 'Lindsay Davenport'] ['Wink Davenport', 'child', 'Luka Wraber']
ASK WHERE { resource:Wink_Davenport property:child resource:Lindsay_Davenport . resource:Wink_Davenport property:child resource:Luka_Wraber }
[]
common name
SYSTEM
YES and NO respectively
(Q8025442,P40,Q11677) (Q8025442,P40,Q1739265)
action is_in
entity Q8025442
action intersection
action find_reverse
entity Q11677
relation P40
action find_reverse
entity Q1739265
relation P40
[ANSWER]
['Q8025442', 'P40', 'Q11677'] ['Q8025442', 'P40', 'Q1739265']
ASK WHERE { resource:Q8025442 property:P40 resource:Q11677 . resource:Q8025442 property:P40 resource:Q1739265 }
YES and NO respectively
action is_in
entity Wink Davenport
action intersection
action find_reverse
entity Lindsay Davenport
relation child
action find_reverse
entity Luka Wraber
relation child
['Wink Davenport', 'child', 'Lindsay Davenport'] ['Wink Davenport', 'child', 'Luka Wraber']
ASK WHERE { resource:Wink_Davenport property:child resource:Lindsay_Davenport . resource:Wink_Davenport property:child resource:Luka_Wraber }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5639494 Q6893368
P161
Q502895
USER
Is Mohammed Tahir in Hair Show ?
(Q5639494,P161,Q6893368)
action is_in
entity Q6893368
action find
entity Q5639494
relation P161
['Q5639494', 'P161', 'Q6893368']
ASK WHERE { resource:Q5639494 property:P161 resource:Q6893368 }
Hair Show Mohammed Tahir
action is_in
entity Mohammed Tahir
action find
entity Hair Show
relation cast member
['Hair Show', 'cast member', 'Mohammed Tahir']
ASK WHERE { resource:Hair_Show property:cast_member resource:Mohammed_Tahir }
[]
common name
SYSTEM
NO
(Q5639494,P161,Q6893368)
action is_in
entity Q6893368
action find
entity Q5639494
relation P161
[ANSWER]
['Q5639494', 'P161', 'Q6893368']
ASK WHERE { resource:Q5639494 property:P161 resource:Q6893368 }
No
action is_in
entity Mohammed Tahir
action find
entity Hair Show
relation cast member
['Hair Show', 'cast member', 'Mohammed Tahir']
ASK WHERE { resource:Hair_Show property:cast_member resource:Mohammed_Tahir }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20641119 Q989865
P641
Q349
USER
Which sports were 2008 FIFA World Player of the Year or Andrei Liforenko a part of ?
OR((Q989865,P641,c(Q349)), (Q20641119,P641,c(Q349)))
action filter_type
action union
action find
entity Q989865
relation P641
action find
entity Q20641119
relation P641
type Q349
{'OR': [['Q989865', 'P641', {'concept': 'Q349'}], ['Q20641119', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q989865 property:P641 ?i } UNION { resource:Q20641119 property:P641 ?i } } . ?i rdf:type ontology:Q349 }
Andrei Liforenko 2008 FIFA World Player of the Year
action filter_type
action union
action find
entity 2008 FIFA World Player of the Year
relation sport
action find
entity Andrei Liforenko
relation sport
type sport
{'OR': [['2008 FIFA World Player of the Year', 'sport', {'concept': 'sport'}], ['Andrei Liforenko', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?i WHERE { { { resource:2008_FIFA_World_Player_of_the_Year property:sport ?i } UNION { resource:Andrei_Liforenko property:sport ?i } } . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q989865,P641,c(Q349)), (Q20641119,P641,c(Q349)))
action filter_type
action union
action find
entity Q989865
relation P641
action find
entity Q20641119
relation P641
type Q349
The [ANSWER] was 2008 FIFA World Player of the Year or Andrei Liforenko a part of
{'OR': [['Q989865', 'P641', {'concept': 'Q349'}], ['Q20641119', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q989865 property:P641 ?i } UNION { resource:Q20641119 property:P641 ?i } } . ?i rdf:type ontology:Q349 }
association football
The association football was 2008 FIFA World Player of the Year or Andrei Liforenko a part of
association football
action filter_type
action union
action find
entity 2008 FIFA World Player of the Year
relation sport
action find
entity Andrei Liforenko
relation sport
type sport
{'OR': [['2008 FIFA World Player of the Year', 'sport', {'concept': 'sport'}], ['Andrei Liforenko', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?i WHERE { { { resource:2008_FIFA_World_Player_of_the_Year property:sport ?i } UNION { resource:Andrei_Liforenko property:sport ?i } } . ?i rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q349 Q502895 Q43229
USER
Which sports do more number of people and organizations belong to 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 Q2736
relation P101
type Q502895
type Q43229
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?c ) WHERE { { ?w rdf:type ontology:Q349 . ?h rdf:type ontology:Q502895 . ?h property:P101 ?w } UNION { ?h property:P101 ?w . ?w rdf:type ontology:Q349 . ?h rdf:type ontology:Q43229 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:P101 resource:Q2736 . { ?x rdf:type ?k . VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } } } } . FILTER ( ?c > ?i ) }
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 association football
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?c ) WHERE { { ?w rdf:type ontology:sport . ?h rdf:type ontology:common_name . ?h property:field_of_work ?w } UNION { ?h property:field_of_work ?w . ?w rdf:type ontology:sport . ?h rdf:type ontology:organization } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:field_of_work resource:association_football . { ?x rdf:type ?k . VALUES ( ?k ) { ( ontology:common_name ) ( ontology:organization ) } } } } . FILTER ( ?c > ?i ) }
[]
sport common name organization
Q4543 Q500050
SYSTEM
beach volleyball, cross country running
Q4543 Q500050
(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 Q2736
relation P101
type Q502895
type Q43229
[ANSWERS] more number of people and organizations belong to than that sport
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?c ) WHERE { { ?w rdf:type ontology:Q349 . ?h rdf:type ontology:Q502895 . ?h property:P101 ?w } UNION { ?h property:P101 ?w . ?w rdf:type ontology:Q349 . ?h rdf:type ontology:Q43229 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:P101 resource:Q2736 . { ?x rdf:type ?k . VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } } } } . FILTER ( ?c > ?i ) }
beach volleyball cross country running
Beach volleyball and cross country running more number of people and organizations belong to than that sport
beach volleyball cross country running
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 association football
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?c ) WHERE { { ?w rdf:type ontology:sport . ?h rdf:type ontology:common_name . ?h property:field_of_work ?w } UNION { ?h property:field_of_work ?w . ?w rdf:type ontology:sport . ?h rdf:type ontology:organization } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:field_of_work resource:association_football . { ?x rdf:type ?k . VALUES ( ?k ) { ( ontology:common_name ) ( ontology:organization ) } } } } . FILTER ( ?c > ?i ) }
[]