Simple Question (Direct)
Simple Question
Q560754
P39
Q12737077
USER
What was the position for which Alfred Worm was appointed ?
(Q560754,P39,c(Q12737077))
action filter_type
action find
entity Q560754
relation P39
type Q12737077
['Q560754', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q560754 property:P39 ?r . ?r rdf:type ontology:Q12737077 }
Alfred Worm
action filter_type
action find
entity Alfred Worm
relation position held
type occupation
['Alfred Worm', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Alfred_Worm property:position_held ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q23711521
SYSTEM
Member of the regional parliament of Vienna
Q23711521
(Q560754,P39,c(Q12737077))
action filter_type
action find
entity Q560754
relation P39
type Q12737077
The [ANSWER]
['Q560754', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q560754 property:P39 ?r . ?r rdf:type ontology:Q12737077 }
Member of the regional parliament of Vienna
The Member of the regional parliament of Vienna
Member of the regional parliament of Vienna
action filter_type
action find
entity Alfred Worm
relation position held
type occupation
['Alfred Worm', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Alfred_Worm property:position_held ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q560754
P509
Q2057971
USER
What caused the death of Alfred Worm ?
(Q560754,P509,c(Q2057971))
action filter_type
action find
entity Q560754
relation P509
type Q2057971
['Q560754', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?w WHERE { resource:Q560754 property:P509 ?w . ?w rdf:type ontology:Q2057971 }
Alfred Worm
action filter_type
action find
entity Alfred Worm
relation cause of death
type health problem
['Alfred Worm', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?w WHERE { resource:Alfred_Worm property:cause_of_death ?w . ?w rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q560754,P509,c(Q2057971))
action filter_type
action find
entity Q560754
relation P509
type Q2057971
In [ANSWER] caused the death of Alfred Worm
['Q560754', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?w WHERE { resource:Q560754 property:P509 ?w . ?w rdf:type ontology:Q2057971 }
myocardial infarction
In myocardial infarction caused the death of Alfred Worm
myocardial infarction
action filter_type
action find
entity Alfred Worm
relation cause of death
type health problem
['Alfred Worm', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?w WHERE { resource:Alfred_Worm property:cause_of_death ?w . ?w rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q560754
P937
Q56061
USER
Where did Alfred Worm work ?
(Q560754,P937,c(Q56061))
action filter_type
action find
entity Q560754
relation P937
type Q56061
['Q560754', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q560754 property:P937 ?o }
Alfred Worm
action filter_type
action find
entity Alfred Worm
relation work location
type administrative territorial entity
['Alfred Worm', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Alfred_Worm property:work_location ?o }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q560754,P937,c(Q56061))
action filter_type
action find
entity Q560754
relation P937
type Q56061
Alfred Worm worked in [ANSWER]
['Q560754', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q560754 property:P937 ?o }
Vienna
Alfred Worm worked in Vienna
Vienna
action filter_type
action find
entity Alfred Worm
relation work location
type administrative territorial entity
['Alfred Worm', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Alfred_Worm property:work_location ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q560754
P1196
Q1931388
USER
What manner did that person die ?
(Q1741,P1196,c(Q1931388))
action filter_type
action find
entity Q560754
relation P1196
type Q1931388
['Q1741', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?g WHERE { resource:Q560754 property:P1196 ?g . ?g rdf:type ontology:Q1931388 }
Alfred Worm
action filter_type
action find
entity Alfred Worm
relation manner of death
type cause of death
['Vienna', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?g WHERE { resource:Alfred_Worm property:manner_of_death ?g . ?g rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q1741,P1196,c(Q1931388))
action filter_type
action find
entity Q560754
relation P1196
type Q1931388
That person died in [ANSWER]
['Q1741', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?g WHERE { resource:Q560754 property:P1196 ?g . ?g rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Alfred Worm
relation manner of death
type cause of death
['Vienna', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?g WHERE { resource:Alfred_Worm property:manner_of_death ?g . ?g rdf:type ontology:cause_of_death }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P689
Q25570959 Q15989253 Q2057971
USER
Which health problems can afflict max number of animal structures and parts ?
(c(Q2057971),P689,c(Q25570959)|c(Q15989253))
action argmax
action union
action find_tuple_counts
relation P689
type Q2057971
type Q25570959
action find_tuple_counts
relation P689
type Q2057971
type Q15989253
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q25570959'}, {'concept': 'Q15989253'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) ?l WHERE { { ?l property:P689 ?c . ?l rdf:type ontology:Q2057971 . ?c rdf:type ontology:Q25570959 } UNION { ?l property:P689 ?c . ?l rdf:type ontology:Q2057971 . ?c rdf:type ontology:Q15989253 } } GROUP BY ?l } . FILTER ( ?m = ?q ) . { SELECT DISTINCT ( MAX ( ?o ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?x WHERE { { ?x property:P689 ?t . ?x rdf:type ontology:Q2057971 . ?t rdf:type ontology:Q25570959 } UNION { ?x property:P689 ?t . ?x rdf:type ontology:Q2057971 . ?t rdf:type ontology:Q15989253 } } GROUP BY ?x } } }
action argmax
action union
action find_tuple_counts
relation afflicts
type health problem
type animal structure
action find_tuple_counts
relation afflicts
type health problem
type part
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'animal structure'}, {'concept': 'part'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) ?l WHERE { { ?l property:afflicts ?c . ?l rdf:type ontology:health_problem . ?c rdf:type ontology:animal_structure } UNION { ?l property:afflicts ?c . ?l rdf:type ontology:health_problem . ?c rdf:type ontology:part } } GROUP BY ?l } . FILTER ( ?m = ?q ) . { SELECT DISTINCT ( MAX ( ?o ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?x WHERE { { ?x property:afflicts ?t . ?x rdf:type ontology:health_problem . ?t rdf:type ontology:animal_structure } UNION { ?x property:afflicts ?t . ?x rdf:type ontology:health_problem . ?t rdf:type ontology:part } } GROUP BY ?x } } }
[]
animal structure part health problem
Q154869 Q504775 Q6853
SYSTEM
hepatitis C, urinary bladder cancer, hepatitis B
Q6996973 Q18211751 Q154869 Q5062122 Q16918477 Q944777 Q3055380 Q147778 Q857667 Q3339235 Q131742 Q6853 Q7314317 Q697117 Q3392853 Q929737 Q5518905 Q7578540 Q18555344 Q2661443 Q949302 Q190805 Q359892 Q18554589 Q504775 Q1542466 Q1545572 Q18554947 Q21128620 Q476921 Q1807522 Q4941552 Q5325633
(c(Q2057971),P689,c(Q25570959)|c(Q15989253))
action argmax
action union
action find_tuple_counts
relation P689
type Q2057971
type Q25570959
action find_tuple_counts
relation P689
type Q2057971
type Q15989253
[ANSWERS] can afflict max number of animal structures and parts
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q25570959'}, {'concept': 'Q15989253'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) ?l WHERE { { ?l property:P689 ?c . ?l rdf:type ontology:Q2057971 . ?c rdf:type ontology:Q25570959 } UNION { ?l property:P689 ?c . ?l rdf:type ontology:Q2057971 . ?c rdf:type ontology:Q15989253 } } GROUP BY ?l } . FILTER ( ?m = ?q ) . { SELECT DISTINCT ( MAX ( ?o ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?x WHERE { { ?x property:P689 ?t . ?x rdf:type ontology:Q2057971 . ?t rdf:type ontology:Q25570959 } UNION { ?x property:P689 ?t . ?x rdf:type ontology:Q2057971 . ?t rdf:type ontology:Q15989253 } } GROUP BY ?x } } }
nervous system disease vulvar disease hepatitis C central nervous system disease nervous system cancer endometrial cancer intestinal disease liver cirrhosis pulmonary edema nervous system disease hepatitis hepatitis B reproductive system disease Spinal disc herniation lung disease liver disease gallbladder disease splenic disease tracheal disease endocrine system disease skin disease heart disease salpingitis hepatic infarction urinary bladder cancer vulvitis splenic infarction fallopian tube disease spleen injury kidney failure vaginal cancer bone disease auditory system disease
Hepatitis C, urinary bladder cancer and hepatitis B can afflict max number of animal structures and parts
hepatitis C urinary bladder cancer hepatitis B
action argmax
action union
action find_tuple_counts
relation afflicts
type health problem
type animal structure
action find_tuple_counts
relation afflicts
type health problem
type part
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'animal structure'}, {'concept': 'part'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) ?l WHERE { { ?l property:afflicts ?c . ?l rdf:type ontology:health_problem . ?c rdf:type ontology:animal_structure } UNION { ?l property:afflicts ?c . ?l rdf:type ontology:health_problem . ?c rdf:type ontology:part } } GROUP BY ?l } . FILTER ( ?m = ?q ) . { SELECT DISTINCT ( MAX ( ?o ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?x WHERE { { ?x property:afflicts ?t . ?x rdf:type ontology:health_problem . ?t rdf:type ontology:animal_structure } UNION { ?x property:afflicts ?t . ?x rdf:type ontology:health_problem . ?t rdf:type ontology:part } } GROUP BY ?x } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q154869 Q504775 Q6853
P2176
Q8386
USER
Which drugs are used as a remedy for hepatitis C, urinary bladder cancer and hepatitis B ?
(Q154869,P2176,c(Q8386)) (Q504775,P2176,c(Q8386)) (Q6853,P2176,c(Q8386))
action union
action filter_type
action find
entity Q154869
relation P2176
type Q8386
action filter_type
action find
entity Q504775
relation P2176
type Q8386
action filter_type
action find
entity Q6853
relation P2176
type Q8386
['Q154869', 'P2176', {'concept': 'Q8386'}] ['Q504775', 'P2176', {'concept': 'Q8386'}] ['Q6853', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?n ) { ( resource:Q154869 ) ( resource:Q504775 ) } . ?n property:P2176 ?e }
hepatitis C urinary bladder cancer hepatitis B
action union
action filter_type
action find
entity hepatitis C
relation drug used for treatment
type drug
action filter_type
action find
entity urinary bladder cancer
relation drug used for treatment
type drug
action filter_type
action find
entity hepatitis B
relation drug used for treatment
type drug
['hepatitis C', 'drug used for treatment', {'concept': 'drug'}] ['urinary bladder cancer', 'drug used for treatment', {'concept': 'drug'}] ['hepatitis B', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?n ) { ( resource:hepatitis_C ) ( resource:urinary_bladder_cancer ) } . ?n property:drug_used_for_treatment ?e }
[]
drug
Q421052 Q139347 Q367700
SYSTEM
Everolimus, Cholecalciferol, Cyclosporine
Q422222 Q2450337 Q4567614 Q415264 Q7160789 Q420056 Q421862 Q367700 Q139347 Q421052 Q4391540 Q411648 Q424972 Q5104342 Q32089 Q412415 Q418817 Q417824 Q418666 Q7699074 Q19856779 Q408801 Q7912593 Q416507 Q471763 Q415588 Q407308 Q18936 Q420056 Q413621 Q418586 Q422631
(Q154869,P2176,c(Q8386)) (Q504775,P2176,c(Q8386)) (Q6853,P2176,c(Q8386))
action union
action filter_type
action find
entity Q154869
relation P2176
type Q8386
action filter_type
action find
entity Q504775
relation P2176
type Q8386
action filter_type
action find
entity Q6853
relation P2176
type Q8386
[ANSWERS] are used as a remedy for hepatitis C, urinary bladder cancer and hepatitis B
['Q154869', 'P2176', {'concept': 'Q8386'}] ['Q504775', 'P2176', {'concept': 'Q8386'}] ['Q6853', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?n ) { ( resource:Q154869 ) ( resource:Q504775 ) } . ?n property:P2176 ?e }
Digoxin Interferon beta-1a mycophenolate mofetil Infliximab Peginterferon alfa-2b Peginterferon alfa-2a ribavirin Cyclosporine Cholecalciferol Everolimus Interferon Alfa-2b, Recombinant tacrolimus prednisone Oxtriphylline Sirolimus cisplatin etoposide gefitinib tranexamic acid temsirolimus mitomycin C celecoxib Valrubicin thiotepa Aminophylline Carboplatin theophylline doxorubicin Peginterferon alfa-2a Telbivudine Entecavir Lamivudine
Everolimus, Cholecalciferol and Cyclosporine are used as a remedy for hepatitis C, urinary bladder cancer and hepatitis B
Everolimus Cholecalciferol Cyclosporine
action union
action filter_type
action find
entity hepatitis C
relation drug used for treatment
type drug
action filter_type
action find
entity urinary bladder cancer
relation drug used for treatment
type drug
action filter_type
action find
entity hepatitis B
relation drug used for treatment
type drug
['hepatitis C', 'drug used for treatment', {'concept': 'drug'}] ['urinary bladder cancer', 'drug used for treatment', {'concept': 'drug'}] ['hepatitis B', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?n ) { ( resource:hepatitis_C ) ( resource:urinary_bladder_cancer ) } . ?n property:drug_used_for_treatment ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1741
P138
Q746549
USER
Which dish is named after Vienna ?
(c(Q746549),P138,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P138
type Q746549
[{'concept': 'Q746549'}, 'P138', 'Q1741']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q1741 . ?l rdf:type ontology:Q746549 }
Vienna
action filter_type
action find_reverse
entity Vienna
relation named after
type dish
[{'concept': 'dish'}, 'named after', 'Vienna']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:Vienna . ?l rdf:type ontology:dish }
[]
dish
Q181055
SYSTEM
hot dog
Q181055
(c(Q746549),P138,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P138
type Q746549
In [ANSWER] is named after Vienna
[{'concept': 'Q746549'}, 'P138', 'Q1741']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q1741 . ?l rdf:type ontology:Q746549 }
hot dog
In hot dog is named after Vienna
hot dog
action filter_type
action find_reverse
entity Vienna
relation named after
type dish
[{'concept': 'dish'}, 'named after', 'Vienna']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:Vienna . ?l rdf:type ontology:dish }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q181055
P1056
Q4830453
USER
Who is the producer of that dish ?
(c(Q4830453),P1056,Q181055)
action filter_type
action find_reverse
entity Q181055
relation P1056
type Q4830453
[{'concept': 'Q4830453'}, 'P1056', 'Q181055']
SELECT DISTINCT ?o WHERE { ?o property:P1056 resource:Q181055 . ?o rdf:type ontology:Q4830453 }
hot dog
action filter_type
action find_reverse
entity hot dog
relation product
type business enterprise
[{'concept': 'business enterprise'}, 'product', 'hot dog']
SELECT DISTINCT ?o WHERE { ?o property:product resource:hot_dog . ?o rdf:type ontology:business_enterprise }
[]
business enterprise
Q177054
SYSTEM
Burger King
Q177054
(c(Q4830453),P1056,Q181055)
action filter_type
action find_reverse
entity Q181055
relation P1056
type Q4830453
The producer of that dish is the [ANSWER]
[{'concept': 'Q4830453'}, 'P1056', 'Q181055']
SELECT DISTINCT ?o WHERE { ?o property:P1056 resource:Q181055 . ?o rdf:type ontology:Q4830453 }
Burger King
The producer of that dish is the Burger King
Burger King
action filter_type
action find_reverse
entity hot dog
relation product
type business enterprise
[{'concept': 'business enterprise'}, 'product', 'hot dog']
SELECT DISTINCT ?o WHERE { ?o property:product resource:hot_dog . ?o rdf:type ontology:business_enterprise }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q2057971 Q191067 Q838948
USER
Which health problems were discussed in approximately 68 articles or works of art ?
(c(Q191067)|c(Q838948),P921,c(Q2057971))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q191067
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q838948
value 68
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q2057971'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?o WHERE { VALUES ( ?g ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } . ?i rdf:type ?g } GROUP BY ?o } . FILTER ( ?j = 68 ) }
action approx
action union
action find_reverse_tuple_counts
relation main subject
type health problem
type article
action find_reverse_tuple_counts
relation main subject
type health problem
type work of art
value 68
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'health problem'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?o WHERE { VALUES ( ?g ) { ( ontology:article ) ( ontology:work_of_art ) } . ?i rdf:type ?g } GROUP BY ?o } . FILTER ( ?j = 68 ) }
[]
health problem article work of art
Q38404 Q11072
SYSTEM
autism, amnestic disorder
Q38404 Q11072
(c(Q191067)|c(Q838948),P921,c(Q2057971))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q191067
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q838948
value 68
Art [ANSWERS] were discussed in approximately 68 articles or works of art
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q2057971'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?o WHERE { VALUES ( ?g ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } . ?i rdf:type ?g } GROUP BY ?o } . FILTER ( ?j = 68 ) }
autism amnestic disorder
Art autism and amnestic disorder were discussed in approximately 68 articles or works of art
autism amnestic disorder
action approx
action union
action find_reverse_tuple_counts
relation main subject
type health problem
type article
action find_reverse_tuple_counts
relation main subject
type health problem
type work of art
value 68
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'health problem'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?o WHERE { VALUES ( ?g ) { ( ontology:article ) ( ontology:work_of_art ) } . ?i rdf:type ?g } GROUP BY ?o } . FILTER ( ?j = 68 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q38404
P2293
Q863908
USER
Which nucleic acid sequences are herditarily associated with that health problem ?
(c(Q863908),P2293,Q38404)
action filter_type
action find
entity Q38404
relation P2293
type Q863908
[{'concept': 'Q863908'}, 'P2293', 'Q38404']
SELECT DISTINCT ?b WHERE { resource:Q38404 property:P2293 ?b . ?b rdf:type ontology:Q863908 }
autism
action filter_type
action find
entity autism
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'autism']
SELECT DISTINCT ?b WHERE { resource:autism property:genetic_association ?b . ?b rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Clarification for simple ques.
Q11072
SYSTEM
Did you mean amnestic disorder ?
Q38404 Q11072
(c(Q863908),P2293,Q38404) (c(Q863908),P2293,Q11072)
[ANSWER]
[{'concept': 'Q863908'}, 'P2293', 'Q38404'] [{'concept': 'Q863908'}, 'P2293', 'Q11072']
SELECT DISTINCT ?b WHERE { resource:Q38404 property:P2293 ?b . ?b rdf:type ontology:Q863908 }
autism amnestic disorder
Did you mean amnestic disorder ?
amnestic disorder
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'autism'] [{'concept': 'nucleic acid sequence'}, 'genetic association', 'amnestic disorder']
SELECT DISTINCT ?b WHERE { resource:autism property:genetic_association ?b . ?b rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
USER
No, I meant autism. Could you tell me the answer for that?
(c(Q863908),P2293,Q38404)
Q38404
[{'concept': 'Q863908'}, 'P2293', 'Q38404']
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'autism']
[]
Q18050946 Q18049302 Q18033732
SYSTEM
MACROD2, PARD3B, TAF1C
Q18050946 Q18030727 Q18049302 Q18033732
(c(Q863908),P2293,Q38404)
action filter_type
action find
entity Q38404
relation P2293
type Q863908
[ANSWERS] are herditarily associated with that health problem
[{'concept': 'Q863908'}, 'P2293', 'Q38404']
SELECT DISTINCT ?b WHERE { resource:Q38404 property:P2293 ?b . ?b rdf:type ontology:Q863908 }
MACROD2 PPP2R5C PARD3B TAF1C
MACROD2, PARD3B and TAF1C are herditarily associated with that health problem
MACROD2 PARD3B TAF1C
action filter_type
action find
entity autism
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'autism']
SELECT DISTINCT ?b WHERE { resource:autism property:genetic_association ?b . ?b rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q18050946 Q18049302 Q18033732
P684
Q863908
USER
Which nucleic acid sequences are an orthologous gene for MACROD2, PARD3B and TAF1C ?
(Q18050946,P684,c(Q863908)) (Q18049302,P684,c(Q863908)) (Q18033732,P684,c(Q863908))
action union
action filter_type
action find
entity Q18050946
relation P684
type Q863908
action filter_type
action find
entity Q18049302
relation P684
type Q863908
action filter_type
action find
entity Q18033732
relation P684
type Q863908
['Q18050946', 'P684', {'concept': 'Q863908'}] ['Q18049302', 'P684', {'concept': 'Q863908'}] ['Q18033732', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?y WHERE { { resource:Q18050946 property:P684 ?y . ?y rdf:type ontology:Q863908 } UNION { ?y rdf:type ontology:Q863908 . resource:Q18049302 property:P684 ?y } }
MACROD2 PARD3B TAF1C
action union
action filter_type
action find
entity MACROD2
relation ortholog
type nucleic acid sequence
action filter_type
action find
entity PARD3B
relation ortholog
type nucleic acid sequence
action filter_type
action find
entity TAF1C
relation ortholog
type nucleic acid sequence
['MACROD2', 'ortholog', {'concept': 'nucleic acid sequence'}] ['PARD3B', 'ortholog', {'concept': 'nucleic acid sequence'}] ['TAF1C', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?y WHERE { { resource:MACROD2 property:ortholog ?y . ?y rdf:type ontology:nucleic_acid_sequence } UNION { ?y rdf:type ontology:nucleic_acid_sequence . resource:PARD3B property:ortholog ?y } }
[]
nucleic acid sequence
Q18265710 Q18265672 Q18254785
SYSTEM
Macrod2, Pard3b, Taf1c
Q18265710 Q18265672 Q18254785
(Q18050946,P684,c(Q863908)) (Q18049302,P684,c(Q863908)) (Q18033732,P684,c(Q863908))
action union
action filter_type
action find
entity Q18050946
relation P684
type Q863908
action filter_type
action find
entity Q18049302
relation P684
type Q863908
action filter_type
action find
entity Q18033732
relation P684
type Q863908
[ANSWERS] are an orthologous gene for MACROD2, PARD3B and TAF1C
['Q18050946', 'P684', {'concept': 'Q863908'}] ['Q18049302', 'P684', {'concept': 'Q863908'}] ['Q18033732', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?y WHERE { { resource:Q18050946 property:P684 ?y . ?y rdf:type ontology:Q863908 } UNION { ?y rdf:type ontology:Q863908 . resource:Q18049302 property:P684 ?y } }
Macrod2 Pard3b Taf1c
Macrod2, Pard3b and Taf1c are an orthologous gene for MACROD2, PARD3B and TAF1C
Macrod2 Pard3b Taf1c
action union
action filter_type
action find
entity MACROD2
relation ortholog
type nucleic acid sequence
action filter_type
action find
entity PARD3B
relation ortholog
type nucleic acid sequence
action filter_type
action find
entity TAF1C
relation ortholog
type nucleic acid sequence
['MACROD2', 'ortholog', {'concept': 'nucleic acid sequence'}] ['PARD3B', 'ortholog', {'concept': 'nucleic acid sequence'}] ['TAF1C', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?y WHERE { { resource:MACROD2 property:ortholog ?y . ?y rdf:type ontology:nucleic_acid_sequence } UNION { ?y rdf:type ontology:nucleic_acid_sequence . resource:PARD3B property:ortholog ?y } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38404
P1050
Q502895
USER
Which people have the disease autism ?
(c(Q502895),P1050,Q38404)
action filter_type
action find_reverse
entity Q38404
relation P1050
type Q502895
[{'concept': 'Q502895'}, 'P1050', 'Q38404']
SELECT DISTINCT ?x WHERE { ?x property:P1050 resource:Q38404 . ?x rdf:type ontology:Q502895 }
autism
action filter_type
action find_reverse
entity autism
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'autism']
SELECT DISTINCT ?x WHERE { ?x property:medical_condition resource:autism . ?x rdf:type ontology:common_name }
[]
common name
Q232810 Q18655108 Q4306835
SYSTEM
Mary Temple Grandin, Birsen Basar, Tito Mukhopadhyay
Q18655108 Q4306835 Q7634270 Q232810
(c(Q502895),P1050,Q38404)
action filter_type
action find_reverse
entity Q38404
relation P1050
type Q502895
[ANSWERS] have the disease autism
[{'concept': 'Q502895'}, 'P1050', 'Q38404']
SELECT DISTINCT ?x WHERE { ?x property:P1050 resource:Q38404 . ?x rdf:type ontology:Q502895 }
Birsen Basar Tito Mukhopadhyay Sue Rubin Mary Temple Grandin
Mary Temple Grandin, Birsen Basar and Tito Mukhopadhyay have the disease autism
Mary Temple Grandin Birsen Basar Tito Mukhopadhyay
action filter_type
action find_reverse
entity autism
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'autism']
SELECT DISTINCT ?x WHERE { ?x property:medical_condition resource:autism . ?x rdf:type ontology:common_name }
[]