Simple Question (Direct)
Simple Question
Q1632282
P166
Q24016972
USER
What was awarded to John Macnaghten Whittaker ?
(Q1632282,P166,c(Q24016972))
action filter_type
action find
entity Q1632282
relation P166
type Q24016972
['Q1632282', 'P166', {'concept': 'Q24016972'}]
SELECT DISTINCT ?e WHERE { resource:Q1632282 property:P166 ?e . ?e rdf:type ontology:Q24016972 }
John Macnaghten Whittaker
action filter_type
action find
entity John Macnaghten Whittaker
relation award received
type type of distinction
['John Macnaghten Whittaker', 'award received', {'concept': 'type of distinction'}]
SELECT DISTINCT ?e WHERE { resource:John_Macnaghten_Whittaker property:award_received ?e . ?e rdf:type ontology:type_of_distinction }
[]
type of distinction
Q15631401
SYSTEM
Fellow of the Royal Society
Q15631401
(Q1632282,P166,c(Q24016972))
action filter_type
action find
entity Q1632282
relation P166
type Q24016972
In [ANSWER] was awarded to John Macnaghten Whittaker
['Q1632282', 'P166', {'concept': 'Q24016972'}]
SELECT DISTINCT ?e WHERE { resource:Q1632282 property:P166 ?e . ?e rdf:type ontology:Q24016972 }
Fellow of the Royal Society
In Fellow of the Royal Society was awarded to John Macnaghten Whittaker
Fellow of the Royal Society
action filter_type
action find
entity John Macnaghten Whittaker
relation award received
type type of distinction
['John Macnaghten Whittaker', 'award received', {'concept': 'type of distinction'}]
SELECT DISTINCT ?e WHERE { resource:John_Macnaghten_Whittaker property:award_received ?e . ?e rdf:type ontology:type_of_distinction }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1027
Q874405 Q24016972
USER
Which social groups awards approximately 1 type of distinction ?
(c(Q24016972),P1027,c(Q874405))
action approx
action find_reverse_tuple_counts
relation P1027
type Q874405
type Q24016972
value 1
[{'concept': 'Q24016972'}, 'P1027', {'concept': 'Q874405'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:P1027 ?f . ?f rdf:type ontology:Q874405 . ?m rdf:type ontology:Q24016972 } GROUP BY ?f } . FILTER ( ?l = 1 ) }
action approx
action find_reverse_tuple_counts
relation conferred by
type social group
type type of distinction
value 1
[{'concept': 'type of distinction'}, 'conferred by', {'concept': 'social group'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:conferred_by ?f . ?f rdf:type ontology:social_group . ?m rdf:type ontology:type_of_distinction } GROUP BY ?f } . FILTER ( ?l = 1 ) }
[]
social group type of distinction
Q4288281 Q753299 Q4671486
SYSTEM
International Society for Computational Biology, Royal Astronomical Society, Academy of Medical Sciences
Q4288281 Q753299 Q4671486
(c(Q24016972),P1027,c(Q874405))
action approx
action find_reverse_tuple_counts
relation P1027
type Q874405
type Q24016972
value 1
[ANSWERS] award approximately 1 type of distinction
[{'concept': 'Q24016972'}, 'P1027', {'concept': 'Q874405'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:P1027 ?f . ?f rdf:type ontology:Q874405 . ?m rdf:type ontology:Q24016972 } GROUP BY ?f } . FILTER ( ?l = 1 ) }
International Society for Computational Biology Royal Astronomical Society Academy of Medical Sciences
International Society for Computational Biology, Royal Astronomical Society and Academy of Medical Sciences award approximately 1 type of distinction
International Society for Computational Biology Royal Astronomical Society Academy of Medical Sciences
action approx
action find_reverse_tuple_counts
relation conferred by
type social group
type type of distinction
value 1
[{'concept': 'type of distinction'}, 'conferred by', {'concept': 'social group'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?l ) WHERE { ?m property:conferred_by ?f . ?f rdf:type ontology:social_group . ?m rdf:type ontology:type_of_distinction } GROUP BY ?f } . FILTER ( ?l = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q4288281 Q753299 Q4671486
P1027
Q24016972
USER
Which types of distinction are awarded by those social groups ?
(c(Q24016972),P1027,Q4288281) (c(Q24016972),P1027,Q753299) (c(Q24016972),P1027,Q4671486)
action filter_type
action find_reverse
entity prev_answer
relation P1027
type Q24016972
[{'concept': 'Q24016972'}, 'P1027', 'Q4288281'] [{'concept': 'Q24016972'}, 'P1027', 'Q753299'] [{'concept': 'Q24016972'}, 'P1027', 'Q4671486']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q24016972 . ?n property:P1027 ?r . VALUES ( ?r ) { ( resource:Q4288281 ) ( resource:Q753299 ) ( resource:Q4671486 ) } }
International Society for Computational Biology Royal Astronomical Society Academy of Medical Sciences
action filter_type
action find_reverse
entity prev_answer
relation conferred by
type type of distinction
[{'concept': 'type of distinction'}, 'conferred by', 'International Society for Computational Biology'] [{'concept': 'type of distinction'}, 'conferred by', 'Royal Astronomical Society'] [{'concept': 'type of distinction'}, 'conferred by', 'Academy of Medical Sciences']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:type_of_distinction . ?n property:conferred_by ?r . VALUES ( ?r ) { ( resource:International_Society_for_Computational_Biology ) ( resource:Royal_Astronomical_Society ) ( resource:Academy_of_Medical_Sciences ) } }
[]
type of distinction
Q23807736 Q26111565 Q24081923
SYSTEM
ISCB distinguished fellow, Fellow of the Royal Astronomical Society, Fellow of the Academy of Medical Sciences
Q23807736 Q26111565 Q24081923
(c(Q24016972),P1027,Q4288281) (c(Q24016972),P1027,Q753299) (c(Q24016972),P1027,Q4671486)
action filter_type
action find_reverse
entity prev_answer
relation P1027
type Q24016972
[ANSWERS] are awarded by those social groups
[{'concept': 'Q24016972'}, 'P1027', 'Q4288281'] [{'concept': 'Q24016972'}, 'P1027', 'Q753299'] [{'concept': 'Q24016972'}, 'P1027', 'Q4671486']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q24016972 . ?n property:P1027 ?r . VALUES ( ?r ) { ( resource:Q4288281 ) ( resource:Q753299 ) ( resource:Q4671486 ) } }
ISCB distinguished fellow Fellow of the Royal Astronomical Society Fellow of the Academy of Medical Sciences
ISCB distinguished fellow, Fellow of the Royal Astronomical Society and Fellow of the Academy of Medical Sciences are awarded by those social groups
ISCB distinguished fellow Fellow of the Royal Astronomical Society Fellow of the Academy of Medical Sciences
action filter_type
action find_reverse
entity prev_answer
relation conferred by
type type of distinction
[{'concept': 'type of distinction'}, 'conferred by', 'International Society for Computational Biology'] [{'concept': 'type of distinction'}, 'conferred by', 'Royal Astronomical Society'] [{'concept': 'type of distinction'}, 'conferred by', 'Academy of Medical Sciences']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:type_of_distinction . ?n property:conferred_by ?r . VALUES ( ?r ) { ( resource:International_Society_for_Computational_Biology ) ( resource:Royal_Astronomical_Society ) ( resource:Academy_of_Medical_Sciences ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q23807736 Q26111565 Q24081923
P166
Q502895
USER
Which people were honoured with those types of distinction ?
(c(Q502895),P166,Q23807736) (c(Q502895),P166,Q26111565) (c(Q502895),P166,Q24081923)
action filter_type
action find_reverse
entity prev_answer
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q23807736'] [{'concept': 'Q502895'}, 'P166', 'Q26111565'] [{'concept': 'Q502895'}, 'P166', 'Q24081923']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . VALUES ( ?j ) { ( resource:Q23807736 ) ( resource:Q26111565 ) ( resource:Q24081923 ) } . ?y property:P166 ?j }
ISCB distinguished fellow Fellow of the Royal Astronomical Society Fellow of the Academy of Medical Sciences
action filter_type
action find_reverse
entity prev_answer
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'ISCB distinguished fellow'] [{'concept': 'common name'}, 'award received', 'Fellow of the Royal Astronomical Society'] [{'concept': 'common name'}, 'award received', 'Fellow of the Academy of Medical Sciences']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . VALUES ( ?j ) { ( resource:ISCB_distinguished_fellow ) ( resource:Fellow_of_the_Royal_Astronomical_Society ) ( resource:Fellow_of_the_Academy_of_Medical_Sciences ) } . ?y property:award_received ?j }
[]
common name
Q5552368 Q8219 Q19664103
SYSTEM
Gero Andreas Miesenböck, Uta Frith, James Cuthbert Smith
Q1905174 Q16335154 Q6153626 Q4583003 Q11455319 Q1494954 Q6832227 Q4869199 Q7381092 Q15995461 Q19664665 Q18808526 Q7360689 Q6551037 Q7441 Q6504172 Q5619162 Q92714 Q7383152 Q7614656 Q4756078 Q7248791 Q6127170 Q92757 Q23823628 Q5107972 Q4998995 Q5235454 Q23823644 Q23823647 Q23823640 Q6069284 Q6766711 Q14647663 Q4262009 Q21572185 Q4829027 Q1174318 Q4747830 Q7039821 Q12061804 Q3383843 Q23823587 Q23823595 Q7666528 Q5201079 Q7183255 Q7698536 Q7344712 Q1694475 Q26111560 Q21165693 Q21165613 Q24453739 Q5451129 Q5561586 Q15994345 Q15994566 Q19926268 Q5562196 Q21166615 Q4764100 Q19900783 Q320877 Q6384884 Q5552368 Q24084302 Q15994408 Q21166682 Q5593417 Q24195867 Q6833045 Q19501099 Q7287760 Q5262840 Q19664103 Q24631614 Q8219 Q537479 Q15994731 Q4768689 Q15994709 Q21166753 Q5354323 Q6370108 Q21165834 Q1353638 Q21165478 Q7154482 Q6307119 Q3430882 Q21166090 Q4909321 Q24199771 Q1700591 Q21165208 Q24182136 Q21165114 Q23950132 Q21165217 Q6256238 Q15967402 Q17198757 Q21165804
(c(Q502895),P166,Q23807736) (c(Q502895),P166,Q26111565) (c(Q502895),P166,Q24081923)
action filter_type
action find_reverse
entity prev_answer
relation P166
type Q502895
[ANSWERS] were honoured with those types of distinction
[{'concept': 'Q502895'}, 'P166', 'Q23807736'] [{'concept': 'Q502895'}, 'P166', 'Q26111565'] [{'concept': 'Q502895'}, 'P166', 'Q24081923']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . VALUES ( ?j ) { ( resource:Q23807736 ) ( resource:Q26111565 ) ( resource:Q24081923 ) } . ?y property:P166 ?j }
Martin Vingron Alfonso Valencia Janet Thornton Richard M. Durbin Satoru Miyano Gary Stormo Michael Levitt Ewan Birney Russ Altman Ron Shamir Jill P. Mesirov Bonnie Berger Rolf Apweiler Lincoln Stein Helen M. Berman Lawrence Hunter Gunnar von Heijne David Haussler Ruth Nussinov Steven E. Brenner Andrej Šali Steven Salzberg Shoshana Wodak Eugene Myers Anna Tramontano Chris Sander Burkhard Rost David J. Lipman Satoru Miyano Peter D. Karp Haim Wolfson Pedro Julio Collado Vides Mark Bender Gerstein David Sankoff Pavel Pevzner Christine Orengo Aviv Regev David Eisenberg Amos Bairoch Nir Friedman Webb Miller Pierre Baldi Dan Gusfield Michal Linial Søren Brunak Cyrus Chothia Philip Bourne Temple F. Smith Robert Gentleman Michael Waterman Henry Adams Sergison Atwood John Collinge Daniel St Johnston Richard Moxon Fiona Watt Gilean McVean Doreen Cantrell Tony Kouzarides Michael Hausser Gillian Bates Malcolm Irving Angus Dalgleish Ketan Jayakrishna Patel Semir Zeki Keith Peters Gero Andreas Miesenböck Neil A. R. Gow Gordon Dougan Matthew John Aylmer Freeman Grahame Hardie David Lodge Michael Neuberger Sarah Teichmann Ralph Kohn Dermot P. Kelleher James Cuthbert Smith Douglass Matthew Turnbull Uta Frith Alan Fersht John Savill Anne O'Garra Margaret Robinson Michael Harvey Hastings Eleanor Maguire Karen Vousden Ronald Hay Ian Wilmut Richard Henry Treisman Paul Workman Julian Downward Richard Horton Steven J. Gamblin Bill Harris Harry J. Gilbert John Skehel Andrew Tym Hattersley Alastair Compston Ian David Hickson Christl Ann Donnelly Peter William Jack Rigby John S. Duncan Jeremy Farrar Claudio Daniel Stern John Francis Xavier Diffley
Gero Andreas Miesenböck, Uta Frith and James Cuthbert Smith were honoured with those types of distinction
Gero Andreas Miesenböck Uta Frith James Cuthbert Smith
action filter_type
action find_reverse
entity prev_answer
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'ISCB distinguished fellow'] [{'concept': 'common name'}, 'award received', 'Fellow of the Royal Astronomical Society'] [{'concept': 'common name'}, 'award received', 'Fellow of the Academy of Medical Sciences']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . VALUES ( ?j ) { ( resource:ISCB_distinguished_fellow ) ( resource:Fellow_of_the_Royal_Astronomical_Society ) ( resource:Fellow_of_the_Academy_of_Medical_Sciences ) } . ?y property:award_received ?j }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5552368 Q8219 Q19664103
P21
Q290
USER
What are the sex of Gero Andreas Miesenböck, Uta Frith and James Cuthbert Smith ?
(Q5552368,P21,c(Q290)) (Q8219,P21,c(Q290)) (Q19664103,P21,c(Q290))
action union
action filter_type
action find
entity Q5552368
relation P21
type Q290
action filter_type
action find
entity Q8219
relation P21
type Q290
action filter_type
action find
entity Q19664103
relation P21
type Q290
['Q5552368', 'P21', {'concept': 'Q290'}] ['Q8219', 'P21', {'concept': 'Q290'}] ['Q19664103', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { { resource:Q8219 property:P21 ?b . ?b rdf:type ontology:Q290 } UNION { resource:Q5552368 property:P21 ?b . ?b rdf:type ontology:Q290 } }
Gero Andreas Miesenböck Uta Frith James Cuthbert Smith
action union
action filter_type
action find
entity Gero Andreas Miesenböck
relation gender
type sex
action filter_type
action find
entity Uta Frith
relation gender
type sex
action filter_type
action find
entity James Cuthbert Smith
relation gender
type sex
['Gero Andreas Miesenböck', 'gender', {'concept': 'sex'}] ['Uta Frith', 'gender', {'concept': 'sex'}] ['James Cuthbert Smith', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { { resource:Uta_Frith property:gender ?b . ?b rdf:type ontology:sex } UNION { resource:Gero_Andreas_Miesenböck property:gender ?b . ?b rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097
(Q5552368,P21,c(Q290)) (Q8219,P21,c(Q290)) (Q19664103,P21,c(Q290))
action union
action filter_type
action find
entity Q5552368
relation P21
type Q290
action filter_type
action find
entity Q8219
relation P21
type Q290
action filter_type
action find
entity Q19664103
relation P21
type Q290
[ANSWERS]
['Q5552368', 'P21', {'concept': 'Q290'}] ['Q8219', 'P21', {'concept': 'Q290'}] ['Q19664103', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { { resource:Q8219 property:P21 ?b . ?b rdf:type ontology:Q290 } UNION { resource:Q5552368 property:P21 ?b . ?b rdf:type ontology:Q290 } }
male female male
The sex of Gero Andreas Miesenböck , Uta Frith and James Cuthbert Smith are the male, female and male
male female male
action union
action filter_type
action find
entity Gero Andreas Miesenböck
relation gender
type sex
action filter_type
action find
entity Uta Frith
relation gender
type sex
action filter_type
action find
entity James Cuthbert Smith
relation gender
type sex
['Gero Andreas Miesenböck', 'gender', {'concept': 'sex'}] ['Uta Frith', 'gender', {'concept': 'sex'}] ['James Cuthbert Smith', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { { resource:Uta_Frith property:gender ?b . ?b rdf:type ontology:sex } UNION { resource:Gero_Andreas_Miesenböck property:gender ?b . ?b rdf:type ontology:sex } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6581097
P136
Q502895
USER
Which people have that sex as their type ?
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?z WHERE { ?z property:P136 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?z WHERE { ?z property:genre resource:male . ?z rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q6581072
SYSTEM
Did you mean female ?
Q6581097 Q6581072 Q6581097
(c(Q502895),P136,Q6581097) (c(Q502895),P136,Q6581072) (c(Q502895),P136,Q6581097)
[ANSWER]
[{'concept': 'Q502895'}, 'P136', 'Q6581097'] [{'concept': 'Q502895'}, 'P136', 'Q6581072'] [{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?z WHERE { ?z property:P136 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
male female male
Did you mean female ?
female
[{'concept': 'common name'}, 'genre', 'male'] [{'concept': 'common name'}, 'genre', 'female'] [{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?z WHERE { ?z property:genre resource:male . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant male. Could you tell me the answer for that?
(c(Q502895),P136,Q6581097)
Q6581097
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
[{'concept': 'common name'}, 'genre', 'male']
[]
Q23766532 Q313288 Q18221191
SYSTEM
Pierre Laviron, Augustus Pugin, Alessandro Gregorio Capponi
Q19796723 Q23766532 Q313288 Q18221191
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[ANSWERS] have that sex as their type
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?z WHERE { ?z property:P136 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
Francesc Xavier Avilés i Puigvert Pierre Laviron Augustus Pugin Alessandro Gregorio Capponi
Pierre Laviron, Augustus Pugin and Alessandro Gregorio Capponi have that sex as their type
Pierre Laviron Augustus Pugin Alessandro Gregorio Capponi
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?z WHERE { ?z property:genre resource:male . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by exactly 2 people ?
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?b = 2 ) }
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?b = 2 ) }
[]
musical instrument common name
SYSTEM
8
Q201129 Q424017 Q3574843 Q182718 Q862501 Q537750 Q1300012 Q483994
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?b = 2 ) }
lyre acoustic bass guitar tonbak Nyckelharpa ondes Martenot Djembe toy piano Kazoo
8
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?b = 2 ) }
[]