Simple Question (Direct)
Simple Question
Q6177356
P136
Q151885
USER
Which genre does Jena Kraus belong to ?
(Q6177356,P136,c(Q151885))
action filter_type
action find
entity Q6177356
relation P136
type Q151885
['Q6177356', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { resource:Q6177356 property:P136 ?l . ?l rdf:type ontology:Q151885 }
Jena Kraus
action filter_type
action find
entity Jena Kraus
relation genre
type concept
['Jena Kraus', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { resource:Jena_Kraus property:genre ?l . ?l rdf:type ontology:concept }
[]
concept
Q11399
SYSTEM
rock music
Q11399
(Q6177356,P136,c(Q151885))
action filter_type
action find
entity Q6177356
relation P136
type Q151885
Jena Kraus belongs to [ANSWER]
['Q6177356', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { resource:Q6177356 property:P136 ?l . ?l rdf:type ontology:Q151885 }
rock music
Jena Kraus belongs to rock music
rock music
action filter_type
action find
entity Jena Kraus
relation genre
type concept
['Jena Kraus', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { resource:Jena_Kraus property:genre ?l . ?l rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6177356
P735
Q82799
USER
What the name that Jena Kraus is known by ?
(Q6177356,P735,c(Q82799))
action filter_type
action find
entity Q6177356
relation P735
type Q82799
['Q6177356', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q6177356 property:P735 ?f . ?f rdf:type ontology:Q82799 }
Jena Kraus
action filter_type
action find
entity Jena Kraus
relation given name
type name
['Jena Kraus', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Jena_Kraus property:given_name ?f . ?f rdf:type ontology:name }
[]
name
Q16290330
SYSTEM
Jena
Q16290330
(Q6177356,P735,c(Q82799))
action filter_type
action find
entity Q6177356
relation P735
type Q82799
Known [ANSWER]
['Q6177356', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q6177356 property:P735 ?f . ?f rdf:type ontology:Q82799 }
Jena
Known Jena
Jena
action filter_type
action find
entity Jena Kraus
relation given name
type name
['Jena Kraus', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Jena_Kraus property:given_name ?f . ?f rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1400536
P636
Q151885 Q79529 Q3249551
USER
Which concepts are the routes of administration of around the same number of chemical substances or processes as intraperitoneal injection ?
(c(Q79529)|c(Q3249551),P636,c(Q151885))
action approx
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q79529
action find_reverse_tuple_counts
relation P636
type Q151885
type Q3249551
action count
action filter_multi_types
action find_reverse
entity Q1400536
relation P636
type Q79529
type Q3249551
[[{'concept': 'Q79529'}, {'concept': 'Q3249551'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:P636 resource:Q1400536 . { { ?g rdf:type ontology:Q79529 } UNION { ?g rdf:type ontology:Q3249551 } } } } . FILTER ( ?u = ?a ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?q WHERE { { ?t property:P636 ?q . ?q rdf:type ontology:Q151885 . ?t rdf:type ontology:Q3249551 } UNION { ?t property:P636 ?q . ?t rdf:type ontology:Q79529 . ?q rdf:type ontology:Q151885 } } GROUP BY ?q } }
intraperitoneal injection
action approx
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type chemical substance
action find_reverse_tuple_counts
relation route of administration
type concept
type process
action count
action filter_multi_types
action find_reverse
entity intraperitoneal injection
relation route of administration
type chemical substance
type process
[[{'concept': 'chemical substance'}, {'concept': 'process'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:route_of_administration resource:intraperitoneal_injection . { { ?g rdf:type ontology:chemical_substance } UNION { ?g rdf:type ontology:process } } } } . FILTER ( ?u = ?a ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?q WHERE { { ?t property:route_of_administration ?q . ?q rdf:type ontology:concept . ?t rdf:type ontology:process } UNION { ?t property:route_of_administration ?q . ?t rdf:type ontology:chemical_substance . ?q rdf:type ontology:concept } } GROUP BY ?q } }
[]
concept chemical substance process
Q1663054 Q1400536 Q1344580
SYSTEM
ingestion, intraperitoneal injection, enteral
Q1400536 Q1344580 Q366155 Q6058566 Q180609 Q419892 Q21074571 Q245359 Q7833952 Q3153701 Q1369403 Q4669896 Q16920397 Q1320251 Q1663054 Q16861468 Q784720 Q10268830
(c(Q79529)|c(Q3249551),P636,c(Q151885))
action approx
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q79529
action find_reverse_tuple_counts
relation P636
type Q151885
type Q3249551
action count
action filter_multi_types
action find_reverse
entity Q1400536
relation P636
type Q79529
type Q3249551
[ANSWERS] are the routes of administration of around the same number of chemical substances or processes as intraperitoneal injection
[[{'concept': 'Q79529'}, {'concept': 'Q3249551'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:P636 resource:Q1400536 . { { ?g rdf:type ontology:Q79529 } UNION { ?g rdf:type ontology:Q3249551 } } } } . FILTER ( ?u = ?a ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?q WHERE { { ?t property:P636 ?q . ?q rdf:type ontology:Q151885 . ?t rdf:type ontology:Q3249551 } UNION { ?t property:P636 ?q . ?t rdf:type ontology:Q79529 . ?q rdf:type ontology:Q151885 } } GROUP BY ?q } }
intraperitoneal injection enteral intracardiac injection intravaginal administration intravitreal administration rectal eye contact injection transdermal insufflation intravenous injection skin absorption conjunctival Intrathecal ingestion intra-arterial infusion sublingual administration inhalation
Ingestion, intraperitoneal injection and enteral are the routes of administration of around the same number of chemical substances or processes as intraperitoneal injection
ingestion intraperitoneal injection enteral
action approx
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type chemical substance
action find_reverse_tuple_counts
relation route of administration
type concept
type process
action count
action filter_multi_types
action find_reverse
entity intraperitoneal injection
relation route of administration
type chemical substance
type process
[[{'concept': 'chemical substance'}, {'concept': 'process'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:route_of_administration resource:intraperitoneal_injection . { { ?g rdf:type ontology:chemical_substance } UNION { ?g rdf:type ontology:process } } } } . FILTER ( ?u = ?a ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?q WHERE { { ?t property:route_of_administration ?q . ?q rdf:type ontology:concept . ?t rdf:type ontology:process } UNION { ?t property:route_of_administration ?q . ?t rdf:type ontology:chemical_substance . ?q rdf:type ontology:concept } } GROUP BY ?q } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q180609
P636
Q151885 Q79529 Q3249551
USER
And what about intravitreal administration?
(c(Q79529)|c(Q3249551),P636,c(Q151885))
action approx
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q79529
action find_reverse_tuple_counts
relation P636
type Q151885
type Q3249551
action count
action filter_multi_types
action find_reverse
entity Q180609
relation P636
type Q79529
type Q3249551
[[{'concept': 'Q79529'}, {'concept': 'Q3249551'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) ?l WHERE { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:Q79529 ) ( ontology:Q3249551 ) } } GROUP BY ?l } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:P636 resource:Q180609 . { VALUES ( ?i ) { ( ontology:Q79529 ) ( ontology:Q3249551 ) } . ?q rdf:type ?i } } } }
intravitreal administration
action approx
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type chemical substance
action find_reverse_tuple_counts
relation route of administration
type concept
type process
action count
action filter_multi_types
action find_reverse
entity intravitreal administration
relation route of administration
type chemical substance
type process
[[{'concept': 'chemical substance'}, {'concept': 'process'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) ?l WHERE { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:chemical_substance ) ( ontology:process ) } } GROUP BY ?l } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:route_of_administration resource:intravitreal_administration . { VALUES ( ?i ) { ( ontology:chemical_substance ) ( ontology:process ) } . ?q rdf:type ?i } } } }
[]
concept chemical substance process
Q1663054 Q1400536 Q1344580
SYSTEM
ingestion, intraperitoneal injection, enteral
Q1400536 Q1344580 Q366155 Q6058566 Q180609 Q419892 Q21074571 Q245359 Q7833952 Q3153701 Q1369403 Q4669896 Q16920397 Q1320251 Q1663054 Q16861468 Q784720 Q10268830
(c(Q79529)|c(Q3249551),P636,c(Q151885))
action approx
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q79529
action find_reverse_tuple_counts
relation P636
type Q151885
type Q3249551
action count
action filter_multi_types
action find_reverse
entity Q180609
relation P636
type Q79529
type Q3249551
[ANSWERS]
[[{'concept': 'Q79529'}, {'concept': 'Q3249551'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) ?l WHERE { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:Q79529 ) ( ontology:Q3249551 ) } } GROUP BY ?l } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:P636 resource:Q180609 . { VALUES ( ?i ) { ( ontology:Q79529 ) ( ontology:Q3249551 ) } . ?q rdf:type ?i } } } }
intraperitoneal injection enteral intracardiac injection intravaginal administration intravitreal administration rectal eye contact injection transdermal insufflation intravenous injection skin absorption conjunctival Intrathecal ingestion intra-arterial infusion sublingual administration inhalation
ingestion intraperitoneal injection enteral
action approx
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type chemical substance
action find_reverse_tuple_counts
relation route of administration
type concept
type process
action count
action filter_multi_types
action find_reverse
entity intravitreal administration
relation route of administration
type chemical substance
type process
[[{'concept': 'chemical substance'}, {'concept': 'process'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) ?l WHERE { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:chemical_substance ) ( ontology:process ) } } GROUP BY ?l } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:route_of_administration resource:intravitreal_administration . { VALUES ( ?i ) { ( ontology:chemical_substance ) ( ontology:process ) } . ?q rdf:type ?i } } } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q285166 Q1344580
P636
Q8386
USER
Which drugs are administered through enteral and oral administration route ?
AND((c(Q8386),P636,Q1344580), (c(Q8386),P636,Q285166))
action filter_type
action intersection
action find_reverse
entity Q1344580
relation P636
action find_reverse
entity Q285166
relation P636
type Q8386
{'AND': [[{'concept': 'Q8386'}, 'P636', 'Q1344580'], [{'concept': 'Q8386'}, 'P636', 'Q285166']]}
SELECT DISTINCT ?x WHERE { ?x property:P636 resource:Q1344580 . ?x property:P636 resource:Q285166 . ?x rdf:type ontology:Q8386 }
oral administration enteral
action filter_type
action intersection
action find_reverse
entity enteral
relation route of administration
action find_reverse
entity oral administration
relation route of administration
type drug
{'AND': [[{'concept': 'drug'}, 'route of administration', 'enteral'], [{'concept': 'drug'}, 'route of administration', 'oral administration']]}
SELECT DISTINCT ?x WHERE { ?x property:route_of_administration resource:enteral . ?x property:route_of_administration resource:oral_administration . ?x rdf:type ontology:drug }
[]
drug
Q210402
SYSTEM
diazepam
Q210402
AND((c(Q8386),P636,Q1344580), (c(Q8386),P636,Q285166))
action filter_type
action intersection
action find_reverse
entity Q1344580
relation P636
action find_reverse
entity Q285166
relation P636
type Q8386
And [ANSWER] is administered through enteral and oral administration route
{'AND': [[{'concept': 'Q8386'}, 'P636', 'Q1344580'], [{'concept': 'Q8386'}, 'P636', 'Q285166']]}
SELECT DISTINCT ?x WHERE { ?x property:P636 resource:Q1344580 . ?x property:P636 resource:Q285166 . ?x rdf:type ontology:Q8386 }
diazepam
And diazepam is administered through enteral and oral administration route
diazepam
action filter_type
action intersection
action find_reverse
entity enteral
relation route of administration
action find_reverse
entity oral administration
relation route of administration
type drug
{'AND': [[{'concept': 'drug'}, 'route of administration', 'enteral'], [{'concept': 'drug'}, 'route of administration', 'oral administration']]}
SELECT DISTINCT ?x WHERE { ?x property:route_of_administration resource:enteral . ?x property:route_of_administration resource:oral_administration . ?x rdf:type ontology:drug }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P921
Q8386 Q2342494 Q732577
USER
Which drugs were max number of collectables or publications mainly about ?
(c(Q2342494)|c(Q732577),P921,c(Q8386))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?x WHERE { VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q732577 ) } . ?e rdf:type ?j } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) ?l WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:Q2342494 ) ( ontology:Q732577 ) } } GROUP BY ?l } . FILTER ( ?p = ?i ) }
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type drug
type collectable
action find_reverse_tuple_counts
relation main subject
type drug
type publication
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?x WHERE { VALUES ( ?j ) { ( ontology:collectable ) ( ontology:publication ) } . ?e rdf:type ?j } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) ?l WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:collectable ) ( ontology:publication ) } } GROUP BY ?l } . FILTER ( ?p = ?i ) }
[]
drug collectable publication
Q1997
SYSTEM
Carbon dioxide
Q1997
(c(Q2342494)|c(Q732577),P921,c(Q8386))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
Max number of collectables or publications mainly about were named [ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?x WHERE { VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q732577 ) } . ?e rdf:type ?j } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) ?l WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:Q2342494 ) ( ontology:Q732577 ) } } GROUP BY ?l } . FILTER ( ?p = ?i ) }
Carbon dioxide
Max number of collectables or publications mainly about were named Carbon dioxide
Carbon dioxide
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type drug
type collectable
action find_reverse_tuple_counts
relation main subject
type drug
type publication
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?x WHERE { VALUES ( ?j ) { ( ontology:collectable ) ( ontology:publication ) } . ?e rdf:type ?j } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) ?l WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:collectable ) ( ontology:publication ) } } GROUP BY ?l } . FILTER ( ?p = ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q201989
P2175
Q2057971 Q8386
USER
How many health problems are cured by lesser number of drugs than Lyme disease ?
(c(Q8386),P2175,c(Q2057971))
action count
action less
action find_reverse_tuple_counts
relation P2175
type Q2057971
type Q8386
action count
action filter_type
action find_reverse
entity Q201989
relation P2175
type Q8386
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:P2175 ?k . ?k rdf:type ontology:Q2057971 . ?i rdf:type ontology:Q8386 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:P2175 resource:Q201989 . ?t rdf:type ontology:Q8386 } } . FILTER ( ?u < ?y ) }
Lyme disease
action count
action less
action find_reverse_tuple_counts
relation medical condition treated
type health problem
type drug
action count
action filter_type
action find_reverse
entity Lyme disease
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:medical_condition_treated ?k . ?k rdf:type ontology:health_problem . ?i rdf:type ontology:drug } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:medical_condition_treated resource:Lyme_disease . ?t rdf:type ontology:drug } } . FILTER ( ?u < ?y ) }
[]
health problem drug
SYSTEM
380
Q18553785 Q881855 Q1066061 Q1516211 Q188638 Q593958 Q18554545 Q615645 Q283656 Q5334259 Q998273 Q1640860 Q12656487 Q470427 Q21154326 Q6742925 Q495146 Q18555986 Q18557091 Q826103 Q520127 Q4330029 Q3154357 Q1125160 Q1137767 Q2590966 Q1934052 Q746001 Q2325854 Q4667072 Q208166 Q2096745 Q662272 Q18554971 Q3435504 Q432462 Q187842 Q923020 Q184084 Q18975720 Q189956 Q612681 Q611458 Q1153419 Q2351083 Q11088 Q17165460 Q1446169 Q206901 Q18554909 Q1059765 Q32778 Q1906054 Q686574 Q4742183 Q954674 Q751631 Q3144934 Q18556002 Q4358039 Q3508800 Q816798 Q4684750 Q2443552 Q18556675 Q7562539 Q18556954 Q1209150 Q2997615 Q18553993 Q1048084 Q808892 Q18554674 Q281928 Q2508462 Q1344812 Q18556705 Q1164529 Q4366062 Q7923229 Q12202 Q401402 Q12204 Q103177 Q659033 Q49970 Q3144201 Q18553800 Q23037744 Q448698 Q208562 Q81867 Q83319 Q1126831 Q1359898 Q1573307 Q1424956 Q18554846 Q182155 Q2622714 Q922411 Q2165266 Q847057 Q221472 Q18553226 Q7476596 Q3055380 Q11679861 Q18557988 Q616667 Q18557550 Q183392 Q979168 Q18556128 Q769595 Q614750 Q18556900 Q5380626 Q6822340 Q1016605 Q187656 Q7900619 Q913856 Q378183 Q1585081 Q1586088 Q18553790 Q4684717 Q7644639 Q503629 Q4280605 Q18554119 Q536269 Q183130 Q18555343 Q1642170 Q3281322 Q709360 Q647630 Q422268 Q790971 Q1149042 Q28814 Q918285 Q18555043 Q6318950 Q1122485 Q10832211 Q5384031 Q18555190 Q18557308 Q124292 Q31798 Q591256 Q18558026 Q303555 Q18554367 Q2349695 Q145790 Q16775468 Q18556461 Q1755568 Q1981276 Q18556544 Q1623006 Q18557017 Q1369011 Q773118 Q3547899 Q3765145 Q17119372 Q18555944 Q6807316 Q3513968 Q201180 Q265936 Q697117 Q1641399 Q3360152 Q179945 Q2964243 Q174589 Q5509169 Q6527832 Q1928978 Q18553329 Q1544989 Q2046113 Q596474 Q1641483 Q1151507 Q18557946 Q707774 Q654485 Q917447 Q18557349 Q18975492 Q1266890 Q842428 Q1313510 Q18555096 Q1495661 Q1898104 Q18558101 Q2163245 Q388646 Q4118581 Q18554322 Q18558266 Q611571 Q846316 Q899726 Q4833719 Q2346396 Q2453464 Q7578540 Q1149046 Q52848 Q2306782 Q18554607 Q666980 Q1433936 Q570197 Q170990 Q552348 Q16242752 Q390475 Q1365789 Q3508787 Q6673122 Q3985306 Q353172 Q2726043 Q1479494 Q18555940 Q1479497 Q777087 Q18554512 Q156050 Q188874 Q12090 Q7581954 Q692536 Q3991731 Q18975047 Q1576205 Q3043158 Q177190 Q1811189 Q1097957 Q925092 Q10859678 Q9390284 Q1628473 Q2397009 Q19000484 Q651680 Q4944687 Q906492 Q883863 Q708176 Q18558032 Q117121 Q693519 Q369157 Q959457 Q1076087 Q121041 Q1144039 Q595010 Q18553852 Q2000072 Q16483 Q2256736 Q594013 Q18556754 Q1362453 Q1262161 Q7113244 Q576349 Q280027 Q2051919 Q202758 Q608085 Q18553680 Q972514 Q945930 Q18556102 Q18556106 Q1346016 Q845779 Q2360849 Q1102300 Q16501 Q2070695 Q7170410 Q1145668 Q489997 Q18555032 Q18555037 Q578994 Q220551 Q203133 Q3296793 Q939261 Q18558279 Q18558272 Q776881 Q18556397 Q18554727 Q7204592 Q1328833 Q2035074 Q18556531 Q1362721 Q2606101 Q6946984 Q207087 Q424247 Q11491562 Q890200 Q794026 Q18554349 Q193216 Q1137321 Q797668 Q8071861 Q1004647 Q246068 Q1077603 Q966229 Q1501239 Q1526459 Q1711744 Q156103 Q579527 Q319312 Q18556246 Q767485 Q7861692 Q1129007 Q1364270 Q82504 Q7193408 Q5282843 Q2912193 Q1542410 Q9294654 Q124604 Q17147280 Q1758393 Q783644 Q669822 Q18558236 Q18557816 Q724714 Q18553762 Q460167 Q2563414 Q18555063 Q531019 Q4458080 Q1194557 Q4678337 Q582207 Q220193 Q861645 Q112670 Q18558125 Q18556413 Q129279 Q4941552 Q18554096 Q18556569 Q5325633 Q18967840 Q5062153 Q221441 Q4118166 Q2089854
(c(Q8386),P2175,c(Q2057971))
action count
action less
action find_reverse_tuple_counts
relation P2175
type Q2057971
type Q8386
action count
action filter_type
action find_reverse
entity Q201989
relation P2175
type Q8386
[ANSWER]
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:P2175 ?k . ?k rdf:type ontology:Q2057971 . ?i rdf:type ontology:Q8386 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:P2175 resource:Q201989 . ?t rdf:type ontology:Q8386 } } . FILTER ( ?u < ?y ) }
corneal disease gestational trophoblastic neoplasm diverticulitis Renal tubular acidosis mood disorder transient cerebral ischemia angle-closure glaucoma Fabry disease Dilated cardiomyopathy parasitic ectoparasitic infectious disease Smith–Lemli–Opitz syndrome hyperaldosteronism hymenolepiasis refractive error ariboflavinosis male reproductive system disease trichinosis pancreatic ductal carcinoma microglandular adenosis Reye's syndrome periodontitis airway obstruction anterior uveitis pityriasis rosea muscular dystrophy cutaneous leishmaniasis microsporidiosis Thromboangiitis obliterans Riley-Day syndrome fibroma borderline personality disorder hereditary angioedema short bowel syndrome maxillary sinusitis AIDS dementia complex Takayasu's arteritis autoimmune thyroiditis epidermolysis bullosa beriberi trophoblastic neoplasm aphthous stomatitis anuria neuromyelitis optica interstitial lung disease disease of metabolism celiac disease Atypical hemolytic uremic syndrome collagen disease amyotrophic lateral sclerosis pancreatic endocrine carcinoma periodontal disease bronchiectasis mucopolysaccharidosis I Endometrial hyperplasia amelanotic melanoma iron deficiency anemia pure red-cell aplasia hemochromatosis central nervous system cancer neuronal ceroid lipofuscinosis congenital myasthenic syndrome amyloidosis adrenal gland hyperfunction trypanosomiasis aortic disease facial paralysis pleomorphic liposarcoma cerebral infarction pyoderma corneal edema opisthorchiasis Barrett's esophagus cerebral malaria social phobia mouth disease epididymitis myxoid leiomyosarcoma renal cell carcinoma Pneumococcal infection vesiculobullous skin disease stroke nephritis tuberculosis severe acute respiratory syndrome biliary atresia hyperuricemia Excessive daytime sleepiness neuroretinitis respiratory allergy Pulmonary alveolar proteinosis Marfan syndrome albino typhoid fever tetralogy of Fallot cryptosporidiosis Wernicke encephalopathy Neuroleptic malignant syndrome diffuse scleroderma herpes zoster cholesteryl ester storage disease hypopituitarism Nelson syndrome retinitis pigmentosa fragile X syndrome cutaneous lupus erythematosus genital herpes intestinal disease hookworm infections subacute delirium temporal lobe epilepsy urethral disease rickets brain edema adrenal gland cancer meibomian cyst bronchiolitis obliterans spinal cancer Entomophthoramycosis metabolic bone disease Burkitt lymphoma relapsing polychondritis bladder neck obstruction Friedreich's ataxia Craniosynostosis malignant hyperthermia hypoparathyroidism dry eye syndrome adrenal gland disease suppression amblyopia osteonecrosis mansonelliasis infant gynecomastia phaeochromocytoma gastritis causalgia hemophagocytic lymphohistiocytosis peroxisomal disease Von Willebrand disease premature ovarian failure actinomycosis Bartter disease cystinosis autoimmune hemolytic anemia adrenocortical carcinoma prothrombin deficiency Juvenile dermatomyositis urethritis megaloblastic anemia Epstein–Barr virus infection transient tic disorder adrenal cortex cancer cholangiocarcinoma chancroid MALT lymphoma salivary gland cancer hypoactive sexual desire disorder respiratory syncytial virus infectious disease familial lipoprotein lipase deficiency iridocyclitis elephantiasis histiocytoid hemangioma osteopetrosis neuroendocrine tumor pituitary carcinoma keratoconjunctivitis MHC class II deficiency Familial adenomatous polyposis Andersen-Tawil syndrome leg ulcers ichthyosis vulgaris Haemophilus meningitis brain infarction Medullary carcinoma corneal opacity varicose veins Kawasaki disease Spinal disc herniation hypoplastic left heart syndrome pachyonychia congenita psoriasis hemorrhagic shock agoraphobia fungal meningitis lepromatous leprosy viral infectious disease intestinal schistosomiasis Peutz-Jeghers syndrome visceral leishmaniasis Conduct disorder hypotrichosis dermatitis herpetiformis choline deficiency disease coronary thrombosis malignant peripheral nerve sheath tumor inflammatory bowel disease cleft palate septicemic plague vascular disease ascariasis Hypophosphatasia phosphorus metabolism disease gastrointestinal stromal tumor bone marrow cancer mechanical strabismus congenital diaphragmatic hernia Dracunculiasis necatoriasis vulva cancer B- and T-cell mixed leukemia hemorrhagic disease aplastic anemia Spinocerebellar ataxia B-cell lymphoma iritis colitis splenic disease cystinuria spondyloarthropathy hypochromic anemia pharyngoconjunctival fever Rubinstein-Taybi syndrome Hyperprolactinaemia proteinuria arthritis eclampsia allergic contact dermatitis bilirubin metabolic disorder glycogen storage disease II Postencephalitic parkinsonism thyroid gland disease spastic quadriplegia parasitic protozoa infectious disease chromoblastomycosis paroxysmal nocturnal hemoglobinuria uterine disease Porphyria cutanea tarda echinococcosis pulmonary sarcoidosis brucellosis colorectal cancer Cholera squamous cell papilloma myopathy thyrotoxicosis hematologic cancer carotid artery occlusion mevalonic aciduria sleep disorder Dystocia intermittent claudication Wolff-Parkinson-White syndrome perinatal necrotizing enterocolitis Netherton syndrome corneal ulcer choroideremia arteriosclerosis obliterans alkaptonuria borderline leprosy dystonia blepharospasm arthropathy skin melanoma Wilson disease essential tremor meningioma inappropriate ADH syndrome chondrosarcoma appendicitis inguinal hernia hypertrichosis lymphoblastic leukemia spondylolysis toxic diffuse goiter abdominal aortic aneurysm Prader-Willi syndrome colonic disease fibrosarcoma Leber hereditary optic neuropathy ovarian disease brain disease uveitis Extravasation hypoglycemia photosensitivity disease connective tissue benign neoplasm optic neuritis progressive supranuclear palsy childhood medulloblastoma functional colonic disease pernicious anemia Fanconi's anemia strongyloidiasis clonorchiasis hypothyroidisms macrocytic anemia persistent fetal circulation syndrome hemolytic anemia diabetic angiopathy factor VII deficiency hemorrhagic thrombocythemia parasitic helminthiasis infectious disease diabetes insipidus sleeping sickness Renovascular hypertension erythrasma tertiary neurosyphilis heroin dependence Hereditary hemorrhagic telangiectasia biliary tract cancer sclerosing cholangitis pleomorphic lipoma oppositional defiant disorder Paget's disease of bone bile duct carcinoma tuberous sclerosis Paranoid schizophrenia Mycobacterium avium complex disease ectopic pregnancy acute intermittent porphyria acute hemorrhagic conjunctivitis Coagulopathy Azoospermia urethral obstruction trachoma onchocerciasis babesiosis Zika fever bullous pemphigoid cysticercosis malignant mesothelioma myxedema insulinoma pyoderma gangrenosum Merkel cell carcinoma gastroenteritis pulmonary valve stenosis premature ejaculation coronary restenosis respiratory failure tyrosinemia type III Angioedema hypertrophic cardiomyopathy endocarditis pigmentation disease Distal muscular dystrophy esophageal disease thrombocytosis alcoholic polyneuropathy portal hypertension Myoclonic epilepsy inherited metabolic disorder Lynch syndrome Laron syndrome neonatal abstinence syndrome olfactory groove meningioma Romano–Ward syndrome migraine with aura Meniere's disease cervical incompetence West Nile encephalitis Aortic valve stenosis thyroid crisis laryngitis lymph node tuberculosis Antiphospholipid syndrome premenstrual tension Gaucher's disease Mastocytosis intracranial hypertension familial retinoblastoma dysentery bone disease suppurative otitis media bone marrow disease auditory system disease benign neonatal seizures central sleep apnea pellagra Polyostotic fibrous dysplasia hemosiderosis
380
action count
action less
action find_reverse_tuple_counts
relation medical condition treated
type health problem
type drug
action count
action filter_type
action find_reverse
entity Lyme disease
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:medical_condition_treated ?k . ?k rdf:type ontology:health_problem . ?i rdf:type ontology:drug } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:medical_condition_treated resource:Lyme_disease . ?t rdf:type ontology:drug } } . FILTER ( ?u < ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q327298
P2175
Q2057971 Q8386
USER
And what about shigellosis?
(c(Q8386),P2175,c(Q2057971))
action count
action less
action find_reverse_tuple_counts
relation P2175
type Q2057971
type Q8386
action count
action filter_type
action find_reverse
entity Q327298
relation P2175
type Q8386
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:P2175 ?f . ?f rdf:type ontology:Q2057971 . ?e rdf:type ontology:Q8386 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:P2175 resource:Q327298 . ?p rdf:type ontology:Q8386 } } . FILTER ( ?c < ?l ) }
shigellosis
action count
action less
action find_reverse_tuple_counts
relation medical condition treated
type health problem
type drug
action count
action filter_type
action find_reverse
entity shigellosis
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:medical_condition_treated ?f . ?f rdf:type ontology:health_problem . ?e rdf:type ontology:drug } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:medical_condition_treated resource:shigellosis . ?p rdf:type ontology:drug } } . FILTER ( ?c < ?l ) }
[]
health problem drug
SYSTEM
380
Q18553785 Q881855 Q1066061 Q1516211 Q188638 Q593958 Q18554545 Q615645 Q283656 Q5334259 Q998273 Q1640860 Q12656487 Q470427 Q21154326 Q6742925 Q495146 Q18555986 Q18557091 Q826103 Q520127 Q4330029 Q3154357 Q1125160 Q1137767 Q2590966 Q1934052 Q746001 Q2325854 Q4667072 Q208166 Q2096745 Q662272 Q18554971 Q3435504 Q432462 Q187842 Q923020 Q184084 Q18975720 Q189956 Q612681 Q611458 Q1153419 Q2351083 Q11088 Q17165460 Q1446169 Q206901 Q18554909 Q1059765 Q32778 Q1906054 Q686574 Q4742183 Q954674 Q751631 Q3144934 Q18556002 Q4358039 Q3508800 Q816798 Q4684750 Q2443552 Q18556675 Q7562539 Q18556954 Q1209150 Q2997615 Q18553993 Q1048084 Q808892 Q18554674 Q281928 Q2508462 Q1344812 Q18556705 Q1164529 Q4366062 Q7923229 Q12202 Q401402 Q12204 Q103177 Q659033 Q49970 Q3144201 Q18553800 Q23037744 Q448698 Q208562 Q81867 Q83319 Q1126831 Q1359898 Q1573307 Q1424956 Q18554846 Q182155 Q2622714 Q922411 Q2165266 Q847057 Q221472 Q18553226 Q7476596 Q3055380 Q11679861 Q18557988 Q616667 Q18557550 Q183392 Q979168 Q18556128 Q769595 Q614750 Q18556900 Q5380626 Q6822340 Q1016605 Q187656 Q7900619 Q913856 Q378183 Q1585081 Q1586088 Q18553790 Q4684717 Q7644639 Q503629 Q4280605 Q18554119 Q536269 Q183130 Q18555343 Q1642170 Q3281322 Q709360 Q647630 Q422268 Q790971 Q1149042 Q28814 Q918285 Q18555043 Q6318950 Q1122485 Q10832211 Q5384031 Q18555190 Q18557308 Q124292 Q31798 Q591256 Q18558026 Q303555 Q18554367 Q2349695 Q145790 Q16775468 Q18556461 Q1755568 Q1981276 Q18556544 Q1623006 Q18557017 Q1369011 Q773118 Q3547899 Q3765145 Q17119372 Q18555944 Q6807316 Q3513968 Q201180 Q265936 Q697117 Q1641399 Q3360152 Q179945 Q2964243 Q174589 Q5509169 Q6527832 Q1928978 Q18553329 Q1544989 Q2046113 Q596474 Q1641483 Q1151507 Q18557946 Q707774 Q654485 Q917447 Q18557349 Q18975492 Q1266890 Q842428 Q1313510 Q18555096 Q1495661 Q1898104 Q18558101 Q2163245 Q388646 Q4118581 Q18554322 Q18558266 Q611571 Q846316 Q899726 Q4833719 Q2346396 Q2453464 Q7578540 Q1149046 Q52848 Q2306782 Q18554607 Q666980 Q1433936 Q570197 Q170990 Q552348 Q16242752 Q390475 Q1365789 Q3508787 Q6673122 Q3985306 Q353172 Q2726043 Q1479494 Q18555940 Q1479497 Q777087 Q18554512 Q156050 Q188874 Q12090 Q7581954 Q692536 Q3991731 Q18975047 Q1576205 Q3043158 Q177190 Q1811189 Q1097957 Q925092 Q10859678 Q9390284 Q1628473 Q2397009 Q19000484 Q651680 Q4944687 Q906492 Q883863 Q708176 Q18558032 Q117121 Q693519 Q369157 Q959457 Q1076087 Q121041 Q1144039 Q595010 Q18553852 Q2000072 Q16483 Q2256736 Q594013 Q18556754 Q1362453 Q1262161 Q7113244 Q576349 Q280027 Q2051919 Q202758 Q608085 Q18553680 Q972514 Q945930 Q18556102 Q18556106 Q1346016 Q845779 Q2360849 Q1102300 Q16501 Q2070695 Q7170410 Q1145668 Q489997 Q18555032 Q18555037 Q578994 Q220551 Q203133 Q3296793 Q939261 Q18558279 Q18558272 Q776881 Q18556397 Q18554727 Q7204592 Q1328833 Q2035074 Q18556531 Q1362721 Q2606101 Q6946984 Q207087 Q424247 Q11491562 Q890200 Q794026 Q18554349 Q193216 Q1137321 Q797668 Q8071861 Q1004647 Q246068 Q1077603 Q966229 Q1501239 Q1526459 Q1711744 Q156103 Q579527 Q319312 Q18556246 Q767485 Q7861692 Q1129007 Q1364270 Q82504 Q7193408 Q5282843 Q2912193 Q1542410 Q9294654 Q124604 Q17147280 Q1758393 Q783644 Q669822 Q18558236 Q18557816 Q724714 Q18553762 Q460167 Q2563414 Q18555063 Q531019 Q4458080 Q1194557 Q4678337 Q582207 Q220193 Q861645 Q112670 Q18558125 Q18556413 Q129279 Q4941552 Q18554096 Q18556569 Q5325633 Q18967840 Q5062153 Q221441 Q4118166 Q2089854
(c(Q8386),P2175,c(Q2057971))
action count
action less
action find_reverse_tuple_counts
relation P2175
type Q2057971
type Q8386
action count
action filter_type
action find_reverse
entity Q327298
relation P2175
type Q8386
[ANSWER]
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:P2175 ?f . ?f rdf:type ontology:Q2057971 . ?e rdf:type ontology:Q8386 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:P2175 resource:Q327298 . ?p rdf:type ontology:Q8386 } } . FILTER ( ?c < ?l ) }
corneal disease gestational trophoblastic neoplasm diverticulitis Renal tubular acidosis mood disorder transient cerebral ischemia angle-closure glaucoma Fabry disease Dilated cardiomyopathy parasitic ectoparasitic infectious disease Smith–Lemli–Opitz syndrome hyperaldosteronism hymenolepiasis refractive error ariboflavinosis male reproductive system disease trichinosis pancreatic ductal carcinoma microglandular adenosis Reye's syndrome periodontitis airway obstruction anterior uveitis pityriasis rosea muscular dystrophy cutaneous leishmaniasis microsporidiosis Thromboangiitis obliterans Riley-Day syndrome fibroma borderline personality disorder hereditary angioedema short bowel syndrome maxillary sinusitis AIDS dementia complex Takayasu's arteritis autoimmune thyroiditis epidermolysis bullosa beriberi trophoblastic neoplasm aphthous stomatitis anuria neuromyelitis optica interstitial lung disease disease of metabolism celiac disease Atypical hemolytic uremic syndrome collagen disease amyotrophic lateral sclerosis pancreatic endocrine carcinoma periodontal disease bronchiectasis mucopolysaccharidosis I Endometrial hyperplasia amelanotic melanoma iron deficiency anemia pure red-cell aplasia hemochromatosis central nervous system cancer neuronal ceroid lipofuscinosis congenital myasthenic syndrome amyloidosis adrenal gland hyperfunction trypanosomiasis aortic disease facial paralysis pleomorphic liposarcoma cerebral infarction pyoderma corneal edema opisthorchiasis Barrett's esophagus cerebral malaria social phobia mouth disease epididymitis myxoid leiomyosarcoma renal cell carcinoma Pneumococcal infection vesiculobullous skin disease stroke nephritis tuberculosis severe acute respiratory syndrome biliary atresia hyperuricemia Excessive daytime sleepiness neuroretinitis respiratory allergy Pulmonary alveolar proteinosis Marfan syndrome albino typhoid fever tetralogy of Fallot cryptosporidiosis Wernicke encephalopathy Neuroleptic malignant syndrome diffuse scleroderma herpes zoster cholesteryl ester storage disease hypopituitarism Nelson syndrome retinitis pigmentosa fragile X syndrome cutaneous lupus erythematosus genital herpes intestinal disease hookworm infections subacute delirium temporal lobe epilepsy urethral disease rickets brain edema adrenal gland cancer meibomian cyst bronchiolitis obliterans spinal cancer Entomophthoramycosis metabolic bone disease Burkitt lymphoma relapsing polychondritis bladder neck obstruction Friedreich's ataxia Craniosynostosis malignant hyperthermia hypoparathyroidism dry eye syndrome adrenal gland disease suppression amblyopia osteonecrosis mansonelliasis infant gynecomastia phaeochromocytoma gastritis causalgia hemophagocytic lymphohistiocytosis peroxisomal disease Von Willebrand disease premature ovarian failure actinomycosis Bartter disease cystinosis autoimmune hemolytic anemia adrenocortical carcinoma prothrombin deficiency Juvenile dermatomyositis urethritis megaloblastic anemia Epstein–Barr virus infection transient tic disorder adrenal cortex cancer cholangiocarcinoma chancroid MALT lymphoma salivary gland cancer hypoactive sexual desire disorder respiratory syncytial virus infectious disease familial lipoprotein lipase deficiency iridocyclitis elephantiasis histiocytoid hemangioma osteopetrosis neuroendocrine tumor pituitary carcinoma keratoconjunctivitis MHC class II deficiency Familial adenomatous polyposis Andersen-Tawil syndrome leg ulcers ichthyosis vulgaris Haemophilus meningitis brain infarction Medullary carcinoma corneal opacity varicose veins Kawasaki disease Spinal disc herniation hypoplastic left heart syndrome pachyonychia congenita psoriasis hemorrhagic shock agoraphobia fungal meningitis lepromatous leprosy viral infectious disease intestinal schistosomiasis Peutz-Jeghers syndrome visceral leishmaniasis Conduct disorder hypotrichosis dermatitis herpetiformis choline deficiency disease coronary thrombosis malignant peripheral nerve sheath tumor inflammatory bowel disease cleft palate septicemic plague vascular disease ascariasis Hypophosphatasia phosphorus metabolism disease gastrointestinal stromal tumor bone marrow cancer mechanical strabismus congenital diaphragmatic hernia Dracunculiasis necatoriasis vulva cancer B- and T-cell mixed leukemia hemorrhagic disease aplastic anemia Spinocerebellar ataxia B-cell lymphoma iritis colitis splenic disease cystinuria spondyloarthropathy hypochromic anemia pharyngoconjunctival fever Rubinstein-Taybi syndrome Hyperprolactinaemia proteinuria arthritis eclampsia allergic contact dermatitis bilirubin metabolic disorder glycogen storage disease II Postencephalitic parkinsonism thyroid gland disease spastic quadriplegia parasitic protozoa infectious disease chromoblastomycosis paroxysmal nocturnal hemoglobinuria uterine disease Porphyria cutanea tarda echinococcosis pulmonary sarcoidosis brucellosis colorectal cancer Cholera squamous cell papilloma myopathy thyrotoxicosis hematologic cancer carotid artery occlusion mevalonic aciduria sleep disorder Dystocia intermittent claudication Wolff-Parkinson-White syndrome perinatal necrotizing enterocolitis Netherton syndrome corneal ulcer choroideremia arteriosclerosis obliterans alkaptonuria borderline leprosy dystonia blepharospasm arthropathy skin melanoma Wilson disease essential tremor meningioma inappropriate ADH syndrome chondrosarcoma appendicitis inguinal hernia hypertrichosis lymphoblastic leukemia spondylolysis toxic diffuse goiter abdominal aortic aneurysm Prader-Willi syndrome colonic disease fibrosarcoma Leber hereditary optic neuropathy ovarian disease brain disease uveitis Extravasation hypoglycemia photosensitivity disease connective tissue benign neoplasm optic neuritis progressive supranuclear palsy childhood medulloblastoma functional colonic disease pernicious anemia Fanconi's anemia strongyloidiasis clonorchiasis hypothyroidisms macrocytic anemia persistent fetal circulation syndrome hemolytic anemia diabetic angiopathy factor VII deficiency hemorrhagic thrombocythemia parasitic helminthiasis infectious disease diabetes insipidus sleeping sickness Renovascular hypertension erythrasma tertiary neurosyphilis heroin dependence Hereditary hemorrhagic telangiectasia biliary tract cancer sclerosing cholangitis pleomorphic lipoma oppositional defiant disorder Paget's disease of bone bile duct carcinoma tuberous sclerosis Paranoid schizophrenia Mycobacterium avium complex disease ectopic pregnancy acute intermittent porphyria acute hemorrhagic conjunctivitis Coagulopathy Azoospermia urethral obstruction trachoma onchocerciasis babesiosis Zika fever bullous pemphigoid cysticercosis malignant mesothelioma myxedema insulinoma pyoderma gangrenosum Merkel cell carcinoma gastroenteritis pulmonary valve stenosis premature ejaculation coronary restenosis respiratory failure tyrosinemia type III Angioedema hypertrophic cardiomyopathy endocarditis pigmentation disease Distal muscular dystrophy esophageal disease thrombocytosis alcoholic polyneuropathy portal hypertension Myoclonic epilepsy inherited metabolic disorder Lynch syndrome Laron syndrome neonatal abstinence syndrome olfactory groove meningioma Romano–Ward syndrome migraine with aura Meniere's disease cervical incompetence West Nile encephalitis Aortic valve stenosis thyroid crisis laryngitis lymph node tuberculosis Antiphospholipid syndrome premenstrual tension Gaucher's disease Mastocytosis intracranial hypertension familial retinoblastoma dysentery bone disease suppurative otitis media bone marrow disease auditory system disease benign neonatal seizures central sleep apnea pellagra Polyostotic fibrous dysplasia hemosiderosis
380
action count
action less
action find_reverse_tuple_counts
relation medical condition treated
type health problem
type drug
action count
action filter_type
action find_reverse
entity shigellosis
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:medical_condition_treated ?f . ?f rdf:type ontology:health_problem . ?e rdf:type ontology:drug } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:medical_condition_treated resource:shigellosis . ?p rdf:type ontology:drug } } . FILTER ( ?c < ?l ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q10268830 Q1663054
P636
Q3249551
USER
Which processes have ingestion and inhalation as administration route ?
AND((c(Q3249551),P636,Q1663054), (c(Q3249551),P636,Q10268830))
action filter_type
action intersection
action find_reverse
entity Q1663054
relation P636
action find_reverse
entity Q10268830
relation P636
type Q3249551
{'AND': [[{'concept': 'Q3249551'}, 'P636', 'Q1663054'], [{'concept': 'Q3249551'}, 'P636', 'Q10268830']]}
SELECT DISTINCT ?q WHERE { ?q property:P636 resource:Q10268830 . ?q property:P636 resource:Q1663054 . ?q rdf:type ontology:Q3249551 }
inhalation ingestion
action filter_type
action intersection
action find_reverse
entity ingestion
relation route of administration
action find_reverse
entity inhalation
relation route of administration
type process
{'AND': [[{'concept': 'process'}, 'route of administration', 'ingestion'], [{'concept': 'process'}, 'route of administration', 'inhalation']]}
SELECT DISTINCT ?q WHERE { ?q property:route_of_administration resource:inhalation . ?q property:route_of_administration resource:ingestion . ?q rdf:type ontology:process }
[]
process
Q7625508 Q7030575
SYSTEM
strychnine poisoning, nicotine poisoning
Q7625508 Q7030575
AND((c(Q3249551),P636,Q1663054), (c(Q3249551),P636,Q10268830))
action filter_type
action intersection
action find_reverse
entity Q1663054
relation P636
action find_reverse
entity Q10268830
relation P636
type Q3249551
[ANSWERS] have ingestion and inhalation as administration route
{'AND': [[{'concept': 'Q3249551'}, 'P636', 'Q1663054'], [{'concept': 'Q3249551'}, 'P636', 'Q10268830']]}
SELECT DISTINCT ?q WHERE { ?q property:P636 resource:Q10268830 . ?q property:P636 resource:Q1663054 . ?q rdf:type ontology:Q3249551 }
strychnine poisoning nicotine poisoning
Strychnine poisoning and nicotine poisoning have ingestion and inhalation as administration route
strychnine poisoning nicotine poisoning
action filter_type
action intersection
action find_reverse
entity ingestion
relation route of administration
action find_reverse
entity inhalation
relation route of administration
type process
{'AND': [[{'concept': 'process'}, 'route of administration', 'ingestion'], [{'concept': 'process'}, 'route of administration', 'inhalation']]}
SELECT DISTINCT ?q WHERE { ?q property:route_of_administration resource:inhalation . ?q property:route_of_administration resource:ingestion . ?q rdf:type ontology:process }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q874405 Q151885 Q82799
USER
Which names are a component of max number of social groups and concepts ?
(c(Q82799),P361,c(Q874405)|c(Q151885))
action argmax
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q151885
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) ?x WHERE { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:Q151885 ) ( ontology:Q874405 ) } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?z WHERE { VALUES ( ?m ) { ( ontology:Q874405 ) ( ontology:Q151885 ) } . ?w rdf:type ?m } GROUP BY ?z } . FILTER ( ?j = ?y ) }
action argmax
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type concept
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'concept'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) ?x WHERE { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:concept ) ( ontology:social_group ) } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?z WHERE { VALUES ( ?m ) { ( ontology:social_group ) ( ontology:concept ) } . ?w rdf:type ?m } GROUP BY ?z } . FILTER ( ?j = ?y ) }
[]
social group concept name
Q1058384 Q746990 Q876933
SYSTEM
hakham, Brahman, magi
Q1058384 Q1557998 Q746990 Q876933
(c(Q82799),P361,c(Q874405)|c(Q151885))
action argmax
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q151885
[ANSWERS] are a component of max number of social groups and concepts
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) ?x WHERE { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:Q151885 ) ( ontology:Q874405 ) } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?z WHERE { VALUES ( ?m ) { ( ontology:Q874405 ) ( ontology:Q151885 ) } . ?w rdf:type ?m } GROUP BY ?z } . FILTER ( ?j = ?y ) }
hakham Gyalwang Drukpa Brahman magi
Hakham, Brahman and magi are a component of max number of social groups and concepts
hakham Brahman magi
action argmax
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type concept
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'concept'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) ?x WHERE { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:concept ) ( ontology:social_group ) } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?z WHERE { VALUES ( ?m ) { ( ontology:social_group ) ( ontology:concept ) } . ?w rdf:type ?m } GROUP BY ?z } . FILTER ( ?j = ?y ) }
[]