Simple Question (Direct)
Simple Question
Q5927936
P7
Q502895
USER
Which person is the brother of Javier Mariátegui ?
(Q5927936,P7,c(Q502895))
action filter_type
action find
entity Q5927936
relation P7
type Q502895
['Q5927936', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q5927936 property:P7 ?g . ?g rdf:type ontology:Q502895 }
Javier Mariátegui
action filter_type
action find
entity Javier Mariátegui
relation brother
type common name
['Javier Mariátegui', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Javier_Mariátegui property:brother ?g . ?g rdf:type ontology:common_name }
[]
common name
Q6120017
SYSTEM
Sandro Mariátegui Chiappe
Q6120017
(Q5927936,P7,c(Q502895))
action filter_type
action find
entity Q5927936
relation P7
type Q502895
[ANSWER] is the brother of Javier Mariátegui
['Q5927936', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q5927936 property:P7 ?g . ?g rdf:type ontology:Q502895 }
Sandro Mariátegui Chiappe
Sandro Mariátegui Chiappe is the brother of Javier Mariátegui
Sandro Mariátegui Chiappe
action filter_type
action find
entity Javier Mariátegui
relation brother
type common name
['Javier Mariátegui', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Javier_Mariátegui property:brother ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6120017
P1038
Q502895
USER
Which person is a relative of that one ?
(c(Q502895),P1038,Q6120017)
action filter_type
action find_reverse
entity Q6120017
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q6120017']
SELECT DISTINCT ?t WHERE { ?t property:P1038 resource:Q6120017 . ?t rdf:type ontology:Q502895 }
Sandro Mariátegui Chiappe
action filter_type
action find_reverse
entity Sandro Mariátegui Chiappe
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Sandro Mariátegui Chiappe']
SELECT DISTINCT ?t WHERE { ?t property:relative resource:Sandro_Mariátegui_Chiappe . ?t rdf:type ontology:common_name }
[]
common name
Q5664450
SYSTEM
Aldo Mariátegui
Q5664450
(c(Q502895),P1038,Q6120017)
action filter_type
action find_reverse
entity Q6120017
relation P1038
type Q502895
[ANSWER] is a relative of that one
[{'concept': 'Q502895'}, 'P1038', 'Q6120017']
SELECT DISTINCT ?t WHERE { ?t property:P1038 resource:Q6120017 . ?t rdf:type ontology:Q502895 }
Aldo Mariátegui
Aldo Mariátegui is a relative of that one
Aldo Mariátegui
action filter_type
action find_reverse
entity Sandro Mariátegui Chiappe
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Sandro Mariátegui Chiappe']
SELECT DISTINCT ?t WHERE { ?t property:relative resource:Sandro_Mariátegui_Chiappe . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5664450
P21
Q290
USER
What is the sex of that person ?
(Q5664450,P21,c(Q290))
action filter_type
action find
entity Q5664450
relation P21
type Q290
['Q5664450', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q5664450 property:P21 ?u . ?u rdf:type ontology:Q290 }
Aldo Mariátegui
action filter_type
action find
entity Aldo Mariátegui
relation gender
type sex
['Aldo Mariátegui', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Aldo_Mariátegui property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5664450,P21,c(Q290))
action filter_type
action find
entity Q5664450
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q5664450', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q5664450 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Aldo Mariátegui
relation gender
type sex
['Aldo Mariátegui', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Aldo_Mariátegui property:gender ?u . ?u rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5664450
P1038
Q502895
USER
How many people are the relatives of Aldo Mariátegui ?
(Q5664450,P1038,c(Q502895))
action count
action filter_type
action find
entity Q5664450
relation P1038
type Q502895
['Q5664450', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q5664450 property:P1038 ?w . ?w rdf:type ontology:Q502895 }
Aldo Mariátegui
action count
action filter_type
action find
entity Aldo Mariátegui
relation relative
type common name
['Aldo Mariátegui', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Aldo_Mariátegui property:relative ?w . ?w rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q5927936 Q6120017 Q335544
(Q5664450,P1038,c(Q502895))
action count
action filter_type
action find
entity Q5664450
relation P1038
type Q502895
[ANSWER]
['Q5664450', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q5664450 property:P1038 ?w . ?w rdf:type ontology:Q502895 }
Javier Mariátegui Sandro Mariátegui Chiappe José Carlos Mariátegui
3
action count
action filter_type
action find
entity Aldo Mariátegui
relation relative
type common name
['Aldo Mariátegui', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Aldo_Mariátegui property:relative ?w . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q128807
P1038
Q502895
USER
And also tell me about Jean Isidore Harispe?
(Q128807,P1038,c(Q502895))
action count
action filter_type
action find
entity Q128807
relation P1038
type Q502895
['Q128807', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q128807 property:P1038 ?n . ?n rdf:type ontology:Q502895 }
Jean Isidore Harispe
action count
action filter_type
action find
entity Jean Isidore Harispe
relation relative
type common name
['Jean Isidore Harispe', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Jean_Isidore_Harispe property:relative ?n . ?n rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q3164662
(Q128807,P1038,c(Q502895))
action count
action filter_type
action find
entity Q128807
relation P1038
type Q502895
[ANSWER]
['Q128807', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q128807 property:P1038 ?n . ?n rdf:type ontology:Q502895 }
Jean-Charles Harispe
1
action count
action filter_type
action find
entity Jean Isidore Harispe
relation relative
type common name
['Jean Isidore Harispe', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Jean_Isidore_Harispe property:relative ?n . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q274342
Q502895
USER
And what about Tatyana Tolstaya?
(Q274342,P1038,c(Q502895))
action count
action filter_type
action find
entity Q274342
relation P1038
type Q502895
['Q274342', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { resource:Q274342 property:P1038 ?e . ?e rdf:type ontology:Q502895 }
Tatyana Tolstaya
action count
action filter_type
action find
entity Tatyana Tolstaya
relation relative
type common name
['Tatyana Tolstaya', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { resource:Tatyana_Tolstaya property:relative ?e . ?e rdf:type ontology:common_name }
[]
common name
SYSTEM
2
(Q274342,P1038,c(Q502895))
action count
action filter_type
action find
entity Q274342
relation P1038
type Q502895
[ANSWER]
['Q274342', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { resource:Q274342 property:P1038 ?e . ?e rdf:type ontology:Q502895 }
2
action count
action filter_type
action find
entity Tatyana Tolstaya
relation relative
type common name
['Tatyana Tolstaya', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { resource:Tatyana_Tolstaya property:relative ?e . ?e rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q274342
P21 P40
Q502895
USER
Which people have Tatyana Tolstaya as an offspring and are a male ?
AND((c(Q502895),P40,Q274342), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q274342
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q274342'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P40 resource:Q274342 . ?j property:P21 resource:Q6581097 . ?j rdf:type ontology:Q502895 }
male Tatyana Tolstaya
action filter_type
action intersection
action find_reverse
entity Tatyana Tolstaya
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Tatyana Tolstaya'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:child resource:Tatyana_Tolstaya . ?j property:gender resource:male . ?j rdf:type ontology:common_name }
[]
common name
Q4459955
SYSTEM
Nikita A. Tolstoy
Q4459955
AND((c(Q502895),P40,Q274342), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q274342
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Tatyana Tolstaya as an offspring and are a male
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q274342'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P40 resource:Q274342 . ?j property:P21 resource:Q6581097 . ?j rdf:type ontology:Q502895 }
Nikita A. Tolstoy
Nikita A. Tolstoy have Tatyana Tolstaya as an offspring and are a male
Nikita A. Tolstoy
action filter_type
action intersection
action find_reverse
entity Tatyana Tolstaya
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Tatyana Tolstaya'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:child resource:Tatyana_Tolstaya . ?j property:gender resource:male . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q838948
USER
Which works of art had max number of people as the dubbing artist ?
(c(Q838948),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q838948
type Q502895
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?i ) { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?o ) WHERE { ?c property:P725 ?d . ?c rdf:type ontology:Q838948 . ?d rdf:type ontology:Q502895 } GROUP BY ?c } } . { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?n ) WHERE { ?l property:P725 ?h . ?l rdf:type ontology:Q838948 . ?h rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?n = ?i ) }
action argmax
action find_tuple_counts
relation voice actor
type work of art
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?i ) { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?o ) WHERE { ?c property:voice_actor ?d . ?c rdf:type ontology:work_of_art . ?d rdf:type ontology:common_name } GROUP BY ?c } } . { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?n ) WHERE { ?l property:voice_actor ?h . ?l rdf:type ontology:work_of_art . ?h rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?n = ?i ) }
[]
common name work of art
Q19263748
SYSTEM
The Anthem of the Heart
Q19263748
(c(Q838948),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q838948
type Q502895
[ANSWER] had max number of people as the dubbing artist
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?i ) { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?o ) WHERE { ?c property:P725 ?d . ?c rdf:type ontology:Q838948 . ?d rdf:type ontology:Q502895 } GROUP BY ?c } } . { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?n ) WHERE { ?l property:P725 ?h . ?l rdf:type ontology:Q838948 . ?h rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?n = ?i ) }
The Anthem of the Heart
The Anthem of the Heart had max number of people as the dubbing artist
The Anthem of the Heart
action argmax
action find_tuple_counts
relation voice actor
type work of art
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?i ) { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?o ) WHERE { ?c property:voice_actor ?d . ?c rdf:type ontology:work_of_art . ?d rdf:type ontology:common_name } GROUP BY ?c } } . { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?n ) WHERE { ?l property:voice_actor ?h . ?l rdf:type ontology:work_of_art . ?h rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?n = ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1634199
P3279
Q502895 Q13406554 Q15991303
USER
How many people were recognized as the statistical leader of more number of sport competitions and association football leagues than Dontae' Jones ?
(c(Q13406554)|c(Q15991303),P3279,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
action count
action filter_multi_types
action find_reverse
entity Q1634199
relation P3279
type Q13406554
type Q15991303
[[{'concept': 'Q13406554'}, {'concept': 'Q15991303'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?p WHERE { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15991303 ) ( ontology:Q13406554 ) } } GROUP BY ?p } . FILTER ( ?d > ?u ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:P3279 resource:Q1634199 . { { ?b rdf:type ontology:Q13406554 } UNION { ?b rdf:type ontology:Q15991303 } } } } }
Dontae' Jones
action count
action greater
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
action count
action filter_multi_types
action find_reverse
entity Dontae' Jones
relation statistical leader
type sport competition
type association football league
[[{'concept': 'sport competition'}, {'concept': 'association football league'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?p WHERE { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:association_football_league ) ( ontology:sport_competition ) } } GROUP BY ?p } . FILTER ( ?d > ?u ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:statistical_leader resource:Dontae'_Jones . { { ?b rdf:type ontology:sport_competition } UNION { ?b rdf:type ontology:association_football_league } } } } }
[]
common name sport competition association football league
SYSTEM
50
Q352110 Q25369 Q456766 Q498257 Q368561 Q1584802 Q310519 Q2345884 Q314185 Q360219 Q18749100 Q7322663 Q60417 Q466385 Q190094 Q2718535 Q683030 Q437241 Q41421 Q372859 Q1353620 Q152871 Q504835 Q2333206 Q12643733 Q3829239 Q2309134 Q169452 Q703757 Q3616183 Q553232 Q433813 Q202295 Q29545 Q24002 Q27187285 Q182455 Q6289235 Q179051 Q379603 Q380015 Q441283 Q351862 Q6547747 Q43744 Q583904 Q166336 Q2602217 Q152107 Q16228365
(c(Q13406554)|c(Q15991303),P3279,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
action count
action filter_multi_types
action find_reverse
entity Q1634199
relation P3279
type Q13406554
type Q15991303
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q15991303'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?p WHERE { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15991303 ) ( ontology:Q13406554 ) } } GROUP BY ?p } . FILTER ( ?d > ?u ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:P3279 resource:Q1634199 . { { ?b rdf:type ontology:Q13406554 } UNION { ?b rdf:type ontology:Q15991303 } } } } }
George Gervin Kobe Bryant Paul Arizin Lothar Emmerich Bob Pettit Keydren Clark Ulf Kirsten Siniša Gogić George Mikan Łukasz Sosin James Miller Ricardo Guillén Dieter Müller Rainer Rauffmann Allen Iverson Milan Gurović Roland Wohlfarth Stefan Kuntz Michael Jordan Adrian Dantley Neil Johnston Karl-Heinz Rummenigge Andrew Gaze Dejan Milojević Toni Bizaca Leandro García Morales Lee Nailon Shaquille O'Neal Martin Max Andreas Stylianou Bob McAdoo Nikos Galis Tracy Mcmi Kevin Durant Andy Panko Panikos Efthymiades Wilt Chamberlain Josh Pace Kareem Abdul-Jabbar Tony Yeboah Igor Rakočević Austin Nichols Sotiris Kaiafas Liliana Kostova Gerd Müller Jaycee Carroll Klaus Allofs Michael Wright Jupp Heynckes Errick McCollum
50
action count
action greater
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
action count
action filter_multi_types
action find_reverse
entity Dontae' Jones
relation statistical leader
type sport competition
type association football league
[[{'concept': 'sport competition'}, {'concept': 'association football league'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?p WHERE { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:association_football_league ) ( ontology:sport_competition ) } } GROUP BY ?p } . FILTER ( ?d > ?u ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:statistical_leader resource:Dontae'_Jones . { { ?b rdf:type ontology:sport_competition } UNION { ?b rdf:type ontology:association_football_league } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q27187336
P3279
Q502895 Q13406554 Q15991303
USER
And how about Andros Savva?
(c(Q13406554)|c(Q15991303),P3279,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
action count
action filter_multi_types
action find_reverse
entity Q27187336
relation P3279
type Q13406554
type Q15991303
[[{'concept': 'Q13406554'}, {'concept': 'Q15991303'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?s ) WHERE { { ?e property:P3279 ?y . ?y rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15991303 } UNION { ?e property:P3279 ?y . ?y rdf:type ontology:Q502895 . ?e rdf:type ontology:Q13406554 } } GROUP BY ?y } . FILTER ( ?s > ?b ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:P3279 resource:Q27187336 . { VALUES ( ?r ) { ( ontology:Q13406554 ) ( ontology:Q15991303 ) } . ?q rdf:type ?r } } } }
Andros Savva
action count
action greater
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
action count
action filter_multi_types
action find_reverse
entity Andros Savva
relation statistical leader
type sport competition
type association football league
[[{'concept': 'sport competition'}, {'concept': 'association football league'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?s ) WHERE { { ?e property:statistical_leader ?y . ?y rdf:type ontology:common_name . ?e rdf:type ontology:association_football_league } UNION { ?e property:statistical_leader ?y . ?y rdf:type ontology:common_name . ?e rdf:type ontology:sport_competition } } GROUP BY ?y } . FILTER ( ?s > ?b ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:statistical_leader resource:Andros_Savva . { VALUES ( ?r ) { ( ontology:sport_competition ) ( ontology:association_football_league ) } . ?q rdf:type ?r } } } }
[]
common name sport competition association football league
SYSTEM
50
Q352110 Q25369 Q456766 Q498257 Q368561 Q1584802 Q310519 Q2345884 Q314185 Q360219 Q18749100 Q7322663 Q60417 Q466385 Q190094 Q2718535 Q683030 Q437241 Q41421 Q372859 Q1353620 Q152871 Q504835 Q2333206 Q12643733 Q3829239 Q2309134 Q169452 Q703757 Q3616183 Q553232 Q433813 Q202295 Q29545 Q24002 Q27187285 Q182455 Q6289235 Q179051 Q379603 Q380015 Q441283 Q351862 Q6547747 Q43744 Q583904 Q166336 Q2602217 Q152107 Q16228365
(c(Q13406554)|c(Q15991303),P3279,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
action count
action filter_multi_types
action find_reverse
entity Q27187336
relation P3279
type Q13406554
type Q15991303
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q15991303'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?s ) WHERE { { ?e property:P3279 ?y . ?y rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15991303 } UNION { ?e property:P3279 ?y . ?y rdf:type ontology:Q502895 . ?e rdf:type ontology:Q13406554 } } GROUP BY ?y } . FILTER ( ?s > ?b ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:P3279 resource:Q27187336 . { VALUES ( ?r ) { ( ontology:Q13406554 ) ( ontology:Q15991303 ) } . ?q rdf:type ?r } } } }
George Gervin Kobe Bryant Paul Arizin Lothar Emmerich Bob Pettit Keydren Clark Ulf Kirsten Siniša Gogić George Mikan Łukasz Sosin James Miller Ricardo Guillén Dieter Müller Rainer Rauffmann Allen Iverson Milan Gurović Roland Wohlfarth Stefan Kuntz Michael Jordan Adrian Dantley Neil Johnston Karl-Heinz Rummenigge Andrew Gaze Dejan Milojević Toni Bizaca Leandro García Morales Lee Nailon Shaquille O'Neal Martin Max Andreas Stylianou Bob McAdoo Nikos Galis Tracy Mcmi Kevin Durant Andy Panko Panikos Efthymiades Wilt Chamberlain Josh Pace Kareem Abdul-Jabbar Tony Yeboah Igor Rakočević Austin Nichols Sotiris Kaiafas Liliana Kostova Gerd Müller Jaycee Carroll Klaus Allofs Michael Wright Jupp Heynckes Errick McCollum
50
action count
action greater
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
action count
action filter_multi_types
action find_reverse
entity Andros Savva
relation statistical leader
type sport competition
type association football league
[[{'concept': 'sport competition'}, {'concept': 'association football league'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?s ) WHERE { { ?e property:statistical_leader ?y . ?y rdf:type ontology:common_name . ?e rdf:type ontology:association_football_league } UNION { ?e property:statistical_leader ?y . ?y rdf:type ontology:common_name . ?e rdf:type ontology:sport_competition } } GROUP BY ?y } . FILTER ( ?s > ?b ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:statistical_leader resource:Andros_Savva . { VALUES ( ?r ) { ( ontology:sport_competition ) ( ontology:association_football_league ) } . ?q rdf:type ?r } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6120017
P1196
Q1931388
USER
What situation did Sandro Mariátegui Chiappe die in ?
(Q6120017,P1196,c(Q1931388))
action filter_type
action find
entity Q6120017
relation P1196
type Q1931388
['Q6120017', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1931388 . resource:Q6120017 property:P1196 ?q }
Sandro Mariátegui Chiappe
action filter_type
action find
entity Sandro Mariátegui Chiappe
relation manner of death
type cause of death
['Sandro Mariátegui Chiappe', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:cause_of_death . resource:Sandro_Mariátegui_Chiappe property:manner_of_death ?q }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q6120017,P1196,c(Q1931388))
action filter_type
action find
entity Q6120017
relation P1196
type Q1931388
Sandro Mariátegui Chiappe died in the [ANSWER]
['Q6120017', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1931388 . resource:Q6120017 property:P1196 ?q }
natural causes
Sandro Mariátegui Chiappe died in the natural causes
natural causes
action filter_type
action find
entity Sandro Mariátegui Chiappe
relation manner of death
type cause of death
['Sandro Mariátegui Chiappe', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:cause_of_death . resource:Sandro_Mariátegui_Chiappe property:manner_of_death ?q }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16018288
Q1931388
USER
And how about W. Laird Stabler, Jr.?
(Q16018288,P1196,c(Q1931388))
action filter_type
action find
entity Q16018288
relation P1196
type Q1931388
['Q16018288', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?s WHERE { resource:Q16018288 property:P1196 ?s . ?s rdf:type ontology:Q1931388 }
W. Laird Stabler, Jr.
action filter_type
action find
entity W. Laird Stabler, Jr.
relation manner of death
type cause of death
['W. Laird Stabler, Jr.', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?s WHERE { resource:W._Laird_Stabler,_Jr. property:manner_of_death ?s . ?s rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q16018288,P1196,c(Q1931388))
action filter_type
action find
entity Q16018288
relation P1196
type Q1931388
[ANSWER]
['Q16018288', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?s WHERE { resource:Q16018288 property:P1196 ?s . ?s rdf:type ontology:Q1931388 }
natural causes
natural causes
action filter_type
action find
entity W. Laird Stabler, Jr.
relation manner of death
type cause of death
['W. Laird Stabler, Jr.', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?s WHERE { resource:W._Laird_Stabler,_Jr. property:manner_of_death ?s . ?s rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4459955
P22
Q502895
USER
Which people have Nikita A. Tolstoy as a parent ?
(c(Q502895),P22,Q4459955)
action filter_type
action find_reverse
entity Q4459955
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q4459955']
SELECT DISTINCT ?o WHERE { ?o property:P22 resource:Q4459955 . ?o rdf:type ontology:Q502895 }
Nikita A. Tolstoy
action filter_type
action find_reverse
entity Nikita A. Tolstoy
relation father
type common name
[{'concept': 'common name'}, 'father', 'Nikita A. Tolstoy']
SELECT DISTINCT ?o WHERE { ?o property:father resource:Nikita_A._Tolstoy . ?o rdf:type ontology:common_name }
[]
common name
Q4459853 Q274342 Q1901162
SYSTEM
Natalia Tolstaya, Tatyana Tolstaya, Mikhail Tolstoy
Q4459853 Q274342 Q1901162
(c(Q502895),P22,Q4459955)
action filter_type
action find_reverse
entity Q4459955
relation P22
type Q502895
[ANSWERS] have Nikita A. Tolstoy as a parent
[{'concept': 'Q502895'}, 'P22', 'Q4459955']
SELECT DISTINCT ?o WHERE { ?o property:P22 resource:Q4459955 . ?o rdf:type ontology:Q502895 }
Natalia Tolstaya Tatyana Tolstaya Mikhail Tolstoy
Natalia Tolstaya, Tatyana Tolstaya and Mikhail Tolstoy have Nikita A. Tolstoy as a parent
Natalia Tolstaya Tatyana Tolstaya Mikhail Tolstoy
action filter_type
action find_reverse
entity Nikita A. Tolstoy
relation father
type common name
[{'concept': 'common name'}, 'father', 'Nikita A. Tolstoy']
SELECT DISTINCT ?o WHERE { ?o property:father resource:Nikita_A._Tolstoy . ?o rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q274342
P9
Q502895
USER
Who had that one as their sibling ?
(c(Q502895),P9,Q274342)
action filter_type
action find_reverse
entity Q274342
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q274342']
SELECT DISTINCT ?s WHERE { ?s property:P9 resource:Q274342 . ?s rdf:type ontology:Q502895 }
Tatyana Tolstaya
action filter_type
action find_reverse
entity Tatyana Tolstaya
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Tatyana Tolstaya']
SELECT DISTINCT ?s WHERE { ?s property:sister resource:Tatyana_Tolstaya . ?s rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1901162
SYSTEM
Did you mean Mikhail Tolstoy ?
Q4459853 Q274342 Q1901162
(c(Q502895),P9,Q4459853) (c(Q502895),P9,Q274342) (c(Q502895),P9,Q1901162)
[ANSWER]
[{'concept': 'Q502895'}, 'P9', 'Q4459853'] [{'concept': 'Q502895'}, 'P9', 'Q274342'] [{'concept': 'Q502895'}, 'P9', 'Q1901162']
SELECT DISTINCT ?s WHERE { ?s property:P9 resource:Q274342 . ?s rdf:type ontology:Q502895 }
Natalia Tolstaya Tatyana Tolstaya Mikhail Tolstoy
Did you mean Mikhail Tolstoy ?
Mikhail Tolstoy
[{'concept': 'common name'}, 'sister', 'Natalia Tolstaya'] [{'concept': 'common name'}, 'sister', 'Tatyana Tolstaya'] [{'concept': 'common name'}, 'sister', 'Mikhail Tolstoy']
SELECT DISTINCT ?s WHERE { ?s property:sister resource:Tatyana_Tolstaya . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Tatyana Tolstaya. Could you tell me the answer for that?
(c(Q502895),P9,Q274342)
Q274342
[{'concept': 'Q502895'}, 'P9', 'Q274342']
[{'concept': 'common name'}, 'sister', 'Tatyana Tolstaya']
[]
Q4459853 Q1901162
SYSTEM
Natalia Tolstaya, Mikhail Tolstoy
Q4459853 Q1901162
(c(Q502895),P9,Q274342)
action filter_type
action find_reverse
entity Q274342
relation P9
type Q502895
[ANSWERS] had that one as their sibling
[{'concept': 'Q502895'}, 'P9', 'Q274342']
SELECT DISTINCT ?s WHERE { ?s property:P9 resource:Q274342 . ?s rdf:type ontology:Q502895 }
Natalia Tolstaya Mikhail Tolstoy
Natalia Tolstaya and Mikhail Tolstoy had that one as their sibling
Natalia Tolstaya Mikhail Tolstoy
action filter_type
action find_reverse
entity Tatyana Tolstaya
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Tatyana Tolstaya']
SELECT DISTINCT ?s WHERE { ?s property:sister resource:Tatyana_Tolstaya . ?s rdf:type ontology:common_name }
[]