Simple Question (Direct)
Simple Question
Q21113133
P682
Q2996394
USER
Which biological processes are Myosin-9 involved in ?
(Q21113133,P682,c(Q2996394))
action filter_type
action find
entity Q21113133
relation P682
type Q2996394
['Q21113133', 'P682', {'concept': 'Q2996394'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2996394 . resource:Q21113133 property:P682 ?k }
Myosin-9
action filter_type
action find
entity Myosin-9
relation biological process
type biological process
['Myosin-9', 'biological process', {'concept': 'biological process'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:biological_process . resource:Myosin-9 property:biological_process ?k }
[]
biological process
Q14819471 Q187640
SYSTEM
leukocyte migration, cell adhesion
Q14819471 Q187640
(Q21113133,P682,c(Q2996394))
action filter_type
action find
entity Q21113133
relation P682
type Q2996394
Myosin-9 are in [ANSWERS]
['Q21113133', 'P682', {'concept': 'Q2996394'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2996394 . resource:Q21113133 property:P682 ?k }
leukocyte migration cell adhesion
Myosin-9 are in leukocyte migration and cell adhesion
leukocyte migration cell adhesion
action filter_type
action find
entity Myosin-9
relation biological process
type biological process
['Myosin-9', 'biological process', {'concept': 'biological process'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:biological_process . resource:Myosin-9 property:biological_process ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21113133
P688
Q863908
USER
Which nucleic acid sequence encodes Myosin-9 ?
(c(Q863908),P688,Q21113133)
action filter_type
action find_reverse
entity Q21113133
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21113133']
SELECT DISTINCT ?w WHERE { ?w property:P688 resource:Q21113133 . ?w rdf:type ontology:Q863908 }
Myosin-9
action filter_type
action find_reverse
entity Myosin-9
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Myosin-9']
SELECT DISTINCT ?w WHERE { ?w property:encodes resource:Myosin-9 . ?w rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18029747
SYSTEM
MYH9
Q18029747
(c(Q863908),P688,Q21113133)
action filter_type
action find_reverse
entity Q21113133
relation P688
type Q863908
[ANSWER] encodes Myosin-9
[{'concept': 'Q863908'}, 'P688', 'Q21113133']
SELECT DISTINCT ?w WHERE { ?w property:P688 resource:Q21113133 . ?w rdf:type ontology:Q863908 }
MYH9
MYH9 encodes Myosin-9
MYH9
action filter_type
action find_reverse
entity Myosin-9
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Myosin-9']
SELECT DISTINCT ?w WHERE { ?w property:encodes resource:Myosin-9 . ?w rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18029747
P684
Q863908
USER
Which nucleic acid sequence is that one an orthlogous gene of ?
(c(Q863908),P684,Q18029747)
action filter_type
action find
entity Q18029747
relation P684
type Q863908
[{'concept': 'Q863908'}, 'P684', 'Q18029747']
SELECT DISTINCT ?i WHERE { resource:Q18029747 property:P684 ?i . ?i rdf:type ontology:Q863908 }
MYH9
action filter_type
action find
entity MYH9
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'MYH9']
SELECT DISTINCT ?i WHERE { resource:MYH9 property:ortholog ?i . ?i rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18252527
SYSTEM
Myh9
Q18252527
(c(Q863908),P684,Q18029747)
action filter_type
action find
entity Q18029747
relation P684
type Q863908
[ANSWER] is that one an orthlogous gene of
[{'concept': 'Q863908'}, 'P684', 'Q18029747']
SELECT DISTINCT ?i WHERE { resource:Q18029747 property:P684 ?i . ?i rdf:type ontology:Q863908 }
Myh9
Myh9 is that one an orthlogous gene of
Myh9
action filter_type
action find
entity MYH9
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'MYH9']
SELECT DISTINCT ?i WHERE { resource:MYH9 property:ortholog ?i . ?i rdf:type ontology:nucleic_acid_sequence }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q18251473 Q18029747
P684
Q863908
USER
Or Jchain?
OR((c(Q863908),P684,Q18029747), (c(Q863908),P684,Q18251473))
action filter_type
action union
action find_reverse
entity Q18029747
relation P684
action find_reverse
entity Q18251473
relation P684
type Q863908
{'OR': [[{'concept': 'Q863908'}, 'P684', 'Q18029747'], [{'concept': 'Q863908'}, 'P684', 'Q18251473']]}
SELECT DISTINCT ?d WHERE { { { ?d property:P684 resource:Q18029747 } UNION { ?d property:P684 resource:Q18251473 } } . ?d rdf:type ontology:Q863908 }
Jchain MYH9
action filter_type
action union
action find_reverse
entity MYH9
relation ortholog
action find_reverse
entity Jchain
relation ortholog
type nucleic acid sequence
{'OR': [[{'concept': 'nucleic acid sequence'}, 'ortholog', 'MYH9'], [{'concept': 'nucleic acid sequence'}, 'ortholog', 'Jchain']]}
SELECT DISTINCT ?d WHERE { { { ?d property:ortholog resource:MYH9 } UNION { ?d property:ortholog resource:Jchain } } . ?d rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18252527 Q18027731
SYSTEM
Myh9, JCHAIN
Q18252527 Q18027731
OR((c(Q863908),P684,Q18029747), (c(Q863908),P684,Q18251473))
action filter_type
action union
action find_reverse
entity Q18029747
relation P684
action find_reverse
entity Q18251473
relation P684
type Q863908
[ANSWERS]
{'OR': [[{'concept': 'Q863908'}, 'P684', 'Q18029747'], [{'concept': 'Q863908'}, 'P684', 'Q18251473']]}
SELECT DISTINCT ?d WHERE { { { ?d property:P684 resource:Q18029747 } UNION { ?d property:P684 resource:Q18251473 } } . ?d rdf:type ontology:Q863908 }
Myh9 JCHAIN
Myh9 JCHAIN
action filter_type
action union
action find_reverse
entity MYH9
relation ortholog
action find_reverse
entity Jchain
relation ortholog
type nucleic acid sequence
{'OR': [[{'concept': 'nucleic acid sequence'}, 'ortholog', 'MYH9'], [{'concept': 'nucleic acid sequence'}, 'ortholog', 'Jchain']]}
SELECT DISTINCT ?d WHERE { { { ?d property:ortholog resource:MYH9 } UNION { ?d property:ortholog resource:Jchain } } . ?d rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q8386 Q181394
USER
Which nutrients communicates with exactly 22 nutrients or drugs ?
(c(Q181394),P129,c(Q181394)|c(Q8386))
action equal
action union
action find_tuple_counts
relation P129
type Q181394
type Q181394
action find_tuple_counts
relation P129
type Q181394
type Q8386
value 22
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q181394'}, {'concept': 'Q8386'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) ?s WHERE { { ?s property:P129 ?i . ?i rdf:type ontology:Q181394 . ?s rdf:type ontology:Q181394 } UNION { ?s property:P129 ?i . ?i rdf:type ontology:Q8386 . ?s rdf:type ontology:Q181394 } } GROUP BY ?s } . FILTER ( ?m = 22 ) }
action equal
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
value 22
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'nutrient'}, {'concept': 'drug'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) ?s WHERE { { ?s property:physically_interacts_with ?i . ?i rdf:type ontology:nutrient . ?s rdf:type ontology:nutrient } UNION { ?s property:physically_interacts_with ?i . ?i rdf:type ontology:drug . ?s rdf:type ontology:nutrient } } GROUP BY ?s } . FILTER ( ?m = 22 ) }
[]
nutrient drug nutrient
Q4639596 Q5123372 Q4734892
SYSTEM
5-hydroxytryptamine receptor 2B, Mu-type opioid receptor, Alpha-2A adrenergic receptor
Q5123372 Q4639596 Q4734884 Q4734892
(c(Q181394),P129,c(Q181394)|c(Q8386))
action equal
action union
action find_tuple_counts
relation P129
type Q181394
type Q181394
action find_tuple_counts
relation P129
type Q181394
type Q8386
value 22
[ANSWERS] communicate with exactly 22 nutrients or drugs
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q181394'}, {'concept': 'Q8386'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) ?s WHERE { { ?s property:P129 ?i . ?i rdf:type ontology:Q181394 . ?s rdf:type ontology:Q181394 } UNION { ?s property:P129 ?i . ?i rdf:type ontology:Q8386 . ?s rdf:type ontology:Q181394 } } GROUP BY ?s } . FILTER ( ?m = 22 ) }
Mu-type opioid receptor 5-hydroxytryptamine receptor 2B Alpha-1A adrenergic receptor Alpha-2A adrenergic receptor
5-hydroxytryptamine receptor 2B, Mu-type opioid receptor and Alpha-2A adrenergic receptor communicate with exactly 22 nutrients or drugs
5-hydroxytryptamine receptor 2B Mu-type opioid receptor Alpha-2A adrenergic receptor
action equal
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
value 22
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'nutrient'}, {'concept': 'drug'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) ?s WHERE { { ?s property:physically_interacts_with ?i . ?i rdf:type ontology:nutrient . ?s rdf:type ontology:nutrient } UNION { ?s property:physically_interacts_with ?i . ?i rdf:type ontology:drug . ?s rdf:type ontology:nutrient } } GROUP BY ?s } . FILTER ( ?m = 22 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P129
Q8386
USER
How many drugs do that nutrient interact with ?
(Q4734892,P129,c(Q8386))
['Q4734892', 'P129', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q4734892 property:P129 ?z . ?z rdf:type ontology:Q8386 }
['Alpha-2A adrenergic receptor', 'physically interacts with', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Alpha-2A_adrenergic_receptor property:physically_interacts_with ?z . ?z rdf:type ontology:drug }
[]
drug
Quantitative|Count|Single entity type|Clarification
Q5123372
SYSTEM
Did you mean Mu-type opioid receptor ?
(Q4639596,P129,c(Q8386)) (Q5123372,P129,c(Q8386)) (Q4734892,P129,c(Q8386))
[ANSWER]
['Q4639596', 'P129', {'concept': 'Q8386'}] ['Q5123372', 'P129', {'concept': 'Q8386'}] ['Q4734892', 'P129', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q4734892 property:P129 ?z . ?z rdf:type ontology:Q8386 }
Did you mean Mu-type opioid receptor ?
Mu-type opioid receptor
['5-hydroxytryptamine receptor 2B', 'physically interacts with', {'concept': 'drug'}] ['Mu-type opioid receptor', 'physically interacts with', {'concept': 'drug'}] ['Alpha-2A adrenergic receptor', 'physically interacts with', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Alpha-2A_adrenergic_receptor property:physically_interacts_with ?z . ?z rdf:type ontology:drug }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Alpha-2A adrenergic receptor. Could you tell me the answer for that?
(Q4734892,P129,c(Q8386))
Q4734892
['Q4734892', 'P129', {'concept': 'Q8386'}]
['Alpha-2A adrenergic receptor', 'physically interacts with', {'concept': 'drug'}]
[]
SYSTEM
22
Q424446 Q423308 Q407972 Q269111 Q577377 Q5613599 Q412221 Q417813 Q413772 Q412226 Q420360 Q421930 Q4781812 Q425296 Q7702355 Q415752 Q5613542 Q412133 Q132621 Q186242 Q416992 Q413581
(Q4734892,P129,c(Q8386))
[ANSWER]
['Q4734892', 'P129', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q4734892 property:P129 ?z . ?z rdf:type ontology:Q8386 }
lisuride cabergoline chlorpromazine apomorphine brimonidine guanfacine clonidine oxymetazoline Tolazoline yohimbine phentolamine mirtazapine apraclonidine prazosin terguride pergolide guanabenz dexmedetomidine (-)-adrenaline (-)-noradrenaline lurasidone bromocriptine
22
['Alpha-2A adrenergic receptor', 'physically interacts with', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Alpha-2A_adrenergic_receptor property:physically_interacts_with ?z . ?z rdf:type ontology:drug }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23118459 Q18029747
P702
Q181394
USER
Which nutrients are the gene that are encoded by MYH9 or recombination protein RecR    O3K_19130 ?
OR((c(Q181394),P702,Q18029747), (c(Q181394),P702,Q23118459))
action filter_type
action union
action find_reverse
entity Q18029747
relation P702
action find_reverse
entity Q23118459
relation P702
type Q181394
{'OR': [[{'concept': 'Q181394'}, 'P702', 'Q18029747'], [{'concept': 'Q181394'}, 'P702', 'Q23118459']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q181394 . { { ?r property:P702 resource:Q18029747 } UNION { ?r property:P702 resource:Q23118459 } } }
recombination protein RecR    O3K_19130 MYH9
action filter_type
action union
action find_reverse
entity MYH9
relation encoded by
action find_reverse
entity recombination protein RecR    O3K_19130
relation encoded by
type nutrient
{'OR': [[{'concept': 'nutrient'}, 'encoded by', 'MYH9'], [{'concept': 'nutrient'}, 'encoded by', 'recombination protein RecR    O3K_19130']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:nutrient . { { ?r property:encoded_by resource:MYH9 } UNION { ?r property:encoded_by resource:recombination_protein_RecR____O3K_19130 } } }
[]
nutrient
Q21141453 Q21142132 Q21148155 Q24281610 Q21113133
SYSTEM
MYH9 protein, Myosin, heavy polypeptide 9, non-muscle, isoform CRA_a, Myosin-9, recombination protein RecR    O3K_19130, Myosin-9
Q21141453 Q21142132 Q21148155 Q24281610 Q21113133
OR((c(Q181394),P702,Q18029747), (c(Q181394),P702,Q23118459))
action filter_type
action union
action find_reverse
entity Q18029747
relation P702
action find_reverse
entity Q23118459
relation P702
type Q181394
[ANSWERS]
{'OR': [[{'concept': 'Q181394'}, 'P702', 'Q18029747'], [{'concept': 'Q181394'}, 'P702', 'Q23118459']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q181394 . { { ?r property:P702 resource:Q18029747 } UNION { ?r property:P702 resource:Q23118459 } } }
MYH9 protein Myosin, heavy polypeptide 9, non-muscle, isoform CRA_a Myosin-9 recombination protein RecR    O3K_19130 Myosin-9
Myosin-9, recombination protein RecR O3K 19130 and Myosin-9 are the gene that are encoded by MYH9 or recombination protein RecR O3K_19130
MYH9 protein Myosin, heavy polypeptide 9, non-muscle, isoform CRA_a Myosin-9 recombination protein RecR    O3K_19130 Myosin-9
action filter_type
action union
action find_reverse
entity MYH9
relation encoded by
action find_reverse
entity recombination protein RecR    O3K_19130
relation encoded by
type nutrient
{'OR': [[{'concept': 'nutrient'}, 'encoded by', 'MYH9'], [{'concept': 'nutrient'}, 'encoded by', 'recombination protein RecR    O3K_19130']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:nutrient . { { ?r property:encoded_by resource:MYH9 } UNION { ?r property:encoded_by resource:recombination_protein_RecR____O3K_19130 } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23285605
P703
Q631147
USER
Where is hypothetical protein    SCO7381 found ?
(Q23285605,P703,c(Q631147))
action filter_type
action find
entity Q23285605
relation P703
type Q631147
['Q23285605', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?j WHERE { resource:Q23285605 property:P703 ?j . ?j rdf:type ontology:Q631147 }
hypothetical protein    SCO7381
action filter_type
action find
entity hypothetical protein    SCO7381
relation found in taxon
type infraspecific name
['hypothetical protein    SCO7381', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?j WHERE { resource:hypothetical_protein____SCO7381 property:found_in_taxon ?j . ?j rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102988
SYSTEM
Streptomyces coelicolor A3(2)
Q21102988
(Q23285605,P703,c(Q631147))
action filter_type
action find
entity Q23285605
relation P703
type Q631147
Hypothetical protein SCO7381 is found in [ANSWER]
['Q23285605', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?j WHERE { resource:Q23285605 property:P703 ?j . ?j rdf:type ontology:Q631147 }
Streptomyces coelicolor A3(2)
Hypothetical protein SCO7381 is found in Streptomyces coelicolor A3(2)
Streptomyces coelicolor A3(2)
action filter_type
action find
entity hypothetical protein    SCO7381
relation found in taxon
type infraspecific name
['hypothetical protein    SCO7381', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?j WHERE { resource:hypothetical_protein____SCO7381 property:found_in_taxon ?j . ?j rdf:type ontology:infraspecific_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4734894 Q4734892
P129
Q8386
USER
Which drugs can interact with Alpha-2A adrenergic receptor or Alpha-2B adrenergic receptor ?
OR((c(Q8386),P129,Q4734892), (c(Q8386),P129,Q4734894))
action filter_type
action union
action find_reverse
entity Q4734892
relation P129
action find_reverse
entity Q4734894
relation P129
type Q8386
{'OR': [[{'concept': 'Q8386'}, 'P129', 'Q4734892'], [{'concept': 'Q8386'}, 'P129', 'Q4734894']]}
SELECT DISTINCT ?o WHERE { { ?o property:P129 ?w . VALUES ( ?w ) { ( resource:Q4734892 ) ( resource:Q4734894 ) } } . ?o rdf:type ontology:Q8386 }
Alpha-2B adrenergic receptor Alpha-2A adrenergic receptor
action filter_type
action union
action find_reverse
entity Alpha-2A adrenergic receptor
relation physically interacts with
action find_reverse
entity Alpha-2B adrenergic receptor
relation physically interacts with
type drug
{'OR': [[{'concept': 'drug'}, 'physically interacts with', 'Alpha-2A adrenergic receptor'], [{'concept': 'drug'}, 'physically interacts with', 'Alpha-2B adrenergic receptor']]}
SELECT DISTINCT ?o WHERE { { ?o property:physically_interacts_with ?w . VALUES ( ?w ) { ( resource:Alpha-2A_adrenergic_receptor ) ( resource:Alpha-2B_adrenergic_receptor ) } } . ?o rdf:type ontology:drug }
[]
drug
Q5613542 Q226905 Q412221 Q412133 Q420360 Q412226 Q4781812 Q413772 Q577377 Q423308
SYSTEM
Some of them are guanabenz, zotepine, clonidine, dexmedetomidine, phentolamine, yohimbine, apraclonidine, Tolazoline, brimonidine, cabergoline
Q424446 Q419824 Q407972 Q269111 Q577377 Q423308 Q5613599 Q412221 Q417813 Q413772 Q412226 Q420360 Q421930 Q4781812 Q425296 Q7702355 Q415752 Q5613542 Q412133 Q132621 Q186242 Q416992 Q226905 Q413581
OR((c(Q8386),P129,Q4734892), (c(Q8386),P129,Q4734894))
action filter_type
action union
action find_reverse
entity Q4734892
relation P129
action find_reverse
entity Q4734894
relation P129
type Q8386
[ANSWERS] can interact with Alpha-2A adrenergic receptor or Alpha-2B adrenergic receptor
{'OR': [[{'concept': 'Q8386'}, 'P129', 'Q4734892'], [{'concept': 'Q8386'}, 'P129', 'Q4734894']]}
SELECT DISTINCT ?o WHERE { { ?o property:P129 ?w . VALUES ( ?w ) { ( resource:Q4734892 ) ( resource:Q4734894 ) } } . ?o rdf:type ontology:Q8386 }
lisuride phenoxybenzamine chlorpromazine apomorphine brimonidine cabergoline guanfacine clonidine oxymetazoline Tolazoline yohimbine phentolamine mirtazapine apraclonidine prazosin terguride pergolide guanabenz dexmedetomidine (-)-adrenaline (-)-noradrenaline lurasidone zotepine bromocriptine
Guanabenz, zotepine, clonidine, dexmedetomidine, phentolamine, yohimbine, apraclonidine, Tolazoline, brimonidine and cabergoline can interact with Alpha-2A adrenergic receptor or Alpha-2B adrenergic receptor
guanabenz zotepine clonidine dexmedetomidine phentolamine yohimbine apraclonidine Tolazoline brimonidine cabergoline
action filter_type
action union
action find_reverse
entity Alpha-2A adrenergic receptor
relation physically interacts with
action find_reverse
entity Alpha-2B adrenergic receptor
relation physically interacts with
type drug
{'OR': [[{'concept': 'drug'}, 'physically interacts with', 'Alpha-2A adrenergic receptor'], [{'concept': 'drug'}, 'physically interacts with', 'Alpha-2B adrenergic receptor']]}
SELECT DISTINCT ?o WHERE { { ?o property:physically_interacts_with ?w . VALUES ( ?w ) { ( resource:Alpha-2A_adrenergic_receptor ) ( resource:Alpha-2B_adrenergic_receptor ) } } . ?o rdf:type ontology:drug }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q423930
P921
Q8386 Q732577 Q838948
USER
How many drugs were the main subjects in the work less number of publications and works of art than hydrochlorothiazide ?
(c(Q732577)|c(Q838948),P921,c(Q8386))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
action find_reverse_tuple_counts
relation P921
type Q8386
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q423930
relation P921
type Q732577
type Q838948
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?x WHERE { ?n rdf:type ?r . VALUES ( ?r ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } GROUP BY ?x } . FILTER ( ?p < ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P921 resource:Q423930 . { { ?l rdf:type ontology:Q732577 } UNION { ?l rdf:type ontology:Q838948 } } } } }
hydrochlorothiazide
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type drug
type publication
action find_reverse_tuple_counts
relation main subject
type drug
type work of art
action count
action filter_multi_types
action find_reverse
entity hydrochlorothiazide
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?x WHERE { ?n rdf:type ?r . VALUES ( ?r ) { ( ontology:publication ) ( ontology:work_of_art ) } } GROUP BY ?x } . FILTER ( ?p < ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:main_subject resource:hydrochlorothiazide . { { ?l rdf:type ontology:publication } UNION { ?l rdf:type ontology:work_of_art } } } } }
[]
drug publication work of art
SYSTEM
125
Q377270 Q422416 Q20816880 Q192717 Q243547 Q1147309 Q2957662 Q409262 Q3273062 Q418351 Q413486 Q898739 Q816759 Q1752915 Q422252 Q413188 Q193166 Q620730 Q281082 Q18939 Q424145 Q408471 Q413690 Q685119 Q190067 Q554881 Q199678 Q26963 Q326224 Q192471 Q76560 Q2467555 Q407972 Q193045 Q121874 Q244150 Q3800087 Q413968 Q415869 Q273169 Q282629 Q213511 Q192464 Q416821 Q29417 Q416905 Q414547 Q407617 Q134808 Q412221 Q416503 Q846227 Q285911 Q423762 Q41576 Q181003 Q410441 Q411885 Q407781 Q5103230 Q46452 Q518114 Q190012 Q19484 Q5319614 Q186969 Q409231 Q2701912 Q408977 Q300989 Q407172 Q423357 Q186521 Q407308 Q407541 Q3322838 Q287029 Q418157 Q219626 Q425296 Q900898 Q186242 Q2768526 Q318369 Q423746 Q485277 Q181619 Q411237 Q419175 Q183290 Q409632 Q2603363 Q169569 Q410358 Q2341200 Q821641 Q408427 Q2502747 Q409492 Q208451 Q415850 Q385347 Q410595 Q2354337 Q251698 Q418817 Q57055 Q422112 Q178566 Q415571 Q425502 Q39798 Q408570 Q20817216 Q423814 Q192423 Q582356 Q186474 Q198504 Q22124685 Q327362 Q418656 Q2298283 Q420436 Q410061
(c(Q732577)|c(Q838948),P921,c(Q8386))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
action find_reverse_tuple_counts
relation P921
type Q8386
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q423930
relation P921
type Q732577
type Q838948
[ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?x WHERE { ?n rdf:type ?r . VALUES ( ?r ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } GROUP BY ?x } . FILTER ( ?p < ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P921 resource:Q423930 . { { ?l rdf:type ontology:Q732577 } UNION { ?l rdf:type ontology:Q838948 } } } } }
dihydrocodeine 17β-estradiol L-Lysine Streptomycin Ketamine Cyclandelate activated charcoal Meticillin MM1 meprobamate diphenhydramine Laudanum Beta blocker trifluoperazine dexamethasone methacholine Choline Glycine Nalidixic Acid azathioprine Praziquantel Paroxetine acetazolamide methoxamine Δ9-tetrahydrocannabinol Ethylmorphine Vitamin C progesterone Colchicine Menadione antidepressant Furazolidone chlorpromazine Tetracycline Potassium Iodide Ampicillin pyrilamine Dimercaprol carmustine capsaicin Vinblastine Erythromycin Levoleucovorin Menotropins all-trans-retinoic acid carisoprodol Sodium salicylate sertraline vaccine clonidine Aminophenazone antiviral drug ouabain Paclitaxel cocaine L-Tryptophan modafinil Chromic chloride dextromethorphan Chlorphentermine opiumerty Oxybenzone adenosine metformin Dz13 ibuprofen indomethacin clofibrate vincristine levodopa Chorionic gonadotropin eugenol L-Threonine theophylline fentanyl (+/-)-benzphetamine Isotretinoin Phentermine (-)-ephedrine prazosin probenecid (-)-noradrenaline monobenzone Adenosine monophosphate Pyridoxine L-Histidine L-Glutamine 4-hydroxyproline Phenacetin L-Serine pentobarbital chlorothiazide Metronidazole salbutamol Clodronate metyrapone Sulfathiazole Sofosbuvir cimetidine calcium chloride Amobarbital thioguanine physostigmine Phosphatidyl serine Amifostine etoposide paracetamol methylphenidate chlordiazepoxide Bleomycin Nitrofural Insulin Methoxsalen testosterone propionate dimercaptosuccinic acid Nicotinamide Interferon gamma-1b L-Cysteine zidovudine L-Methionine triiodothyronine procarbazine melphalan docetaxel amiodarone
125
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type drug
type publication
action find_reverse_tuple_counts
relation main subject
type drug
type work of art
action count
action filter_multi_types
action find_reverse
entity hydrochlorothiazide
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?x WHERE { ?n rdf:type ?r . VALUES ( ?r ) { ( ontology:publication ) ( ontology:work_of_art ) } } GROUP BY ?x } . FILTER ( ?p < ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:main_subject resource:hydrochlorothiazide . { { ?l rdf:type ontology:publication } UNION { ?l rdf:type ontology:work_of_art } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q422232
P921
Q8386 Q732577 Q838948
USER
And also tell me about methotrexate?
(c(Q732577)|c(Q838948),P921,c(Q8386))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
action find_reverse_tuple_counts
relation P921
type Q8386
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q422232
relation P921
type Q732577
type Q838948
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?g ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } . ?m rdf:type ?g } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:P921 resource:Q422232 . { { ?c rdf:type ontology:Q732577 } UNION { ?c rdf:type ontology:Q838948 } } } } . FILTER ( ?o < ?p ) }
methotrexate
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type drug
type publication
action find_reverse_tuple_counts
relation main subject
type drug
type work of art
action count
action filter_multi_types
action find_reverse
entity methotrexate
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?g ) { ( ontology:publication ) ( ontology:work_of_art ) } . ?m rdf:type ?g } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:main_subject resource:methotrexate . { { ?c rdf:type ontology:publication } UNION { ?c rdf:type ontology:work_of_art } } } } . FILTER ( ?o < ?p ) }
[]
drug publication work of art
SYSTEM
220
Q377270 Q422416 Q410083 Q20816880 Q193572 Q192717 Q243547 Q1147309 Q2957662 Q409262 Q3273062 Q412194 Q5134338 Q415550 Q411441 Q214769 Q418351 Q413486 Q898739 Q421352 Q816759 Q212272 Q1752915 Q422252 Q238512 Q3108899 Q424976 Q414796 Q413188 Q193166 Q620730 Q188017 Q238474 Q281082 Q388801 Q134658 Q18939 Q170545 Q424145 Q421183 Q408471 Q18936 Q413690 Q258450 Q685119 Q190067 Q554881 Q80863 Q174723 Q199678 Q425362 Q26963 Q412143 Q416206 Q326224 Q192471 Q76560 Q2467555 Q423364 Q421781 Q1215575 Q127060 Q407972 Q193045 Q190875 Q423930 Q412208 Q60235 Q411461 Q121874 Q244150 Q3800087 Q413968 Q415869 Q273169 Q180912 Q421910 Q282629 Q410352 Q213511 Q192464 Q416821 Q23118 Q29417 Q200774 Q416905 Q419642 Q210402 Q132621 Q221520 Q414547 Q425234 Q375613 Q423169 Q415734 Q407617 Q413504 Q134808 Q81225 Q412221 Q416507 Q179996 Q416503 Q407241 Q846227 Q285911 Q412299 Q423762 Q411635 Q41576 Q181003 Q421119 Q410441 Q411885 Q407781 Q179731 Q5103230 Q415939 Q46452 Q422745 Q518114 Q186127 Q190012 Q19484 Q5319614 Q186969 Q409231 Q420673 Q2701912 Q422669 Q408977 Q300989 Q412496 Q407172 Q423357 Q419995 Q423423 Q186521 Q415588 Q407308 Q422215 Q407541 Q3322838 Q287029 Q418157 Q418011 Q219626 Q425296 Q348922 Q900898 Q186242 Q2768526 Q318369 Q423746 Q485277 Q181619 Q407431 Q411237 Q419175 Q62947 Q203174 Q183290 Q425289 Q904308 Q409632 Q420360 Q2603363 Q169569 Q407535 Q410358 Q339975 Q2341200 Q18216 Q821641 Q1318776 Q52353 Q408427 Q773449 Q2502747 Q409492 Q208451 Q414065 Q19856779 Q418560 Q408032 Q415850 Q182040 Q385347 Q410595 Q2354337 Q251698 Q419401 Q418817 Q416516 Q57055 Q422112 Q178566 Q415571 Q425502 Q39798 Q408570 Q20817216 Q407841 Q418523 Q410829 Q423814 Q192423 Q582356 Q423890 Q26272 Q411456 Q186474 Q198504 Q22124685 Q327362 Q418656 Q2298283 Q410374 Q420436 Q410061
(c(Q732577)|c(Q838948),P921,c(Q8386))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
action find_reverse_tuple_counts
relation P921
type Q8386
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q422232
relation P921
type Q732577
type Q838948
[ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?g ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } . ?m rdf:type ?g } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:P921 resource:Q422232 . { { ?c rdf:type ontology:Q732577 } UNION { ?c rdf:type ontology:Q838948 } } } } . FILTER ( ?o < ?p ) }
dihydrocodeine 17β-estradiol Polyethylene glycol L-Lysine salicylic acid Streptomycin Ketamine Cyclandelate activated charcoal Meticillin MM1 buspirone Clioquinol Isoprenaline hydrocodone Magnesium oxide meprobamate diphenhydramine Laudanum norethisterone Beta blocker hydroxyurea trifluoperazine dexamethasone 5-fluorouracil glipizide Vitamin A temazepam methacholine Choline Glycine L-Tyrosine 5-aminolevulinic acid Nalidixic Acid furosemide nicotinic acid azathioprine L-Phenylalanine Praziquantel Hexobarbital Paroxetine doxorubicin acetazolamide penicillin G methoxamine Δ9-tetrahydrocannabinol Ethylmorphine Adenosine triphosphate codeine Vitamin C Hexachlorophene progesterone triazolam Pentamidine Colchicine Menadione antidepressant Furazolidone propranolol Cupric Chloride naproxen Folic Acid chlorpromazine Tetracycline cortisol hydrochlorothiazide lisinopril caffeine pilocarpine Potassium Iodide Ampicillin pyrilamine Dimercaprol carmustine capsaicin melatonin phenylephrine Vinblastine gabapentin Erythromycin Levoleucovorin Menotropins LSD all-trans-retinoic acid Follitropin beta carisoprodol Trypan blue diazepam (-)-adrenaline triamterene Sodium salicylate Thallous Chloride RK-0202 Isoniazid Aminopterin sertraline azelaic acid vaccine morphine clonidine thiotepa methadone Aminophenazone phenobarbital antiviral drug ouabain oxazepam Paclitaxel Permethrin cocaine L-Tryptophan captopril modafinil Chromic chloride dextromethorphan Sodium bicarbonate Chlorphentermine chlorambucil opiumerty Benzocaine Oxybenzone Dactinomycin adenosine metformin Dz13 ibuprofen indomethacin guanethidine clofibrate Nitrofurantoin vincristine levodopa quinidine Chorionic gonadotropin eugenol amiloride Sulfanilamide L-Threonine Carboplatin theophylline Phenoxymethylpenicillin fentanyl (+/-)-benzphetamine Isotretinoin Phentermine mechlorethamine (-)-ephedrine prazosin busulfan probenecid (-)-noradrenaline monobenzone Adenosine monophosphate Pyridoxine L-Histidine L-Glutamine Warfarin 4-hydroxyproline Phenacetin flunitrazepam thalidomide L-Serine chlorthalidone Mestranol pentobarbital phentolamine chlorothiazide Metronidazole oxycodone salbutamol Sodium Nitrite Clodronate acetylsalicylic acid metyrapone testosterone Benzyl alcohol Sulfathiazole T4 Sofosbuvir cimetidine calcium chloride attapulgite mitomycin C ifosfamide Edetic Acid Amobarbital Aspartame thioguanine physostigmine Phosphatidyl serine Amifostine Carbachol etoposide enoxaparin paracetamol methylphenidate chlordiazepoxide Bleomycin Nitrofural Insulin Methoxsalen testosterone propionate reserpine niclosamide Heptabarbital dimercaptosuccinic acid Nicotinamide Interferon gamma-1b digitoxin Atropine methocarbamol L-Cysteine zidovudine L-Methionine triiodothyronine procarbazine melphalan Papaverine docetaxel amiodarone
220
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type drug
type publication
action find_reverse_tuple_counts
relation main subject
type drug
type work of art
action count
action filter_multi_types
action find_reverse
entity methotrexate
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?g ) { ( ontology:publication ) ( ontology:work_of_art ) } . ?m rdf:type ?g } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:main_subject resource:methotrexate . { { ?c rdf:type ontology:publication } UNION { ?c rdf:type ontology:work_of_art } } } } . FILTER ( ?o < ?p ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q412226
P2175
Q2057971
USER
Which health problems are cured by yohimbine ?
(Q412226,P2175,c(Q2057971))
action filter_type
action find
entity Q412226
relation P2175
type Q2057971
['Q412226', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { resource:Q412226 property:P2175 ?l . ?l rdf:type ontology:Q2057971 }
yohimbine
action filter_type
action find
entity yohimbine
relation medical condition treated
type health problem
['yohimbine', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { resource:yohimbine property:medical_condition_treated ?l . ?l rdf:type ontology:health_problem }
[]
health problem
Q303555 Q184674
SYSTEM
hypoactive sexual desire disorder, impotence
Q303555 Q184674
(Q412226,P2175,c(Q2057971))
action filter_type
action find
entity Q412226
relation P2175
type Q2057971
[ANSWERS] are cured by yohimbine
['Q412226', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { resource:Q412226 property:P2175 ?l . ?l rdf:type ontology:Q2057971 }
hypoactive sexual desire disorder impotence
Hypoactive sexual desire disorder and impotence are cured by yohimbine
hypoactive sexual desire disorder impotence
action filter_type
action find
entity yohimbine
relation medical condition treated
type health problem
['yohimbine', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { resource:yohimbine property:medical_condition_treated ?l . ?l rdf:type ontology:health_problem }
[]
Clarification
Simple Question|Single Entity|Indirect
Q303555
P1995
Q1047113
USER
Which special field is the medical specality concerned with that health problem ?
(Q303555,P1995,c(Q1047113))
action filter_type
action find
entity Q303555
relation P1995
type Q1047113
['Q303555', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?k WHERE { resource:Q303555 property:P1995 ?k . ?k rdf:type ontology:Q1047113 }
hypoactive sexual desire disorder
action filter_type
action find
entity hypoactive sexual desire disorder
relation medical specialty
type special field
['hypoactive sexual desire disorder', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?k WHERE { resource:hypoactive_sexual_desire_disorder property:medical_specialty ?k . ?k rdf:type ontology:special_field }
[]
special field
Clarification for simple ques.
Q184674
SYSTEM
Did you mean impotence ?
Q303555 Q184674
(Q303555,P1995,c(Q1047113)) (Q184674,P1995,c(Q1047113))
[ANSWER]
['Q303555', 'P1995', {'concept': 'Q1047113'}] ['Q184674', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?k WHERE { resource:Q303555 property:P1995 ?k . ?k rdf:type ontology:Q1047113 }
hypoactive sexual desire disorder impotence
Did you mean impotence ?
impotence
['hypoactive sexual desire disorder', 'medical specialty', {'concept': 'special field'}] ['impotence', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?k WHERE { resource:hypoactive_sexual_desire_disorder property:medical_specialty ?k . ?k rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
USER
No, I meant hypoactive sexual desire disorder. Could you tell me the answer for that?
(Q303555,P1995,c(Q1047113))
Q303555
['Q303555', 'P1995', {'concept': 'Q1047113'}]
['hypoactive sexual desire disorder', 'medical specialty', {'concept': 'special field'}]
[]
Q7867
SYSTEM
psychiatry
Q7867
(Q303555,P1995,c(Q1047113))
action filter_type
action find
entity Q303555
relation P1995
type Q1047113
[ANSWER] is the medical specality concerned with that health problem
['Q303555', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?k WHERE { resource:Q303555 property:P1995 ?k . ?k rdf:type ontology:Q1047113 }
psychiatry
Psychiatry is the medical specality concerned with that health problem
psychiatry
action filter_type
action find
entity hypoactive sexual desire disorder
relation medical specialty
type special field
['hypoactive sexual desire disorder', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?k WHERE { resource:hypoactive_sexual_desire_disorder property:medical_specialty ?k . ?k rdf:type ontology:special_field }
[]