Simple Question (Direct)
Simple Question
Q5365644
P1196
Q1931388
USER
What situation did Elliott Danforth die in ?
(Q5365644,P1196,c(Q1931388))
action filter_type
action find
entity Q5365644
relation P1196
type Q1931388
['Q5365644', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?e WHERE { resource:Q5365644 property:P1196 ?e . ?e rdf:type ontology:Q1931388 }
Elliott Danforth
action filter_type
action find
entity Elliott Danforth
relation manner of death
type cause of death
['Elliott Danforth', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?e WHERE { resource:Elliott_Danforth property:manner_of_death ?e . ?e rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q5365644,P1196,c(Q1931388))
action filter_type
action find
entity Q5365644
relation P1196
type Q1931388
Elliott Danforth died of [ANSWER]
['Q5365644', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?e WHERE { resource:Q5365644 property:P1196 ?e . ?e rdf:type ontology:Q1931388 }
natural causes
Elliott Danforth died of natural causes
natural causes
action filter_type
action find
entity Elliott Danforth
relation manner of death
type cause of death
['Elliott Danforth', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?e WHERE { resource:Elliott_Danforth property:manner_of_death ?e . ?e rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5365644
P119
Q43229
USER
Where is the place of burial for Elliott Danforth located ?
(Q5365644,P119,c(Q43229))
action filter_type
action find
entity Q5365644
relation P119
type Q43229
['Q5365644', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q5365644 property:P119 ?u . ?u rdf:type ontology:Q43229 }
Elliott Danforth
action filter_type
action find
entity Elliott Danforth
relation place of burial
type organization
['Elliott Danforth', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Elliott_Danforth property:place_of_burial ?u . ?u rdf:type ontology:organization }
[]
organization
Q2000666
SYSTEM
Woodlawn Cemetery
Q2000666
(Q5365644,P119,c(Q43229))
action filter_type
action find
entity Q5365644
relation P119
type Q43229
The place of burial for Elliott Danforth is located in [ANSWER]
['Q5365644', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q5365644 property:P119 ?u . ?u rdf:type ontology:Q43229 }
Woodlawn Cemetery
The place of burial for Elliott Danforth is located in Woodlawn Cemetery
Woodlawn Cemetery
action filter_type
action find
entity Elliott Danforth
relation place of burial
type organization
['Elliott Danforth', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Elliott_Danforth property:place_of_burial ?u . ?u rdf:type ontology:organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q274222
Q43229
USER
And how about Dorothy Sebastian?
(Q274222,P119,c(Q43229))
action filter_type
action find
entity Q274222
relation P119
type Q43229
['Q274222', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q274222 property:P119 ?u . ?u rdf:type ontology:Q43229 }
Dorothy Sebastian
action filter_type
action find
entity Dorothy Sebastian
relation place of burial
type organization
['Dorothy Sebastian', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Dorothy_Sebastian property:place_of_burial ?u . ?u rdf:type ontology:organization }
[]
organization
Q1625328
SYSTEM
Holy Cross Cemetery
Q1625328
(Q274222,P119,c(Q43229))
action filter_type
action find
entity Q274222
relation P119
type Q43229
[ANSWER]
['Q274222', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q274222 property:P119 ?u . ?u rdf:type ontology:Q43229 }
Holy Cross Cemetery
Holy Cross Cemetery
action filter_type
action find
entity Dorothy Sebastian
relation place of burial
type organization
['Dorothy Sebastian', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Dorothy_Sebastian property:place_of_burial ?u . ?u rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2000666
P119
Q502895
USER
How many people have Woodlawn Cemetery as resting place ?
(c(Q502895),P119,Q2000666)
action count
action filter_type
action find_reverse
entity Q2000666
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q2000666']
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:P119 resource:Q2000666 . ?u rdf:type ontology:Q502895 }
Woodlawn Cemetery
action count
action filter_type
action find_reverse
entity Woodlawn Cemetery
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Woodlawn Cemetery']
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:place_of_burial resource:Woodlawn_Cemetery . ?u rdf:type ontology:common_name }
[]
common name
SYSTEM
216
Q13494127 Q1567894 Q3142236 Q1106834 Q328817 Q6695855 Q12975453 Q313252 Q352967 Q925546 Q2114871 Q3127887 Q6129640 Q3816061 Q2980425 Q514218 Q458458 Q704265 Q5079652 Q749495 Q447716 Q1383714 Q5484895 Q20973154 Q545664 Q198178 Q474045 Q448169 Q527774 Q24579362 Q4821535 Q1680540 Q922816 Q724113 Q1000471 Q63190 Q1344801 Q18221268 Q999041 Q5365644 Q127315 Q52997 Q4920928 Q7880913 Q1137066 Q1031985 Q354559 Q4943542 Q450386 Q770410 Q3025570 Q6504106 Q14623651 Q2631638 Q5171375 Q4681722 Q3160909 Q474144 Q2142312 Q346309 Q270207 Q6482164 Q7789768 Q1109882 Q1612287 Q2033544 Q16030939 Q817531 Q358079 Q2347963 Q4768571 Q4889269 Q4771983 Q1107831 Q255620 Q1383031 Q3376920 Q817486 Q7791086 Q172592 Q173417 Q5718745 Q17182517 Q7790375 Q4742229 Q85209 Q263287 Q4823040 Q1976061 Q116473 Q16029901 Q4822713 Q6662779 Q313368 Q6305730 Q3101668 Q2579915 Q213500 Q15452976 Q4168617 Q6110120 Q6249965 Q4356411 Q16030296 Q5561115 Q16856837 Q7324489 Q129741 Q93341 Q787111 Q1066382 Q4741907 Q16059144 Q719058 Q537266 Q7374317 Q6226396 Q4669211 Q4669211 Q5075980 Q714880 Q16466772 Q3083072 Q3471151 Q7412162 Q6256653 Q5717730 Q4668760 Q2377321 Q957475 Q563017 Q465335 Q1658835 Q6136705 Q4888896 Q8014245 Q447105 Q5393912 Q3453643 Q707974 Q441730 Q1168008 Q13423136 Q3539766 Q4799612 Q505315 Q5349463 Q16059065 Q709595 Q4030 Q157578 Q1291389 Q315607 Q1149854 Q3460936 Q5083208 Q938794 Q2322073 Q15081079 Q6141065 Q381381 Q8019638 Q17403669 Q5498208 Q271910 Q444125 Q430929 Q6195695 Q2739073 Q3446769 Q313525 Q236396 Q1111386 Q4863799 Q1180513 Q128746 Q5729642 Q6233947 Q214394 Q5074814 Q6414592 Q2526508 Q2526508 Q1589864 Q250486 Q621879 Q6873356 Q6242369 Q1192956 Q4722649 Q7937674 Q1680094 Q5537084 Q1352222 Q6263055 Q22043834 Q1648376 Q5343967 Q196287 Q312502 Q20979364 Q16031234 Q2020073 Q8020553 Q8014171 Q16065569 Q3182321 Q6141353 Q230299 Q4934863 Q382782 Q5125982 Q4786336 Q6286667 Q2397929 Q633168
(c(Q502895),P119,Q2000666)
action count
action filter_type
action find_reverse
entity Q2000666
relation P119
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P119', 'Q2000666']
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:P119 resource:Q2000666 . ?u rdf:type ontology:Q502895 }
James Rennie Chancellor Olcott Hugh D. Auchincloss Gus Edwards Frank Scalice Luca Botta James Grant Wilson Charles Evans Hughes W. C. Handy Gaetano Reina Josiah Sutherland Harry Payne Whitney James Ben Ali Haggin Joseph C. Baldwin Clyde Fitch Huguette Marcelle Clark Grantland Rice Bat Masterson Charles K. Graham Paul du Chaillu Madam C. J. Walker Horace Francis Clark Frank A. O'Donnel John Rodolph Slattery Antoinette Perry Walter Underhill Celia Cruz Alva Belmont Vilma Lwoff-Parlaghy Percy Rivington Pyne Jr. Augustus Schell James Hazen Hyde Tommy Gagliano Simon Guggenheim Bud Fisher Franz Sigel Harry Carey Jess Dandy Rowland Hussey Macy Elliott Danforth Harold Lockwood Otto Preminger Black Herman Ulysses Doubleday Countee Cullen Canada Lee John William Sterling Lotta Crabtree Marilyn Miller Augustus G. Paine, Jr. Pigmeat Markham Lawrence Grossmith Robert Brown Potter William A. Clark Cornelius H. DeLamater Adelaide Herrmann James Anthony Bailey George Platt Lynes Frank Winfield Woolworth Ada Smith Carrie Chapman Catt Lamon V. Harkness Thomas Francis Gilroy Collis Potter Huntington Hermann Oelrichs Ricardo Cortez Laura Joyce Bell Benjamin Bristow Robert Chesebrough Josef Stránský Anne Lynch Botta Benjamin T. Babbitt Anthony Allaire Samuel Rossiter Betts Barbara Hutton Aaron Vanderpoel Stephen V. Harkness Benjamin Franklin Butler Thomas J. Kelly Lance Reventlow Joseph Pulitzer Henry Bruckner Charles W. Clark Thomas Hamlin Hubbard Amelia Bingham Maximilian Berlitz Gertrude Ederle Austin Corbin Augustus D. Juilliard Zachariah C. Deas Vernon M. Davis Ausburn Birdsall Lloyd Tilghman King Oliver Jules Bache George Jay Gould I William McAdoo Ralph Bunche Lucy Skidmore Scribner James G. Donovan Jabez Abel Bostwick John Murray Anderson Bernarr Macfadden Coralie Blythe Gilbert Miller Edward Siedle Richard Busteed Martin Wiley Littleton Miles Davis Paul A. Fino Charles Waldron Buckley Ambrosio José Gonzales John H. Cook Billy Bang James Montgomery Flagg Royal Hurlburt Weller John Clinton Gray Abraham Van Buren Abraham Van Buren Charles C. Dodge Damon Runyon Caroline LeRoy Toshia Mori Samuel Henry Kress Samuel McMillan John Sanford Barnes Henry Baldwin Hyde Abraham B. Tappen Waldo Hutchins Herbert Brenon George M. Cohan Elizabeth Cady Stanton Illinois Jacquet James J. Lanzetta Benjamin K. Phelps William Lafayette Strong Princess Anastacia of Greece and Denmark Ernest Trow Carter Ruth Snyder Isidor Straus Nora Bayes William Henry Harrison Stowell James Cash Penney Benjamin L. Fairchild Arthur Mellen Wellington Andrew J. Rogers Eileen Vollick Augustus G. Paine, Sr. Jay Gould Duke Ellington Alexander Archipenko Robert W. Bonynge David Farragut Addison Brown Charles H. Adams Charles W. Harkness Gail Borden Martha Mansfield Hamilton McKown Twombly James Paul Donahue, Jr. William C. Durant William Vermilye Brady Frances K. Marlatt Frederick Kingsbury Curtis Gertrude Vanderbilt Whitney Diana Barrymore Olive Thomas Jim Holdsworth Frankie Frisch Rudolph Fisher Lionel Hampton Geraldine Fitzgerald Robert Moses Barron Collier De Witt C. Flanagan Irving Berlin Henry W. Genet John Francis Wheaton Oscar Hammerstein I Charles Arms Carleton Kip Rhinelander Vincent Alo Vincent Alo John B. Haskin Alfred C. Chapin Alexander P. de Seversky Miriam Leslie John Keteltas Hackett Hervey Chittenden Calkin Alfred Erskine Marling Vivian Beaumont Allen James C. Auchincloss George Charles Boldt, Sr. William Collins Whitney John Warne Gates Gustav Scholer Charles Becker Edward Knight Collins Mihajlo Pupin Fiorello H. La Guardia Norman B. Ream Walter W. Law Oliver Belmont William Woodward, Jr. William L. Harkness James R. Whiting John Purroy Mitchel James Pond Nellie Bly Bobby Clark Cornelius Newton Bliss Clara Fisher Archibald Gracie III Joseph Rowan Bert Williams Archibald Gracie IV
216
action count
action filter_type
action find_reverse
entity Woodlawn Cemetery
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Woodlawn Cemetery']
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:place_of_burial resource:Woodlawn_Cemetery . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5365644
P509
Q2057971
USER
What was the cause of death of Elliott Danforth ?
(Q5365644,P509,c(Q2057971))
action filter_type
action find
entity Q5365644
relation P509
type Q2057971
['Q5365644', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { resource:Q5365644 property:P509 ?l . ?l rdf:type ontology:Q2057971 }
Elliott Danforth
action filter_type
action find
entity Elliott Danforth
relation cause of death
type health problem
['Elliott Danforth', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { resource:Elliott_Danforth property:cause_of_death ?l . ?l rdf:type ontology:health_problem }
[]
health problem
Q12192
SYSTEM
pneumonia
Q12192
(Q5365644,P509,c(Q2057971))
action filter_type
action find
entity Q5365644
relation P509
type Q2057971
The cause of death of Elliott Danforth was born [ANSWER]
['Q5365644', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { resource:Q5365644 property:P509 ?l . ?l rdf:type ontology:Q2057971 }
pneumonia
The cause of death of Elliott Danforth was born pneumonia
pneumonia
action filter_type
action find
entity Elliott Danforth
relation cause of death
type health problem
['Elliott Danforth', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { resource:Elliott_Danforth property:cause_of_death ?l . ?l rdf:type ontology:health_problem }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q100989
Q2057971
USER
And what about Hubert von Meyerinck?
(Q100989,P509,c(Q2057971))
action filter_type
action find
entity Q100989
relation P509
type Q2057971
['Q100989', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { resource:Q100989 property:P509 ?l . ?l rdf:type ontology:Q2057971 }
Hubert von Meyerinck
action filter_type
action find
entity Hubert von Meyerinck
relation cause of death
type health problem
['Hubert von Meyerinck', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { resource:Hubert_von_Meyerinck property:cause_of_death ?l . ?l rdf:type ontology:health_problem }
[]
health problem
Q181754
SYSTEM
heart failure
Q181754
(Q100989,P509,c(Q2057971))
action filter_type
action find
entity Q100989
relation P509
type Q2057971
[ANSWER]
['Q100989', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { resource:Q100989 property:P509 ?l . ?l rdf:type ontology:Q2057971 }
heart failure
heart failure
action filter_type
action find
entity Hubert von Meyerinck
relation cause of death
type health problem
['Hubert von Meyerinck', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { resource:Hubert_von_Meyerinck property:cause_of_death ?l . ?l rdf:type ontology:health_problem }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P248
Q2342494 Q5292 Q43229
USER
Which organizations have been referred in approximately 1 collectables and encyclopedias ?
(c(Q43229),P248,c(Q2342494)|c(Q5292))
action approx
action union
action find_tuple_counts
relation P248
type Q43229
type Q2342494
action find_tuple_counts
relation P248
type Q43229
type Q5292
value 1
[{'concept': 'Q43229'}, 'P248', [{'concept': 'Q2342494'}, {'concept': 'Q5292'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) ?c WHERE { { ?c property:P248 ?b . ?c rdf:type ontology:Q43229 . ?b rdf:type ontology:Q5292 } UNION { ?c property:P248 ?b . ?c rdf:type ontology:Q43229 . ?b rdf:type ontology:Q2342494 } } GROUP BY ?c } . FILTER ( ?d = 1 ) }
action approx
action union
action find_tuple_counts
relation stated in
type organization
type collectable
action find_tuple_counts
relation stated in
type organization
type encyclopedia
value 1
[{'concept': 'organization'}, 'stated in', [{'concept': 'collectable'}, {'concept': 'encyclopedia'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) ?c WHERE { { ?c property:stated_in ?b . ?c rdf:type ontology:organization . ?b rdf:type ontology:encyclopedia } UNION { ?c property:stated_in ?b . ?c rdf:type ontology:organization . ?b rdf:type ontology:collectable } } GROUP BY ?c } . FILTER ( ?d = 1 ) }
[]
collectable encyclopedia organization
Q12105874
SYSTEM
Zaporozhye aluminium combine
Q12105874
(c(Q43229),P248,c(Q2342494)|c(Q5292))
action approx
action union
action find_tuple_counts
relation P248
type Q43229
type Q2342494
action find_tuple_counts
relation P248
type Q43229
type Q5292
value 1
[ANSWER] have been referred in approximately 1 collectables and encyclopedias
[{'concept': 'Q43229'}, 'P248', [{'concept': 'Q2342494'}, {'concept': 'Q5292'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) ?c WHERE { { ?c property:P248 ?b . ?c rdf:type ontology:Q43229 . ?b rdf:type ontology:Q5292 } UNION { ?c property:P248 ?b . ?c rdf:type ontology:Q43229 . ?b rdf:type ontology:Q2342494 } } GROUP BY ?c } . FILTER ( ?d = 1 ) }
Zaporozhye aluminium combine
Zaporozhye aluminium combine have been referred in approximately 1 collectables and encyclopedias
Zaporozhye aluminium combine
action approx
action union
action find_tuple_counts
relation stated in
type organization
type collectable
action find_tuple_counts
relation stated in
type organization
type encyclopedia
value 1
[{'concept': 'organization'}, 'stated in', [{'concept': 'collectable'}, {'concept': 'encyclopedia'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) ?c WHERE { { ?c property:stated_in ?b . ?c rdf:type ontology:organization . ?b rdf:type ontology:encyclopedia } UNION { ?c property:stated_in ?b . ?c rdf:type ontology:organization . ?b rdf:type ontology:collectable } } GROUP BY ?c } . FILTER ( ?d = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q181754
P828
Q7189713
USER
What is the result of having heart failure ?
(c(Q7189713),P828,Q181754)
action filter_type
action find_reverse
entity Q181754
relation P828
type Q7189713
[{'concept': 'Q7189713'}, 'P828', 'Q181754']
SELECT DISTINCT ?w WHERE { ?w property:P828 resource:Q181754 . ?w rdf:type ontology:Q7189713 }
heart failure
action filter_type
action find_reverse
entity heart failure
relation has cause
type physiological condition
[{'concept': 'physiological condition'}, 'has cause', 'heart failure']
SELECT DISTINCT ?w WHERE { ?w property:has_cause resource:heart_failure . ?w rdf:type ontology:physiological_condition }
[]
physiological condition
Q649122
SYSTEM
Jugular venous pressure
Q649122
(c(Q7189713),P828,Q181754)
action filter_type
action find_reverse
entity Q181754
relation P828
type Q7189713
The result of having heart failure is [ANSWER]
[{'concept': 'Q7189713'}, 'P828', 'Q181754']
SELECT DISTINCT ?w WHERE { ?w property:P828 resource:Q181754 . ?w rdf:type ontology:Q7189713 }
Jugular venous pressure
The result of having heart failure is Jugular venous pressure
Jugular venous pressure
action filter_type
action find_reverse
entity heart failure
relation has cause
type physiological condition
[{'concept': 'physiological condition'}, 'has cause', 'heart failure']
SELECT DISTINCT ?w WHERE { ?w property:has_cause resource:heart_failure . ?w rdf:type ontology:physiological_condition }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q12105874
P248
Q223393 Q2342494
USER
How many literary genres and collectables are Zaporozhye aluminium combine mentioned in ?
(Q12105874,P248,c(Q223393)) (Q12105874,P248,c(Q2342494))
action count
action union
action filter_type
action find
entity Q12105874
relation P248
type Q223393
action filter_type
action find
entity Q12105874
relation P248
type Q2342494
['Q12105874', 'P248', {'concept': 'Q223393'}] ['Q12105874', 'P248', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { { resource:Q12105874 property:P248 ?i . ?i rdf:type ontology:Q223393 } UNION { resource:Q12105874 property:P248 ?i . ?i rdf:type ontology:Q2342494 } }
Zaporozhye aluminium combine
action count
action union
action filter_type
action find
entity Zaporozhye aluminium combine
relation stated in
type literary genre
action filter_type
action find
entity Zaporozhye aluminium combine
relation stated in
type collectable
['Zaporozhye aluminium combine', 'stated in', {'concept': 'literary genre'}] ['Zaporozhye aluminium combine', 'stated in', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { { resource:Zaporozhye_aluminium_combine property:stated_in ?i . ?i rdf:type ontology:literary_genre } UNION { resource:Zaporozhye_aluminium_combine property:stated_in ?i . ?i rdf:type ontology:collectable } }
[]
literary genre collectable
SYSTEM
1 literary genres and 1 collectables
Q2478929 Q4532152
(Q12105874,P248,c(Q223393)) (Q12105874,P248,c(Q2342494))
action count
action union
action filter_type
action find
entity Q12105874
relation P248
type Q223393
action filter_type
action find
entity Q12105874
relation P248
type Q2342494
[ANSWER]
['Q12105874', 'P248', {'concept': 'Q223393'}] ['Q12105874', 'P248', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { { resource:Q12105874 property:P248 ?i . ?i rdf:type ontology:Q223393 } UNION { resource:Q12105874 property:P248 ?i . ?i rdf:type ontology:Q2342494 } }
Ukrainian Soviet Encyclopedia Encyclopedia of Modern Ukraine
1 literary genres and 1 collectables
action count
action union
action filter_type
action find
entity Zaporozhye aluminium combine
relation stated in
type literary genre
action filter_type
action find
entity Zaporozhye aluminium combine
relation stated in
type collectable
['Zaporozhye aluminium combine', 'stated in', {'concept': 'literary genre'}] ['Zaporozhye aluminium combine', 'stated in', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { { resource:Zaporozhye_aluminium_combine property:stated_in ?i . ?i rdf:type ontology:literary_genre } UNION { resource:Zaporozhye_aluminium_combine property:stated_in ?i . ?i rdf:type ontology:collectable } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q681970
P1542
Q2057971 Q181394 Q12136
USER
Which health problems are caused by around the same number of nutrients or diseases as contagious pustular dermatitis ?
(c(Q181394)|c(Q12136),P1542,c(Q2057971))
action approx
action union
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q181394
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q12136
action count
action filter_multi_types
action find_reverse
entity Q681970
relation P1542
type Q181394
type Q12136
[[{'concept': 'Q181394'}, {'concept': 'Q12136'}], 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:P1542 ?n . ?u rdf:type ontology:Q181394 . ?n rdf:type ontology:Q2057971 } UNION { ?u property:P1542 ?n . ?n rdf:type ontology:Q2057971 . ?u rdf:type ontology:Q12136 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:P1542 resource:Q681970 . { { ?y rdf:type ontology:Q181394 } UNION { ?y rdf:type ontology:Q12136 } } } } . FILTER ( ?z = ?x ) }
contagious pustular dermatitis
action approx
action union
action find_reverse_tuple_counts
relation cause of
type health problem
type nutrient
action find_reverse_tuple_counts
relation cause of
type health problem
type disease
action count
action filter_multi_types
action find_reverse
entity contagious pustular dermatitis
relation cause of
type nutrient
type disease
[[{'concept': 'nutrient'}, {'concept': 'disease'}], 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:cause_of ?n . ?u rdf:type ontology:nutrient . ?n rdf:type ontology:health_problem } UNION { ?u property:cause_of ?n . ?n rdf:type ontology:health_problem . ?u rdf:type ontology:disease } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:cause_of resource:contagious_pustular_dermatitis . { { ?y rdf:type ontology:nutrient } UNION { ?y rdf:type ontology:disease } } } } . FILTER ( ?z = ?x ) }
[]
health problem nutrient disease
Q35869 Q12214 Q12152
SYSTEM
asthma, smallpox, myocardial infarction
Q2603200 Q949694 Q83319 Q3108587 Q2068896 Q18554029 Q154865 Q2346396 Q188638 Q10874 Q864868 Q7157933 Q154869 Q3513968 Q1476027 Q2373361 Q1194496 Q5334259 Q548213 Q2447562 Q3776920 Q18555098 Q35869 Q3073142 Q243257 Q5062120 Q5062122 Q614279 Q694552 Q1928978 Q2700304 Q2845432 Q963944 Q18324719 Q160653 Q4413030 Q443929 Q2300099 Q3084532 Q738292 Q928697 Q623031 Q1856914 Q857667 Q846316 Q1282114 Q646664 Q3339235 Q783903 Q28693 Q4958833 Q2140729 Q393477 Q574905 Q12214 Q279330 Q2840 Q468433 Q12090 Q3089469 Q6159042 Q18553251 Q134649 Q18553273 Q18553252 Q2059411 Q719656 Q4690047 Q203133 Q551085 Q7314317 Q823027 Q192102 Q5459411 Q12135 Q748442 Q18555101 Q319315 Q992139 Q3197774 Q327005 Q570197 Q631361 Q17120992 Q190564 Q576179 Q1531991 Q16242752 Q156103 Q2681162 Q154882 Q2608695 Q17083186 Q852376 Q200779 Q18556080 Q353172 Q941770 Q201989 Q682798 Q1427959 Q3367106 Q193216 Q18558169 Q5090486 Q12156 Q47790 Q159701 Q481392 Q190805 Q422268 Q7235947 Q18123741 Q804521 Q176741 Q2425407 Q496812 Q692536 Q3049302 Q18553274 Q18553742 Q2076966 Q979168 Q1128440 Q2879095 Q18554767 Q326643 Q5380626 Q727028 Q18553170 Q167264 Q160649 Q30953 Q4116663 Q1502312 Q18924547 Q6853 Q1054718 Q8071861 Q705906 Q11072 Q504775 Q1233526 Q178194 Q5384031 Q3011658 Q1030785 Q173022 Q767485 Q1048101 Q202173 Q812671 Q2589418 Q1243869 Q9430213 Q3798547 Q12152 Q1416773 Q188605 Q18975031 Q18554367 Q219223 Q153861 Q105688 Q769815 Q327298 Q639776 Q1878776 Q378681 Q1290616 Q431643 Q41083 Q178436 Q2906693 Q931323 Q4366062 Q21504985 Q2868696 Q18975539 Q890200 Q1750104 Q5196693 Q53829 Q31798 Q5506384 Q744387 Q18554000 Q18555271 Q895297 Q18553191 Q18554485 Q18553197 Q18553216 Q922927 Q18553198 Q970203 Q12204 Q4845643 Q101896 Q103177 Q134859 Q32446 Q1347256 Q272436 Q12125 Q6587253 Q2741820 Q18554606 Q794086 Q585285 Q681970 Q567660 Q18556970 Q12199 Q316180 Q153356 Q1066011 Q651223 Q476921 Q12192 Q1347065 Q1432397 Q76973 Q29496 Q506616 Q7053975 Q36956 Q202758 Q21109885 Q11627066 Q18554418 Q18554419 Q18975606 Q18971555 Q18554659 Q576349 Q326638 Q154874 Q18553284 Q199615 Q133780 Q1632552 Q6663796 Q1433212 Q129104 Q5274956 Q1570013 Q3902759 Q1553609
(c(Q181394)|c(Q12136),P1542,c(Q2057971))
action approx
action union
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q181394
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q12136
action count
action filter_multi_types
action find_reverse
entity Q681970
relation P1542
type Q181394
type Q12136
[ANSWERS] are caused by around the same number of nutrients or diseases as contagious pustular dermatitis
[[{'concept': 'Q181394'}, {'concept': 'Q12136'}], 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:P1542 ?n . ?u rdf:type ontology:Q181394 . ?n rdf:type ontology:Q2057971 } UNION { ?u property:P1542 ?n . ?n rdf:type ontology:Q2057971 . ?u rdf:type ontology:Q12136 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:P1542 resource:Q681970 . { { ?y rdf:type ontology:Q181394 } UNION { ?y rdf:type ontology:Q12136 } } } } . FILTER ( ?z = ?x ) }
viral pneumonia amebiasis typhoid fever pigmentary glaucoma drug allergy pseudomembranous conjunctivitis botulism iritis mood disorder blindness bone marrow suppression peanut allergy hepatitis C corneal opacity lymphangitis nut allergy scrub typhus parasitic ectoparasitic infectious disease neural tube defect balantidiasis bacterial pneumonia sensory peripheral neuropathy asthma Pontiac fever chikungunya central nervous system depression central nervous system disease louping ill lymphogranuloma venereum viral infectious disease Bolivian hemorrhagic fever ehrlichiosis melioidosis Chapare hemorrhagic fever listeriosis wheat allergy dirofilariasis gastrointestinal system disease endemic typhus Japanese encephalitis sensorineural hearing loss liver cancer nocardiosis pulmonary edema aplastic anemia speech disorder rickettsiosis nervous system disease contact dermatitis miscarriage Brazilian hemorrhagic fever fasciolopsiasis trench fever Clostridium difficile colitis smallpox bronchial disease influenza anosmia Cholera sequelae Japanese spotted fever wound botulism diphtheria aneruptive fever infant botulism Black piedra fascioliasis African tick-bite fever sleeping sickness myelitis reproductive system disease disseminated intravascular coagulation skin cancer Flinders Island spotted fever mental disorder methemoglobinemia tooth erosion Colorado tick fever human granulocytic anaplasmosis klebsiellosis glanders proteinuria diabetic retinopathy Hyperglycerolemia Huntington's disease egg allergy Parkinsonian syndrome allergic contact dermatitis gastroenteritis eye injury Legionnaires' disease movement disease obstructive sleep apnea seizure genetic disease cranial nerve palsy parasitic protozoa infectious disease proctitis Lyme disease bejel dental fluorosis parvovirus infectious disease trachoma Venezuelan equine encephalitis toxic pneumonitis malaria tetanus glaucoma theileriasis heart disease actinomycosis Powassan encephalitis infectious disease bacterial vaginosis mumps Acute tubular necrosis leukopenia myopathy human monocytic ehrlichiosis sennetsu fever chromosomal disease cytomegalia brain edema toxic shock syndrome optic nerve disease Brucella melitensis brucellosis hepatitis E Entomophthoramycosis bacterial infectious disease Astrakhan spotted fever Marburg hemorrhagic fever typhus dengue fever musculoskeletal system disease polyneuropathy Rocio virus encephalitis hepatitis B kidney disease Zika fever paratyphoid fever amnestic disorder urinary bladder cancer osteosclerosis cystic fibrosis Epstein–Barr virus infection dacryocystocele demodicosis bronchitis respiratory failure rickettsialpox hordeolum bacillary angiomatosis pasteurellosis Treponematosis borna disease Haverhill fever myocardial infarction granuloma inguinale pulmonary emphysema basal cell carcinoma respiratory syncytial virus infectious disease lactose intolerance tularemia hypoxia food allergy shigellosis cat-scratch disease lymphocytic choriomeningitis peripheral artery disease epidemic typhus microcephaly syphilis constipation baritosis nephropathia epidemica Pneumococcal infection lewisite shock pain agnosia toxic encephalopathy Coagulopathy Carrion's disease Cutaneous diphtheria infection Thyroid nodule chancroid fruit allergy Rocky Mountain spotted fever Brucella suis brucellosis acute kidney failure boutonneuse fever Indian tick typhus diphtheritic peritonitis Israeli tick typhus intestinal botulism primary amebic meningoencephalitis Far Eastern spotted fever milk allergy tuberculosis rhinosporidiosis gonorrhea severe acute respiratory syndrome pertussis pulmonary fibrosis excessive tearing allergic rhinitis common cold Queensland tick typhus Omsk hemorrhagic fever inclusion conjunctivitis hypokalemia thrombocytopenia contagious pustular dermatitis St. Louis encephalitis optic atrophy acquired immunodeficiency syndrome Pseudorabies chlamydia cowpox pneumoconiosis kidney failure pneumonia epiglottitis Kyasanur forest disease yaws leukemia drowning Siberian tick typhus leprosy hypoglycemia chronic respiratory disease West Nile fever louse-borne relapsing fever tick-borne relapsing fever Fusobacterium infectious disease obstructive lung disease Brucella canis brucellosis brain disease Rift Valley fever yellow fever O'nyong'nyong fever encephalitis plague hyperostosis Lobomycosis myositis anthrax disease dientamoebiasis thrombophilia white piedra Canine parvovirus
Asthma, smallpox and myocardial infarction are caused by around the same number of nutrients or diseases as contagious pustular dermatitis
asthma smallpox myocardial infarction
action approx
action union
action find_reverse_tuple_counts
relation cause of
type health problem
type nutrient
action find_reverse_tuple_counts
relation cause of
type health problem
type disease
action count
action filter_multi_types
action find_reverse
entity contagious pustular dermatitis
relation cause of
type nutrient
type disease
[[{'concept': 'nutrient'}, {'concept': 'disease'}], 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:cause_of ?n . ?u rdf:type ontology:nutrient . ?n rdf:type ontology:health_problem } UNION { ?u property:cause_of ?n . ?n rdf:type ontology:health_problem . ?u rdf:type ontology:disease } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:cause_of resource:contagious_pustular_dermatitis . { { ?y rdf:type ontology:nutrient } UNION { ?y rdf:type ontology:disease } } } } . FILTER ( ?z = ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q5334259
P1542
Q2057971 Q181394 Q12136
USER
And also tell me about parasitic ectoparasitic infectious disease?
(c(Q181394)|c(Q12136),P1542,c(Q2057971))
action approx
action union
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q181394
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q12136
action count
action filter_multi_types
action find_reverse
entity Q5334259
relation P1542
type Q181394
type Q12136
[[{'concept': 'Q181394'}, {'concept': 'Q12136'}], 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?n ) WHERE { { ?p property:P1542 ?e . ?e rdf:type ontology:Q2057971 . ?p rdf:type ontology:Q181394 } UNION { ?e rdf:type ontology:Q2057971 . ?p rdf:type ontology:Q12136 . ?p property:P1542 ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { { ?x rdf:type ontology:Q181394 } UNION { ?x rdf:type ontology:Q12136 } } . ?x property:P1542 resource:Q5334259 } } . FILTER ( ?n = ?y ) }
parasitic ectoparasitic infectious disease
action approx
action union
action find_reverse_tuple_counts
relation cause of
type health problem
type nutrient
action find_reverse_tuple_counts
relation cause of
type health problem
type disease
action count
action filter_multi_types
action find_reverse
entity parasitic ectoparasitic infectious disease
relation cause of
type nutrient
type disease
[[{'concept': 'nutrient'}, {'concept': 'disease'}], 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?n ) WHERE { { ?p property:cause_of ?e . ?e rdf:type ontology:health_problem . ?p rdf:type ontology:nutrient } UNION { ?e rdf:type ontology:health_problem . ?p rdf:type ontology:disease . ?p property:cause_of ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { { ?x rdf:type ontology:nutrient } UNION { ?x rdf:type ontology:disease } } . ?x property:cause_of resource:parasitic_ectoparasitic_infectious_disease } } . FILTER ( ?n = ?y ) }
[]
health problem nutrient disease
Q35869 Q12214 Q12152
SYSTEM
asthma, smallpox, myocardial infarction
Q2603200 Q949694 Q83319 Q3108587 Q2068896 Q18554029 Q154865 Q2346396 Q188638 Q10874 Q864868 Q7157933 Q154869 Q3513968 Q1476027 Q2373361 Q1194496 Q5334259 Q548213 Q2447562 Q3776920 Q18555098 Q35869 Q3073142 Q243257 Q5062120 Q5062122 Q614279 Q694552 Q1928978 Q2700304 Q2845432 Q963944 Q18324719 Q160653 Q4413030 Q443929 Q2300099 Q3084532 Q738292 Q928697 Q623031 Q1856914 Q857667 Q846316 Q1282114 Q646664 Q3339235 Q783903 Q28693 Q4958833 Q2140729 Q393477 Q574905 Q12214 Q279330 Q2840 Q468433 Q12090 Q3089469 Q6159042 Q18553251 Q134649 Q18553273 Q18553252 Q2059411 Q719656 Q4690047 Q203133 Q551085 Q7314317 Q823027 Q192102 Q5459411 Q12135 Q748442 Q18555101 Q319315 Q992139 Q3197774 Q327005 Q570197 Q631361 Q17120992 Q190564 Q576179 Q1531991 Q16242752 Q156103 Q2681162 Q154882 Q2608695 Q17083186 Q852376 Q200779 Q18556080 Q353172 Q941770 Q201989 Q682798 Q1427959 Q3367106 Q193216 Q18558169 Q5090486 Q12156 Q47790 Q159701 Q481392 Q190805 Q422268 Q7235947 Q18123741 Q804521 Q176741 Q2425407 Q496812 Q692536 Q3049302 Q18553274 Q18553742 Q2076966 Q979168 Q1128440 Q2879095 Q18554767 Q326643 Q5380626 Q727028 Q18553170 Q167264 Q160649 Q30953 Q4116663 Q1502312 Q18924547 Q6853 Q1054718 Q8071861 Q705906 Q11072 Q504775 Q1233526 Q178194 Q5384031 Q3011658 Q1030785 Q173022 Q767485 Q1048101 Q202173 Q812671 Q2589418 Q1243869 Q9430213 Q3798547 Q12152 Q1416773 Q188605 Q18975031 Q18554367 Q219223 Q153861 Q105688 Q769815 Q327298 Q639776 Q1878776 Q378681 Q1290616 Q431643 Q41083 Q178436 Q2906693 Q931323 Q4366062 Q21504985 Q2868696 Q18975539 Q890200 Q1750104 Q5196693 Q53829 Q31798 Q5506384 Q744387 Q18554000 Q18555271 Q895297 Q18553191 Q18554485 Q18553197 Q18553216 Q922927 Q18553198 Q970203 Q12204 Q4845643 Q101896 Q103177 Q134859 Q32446 Q1347256 Q272436 Q12125 Q6587253 Q2741820 Q18554606 Q794086 Q585285 Q681970 Q567660 Q18556970 Q12199 Q316180 Q153356 Q1066011 Q651223 Q476921 Q12192 Q1347065 Q1432397 Q76973 Q29496 Q506616 Q7053975 Q36956 Q202758 Q21109885 Q11627066 Q18554418 Q18554419 Q18975606 Q18971555 Q18554659 Q576349 Q326638 Q154874 Q18553284 Q199615 Q133780 Q1632552 Q6663796 Q1433212 Q129104 Q5274956 Q1570013 Q3902759 Q1553609
(c(Q181394)|c(Q12136),P1542,c(Q2057971))
action approx
action union
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q181394
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q12136
action count
action filter_multi_types
action find_reverse
entity Q5334259
relation P1542
type Q181394
type Q12136
[ANSWERS]
[[{'concept': 'Q181394'}, {'concept': 'Q12136'}], 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?n ) WHERE { { ?p property:P1542 ?e . ?e rdf:type ontology:Q2057971 . ?p rdf:type ontology:Q181394 } UNION { ?e rdf:type ontology:Q2057971 . ?p rdf:type ontology:Q12136 . ?p property:P1542 ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { { ?x rdf:type ontology:Q181394 } UNION { ?x rdf:type ontology:Q12136 } } . ?x property:P1542 resource:Q5334259 } } . FILTER ( ?n = ?y ) }
viral pneumonia amebiasis typhoid fever pigmentary glaucoma drug allergy pseudomembranous conjunctivitis botulism iritis mood disorder blindness bone marrow suppression peanut allergy hepatitis C corneal opacity lymphangitis nut allergy scrub typhus parasitic ectoparasitic infectious disease neural tube defect balantidiasis bacterial pneumonia sensory peripheral neuropathy asthma Pontiac fever chikungunya central nervous system depression central nervous system disease louping ill lymphogranuloma venereum viral infectious disease Bolivian hemorrhagic fever ehrlichiosis melioidosis Chapare hemorrhagic fever listeriosis wheat allergy dirofilariasis gastrointestinal system disease endemic typhus Japanese encephalitis sensorineural hearing loss liver cancer nocardiosis pulmonary edema aplastic anemia speech disorder rickettsiosis nervous system disease contact dermatitis miscarriage Brazilian hemorrhagic fever fasciolopsiasis trench fever Clostridium difficile colitis smallpox bronchial disease influenza anosmia Cholera sequelae Japanese spotted fever wound botulism diphtheria aneruptive fever infant botulism Black piedra fascioliasis African tick-bite fever sleeping sickness myelitis reproductive system disease disseminated intravascular coagulation skin cancer Flinders Island spotted fever mental disorder methemoglobinemia tooth erosion Colorado tick fever human granulocytic anaplasmosis klebsiellosis glanders proteinuria diabetic retinopathy Hyperglycerolemia Huntington's disease egg allergy Parkinsonian syndrome allergic contact dermatitis gastroenteritis eye injury Legionnaires' disease movement disease obstructive sleep apnea seizure genetic disease cranial nerve palsy parasitic protozoa infectious disease proctitis Lyme disease bejel dental fluorosis parvovirus infectious disease trachoma Venezuelan equine encephalitis toxic pneumonitis malaria tetanus glaucoma theileriasis heart disease actinomycosis Powassan encephalitis infectious disease bacterial vaginosis mumps Acute tubular necrosis leukopenia myopathy human monocytic ehrlichiosis sennetsu fever chromosomal disease cytomegalia brain edema toxic shock syndrome optic nerve disease Brucella melitensis brucellosis hepatitis E Entomophthoramycosis bacterial infectious disease Astrakhan spotted fever Marburg hemorrhagic fever typhus dengue fever musculoskeletal system disease polyneuropathy Rocio virus encephalitis hepatitis B kidney disease Zika fever paratyphoid fever amnestic disorder urinary bladder cancer osteosclerosis cystic fibrosis Epstein–Barr virus infection dacryocystocele demodicosis bronchitis respiratory failure rickettsialpox hordeolum bacillary angiomatosis pasteurellosis Treponematosis borna disease Haverhill fever myocardial infarction granuloma inguinale pulmonary emphysema basal cell carcinoma respiratory syncytial virus infectious disease lactose intolerance tularemia hypoxia food allergy shigellosis cat-scratch disease lymphocytic choriomeningitis peripheral artery disease epidemic typhus microcephaly syphilis constipation baritosis nephropathia epidemica Pneumococcal infection lewisite shock pain agnosia toxic encephalopathy Coagulopathy Carrion's disease Cutaneous diphtheria infection Thyroid nodule chancroid fruit allergy Rocky Mountain spotted fever Brucella suis brucellosis acute kidney failure boutonneuse fever Indian tick typhus diphtheritic peritonitis Israeli tick typhus intestinal botulism primary amebic meningoencephalitis Far Eastern spotted fever milk allergy tuberculosis rhinosporidiosis gonorrhea severe acute respiratory syndrome pertussis pulmonary fibrosis excessive tearing allergic rhinitis common cold Queensland tick typhus Omsk hemorrhagic fever inclusion conjunctivitis hypokalemia thrombocytopenia contagious pustular dermatitis St. Louis encephalitis optic atrophy acquired immunodeficiency syndrome Pseudorabies chlamydia cowpox pneumoconiosis kidney failure pneumonia epiglottitis Kyasanur forest disease yaws leukemia drowning Siberian tick typhus leprosy hypoglycemia chronic respiratory disease West Nile fever louse-borne relapsing fever tick-borne relapsing fever Fusobacterium infectious disease obstructive lung disease Brucella canis brucellosis brain disease Rift Valley fever yellow fever O'nyong'nyong fever encephalitis plague hyperostosis Lobomycosis myositis anthrax disease dientamoebiasis thrombophilia white piedra Canine parvovirus
asthma smallpox myocardial infarction
action approx
action union
action find_reverse_tuple_counts
relation cause of
type health problem
type nutrient
action find_reverse_tuple_counts
relation cause of
type health problem
type disease
action count
action filter_multi_types
action find_reverse
entity parasitic ectoparasitic infectious disease
relation cause of
type nutrient
type disease
[[{'concept': 'nutrient'}, {'concept': 'disease'}], 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?n ) WHERE { { ?p property:cause_of ?e . ?e rdf:type ontology:health_problem . ?p rdf:type ontology:nutrient } UNION { ?e rdf:type ontology:health_problem . ?p rdf:type ontology:disease . ?p property:cause_of ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { { ?x rdf:type ontology:nutrient } UNION { ?x rdf:type ontology:disease } } . ?x property:cause_of resource:parasitic_ectoparasitic_infectious_disease } } . FILTER ( ?n = ?y ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12078 Q5334259
P2176
Q8386
USER
Which drugs are used as an antidote for parasitic ectoparasitic infectious disease or cancer ?
OR((Q5334259,P2176,c(Q8386)), (Q12078,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q5334259
relation P2176
action find
entity Q12078
relation P2176
type Q8386
{'OR': [['Q5334259', 'P2176', {'concept': 'Q8386'}], ['Q12078', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q5334259 property:P2176 ?c } UNION { resource:Q12078 property:P2176 ?c } } . ?c rdf:type ontology:Q8386 }
cancer parasitic ectoparasitic infectious disease
action filter_type
action union
action find
entity parasitic ectoparasitic infectious disease
relation drug used for treatment
action find
entity cancer
relation drug used for treatment
type drug
{'OR': [['parasitic ectoparasitic infectious disease', 'drug used for treatment', {'concept': 'drug'}], ['cancer', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?c WHERE { { { resource:parasitic_ectoparasitic_infectious_disease property:drug_used_for_treatment ?c } UNION { resource:cancer property:drug_used_for_treatment ?c } } . ?c rdf:type ontology:drug }
[]
drug
Q419940 Q421052 Q7739 Q420296 Q420207 Q4830631 Q425470 Q963093 Q419394 Q7699074
SYSTEM
Some of them are dasatinib, Everolimus, Arsenic trioxide, Cetuximab, capecitabine, axitinib, pentostatin, sulindac, sevoflurane, temsirolimus
Q5186964 Q419319 Q15366934 Q11711607 Q419940 Q418702 Q417296 Q412534 Q4689286 Q420164 Q5134875 Q3891664 Q408801 Q3611854 Q139347 Q20801757 Q4882925 Q216935 Q186969 Q1592932 Q4567614 Q417222 Q420207 Q422232 Q190012 Q894611 Q412616 Q412323 Q5303688 Q415869 Q422252 Q421052 Q4391540 Q7083106 Q5984881 Q417775 Q424972 Q407541 Q3151081 Q241150 Q905901 Q1181878 Q1996756 Q425470 Q11426176 Q418819 Q238512 Q409665 Q7699074 Q905835 Q21011233 Q4830631 Q384295 Q413299 Q417555 Q419394 Q420296 Q7739 Q422222 Q32089 Q422112 Q2178381 Q6808975 Q2459042 Q412486 Q417824 Q412963 Q963093 Q421862 Q423111 Q13896859 Q5383794 Q1235195 Q410352 Q240642 Q423417 Q2070286 Q423762 Q423989
OR((Q5334259,P2176,c(Q8386)), (Q12078,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q5334259
relation P2176
action find
entity Q12078
relation P2176
type Q8386
[ANSWERS] are used as an antidote for parasitic ectoparasitic infectious disease or cancer
{'OR': [['Q5334259', 'P2176', {'concept': 'Q8386'}], ['Q12078', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q5334259 property:P2176 ?c } UNION { resource:Q12078 property:P2176 ?c } } . ?c rdf:type ontology:Q8386 }
crizotinib Bortezomib carfilzomib Ixabepilone dasatinib Basiliximab febuxostat carvedilol Aflibercept Alemtuzumab clofarabine regorafenib celecoxib alitretinoin Cholecalciferol Secretin Belinostat lidocaine ibuprofen Pegfilgrastim mycophenolate mofetil methylprednisolone capecitabine methotrexate adenosine bosutinib Trastuzumab Rituximab doxercalciferol carmustine dexamethasone Everolimus Interferon Alfa-2b, Recombinant olaparib ibrutinib Panitumumab prednisone fentanyl Filgrastim aminoglutethimide vorinostat decitabine enzalutamide pentostatin prednisolone exemestane 5-fluorouracil disulfiram temsirolimus plerixafor ceritinib axitinib gemfibrozil Bevacizumab teniposide sevoflurane Cetuximab Arsenic trioxide Digoxin Sirolimus methylphenidate Darbepoetin alfa megestrol acetate Ipilimumab allopurinol gefitinib cabazitaxel sulindac ribavirin vemurafenib Pembrolizumab Epoetin alfa Romiplostim gabapentin valproic acid Imiquimod vismodegib Paclitaxel diethylstilbestrol
Dasatinib, Everolimus, Arsenic trioxide, Cetuximab, capecitabine, axitinib, pentostatin, sulindac, sevoflurane and temsirolimus are used as an antidote for parasitic ectoparasitic infectious disease or cancer
dasatinib Everolimus Arsenic trioxide Cetuximab capecitabine axitinib pentostatin sulindac sevoflurane temsirolimus
action filter_type
action union
action find
entity parasitic ectoparasitic infectious disease
relation drug used for treatment
action find
entity cancer
relation drug used for treatment
type drug
{'OR': [['parasitic ectoparasitic infectious disease', 'drug used for treatment', {'concept': 'drug'}], ['cancer', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?c WHERE { { { resource:parasitic_ectoparasitic_infectious_disease property:drug_used_for_treatment ?c } UNION { resource:cancer property:drug_used_for_treatment ?c } } . ?c rdf:type ontology:drug }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7429586 Q5365644
P106
Q12737077
USER
Which occupations are the professions of Elliott Danforth or George Zorbas ?
OR((Q5365644,P106,c(Q12737077)), (Q7429586,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q5365644
relation P106
action find
entity Q7429586
relation P106
type Q12737077
{'OR': [['Q5365644', 'P106', {'concept': 'Q12737077'}], ['Q7429586', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q5365644 property:P106 ?i } UNION { resource:Q7429586 property:P106 ?i } } . ?i rdf:type ontology:Q12737077 }
George Zorbas Elliott Danforth
action filter_type
action union
action find
entity Elliott Danforth
relation occupation
action find
entity George Zorbas
relation occupation
type occupation
{'OR': [['Elliott Danforth', 'occupation', {'concept': 'occupation'}], ['George Zorbas', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Elliott_Danforth property:occupation ?i } UNION { resource:George_Zorbas property:occupation ?i } } . ?i rdf:type ontology:occupation }
[]
occupation
Q82955 Q820037
SYSTEM
politician, miner
Q82955 Q820037
OR((Q5365644,P106,c(Q12737077)), (Q7429586,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q5365644
relation P106
action find
entity Q7429586
relation P106
type Q12737077
The [ANSWERS] are the professions of Elliott Danforth or George Zorbas
{'OR': [['Q5365644', 'P106', {'concept': 'Q12737077'}], ['Q7429586', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q5365644 property:P106 ?i } UNION { resource:Q7429586 property:P106 ?i } } . ?i rdf:type ontology:Q12737077 }
politician miner
The politician and miner are the professions of Elliott Danforth or George Zorbas
politician miner
action filter_type
action union
action find
entity Elliott Danforth
relation occupation
action find
entity George Zorbas
relation occupation
type occupation
{'OR': [['Elliott Danforth', 'occupation', {'concept': 'occupation'}], ['George Zorbas', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Elliott_Danforth property:occupation ?i } UNION { resource:George_Zorbas property:occupation ?i } } . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7739
P769
Q8386
USER
Which drugs have a significant interaction with Arsenic trioxide ?
(c(Q8386),P769,Q7739)
action filter_type
action find
entity Q7739
relation P769
type Q8386
[{'concept': 'Q8386'}, 'P769', 'Q7739']
SELECT DISTINCT ?s WHERE { resource:Q7739 property:P769 ?s . ?s rdf:type ontology:Q8386 }
Arsenic trioxide
action filter_type
action find
entity Arsenic trioxide
relation significant drug interaction
type drug
[{'concept': 'drug'}, 'significant drug interaction', 'Arsenic trioxide']
SELECT DISTINCT ?s WHERE { resource:Arsenic_trioxide property:significant_drug_interaction ?s . ?s rdf:type ontology:drug }
[]
drug
Q407972 Q251347 Q144085
SYSTEM
chlorpromazine, haloperidol, pimozide
Q58375 Q41576 Q422418 Q408163 Q422438 Q10354103 Q3791612 Q407972 Q144085 Q6821618 Q424238 Q410011 Q412496 Q4890934 Q3712521 Q413591 Q976559 Q165399 Q423757 Q425295 Q425120 Q213511 Q408637 Q118551 Q251347 Q424940 Q417597 Q174259 Q419394 Q417909 Q947595 Q423437 Q409672 Q179996 Q410061 Q421381 Q416206
(c(Q8386),P769,Q7739)
action filter_type
action find
entity Q7739
relation P769
type Q8386
[ANSWERS] have a significant interaction with Arsenic trioxide
[{'concept': 'Q8386'}, 'P769', 'Q7739']
SELECT DISTINCT ?s WHERE { resource:Q7739 property:P769 ?s . ?s rdf:type ontology:Q8386 }
thioridazine cocaine sulpiride anagrelide chloroquine probucol ibutilide chlorpromazine pimozide mesoridazine domperidone ondansetron quinidine bepridil dofetilide sotalol Sparfloxacin Azithromycin escitalopram Cisapride Disopyramide Erythromycin dronedarone Clarithromycin haloperidol Moxifloxacin procainamide droperidol sevoflurane terfenadine Halofantrine astemizole citalopram methadone amiodarone flecainide Pentamidine
Chlorpromazine, haloperidol and pimozide have a significant interaction with Arsenic trioxide
chlorpromazine haloperidol pimozide
action filter_type
action find
entity Arsenic trioxide
relation significant drug interaction
type drug
[{'concept': 'drug'}, 'significant drug interaction', 'Arsenic trioxide']
SELECT DISTINCT ?s WHERE { resource:Arsenic_trioxide property:significant_drug_interaction ?s . ?s rdf:type ontology:drug }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q407972 Q251347 Q144085
P2175
Q2057971
USER
Which health problems are treated with those drugs ?
(Q407972,P2175,c(Q2057971)) (Q251347,P2175,c(Q2057971)) (Q144085,P2175,c(Q2057971))
action filter_type
action find
entity prev_answer
relation P2175
type Q2057971
['Q407972', 'P2175', {'concept': 'Q2057971'}] ['Q251347', 'P2175', {'concept': 'Q2057971'}] ['Q144085', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?b WHERE { ?q property:P2175 ?b . ?b rdf:type ontology:Q2057971 . VALUES ( ?q ) { ( resource:Q58375 ) ( resource:Q41576 ) ( resource:Q422418 ) } }
chlorpromazine haloperidol pimozide
action filter_type
action find
entity prev_answer
relation medical condition treated
type health problem
['chlorpromazine', 'medical condition treated', {'concept': 'health problem'}] ['haloperidol', 'medical condition treated', {'concept': 'health problem'}] ['pimozide', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?b WHERE { ?q property:medical_condition_treated ?b . ?b rdf:type ontology:health_problem . VALUES ( ?q ) { ( resource:thioridazine ) ( resource:cocaine ) ( resource:sulpiride ) } }
[]
health problem
Q131755 Q2157462 Q2157462
SYSTEM
bipolar disorder for 1st, schizophreniform disorder for 2nd, 3rd
Q424247 Q47790 Q2157462 Q1328833 Q544006 Q2157462 Q131755 Q191779 Q18555190 Q190564 Q191779 Q2157462
(Q407972,P2175,c(Q2057971)) (Q251347,P2175,c(Q2057971)) (Q144085,P2175,c(Q2057971))
action filter_type
action find
entity prev_answer
relation P2175
type Q2057971
[ANSWERS]
['Q407972', 'P2175', {'concept': 'Q2057971'}] ['Q251347', 'P2175', {'concept': 'Q2057971'}] ['Q144085', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?b WHERE { ?q property:P2175 ?b . ?b rdf:type ontology:Q2057971 . VALUES ( ?q ) { ( resource:Q58375 ) ( resource:Q41576 ) ( resource:Q422418 ) } }
acute intermittent porphyria tetanus schizophreniform disorder oppositional defiant disorder anxiety disorder schizophreniform disorder bipolar disorder Gilles de la Tourette syndrome transient tic disorder Huntington's disease Gilles de la Tourette syndrome schizophreniform disorder
Bipolar disorder, schizophreniform disorder and schizophreniform disorder are treated with those drugs
bipolar disorder schizophreniform disorder schizophreniform disorder
action filter_type
action find
entity prev_answer
relation medical condition treated
type health problem
['chlorpromazine', 'medical condition treated', {'concept': 'health problem'}] ['haloperidol', 'medical condition treated', {'concept': 'health problem'}] ['pimozide', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?b WHERE { ?q property:medical_condition_treated ?b . ?b rdf:type ontology:health_problem . VALUES ( ?q ) { ( resource:thioridazine ) ( resource:cocaine ) ( resource:sulpiride ) } }
[]