Simple Question (Direct)
Simple Question
Q1282692
P136
Q151885
USER
Which concept is the genre for Eddie Bond ?
(Q1282692,P136,c(Q151885))
action filter_type
action find
entity Q1282692
relation P136
type Q151885
['Q1282692', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?o WHERE { resource:Q1282692 property:P136 ?o . ?o rdf:type ontology:Q151885 }
Eddie Bond
action filter_type
action find
entity Eddie Bond
relation genre
type concept
['Eddie Bond', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?o WHERE { resource:Eddie_Bond property:genre ?o . ?o rdf:type ontology:concept }
[]
concept
Q83440
SYSTEM
country music
Q83440
(Q1282692,P136,c(Q151885))
action filter_type
action find
entity Q1282692
relation P136
type Q151885
[ANSWER] is the genre for Eddie Bond
['Q1282692', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?o WHERE { resource:Q1282692 property:P136 ?o . ?o rdf:type ontology:Q151885 }
country music
Country music is the genre for Eddie Bond
country music
action filter_type
action find
entity Eddie Bond
relation genre
type concept
['Eddie Bond', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?o WHERE { resource:Eddie_Bond property:genre ?o . ?o rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1282692
P1050
Q2057971
USER
Which health problem does that person have ?
(Q83440,P1050,c(Q2057971))
action filter_type
action find
entity Q1282692
relation P1050
type Q2057971
['Q83440', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?i WHERE { resource:Q1282692 property:P1050 ?i . ?i rdf:type ontology:Q2057971 }
Eddie Bond
action filter_type
action find
entity Eddie Bond
relation medical condition
type health problem
['country music', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?i WHERE { resource:Eddie_Bond property:medical_condition ?i . ?i rdf:type ontology:health_problem }
[]
health problem
Q11081
SYSTEM
Alzheimer's disease
Q11081
(Q83440,P1050,c(Q2057971))
action filter_type
action find
entity Q1282692
relation P1050
type Q2057971
That person has an [ANSWER]
['Q83440', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?i WHERE { resource:Q1282692 property:P1050 ?i . ?i rdf:type ontology:Q2057971 }
Alzheimer's disease
That person has an Alzheimer's disease
Alzheimer's disease
action filter_type
action find
entity Eddie Bond
relation medical condition
type health problem
['country music', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?i WHERE { resource:Eddie_Bond property:medical_condition ?i . ?i rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q11081
P2293
Q863908
USER
How many nucleic acid sequences have genetic relation with Alzheimer's disease ?
(Q11081,P2293,c(Q863908))
action count
action filter_type
action find
entity Q11081
relation P2293
type Q863908
['Q11081', 'P2293', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Q11081 property:P2293 ?w . ?w rdf:type ontology:Q863908 }
Alzheimer's disease
action count
action filter_type
action find
entity Alzheimer's disease
relation genetic association
type nucleic acid sequence
["Alzheimer's disease", 'genetic association', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Alzheimer's_disease property:genetic_association ?w . ?w rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
SYSTEM
86
Q18033279 Q18037003 Q17858733 Q18034002 Q18037479 Q18035316 Q18046267 Q18043072 Q18052848 Q18042514 Q18039650 Q18035395 Q18039883 Q17855637 Q17913823 Q18045682 Q18038784 Q2745322 Q18052271 Q18033761 Q18051063 Q18037897 Q17825605 Q18034601 Q18034725 Q18043155 Q18037783 Q18046433 Q14890468 Q18046244 Q18053558 Q18041790 Q18047843 Q18036702 Q17927283 Q18050688 Q18036665 Q5009814 Q18029240 Q18041957 Q18049453 Q18041263 Q14914401 Q18045297 Q18027947 Q18052870 Q18035581 Q18035998 Q18040973 Q18041516 Q18041288 Q414043 Q18046351 Q18047620 Q14864935 Q14904550 Q7392091 Q18025177 Q18052537 Q18036639 Q18053055 Q20787111 Q18036632 Q18033497 Q14864533 Q18055569 Q17815635 Q18055234 Q18042877 Q18030967 Q18044426 Q18034330 Q18027694 Q18032340 Q18055896 Q18062755 Q18029171 Q14907382 Q14819361 Q18033531 Q18036616 Q18046296 Q18035011 Q18032804 Q17911558 Q18032924
(Q11081,P2293,c(Q863908))
action count
action filter_type
action find
entity Q11081
relation P2293
type Q863908
[ANSWER]
['Q11081', 'P2293', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Q11081 property:P2293 ?w . ?w rdf:type ontology:Q863908 }
CRADD PRRC2C MS4A3 TRIP4 CD2AP ABCA7 SAP30L PLEKHG1 BMPER FMN2 PARVB TOMM40 CDON CAMK4 DMXL1 CSMD1 PCDH11X STK11 NKAIN2 MPZL1 MPP7 CNTNAP2 BIN1 ST18 ELMO1 ARHGAP20 MTHFD1L CCDC134 APOE PPP1R3B ATXN7L1 STK32B SPPL2A HECW1 PTK2B NDUFAF6 MYO16 CD33 MOBP LIMS2 ANO4 DCHS2 GAB2 EXOC4 INPP5D GLIS3 CELF1 FERMT2 TREM2 ZCWPW1 BCAS3 RELN CLMN MEGF10 CLU APOC1 SORL1 GABRG3 ZNF320 PCNX1 PLPP4 LOC390956 DIP2C SQSTM1 CR1 TGM6 AP2A2 LUZP2 CASS4 NECTIN2 VAT1L SLC4A8 IGH VSNL1 POLN SLC8A1-AS1 AFF1 NCS1 CYCS CACNA1G SLC4A1AP ANKRD55 GPC6 PICALM CTNNA2 STK24
86
action count
action filter_type
action find
entity Alzheimer's disease
relation genetic association
type nucleic acid sequence
["Alzheimer's disease", 'genetic association', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Alzheimer's_disease property:genetic_association ?w . ?w rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q470427
P2293
Q863908
USER
Which nucleic acid sequences have genetic correlation with refractive error ?
(Q470427,P2293,c(Q863908))
action filter_type
action find
entity Q470427
relation P2293
type Q863908
['Q470427', 'P2293', {'concept': 'Q863908'}]
SELECT DISTINCT ?o WHERE { resource:Q470427 property:P2293 ?o . ?o rdf:type ontology:Q863908 }
refractive error
action filter_type
action find
entity refractive error
relation genetic association
type nucleic acid sequence
['refractive error', 'genetic association', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?o WHERE { resource:refractive_error property:genetic_association ?o . ?o rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18041210 Q18029785 Q18056481
SYSTEM
RBFOX1, MYO1D, SHISA6
Q18026487 Q18031049 Q18028441 Q18046278 Q17854673 Q18042393 Q18029785 Q18042018 Q18056481 Q18030952 Q18034074 Q18041210 Q18031206
(Q470427,P2293,c(Q863908))
action filter_type
action find
entity Q470427
relation P2293
type Q863908
[ANSWERS] have genetic correlation with refractive error
['Q470427', 'P2293', {'concept': 'Q863908'}]
SELECT DISTINCT ?o WHERE { resource:Q470427 property:P2293 ?o . ?o rdf:type ontology:Q863908 }
GRIA4 RASGRF1 LAMA2 ZMAT4 CACNA1D KCNQ5 MYO1D CNDP2 SHISA6 PTPRR TJP2 RBFOX1 RORB
RBFOX1, MYO1D and SHISA6 have genetic correlation with refractive error
RBFOX1 MYO1D SHISA6
action filter_type
action find
entity refractive error
relation genetic association
type nucleic acid sequence
['refractive error', 'genetic association', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?o WHERE { resource:refractive_error property:genetic_association ?o . ?o rdf:type ontology:nucleic_acid_sequence }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q36180 Q11081
P509 P106
Q502895
USER
Which people had Alzheimer's disease as the reason for fatality and are not working as writer ?
AND((c(Q502895),P509,Q11081), NOT((c(Q502895),P106,Q36180)))
action filter_type
action difference
action find_reverse
entity Q11081
relation P509
action find_reverse
entity Q36180
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P509', 'Q11081'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q36180']]}]}
SELECT DISTINCT ?f WHERE { ?f property:P509 resource:Q11081 . MINUS { ?f property:P106 resource:Q36180 } . ?f rdf:type ontology:Q502895 }
writer Alzheimer's disease
action filter_type
action difference
action find_reverse
entity Alzheimer's disease
relation cause of death
action find_reverse
entity writer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'cause of death', "Alzheimer's disease"], {'NOT': [[{'concept': 'common name'}, 'occupation', 'writer']]}]}
SELECT DISTINCT ?f WHERE { ?f property:cause_of_death resource:Alzheimer's_disease . MINUS { ?f property:occupation resource:writer } . ?f rdf:type ontology:common_name }
[]
common name
Q103788 Q470252 Q7397940 Q106443 Q275228 Q2608520 Q173675 Q256809 Q52997 Q128956
SYSTEM
Some of them are Mervyn LeRoy, Arlene Francis, Sadie Tanner Mossell Alexander, Annie Girardot, Carola Standertskjöld, Jimmy Hill, Bayliss Levrett, Alice Babs, Otto Preminger, Harold Wilson
Q271655 Q253328 Q106443 Q275228 Q59204 Q184351 Q182725 Q3144796 Q433129 Q8003440 Q270426 Q1701664 Q7704942 Q230143 Q156736 Q36105 Q78928 Q214367 Q173675 Q128956 Q270753 Q260658 Q86872 Q132305 Q3310093 Q232879 Q4717400 Q270771 Q270152 Q16751792 Q192185 Q51535 Q256809 Q5295096 Q2608520 Q1586253 Q184577 Q183469 Q519884 Q103788 Q262861 Q19799254 Q3229688 Q470252 Q262826 Q236396 Q11719840 Q16939756 Q42745 Q52997 Q7397940 Q16015730 Q175519 Q119935 Q702625 Q23954762 Q132899 Q21129115 Q82130 Q9960 Q18600536
AND((c(Q502895),P509,Q11081), NOT((c(Q502895),P106,Q36180)))
action filter_type
action difference
action find_reverse
entity Q11081
relation P509
action find_reverse
entity Q36180
relation P106
type Q502895
[ANSWERS] had Alzheimer's disease as the reason for fatality and are not working as writer
{'AND': [[{'concept': 'Q502895'}, 'P509', 'Q11081'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q36180']]}]}
SELECT DISTINCT ?f WHERE { ?f property:P509 resource:Q11081 . MINUS { ?f property:P106 resource:Q36180 } . ?f rdf:type ontology:Q502895 }
Laura La Plante Evelyn Keyes Annie Girardot Carola Standertskjöld Alberto Lattuada Yitzhak Shamir Etta James Hélène Gordon-Lazareff Joan Mondale Willard Leon Beaulac Dorian Leigh John S. Waugh Terry Redlin Margaret Rutherford Eduardo Chillida Charles Bronson Karlheinz Böhm Adolfo Suárez Bayliss Levrett Harold Wilson Phyllis Thaxter Toni Frissell Erwin Bünning Willem de Kooning Michel Lang Lila Kedrova Alex Lyon Ilene Woods Ieng Thirith Tom Magliozzi Aaron Copland Vincente Minnelli Alice Babs Donald Rudolph Jimmy Hill Harrison B. Tordoff Walter Houser Brattain Juanita M. Kreps Sonia Pottinger Mervyn LeRoy Danny Blanchflower Anne Bannister Leonard Skinner Arlene Francis Hilderaldo Bellini Geraldine Fitzgerald Janina Miłosz Chiquinha Gonzaga Rita Hayworth Otto Preminger Sadie Tanner Mossell Alexander Julie Alexander Raymond Davis, Jr. Edmond O'Brien Marc Riboud James S. Lay Vyacheslav Molotov Edith Henderson Bobby Marshall Ronald Reagan Walt Palmer
Mervyn LeRoy, Arlene Francis, Sadie Tanner Mossell Alexander, Annie Girardot, Carola Standertskjöld, Jimmy Hill, Bayliss Levrett, Alice Babs, Otto Preminger and Harold Wilson had Alzheimer's disease as the reason for fatality and are not working as writer
Mervyn LeRoy Arlene Francis Sadie Tanner Mossell Alexander Annie Girardot Carola Standertskjöld Jimmy Hill Bayliss Levrett Alice Babs Otto Preminger Harold Wilson
action filter_type
action difference
action find_reverse
entity Alzheimer's disease
relation cause of death
action find_reverse
entity writer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'cause of death', "Alzheimer's disease"], {'NOT': [[{'concept': 'common name'}, 'occupation', 'writer']]}]}
SELECT DISTINCT ?f WHERE { ?f property:cause_of_death resource:Alzheimer's_disease . MINUS { ?f property:occupation resource:writer } . ?f rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7397940
P69
Q3918
USER
Which university is that person an alumni of ?
(Q7397940,P69,c(Q3918))
action filter_type
action find
entity Q7397940
relation P69
type Q3918
['Q7397940', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?j WHERE { resource:Q7397940 property:P69 ?j . ?j rdf:type ontology:Q3918 }
Sadie Tanner Mossell Alexander
action filter_type
action find
entity Sadie Tanner Mossell Alexander
relation educated at
type university
['Sadie Tanner Mossell Alexander', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?j WHERE { resource:Sadie_Tanner_Mossell_Alexander property:educated_at ?j . ?j rdf:type ontology:university }
[]
university
Clarification for simple ques.
Q106443
SYSTEM
Did you mean Annie Girardot ?
Q103788 Q470252 Q7397940 Q106443 Q275228 Q2608520 Q173675 Q256809 Q52997 Q128956
(Q103788,P69,c(Q3918)) (Q470252,P69,c(Q3918)) (Q7397940,P69,c(Q3918)) (Q106443,P69,c(Q3918)) (Q275228,P69,c(Q3918)) (Q2608520,P69,c(Q3918)) (Q173675,P69,c(Q3918)) (Q256809,P69,c(Q3918)) (Q52997,P69,c(Q3918)) (Q128956,P69,c(Q3918))
[ANSWER]
['Q103788', 'P69', {'concept': 'Q3918'}] ['Q470252', 'P69', {'concept': 'Q3918'}] ['Q7397940', 'P69', {'concept': 'Q3918'}] ['Q106443', 'P69', {'concept': 'Q3918'}] ['Q275228', 'P69', {'concept': 'Q3918'}] ['Q2608520', 'P69', {'concept': 'Q3918'}] ['Q173675', 'P69', {'concept': 'Q3918'}] ['Q256809', 'P69', {'concept': 'Q3918'}] ['Q52997', 'P69', {'concept': 'Q3918'}] ['Q128956', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?j WHERE { resource:Q7397940 property:P69 ?j . ?j rdf:type ontology:Q3918 }
Mervyn LeRoy Arlene Francis Sadie Tanner Mossell Alexander Annie Girardot Carola Standertskjöld Jimmy Hill Bayliss Levrett Alice Babs Otto Preminger Harold Wilson
Did you mean Annie Girardot ?
Annie Girardot
['Mervyn LeRoy', 'educated at', {'concept': 'university'}] ['Arlene Francis', 'educated at', {'concept': 'university'}] ['Sadie Tanner Mossell Alexander', 'educated at', {'concept': 'university'}] ['Annie Girardot', 'educated at', {'concept': 'university'}] ['Carola Standertskjöld', 'educated at', {'concept': 'university'}] ['Jimmy Hill', 'educated at', {'concept': 'university'}] ['Bayliss Levrett', 'educated at', {'concept': 'university'}] ['Alice Babs', 'educated at', {'concept': 'university'}] ['Otto Preminger', 'educated at', {'concept': 'university'}] ['Harold Wilson', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?j WHERE { resource:Sadie_Tanner_Mossell_Alexander property:educated_at ?j . ?j rdf:type ontology:university }
[]
Simple Question (Coreferenced)
USER
No, I meant Sadie Tanner Mossell Alexander. Could you tell me the answer for that?
(Q7397940,P69,c(Q3918))
Q7397940
['Q7397940', 'P69', {'concept': 'Q3918'}]
['Sadie Tanner Mossell Alexander', 'educated at', {'concept': 'university'}]
[]
Q7896088
SYSTEM
University of Pennsylvania Law School
Q7896088
(Q7397940,P69,c(Q3918))
action filter_type
action find
entity Q7397940
relation P69
type Q3918
[ANSWER] is that person an alumni of
['Q7397940', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?j WHERE { resource:Q7397940 property:P69 ?j . ?j rdf:type ontology:Q3918 }
University of Pennsylvania Law School
University of Pennsylvania Law School is that person an alumni of
University of Pennsylvania Law School
action filter_type
action find
entity Sadie Tanner Mossell Alexander
relation educated at
type university
['Sadie Tanner Mossell Alexander', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?j WHERE { resource:Sadie_Tanner_Mossell_Alexander property:educated_at ?j . ?j rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q235565
P40
Q502895
USER
Who is an offspring of Ma Barker ?
(Q235565,P40,c(Q502895))
action filter_type
action find
entity Q235565
relation P40
type Q502895
['Q235565', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q235565 property:P40 ?o . ?o rdf:type ontology:Q502895 }
Ma Barker
action filter_type
action find
entity Ma Barker
relation child
type common name
['Ma Barker', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Ma_Barker property:child ?o . ?o rdf:type ontology:common_name }
[]
common name
Q2864989
SYSTEM
Arthur Barker
Q2864989
(Q235565,P40,c(Q502895))
action filter_type
action find
entity Q235565
relation P40
type Q502895
An offspring of Ma Barker is called [ANSWER]
['Q235565', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q235565 property:P40 ?o . ?o rdf:type ontology:Q502895 }
Arthur Barker
An offspring of Ma Barker is called Arthur Barker
Arthur Barker
action filter_type
action find
entity Ma Barker
relation child
type common name
['Ma Barker', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Ma_Barker property:child ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5133200
Q502895
USER
And what about Clifton Daniel?
(Q5133200,P40,c(Q502895))
action filter_type
action find
entity Q5133200
relation P40
type Q502895
['Q5133200', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q5133200 property:P40 ?b }
Clifton Daniel
action filter_type
action find
entity Clifton Daniel
relation child
type common name
['Clifton Daniel', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Clifton_Daniel property:child ?b }
[]
common name
Q20771118
SYSTEM
Clifton Truman Daniel
Q20771118
(Q5133200,P40,c(Q502895))
action filter_type
action find
entity Q5133200
relation P40
type Q502895
[ANSWER]
['Q5133200', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q5133200 property:P40 ?b }
Clifton Truman Daniel
Clifton Truman Daniel
action filter_type
action find
entity Clifton Daniel
relation child
type common name
['Clifton Daniel', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Clifton_Daniel property:child ?b }
[]