Simple Question (Direct)
Simple Question
Q3990931
P86
Q502895
USER
Who wrote the music for Thunder Warrior ?
(Q3990931,P86,c(Q502895))
action filter_type
action find
entity Q3990931
relation P86
type Q502895
['Q3990931', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3990931 property:P86 ?w . ?w rdf:type ontology:Q502895 }
Thunder Warrior
action filter_type
action find
entity Thunder Warrior
relation composer
type common name
['Thunder Warrior', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Thunder_Warrior property:composer ?w . ?w rdf:type ontology:common_name }
[]
common name
Q323977
SYSTEM
Francesco De Masi
Q323977
(Q3990931,P86,c(Q502895))
action filter_type
action find
entity Q3990931
relation P86
type Q502895
[ANSWER] wrote the music for Thunder Warrior
['Q3990931', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3990931 property:P86 ?w . ?w rdf:type ontology:Q502895 }
Francesco De Masi
Francesco De Masi wrote the music for Thunder Warrior
Francesco De Masi
action filter_type
action find
entity Thunder Warrior
relation composer
type common name
['Thunder Warrior', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Thunder_Warrior property:composer ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q323977
P509
Q12136
USER
Which disease was the cause of death of that person ?
(Q323977,P509,c(Q12136))
action filter_type
action find
entity Q323977
relation P509
type Q12136
['Q323977', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ?c WHERE { resource:Q323977 property:P509 ?c . ?c rdf:type ontology:Q12136 }
Francesco De Masi
action filter_type
action find
entity Francesco De Masi
relation cause of death
type disease
['Francesco De Masi', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ?c WHERE { resource:Francesco_De_Masi property:cause_of_death ?c . ?c rdf:type ontology:disease }
[]
disease
Q12078
SYSTEM
cancer
Q12078
(Q323977,P509,c(Q12136))
action filter_type
action find
entity Q323977
relation P509
type Q12136
[ANSWER] was the cause of death of that person
['Q323977', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ?c WHERE { resource:Q323977 property:P509 ?c . ?c rdf:type ontology:Q12136 }
cancer
Cancer was the cause of death of that person
cancer
action filter_type
action find
entity Francesco De Masi
relation cause of death
type disease
['Francesco De Masi', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ?c WHERE { resource:Francesco_De_Masi property:cause_of_death ?c . ?c rdf:type ontology:disease }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q12078 Q2508333
P509
Q502895
USER
Did Valentin Härtl die from that disease ?
(Q2508333,P509,Q12078)
action is_in
entity Q2508333
action find
entity Q12078
relation P509
['Q2508333', 'P509', 'Q12078']
ASK WHERE { resource:Q12078 property:P509 resource:Q2508333 }
cancer Valentin Härtl
action is_in
entity Valentin Härtl
action find
entity cancer
relation cause of death
['Valentin Härtl', 'cause of death', 'cancer']
ASK WHERE { resource:cancer property:cause_of_death resource:Valentin_Härtl }
[]
common name
SYSTEM
NO
(Q2508333,P509,Q12078)
action is_in
entity Q2508333
action find
entity Q12078
relation P509
[ANSWER]
['Q2508333', 'P509', 'Q12078']
ASK WHERE { resource:Q12078 property:P509 resource:Q2508333 }
No
action is_in
entity Valentin Härtl
action find
entity cancer
relation cause of death
['Valentin Härtl', 'cause of death', 'cancer']
ASK WHERE { resource:cancer property:cause_of_death resource:Valentin_Härtl }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q323977 Q38 Q254148
P27
Q15617994
USER
Is Francesco De Masi a civilian of Italy and Icking ?
(Q323977,P27,Q38) (Q323977,P27,Q254148)
action is_in
entity Q323977
action intersection
action find_reverse
entity Q38
relation P27
action find_reverse
entity Q254148
relation P27
['Q323977', 'P27', 'Q38'] ['Q323977', 'P27', 'Q254148']
ASK WHERE { resource:Q323977 property:P27 resource:Q38 . resource:Q323977 property:P27 resource:Q254148 }
Francesco De Masi Italy Icking
action is_in
entity Francesco De Masi
action intersection
action find_reverse
entity Italy
relation country of citizenship
action find_reverse
entity Icking
relation country of citizenship
['Francesco De Masi', 'country of citizenship', 'Italy'] ['Francesco De Masi', 'country of citizenship', 'Icking']
ASK WHERE { resource:Francesco_De_Masi property:country_of_citizenship resource:Italy . resource:Francesco_De_Masi property:country_of_citizenship resource:Icking }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q323977,P27,Q38) (Q323977,P27,Q254148)
action is_in
entity Q323977
action intersection
action find_reverse
entity Q38
relation P27
action find_reverse
entity Q254148
relation P27
[ANSWER]
['Q323977', 'P27', 'Q38'] ['Q323977', 'P27', 'Q254148']
ASK WHERE { resource:Q323977 property:P27 resource:Q38 . resource:Q323977 property:P27 resource:Q254148 }
YES and NO respectively
action is_in
entity Francesco De Masi
action intersection
action find_reverse
entity Italy
relation country of citizenship
action find_reverse
entity Icking
relation country of citizenship
['Francesco De Masi', 'country of citizenship', 'Italy'] ['Francesco De Masi', 'country of citizenship', 'Icking']
ASK WHERE { resource:Francesco_De_Masi property:country_of_citizenship resource:Italy . resource:Francesco_De_Masi property:country_of_citizenship resource:Icking }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q323977
P1196
Q1931388
USER
What manner did that person die ?
action filter_type
action find
entity Q323977
relation P1196
type Q1931388
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1931388 . resource:Q323977 property:P1196 ?f }
Francesco De Masi
action filter_type
action find
entity Francesco De Masi
relation manner of death
type cause of death
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:cause_of_death . resource:Francesco_De_Masi property:manner_of_death ?f }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
action filter_type
action find
entity Q323977
relation P1196
type Q1931388
That person died in [ANSWER]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1931388 . resource:Q323977 property:P1196 ?f }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Francesco De Masi
relation manner of death
type cause of death
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:cause_of_death . resource:Francesco_De_Masi property:manner_of_death ?f }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P828
Q12136 Q12136
USER
Which diseases causes min number of diseases ?
(c(Q12136),P828,Q205972)
action argmin
action find_reverse_tuple_counts
relation P828
type Q12136
type Q12136
[{'concept': 'Q12136'}, 'P828', 'Q205972']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?d ) { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:P828 ?l . ?l rdf:type ontology:Q12136 . ?i rdf:type ontology:Q12136 } GROUP BY ?l } } . { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:P828 ?q . ?q rdf:type ontology:Q12136 . ?n rdf:type ontology:Q12136 } GROUP BY ?q } . FILTER ( ?a = ?d ) }
action argmin
action find_reverse_tuple_counts
relation has cause
type disease
type disease
[{'concept': 'disease'}, 'has cause', 'drunkenness']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?d ) { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:has_cause ?l . ?l rdf:type ontology:disease . ?i rdf:type ontology:disease } GROUP BY ?l } } . { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:has_cause ?q . ?q rdf:type ontology:disease . ?n rdf:type ontology:disease } GROUP BY ?q } . FILTER ( ?a = ?d ) }
[]
disease disease
Q110315 Q125367 Q945238
SYSTEM
lead poisoning, carbon monoxide poisoning, peripheral neuropathy
Q945238 Q1266401 Q4778771 Q1778287 Q33487 Q110315 Q2655893 Q18924571 Q1431933 Q41392 Q523893 Q460591 Q2866610 Q125367 Q205972
(c(Q12136),P828,Q205972)
action argmin
action find_reverse_tuple_counts
relation P828
type Q12136
type Q12136
[ANSWERS] cause min number of diseases
[{'concept': 'Q12136'}, 'P828', 'Q205972']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?d ) { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:P828 ?l . ?l rdf:type ontology:Q12136 . ?i rdf:type ontology:Q12136 } GROUP BY ?l } } . { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:P828 ?q . ?q rdf:type ontology:Q12136 . ?n rdf:type ontology:Q12136 } GROUP BY ?q } . FILTER ( ?a = ?d ) }
peripheral neuropathy Duodenal atresia Aortocaval compression syndrome Waldenström's macroglobulinemia homophobia lead poisoning Vitamin A deficiency niacin deficiency Aortoiliac occlusive disease Stress fracture Ichthyosis decompression sickness hyposalivation carbon monoxide poisoning drunkenness
Lead poisoning, carbon monoxide poisoning and peripheral neuropathy cause min number of diseases
lead poisoning carbon monoxide poisoning peripheral neuropathy
action argmin
action find_reverse_tuple_counts
relation has cause
type disease
type disease
[{'concept': 'disease'}, 'has cause', 'drunkenness']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?d ) { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:has_cause ?l . ?l rdf:type ontology:disease . ?i rdf:type ontology:disease } GROUP BY ?l } } . { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:has_cause ?q . ?q rdf:type ontology:disease . ?n rdf:type ontology:disease } GROUP BY ?q } . FILTER ( ?a = ?d ) }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q18971509 Q12078
P2176
Q8386
USER
Which drugs are used for treating cancer but not focal epilepsy ?
AND((Q12078,P2176,c(Q8386)), NOT((Q18971509,P2176,c(Q8386))))
action filter_type
action difference
action find
entity Q12078
relation P2176
action find
entity Q18971509
relation P2176
type Q8386
{'AND': [['Q12078', 'P2176', {'concept': 'Q8386'}], {'NOT': [['Q18971509', 'P2176', {'concept': 'Q8386'}]]}]}
SELECT DISTINCT ?n WHERE { resource:Q12078 property:P2176 ?n . MINUS { resource:Q18971509 property:P2176 ?n } . ?n rdf:type ontology:Q8386 }
focal epilepsy cancer
action filter_type
action difference
action find
entity cancer
relation drug used for treatment
action find
entity focal epilepsy
relation drug used for treatment
type drug
{'AND': [['cancer', 'drug used for treatment', {'concept': 'drug'}], {'NOT': [['focal epilepsy', 'drug used for treatment', {'concept': 'drug'}]]}]}
SELECT DISTINCT ?n WHERE { resource:cancer property:drug_used_for_treatment ?n . MINUS { resource:focal_epilepsy property:drug_used_for_treatment ?n } . ?n rdf:type ontology:drug }
[]
drug
Q4882925 Q425470 Q5984881 Q238512 Q5134875 Q32089 Q905835 Q1592932 Q905901 Q421862
SYSTEM
Some of them are Belinostat, pentostatin, ibrutinib, 5-fluorouracil, clofarabine, Sirolimus, plerixafor, Pegfilgrastim, vorinostat, ribavirin
Q5186964 Q417296 Q15366934 Q11711607 Q419940 Q905835 Q419319 Q412534 Q4689286 Q1181878 Q420164 Q3891664 Q408801 Q3611854 Q139347 Q4830631 Q4882925 Q216935 Q412323 Q413299 Q186969 Q1592932 Q4567614 Q417222 Q418702 Q422232 Q190012 Q412616 Q5383794 Q5303688 Q4391540 Q415869 Q422112 Q422252 Q421052 Q238512 Q7083106 Q5984881 Q417775 Q424972 Q407541 Q3151081 Q241150 Q905901 Q421862 Q1996756 Q425470 Q11426176 Q418819 Q21011233 Q7699074 Q384295 Q423989 Q423417 Q419394 Q420296 Q7739 Q20801757 Q420207 Q422222 Q32089 Q5134875 Q2178381 Q6808975 Q2459042 Q412486 Q417824 Q412963 Q963093 Q1235195 Q13896859 Q894611 Q423111 Q240642 Q417555 Q2070286 Q423762
AND((Q12078,P2176,c(Q8386)), NOT((Q18971509,P2176,c(Q8386))))
action filter_type
action difference
action find
entity Q12078
relation P2176
action find
entity Q18971509
relation P2176
type Q8386
[ANSWERS] are used for treating cancer but not focal epilepsy
{'AND': [['Q12078', 'P2176', {'concept': 'Q8386'}], {'NOT': [['Q18971509', 'P2176', {'concept': 'Q8386'}]]}]}
SELECT DISTINCT ?n WHERE { resource:Q12078 property:P2176 ?n . MINUS { resource:Q18971509 property:P2176 ?n } . ?n rdf:type ontology:Q8386 }
crizotinib febuxostat carfilzomib Ixabepilone dasatinib plerixafor Bortezomib carvedilol Aflibercept decitabine Alemtuzumab regorafenib celecoxib alitretinoin Cholecalciferol axitinib Belinostat lidocaine Rituximab Bevacizumab ibuprofen Pegfilgrastim mycophenolate mofetil methylprednisolone Basiliximab methotrexate adenosine Trastuzumab Epoetin alfa doxercalciferol Interferon Alfa-2b, Recombinant carmustine methylphenidate dexamethasone Everolimus 5-fluorouracil olaparib ibrutinib Panitumumab prednisone fentanyl Filgrastim aminoglutethimide vorinostat ribavirin enzalutamide pentostatin prednisolone exemestane ceritinib temsirolimus gemfibrozil diethylstilbestrol Imiquimod sevoflurane Cetuximab Arsenic trioxide Secretin capecitabine Digoxin Sirolimus clofarabine Darbepoetin alfa megestrol acetate Ipilimumab allopurinol gefitinib cabazitaxel sulindac Romiplostim Pembrolizumab bosutinib vemurafenib valproic acid teniposide vismodegib Paclitaxel
Belinostat, pentostatin, ibrutinib, 5-fluorouracil, clofarabine, Sirolimus, plerixafor, Pegfilgrastim, vorinostat and ribavirin are used for treating cancer but not focal epilepsy
Belinostat pentostatin ibrutinib 5-fluorouracil clofarabine Sirolimus plerixafor Pegfilgrastim vorinostat ribavirin
action filter_type
action difference
action find
entity cancer
relation drug used for treatment
action find
entity focal epilepsy
relation drug used for treatment
type drug
{'AND': [['cancer', 'drug used for treatment', {'concept': 'drug'}], {'NOT': [['focal epilepsy', 'drug used for treatment', {'concept': 'drug'}]]}]}
SELECT DISTINCT ?n WHERE { resource:cancer property:drug_used_for_treatment ?n . MINUS { resource:focal_epilepsy property:drug_used_for_treatment ?n } . ?n rdf:type ontology:drug }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2176
Q8386 Q2057971
USER
How many health problems are treated with around 66 drugs ?
(c(Q2057971),P2176,c(Q8386))
action count
action approx
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
value 66
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?y ) WHERE { ?d rdf:type ontology:Q8386 . ?r rdf:type ontology:Q2057971 . ?r property:P2176 ?d } GROUP BY ?r } . FILTER ( ?y = 66 ) }
action count
action approx
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
value 66
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?y ) WHERE { ?d rdf:type ontology:drug . ?r rdf:type ontology:health_problem . ?r property:drug_used_for_treatment ?d } GROUP BY ?r } . FILTER ( ?y = 66 ) }
[]
drug health problem
SYSTEM
2
Q19000661 Q128581
(c(Q2057971),P2176,c(Q8386))
action count
action approx
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
value 66
[ANSWER]
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?y ) WHERE { ?d rdf:type ontology:Q8386 . ?r rdf:type ontology:Q2057971 . ?r property:P2176 ?d } GROUP BY ?r } . FILTER ( ?y = 66 ) }
congestive heart failure breast cancer
2
action count
action approx
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
value 66
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?y ) WHERE { ?d rdf:type ontology:drug . ?r rdf:type ontology:health_problem . ?r property:drug_used_for_treatment ?d } GROUP BY ?r } . FILTER ( ?y = 66 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P828
Q12136 Q3839081 Q12136
USER
Which diseases do around 1 diseases and disasters lead to ?
(c(Q12136),P828,c(Q12136)|c(Q3839081))
action approx
action union
action find_tuple_counts
relation P828
type Q12136
type Q12136
action find_tuple_counts
relation P828
type Q12136
type Q3839081
value 1
[{'concept': 'Q12136'}, 'P828', [{'concept': 'Q12136'}, {'concept': 'Q3839081'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?k WHERE { { ?k rdf:type ontology:Q12136 . ?d rdf:type ontology:Q12136 . ?k property:P828 ?d } UNION { ?k rdf:type ontology:Q12136 . ?d rdf:type ontology:Q3839081 . ?k property:P828 ?d } } GROUP BY ?k } . FILTER ( ?w = 1 ) }
action approx
action union
action find_tuple_counts
relation has cause
type disease
type disease
action find_tuple_counts
relation has cause
type disease
type disaster
value 1
[{'concept': 'disease'}, 'has cause', [{'concept': 'disease'}, {'concept': 'disaster'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?k WHERE { { ?k rdf:type ontology:disease . ?d rdf:type ontology:disease . ?k property:has_cause ?d } UNION { ?k rdf:type ontology:disease . ?d rdf:type ontology:disaster . ?k property:has_cause ?d } } GROUP BY ?k } . FILTER ( ?w = 1 ) }
[]
disease disaster disease
Q277254 Q94796 Q7430242
SYSTEM
Adams–Stokes syndrome, Marchiafava-Bignami disease, scarabiasis
Q3498706 Q3410750 Q7430242 Q94796 Q2389289 Q1455531 Q277254
(c(Q12136),P828,c(Q12136)|c(Q3839081))
action approx
action union
action find_tuple_counts
relation P828
type Q12136
type Q12136
action find_tuple_counts
relation P828
type Q12136
type Q3839081
value 1
[ANSWERS] around 1 diseases and disasters lead to
[{'concept': 'Q12136'}, 'P828', [{'concept': 'Q12136'}, {'concept': 'Q3839081'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?k WHERE { { ?k rdf:type ontology:Q12136 . ?d rdf:type ontology:Q12136 . ?k property:P828 ?d } UNION { ?k rdf:type ontology:Q12136 . ?d rdf:type ontology:Q3839081 . ?k property:P828 ?d } } GROUP BY ?k } . FILTER ( ?w = 1 ) }
Steppage gait Pulicosis scarabiasis Marchiafava-Bignami disease occupational injury endemic goiter Adams–Stokes syndrome
Adams–Stokes syndrome, Marchiafava-Bignami disease and scarabiasis around 1 diseases and disasters lead to
Adams–Stokes syndrome Marchiafava-Bignami disease scarabiasis
action approx
action union
action find_tuple_counts
relation has cause
type disease
type disease
action find_tuple_counts
relation has cause
type disease
type disaster
value 1
[{'concept': 'disease'}, 'has cause', [{'concept': 'disease'}, {'concept': 'disaster'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?k WHERE { { ?k rdf:type ontology:disease . ?d rdf:type ontology:disease . ?k property:has_cause ?d } UNION { ?k rdf:type ontology:disease . ?d rdf:type ontology:disaster . ?k property:has_cause ?d } } GROUP BY ?k } . FILTER ( ?w = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2006636
P828
Q9332 Q2144359 Q12136
USER
Which diseases are caused by lesser number of behaviors or environmental issues than waterborne disease ?
(c(Q12136),P828,c(Q9332)|c(Q2144359))
action less
action union
action find_tuple_counts
relation P828
type Q12136
type Q9332
action find_tuple_counts
relation P828
type Q12136
type Q2144359
action count
action filter_multi_types
action find
entity Q2006636
relation P828
type Q9332
type Q2144359
[{'concept': 'Q12136'}, 'P828', [{'concept': 'Q9332'}, {'concept': 'Q2144359'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?k ) WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:Q9332 ) ( ontology:Q2144359 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q9332 ) ( ontology:Q2144359 ) } } . resource:Q2006636 property:P828 ?b } } . FILTER ( ?k < ?g ) }
waterborne disease
action less
action union
action find_tuple_counts
relation has cause
type disease
type behavior
action find_tuple_counts
relation has cause
type disease
type environmental issue
action count
action filter_multi_types
action find
entity waterborne disease
relation has cause
type behavior
type environmental issue
[{'concept': 'disease'}, 'has cause', [{'concept': 'behavior'}, {'concept': 'environmental issue'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?k ) WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:behavior ) ( ontology:environmental_issue ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:behavior ) ( ontology:environmental_issue ) } } . resource:waterborne_disease property:has_cause ?b } } . FILTER ( ?k < ?g ) }
[]
behavior environmental issue disease
Q110315 Q18975220 Q125367
SYSTEM
lead poisoning, Escherichia coli infectious disease, carbon monoxide poisoning
Q22236199 Q18928556 Q3281904 Q26737764 Q23900716 Q19850514 Q18928417 Q18928416 Q18928558 Q2572879 Q18975849 Q164818 Q2072680 Q7193348 Q11290178 Q18975496 Q18975495 Q3073143 Q3634866 Q272002 Q18966558 Q125367 Q18966502 Q26737768 Q18967083 Q26737757 Q922971 Q18928402 Q26989045 Q18967319 Q18928525 Q18966421 Q26805194 Q18922523 Q1818335 Q3498706 Q18924573 Q1275863 Q3152925 Q5567304 Q18928436 Q2270671 Q5593571 Q18928532 Q18966395 Q11862744 Q18975828 Q1824410 Q18967433 Q3480107 Q2637106 Q3144951 Q706825 Q5986402 Q18924544 Q18966405 Q209369 Q1001920 Q1736897 Q18928624 Q23772742 Q6895745 Q1640810 Q18928587 Q2632404 Q6500058 Q3410750 Q19000697 Q5861610 Q5458307 Q895930 Q137597 Q2394735 Q2932525 Q19000393 Q19000458 Q19000493 Q18967413 Q7933588 Q18928599 Q7430242 Q15964334 Q4420129 Q4835994 Q110315 Q3319277 Q94796 Q2723627 Q6741354 Q2031871 Q4059313 Q7421081 Q18975874 Q18967211 Q19000403 Q19000401 Q17123258 Q2249526 Q2389289 Q205972 Q10591185 Q7258523 Q18932779 Q18928560 Q18928346 Q16654806 Q7900393 Q157008 Q5348632 Q1186697 Q2936210 Q26737770 Q1033316 Q2777805 Q1455531 Q574005 Q7074450 Q3961638 Q3232749 Q882181 Q18968009 Q2859732 Q18928351 Q9352582 Q1807401 Q22350879 Q18975220 Q277254 Q444662 Q18928370 Q19000581
(c(Q12136),P828,c(Q9332)|c(Q2144359))
action less
action union
action find_tuple_counts
relation P828
type Q12136
type Q9332
action find_tuple_counts
relation P828
type Q12136
type Q2144359
action count
action filter_multi_types
action find
entity Q2006636
relation P828
type Q9332
type Q2144359
[ANSWERS] are caused by lesser number of behaviors or environmental issues than waterborne disease
[{'concept': 'Q12136'}, 'P828', [{'concept': 'Q9332'}, {'concept': 'Q2144359'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?k ) WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:Q9332 ) ( ontology:Q2144359 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q9332 ) ( ontology:Q2144359 ) } } . resource:Q2006636 property:P828 ?b } } . FILTER ( ?k < ?g ) }
Alcohol-induced respiratory reactions Capnocytophaga canimorsus infectious disease congenital physical abnormalitie paracentral scotoma occupational cardiovascular disease Olive Quick Decline Syndrome pulmonary capillariasis hepatic capillariasis Chryseobacterium indologenes infectious disease Paracetamol toxicity bovine anaplasmosis Q fever Nematode infection Pigeon pox Alcohol and health metabolic skin disease Oxyurida infectious disease Mayaro virus disease Lupus headache food poisoning echovirus infectious disease carbon monoxide poisoning Spirurida infectious disease Bjerrum scotoma Wuchereria bancrofti filariasis central scotoma Acanthamoeba keratitis Hepeviridae infectious disease neurotoxic disorder infectious myositis Burkholderia cepacia infectious disease coxsackievirus infectious disease Sclerosing encapsulating peritonitis Streptomyces somaliensis infectious disease nosemosis Steppage gait hepatic Torque teno virus infectious disease seafood allergy chronic respiratory failure Glaukomflecken Brugia timori filariasis Intestinal capillariasis Gram-negative folliculitis Gardnerella vaginalis vaginosis menopausal and postmenopausal disorder Tachycardia-induced cardiomyopathy visna cat flu HIV encephalopathy bone pain Scintillating scotoma Benckiser's hemorrhage foulbrood Ichthyoallyeinotoxism Mansonella streptocerca infectious disease Haemophilus influenzae infectious disease Hodgkin's lymphoma Hallucinogen persisting perception disorder (hppd) allergy to cats primary streptococcal infectious disease Bacteroides Infections Mold health issues Hyper-IgD syndrome Bacteroides fragilis peritonitis African swine fever laurel wilt Pulicosis simian acquired immunodeficiency syndrome Bwamba Fever Flea-borne spotted fever Nodding disease Ankylostomiasis anaplasmosis lancet liver fluke infection feline acquired immunodeficiency syndrome equine infectious anemia bovine ephemeral fever RNA virus infectious disease Trichodysplasia spinulosa Bordetella pertussis whooping cough scarabiasis paratyphoid  A Mauriac syndrome BMPR2 lead poisoning Snow mold Marchiafava-Bignami disease Pott disease malarial nephropathy Vibration white finger Acanthocheilonemiasis Sappinia amoebic encephalitis Henipavirus infectious disease Enoplea infectious disease Enterovirus infectious disease border disease fox mange Cerebral hypoxia occupational injury drunkenness Mycoplasma pneumonia Puerperal disorder Chlamydophila pneumoniae infectious disease Myroides odoratus necrotizing fasciitis Jamestown Canyon encephalitis Middle East respiratory syndrome Uremic pericarditis Rinderpest Ehrlichiosis ewingii infection demyelination occupational cancer ring scotoma Ehrlichiosis Diabetes mellitus and pregnancy endemic goiter Contagious bovine pleuropneumonia oat sensitivity nicotine withdrawal garlic allergy corn grey leaf spot Vibrio infectious disease arbovirosis inkoo encephalitis Fiddler's neck sodoku Spondweni fever Escherichia coli infectious disease Adams–Stokes syndrome Dipylidium caninum infectious disease Nipah virus encephalitis classical swine fever
Lead poisoning, Escherichia coli infectious disease and carbon monoxide poisoning are caused by lesser number of behaviors or environmental issues than waterborne disease
lead poisoning Escherichia coli infectious disease carbon monoxide poisoning
action less
action union
action find_tuple_counts
relation has cause
type disease
type behavior
action find_tuple_counts
relation has cause
type disease
type environmental issue
action count
action filter_multi_types
action find
entity waterborne disease
relation has cause
type behavior
type environmental issue
[{'concept': 'disease'}, 'has cause', [{'concept': 'behavior'}, {'concept': 'environmental issue'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?k ) WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:behavior ) ( ontology:environmental_issue ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:behavior ) ( ontology:environmental_issue ) } } . resource:waterborne_disease property:has_cause ?b } } . FILTER ( ?k < ?g ) }
[]