Simple Question (Direct)
Simple Question
Q2576574
P1196
Q1931388
USER
What manner did Will Shade die ?
(Q2576574,P1196,c(Q1931388))
action filter_type
action find
entity Q2576574
relation P1196
type Q1931388
['Q2576574', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q2576574 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
Will Shade
action filter_type
action find
entity Will Shade
relation manner of death
type cause of death
['Will Shade', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Will_Shade property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q2576574,P1196,c(Q1931388))
action filter_type
action find
entity Q2576574
relation P1196
type Q1931388
Will Shade died of [ANSWER]
['Q2576574', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q2576574 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
natural causes
Will Shade died of natural causes
natural causes
action filter_type
action find
entity Will Shade
relation manner of death
type cause of death
['Will Shade', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Will_Shade property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2576574
P509
Q2057971
USER
How did that person die ?
(Q3739104,P509,c(Q2057971))
action filter_type
action find
entity Q2576574
relation P509
type Q2057971
['Q3739104', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?v WHERE { resource:Q2576574 property:P509 ?v . ?v rdf:type ontology:Q2057971 }
Will Shade
action filter_type
action find
entity Will Shade
relation cause of death
type health problem
['natural causes', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?v WHERE { resource:Will_Shade property:cause_of_death ?v . ?v rdf:type ontology:health_problem }
[]
health problem
Q12192
SYSTEM
pneumonia
Q12192
(Q3739104,P509,c(Q2057971))
action filter_type
action find
entity Q2576574
relation P509
type Q2057971
That person died in [ANSWER]
['Q3739104', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?v WHERE { resource:Q2576574 property:P509 ?v . ?v rdf:type ontology:Q2057971 }
pneumonia
That person died in pneumonia
pneumonia
action filter_type
action find
entity Will Shade
relation cause of death
type health problem
['natural causes', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?v WHERE { resource:Will_Shade property:cause_of_death ?v . ?v rdf:type ontology:health_problem }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1542
Q2057971 Q3839081 Q2057971
USER
Which health problems do around 1 disasters or health problems result in ?
(c(Q3839081)|c(Q2057971),P1542,c(Q2057971))
action approx
action union
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q3839081
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q2057971
value 1
[[{'concept': 'Q3839081'}, {'concept': 'Q2057971'}], 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:P1542 ?c . ?c rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q3839081 } UNION { ?y property:P1542 ?c . ?c rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q2057971 } } GROUP BY ?c } . FILTER ( ?a = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation cause of
type health problem
type disaster
action find_reverse_tuple_counts
relation cause of
type health problem
type health problem
value 1
[[{'concept': 'disaster'}, {'concept': 'health problem'}], 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:cause_of ?c . ?c rdf:type ontology:health_problem . ?y rdf:type ontology:disaster } UNION { ?y property:cause_of ?c . ?c rdf:type ontology:health_problem . ?y rdf:type ontology:health_problem } } GROUP BY ?c } . FILTER ( ?a = 1 ) }
[]
health problem disaster health problem
Q12152 Q47912 Q631361
SYSTEM
myocardial infarction, lung cancer, diabetic retinopathy
Q3108587 Q147778 Q928697 Q623031 Q3089469 Q551085 Q631361 Q17120992 Q17083186 Q47912 Q3011658 Q12152 Q219223 Q53829 Q1347256 Q272436 Q506616 Q199615 Q1570013
(c(Q3839081)|c(Q2057971),P1542,c(Q2057971))
action approx
action union
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q3839081
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q2057971
value 1
[ANSWERS] around 1 disasters or health problems result in
[[{'concept': 'Q3839081'}, {'concept': 'Q2057971'}], 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:P1542 ?c . ?c rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q3839081 } UNION { ?y property:P1542 ?c . ?c rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q2057971 } } GROUP BY ?c } . FILTER ( ?a = 1 ) }
pigmentary glaucoma liver cirrhosis sensorineural hearing loss liver cancer sequelae myelitis diabetic retinopathy Hyperglycerolemia obstructive sleep apnea lung cancer dacryocystocele myocardial infarction lactose intolerance Thyroid nodule excessive tearing allergic rhinitis drowning encephalitis thrombophilia
Myocardial infarction, lung cancer and diabetic retinopathy around 1 disasters or health problems result in
myocardial infarction lung cancer diabetic retinopathy
action approx
action union
action find_reverse_tuple_counts
relation cause of
type health problem
type disaster
action find_reverse_tuple_counts
relation cause of
type health problem
type health problem
value 1
[[{'concept': 'disaster'}, {'concept': 'health problem'}], 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:cause_of ?c . ?c rdf:type ontology:health_problem . ?y rdf:type ontology:disaster } UNION { ?y property:cause_of ?c . ?c rdf:type ontology:health_problem . ?y rdf:type ontology:health_problem } } GROUP BY ?c } . FILTER ( ?a = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q417801 Q631361
P2175 P129
Q8386
USER
Which drugs are used for treatment of diabetic retinopathy or can interact with Extracellular calcium-sensing receptor ?
OR((c(Q8386),P2175,Q631361), (c(Q8386),P129,Q417801))
action filter_type
action union
action find_reverse
entity Q631361
relation P2175
action find_reverse
entity Q417801
relation P129
type Q8386
{'OR': [[{'concept': 'Q8386'}, 'P2175', 'Q631361'], [{'concept': 'Q8386'}, 'P129', 'Q417801']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P2175 resource:Q631361 } UNION { ?k property:P129 resource:Q417801 } } . ?k rdf:type ontology:Q8386 }
Extracellular calcium-sensing receptor diabetic retinopathy
action filter_type
action union
action find_reverse
entity diabetic retinopathy
relation medical condition treated
action find_reverse
entity Extracellular calcium-sensing receptor
relation physically interacts with
type drug
{'OR': [[{'concept': 'drug'}, 'medical condition treated', 'diabetic retinopathy'], [{'concept': 'drug'}, 'physically interacts with', 'Extracellular calcium-sensing receptor']]}
SELECT DISTINCT ?k WHERE { { { ?k property:medical_condition_treated resource:diabetic_retinopathy } UNION { ?k property:physically_interacts_with resource:Extracellular_calcium-sensing_receptor } } . ?k rdf:type ontology:drug }
[]
drug
Q4689286 Q414270 Q2212643 Q416132 Q418270 Q181003 Q32089 Q244408 Q409935 Q1074056
SYSTEM
Some of them are Aflibercept, Ranibizumab, Ocriplasmin, betamethasone, Efalizumab, L-Tryptophan, Sirolimus, diclofenac, Pegaptanib, triamcinolone
Q418270 Q32089 Q413299 Q2212643 Q424597 Q4689286 Q1074056 Q244408 Q409935 Q193978 Q416132 Q684379 Q414270 Q181003 Q924467 Q422252
OR((c(Q8386),P2175,Q631361), (c(Q8386),P129,Q417801))
action filter_type
action union
action find_reverse
entity Q631361
relation P2175
action find_reverse
entity Q417801
relation P129
type Q8386
[ANSWERS] are used for treatment of diabetic retinopathy or can interact with Extracellular calcium-sensing receptor
{'OR': [[{'concept': 'Q8386'}, 'P2175', 'Q631361'], [{'concept': 'Q8386'}, 'P129', 'Q417801']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P2175 resource:Q631361 } UNION { ?k property:P129 resource:Q417801 } } . ?k rdf:type ontology:Q8386 }
Efalizumab Sirolimus Bevacizumab Ocriplasmin Spermine Aflibercept triamcinolone diclofenac Pegaptanib cinacalcet betamethasone nepafenac Ranibizumab L-Tryptophan fluocinolone acetonide dexamethasone
Aflibercept, Ranibizumab, Ocriplasmin, betamethasone, Efalizumab, L-Tryptophan, Sirolimus, diclofenac, Pegaptanib and triamcinolone are used for treatment of diabetic retinopathy or can interact with Extracellular calcium-sensing receptor
Aflibercept Ranibizumab Ocriplasmin betamethasone Efalizumab L-Tryptophan Sirolimus diclofenac Pegaptanib triamcinolone
action filter_type
action union
action find_reverse
entity diabetic retinopathy
relation medical condition treated
action find_reverse
entity Extracellular calcium-sensing receptor
relation physically interacts with
type drug
{'OR': [[{'concept': 'drug'}, 'medical condition treated', 'diabetic retinopathy'], [{'concept': 'drug'}, 'physically interacts with', 'Extracellular calcium-sensing receptor']]}
SELECT DISTINCT ?k WHERE { { { ?k property:medical_condition_treated resource:diabetic_retinopathy } UNION { ?k property:physically_interacts_with resource:Extracellular_calcium-sensing_receptor } } . ?k rdf:type ontology:drug }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q417801
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q4689286) (c(Q863908),P688,Q414270) (c(Q863908),P688,Q2212643) (c(Q863908),P688,Q416132) (c(Q863908),P688,Q418270) (c(Q863908),P688,Q181003) (c(Q863908),P688,Q32089) (c(Q863908),P688,Q244408) (c(Q863908),P688,Q409935) (c(Q863908),P688,Q1074056)
action filter_type
action find_reverse
entity Q417801
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q4689286'] [{'concept': 'Q863908'}, 'P688', 'Q414270'] [{'concept': 'Q863908'}, 'P688', 'Q2212643'] [{'concept': 'Q863908'}, 'P688', 'Q416132'] [{'concept': 'Q863908'}, 'P688', 'Q418270'] [{'concept': 'Q863908'}, 'P688', 'Q181003'] [{'concept': 'Q863908'}, 'P688', 'Q32089'] [{'concept': 'Q863908'}, 'P688', 'Q244408'] [{'concept': 'Q863908'}, 'P688', 'Q409935'] [{'concept': 'Q863908'}, 'P688', 'Q1074056']
SELECT DISTINCT ?p WHERE { ?p property:P688 resource:Q417801 . ?p rdf:type ontology:Q863908 }
Extracellular calcium-sensing receptor
action filter_type
action find_reverse
entity Extracellular calcium-sensing receptor
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Aflibercept'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'Ranibizumab'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'Ocriplasmin'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'betamethasone'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'Efalizumab'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'L-Tryptophan'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'Sirolimus'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'diclofenac'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'Pegaptanib'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'triamcinolone']
SELECT DISTINCT ?p WHERE { ?p property:encodes resource:Extracellular_calcium-sensing_receptor . ?p rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q15321271
SYSTEM
CASR
Q15321271
(c(Q863908),P688,Q4689286) (c(Q863908),P688,Q414270) (c(Q863908),P688,Q2212643) (c(Q863908),P688,Q416132) (c(Q863908),P688,Q418270) (c(Q863908),P688,Q181003) (c(Q863908),P688,Q32089) (c(Q863908),P688,Q244408) (c(Q863908),P688,Q409935) (c(Q863908),P688,Q1074056)
action filter_type
action find_reverse
entity Q417801
relation P688
type Q863908
[ANSWER] encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q4689286'] [{'concept': 'Q863908'}, 'P688', 'Q414270'] [{'concept': 'Q863908'}, 'P688', 'Q2212643'] [{'concept': 'Q863908'}, 'P688', 'Q416132'] [{'concept': 'Q863908'}, 'P688', 'Q418270'] [{'concept': 'Q863908'}, 'P688', 'Q181003'] [{'concept': 'Q863908'}, 'P688', 'Q32089'] [{'concept': 'Q863908'}, 'P688', 'Q244408'] [{'concept': 'Q863908'}, 'P688', 'Q409935'] [{'concept': 'Q863908'}, 'P688', 'Q1074056']
SELECT DISTINCT ?p WHERE { ?p property:P688 resource:Q417801 . ?p rdf:type ontology:Q863908 }
CASR
CASR encodes that nutrient
CASR
action filter_type
action find_reverse
entity Extracellular calcium-sensing receptor
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Aflibercept'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'Ranibizumab'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'Ocriplasmin'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'betamethasone'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'Efalizumab'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'L-Tryptophan'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'Sirolimus'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'diclofenac'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'Pegaptanib'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'triamcinolone']
SELECT DISTINCT ?p WHERE { ?p property:encodes resource:Extracellular_calcium-sensing_receptor . ?p rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q8386 Q838948 Q386724
USER
Which drugs were the main subjects of approximately 31 works of art or works 's work ?
(c(Q838948)|c(Q386724),P921,c(Q8386))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q838948
action find_reverse_tuple_counts
relation P921
type Q8386
type Q386724
value 31
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?r WHERE { { ?j property:P921 ?r . ?r rdf:type ontology:Q8386 . ?j rdf:type ontology:Q838948 } UNION { ?j property:P921 ?r . ?r rdf:type ontology:Q8386 . ?j rdf:type ontology:Q386724 } } GROUP BY ?r } . FILTER ( ?n = 31 ) }
action approx
action union
action find_reverse_tuple_counts
relation main subject
type drug
type work of art
action find_reverse_tuple_counts
relation main subject
type drug
type work
value 31
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?r WHERE { { ?j property:main_subject ?r . ?r rdf:type ontology:drug . ?j rdf:type ontology:work_of_art } UNION { ?j property:main_subject ?r . ?r rdf:type ontology:drug . ?j rdf:type ontology:work } } GROUP BY ?r } . FILTER ( ?n = 31 ) }
[]
drug work of art work
Q60168 Q1997
SYSTEM
diamorphine, Carbon dioxide
Q60168 Q1997
(c(Q838948)|c(Q386724),P921,c(Q8386))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q838948
action find_reverse_tuple_counts
relation P921
type Q8386
type Q386724
value 31
[ANSWERS] were the main subjects of approximately 31 works of art or works 's work
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?r WHERE { { ?j property:P921 ?r . ?r rdf:type ontology:Q8386 . ?j rdf:type ontology:Q838948 } UNION { ?j property:P921 ?r . ?r rdf:type ontology:Q8386 . ?j rdf:type ontology:Q386724 } } GROUP BY ?r } . FILTER ( ?n = 31 ) }
diamorphine Carbon dioxide
Diamorphine and Carbon dioxide were the main subjects of approximately 31 works of art or works 's work
diamorphine Carbon dioxide
action approx
action union
action find_reverse_tuple_counts
relation main subject
type drug
type work of art
action find_reverse_tuple_counts
relation main subject
type drug
type work
value 31
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?r WHERE { { ?j property:main_subject ?r . ?r rdf:type ontology:drug . ?j rdf:type ontology:work_of_art } UNION { ?j property:main_subject ?r . ?r rdf:type ontology:drug . ?j rdf:type ontology:work } } GROUP BY ?r } . FILTER ( ?n = 31 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q15321271
P684
Q863908
USER
How many nucleic acid sequences have CASR as their orthologous gene ?
(c(Q863908),P684,Q15321271)
action count
action filter_type
action find_reverse
entity Q15321271
relation P684
type Q863908
[{'concept': 'Q863908'}, 'P684', 'Q15321271']
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:P684 resource:Q15321271 . ?k rdf:type ontology:Q863908 }
CASR
action count
action filter_type
action find_reverse
entity CASR
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'CASR']
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:ortholog resource:CASR . ?k rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
SYSTEM
1
Q15321276
(c(Q863908),P684,Q15321271)
action count
action filter_type
action find_reverse
entity Q15321271
relation P684
type Q863908
[ANSWER]
[{'concept': 'Q863908'}, 'P684', 'Q15321271']
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:P684 resource:Q15321271 . ?k rdf:type ontology:Q863908 }
Casr
1
action count
action filter_type
action find_reverse
entity CASR
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'CASR']
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:ortholog resource:CASR . ?k rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q18266362
P684
Q863908
USER
And how about Ift57?
(c(Q863908),P684,Q18266362)
action count
action filter_type
action find_reverse
entity Q18266362
relation P684
type Q863908
[{'concept': 'Q863908'}, 'P684', 'Q18266362']
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:P684 resource:Q18266362 . ?t rdf:type ontology:Q863908 }
Ift57
action count
action filter_type
action find_reverse
entity Ift57
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'Ift57']
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:ortholog resource:Ift57 . ?t rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
SYSTEM
1
Q18041532
(c(Q863908),P684,Q18266362)
action count
action filter_type
action find_reverse
entity Q18266362
relation P684
type Q863908
[ANSWER]
[{'concept': 'Q863908'}, 'P684', 'Q18266362']
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:P684 resource:Q18266362 . ?t rdf:type ontology:Q863908 }
IFT57
1
action count
action filter_type
action find_reverse
entity Ift57
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'Ift57']
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:ortholog resource:Ift57 . ?t rdf:type ontology:nucleic_acid_sequence }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q212272
P921
Q8386 Q386724 Q732577
USER
How many drugs were the main subjects of lesser number of works and publications 's work than hydroxyurea ?
(c(Q386724)|c(Q732577),P921,c(Q8386))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q386724
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q212272
relation P921
type Q386724
type Q732577
[[{'concept': 'Q386724'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?b ) WHERE { VALUES ( ?j ) { ( ontology:Q386724 ) ( ontology:Q732577 ) } . ?m rdf:type ?j } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:P921 resource:Q212272 . { { ?u rdf:type ontology:Q732577 } UNION { ?u rdf:type ontology:Q386724 } } } } . FILTER ( ?b < ?a ) }
hydroxyurea
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type drug
type work
action find_reverse_tuple_counts
relation main subject
type drug
type publication
action count
action filter_multi_types
action find_reverse
entity hydroxyurea
relation main subject
type work
type publication
[[{'concept': 'work'}, {'concept': 'publication'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?b ) WHERE { VALUES ( ?j ) { ( ontology:work ) ( ontology:publication ) } . ?m rdf:type ?j } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:main_subject resource:hydroxyurea . { { ?u rdf:type ontology:publication } UNION { ?u rdf:type ontology:work } } } } . FILTER ( ?b < ?a ) }
[]
drug work publication
SYSTEM
104
Q377270 Q422416 Q20816880 Q192717 Q243547 Q1147309 Q409262 Q3273062 Q413486 Q898739 Q816759 Q60168 Q1752915 Q413188 Q193166 Q620730 Q281082 Q18939 Q424145 Q408471 Q413690 Q685119 Q190067 Q554881 Q199678 Q326224 Q192471 Q76560 Q2467555 Q193045 Q121874 Q244150 Q3800087 Q413968 Q273169 Q282629 Q213511 Q192464 Q416821 Q23118 Q414547 Q407617 Q134808 Q412221 Q416503 Q846227 Q285911 Q41576 Q410441 Q407781 Q46452 Q518114 Q190012 Q19484 Q5319614 Q186969 Q409231 Q2701912 Q408977 Q300989 Q407172 Q423357 Q186521 Q407308 Q3322838 Q418157 Q219626 Q425296 Q186242 Q2768526 Q318369 Q423746 Q485277 Q181619 Q411237 Q183290 Q409632 Q2603363 Q169569 Q410358 Q2341200 Q821641 Q408427 Q2502747 Q409492 Q208451 Q410595 Q2354337 Q251698 Q418817 Q57055 Q422112 Q415571 Q39798 Q423814 Q192423 Q582356 Q186474 Q198504 Q22124685 Q327362 Q418656 Q420436 Q410061
(c(Q386724)|c(Q732577),P921,c(Q8386))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q386724
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q212272
relation P921
type Q386724
type Q732577
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?b ) WHERE { VALUES ( ?j ) { ( ontology:Q386724 ) ( ontology:Q732577 ) } . ?m rdf:type ?j } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:P921 resource:Q212272 . { { ?u rdf:type ontology:Q732577 } UNION { ?u rdf:type ontology:Q386724 } } } } . FILTER ( ?b < ?a ) }
dihydrocodeine 17β-estradiol L-Lysine Streptomycin Ketamine Cyclandelate Meticillin MM1 diphenhydramine Laudanum Beta blocker diamorphine trifluoperazine methacholine Choline Glycine Nalidixic Acid azathioprine Praziquantel Paroxetine acetazolamide methoxamine Δ9-tetrahydrocannabinol Ethylmorphine Vitamin C Colchicine Menadione antidepressant Furazolidone Tetracycline Potassium Iodide Ampicillin pyrilamine Dimercaprol capsaicin Vinblastine Erythromycin Levoleucovorin Menotropins LSD Sodium salicylate sertraline vaccine clonidine Aminophenazone antiviral drug ouabain cocaine modafinil dextromethorphan opiumerty Oxybenzone adenosine metformin Dz13 ibuprofen indomethacin clofibrate vincristine levodopa Chorionic gonadotropin eugenol L-Threonine theophylline (+/-)-benzphetamine Phentermine (-)-ephedrine prazosin (-)-noradrenaline monobenzone Adenosine monophosphate Pyridoxine L-Histidine L-Glutamine 4-hydroxyproline L-Serine pentobarbital chlorothiazide Metronidazole salbutamol Clodronate metyrapone Sulfathiazole Sofosbuvir cimetidine calcium chloride physostigmine Phosphatidyl serine Amifostine etoposide paracetamol methylphenidate Bleomycin Insulin dimercaptosuccinic acid Nicotinamide Interferon gamma-1b L-Cysteine zidovudine L-Methionine triiodothyronine procarbazine docetaxel amiodarone
104
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type drug
type work
action find_reverse_tuple_counts
relation main subject
type drug
type publication
action count
action filter_multi_types
action find_reverse
entity hydroxyurea
relation main subject
type work
type publication
[[{'concept': 'work'}, {'concept': 'publication'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?b ) WHERE { VALUES ( ?j ) { ( ontology:work ) ( ontology:publication ) } . ?m rdf:type ?j } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:main_subject resource:hydroxyurea . { { ?u rdf:type ontology:publication } UNION { ?u rdf:type ontology:work } } } } . FILTER ( ?b < ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q18936
P921
Q8386 Q386724 Q732577
USER
And how about doxorubicin?
(c(Q386724)|c(Q732577),P921,c(Q8386))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q386724
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q18936
relation P921
type Q386724
type Q732577
[[{'concept': 'Q386724'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?h ) WHERE { { ?n property:P921 ?c . ?c rdf:type ontology:Q8386 . ?n rdf:type ontology:Q386724 } UNION { ?n property:P921 ?c . ?c rdf:type ontology:Q8386 . ?n rdf:type ontology:Q732577 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:P921 resource:Q18936 . { ?g rdf:type ?t . VALUES ( ?t ) { ( ontology:Q386724 ) ( ontology:Q732577 ) } } } } . FILTER ( ?h < ?j ) }
doxorubicin
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type drug
type work
action find_reverse_tuple_counts
relation main subject
type drug
type publication
action count
action filter_multi_types
action find_reverse
entity doxorubicin
relation main subject
type work
type publication
[[{'concept': 'work'}, {'concept': 'publication'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?h ) WHERE { { ?n property:main_subject ?c . ?c rdf:type ontology:drug . ?n rdf:type ontology:work } UNION { ?n property:main_subject ?c . ?c rdf:type ontology:drug . ?n rdf:type ontology:publication } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:main_subject resource:doxorubicin . { ?g rdf:type ?t . VALUES ( ?t ) { ( ontology:work ) ( ontology:publication ) } } } } . FILTER ( ?h < ?j ) }
[]
drug work publication
SYSTEM
219
Q377270 Q422416 Q410083 Q20816880 Q193572 Q192717 Q243547 Q1147309 Q409262 Q3273062 Q412194 Q5134338 Q415550 Q411441 Q418351 Q413486 Q898739 Q421352 Q816759 Q60168 Q212272 Q1752915 Q422252 Q238512 Q3108899 Q424976 Q414796 Q184630 Q413188 Q193166 Q620730 Q188017 Q238474 Q281082 Q388801 Q134658 Q18939 Q170545 Q424145 Q421183 Q408471 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 Q375613 Q423169 Q415734 Q407617 Q413504 Q134808 Q81225 Q412221 Q416507 Q179996 Q416503 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 Q191700 Q203174 Q183290 Q425289 Q904308 Q409632 Q420360 Q2603363 Q169569 Q407535 Q410358 Q339975 Q2341200 Q18216 Q821641 Q1318776 Q52353 Q408427 Q773449 Q2502747 Q409492 Q208451 Q422232 Q414065 Q19856779 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 Q407125
(c(Q386724)|c(Q732577),P921,c(Q8386))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q386724
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q18936
relation P921
type Q386724
type Q732577
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?h ) WHERE { { ?n property:P921 ?c . ?c rdf:type ontology:Q8386 . ?n rdf:type ontology:Q386724 } UNION { ?n property:P921 ?c . ?c rdf:type ontology:Q8386 . ?n rdf:type ontology:Q732577 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:P921 resource:Q18936 . { ?g rdf:type ?t . VALUES ( ?t ) { ( ontology:Q386724 ) ( ontology:Q732577 ) } } } } . FILTER ( ?h < ?j ) }
dihydrocodeine 17β-estradiol Polyethylene glycol L-Lysine salicylic acid Streptomycin Ketamine Cyclandelate Meticillin MM1 buspirone Clioquinol Isoprenaline hydrocodone meprobamate diphenhydramine Laudanum norethisterone Beta blocker diamorphine hydroxyurea trifluoperazine dexamethasone 5-fluorouracil glipizide Vitamin A temazepam Potassium Chloride methacholine Choline Glycine L-Tyrosine 5-aminolevulinic acid Nalidixic Acid furosemide nicotinic acid azathioprine L-Phenylalanine Praziquantel Hexobarbital Paroxetine 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 RK-0202 Isoniazid Aminopterin sertraline azelaic acid vaccine morphine clonidine thiotepa methadone Aminophenazone 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 Benzoic Acid 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 methotrexate attapulgite mitomycin C 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 Aluminum hydroxide
219
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type drug
type work
action find_reverse_tuple_counts
relation main subject
type drug
type publication
action count
action filter_multi_types
action find_reverse
entity doxorubicin
relation main subject
type work
type publication
[[{'concept': 'work'}, {'concept': 'publication'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?h ) WHERE { { ?n property:main_subject ?c . ?c rdf:type ontology:drug . ?n rdf:type ontology:work } UNION { ?n property:main_subject ?c . ?c rdf:type ontology:drug . ?n rdf:type ontology:publication } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:main_subject resource:doxorubicin . { ?g rdf:type ?t . VALUES ( ?t ) { ( ontology:work ) ( ontology:publication ) } } } } . FILTER ( ?h < ?j ) }
[]