Simple Question (Direct)
Simple Question
Q2463227
P136
Q151885
USER
Which concept is the genre for Olivia Merilahti ?
(Q2463227,P136,c(Q151885))
action filter_type
action find
entity Q2463227
relation P136
type Q151885
['Q2463227', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?s WHERE { resource:Q2463227 property:P136 ?s . ?s rdf:type ontology:Q151885 }
Olivia Merilahti
action filter_type
action find
entity Olivia Merilahti
relation genre
type concept
['Olivia Merilahti', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?s WHERE { resource:Olivia_Merilahti property:genre ?s . ?s rdf:type ontology:concept }
[]
concept
Q183504
SYSTEM
indie rock
Q183504
(Q2463227,P136,c(Q151885))
action filter_type
action find
entity Q2463227
relation P136
type Q151885
The [ANSWER] is the genre for Olivia Merilahti
['Q2463227', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?s WHERE { resource:Q2463227 property:P136 ?s . ?s rdf:type ontology:Q151885 }
indie rock
The indie rock is the genre for Olivia Merilahti
indie rock
action filter_type
action find
entity Olivia Merilahti
relation genre
type concept
['Olivia Merilahti', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?s WHERE { resource:Olivia_Merilahti property:genre ?s . ?s rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2463227
P86
Q838948
USER
Which work of art has that person as the composer ?
(c(Q838948),P86,Q183504)
action filter_type
action find_reverse
entity Q2463227
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q183504']
SELECT DISTINCT ?r WHERE { ?r property:P86 resource:Q2463227 . ?r rdf:type ontology:Q838948 }
Olivia Merilahti
action filter_type
action find_reverse
entity Olivia Merilahti
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'indie rock']
SELECT DISTINCT ?r WHERE { ?r property:composer resource:Olivia_Merilahti . ?r rdf:type ontology:work_of_art }
[]
work of art
Q1031257
SYSTEM
Empire of the Wolves
Q1031257
(c(Q838948),P86,Q183504)
action filter_type
action find_reverse
entity Q2463227
relation P86
type Q838948
[ANSWER] has that person as the composer
[{'concept': 'Q838948'}, 'P86', 'Q183504']
SELECT DISTINCT ?r WHERE { ?r property:P86 resource:Q2463227 . ?r rdf:type ontology:Q838948 }
Empire of the Wolves
Empire of the Wolves has that person as the composer
Empire of the Wolves
action filter_type
action find_reverse
entity Olivia Merilahti
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'indie rock']
SELECT DISTINCT ?r WHERE { ?r property:composer resource:Olivia_Merilahti . ?r rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P636
Q151885 Q12136 Q8386
USER
Which concepts are the routes of administration of max number of diseases or drugs ?
(c(Q12136)|c(Q8386),P636,c(Q151885))
action argmax
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q12136
action find_reverse_tuple_counts
relation P636
type Q151885
type Q8386
[[{'concept': 'Q12136'}, {'concept': 'Q8386'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) ?a WHERE { { ?r property:P636 ?a . ?a rdf:type ontology:Q151885 . ?r rdf:type ontology:Q8386 } UNION { ?r property:P636 ?a . ?a rdf:type ontology:Q151885 . ?r rdf:type ontology:Q12136 } } GROUP BY ?a } } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?b WHERE { VALUES ( ?u ) { ( ontology:Q12136 ) ( ontology:Q8386 ) } . ?c rdf:type ?u } GROUP BY ?b } }
action argmax
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type disease
action find_reverse_tuple_counts
relation route of administration
type concept
type drug
[[{'concept': 'disease'}, {'concept': 'drug'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) ?a WHERE { { ?r property:route_of_administration ?a . ?a rdf:type ontology:concept . ?r rdf:type ontology:drug } UNION { ?r property:route_of_administration ?a . ?a rdf:type ontology:concept . ?r rdf:type ontology:disease } } GROUP BY ?a } } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?b WHERE { VALUES ( ?u ) { ( ontology:disease ) ( ontology:drug ) } . ?c rdf:type ?u } GROUP BY ?b } }
[]
concept disease drug
Q285166
SYSTEM
oral administration
Q285166
(c(Q12136)|c(Q8386),P636,c(Q151885))
action argmax
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q12136
action find_reverse_tuple_counts
relation P636
type Q151885
type Q8386
[ANSWER] is the routes of administration of max number of diseases or drugs
[[{'concept': 'Q12136'}, {'concept': 'Q8386'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) ?a WHERE { { ?r property:P636 ?a . ?a rdf:type ontology:Q151885 . ?r rdf:type ontology:Q8386 } UNION { ?r property:P636 ?a . ?a rdf:type ontology:Q151885 . ?r rdf:type ontology:Q12136 } } GROUP BY ?a } } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?b WHERE { VALUES ( ?u ) { ( ontology:Q12136 ) ( ontology:Q8386 ) } . ?c rdf:type ?u } GROUP BY ?b } }
oral administration
Oral administration is the routes of administration of max number of diseases or drugs
oral administration
action argmax
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type disease
action find_reverse_tuple_counts
relation route of administration
type concept
type drug
[[{'concept': 'disease'}, {'concept': 'drug'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) ?a WHERE { { ?r property:route_of_administration ?a . ?a rdf:type ontology:concept . ?r rdf:type ontology:drug } UNION { ?r property:route_of_administration ?a . ?a rdf:type ontology:concept . ?r rdf:type ontology:disease } } GROUP BY ?a } } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?b WHERE { VALUES ( ?u ) { ( ontology:disease ) ( ontology:drug ) } . ?c rdf:type ?u } GROUP BY ?b } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q285166 Q420207
P636
Q8386
USER
Does capecitabine follow the administration route of that concept ?
(Q420207,P636,Q285166)
action is_in
entity Q285166
action find
entity Q420207
relation P636
['Q420207', 'P636', 'Q285166']
ASK WHERE { resource:Q420207 property:P636 resource:Q285166 }
oral administration capecitabine
action is_in
entity oral administration
action find
entity capecitabine
relation route of administration
['capecitabine', 'route of administration', 'oral administration']
ASK WHERE { resource:capecitabine property:route_of_administration resource:oral_administration }
[]
drug
SYSTEM
YES
(Q420207,P636,Q285166)
action is_in
entity Q285166
action find
entity Q420207
relation P636
[ANSWER]
['Q420207', 'P636', 'Q285166']
ASK WHERE { resource:Q420207 property:P636 resource:Q285166 }
Yes
action is_in
entity oral administration
action find
entity capecitabine
relation route of administration
['capecitabine', 'route of administration', 'oral administration']
ASK WHERE { resource:capecitabine property:route_of_administration resource:oral_administration }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q204728
P706
Q271669 Q151885
USER
How many landforms are the location where greater number of concepts are located than Chalkidiki ?
(c(Q151885),P706,c(Q271669))
action count
action greater
action find_reverse_tuple_counts
relation P706
type Q271669
type Q151885
action count
action filter_type
action find
entity Q204728
relation P706
type Q271669
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:P706 ?j . ?j rdf:type ontology:Q271669 . ?n rdf:type ontology:Q151885 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Q204728 property:P706 ?h . ?h rdf:type ontology:Q271669 } } . FILTER ( ?o > ?m ) }
Chalkidiki
action count
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type landform
type concept
action count
action filter_type
action find
entity Chalkidiki
relation located on terrain feature
type landform
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:located_on_terrain_feature ?j . ?j rdf:type ontology:landform . ?n rdf:type ontology:concept } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Chalkidiki property:located_on_terrain_feature ?h . ?h rdf:type ontology:landform } } . FILTER ( ?o > ?m ) }
[]
landform concept
SYSTEM
4
Q193264 Q12837 Q23522 Q34374
(c(Q151885),P706,c(Q271669))
action count
action greater
action find_reverse_tuple_counts
relation P706
type Q271669
type Q151885
action count
action filter_type
action find
entity Q204728
relation P706
type Q271669
[ANSWER]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:P706 ?j . ?j rdf:type ontology:Q271669 . ?n rdf:type ontology:Q151885 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Q204728 property:P706 ?h . ?h rdf:type ontology:Q271669 } } . FILTER ( ?o > ?m ) }
Marajó Iberian Peninsula Balkans Crete
4
action count
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type landform
type concept
action count
action filter_type
action find
entity Chalkidiki
relation located on terrain feature
type landform
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?o ) WHERE { ?n property:located_on_terrain_feature ?j . ?j rdf:type ontology:landform . ?n rdf:type ontology:concept } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Chalkidiki property:located_on_terrain_feature ?h . ?h rdf:type ontology:landform } } . FILTER ( ?o > ?m ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q218507 Q420207
P2176
Q2057971
USER
Which health problems are cured by capecitabine and zoledronic acid ?
AND((c(Q2057971),P2176,Q420207), (c(Q2057971),P2176,Q218507))
action filter_type
action intersection
action find_reverse
entity Q420207
relation P2176
action find_reverse
entity Q218507
relation P2176
type Q2057971
{'AND': [[{'concept': 'Q2057971'}, 'P2176', 'Q420207'], [{'concept': 'Q2057971'}, 'P2176', 'Q218507']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2057971 . ?o property:P2176 resource:Q420207 . ?o property:P2176 resource:Q218507 }
zoledronic acid capecitabine
action filter_type
action intersection
action find_reverse
entity capecitabine
relation drug used for treatment
action find_reverse
entity zoledronic acid
relation drug used for treatment
type health problem
{'AND': [[{'concept': 'health problem'}, 'drug used for treatment', 'capecitabine'], [{'concept': 'health problem'}, 'drug used for treatment', 'zoledronic acid']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:health_problem . ?o property:drug_used_for_treatment resource:capecitabine . ?o property:drug_used_for_treatment resource:zoledronic_acid }
[]
health problem
Q18975905 Q1693598 Q18556933 Q128581
SYSTEM
collecting duct carcinoma, nasopharynx carcinoma, cribriform carcinoma, breast cancer
Q18975905 Q1693598 Q18556933 Q128581
AND((c(Q2057971),P2176,Q420207), (c(Q2057971),P2176,Q218507))
action filter_type
action intersection
action find_reverse
entity Q420207
relation P2176
action find_reverse
entity Q218507
relation P2176
type Q2057971
[ANSWERS] are cured by capecitabine and zoledronic acid
{'AND': [[{'concept': 'Q2057971'}, 'P2176', 'Q420207'], [{'concept': 'Q2057971'}, 'P2176', 'Q218507']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2057971 . ?o property:P2176 resource:Q420207 . ?o property:P2176 resource:Q218507 }
collecting duct carcinoma nasopharynx carcinoma cribriform carcinoma breast cancer
Collecting duct carcinoma, nasopharynx carcinoma, cribriform carcinoma and breast cancer are cured by capecitabine and zoledronic acid
collecting duct carcinoma nasopharynx carcinoma cribriform carcinoma breast cancer
action filter_type
action intersection
action find_reverse
entity capecitabine
relation drug used for treatment
action find_reverse
entity zoledronic acid
relation drug used for treatment
type health problem
{'AND': [[{'concept': 'health problem'}, 'drug used for treatment', 'capecitabine'], [{'concept': 'health problem'}, 'drug used for treatment', 'zoledronic acid']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:health_problem . ?o property:drug_used_for_treatment resource:capecitabine . ?o property:drug_used_for_treatment resource:zoledronic_acid }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q128581
P2175
Q79529 Q965478
USER
How many chemical substances and unsaturated hydrocarbons are used as a medication for breast cancer ?
(c(Q79529),P2175,Q128581) (c(Q965478),P2175,Q128581)
action count
action union
action filter_type
action find_reverse
entity Q128581
relation P2175
type Q79529
action filter_type
action find_reverse
entity Q128581
relation P2175
type Q965478
[{'concept': 'Q79529'}, 'P2175', 'Q128581'] [{'concept': 'Q965478'}, 'P2175', 'Q128581']
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:P2175 resource:Q128581 . ?n rdf:type ontology:Q79529 } UNION { ?n property:P2175 resource:Q128581 . ?n rdf:type ontology:Q965478 } }
breast cancer
action count
action union
action filter_type
action find_reverse
entity breast cancer
relation medical condition treated
type chemical substance
action filter_type
action find_reverse
entity breast cancer
relation medical condition treated
type unsaturated hydrocarbon
[{'concept': 'chemical substance'}, 'medical condition treated', 'breast cancer'] [{'concept': 'unsaturated hydrocarbon'}, 'medical condition treated', 'breast cancer']
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:medical_condition_treated resource:breast_cancer . ?n rdf:type ontology:chemical_substance } UNION { ?n property:medical_condition_treated resource:breast_cancer . ?n rdf:type ontology:unsaturated_hydrocarbon } }
[]
chemical substance unsaturated hydrocarbon
SYSTEM
1 chemical substances and 2 unsaturated hydrocarbons
Q415563 Q4347890 Q411240
(c(Q79529),P2175,Q128581) (c(Q965478),P2175,Q128581)
action count
action union
action filter_type
action find_reverse
entity Q128581
relation P2175
type Q79529
action filter_type
action find_reverse
entity Q128581
relation P2175
type Q965478
[ANSWER]
[{'concept': 'Q79529'}, 'P2175', 'Q128581'] [{'concept': 'Q965478'}, 'P2175', 'Q128581']
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:P2175 resource:Q128581 . ?n rdf:type ontology:Q79529 } UNION { ?n property:P2175 resource:Q128581 . ?n rdf:type ontology:Q965478 } }
Ethinyl Estradiol sodium valproate mifepristone
1 chemical substances and 2 unsaturated hydrocarbons
action count
action union
action filter_type
action find_reverse
entity breast cancer
relation medical condition treated
type chemical substance
action filter_type
action find_reverse
entity breast cancer
relation medical condition treated
type unsaturated hydrocarbon
[{'concept': 'chemical substance'}, 'medical condition treated', 'breast cancer'] [{'concept': 'unsaturated hydrocarbon'}, 'medical condition treated', 'breast cancer']
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { ?n property:medical_condition_treated resource:breast_cancer . ?n rdf:type ontology:chemical_substance } UNION { ?n property:medical_condition_treated resource:breast_cancer . ?n rdf:type ontology:unsaturated_hydrocarbon } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q12078 Q1693598
P2176
Q8386
USER
Which drugs are prescribed for nasopharynx carcinoma and cancer ?
AND((Q1693598,P2176,c(Q8386)), (Q12078,P2176,c(Q8386)))
action filter_type
action intersection
action find
entity Q1693598
relation P2176
action find
entity Q12078
relation P2176
type Q8386
{'AND': [['Q1693598', 'P2176', {'concept': 'Q8386'}], ['Q12078', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?f WHERE { resource:Q12078 property:P2176 ?f . resource:Q1693598 property:P2176 ?f . ?f rdf:type ontology:Q8386 }
cancer nasopharynx carcinoma
action filter_type
action intersection
action find
entity nasopharynx carcinoma
relation drug used for treatment
action find
entity cancer
relation drug used for treatment
type drug
{'AND': [['nasopharynx carcinoma', 'drug used for treatment', {'concept': 'drug'}], ['cancer', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?f WHERE { resource:cancer property:drug_used_for_treatment ?f . resource:nasopharynx_carcinoma property:drug_used_for_treatment ?f . ?f rdf:type ontology:drug }
[]
drug
Q420296 Q420207 Q238512
SYSTEM
Cetuximab, capecitabine, 5-fluorouracil
Q420296 Q420207 Q238512
AND((Q1693598,P2176,c(Q8386)), (Q12078,P2176,c(Q8386)))
action filter_type
action intersection
action find
entity Q1693598
relation P2176
action find
entity Q12078
relation P2176
type Q8386
[ANSWERS] are prescribed for nasopharynx carcinoma and cancer
{'AND': [['Q1693598', 'P2176', {'concept': 'Q8386'}], ['Q12078', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?f WHERE { resource:Q12078 property:P2176 ?f . resource:Q1693598 property:P2176 ?f . ?f rdf:type ontology:Q8386 }
Cetuximab capecitabine 5-fluorouracil
Cetuximab, capecitabine and 5-fluorouracil are prescribed for nasopharynx carcinoma and cancer
Cetuximab capecitabine 5-fluorouracil
action filter_type
action intersection
action find
entity nasopharynx carcinoma
relation drug used for treatment
action find
entity cancer
relation drug used for treatment
type drug
{'AND': [['nasopharynx carcinoma', 'drug used for treatment', {'concept': 'drug'}], ['cancer', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?f WHERE { resource:cancer property:drug_used_for_treatment ?f . resource:nasopharynx_carcinoma property:drug_used_for_treatment ?f . ?f rdf:type ontology:drug }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1641483
P2175
Q2057971 Q8386
USER
How many health problems are around the same number of drugs a medication for as hypotrichosis ?
(c(Q8386),P2175,c(Q2057971))
action count
action approx
action find_reverse_tuple_counts
relation P2175
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q1641483
relation P2175
type Q2057971
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?z ) WHERE { ?j rdf:type ontology:Q8386 . ?f rdf:type ontology:Q2057971 . ?j property:P2175 ?f } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { resource:Q1641483 property:P2175 ?p . ?p rdf:type ontology:Q2057971 } } . FILTER ( ?z = ?i ) }
hypotrichosis
action count
action approx
action find_reverse_tuple_counts
relation medical condition treated
type health problem
type drug
action count
action filter_type
action find
entity hypotrichosis
relation medical condition treated
type health problem
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?z ) WHERE { ?j rdf:type ontology:drug . ?f rdf:type ontology:health_problem . ?j property:medical_condition_treated ?f } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { resource:hypotrichosis property:medical_condition_treated ?p . ?p rdf:type ontology:health_problem } } . FILTER ( ?z = ?i ) }
[]
health problem drug
SYSTEM
612
Q334655 Q18553785 Q6473911 Q881855 Q1066061 Q1516211 Q188638 Q593958 Q18554545 Q246084 Q941770 Q615645 Q283656 Q916280 Q5334259 Q998273 Q1640860 Q676191 Q326071 Q12656487 Q470427 Q21154326 Q6742925 Q495146 Q18555986 Q18555243 Q18557091 Q18556131 Q725345 Q273510 Q826103 Q147778 Q638729 Q520127 Q2661464 Q1856914 Q4330029 Q646664 Q48143 Q1343674 Q3154357 Q748309 Q16499 Q830308 Q1125160 Q980709 Q1072420 Q1137767 Q2590966 Q1934052 Q746001 Q2325854 Q4667072 Q208166 Q190564 Q154882 Q2096745 Q127724 Q662272 Q18554971 Q3435504 Q432462 Q876887 Q187842 Q201989 Q923020 Q184084 Q2012569 Q18975720 Q18555117 Q189956 Q612681 Q611458 Q1153419 Q47790 Q2351083 Q11088 Q17165460 Q1446169 Q206901 Q18557440 Q18554909 Q1059765 Q32778 Q1906054 Q686574 Q18557172 Q4742183 Q954674 Q18554377 Q751631 Q3144934 Q18556002 Q448310 Q4358039 Q3508800 Q816798 Q4684750 Q2443552 Q18556675 Q7562539 Q18556954 Q1209150 Q2997615 Q188605 Q189580 Q6691991 Q18555094 Q18553993 Q1048084 Q808892 Q18554672 Q1435223 Q18554674 Q281928 Q2508462 Q1344812 Q18556705 Q1164529 Q4366062 Q7923229 Q12202 Q401402 Q12204 Q103177 Q659033 Q49970 Q201299 Q754348 Q3144201 Q18553800 Q1161568 Q23037744 Q448698 Q943897 Q186470 Q208562 Q16553613 Q3242950 Q247096 Q377978 Q324464 Q81867 Q653971 Q372701 Q83319 Q1126831 Q1359898 Q1573307 Q1424956 Q229256 Q18554846 Q182155 Q2622714 Q18556510 Q922411 Q2290446 Q1411740 Q209733 Q2165266 Q847057 Q221472 Q1693598 Q18553226 Q7476596 Q1527888 Q3055380 Q2300099 Q2057356 Q1713037 Q911427 Q11679861 Q18557988 Q616667 Q18557550 Q183392 Q18556052 Q574905 Q979168 Q18556128 Q769595 Q938107 Q18555233 Q614750 Q18556900 Q1658731 Q5380626 Q281490 Q6822340 Q1016605 Q187656 Q7900619 Q913856 Q378183 Q18968224 Q1585081 Q1586088 Q18553790 Q4684717 Q7644639 Q2072063 Q503629 Q4280605 Q18554119 Q1132120 Q536269 Q1898141 Q183130 Q18555343 Q1641132 Q1642170 Q8084905 Q180152 Q549534 Q1878759 Q3281322 Q709360 Q647630 Q189561 Q949302 Q939364 Q309067 Q422268 Q790971 Q223102 Q1474877 Q1149042 Q627625 Q18557394 Q7205993 Q28814 Q2076966 Q918285 Q18555043 Q6318950 Q1122485 Q1963588 Q2339038 Q10832211 Q5384031 Q18555190 Q18557308 Q124292 Q31798 Q2032041 Q591256 Q18558026 Q4667534 Q303555 Q18554367 Q184674 Q2349695 Q372752 Q145790 Q16775468 Q18556468 Q18556782 Q18556461 Q1755568 Q1981276 Q178436 Q18556544 Q1623006 Q18557017 Q1369011 Q2450598 Q773118 Q165328 Q18553212 Q3547899 Q3765145 Q17119372 Q19000544 Q259626 Q18555944 Q736715 Q6807316 Q3513968 Q201180 Q683861 Q335555 Q265936 Q697117 Q476921 Q1641399 Q3360152 Q179945 Q2964243 Q174589 Q18965511 Q5509169 Q6527832 Q1928978 Q154878 Q422225 Q18554412 Q18553329 Q1544989 Q1470140 Q271993 Q2046113 Q596474 Q2264130 Q18554021 Q1641483 Q1151507 Q18557946 Q707774 Q645363 Q68833 Q654485 Q917447 Q3678510 Q18555397 Q3616632 Q18557349 Q18975492 Q1146454 Q1266890 Q842428 Q18555095 Q1313510 Q18555096 Q1495661 Q1898104 Q18558101 Q2163245 Q388646 Q188151 Q4118581 Q178194 Q18554322 Q18558266 Q160653 Q611571 Q857667 Q846316 Q899726 Q4833719 Q657193 Q18558195 Q868137 Q131749 Q202837 Q2346396 Q2453464 Q18556331 Q1752571 Q7578540 Q1149046 Q52848 Q2306782 Q18554216 Q18554607 Q666980 Q1433936 Q308978 Q570197 Q170990 Q552348 Q612108 Q16242752 Q390475 Q1365789 Q17083186 Q3508787 Q6673122 Q10863074 Q7136145 Q3985306 Q1053824 Q18558243 Q506659 Q353172 Q2726043 Q1479494 Q18555940 Q1479497 Q777087 Q18554512 Q156050 Q188874 Q12090 Q7581954 Q692536 Q3991731 Q3327495 Q22467774 Q18975047 Q1576205 Q38404 Q42982 Q114085 Q3043158 Q1054718 Q938983 Q2894827 Q177190 Q1811189 Q12156 Q1097957 Q925092 Q10859678 Q9390284 Q1628473 Q2397009 Q19000484 Q651680 Q4944687 Q906492 Q327298 Q2711291 Q883863 Q3667186 Q18554884 Q12135 Q550455 Q708176 Q18558032 Q117121 Q174857 Q693519 Q369157 Q170518 Q959457 Q1076087 Q208726 Q121041 Q2403156 Q1144039 Q4119259 Q595010 Q506652 Q18553852 Q2000072 Q16483 Q2256736 Q540571 Q594013 Q18556979 Q18556754 Q1362453 Q36956 Q1262161 Q18554653 Q1076481 Q7113244 Q576349 Q1344835 Q1266519 Q280027 Q2051919 Q202758 Q608085 Q18553680 Q972514 Q949694 Q945930 Q18556102 Q12125 Q1891209 Q18556106 Q831530 Q749409 Q5508825 Q1346016 Q845779 Q2360849 Q298230 Q1102300 Q16501 Q2070695 Q7170410 Q1145668 Q489997 Q7632070 Q18555032 Q18555037 Q129104 Q578994 Q220551 Q464067 Q1209744 Q203133 Q167178 Q911386 Q3296793 Q939261 Q16935263 Q18558279 Q2840 Q18558272 Q776881 Q18556397 Q18554727 Q7204592 Q1328833 Q948318 Q1648484 Q193894 Q2035074 Q18556531 Q1362721 Q3392853 Q218712 Q2606101 Q644318 Q180913 Q6946984 Q845698 Q5075435 Q207087 Q424247 Q11491562 Q890200 Q826759 Q794026 Q18554349 Q12192 Q193216 Q1137321 Q5445 Q797668 Q373822 Q18553940 Q8071861 Q1004647 Q190805 Q246068 Q1077603 Q804521 Q966229 Q1501239 Q1526459 Q727028 Q1711744 Q1760461 Q1862972 Q3441028 Q156103 Q500816 Q3743620 Q926462 Q579527 Q319312 Q1144618 Q18556246 Q767485 Q7861692 Q5442760 Q1435822 Q1129007 Q1364270 Q18975031 Q82504 Q7193408 Q5282843 Q2912193 Q2092064 Q1542410 Q9294654 Q378681 Q4862390 Q124604 Q17147280 Q1758393 Q783644 Q669822 Q767327 Q18558236 Q18557816 Q724714 Q18555143 Q18553762 Q460167 Q18555061 Q2563414 Q18555063 Q18555066 Q531019 Q2421435 Q4458080 Q1194557 Q4678337 Q582207 Q220193 Q861645 Q18557714 Q585285 Q219102 Q112670 Q18555315 Q331283 Q165135 Q18558125 Q18556413 Q757838 Q129279 Q4941552 Q18554096 Q18556569 Q5325633 Q18967840 Q5062153 Q1483214 Q221441 Q7900616 Q424227 Q8282 Q4118166 Q2089854 Q28971
(c(Q8386),P2175,c(Q2057971))
action count
action approx
action find_reverse_tuple_counts
relation P2175
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q1641483
relation P2175
type Q2057971
[ANSWER]
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?z ) WHERE { ?j rdf:type ontology:Q8386 . ?f rdf:type ontology:Q2057971 . ?j property:P2175 ?f } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { resource:Q1641483 property:P2175 ?p . ?p rdf:type ontology:Q2057971 } } . FILTER ( ?z = ?i ) }
amenorrhea corneal disease herpes simplex gestational trophoblastic neoplasm diverticulitis Renal tubular acidosis mood disorder transient cerebral ischemia angle-closure glaucoma cystitis proctitis Fabry disease Dilated cardiomyopathy restless legs syndrome parasitic ectoparasitic infectious disease Smith–Lemli–Opitz syndrome hyperaldosteronism vaginitis giardiasis hymenolepiasis refractive error ariboflavinosis male reproductive system disease trichinosis pancreatic ductal carcinoma pulmonary tuberculosis microglandular adenosis thyroid carcinoma Kaposi's sarcoma candidiasis Reye's syndrome liver cirrhosis autoimmune thrombocytopenic purpura periodontitis glucose intolerance nocardiosis airway obstruction rickettsiosis meningitis lice infestation anterior uveitis Problem gambling hyperthyroidism age related macular degeneration pityriasis rosea status epilepticus primary biliary cirrhosis muscular dystrophy cutaneous leishmaniasis microsporidiosis Thromboangiitis obliterans Riley-Day syndrome fibroma borderline personality disorder Huntington's disease Legionnaires' disease hereditary angioedema cataract short bowel syndrome maxillary sinusitis AIDS dementia complex Takayasu's arteritis cellulitis autoimmune thyroiditis Lyme disease epidermolysis bullosa beriberi endometriosis of uterus trophoblastic neoplasm opiate dependence aphthous stomatitis anuria neuromyelitis optica interstitial lung disease tetanus disease of metabolism celiac disease Atypical hemolytic uremic syndrome collagen disease amyotrophic lateral sclerosis childhood cerebral astrocytoma pancreatic endocrine carcinoma periodontal disease bronchiectasis mucopolysaccharidosis I Endometrial hyperplasia follicular adenoma amelanotic melanoma iron deficiency anemia diabetic polyneuropathy pure red-cell aplasia hemochromatosis central nervous system cancer seborrheic dermatitis neuronal ceroid lipofuscinosis congenital myasthenic syndrome amyloidosis adrenal gland hyperfunction trypanosomiasis aortic disease facial paralysis pleomorphic liposarcoma cerebral infarction pyoderma pulmonary emphysema acromegaly pervasive developmental disorder central nervous system origin vertigo corneal edema opisthorchiasis Barrett's esophagus Plasmodium falciparum malaria focal segmental glomerulosclerosis 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 hairy cell leukemia Infant respiratory distress syndrome Excessive daytime sleepiness neuroretinitis Granulomatosis with polyangiits respiratory allergy Pulmonary alveolar proteinosis gastroparesis tonsillitis Marfan syndrome complex partial epilepsy kidney cancer Paracoccidioidomycosis thrombophlebitis Testicular cancer albino dyspepsia esophageal cancer typhoid fever tetralogy of Fallot cryptosporidiosis Wernicke encephalopathy Neuroleptic malignant syndrome dermatitis diffuse scleroderma herpes zoster cholesteryl ester storage disease salivary gland adenoid cystic carcinoma hypopituitarism idiopathic pulmonary fibrosis histiocytosis chronic fatigue syndrome Nelson syndrome retinitis pigmentosa fragile X syndrome nasopharynx carcinoma cutaneous lupus erythematosus genital herpes pancreatitis intestinal disease gastrointestinal system disease eosinophilic esophagitis membranous glomerulonephritis Behcet's disease hookworm infections subacute delirium temporal lobe epilepsy urethral disease rickets nutrition disease Clostridium difficile colitis brain edema adrenal gland cancer meibomian cyst hypogonadism cervix carcinoma bronchiolitis obliterans spinal cancer Postoperative nausea and vomiting Entomophthoramycosis urinary incontinence .l. metabolic bone disease Burkitt lymphoma relapsing polychondritis bladder neck obstruction Friedreich's ataxia Craniosynostosis rectum cancer malignant hyperthermia hypoparathyroidism dry eye syndrome adrenal gland disease suppression amblyopia patent ductus arteriosus osteonecrosis mansonelliasis infant gynecomastia trigeminal neuralgia phaeochromocytoma rhabdomyosarcoma gastritis causalgia malignant hypertension hemophagocytic lymphohistiocytosis autoimmune neuromuscular disease Vitiligo osteosarcoma lymphangioleiomyomatosis peroxisomal disease Von Willebrand disease premature ovarian failure narcolepsy skin disease congenital heart disease motion sickness actinomycosis Bartter disease peritonitis Hypercalcaemia cystinosis histoplasmosis embryonal cancer pneumocystosis autoimmune hemolytic anemia cytomegalia adrenocortical carcinoma prothrombin deficiency Juvenile dermatomyositis urethritis hematopoietic system disease Neurogenic bladder megaloblastic anemia Epstein–Barr virus infection transient tic disorder adrenal cortex cancer cholangiocarcinoma chancroid intermediate coronary syndrome MALT lymphoma salivary gland cancer leiomyoma hypoactive sexual desire disorder respiratory syncytial virus infectious disease impotence familial lipoprotein lipase deficiency Prostatitis iridocyclitis elephantiasis vasculogenic impotence lung oat cell carcinoma histiocytoid hemangioma osteopetrosis neuroendocrine tumor constipation pituitary carcinoma keratoconjunctivitis MHC class II deficiency Familial adenomatous polyposis infective endocarditis Andersen-Tawil syndrome osteoporosis cutaneous mycosis leg ulcers ichthyosis vulgaris Haemophilus meningitis lung small cell carcinoma aspergillosis brain infarction chronic kidney disease Medullary carcinoma corneal opacity varicose veins campylobacteriosis Sjögren's syndrome Kawasaki disease Spinal disc herniation kidney failure hypoplastic left heart syndrome pachyonychia congenita psoriasis hemorrhagic shock agoraphobia secondary progressive multiple sclerosis fungal meningitis lepromatous leprosy viral infectious disease toxoplasmosis actinic keratosis Plasmodium vivax malaria intestinal schistosomiasis Peutz-Jeghers syndrome cryptococcosis hyperglycemia visceral leishmaniasis Conduct disorder Trichuriasis common wart hypotrichosis dermatitis herpetiformis choline deficiency disease coronary thrombosis bursitis bone fracture malignant peripheral nerve sheath tumor inflammatory bowel disease bacterial meningitis Ewing sarcoma Beta-thalassemia cleft palate septicemic plague IgA glomerulonephritis vascular disease ascariasis infantile epileptic encephalopathy Hypophosphatasia phosphorus metabolism disease gastrointestinal stromal tumor bone marrow cancer mechanical strabismus congenital diaphragmatic hernia Dracunculiasis ischemia necatoriasis cystic fibrosis vulva cancer B- and T-cell mixed leukemia listeriosis hemorrhagic disease pulmonary edema aplastic anemia Spinocerebellar ataxia B-cell lymphoma metabolic syndrome bacterial conjunctivitis coccidioidomycosis anorexia nervosa cardiac arrest iritis colitis cystoid macular edema myelofibrosis splenic disease cystinuria spondyloarthropathy hypochromic anemia morbid obesity pharyngoconjunctival fever Rubinstein-Taybi syndrome Hyperprolactinaemia decubitus ulcer proteinuria arthritis eclampsia acute promyelocytic leukemia allergic contact dermatitis bilirubin metabolic disorder glycogen storage disease II obstructive sleep apnea Postencephalitic parkinsonism thyroid gland disease fatty liver disease parathyroid gland disease spastic quadriplegia Raynaud disease lingual-facial-buccal dyskinesia prostatic adenoma 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 Oral candidiasis premature menopause hematologic cancer carotid artery occlusion autism type I hypersensitivity rhinitis mevalonic aciduria kidney disease osteomyelitis childhood absence epilepsy sleep disorder Dystocia malaria intermittent claudication Wolff-Parkinson-White syndrome perinatal necrotizing enterocolitis Netherton syndrome corneal ulcer choroideremia arteriosclerosis obliterans alkaptonuria borderline leprosy dystonia shigellosis familial hypercholesterolemia blepharospasm Keratosis retinal vein occlusion mental disorder retinal disease arthropathy skin melanoma Wilson disease scoliosis essential tremor meningioma burn inappropriate ADH syndrome chondrosarcoma anogenital venereal wart appendicitis vasomotor rhinitis inguinal hernia vernal conjunctivitis hypertrichosis pyelonephritis lymphoblastic leukemia spondylolysis toxic diffuse goiter abdominal aortic aneurysm fibromyalgia Prader-Willi syndrome peripheral nervous system disease colonic disease fibrosarcoma leprosy Leber hereditary optic neuropathy peptic esophagitis choriocarcinoma ovarian disease brain disease hyperparathyroidism corneal neovascularization uveitis Extravasation hypoglycemia photosensitivity disease connective tissue benign neoplasm optic neuritis amebiasis progressive supranuclear palsy childhood medulloblastoma common cold mycosis fungoides functional colonic disease rosacea osteogenesis imperfecta Functional gastrointestinal disorder pernicious anemia Fanconi's anemia strongyloidiasis esophagitis clonorchiasis hypothyroidisms macrocytic anemia persistent fetal circulation syndrome hemolytic anemia diabetic angiopathy substance-related disorder factor VII deficiency hemorrhagic thrombocythemia anthrax disease parasitic helminthiasis infectious disease diabetes insipidus mycosis uterine cancer sleeping sickness scabies stomatitis Renovascular hypertension erythrasma Serratia infection tertiary neurosyphilis influenza heroin dependence Hereditary hemorrhagic telangiectasia biliary tract cancer sclerosing cholangitis pleomorphic lipoma oppositional defiant disorder polycythemia vera Duchenne muscular dystrophy sarcoidosis Paget's disease of bone bile duct carcinoma tuberous sclerosis lung disease Zollinger-Ellison syndrome Paranoid schizophrenia vasculitis bulimia nervosa Mycobacterium avium complex disease blepharitis alopecia areata ectopic pregnancy acute intermittent porphyria acute hemorrhagic conjunctivitis Coagulopathy status asthmaticus Azoospermia urethral obstruction pneumonia trachoma onchocerciasis anemia babesiosis eating disorder gastric ulcer Zika fever bullous pemphigoid heart disease cysticercosis malignant mesothelioma bacterial vaginosis myxedema insulinoma pyoderma gangrenosum bacterial infectious disease Merkel cell carcinoma ovarian hyperstimulation syndrome pterygium Norum disease gastroenteritis polycystic ovary syndrome cannabis dependence pityriasis versicolor pulmonary valve stenosis premature ejaculation familial Mediterranean fever coronary restenosis respiratory failure tyrosinemia type III female reproductive system disease neutropenia Angioedema hypertrophic cardiomyopathy basal cell carcinoma endocarditis pigmentation disease Distal muscular dystrophy esophageal disease hemophilia A thrombocytosis alcoholic polyneuropathy peripheral artery disease brain ischemia portal hypertension Myoclonic epilepsy inherited metabolic disorder Lynch syndrome Laron syndrome Sporotrichosis neonatal abstinence syndrome olfactory groove meningioma Romano–Ward syndrome benign mesothelioma migraine with aura Meniere's disease colonic benign neoplasm cervical incompetence West Nile encephalitis relapsing-remitting multiple sclerosis Aortic valve stenosis pre-eclampsia thyroid crisis laryngitis lymph node tuberculosis Antiphospholipid syndrome premenstrual tension Gaucher's disease epilepsy with generalized tonic-clonic seizures thrombocytopenia Cushing's syndrome Mastocytosis skin benign neoplasm leishmaniasis goiter intracranial hypertension familial retinoblastoma keratitis dysentery bone disease suppurative otitis media bone marrow disease auditory system disease benign neonatal seizures central sleep apnea pemphigus pellagra bladder disease bronchiolitis Addison's disease Polyostotic fibrous dysplasia hemosiderosis impetigo
612
action count
action approx
action find_reverse_tuple_counts
relation medical condition treated
type health problem
type drug
action count
action filter_type
action find
entity hypotrichosis
relation medical condition treated
type health problem
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?z ) WHERE { ?j rdf:type ontology:drug . ?f rdf:type ontology:health_problem . ?j property:medical_condition_treated ?f } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { resource:hypotrichosis property:medical_condition_treated ?p . ?p rdf:type ontology:health_problem } } . FILTER ( ?z = ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q183344
P2175
Q2057971 Q8386
USER
And what about sinusitis?
(c(Q8386),P2175,c(Q2057971))
action count
action approx
action find_reverse_tuple_counts
relation P2175
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q183344
relation P2175
type Q2057971
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:P2175 ?y . ?y rdf:type ontology:Q2057971 . ?f rdf:type ontology:Q8386 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Q183344 property:P2175 ?t . ?t rdf:type ontology:Q2057971 } } . FILTER ( ?m = ?b ) }
sinusitis
action count
action approx
action find_reverse_tuple_counts
relation medical condition treated
type health problem
type drug
action count
action filter_type
action find
entity sinusitis
relation medical condition treated
type health problem
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:medical_condition_treated ?y . ?y rdf:type ontology:health_problem . ?f rdf:type ontology:drug } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:sinusitis property:medical_condition_treated ?t . ?t rdf:type ontology:health_problem } } . FILTER ( ?m = ?b ) }
[]
health problem drug
SYSTEM
110
Q3776920 Q18556131 Q2085267 Q638729 Q264118 Q830308 Q18968110 Q185034 Q9294051 Q184559 Q18554191 Q11085 Q172341 Q41478 Q212961 Q504775 Q220570 Q189588 Q18554672 Q741713 Q18555280 Q6708277 Q2157462 Q12206 Q133087 Q223254 Q324464 Q372701 Q166019 Q2290446 Q1485 Q815819 Q5340515 Q838966 Q954625 Q1128595 Q18971509 Q5609817 Q18555302 Q929737 Q1641132 Q949302 Q183344 Q178436 Q165328 Q486485 Q18975905 Q12199 Q18555301 Q18975788 Q133823 Q18554145 Q861224 Q178194 Q938205 Q12174 Q52844 Q52849 Q268667 Q1477 Q223591 Q729735 Q631361 Q18556020 Q506659 Q18555222 Q18556933 Q159701 Q544006 Q199804 Q7535406 Q8277 Q1054718 Q131755 Q18557827 Q33525 Q179399 Q4119259 Q540571 Q79928 Q18556612 Q124407 Q18555313 Q154869 Q7331102 Q504790 Q153356 Q17141201 Q18555307 Q3108586 Q18553940 Q202387 Q511097 Q172941 Q18554460 Q3441028 Q83030 Q5442760 Q178190 Q18971555 Q191779 Q1783924 Q18555066 Q181923 Q1088156 Q101896 Q8285 Q18553444 Q187440 Q977090
(c(Q8386),P2175,c(Q2057971))
action count
action approx
action find_reverse_tuple_counts
relation P2175
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q183344
relation P2175
type Q2057971
[ANSWER]
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:P2175 ?y . ?y rdf:type ontology:Q2057971 . ?f rdf:type ontology:Q8386 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Q183344 property:P2175 ?t . ?t rdf:type ontology:Q2057971 } } . FILTER ( ?m = ?b ) }
bacterial pneumonia thyroid carcinoma pharyngitis autoimmune thrombocytopenic purpura acute myeloid leukemia age related macular degeneration duodenal ulcer sickle cell anemia ocular hypertension arteriosclerosis visual epilepsy Parkinson's disease ovarian cancer hemorrhoid pancreatic cancer urinary bladder cancer pulmonary embolism stomach cancer Plasmodium falciparum malaria panic disorder giant cell glioblastoma lymphoid leukemia schizophreniform disorder diabetes mellitus gout otitis media Testicular cancer esophageal cancer bleeding idiopathic pulmonary fibrosis systemic lupus erythematosus atrial fibrillation systemic scleroderma irritable bowel syndrome myelodysplastic syndrome pulmonary hypertension focal epilepsy Athlete's foot scalp dermatosis liver disease malignant hypertension skin disease sinusitis constipation osteoporosis Anasarca collecting duct carcinoma acquired immunodeficiency syndrome facial dermatosis spindle cell sarcoma migraine familial hyperlipidemia juvenile idiopathic arthritis cystic fibrosis neuroblastoma obesity enthesopathy ankylosing spondylitis atopic dermatitis ulcerative colitis gastroesophageal reflux disease chronic myeloid leukemia diabetic retinopathy lung benign neoplasm prostatic adenoma endometrial carcinoma cribriform carcinoma glaucoma anxiety disorder chronic obstructive pulmonary disease skin infection multiple sclerosis kidney disease bipolar disorder cocaine abuse carcinoma infertility vernal conjunctivitis fibromyalgia acne mixed glioma type 1 diabetes mellitus hand dermatosis hepatitis C alcohol abuse nephrotic syndrome chlamydia Tinea leg dermatosis open-angle glaucoma gastric ulcer post-traumatic stress disorder psoriatic arthritis peptic ulcer disease brain cancer Norum disease dementia female reproductive system disease obsessive-compulsive disorder obstructive lung disease Gilles de la Tourette syndrome head and neck cancer relapsing-remitting multiple sclerosis attention deficit hyperactivity disorder chronic lymphocytic leukemia gonorrhea myasthenia gravis nicotine dependence urticaria vulvovaginal candidiasis
110
action count
action approx
action find_reverse_tuple_counts
relation medical condition treated
type health problem
type drug
action count
action filter_type
action find
entity sinusitis
relation medical condition treated
type health problem
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:medical_condition_treated ?y . ?y rdf:type ontology:health_problem . ?f rdf:type ontology:drug } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:sinusitis property:medical_condition_treated ?t . ?t rdf:type ontology:health_problem } } . FILTER ( ?m = ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2463227
P27
Q15617994
USER
Which administrative territories are Olivia Merilahti a civilian of ?
(Q2463227,P27,c(Q15617994))
action filter_type
action find
entity Q2463227
relation P27
type Q15617994
['Q2463227', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q2463227 property:P27 ?t }
Olivia Merilahti
action filter_type
action find
entity Olivia Merilahti
relation country of citizenship
type designation for an administrative territorial entity
['Olivia Merilahti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Olivia_Merilahti property:country_of_citizenship ?t }
[]
designation for an administrative territorial entity
Q142 Q33
SYSTEM
France, Finland
Q142 Q33
(Q2463227,P27,c(Q15617994))
action filter_type
action find
entity Q2463227
relation P27
type Q15617994
[ANSWERS] are Olivia Merilahti a civilian of
['Q2463227', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q2463227 property:P27 ?t }
France Finland
France and Finland are Olivia Merilahti a civilian of
France Finland
action filter_type
action find
entity Olivia Merilahti
relation country of citizenship
type designation for an administrative territorial entity
['Olivia Merilahti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Olivia_Merilahti property:country_of_citizenship ?t }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q18556612 Q12078
P2176
Q8386
USER
Which drugs are used as an antidote for cancer and mixed glioma ?
AND((Q12078,P2176,c(Q8386)), (Q18556612,P2176,c(Q8386)))
action filter_type
action intersection
action find
entity Q12078
relation P2176
action find
entity Q18556612
relation P2176
type Q8386
{'AND': [['Q12078', 'P2176', {'concept': 'Q8386'}], ['Q18556612', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?q WHERE { resource:Q18556612 property:P2176 ?q . resource:Q12078 property:P2176 ?q . ?q rdf:type ontology:Q8386 }
mixed glioma cancer
action filter_type
action intersection
action find
entity cancer
relation drug used for treatment
action find
entity mixed glioma
relation drug used for treatment
type drug
{'AND': [['cancer', 'drug used for treatment', {'concept': 'drug'}], ['mixed glioma', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?q WHERE { resource:mixed_glioma property:drug_used_for_treatment ?q . resource:cancer property:drug_used_for_treatment ?q . ?q rdf:type ontology:drug }
[]
drug
Q423111 Q32089 Q423417 Q7699074 Q415869 Q419940 Q417824 Q2070286 Q421052 Q413299
SYSTEM
Some of them are vemurafenib, Sirolimus, Imiquimod, temsirolimus, carmustine, dasatinib, gefitinib, vismodegib, Everolimus, Bevacizumab
Q32089 Q413299 Q408801 Q420207 Q417824 Q7699074 Q415869 Q421052 Q423417 Q2070286 Q423111 Q419940
AND((Q12078,P2176,c(Q8386)), (Q18556612,P2176,c(Q8386)))
action filter_type
action intersection
action find
entity Q12078
relation P2176
action find
entity Q18556612
relation P2176
type Q8386
[ANSWERS] are used as an antidote for cancer and mixed glioma
{'AND': [['Q12078', 'P2176', {'concept': 'Q8386'}], ['Q18556612', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?q WHERE { resource:Q18556612 property:P2176 ?q . resource:Q12078 property:P2176 ?q . ?q rdf:type ontology:Q8386 }
Sirolimus Bevacizumab celecoxib capecitabine gefitinib temsirolimus carmustine Everolimus Imiquimod vismodegib vemurafenib dasatinib
Vemurafenib, Sirolimus, Imiquimod, temsirolimus, carmustine, dasatinib, gefitinib, vismodegib, Everolimus and Bevacizumab are used as an antidote for cancer and mixed glioma
vemurafenib Sirolimus Imiquimod temsirolimus carmustine dasatinib gefitinib vismodegib Everolimus Bevacizumab
action filter_type
action intersection
action find
entity cancer
relation drug used for treatment
action find
entity mixed glioma
relation drug used for treatment
type drug
{'AND': [['cancer', 'drug used for treatment', {'concept': 'drug'}], ['mixed glioma', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?q WHERE { resource:mixed_glioma property:drug_used_for_treatment ?q . resource:cancer property:drug_used_for_treatment ?q . ?q rdf:type ontology:drug }
[]