Simple Question (Direct)
Simple Question
Q14904874
P684
Q863908
USER
Which nucleic acid sequence is an orthologous gene for HLA-DRA ?
(Q14904874,P684,c(Q863908))
action filter_type
action find
entity Q14904874
relation P684
type Q863908
['Q14904874', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?x WHERE { resource:Q14904874 property:P684 ?x . ?x rdf:type ontology:Q863908 }
HLA-DRA
action filter_type
action find
entity HLA-DRA
relation ortholog
type nucleic acid sequence
['HLA-DRA', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?x WHERE { resource:HLA-DRA property:ortholog ?x . ?x rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q14904875
SYSTEM
H2-Ea-ps
Q14904875
(Q14904874,P684,c(Q863908))
action filter_type
action find
entity Q14904874
relation P684
type Q863908
[ANSWER] is an orthologous gene for HLA-DRA
['Q14904874', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?x WHERE { resource:Q14904874 property:P684 ?x . ?x rdf:type ontology:Q863908 }
H2-Ea-ps
H2-Ea-ps is an orthologous gene for HLA-DRA
H2-Ea-ps
action filter_type
action find
entity HLA-DRA
relation ortholog
type nucleic acid sequence
['HLA-DRA', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?x WHERE { resource:HLA-DRA property:ortholog ?x . ?x rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14904875
P688
Q181394
USER
What are encoded by that nucleic acid sequence ?
(Q14904875,P688,c(Q181394))
action filter_type
action find
entity Q14904875
relation P688
type Q181394
['Q14904875', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?r WHERE { resource:Q14904875 property:P688 ?r . ?r rdf:type ontology:Q181394 }
H2-Ea-ps
action filter_type
action find
entity H2-Ea-ps
relation encodes
type nutrient
['H2-Ea-ps', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?r WHERE { resource:H2-Ea-ps property:encodes ?r . ?r rdf:type ontology:nutrient }
[]
nutrient
Q14904876 Q21425781
SYSTEM
H-2 class II histocompatibility antigen, E-U alpha chain, H-2 class II histocompatibility antigen, E-D alpha chain
Q14904876 Q21425781
(Q14904875,P688,c(Q181394))
action filter_type
action find
entity Q14904875
relation P688
type Q181394
[ANSWERS]
['Q14904875', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?r WHERE { resource:Q14904875 property:P688 ?r . ?r rdf:type ontology:Q181394 }
H-2 class II histocompatibility antigen, E-U alpha chain H-2 class II histocompatibility antigen, E-D alpha chain
H-2 class II histocompatibility antigen, E-U alpha chain and H-2 class II histocompatibility antigen, E-D alpha chain are encoded by that nucleic acid sequence
H-2 class II histocompatibility antigen, E-U alpha chain H-2 class II histocompatibility antigen, E-D alpha chain
action filter_type
action find
entity H2-Ea-ps
relation encodes
type nutrient
['H2-Ea-ps', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?r WHERE { resource:H2-Ea-ps property:encodes ?r . ?r rdf:type ontology:nutrient }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q20801434
P688
Q863908
USER
Does LOC105374865 encode those nutrients ?
(Q20801434,P688,Q14904876) (Q20801434,P688,Q21425781)
action is_in
entity prev_answer
action find
entity Q20801434
relation P688
['Q20801434', 'P688', 'Q14904876'] ['Q20801434', 'P688', 'Q21425781']
ASK WHERE { VALUES ( ?j ) { ( resource:Q14904876 ) ( resource:Q21425781 ) } . resource:Q20801434 property:P688 ?j }
LOC105374865
action is_in
entity prev_answer
action find
entity LOC105374865
relation encodes
['LOC105374865', 'encodes', 'H-2 class II histocompatibility antigen, E-U alpha chain'] ['LOC105374865', 'encodes', 'H-2 class II histocompatibility antigen, E-D alpha chain']
ASK WHERE { VALUES ( ?j ) { ( resource:H-2_class_II_histocompatibility_antigen,_E-U_alpha_chain ) ( resource:H-2_class_II_histocompatibility_antigen,_E-D_alpha_chain ) } . resource:LOC105374865 property:encodes ?j }
[]
nucleic acid sequence
SYSTEM
NO
(Q20801434,P688,Q14904876) (Q20801434,P688,Q21425781)
action is_in
entity prev_answer
action find
entity Q20801434
relation P688
[ANSWER]
['Q20801434', 'P688', 'Q14904876'] ['Q20801434', 'P688', 'Q21425781']
ASK WHERE { VALUES ( ?j ) { ( resource:Q14904876 ) ( resource:Q21425781 ) } . resource:Q20801434 property:P688 ?j }
No
action is_in
entity prev_answer
action find
entity LOC105374865
relation encodes
['LOC105374865', 'encodes', 'H-2 class II histocompatibility antigen, E-U alpha chain'] ['LOC105374865', 'encodes', 'H-2 class II histocompatibility antigen, E-D alpha chain']
ASK WHERE { VALUES ( ?j ) { ( resource:H-2_class_II_histocompatibility_antigen,_E-U_alpha_chain ) ( resource:H-2_class_II_histocompatibility_antigen,_E-D_alpha_chain ) } . resource:LOC105374865 property:encodes ?j }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q14904874 Q794026 Q8277
P2293
Q2057971
USER
Is HLA-DRA herditarily associated with Azoospermia and multiple sclerosis ?
(Q14904874,P2293,Q794026) (Q14904874,P2293,Q8277)
action is_in
entity Q14904874
action intersection
action find_reverse
entity Q794026
relation P2293
action find_reverse
entity Q8277
relation P2293
['Q14904874', 'P2293', 'Q794026'] ['Q14904874', 'P2293', 'Q8277']
ASK WHERE { resource:Q14904874 property:P2293 resource:Q794026 . resource:Q14904874 property:P2293 resource:Q8277 }
HLA-DRA Azoospermia multiple sclerosis
action is_in
entity HLA-DRA
action intersection
action find_reverse
entity Azoospermia
relation genetic association
action find_reverse
entity multiple sclerosis
relation genetic association
['HLA-DRA', 'genetic association', 'Azoospermia'] ['HLA-DRA', 'genetic association', 'multiple sclerosis']
ASK WHERE { resource:HLA-DRA property:genetic_association resource:Azoospermia . resource:HLA-DRA property:genetic_association resource:multiple_sclerosis }
[]
health problem
SYSTEM
YES
(Q14904874,P2293,Q794026) (Q14904874,P2293,Q8277)
action is_in
entity Q14904874
action intersection
action find_reverse
entity Q794026
relation P2293
action find_reverse
entity Q8277
relation P2293
[ANSWER]
['Q14904874', 'P2293', 'Q794026'] ['Q14904874', 'P2293', 'Q8277']
ASK WHERE { resource:Q14904874 property:P2293 resource:Q794026 . resource:Q14904874 property:P2293 resource:Q8277 }
Yes
action is_in
entity HLA-DRA
action intersection
action find_reverse
entity Azoospermia
relation genetic association
action find_reverse
entity multiple sclerosis
relation genetic association
['HLA-DRA', 'genetic association', 'Azoospermia'] ['HLA-DRA', 'genetic association', 'multiple sclerosis']
ASK WHERE { resource:HLA-DRA property:genetic_association resource:Azoospermia . resource:HLA-DRA property:genetic_association resource:multiple_sclerosis }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18266765 Q14904875
P684
Q863908
USER
Which nucleic acid sequences are an otrhologus genes for H2-Ea-ps or Hyal5 ?
OR((Q14904875,P684,c(Q863908)), (Q18266765,P684,c(Q863908)))
action filter_type
action union
action find
entity Q14904875
relation P684
action find
entity Q18266765
relation P684
type Q863908
{'OR': [['Q14904875', 'P684', {'concept': 'Q863908'}], ['Q18266765', 'P684', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?w ) { ( resource:Q14904875 ) ( resource:Q18266765 ) } . ?w property:P684 ?n } . ?n rdf:type ontology:Q863908 }
Hyal5 H2-Ea-ps
action filter_type
action union
action find
entity H2-Ea-ps
relation ortholog
action find
entity Hyal5
relation ortholog
type nucleic acid sequence
{'OR': [['H2-Ea-ps', 'ortholog', {'concept': 'nucleic acid sequence'}], ['Hyal5', 'ortholog', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?w ) { ( resource:H2-Ea-ps ) ( resource:Hyal5 ) } . ?w property:ortholog ?n } . ?n rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q14904874 Q18031663
SYSTEM
HLA-DRA, SPAM1
Q14904874 Q18031663
OR((Q14904875,P684,c(Q863908)), (Q18266765,P684,c(Q863908)))
action filter_type
action union
action find
entity Q14904875
relation P684
action find
entity Q18266765
relation P684
type Q863908
[ANSWERS] are an otrhologus genes for H2-Ea-ps or Hyal5
{'OR': [['Q14904875', 'P684', {'concept': 'Q863908'}], ['Q18266765', 'P684', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?w ) { ( resource:Q14904875 ) ( resource:Q18266765 ) } . ?w property:P684 ?n } . ?n rdf:type ontology:Q863908 }
HLA-DRA SPAM1
HLA-DRA and SPAM1 are an otrhologus genes for H2-Ea-ps or Hyal5
HLA-DRA SPAM1
action filter_type
action union
action find
entity H2-Ea-ps
relation ortholog
action find
entity Hyal5
relation ortholog
type nucleic acid sequence
{'OR': [['H2-Ea-ps', 'ortholog', {'concept': 'nucleic acid sequence'}], ['Hyal5', 'ortholog', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?w ) { ( resource:H2-Ea-ps ) ( resource:Hyal5 ) } . ?w property:ortholog ?n } . ?n rdf:type ontology:nucleic_acid_sequence }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q8277
P509 P21
Q502895
USER
Which people had multiple sclerosis as the reason for fatality and have the gender as male ?
AND((c(Q502895),P509,Q8277), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q8277
relation P509
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P509', 'Q8277'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P509 resource:Q8277 . ?u property:P21 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
male multiple sclerosis
action filter_type
action intersection
action find_reverse
entity multiple sclerosis
relation cause of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'cause of death', 'multiple sclerosis'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:cause_of_death resource:multiple_sclerosis . ?u property:gender resource:male . ?u rdf:type ontology:common_name }
[]
common name
Q902527 Q18718676 Q2394411 Q5342677 Q714586 Q16017600 Q354174 Q368455 Q7704120 Q5240349
SYSTEM
Some of them are Dave Balon, Bobby Carter, Anthony Milner, Edward Dutkiewicz, Carlos Hathcock, Paris Theodore, Clive Burr, Yury Tynyanov, Terry Black, David Thomas
Q18718676 Q354174 Q354197 Q7328549 Q8068670 Q5543946 Q7789231 Q714586 Q2394411 Q115769 Q726100 Q902527 Q4980004 Q708236 Q68701 Q20031245 Q571938 Q1379856 Q2214198 Q187966 Q5321897 Q965098 Q3167093 Q294912 Q5240349 Q16015324 Q697373 Q7704120 Q368455 Q4931855 Q723666 Q16017600 Q391236 Q4886491 Q15431534 Q3334907 Q464281 Q312264 Q5342677
AND((c(Q502895),P509,Q8277), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q8277
relation P509
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] had multiple sclerosis as the reason for fatality and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P509', 'Q8277'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P509 resource:Q8277 . ?u property:P21 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
Bobby Carter Clive Burr Jisaburō Ozawa Richard Queen Zeki Kuneralp George Roberts Thomas Eckersley Carlos Hathcock Anthony Milner Marcel Grossmann Jimmy McGriff Dave Balon Bryan Bush Ronnie Lane Hermann Becker-Freyseng Ray Kennedy Laza Ristovski Keith Roberts W. N. P. Barbellion Léon Foucault E. H. H. Green Jimmie Heuga Jean-Luc Boutté Richard Pryor David Thomas Larry Tucker Ernst Ocwirk Terry Black Yury Tynyanov Bob Blue Guido Crepax Paris Theodore Sydney Ayres Ben Sonnenberg Norman P. Barry Nadim Salem Augustus d'Este Captain Beefheart Edward Dutkiewicz
Dave Balon, Bobby Carter, Anthony Milner, Edward Dutkiewicz, Carlos Hathcock, Paris Theodore, Clive Burr, Yury Tynyanov, Terry Black and David Thomas had multiple sclerosis as the reason for fatality and have the gender as male
Dave Balon Bobby Carter Anthony Milner Edward Dutkiewicz Carlos Hathcock Paris Theodore Clive Burr Yury Tynyanov Terry Black David Thomas
action filter_type
action intersection
action find_reverse
entity multiple sclerosis
relation cause of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'cause of death', 'multiple sclerosis'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:cause_of_death resource:multiple_sclerosis . ?u property:gender resource:male . ?u rdf:type ontology:common_name }
[]