Simple Question (Direct)
Simple Question
Q3105804
P1196
Q1931388
USER
What situation did Gilbert Moses die in ?
(Q3105804,P1196,c(Q1931388))
action filter_type
action find
entity Q3105804
relation P1196
type Q1931388
['Q3105804', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?b WHERE { resource:Q3105804 property:P1196 ?b . ?b rdf:type ontology:Q1931388 }
Gilbert Moses
action filter_type
action find
entity Gilbert Moses
relation manner of death
type cause of death
['Gilbert Moses', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?b WHERE { resource:Gilbert_Moses property:manner_of_death ?b . ?b rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q3105804,P1196,c(Q1931388))
action filter_type
action find
entity Q3105804
relation P1196
type Q1931388
Gilbert Moses died of [ANSWER]
['Q3105804', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?b WHERE { resource:Q3105804 property:P1196 ?b . ?b rdf:type ontology:Q1931388 }
natural causes
Gilbert Moses died of natural causes
natural causes
action filter_type
action find
entity Gilbert Moses
relation manner of death
type cause of death
['Gilbert Moses', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?b WHERE { resource:Gilbert_Moses property:manner_of_death ?b . ?b rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3105804
P509
Q2057971
USER
What caused the death of Gilbert Moses ?
(Q3105804,P509,c(Q2057971))
action filter_type
action find
entity Q3105804
relation P509
type Q2057971
['Q3105804', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q2057971 . resource:Q3105804 property:P509 ?d }
Gilbert Moses
action filter_type
action find
entity Gilbert Moses
relation cause of death
type health problem
['Gilbert Moses', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:health_problem . resource:Gilbert_Moses property:cause_of_death ?d }
[]
health problem
Q467635
SYSTEM
multiple myeloma
Q467635
(Q3105804,P509,c(Q2057971))
action filter_type
action find
entity Q3105804
relation P509
type Q2057971
[ANSWER] caused the death of Gilbert Moses
['Q3105804', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q2057971 . resource:Q3105804 property:P509 ?d }
multiple myeloma
Multiple myeloma caused the death of Gilbert Moses
multiple myeloma
action filter_type
action find
entity Gilbert Moses
relation cause of death
type health problem
['Gilbert Moses', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:health_problem . resource:Gilbert_Moses property:cause_of_death ?d }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19962469
Q2057971
USER
And also tell me about Manuel Goycoolea Espoz?
(Q19962469,P509,c(Q2057971))
action filter_type
action find
entity Q19962469
relation P509
type Q2057971
['Q19962469', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?a WHERE { resource:Q19962469 property:P509 ?a . ?a rdf:type ontology:Q2057971 }
Manuel Goycoolea Espoz
action filter_type
action find
entity Manuel Goycoolea Espoz
relation cause of death
type health problem
['Manuel Goycoolea Espoz', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?a WHERE { resource:Manuel_Goycoolea_Espoz property:cause_of_death ?a . ?a rdf:type ontology:health_problem }
[]
health problem
Q767485
SYSTEM
respiratory failure
Q767485
(Q19962469,P509,c(Q2057971))
action filter_type
action find
entity Q19962469
relation P509
type Q2057971
[ANSWER]
['Q19962469', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?a WHERE { resource:Q19962469 property:P509 ?a . ?a rdf:type ontology:Q2057971 }
respiratory failure
respiratory failure
action filter_type
action find
entity Manuel Goycoolea Espoz
relation cause of death
type health problem
['Manuel Goycoolea Espoz', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?a WHERE { resource:Manuel_Goycoolea_Espoz property:cause_of_death ?a . ?a rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q467635
P2176
Q79529 Q8386
USER
How many chemical substances and drugs are used for treating multiple myeloma ?
(Q467635,P2176,c(Q79529)) (Q467635,P2176,c(Q8386))
action count
action union
action filter_type
action find
entity Q467635
relation P2176
type Q79529
action filter_type
action find
entity Q467635
relation P2176
type Q8386
['Q467635', 'P2176', {'concept': 'Q79529'}] ['Q467635', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { ?s rdf:type ontology:Q79529 . resource:Q467635 property:P2176 ?s } UNION { ?s rdf:type ontology:Q8386 . resource:Q467635 property:P2176 ?s } }
multiple myeloma
action count
action union
action filter_type
action find
entity multiple myeloma
relation drug used for treatment
type chemical substance
action filter_type
action find
entity multiple myeloma
relation drug used for treatment
type drug
['multiple myeloma', 'drug used for treatment', {'concept': 'chemical substance'}] ['multiple myeloma', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { ?s rdf:type ontology:chemical_substance . resource:multiple_myeloma property:drug_used_for_treatment ?s } UNION { ?s rdf:type ontology:drug . resource:multiple_myeloma property:drug_used_for_treatment ?s } }
[]
chemical substance drug
SYSTEM
2 chemical substances and 32 drugs
Q419319 Q15366934 Q419940 Q905835 Q419724 Q412415 Q621834 Q408524 Q3960572 Q1592932 Q408283 Q5222113 Q386119 Q415869 Q422252 Q5984881 Q423111 Q3151081 Q905901 Q11426176 Q20801763 Q413299 Q218507 Q32089 Q5134875 Q3723645 Q7160789 Q1187179 Q418656 Q2298283 Q424972 Q7127523 Q203174 Q423762
(Q467635,P2176,c(Q79529)) (Q467635,P2176,c(Q8386))
action count
action union
action filter_type
action find
entity Q467635
relation P2176
type Q79529
action filter_type
action find
entity Q467635
relation P2176
type Q8386
[ANSWER]
['Q467635', 'P2176', {'concept': 'Q79529'}] ['Q467635', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { ?s rdf:type ontology:Q79529 . resource:Q467635 property:P2176 ?s } UNION { ?s rdf:type ontology:Q8386 . resource:Q467635 property:P2176 ?s } }
Bortezomib carfilzomib dasatinib plerixafor fenofibrate cisplatin aprepitant cyclophosphamide Siltuximab Pegfilgrastim Denosumab Daratumumab Natalizumab carmustine dexamethasone ibrutinib vemurafenib Filgrastim vorinostat prednisolone Aldesleukin Bevacizumab zoledronic acid Sirolimus clofarabine Elotuzumab Peginterferon alfa-2b Denileukin diftitox procarbazine melphalan prednisone Palifermin thalidomide Paclitaxel
2 chemical substances and 32 drugs
action count
action union
action filter_type
action find
entity multiple myeloma
relation drug used for treatment
type chemical substance
action filter_type
action find
entity multiple myeloma
relation drug used for treatment
type drug
['multiple myeloma', 'drug used for treatment', {'concept': 'chemical substance'}] ['multiple myeloma', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { ?s rdf:type ontology:chemical_substance . resource:multiple_myeloma property:drug_used_for_treatment ?s } UNION { ?s rdf:type ontology:drug . resource:multiple_myeloma property:drug_used_for_treatment ?s } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q244185 Q19962469
P47 P27
Q15617994
USER
Which administrative territories do Manuel Goycoolea Espoz belong to or are bordered by Cadorago ?
OR((Q19962469,P27,c(Q15617994)), (Q244185,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q19962469
relation P27
action find
entity Q244185
relation P47
type Q15617994
{'OR': [['Q19962469', 'P27', {'concept': 'Q15617994'}], ['Q244185', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q19962469 property:P27 ?w } UNION { resource:Q244185 property:P47 ?w } } . ?w rdf:type ontology:Q15617994 }
Cadorago Manuel Goycoolea Espoz
action filter_type
action union
action find
entity Manuel Goycoolea Espoz
relation country of citizenship
action find
entity Cadorago
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Manuel Goycoolea Espoz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Cadorago', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Manuel_Goycoolea_Espoz property:country_of_citizenship ?w } UNION { resource:Cadorago property:shares_border_with ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q47377 Q298 Q244136 Q47648 Q47460 Q47641
SYSTEM
Vertemate con Minoprio, Chile, Bregnano, Lomazzo, Fino Mornasco, Guanzate
Q47377 Q298 Q244136 Q47648 Q47460 Q47641
OR((Q19962469,P27,c(Q15617994)), (Q244185,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q19962469
relation P27
action find
entity Q244185
relation P47
type Q15617994
Manuel Goycoolea Espoz belong to [ANSWERS]
{'OR': [['Q19962469', 'P27', {'concept': 'Q15617994'}], ['Q244185', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q19962469 property:P27 ?w } UNION { resource:Q244185 property:P47 ?w } } . ?w rdf:type ontology:Q15617994 }
Vertemate con Minoprio Chile Bregnano Lomazzo Fino Mornasco Guanzate
Manuel Goycoolea Espoz belong to Vertemate con Minoprio, Chile, Bregnano, Lomazzo, Fino Mornasco and Guanzate
Vertemate con Minoprio Chile Bregnano Lomazzo Fino Mornasco Guanzate
action filter_type
action union
action find
entity Manuel Goycoolea Espoz
relation country of citizenship
action find
entity Cadorago
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Manuel Goycoolea Espoz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Cadorago', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Manuel_Goycoolea_Espoz property:country_of_citizenship ?w } UNION { resource:Cadorago property:shares_border_with ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q810
P138
Q15617994 Q82799 Q16521
USER
Which administrative territories are approximately the same number of names and taxons named after as Jordan ?
(c(Q82799)|c(Q16521),P138,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q82799
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q16521
action count
action filter_multi_types
action find_reverse
entity Q810
relation P138
type Q82799
type Q16521
[[{'concept': 'Q82799'}, {'concept': 'Q16521'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?b ) AS ?k ) WHERE { { ?b property:P138 ?o . ?o rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q82799 } UNION { ?b property:P138 ?o . ?o rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q16521 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P138 resource:Q810 . { { ?n rdf:type ontology:Q82799 } UNION { ?n rdf:type ontology:Q16521 } } } } . FILTER ( ?k = ?v ) }
Jordan
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type name
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type taxon
action count
action filter_multi_types
action find_reverse
entity Jordan
relation named after
type name
type taxon
[[{'concept': 'name'}, {'concept': 'taxon'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?b ) AS ?k ) WHERE { { ?b property:named_after ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:name } UNION { ?b property:named_after ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:taxon } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:named_after resource:Jordan . { { ?n rdf:type ontology:name } UNION { ?n rdf:type ontology:taxon } } } } . FILTER ( ?k = ?v ) }
[]
designation for an administrative territorial entity name taxon
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q913434 Q1279 Q186538 Q640473 Q189 Q184 Q1028 Q570120 Q18421666 Q167215 Q42777 Q159856 Q6274 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q39 Q38 Q1023890 Q101226 Q42906 Q40516 Q1987554 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q391167 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q555328 Q1037 Q1033 Q1030 Q18040 Q3926245 Q697 Q186115 Q39985 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q77 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q42993 Q488513 Q243311 Q503160 Q2993085 Q42996 Q954 Q690417 Q826 Q822 Q1142326 Q244095 Q223459 Q42419 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q681329 Q12661 Q20 Q5274 Q28 Q29 Q111460 Q50932 Q20489 Q390125 Q205050 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q23178 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q654138 Q81261 Q493437 Q863 Q574429 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 Q770 Q131633 Q2596432 Q19306 Q759201 Q424 Q675616 Q854 Q9574 Q2790 Q566435 Q496885 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q81138 Q17 Q15059063 Q42668 Q3940173 Q4066675 Q138823 Q697787 Q47578 Q11337 Q211 Q159605 Q215 Q1837 Q501626 Q554187 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q631654 Q42192 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q16104 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q82799)|c(Q16521),P138,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q82799
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q16521
action count
action filter_multi_types
action find_reverse
entity Q810
relation P138
type Q82799
type Q16521
[ANSWERS] are approximately the same number of names and taxons named after as Jordan
[[{'concept': 'Q82799'}, {'concept': 'Q16521'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?b ) AS ?k ) WHERE { { ?b property:P138 ?o . ?o rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q82799 } UNION { ?b property:P138 ?o . ?o rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q16521 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P138 resource:Q810 . { { ?n rdf:type ontology:Q82799 } UNION { ?n rdf:type ontology:Q16521 } } } } . FILTER ( ?k = ?v ) }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Les Halles Marche Arzachena Hohenstein Iceland Belarus Morocco Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Duchy of Brabant Sondrio Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin Heinsen Livigno Gorgonzola Bussero Meerfeld Wernborn Remanzacco Detmold Brivio Mitino Calco Leuna Rovereto Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Veneto Templin Charente Vosges Perinaldo Asti Merate Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Switzerland Italy Huangpu District Mapello Cologno Monzese Bormio Nieder-Roden Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Ozieri Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Urmitz Rwanda Nigeria Namibia Candelo QT8 Nauru Montmartre Brugherio Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Uruguay Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Gessate Anklam Sacrofano Wolfratshausen Levashovo, Saint Petersburg Pero Zimbabwe Währing Maldives Lebanon Seine Bellagio Borbona Vimodrone Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Dümmer Nord Norway Balve Hungary Spain Pontevico Helpt Savigliano Linz am Rhein Geilenkirchen Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Bisceglie Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Assisi Tavagnasco Oberhöchstadt Guatemala Robecco d'Oglio Bad Köstritz Friesland Hallstatt Euvelgunne Altamura Auerbach Cambodia Langenzersdorf Sri Lanka Pino Torinese Udine Erpel Isnello Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Pudost Rogoredo Annino Farnese, Lazio Duchy of Limburg Vittorio Veneto Herdecke Latvia Tivoli Slovenia Wohldorf-Ohlstedt Wildeshausen Lunden Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren Selent San Donato Milanese Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Ahrensburg Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
Italy, Brazil and United States of America are approximately the same number of names and taxons named after as Jordan
Italy Brazil United States of America
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type name
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type taxon
action count
action filter_multi_types
action find_reverse
entity Jordan
relation named after
type name
type taxon
[[{'concept': 'name'}, {'concept': 'taxon'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?b ) AS ?k ) WHERE { { ?b property:named_after ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:name } UNION { ?b property:named_after ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:taxon } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:named_after resource:Jordan . { { ?n rdf:type ontology:name } UNION { ?n rdf:type ontology:taxon } } } } . FILTER ( ?k = ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3940173
P138
Q15617994 Q82799 Q16521
USER
And also tell me about Rogoredo?
(c(Q82799)|c(Q16521),P138,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q82799
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q16521
action count
action filter_multi_types
action find_reverse
entity Q3940173
relation P138
type Q82799
type Q16521
[[{'concept': 'Q82799'}, {'concept': 'Q16521'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?h WHERE { { ?i property:P138 ?h . ?h rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q82799 } UNION { ?i rdf:type ontology:Q16521 . ?h rdf:type ontology:Q15617994 . ?i property:P138 ?h } } GROUP BY ?h } . FILTER ( ?k = ?z ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { VALUES ( ?f ) { ( ontology:Q82799 ) ( ontology:Q16521 ) } . ?y rdf:type ?f } . ?y property:P138 resource:Q3940173 } } }
Rogoredo
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type name
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type taxon
action count
action filter_multi_types
action find_reverse
entity Rogoredo
relation named after
type name
type taxon
[[{'concept': 'name'}, {'concept': 'taxon'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?h WHERE { { ?i property:named_after ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:name } UNION { ?i rdf:type ontology:taxon . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:named_after ?h } } GROUP BY ?h } . FILTER ( ?k = ?z ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { VALUES ( ?f ) { ( ontology:name ) ( ontology:taxon ) } . ?y rdf:type ?f } . ?y property:named_after resource:Rogoredo } } }
[]
designation for an administrative territorial entity name taxon
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q913434 Q1279 Q186538 Q640473 Q189 Q184 Q1028 Q570120 Q18421666 Q167215 Q42777 Q159856 Q6274 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q39 Q38 Q1023890 Q101226 Q42906 Q40516 Q1987554 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q391167 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q555328 Q1037 Q1033 Q1030 Q18040 Q3926245 Q697 Q186115 Q39985 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q77 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q42993 Q488513 Q243311 Q503160 Q2993085 Q42996 Q954 Q690417 Q826 Q822 Q1142326 Q244095 Q223459 Q42419 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q681329 Q12661 Q20 Q5274 Q28 Q29 Q111460 Q50932 Q20489 Q390125 Q205050 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q23178 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q654138 Q81261 Q493437 Q863 Q574429 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 Q770 Q131633 Q2596432 Q19306 Q759201 Q424 Q675616 Q854 Q9574 Q2790 Q566435 Q496885 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q81138 Q17 Q15059063 Q42668 Q3940173 Q4066675 Q138823 Q697787 Q47578 Q11337 Q211 Q159605 Q215 Q1837 Q501626 Q554187 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q631654 Q42192 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q16104 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q82799)|c(Q16521),P138,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q82799
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q16521
action count
action filter_multi_types
action find_reverse
entity Q3940173
relation P138
type Q82799
type Q16521
[ANSWERS]
[[{'concept': 'Q82799'}, {'concept': 'Q16521'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?h WHERE { { ?i property:P138 ?h . ?h rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q82799 } UNION { ?i rdf:type ontology:Q16521 . ?h rdf:type ontology:Q15617994 . ?i property:P138 ?h } } GROUP BY ?h } . FILTER ( ?k = ?z ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { VALUES ( ?f ) { ( ontology:Q82799 ) ( ontology:Q16521 ) } . ?y rdf:type ?f } . ?y property:P138 resource:Q3940173 } } }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Les Halles Marche Arzachena Hohenstein Iceland Belarus Morocco Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Duchy of Brabant Sondrio Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin Heinsen Livigno Gorgonzola Bussero Meerfeld Wernborn Remanzacco Detmold Brivio Mitino Calco Leuna Rovereto Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Veneto Templin Charente Vosges Perinaldo Asti Merate Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Switzerland Italy Huangpu District Mapello Cologno Monzese Bormio Nieder-Roden Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Ozieri Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Urmitz Rwanda Nigeria Namibia Candelo QT8 Nauru Montmartre Brugherio Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Uruguay Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Gessate Anklam Sacrofano Wolfratshausen Levashovo, Saint Petersburg Pero Zimbabwe Währing Maldives Lebanon Seine Bellagio Borbona Vimodrone Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Dümmer Nord Norway Balve Hungary Spain Pontevico Helpt Savigliano Linz am Rhein Geilenkirchen Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Bisceglie Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Assisi Tavagnasco Oberhöchstadt Guatemala Robecco d'Oglio Bad Köstritz Friesland Hallstatt Euvelgunne Altamura Auerbach Cambodia Langenzersdorf Sri Lanka Pino Torinese Udine Erpel Isnello Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Pudost Rogoredo Annino Farnese, Lazio Duchy of Limburg Vittorio Veneto Herdecke Latvia Tivoli Slovenia Wohldorf-Ohlstedt Wildeshausen Lunden Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren Selent San Donato Milanese Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Ahrensburg Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
Italy Brazil United States of America
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type name
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type taxon
action count
action filter_multi_types
action find_reverse
entity Rogoredo
relation named after
type name
type taxon
[[{'concept': 'name'}, {'concept': 'taxon'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?h WHERE { { ?i property:named_after ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:name } UNION { ?i rdf:type ontology:taxon . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:named_after ?h } } GROUP BY ?h } . FILTER ( ?k = ?z ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { VALUES ( ?f ) { ( ontology:name ) ( ontology:taxon ) } . ?y rdf:type ?f } . ?y property:named_after resource:Rogoredo } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q128581 Q767485
P2176
Q8386
USER
Which drugs are used as a remedy for respiratory failure or breast cancer ?
OR((Q767485,P2176,c(Q8386)), (Q128581,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q767485
relation P2176
action find
entity Q128581
relation P2176
type Q8386
{'OR': [['Q767485', 'P2176', {'concept': 'Q8386'}], ['Q128581', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q767485 property:P2176 ?s } UNION { resource:Q128581 property:P2176 ?s } } . ?s rdf:type ontology:Q8386 }
breast cancer respiratory failure
action filter_type
action union
action find
entity respiratory failure
relation drug used for treatment
action find
entity breast cancer
relation drug used for treatment
type drug
{'OR': [['respiratory failure', 'drug used for treatment', {'concept': 'drug'}], ['breast cancer', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?s WHERE { { { resource:respiratory_failure property:drug_used_for_treatment ?s } UNION { resource:breast_cancer property:drug_used_for_treatment ?s } } . ?s rdf:type ontology:drug }
[]
drug
Q670131 Q18936 Q216935 Q1998021 Q422252 Q524995 Q1592932 Q419143 Q417824 Q422222
SYSTEM
Some of them are simvastatin, doxorubicin, lidocaine, Pertuzumab, dexamethasone, dexrazoxane, Pegfilgrastim, anastrozole, gefitinib, Digoxin
Q194974 Q1215575 Q412415 Q410663 Q419940 Q422416 Q412534 Q421862 Q408801 Q524995 Q415939 Q3950557 Q422806 Q419143 Q425122 Q412197 Q11711607 Q216935 Q907160 Q412178 Q3985253 Q1592932 Q420532 Q408283 Q420207 Q422232 Q239426 Q412616 Q418192 Q418560 Q1988832 Q2298283 Q139347 Q422252 Q421052 Q238512 Q424049 Q7083106 Q5462791 Q670131 Q15269707 Q422740 Q905901 Q18216 Q1996756 Q418817 Q418819 Q413299 Q282629 Q423989 Q218507 Q1998021 Q415588 Q18936 Q422222 Q1063862 Q139195 Q2178381 Q6808975 Q417740 Q409587 Q417824 Q412963 Q241150 Q5508491 Q3993743 Q180983 Q420436 Q240642 Q26963 Q421768 Q423762 Q408524
OR((Q767485,P2176,c(Q8386)), (Q128581,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q767485
relation P2176
action find
entity Q128581
relation P2176
type Q8386
As [ANSWERS] are used as a remedy for respiratory failure or breast cancer
{'OR': [['Q767485', 'P2176', {'concept': 'Q8386'}], ['Q128581', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q767485 property:P2176 ?s } UNION { resource:Q128581 property:P2176 ?s } } . ?s rdf:type ontology:Q8386 }
letrozole naproxen cisplatin fluoxymesterone dasatinib 17β-estradiol carvedilol ribavirin celecoxib dexrazoxane chlorambucil Sargramostim bupivacaine anastrozole Epirubicin irinotecan Ixabepilone lidocaine leuprolide tamoxifen testolactone Pegfilgrastim Vinorelbine Denosumab capecitabine methotrexate mitoxantrone Trastuzumab bexarotene ifosfamide bicalutamide melphalan Cholecalciferol dexamethasone Everolimus 5-fluorouracil loratadine olaparib fluocinonide simvastatin palbociclib propofol vorinostat acetylsalicylic acid enzalutamide etoposide exemestane Bevacizumab Vinblastine diethylstilbestrol zoledronic acid Pertuzumab Carboplatin doxorubicin Digoxin idarubicin Calcitriol Darbepoetin alfa megestrol acetate lovastatin naltrexone gefitinib cabazitaxel aminoglutethimide Fulvestrant toremifene cytarabine docetaxel valproic acid progesterone methyltestosterone Paclitaxel cyclophosphamide
As simvastatin, doxorubicin, lidocaine, Pertuzumab, dexamethasone, dexrazoxane, Pegfilgrastim, anastrozole, gefitinib and Digoxin are used as a remedy for respiratory failure or breast cancer
simvastatin doxorubicin lidocaine Pertuzumab dexamethasone dexrazoxane Pegfilgrastim anastrozole gefitinib Digoxin
action filter_type
action union
action find
entity respiratory failure
relation drug used for treatment
action find
entity breast cancer
relation drug used for treatment
type drug
{'OR': [['respiratory failure', 'drug used for treatment', {'concept': 'drug'}], ['breast cancer', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?s WHERE { { { resource:respiratory_failure property:drug_used_for_treatment ?s } UNION { resource:breast_cancer property:drug_used_for_treatment ?s } } . ?s rdf:type ontology:drug }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q15617994 Q13220204 Q3947
USER
How many administrative territories are approximately 3784 administrative country subdivisions or houses present in ?
(c(Q13220204)|c(Q3947),P17,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q13220204
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q3947
value 3784
[[{'concept': 'Q13220204'}, {'concept': 'Q3947'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?q WHERE { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:Q13220204 ) ( ontology:Q3947 ) } } GROUP BY ?q } . FILTER ( ?w = 3784 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type house
value 3784
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'house'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?q WHERE { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:house ) } } GROUP BY ?q } . FILTER ( ?w = 3784 ) }
[]
designation for an administrative territorial entity second-level administrative country subdivision house
SYSTEM
12
Q668 Q142 Q55 Q262 Q711 Q30 Q36 Q39 Q739 Q20 Q211 Q869
(c(Q13220204)|c(Q3947),P17,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q13220204
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q3947
value 3784
[ANSWER]
[[{'concept': 'Q13220204'}, {'concept': 'Q3947'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?q WHERE { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:Q13220204 ) ( ontology:Q3947 ) } } GROUP BY ?q } . FILTER ( ?w = 3784 ) }
India France Netherlands Algeria Mongolia United States of America Poland Switzerland Colombia Norway Latvia Thailand
12
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type house
value 3784
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'house'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?q WHERE { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:house ) } } GROUP BY ?q } . FILTER ( ?w = 3784 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3072083
P2175
Q12136 Q8386
USER
Which diseases require lesser number of drugs to be prescribed than memory disorder ?
(c(Q8386),P2175,c(Q12136))
action less
action find_reverse_tuple_counts
relation P2175
type Q12136
type Q8386
action count
action filter_type
action find_reverse
entity Q3072083
relation P2175
type Q8386
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q12136'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P2175 ?m . ?m rdf:type ontology:Q12136 . ?v rdf:type ontology:Q8386 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:Q8386 . ?u property:P2175 resource:Q3072083 } } . FILTER ( ?q < ?i ) }
memory disorder
action less
action find_reverse_tuple_counts
relation medical condition treated
type disease
type drug
action count
action filter_type
action find_reverse
entity memory disorder
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'disease'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:medical_condition_treated ?m . ?m rdf:type ontology:disease . ?v rdf:type ontology:drug } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:drug . ?u property:medical_condition_treated resource:memory_disorder } } . FILTER ( ?q < ?i ) }
[]
disease drug
Q133212 Q304497
SYSTEM
tumor, Hemiplegia
Q133212 Q304497
(c(Q8386),P2175,c(Q12136))
action less
action find_reverse_tuple_counts
relation P2175
type Q12136
type Q8386
action count
action filter_type
action find_reverse
entity Q3072083
relation P2175
type Q8386
[ANSWERS] require lesser number of drugs to be prescribed than memory disorder
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q12136'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P2175 ?m . ?m rdf:type ontology:Q12136 . ?v rdf:type ontology:Q8386 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:Q8386 . ?u property:P2175 resource:Q3072083 } } . FILTER ( ?q < ?i ) }
tumor Hemiplegia
Tumor and Hemiplegia require lesser number of drugs to be prescribed than memory disorder
tumor Hemiplegia
action less
action find_reverse_tuple_counts
relation medical condition treated
type disease
type drug
action count
action filter_type
action find_reverse
entity memory disorder
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'disease'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:medical_condition_treated ?m . ?m rdf:type ontology:disease . ?v rdf:type ontology:drug } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:drug . ?u property:medical_condition_treated resource:memory_disorder } } . FILTER ( ?q < ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q18975220
P2175
Q12136 Q8386
USER
And how about Escherichia coli infectious disease?
(c(Q8386),P2175,c(Q12136))
action less
action find_reverse_tuple_counts
relation P2175
type Q12136
type Q8386
action count
action filter_type
action find_reverse
entity Q18975220
relation P2175
type Q8386
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q12136'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:P2175 resource:Q18975220 . ?a rdf:type ontology:Q8386 } } . FILTER ( ?i < ?o ) . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:P2175 ?u . ?u rdf:type ontology:Q12136 . ?x rdf:type ontology:Q8386 } GROUP BY ?u } }
Escherichia coli infectious disease
action less
action find_reverse_tuple_counts
relation medical condition treated
type disease
type drug
action count
action filter_type
action find_reverse
entity Escherichia coli infectious disease
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'disease'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:medical_condition_treated resource:Escherichia_coli_infectious_disease . ?a rdf:type ontology:drug } } . FILTER ( ?i < ?o ) . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:medical_condition_treated ?u . ?u rdf:type ontology:disease . ?x rdf:type ontology:drug } GROUP BY ?u } }
[]
disease drug
Q41112 Q1472 Q110315
SYSTEM
schizophrenia, Crohn's disease, lead poisoning
Q1467339 Q2200381 Q167844 Q1444550 Q7514772 Q18555060 Q1472 Q1935832 Q917620 Q988594 Q1415275 Q1956718 Q815753 Q41112 Q18557991 Q854353 Q18557998 Q18554891 Q1148337 Q627368 Q1363738 Q4138762 Q852163 Q5326566 Q2915477 Q133212 Q127664 Q110315 Q3726949 Q1869874 Q86 Q4117658 Q2067267 Q18554341 Q189331 Q304497 Q23772742 Q12133 Q6029216 Q1068134 Q4118092 Q7616509 Q1996053 Q3072083 Q1283303
(c(Q8386),P2175,c(Q12136))
action less
action find_reverse_tuple_counts
relation P2175
type Q12136
type Q8386
action count
action filter_type
action find_reverse
entity Q18975220
relation P2175
type Q8386
[ANSWERS]
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q12136'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:P2175 resource:Q18975220 . ?a rdf:type ontology:Q8386 } } . FILTER ( ?i < ?o ) . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:P2175 ?u . ?u rdf:type ontology:Q12136 . ?x rdf:type ontology:Q8386 } GROUP BY ?u } }
hypertriglyceridemia Neurogenic shock conjunctivitis ischaemic heart disease Silent stroke arteriosclerotic cardiovascular disease Crohn's disease neurofibromatosis type II Onychomycosis eczema Spinal cord injury Becker myotonia filariasis schizophrenia Hodgkin's lymphoma, mixed cellularity enteritis lymphosarcoma squamous cell carcinoma hepatocellular carcinoma Blastomycosis Erythema nodosum Hypovitaminosis D lower back pain Early-onset Alzheimer's disease Folate deficiency tumor Febrile seizure lead poisoning episcleritis insomnia headache inflammatory myopathy Niemann–Pick disease, type C hepatic coma cardiac dysrhythmia Hemiplegia Bacteroides Infections deafness infectious bone disease Morning sickness Macroglobulinemia neurofibromatosis type I chronic pancreatitis memory disorder Tricuspid atresia
schizophrenia Crohn's disease lead poisoning
action less
action find_reverse_tuple_counts
relation medical condition treated
type disease
type drug
action count
action filter_type
action find_reverse
entity Escherichia coli infectious disease
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'disease'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:medical_condition_treated resource:Escherichia_coli_infectious_disease . ?a rdf:type ontology:drug } } . FILTER ( ?i < ?o ) . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:medical_condition_treated ?u . ?u rdf:type ontology:disease . ?x rdf:type ontology:drug } GROUP BY ?u } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q41112 Q1472 Q110315
P2175
Q8386
USER
Which drugs are used for the treatment of those diseases ?
(c(Q8386),P2175,Q41112) (c(Q8386),P2175,Q1472) (c(Q8386),P2175,Q110315)
action filter_type
action find_reverse
entity prev_answer
relation P2175
type Q8386
[{'concept': 'Q8386'}, 'P2175', 'Q41112'] [{'concept': 'Q8386'}, 'P2175', 'Q1472'] [{'concept': 'Q8386'}, 'P2175', 'Q110315']
SELECT DISTINCT ?k WHERE { ?k property:P2175 ?n . VALUES ( ?n ) { ( resource:Q1467339 ) ( resource:Q2200381 ) ( resource:Q167844 ) } . ?k rdf:type ontology:Q8386 }
schizophrenia Crohn's disease lead poisoning
action filter_type
action find_reverse
entity prev_answer
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'schizophrenia'] [{'concept': 'drug'}, 'medical condition treated', "Crohn's disease"] [{'concept': 'drug'}, 'medical condition treated', 'lead poisoning']
SELECT DISTINCT ?k WHERE { ?k property:medical_condition_treated ?n . VALUES ( ?n ) { ( resource:hypertriglyceridemia ) ( resource:Neurogenic_shock ) ( resource:conjunctivitis ) } . ?k rdf:type ontology:drug }
[]
drug
Q407972 Q251347 Q144085
SYSTEM
chlorpromazine, haloperidol, pimozide
Q425154 Q411188 Q221361 Q423292 Q6821618 Q58614 Q407972 Q251347 Q423520 Q1752915 Q693482 Q407841 Q190067 Q412443 Q201872 Q4199443 Q2608288 Q176301 Q408801 Q407988 Q417884 Q418192 Q5263885 Q58376 Q58375 Q4673284 Q205517 Q423809 Q410412 Q144085 Q2924764 Q411159 Q593166 Q410441 Q6804390 Q422212 Q411648 Q3950557 Q229924 Q412909 Q415264 Q386119 Q139347 Q412479 Q422252 Q420305 Q7918002 Q7694156 Q409587 Q348260 Q18939 Q2697833 Q203174 Q422232 Q421239 Q413968 Q423814
(c(Q8386),P2175,Q41112) (c(Q8386),P2175,Q1472) (c(Q8386),P2175,Q110315)
action filter_type
action find_reverse
entity prev_answer
relation P2175
type Q8386
[ANSWERS] are used for the treatment of those diseases
[{'concept': 'Q8386'}, 'P2175', 'Q41112'] [{'concept': 'Q8386'}, 'P2175', 'Q1472'] [{'concept': 'Q8386'}, 'P2175', 'Q110315']
SELECT DISTINCT ?k WHERE { ?k property:P2175 ?n . VALUES ( ?n ) { ( resource:Q1467339 ) ( resource:Q2200381 ) ( resource:Q167844 ) } . ?k rdf:type ontology:Q8386 }
Tocilizumab aripiprazole clozapine paliperidone mesoridazine loxapine chlorpromazine haloperidol perphenazine trifluoperazine roflumilast reserpine Δ9-tetrahydrocannabinol risperidone Olanzapine iloperidone thiothixene oxcarbazepine celecoxib clonazepam cyproheptadine bexarotene deserpidine fluphenazine thioridazine Acetophenazine ziprasidone Chlorprothixene carbamazepine pimozide brexpiprazole famotidine molindone modafinil Mecasermin budesonide tacrolimus Sargramostim Aminosalicylic Acid Certolizumab pegol Infliximab Natalizumab Cholecalciferol mesalazine dexamethasone Ustekinumab Vedolizumab teduglutide naltrexone Adalimumab azathioprine Abatacept thalidomide methotrexate D-penicillamine Dimercaprol dimercaptosuccinic acid
Chlorpromazine, haloperidol and pimozide are used for the treatment of those diseases
chlorpromazine haloperidol pimozide
action filter_type
action find_reverse
entity prev_answer
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'schizophrenia'] [{'concept': 'drug'}, 'medical condition treated', "Crohn's disease"] [{'concept': 'drug'}, 'medical condition treated', 'lead poisoning']
SELECT DISTINCT ?k WHERE { ?k property:medical_condition_treated ?n . VALUES ( ?n ) { ( resource:hypertriglyceridemia ) ( resource:Neurogenic_shock ) ( resource:conjunctivitis ) } . ?k rdf:type ontology:drug }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q407972 Q251347 Q144085
P129
Q181394
USER
Which nutrients do chlorpromazine, haloperidol and pimozide collaborate with ?
(Q407972,P129,c(Q181394)) (Q251347,P129,c(Q181394)) (Q144085,P129,c(Q181394))
action union
action filter_type
action find
entity Q407972
relation P129
type Q181394
action filter_type
action find
entity Q251347
relation P129
type Q181394
action filter_type
action find
entity Q144085
relation P129
type Q181394
['Q407972', 'P129', {'concept': 'Q181394'}] ['Q251347', 'P129', {'concept': 'Q181394'}] ['Q144085', 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?q WHERE { { resource:Q407972 property:P129 ?q . ?q rdf:type ontology:Q181394 } UNION { resource:Q251347 property:P129 ?q . ?q rdf:type ontology:Q181394 } }
chlorpromazine haloperidol pimozide
action union
action filter_type
action find
entity chlorpromazine
relation physically interacts with
type nutrient
action filter_type
action find
entity haloperidol
relation physically interacts with
type nutrient
action filter_type
action find
entity pimozide
relation physically interacts with
type nutrient
['chlorpromazine', 'physically interacts with', {'concept': 'nutrient'}] ['haloperidol', 'physically interacts with', {'concept': 'nutrient'}] ['pimozide', 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?q WHERE { { resource:chlorpromazine property:physically_interacts_with ?q . ?q rdf:type ontology:nutrient } UNION { resource:haloperidol property:physically_interacts_with ?q . ?q rdf:type ontology:nutrient } }
[]
nutrient
Q2034004 Q2034004 Q2034004
SYSTEM
D(2) dopamine receptor
Q21497939 Q309513 Q1949517 Q21110867 Q4734894 Q308856 Q4734892 Q21110872 Q21109355 Q4734891 Q2034004 Q21109363 Q21108118 Q7671468 Q21131500 Q21115043 Q21497939 Q21110532 Q4639596 Q1949517 Q21110867 Q308856 Q21110872 Q21109355 Q21115046 Q2034004 Q21115043 Q309513 Q21497878 Q21131500 Q21110872 Q309513 Q1949517 Q21102152 Q2034004 Q21115043 Q21107843 Q21497878
(Q407972,P129,c(Q181394)) (Q251347,P129,c(Q181394)) (Q144085,P129,c(Q181394))
action union
action filter_type
action find
entity Q407972
relation P129
type Q181394
action filter_type
action find
entity Q251347
relation P129
type Q181394
action filter_type
action find
entity Q144085
relation P129
type Q181394
Chlorpromazine , haloperidol and pimozide collaborate with [ANSWER], [ANSWER] and [ANSWER]
['Q407972', 'P129', {'concept': 'Q181394'}] ['Q251347', 'P129', {'concept': 'Q181394'}] ['Q144085', 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?q WHERE { { resource:Q407972 property:P129 ?q . ?q rdf:type ontology:Q181394 } UNION { resource:Q251347 property:P129 ?q . ?q rdf:type ontology:Q181394 } }
5-hydroxytryptamine receptor 7 Histamine H1 receptor 5-hydroxytryptamine receptor 2A D(1A) dopamine receptor Alpha-2B adrenergic receptor D(4) dopamine receptor Alpha-2A adrenergic receptor D(3) dopamine receptor 5-hydroxytryptamine receptor 7 Alpha-2C adrenergic receptor D(2) dopamine receptor 5-hydroxytryptamine receptor 6 5-hydroxytryptamine receptor 2C Short transient receptor potential channel 5 D(1B) dopamine receptor 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 7 Potassium voltage-gated channel subfamily H member 1 5-hydroxytryptamine receptor 2B 5-hydroxytryptamine receptor 2A D(1A) dopamine receptor D(4) dopamine receptor D(3) dopamine receptor 5-hydroxytryptamine receptor 7 5-hydroxytryptamine receptor 1D D(2) dopamine receptor 5-hydroxytryptamine receptor 1A Histamine H1 receptor G protein-activated inward rectifier potassium channel 2 D(1B) dopamine receptor D(3) dopamine receptor Histamine H1 receptor 5-hydroxytryptamine receptor 2A Voltage-dependent T-type calcium channel subunit alpha-1I D(2) dopamine receptor 5-hydroxytryptamine receptor 1A Potassium voltage-gated channel subfamily A member 10 G protein-activated inward rectifier potassium channel 2
Chlorpromazine , haloperidol and pimozide collaborate with D(2) dopamine receptor, D(2) dopamine receptor and D(2) dopamine receptor
D(2) dopamine receptor D(2) dopamine receptor D(2) dopamine receptor
action union
action filter_type
action find
entity chlorpromazine
relation physically interacts with
type nutrient
action filter_type
action find
entity haloperidol
relation physically interacts with
type nutrient
action filter_type
action find
entity pimozide
relation physically interacts with
type nutrient
['chlorpromazine', 'physically interacts with', {'concept': 'nutrient'}] ['haloperidol', 'physically interacts with', {'concept': 'nutrient'}] ['pimozide', 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?q WHERE { { resource:chlorpromazine property:physically_interacts_with ?q . ?q rdf:type ontology:nutrient } UNION { resource:haloperidol property:physically_interacts_with ?q . ?q rdf:type ontology:nutrient } }
[]