Simple Question (Direct)
Simple Question
Q23064099
P702
Q863908
USER
What encodes endoflagellar filament core protein    LA_2418 ?
(Q23064099,P702,c(Q863908))
action filter_type
action find
entity Q23064099
relation P702
type Q863908
['Q23064099', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q863908 . resource:Q23064099 property:P702 ?x }
endoflagellar filament core protein    LA_2418
action filter_type
action find
entity endoflagellar filament core protein    LA_2418
relation encoded by
type nucleic acid sequence
['endoflagellar filament core protein    LA_2418', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:nucleic_acid_sequence . resource:endoflagellar_filament_core_protein____LA_2418 property:encoded_by ?x }
[]
nucleic acid sequence
Q23024862
SYSTEM
endoflagellar filament core protein    LA_2418
Q23024862
(Q23064099,P702,c(Q863908))
action filter_type
action find
entity Q23064099
relation P702
type Q863908
Endoflagellar filament core protein LA 2418 encodes endoflagellar filament core protein LA_2418
['Q23064099', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q863908 . resource:Q23064099 property:P702 ?x }
endoflagellar filament core protein    LA_2418
Endoflagellar filament core protein LA 2418 encodes endoflagellar filament core protein LA_2418
endoflagellar filament core protein    LA_2418
action filter_type
action find
entity endoflagellar filament core protein    LA_2418
relation encoded by
type nucleic acid sequence
['endoflagellar filament core protein    LA_2418', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:nucleic_acid_sequence . resource:endoflagellar_filament_core_protein____LA_2418 property:encoded_by ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23064099
P688
Q863908
USER
Which nucleic acid sequence encodes endoflagellar filament core protein    LA_2418 ?
(c(Q863908),P688,Q23064099)
action filter_type
action find_reverse
entity Q23064099
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q23064099']
SELECT DISTINCT ?f WHERE { ?f property:P688 resource:Q23064099 . ?f rdf:type ontology:Q863908 }
endoflagellar filament core protein    LA_2418
action filter_type
action find_reverse
entity endoflagellar filament core protein    LA_2418
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'endoflagellar filament core protein    LA_2418']
SELECT DISTINCT ?f WHERE { ?f property:encodes resource:endoflagellar_filament_core_protein____LA_2418 . ?f rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23024862
SYSTEM
endoflagellar filament core protein    LA_2418
Q23024862
(c(Q863908),P688,Q23064099)
action filter_type
action find_reverse
entity Q23064099
relation P688
type Q863908
Endoflagellar filament core protein LA 2418 encodes endoflagellar filament core protein LA_2418
[{'concept': 'Q863908'}, 'P688', 'Q23064099']
SELECT DISTINCT ?f WHERE { ?f property:P688 resource:Q23064099 . ?f rdf:type ontology:Q863908 }
endoflagellar filament core protein    LA_2418
Endoflagellar filament core protein LA 2418 encodes endoflagellar filament core protein LA_2418
endoflagellar filament core protein    LA_2418
action filter_type
action find_reverse
entity endoflagellar filament core protein    LA_2418
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'endoflagellar filament core protein    LA_2418']
SELECT DISTINCT ?f WHERE { ?f property:encodes resource:endoflagellar_filament_core_protein____LA_2418 . ?f rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23064099
P681
Q45948
USER
Which organelle is a component of endoflagellar filament core protein    LA_2418 ?
(Q23064099,P681,c(Q45948))
action filter_type
action find
entity Q23064099
relation P681
type Q45948
['Q23064099', 'P681', {'concept': 'Q45948'}]
SELECT DISTINCT ?t WHERE { resource:Q23064099 property:P681 ?t . ?t rdf:type ontology:Q45948 }
endoflagellar filament core protein    LA_2418
action filter_type
action find
entity endoflagellar filament core protein    LA_2418
relation cell component
type organelle
['endoflagellar filament core protein    LA_2418', 'cell component', {'concept': 'organelle'}]
SELECT DISTINCT ?t WHERE { resource:endoflagellar_filament_core_protein____LA_2418 property:cell_component ?t . ?t rdf:type ontology:organelle }
[]
organelle
Q21198965
SYSTEM
bacterial-type flagellum
Q21198965
(Q23064099,P681,c(Q45948))
action filter_type
action find
entity Q23064099
relation P681
type Q45948
The [ANSWER] is a component of endoflagellar filament core protein LA_2418
['Q23064099', 'P681', {'concept': 'Q45948'}]
SELECT DISTINCT ?t WHERE { resource:Q23064099 property:P681 ?t . ?t rdf:type ontology:Q45948 }
bacterial-type flagellum
The bacterial-type flagellum is a component of endoflagellar filament core protein LA_2418
bacterial-type flagellum
action filter_type
action find
entity endoflagellar filament core protein    LA_2418
relation cell component
type organelle
['endoflagellar filament core protein    LA_2418', 'cell component', {'concept': 'organelle'}]
SELECT DISTINCT ?t WHERE { resource:endoflagellar_filament_core_protein____LA_2418 property:cell_component ?t . ?t rdf:type ontology:organelle }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21198965 Q24227058
P681
Q181394
USER
Does fliF    blr6999 have that organelle as cell component ?
(Q24227058,P681,Q21198965)
action is_in
entity Q21198965
action find
entity Q24227058
relation P681
['Q24227058', 'P681', 'Q21198965']
ASK WHERE { resource:Q24227058 property:P681 resource:Q21198965 }
bacterial-type flagellum fliF    blr6999
action is_in
entity bacterial-type flagellum
action find
entity fliF    blr6999
relation cell component
['fliF    blr6999', 'cell component', 'bacterial-type flagellum']
ASK WHERE { resource:fliF____blr6999 property:cell_component resource:bacterial-type_flagellum }
[]
nutrient
SYSTEM
YES
(Q24227058,P681,Q21198965)
action is_in
entity Q21198965
action find
entity Q24227058
relation P681
[ANSWER]
['Q24227058', 'P681', 'Q21198965']
ASK WHERE { resource:Q24227058 property:P681 resource:Q21198965 }
Yes
action is_in
entity bacterial-type flagellum
action find
entity fliF    blr6999
relation cell component
['fliF    blr6999', 'cell component', 'bacterial-type flagellum']
ASK WHERE { resource:fliF____blr6999 property:cell_component resource:bacterial-type_flagellum }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21198965
P361
Q5058355
USER
Which cellular component is a component of that organelle ?
action filter_type
action find_reverse
entity Q21198965
relation P361
type Q5058355
SELECT DISTINCT ?m WHERE { ?m property:P361 resource:Q21198965 . ?m rdf:type ontology:Q5058355 }
bacterial-type flagellum
action filter_type
action find_reverse
entity bacterial-type flagellum
relation part of
type cellular component
SELECT DISTINCT ?m WHERE { ?m property:part_of resource:bacterial-type_flagellum . ?m rdf:type ontology:cellular_component }
[]
cellular component
Q22329467
SYSTEM
bacterial-type flagellum part
Q22329467
action filter_type
action find_reverse
entity Q21198965
relation P361
type Q5058355
The [ANSWER] is a component of that organelle
SELECT DISTINCT ?m WHERE { ?m property:P361 resource:Q21198965 . ?m rdf:type ontology:Q5058355 }
bacterial-type flagellum part
The bacterial-type flagellum part is a component of that organelle
bacterial-type flagellum part
action filter_type
action find_reverse
entity bacterial-type flagellum
relation part of
type cellular component
SELECT DISTINCT ?m WHERE { ?m property:part_of resource:bacterial-type_flagellum . ?m rdf:type ontology:cellular_component }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23024862
P703
Q631147
USER
Which taxon is endoflagellar filament core protein    LA_2418 a part of ?
(Q23024862,P703,c(Q631147))
action filter_type
action find
entity Q23024862
relation P703
type Q631147
['Q23024862', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?d WHERE { resource:Q23024862 property:P703 ?d . ?d rdf:type ontology:Q631147 }
endoflagellar filament core protein    LA_2418
action filter_type
action find
entity endoflagellar filament core protein    LA_2418
relation found in taxon
type infraspecific name
['endoflagellar filament core protein    LA_2418', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?d WHERE { resource:endoflagellar_filament_core_protein____LA_2418 property:found_in_taxon ?d . ?d rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21065229
SYSTEM
Leptospira interrogans serovar Lai str. 56601
Q21065229
(Q23024862,P703,c(Q631147))
action filter_type
action find
entity Q23024862
relation P703
type Q631147
[ANSWER] is endoflagellar filament core protein LA_2418 a part of
['Q23024862', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?d WHERE { resource:Q23024862 property:P703 ?d . ?d rdf:type ontology:Q631147 }
Leptospira interrogans serovar Lai str. 56601
Leptospira interrogans serovar Lai str. 56601 is endoflagellar filament core protein LA_2418 a part of
Leptospira interrogans serovar Lai str. 56601
action filter_type
action find
entity endoflagellar filament core protein    LA_2418
relation found in taxon
type infraspecific name
['endoflagellar filament core protein    LA_2418', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?d WHERE { resource:endoflagellar_filament_core_protein____LA_2418 property:found_in_taxon ?d . ?d rdf:type ontology:infraspecific_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21065229
P828
Q2057971
USER
What does that infraspecific name cause ?
(c(Q2057971),P828,Q21065229)
action filter_type
action find_reverse
entity Q21065229
relation P828
type Q2057971
[{'concept': 'Q2057971'}, 'P828', 'Q21065229']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2057971 . ?l property:P828 resource:Q21065229 }
Leptospira interrogans serovar Lai str. 56601
action filter_type
action find_reverse
entity Leptospira interrogans serovar Lai str. 56601
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', 'Leptospira interrogans serovar Lai str. 56601']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:health_problem . ?l property:has_cause resource:Leptospira_interrogans_serovar_Lai_str._56601 }
[]
health problem
Q155098
SYSTEM
leptospirosis
Q155098
(c(Q2057971),P828,Q21065229)
action filter_type
action find_reverse
entity Q21065229
relation P828
type Q2057971
That infraspecific name causes [ANSWER]
[{'concept': 'Q2057971'}, 'P828', 'Q21065229']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2057971 . ?l property:P828 resource:Q21065229 }
leptospirosis
That infraspecific name causes leptospirosis
leptospirosis
action filter_type
action find_reverse
entity Leptospira interrogans serovar Lai str. 56601
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', 'Leptospira interrogans serovar Lai str. 56601']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:health_problem . ?l property:has_cause resource:Leptospira_interrogans_serovar_Lai_str._56601 }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1115038
Q2057971
USER
And what about runny nose?
(Q1115038,P828,c(Q2057971))
action filter_type
action find
entity Q1115038
relation P828
type Q2057971
['Q1115038', 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?m WHERE { resource:Q1115038 property:P828 ?m . ?m rdf:type ontology:Q2057971 }
runny nose
action filter_type
action find
entity runny nose
relation has cause
type health problem
['runny nose', 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?m WHERE { resource:runny_nose property:has_cause ?m . ?m rdf:type ontology:health_problem }
[]
health problem
Q42982 Q2840 Q12125
SYSTEM
type I hypersensitivity, influenza, common cold
Q42982 Q2840 Q12125
(Q1115038,P828,c(Q2057971))
action filter_type
action find
entity Q1115038
relation P828
type Q2057971
[ANSWERS]
['Q1115038', 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?m WHERE { resource:Q1115038 property:P828 ?m . ?m rdf:type ontology:Q2057971 }
type I hypersensitivity influenza common cold
type I hypersensitivity influenza common cold
action filter_type
action find
entity runny nose
relation has cause
type health problem
['runny nose', 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?m WHERE { resource:runny_nose property:has_cause ?m . ?m rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q42982 Q2840 Q12125
P1995
Q1047113
USER
Which special fields are the medical expertise concerned with type I hypersensitivity, influenza and common cold ?
(Q42982,P1995,c(Q1047113)) (Q2840,P1995,c(Q1047113)) (Q12125,P1995,c(Q1047113))
action union
action filter_type
action find
entity Q42982
relation P1995
type Q1047113
action filter_type
action find
entity Q2840
relation P1995
type Q1047113
action filter_type
action find
entity Q12125
relation P1995
type Q1047113
['Q42982', 'P1995', {'concept': 'Q1047113'}] ['Q2840', 'P1995', {'concept': 'Q1047113'}] ['Q12125', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?u WHERE { { resource:Q42982 property:P1995 ?u . ?u rdf:type ontology:Q1047113 } UNION { resource:Q2840 property:P1995 ?u . ?u rdf:type ontology:Q1047113 } }
type I hypersensitivity influenza common cold
action union
action filter_type
action find
entity type I hypersensitivity
relation medical specialty
type special field
action filter_type
action find
entity influenza
relation medical specialty
type special field
action filter_type
action find
entity common cold
relation medical specialty
type special field
['type I hypersensitivity', 'medical specialty', {'concept': 'special field'}] ['influenza', 'medical specialty', {'concept': 'special field'}] ['common cold', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?u WHERE { { resource:type_I_hypersensitivity property:medical_specialty ?u . ?u rdf:type ontology:special_field } UNION { resource:influenza property:medical_specialty ?u . ?u rdf:type ontology:special_field } }
[]
special field
Q203337 Q2861470 Q6451760
SYSTEM
pulmonology, emergency medicine, family medicine
Q2861470 Q6451760 Q203337 Q6451760
(Q42982,P1995,c(Q1047113)) (Q2840,P1995,c(Q1047113)) (Q12125,P1995,c(Q1047113))
action union
action filter_type
action find
entity Q42982
relation P1995
type Q1047113
action filter_type
action find
entity Q2840
relation P1995
type Q1047113
action filter_type
action find
entity Q12125
relation P1995
type Q1047113
[ANSWERS] are the medical expertise concerned with type I hypersensitivity, influenza and common cold
['Q42982', 'P1995', {'concept': 'Q1047113'}] ['Q2840', 'P1995', {'concept': 'Q1047113'}] ['Q12125', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?u WHERE { { resource:Q42982 property:P1995 ?u . ?u rdf:type ontology:Q1047113 } UNION { resource:Q2840 property:P1995 ?u . ?u rdf:type ontology:Q1047113 } }
emergency medicine family medicine pulmonology family medicine
Pulmonology, emergency medicine and family medicine are the medical expertise concerned with type I hypersensitivity, influenza and common cold
pulmonology emergency medicine family medicine
action union
action filter_type
action find
entity type I hypersensitivity
relation medical specialty
type special field
action filter_type
action find
entity influenza
relation medical specialty
type special field
action filter_type
action find
entity common cold
relation medical specialty
type special field
['type I hypersensitivity', 'medical specialty', {'concept': 'special field'}] ['influenza', 'medical specialty', {'concept': 'special field'}] ['common cold', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?u WHERE { { resource:type_I_hypersensitivity property:medical_specialty ?u . ?u rdf:type ontology:special_field } UNION { resource:influenza property:medical_specialty ?u . ?u rdf:type ontology:special_field } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q203337
P425
Q12737077
USER
Which occupation does that special field belong to ?
(c(Q12737077),P425,Q203337)
action filter_type
action find_reverse
entity Q203337
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q203337']
SELECT DISTINCT ?r WHERE { ?r property:P425 resource:Q203337 . ?r rdf:type ontology:Q12737077 }
pulmonology
action filter_type
action find_reverse
entity pulmonology
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'pulmonology']
SELECT DISTINCT ?r WHERE { ?r property:field_of_this_occupation resource:pulmonology . ?r rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q6451760
SYSTEM
Did you mean family medicine ?
Q203337 Q2861470 Q6451760
(c(Q12737077),P425,Q203337) (c(Q12737077),P425,Q2861470) (c(Q12737077),P425,Q6451760)
[ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q203337'] [{'concept': 'Q12737077'}, 'P425', 'Q2861470'] [{'concept': 'Q12737077'}, 'P425', 'Q6451760']
SELECT DISTINCT ?r WHERE { ?r property:P425 resource:Q203337 . ?r rdf:type ontology:Q12737077 }
pulmonology emergency medicine family medicine
Did you mean family medicine ?
family medicine
[{'concept': 'occupation'}, 'field of this occupation', 'pulmonology'] [{'concept': 'occupation'}, 'field of this occupation', 'emergency medicine'] [{'concept': 'occupation'}, 'field of this occupation', 'family medicine']
SELECT DISTINCT ?r WHERE { ?r property:field_of_this_occupation resource:pulmonology . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant pulmonology. Could you tell me the answer for that?
(c(Q12737077),P425,Q203337)
Q203337
[{'concept': 'Q12737077'}, 'P425', 'Q203337']
[{'concept': 'occupation'}, 'field of this occupation', 'pulmonology']
[]
Q24017632
SYSTEM
pulmonologist
Q24017632
(c(Q12737077),P425,Q203337)
action filter_type
action find_reverse
entity Q203337
relation P425
type Q12737077
That special field belongs to the [ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q203337']
SELECT DISTINCT ?r WHERE { ?r property:P425 resource:Q203337 . ?r rdf:type ontology:Q12737077 }
pulmonologist
That special field belongs to the pulmonologist
pulmonologist
action filter_type
action find_reverse
entity pulmonology
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'pulmonology']
SELECT DISTINCT ?r WHERE { ?r property:field_of_this_occupation resource:pulmonology . ?r rdf:type ontology:occupation }
[]