Simple Question (Direct)
Simple Question
Q1936314
P19
Q56061
USER
Which administrative territory is the birthplace of Robert Maćkowiak ?
(Q1936314,P19,c(Q56061))
action filter_type
action find
entity Q1936314
relation P19
type Q56061
['Q1936314', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q1936314 property:P19 ?z }
Robert Maćkowiak
action filter_type
action find
entity Robert Maćkowiak
relation place of birth
type administrative territorial entity
['Robert Maćkowiak', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Robert_Maćkowiak property:place_of_birth ?z }
[]
administrative territorial entity
Q52898
SYSTEM
Rawicz
Q52898
(Q1936314,P19,c(Q56061))
action filter_type
action find
entity Q1936314
relation P19
type Q56061
[ANSWER]
['Q1936314', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q1936314 property:P19 ?z }
Rawicz
Rawicz
action filter_type
action find
entity Robert Maćkowiak
relation place of birth
type administrative territorial entity
['Robert Maćkowiak', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Robert_Maćkowiak property:place_of_birth ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1936314
P641
Q31629
USER
Which type of sport did that person participate in ?
(Q52898,P641,c(Q31629))
action filter_type
action find
entity Q1936314
relation P641
type Q31629
['Q52898', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?l WHERE { resource:Q1936314 property:P641 ?l . ?l rdf:type ontology:Q31629 }
Robert Maćkowiak
action filter_type
action find
entity Robert Maćkowiak
relation sport
type type of sport
['Rawicz', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?l WHERE { resource:Robert_Maćkowiak property:sport ?l . ?l rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q52898,P641,c(Q31629))
action filter_type
action find
entity Q1936314
relation P641
type Q31629
[ANSWER]
['Q52898', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?l WHERE { resource:Q1936314 property:P641 ?l . ?l rdf:type ontology:Q31629 }
athletics
athletics
action filter_type
action find
entity Robert Maćkowiak
relation sport
type type of sport
['Rawicz', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?l WHERE { resource:Robert_Maćkowiak property:sport ?l . ?l rdf:type ontology:type_of_sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q23772167 Q1936314
P641
Q31629
USER
Or Yosuke Hoshi?
OR((Q1936314,P641,c(Q31629)), (Q23772167,P641,c(Q31629)))
action filter_type
action union
action find
entity Q1936314
relation P641
action find
entity Q23772167
relation P641
type Q31629
{'OR': [['Q1936314', 'P641', {'concept': 'Q31629'}], ['Q23772167', 'P641', {'concept': 'Q31629'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q23772167 property:P641 ?j } UNION { resource:Q1936314 property:P641 ?j } } . ?j rdf:type ontology:Q31629 }
Yosuke Hoshi Robert Maćkowiak
action filter_type
action union
action find
entity Robert Maćkowiak
relation sport
action find
entity Yosuke Hoshi
relation sport
type type of sport
{'OR': [['Robert Maćkowiak', 'sport', {'concept': 'type of sport'}], ['Yosuke Hoshi', 'sport', {'concept': 'type of sport'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Yosuke_Hoshi property:sport ?j } UNION { resource:Robert_Maćkowiak property:sport ?j } } . ?j rdf:type ontology:type_of_sport }
[]
type of sport
Q542 Q326827
SYSTEM
athletics, artistic gymnastics
Q542 Q326827
OR((Q1936314,P641,c(Q31629)), (Q23772167,P641,c(Q31629)))
action filter_type
action union
action find
entity Q1936314
relation P641
action find
entity Q23772167
relation P641
type Q31629
[ANSWERS]
{'OR': [['Q1936314', 'P641', {'concept': 'Q31629'}], ['Q23772167', 'P641', {'concept': 'Q31629'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q23772167 property:P641 ?j } UNION { resource:Q1936314 property:P641 ?j } } . ?j rdf:type ontology:Q31629 }
athletics artistic gymnastics
athletics artistic gymnastics
action filter_type
action union
action find
entity Robert Maćkowiak
relation sport
action find
entity Yosuke Hoshi
relation sport
type type of sport
{'OR': [['Robert Maćkowiak', 'sport', {'concept': 'type of sport'}], ['Yosuke Hoshi', 'sport', {'concept': 'type of sport'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Yosuke_Hoshi property:sport ?j } UNION { resource:Robert_Maćkowiak property:sport ?j } } . ?j rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q542 Q326827
P425
Q12737077
USER
Which occupations do athletics and artistic gymnastics belong to ?
(c(Q12737077),P425,Q542) (c(Q12737077),P425,Q326827)
action union
action filter_type
action find_reverse
entity Q542
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q326827
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q542'] [{'concept': 'Q12737077'}, 'P425', 'Q326827']
SELECT DISTINCT ?v WHERE { { ?v property:P425 resource:Q542 . ?v rdf:type ontology:Q12737077 } UNION { ?v property:P425 resource:Q326827 . ?v rdf:type ontology:Q12737077 } }
athletics artistic gymnastics
action union
action filter_type
action find_reverse
entity athletics
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity artistic gymnastics
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'athletics'] [{'concept': 'occupation'}, 'field of this occupation', 'artistic gymnastics']
SELECT DISTINCT ?v WHERE { { ?v property:field_of_this_occupation resource:athletics . ?v rdf:type ontology:occupation } UNION { ?v property:field_of_this_occupation resource:artistic_gymnastics . ?v rdf:type ontology:occupation } }
[]
occupation
Q19827985 Q7831495 Q13381572
SYSTEM
track and field coach, track and field official, artistic gymnast
Q19827985 Q7831495 Q13381572
(c(Q12737077),P425,Q542) (c(Q12737077),P425,Q326827)
action union
action filter_type
action find_reverse
entity Q542
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q326827
relation P425
type Q12737077
[ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q542'] [{'concept': 'Q12737077'}, 'P425', 'Q326827']
SELECT DISTINCT ?v WHERE { { ?v property:P425 resource:Q542 . ?v rdf:type ontology:Q12737077 } UNION { ?v property:P425 resource:Q326827 . ?v rdf:type ontology:Q12737077 } }
track and field coach track and field official artistic gymnast
track and field coach track and field official artistic gymnast
action union
action filter_type
action find_reverse
entity athletics
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity artistic gymnastics
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'athletics'] [{'concept': 'occupation'}, 'field of this occupation', 'artistic gymnastics']
SELECT DISTINCT ?v WHERE { { ?v property:field_of_this_occupation resource:athletics . ?v rdf:type ontology:occupation } UNION { ?v property:field_of_this_occupation resource:artistic_gymnastics . ?v rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q19827985 Q7831495 Q13381572
P425
Q31629
USER
What types of sport have track and field coach, track and field official and artistic gymnast as thier associated field of occupation ?
(Q19827985,P425,c(Q31629)) (Q7831495,P425,c(Q31629)) (Q13381572,P425,c(Q31629))
action union
action filter_type
action find
entity Q19827985
relation P425
type Q31629
action filter_type
action find
entity Q7831495
relation P425
type Q31629
action filter_type
action find
entity Q13381572
relation P425
type Q31629
['Q19827985', 'P425', {'concept': 'Q31629'}] ['Q7831495', 'P425', {'concept': 'Q31629'}] ['Q13381572', 'P425', {'concept': 'Q31629'}]
SELECT DISTINCT ?w WHERE { { resource:Q19827985 property:P425 ?w . ?w rdf:type ontology:Q31629 } UNION { resource:Q7831495 property:P425 ?w . ?w rdf:type ontology:Q31629 } }
track and field coach track and field official artistic gymnast
action union
action filter_type
action find
entity track and field coach
relation field of this occupation
type type of sport
action filter_type
action find
entity track and field official
relation field of this occupation
type type of sport
action filter_type
action find
entity artistic gymnast
relation field of this occupation
type type of sport
['track and field coach', 'field of this occupation', {'concept': 'type of sport'}] ['track and field official', 'field of this occupation', {'concept': 'type of sport'}] ['artistic gymnast', 'field of this occupation', {'concept': 'type of sport'}]
SELECT DISTINCT ?w WHERE { { resource:track_and_field_coach property:field_of_this_occupation ?w . ?w rdf:type ontology:type_of_sport } UNION { resource:track_and_field_official property:field_of_this_occupation ?w . ?w rdf:type ontology:type_of_sport } }
[]
type of sport
Q542 Q542 Q326827
SYSTEM
athletics for 1st, 2nd, artistic gymnastics for 3rd
Q542 Q542 Q326827
(Q19827985,P425,c(Q31629)) (Q7831495,P425,c(Q31629)) (Q13381572,P425,c(Q31629))
action union
action filter_type
action find
entity Q19827985
relation P425
type Q31629
action filter_type
action find
entity Q7831495
relation P425
type Q31629
action filter_type
action find
entity Q13381572
relation P425
type Q31629
[ANSWERS]
['Q19827985', 'P425', {'concept': 'Q31629'}] ['Q7831495', 'P425', {'concept': 'Q31629'}] ['Q13381572', 'P425', {'concept': 'Q31629'}]
SELECT DISTINCT ?w WHERE { { resource:Q19827985 property:P425 ?w . ?w rdf:type ontology:Q31629 } UNION { resource:Q7831495 property:P425 ?w . ?w rdf:type ontology:Q31629 } }
athletics athletics artistic gymnastics
athletics athletics artistic gymnastics
action union
action filter_type
action find
entity track and field coach
relation field of this occupation
type type of sport
action filter_type
action find
entity track and field official
relation field of this occupation
type type of sport
action filter_type
action find
entity artistic gymnast
relation field of this occupation
type type of sport
['track and field coach', 'field of this occupation', {'concept': 'type of sport'}] ['track and field official', 'field of this occupation', {'concept': 'type of sport'}] ['artistic gymnast', 'field of this occupation', {'concept': 'type of sport'}]
SELECT DISTINCT ?w WHERE { { resource:track_and_field_coach property:field_of_this_occupation ?w . ?w rdf:type ontology:type_of_sport } UNION { resource:track_and_field_official property:field_of_this_occupation ?w . ?w rdf:type ontology:type_of_sport } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q19827985
P106
Q502895
USER
Who have a job as that occupation ?
(c(Q502895),P106,Q19827985)
action filter_type
action find_reverse
entity Q19827985
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q19827985']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P106 resource:Q19827985 }
track and field coach
action filter_type
action find_reverse
entity track and field coach
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'track and field coach']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:occupation resource:track_and_field_coach }
[]
common name
Clarification for simple ques.
Q19827985
SYSTEM
Did you mean track and field coach ?
Q542 Q542 Q326827
(c(Q502895),P106,Q542) (c(Q502895),P106,Q542) (c(Q502895),P106,Q326827)
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q542'] [{'concept': 'Q502895'}, 'P106', 'Q542'] [{'concept': 'Q502895'}, 'P106', 'Q326827']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P106 resource:Q19827985 }
athletics athletics artistic gymnastics
Did you mean track and field coach ?
track and field coach
[{'concept': 'common name'}, 'occupation', 'athletics'] [{'concept': 'common name'}, 'occupation', 'athletics'] [{'concept': 'common name'}, 'occupation', 'artistic gymnastics']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:occupation resource:track_and_field_coach }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P106,Q19827985)
[{'concept': 'Q502895'}, 'P106', 'Q19827985']
[{'concept': 'common name'}, 'occupation', 'track and field coach']
[]
Q15769 Q242402 Q22751947
SYSTEM
Nikolay Ozolin, Nina Ponomaryova, Sharon Couch
Q11161755 Q15773 Q3933125 Q3948213 Q3659960 Q3424925 Q19827982 Q16226113 Q22751947 Q3960634 Q1173021 Q3876363 Q3165166 Q26792851 Q22083504 Q18702357 Q71492 Q1109458 Q23502713 Q5340252 Q3765467 Q50903 Q459179 Q281665 Q2358170 Q714111 Q23031872 Q20431932 Q2980426 Q3750753 Q4696071 Q15769 Q3707952 Q1804209 Q26724223 Q18822537 Q363452 Q61235 Q2640825 Q1895352 Q242402 Q15780 Q2718356 Q180728 Q19960325 Q3765719 Q3174054 Q3680262 Q6199760 Q7416855 Q19628838 Q3992703 Q1110661 Q861967 Q175569
(c(Q502895),P106,Q19827985)
action filter_type
action find_reverse
entity Q19827985
relation P106
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P106', 'Q19827985']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P106 resource:Q19827985 }
Giuseppe Malaspina Vladimir Dyachkov Renée Felton Sandro Damilano Carlo Vittori Renaud Longuèvre Angelo Ferrario Mike Holloway Sharon Couch Silvano Danzi Erminio Azzaro Nicola Silvaggi Jean-Claude Perrin David Marus Dawn Bowles Aristide Guerriero Ernst van Aaken Filippo Di Mulo Andrea Milardi Edrick Floreal Giorgio Frinolli Victor Ilitch Alexeev Manfred Kinder Vitold Kreyer Vitaly Petrov Percy Beard Stanley Redwine Constantin Mihail Clyde Hart Francesco Uguagliati Sandro Calvesi Nikolay Ozolin Dino Ponchio Ivan Stepanchonok Pat Clohessy Giampaolo Lenzi Robert Emmiyan Vladimir Kuts Vésteinn Hafsteinsson Boris Dyachkov Nina Ponomaryova Grigory Isayevich Nikiforov Paolo Camossi Galina Turova Sergio Cestonaro Giorgio Rondelli Jean Poczobut Claudio Vantini Jimmy Carnes Sandro Donati Zhou Zhongge Tommaso Assi Renato Canova Bill Bowerman Fedosiy Vanin
Nikolay Ozolin Nina Ponomaryova Sharon Couch
action filter_type
action find_reverse
entity track and field coach
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'track and field coach']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:occupation resource:track_and_field_coach }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q5300110
P641
Q31629 Q13406554 Q12973014
USER
Which types of sport did more number of sport competitions and sports teams participate in than double trap ?
(c(Q13406554)|c(Q12973014),P641,c(Q31629))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q5300110
relation P641
type Q13406554
type Q12973014
[[{'concept': 'Q13406554'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) ?t WHERE { { ?z property:P641 ?t . ?t rdf:type ontology:Q31629 . ?z rdf:type ontology:Q13406554 } UNION { ?t rdf:type ontology:Q31629 . ?z rdf:type ontology:Q12973014 . ?z property:P641 ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:P641 resource:Q5300110 . { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:Q12973014 ) ( ontology:Q13406554 ) } } } } . FILTER ( ?m > ?e ) }
double trap
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_multi_types
action find_reverse
entity double trap
relation sport
type sport competition
type sports team
[[{'concept': 'sport competition'}, {'concept': 'sports team'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) ?t WHERE { { ?z property:sport ?t . ?t rdf:type ontology:type_of_sport . ?z rdf:type ontology:sport_competition } UNION { ?t rdf:type ontology:type_of_sport . ?z rdf:type ontology:sports_team . ?z property:sport ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:sport resource:double_trap . { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:sports_team ) ( ontology:sport_competition ) } } } } . FILTER ( ?m > ?e ) }
[]
type of sport sport competition sports team
Q216613 Q40244 Q326827
SYSTEM
Nordic skiing, marathon, artistic gymnastics
Q14085739 Q1293 Q29358 Q166788 Q326827 Q32485 Q216613 Q327223 Q542 Q718 Q179687 Q272460 Q159354 Q3609 Q40244 Q14554839 Q172809 Q16629853 Q520611 Q335638 Q465014 Q186222 Q11020 Q1128216 Q7735 Q11015 Q48890
(c(Q13406554)|c(Q12973014),P641,c(Q31629))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q5300110
relation P641
type Q13406554
type Q12973014
[ANSWERS]
[[{'concept': 'Q13406554'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) ?t WHERE { { ?z property:P641 ?t . ?t rdf:type ontology:Q31629 . ?z rdf:type ontology:Q13406554 } UNION { ?t rdf:type ontology:Q31629 . ?z rdf:type ontology:Q12973014 . ?z property:P641 ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:P641 resource:Q5300110 . { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:Q12973014 ) ( ontology:Q13406554 ) } } } } . FILTER ( ?m > ?e ) }
sailing draughts orienteering biathlon artistic gymnastics modern pentathlon Nordic skiing freestyle wrestling athletics chess cross-country skiing Pilates rowing road bicycle racing marathon competitive fencing ten-pin bowling Mixed Doubles mountain biking cyclo-cross trampolining alpine skiing pool wheelchair basketball diving snooker college basketball
Nordic skiing marathon artistic gymnastics
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_multi_types
action find_reverse
entity double trap
relation sport
type sport competition
type sports team
[[{'concept': 'sport competition'}, {'concept': 'sports team'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) ?t WHERE { { ?z property:sport ?t . ?t rdf:type ontology:type_of_sport . ?z rdf:type ontology:sport_competition } UNION { ?t rdf:type ontology:type_of_sport . ?z rdf:type ontology:sports_team . ?z property:sport ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:sport resource:double_trap . { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:sports_team ) ( ontology:sport_competition ) } } } } . FILTER ( ?m > ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q706199
P641
Q31629 Q13406554 Q12973014
USER
And what about nine-pin bowling?
(c(Q13406554)|c(Q12973014),P641,c(Q31629))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q706199
relation P641
type Q13406554
type Q12973014
[[{'concept': 'Q13406554'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?q ) WHERE { { ?k property:P641 ?j . ?j rdf:type ontology:Q31629 . ?k rdf:type ontology:Q13406554 } UNION { ?k property:P641 ?j . ?k rdf:type ontology:Q12973014 . ?j rdf:type ontology:Q31629 } } GROUP BY ?j } . FILTER ( ?q > ?l ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:P641 resource:Q706199 . { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:Q13406554 ) ( ontology:Q12973014 ) } } } } }
nine-pin bowling
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_multi_types
action find_reverse
entity nine-pin bowling
relation sport
type sport competition
type sports team
[[{'concept': 'sport competition'}, {'concept': 'sports team'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?q ) WHERE { { ?k property:sport ?j . ?j rdf:type ontology:type_of_sport . ?k rdf:type ontology:sport_competition } UNION { ?k property:sport ?j . ?k rdf:type ontology:sports_team . ?j rdf:type ontology:type_of_sport } } GROUP BY ?j } . FILTER ( ?q > ?l ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:sport resource:nine-pin_bowling . { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:sport_competition ) ( ontology:sports_team ) } } } } }
[]
type of sport sport competition sports team
Q216613 Q40244 Q326827
SYSTEM
Nordic skiing, marathon, artistic gymnastics
Q14085739 Q1293 Q29358 Q166788 Q326827 Q32485 Q216613 Q327223 Q542 Q718 Q179687 Q272460 Q159354 Q3609 Q40244 Q14554839 Q172809 Q16629853 Q520611 Q335638 Q465014 Q186222 Q11020 Q1128216 Q7735 Q11015 Q48890
(c(Q13406554)|c(Q12973014),P641,c(Q31629))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q706199
relation P641
type Q13406554
type Q12973014
[ANSWERS]
[[{'concept': 'Q13406554'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?q ) WHERE { { ?k property:P641 ?j . ?j rdf:type ontology:Q31629 . ?k rdf:type ontology:Q13406554 } UNION { ?k property:P641 ?j . ?k rdf:type ontology:Q12973014 . ?j rdf:type ontology:Q31629 } } GROUP BY ?j } . FILTER ( ?q > ?l ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:P641 resource:Q706199 . { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:Q13406554 ) ( ontology:Q12973014 ) } } } } }
sailing draughts orienteering biathlon artistic gymnastics modern pentathlon Nordic skiing freestyle wrestling athletics chess cross-country skiing Pilates rowing road bicycle racing marathon competitive fencing ten-pin bowling Mixed Doubles mountain biking cyclo-cross trampolining alpine skiing pool wheelchair basketball diving snooker college basketball
Nordic skiing marathon artistic gymnastics
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_multi_types
action find_reverse
entity nine-pin bowling
relation sport
type sport competition
type sports team
[[{'concept': 'sport competition'}, {'concept': 'sports team'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?q ) WHERE { { ?k property:sport ?j . ?j rdf:type ontology:type_of_sport . ?k rdf:type ontology:sport_competition } UNION { ?k property:sport ?j . ?k rdf:type ontology:sports_team . ?j rdf:type ontology:type_of_sport } } GROUP BY ?j } . FILTER ( ?q > ?l ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:sport resource:nine-pin_bowling . { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:sport_competition ) ( ontology:sports_team ) } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15769
P512
Q3412758
USER
Which qualification does Nikolay Ozolin hold ?
(Q15769,P512,c(Q3412758))
action filter_type
action find
entity Q15769
relation P512
type Q3412758
['Q15769', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q3412758 . resource:Q15769 property:P512 ?p }
Nikolay Ozolin
action filter_type
action find
entity Nikolay Ozolin
relation academic degree
type qualification
['Nikolay Ozolin', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:qualification . resource:Nikolay_Ozolin property:academic_degree ?p }
[]
qualification
Q17281161
SYSTEM
Doktor Nauk in Pedagogy
Q17281161
(Q15769,P512,c(Q3412758))
action filter_type
action find
entity Q15769
relation P512
type Q3412758
[ANSWER]
['Q15769', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q3412758 . resource:Q15769 property:P512 ?p }
Doktor Nauk in Pedagogy
Doktor Nauk in Pedagogy
action filter_type
action find
entity Nikolay Ozolin
relation academic degree
type qualification
['Nikolay Ozolin', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:qualification . resource:Nikolay_Ozolin property:academic_degree ?p }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q471369
Q3412758
USER
And also tell me about Pyotr Lebedev?
(Q471369,P512,c(Q3412758))
action filter_type
action find
entity Q471369
relation P512
type Q3412758
['Q471369', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?m WHERE { resource:Q471369 property:P512 ?m . ?m rdf:type ontology:Q3412758 }
Pyotr Lebedev
action filter_type
action find
entity Pyotr Lebedev
relation academic degree
type qualification
['Pyotr Lebedev', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?m WHERE { resource:Pyotr_Lebedev property:academic_degree ?m . ?m rdf:type ontology:qualification }
[]
qualification
Q17281097
SYSTEM
Doktor Nauk in Physics and Mathematics
Q17281097
(Q471369,P512,c(Q3412758))
action filter_type
action find
entity Q471369
relation P512
type Q3412758
[ANSWER]
['Q471369', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?m WHERE { resource:Q471369 property:P512 ?m . ?m rdf:type ontology:Q3412758 }
Doktor Nauk in Physics and Mathematics
Doktor Nauk in Physics and Mathematics
action filter_type
action find
entity Pyotr Lebedev
relation academic degree
type qualification
['Pyotr Lebedev', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?m WHERE { resource:Pyotr_Lebedev property:academic_degree ?m . ?m rdf:type ontology:qualification }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q17281097 Q212 Q159
P17
Q15617994
USER
Is that qualification located in Ukraine and Russia ?
(Q17281097,P17,Q212) (Q17281097,P17,Q159)
action is_in
entity Q17281097
action intersection
action find_reverse
entity Q212
relation P17
action find_reverse
entity Q159
relation P17
['Q17281097', 'P17', 'Q212'] ['Q17281097', 'P17', 'Q159']
ASK WHERE { resource:Q17281097 property:P17 resource:Q159 . resource:Q17281097 property:P17 resource:Q212 }
Doktor Nauk in Physics and Mathematics Ukraine Russia
action is_in
entity Doktor Nauk in Physics and Mathematics
action intersection
action find_reverse
entity Ukraine
relation country
action find_reverse
entity Russia
relation country
['Doktor Nauk in Physics and Mathematics', 'country', 'Ukraine'] ['Doktor Nauk in Physics and Mathematics', 'country', 'Russia']
ASK WHERE { resource:Doktor_Nauk_in_Physics_and_Mathematics property:country resource:Russia . resource:Doktor_Nauk_in_Physics_and_Mathematics property:country resource:Ukraine }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q17281097,P17,Q212) (Q17281097,P17,Q159)
action is_in
entity Q17281097
action intersection
action find_reverse
entity Q212
relation P17
action find_reverse
entity Q159
relation P17
[ANSWER]
['Q17281097', 'P17', 'Q212'] ['Q17281097', 'P17', 'Q159']
ASK WHERE { resource:Q17281097 property:P17 resource:Q159 . resource:Q17281097 property:P17 resource:Q212 }
Yes
action is_in
entity Doktor Nauk in Physics and Mathematics
action intersection
action find_reverse
entity Ukraine
relation country
action find_reverse
entity Russia
relation country
['Doktor Nauk in Physics and Mathematics', 'country', 'Ukraine'] ['Doktor Nauk in Physics and Mathematics', 'country', 'Russia']
ASK WHERE { resource:Doktor_Nauk_in_Physics_and_Mathematics property:country resource:Russia . resource:Doktor_Nauk_in_Physics_and_Mathematics property:country resource:Ukraine }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q15769
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of Nikolay Ozolin ?
(Q15769,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15769
relation P27
type Q15617994
['Q15769', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Q15769 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Nikolay Ozolin
action count
action filter_type
action find
entity Nikolay Ozolin
relation country of citizenship
type designation for an administrative territorial entity
['Nikolay Ozolin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Nikolay_Ozolin property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q159
(Q15769,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15769
relation P27
type Q15617994
[ANSWER]
['Q15769', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Q15769 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Russia
1
action count
action filter_type
action find
entity Nikolay Ozolin
relation country of citizenship
type designation for an administrative territorial entity
['Nikolay Ozolin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Nikolay_Ozolin property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q15831006
P27
Q15617994
USER
And also tell me about Felipe Ferreira de Moraes Honório?
(Q15831006,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15831006
relation P27
type Q15617994
['Q15831006', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Q15831006 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Felipe Ferreira de Moraes Honório
action count
action filter_type
action find
entity Felipe Ferreira de Moraes Honório
relation country of citizenship
type designation for an administrative territorial entity
['Felipe Ferreira de Moraes Honório', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Felipe_Ferreira_de_Moraes_Honório property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q155
(Q15831006,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15831006
relation P27
type Q15617994
[ANSWER]
['Q15831006', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Q15831006 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Brazil
1
action count
action filter_type
action find
entity Felipe Ferreira de Moraes Honório
relation country of citizenship
type designation for an administrative territorial entity
['Felipe Ferreira de Moraes Honório', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Felipe_Ferreira_de_Moraes_Honório property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q5213574
Q15617994
USER
And also tell me about Dan Glendining?
(Q5213574,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5213574
relation P27
type Q15617994
['Q5213574', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Q5213574 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Dan Glendining
action count
action filter_type
action find
entity Dan Glendining
relation country of citizenship
type designation for an administrative territorial entity
['Dan Glendining', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Dan_Glendining property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q5213574,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5213574
relation P27
type Q15617994
[ANSWER]
['Q5213574', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Q5213574 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Dan Glendining
relation country of citizenship
type designation for an administrative territorial entity
['Dan Glendining', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Dan_Glendining property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q731958 Q5213574
P106
Q12737077
USER
Which occupations have Dan Glendining and John Butler as his/her as a career ?
AND((Q5213574,P106,c(Q12737077)), (Q731958,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q5213574
relation P106
action find
entity Q731958
relation P106
type Q12737077
{'AND': [['Q5213574', 'P106', {'concept': 'Q12737077'}], ['Q731958', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?e WHERE { resource:Q731958 property:P106 ?e . resource:Q5213574 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
John Butler Dan Glendining
action filter_type
action intersection
action find
entity Dan Glendining
relation occupation
action find
entity John Butler
relation occupation
type occupation
{'AND': [['Dan Glendining', 'occupation', {'concept': 'occupation'}], ['John Butler', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?e WHERE { resource:John_Butler property:occupation ?e . resource:Dan_Glendining property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q639669 Q753110
SYSTEM
musician, songwriter
Q639669 Q753110
AND((Q5213574,P106,c(Q12737077)), (Q731958,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q5213574
relation P106
action find
entity Q731958
relation P106
type Q12737077
[ANSWERS]
{'AND': [['Q5213574', 'P106', {'concept': 'Q12737077'}], ['Q731958', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?e WHERE { resource:Q731958 property:P106 ?e . resource:Q5213574 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
musician songwriter
musician songwriter
action filter_type
action intersection
action find
entity Dan Glendining
relation occupation
action find
entity John Butler
relation occupation
type occupation
{'AND': [['Dan Glendining', 'occupation', {'concept': 'occupation'}], ['John Butler', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?e WHERE { resource:John_Butler property:occupation ?e . resource:Dan_Glendining property:occupation ?e . ?e rdf:type ontology:occupation }
[]