Simple Question (Direct)
Simple Question
Q153346
P509
Q2057971
USER
What lead to the death of Mel Pritchard ?
(Q153346,P509,c(Q2057971))
action filter_type
action find
entity Q153346
relation P509
type Q2057971
['Q153346', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2057971 . resource:Q153346 property:P509 ?q }
Mel Pritchard
action filter_type
action find
entity Mel Pritchard
relation cause of death
type health problem
['Mel Pritchard', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:health_problem . resource:Mel_Pritchard property:cause_of_death ?q }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q153346,P509,c(Q2057971))
action filter_type
action find
entity Q153346
relation P509
type Q2057971
The [ANSWER] lead to the death of Mel Pritchard
['Q153346', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2057971 . resource:Q153346 property:P509 ?q }
myocardial infarction
The myocardial infarction lead to the death of Mel Pritchard
myocardial infarction
action filter_type
action find
entity Mel Pritchard
relation cause of death
type health problem
['Mel Pritchard', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:health_problem . resource:Mel_Pritchard property:cause_of_death ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q153346
P264
Q334453
USER
What is the record label of that person ?
(Q12152,P264,c(Q334453))
action filter_type
action find
entity Q153346
relation P264
type Q334453
['Q12152', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?b WHERE { resource:Q153346 property:P264 ?b . ?b rdf:type ontology:Q334453 }
Mel Pritchard
action filter_type
action find
entity Mel Pritchard
relation record label
type division
['myocardial infarction', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?b WHERE { resource:Mel_Pritchard property:record_label ?b . ?b rdf:type ontology:division }
[]
division
Q1324712
SYSTEM
Harvest Records
Q1324712
(Q12152,P264,c(Q334453))
action filter_type
action find
entity Q153346
relation P264
type Q334453
The record label of that person is a [ANSWER]
['Q12152', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?b WHERE { resource:Q153346 property:P264 ?b . ?b rdf:type ontology:Q334453 }
Harvest Records
The record label of that person is a Harvest Records
Harvest Records
action filter_type
action find
entity Mel Pritchard
relation record label
type division
['myocardial infarction', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?b WHERE { resource:Mel_Pritchard property:record_label ?b . ?b rdf:type ontology:division }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P112
Q502895 Q334453
USER
Which divisions were founded by around the same number of people as that division ?
(c(Q334453),P112,c(Q502895))
action approx
action find_tuple_counts
relation P112
type Q334453
type Q502895
action count
action filter_type
action find
entity Q1324712
relation P112
type Q334453
[{'concept': 'Q334453'}, 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?b ) WHERE { ?a property:P112 ?f . ?a rdf:type ontology:Q334453 . ?f rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q1324712 property:P112 ?r . ?r rdf:type ontology:Q334453 } } . FILTER ( ?b = ?h ) }
action approx
action find_tuple_counts
relation founder
type division
type common name
action count
action filter_type
action find
entity Harvest Records
relation founder
type division
[{'concept': 'division'}, 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?b ) WHERE { ?a property:founder ?f . ?a rdf:type ontology:division . ?f rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Harvest_Records property:founder ?r . ?r rdf:type ontology:division } } . FILTER ( ?b = ?h ) }
[]
common name division
Q25336993 Q2608177 Q2297757
SYSTEM
RECORDINGSBUMS, Brushfire Records, Tzadik Records
Q2377408 Q4735111 Q1849080 Q11173360 Q917511 Q190585 Q7997076 Q1631774 Q847018 Q3142419 Q24515260 Q846383 Q288810 Q4840213 Q2819021 Q305378 Q1338446 Q22247339 Q7201757 Q311439 Q381711 Q2822934 Q3080929 Q798658 Q1200105 Q2034661 Q21045211 Q4923474 Q20871899 Q7291418 Q1153338 Q21036405 Q3746620 Q671229 Q355175 Q158886 Q7617235 Q295794 Q160732 Q7044358 Q3389113 Q2161263 Q2906993 Q4827700 Q6037792 Q4413456 Q5103606 Q1998195 Q1025919 Q885977 Q3739211 Q772494 Q4631859 Q568367 Q21402649 Q1124061 Q1953930 Q568246 Q265169 Q3331225 Q14259733 Q1251139 Q18205793 Q3233924 Q5216047 Q3204724 Q4729673 Q277626 Q7355999 Q2265719 Q1406986 Q54860 Q6061215 Q3500041 Q2170966 Q13124744 Q1124849 Q15995150 Q2172834 Q3047114 Q264137 Q5305769 Q3567163 Q203059 Q17113373 Q17165185 Q1465200 Q1409268 Q6794226 Q1270552 Q843402 Q1842004 Q121698 Q25336993 Q5322747 Q2608177 Q5465369 Q933025 Q645889 Q549624 Q1703395 Q511059 Q4836116 Q1046707 Q1139341 Q1988428 Q5033532 Q3566715 Q1542119 Q7233320 Q2845157 Q947422 Q4546285 Q496608 Q5641635 Q1790884 Q1395670 Q15279630 Q377453 Q1151996 Q507942 Q168407 Q1070152 Q1029135 Q2297757 Q1239845 Q193023 Q15254007 Q1142456 Q23045455 Q7280875 Q1984458 Q6386991 Q50595 Q5316786 Q3868643 Q4035084 Q16838702 Q16846039 Q7536933 Q7667850 Q21090 Q5242901 Q7797676 Q16206954 Q3631345 Q3613393 Q6200137 Q11233843 Q7432151 Q4787967 Q3505442 Q1718083 Q1849138 Q16993809 Q2470060 Q3518860 Q2093233 Q483238 Q1039432 Q1476147 Q5014560 Q7355459 Q538603 Q5153134 Q3074660 Q6878356 Q21091 Q5057050 Q3039429 Q618913 Q2947635 Q4653585 Q3942184 Q2897132 Q2598277 Q814309 Q3076748 Q22829081 Q720359 Q5425430 Q202440 Q17626128 Q16975947 Q3244128 Q993066 Q5986629 Q4037112 Q322738 Q7336135 Q1185036 Q9292288 Q7502950 Q18712484 Q247212 Q4927451 Q7080420 Q264980 Q466649 Q483938 Q3307668 Q7256541 Q7310646 Q1337601 Q7628787 Q2994824 Q790686 Q1331266 Q3300067 Q7967094 Q254539 Q1164848 Q7044444 Q6928366 Q3071544 Q3325295 Q575026 Q3237252 Q3285033 Q885732 Q18654695 Q616975 Q6108074 Q1811175 Q212699 Q165711 Q5436922 Q2280168 Q1183770 Q15116528 Q1431331 Q2668070 Q6697804 Q3506412 Q21279476 Q5358609 Q43327 Q1949791 Q4835417 Q4354527 Q389284 Q4382045 Q21282171 Q3394853 Q3489789 Q4952056 Q18161125 Q3542399 Q5511910 Q1742077 Q1815770 Q1072828 Q4581339 Q1199011 Q16827673 Q1324712 Q1921640 Q1853623 Q3338963 Q16164774 Q1194456 Q557632 Q6318209 Q1153032 Q7669538 Q1327994 Q838544 Q4741411 Q128280 Q1341612 Q2297042 Q920079 Q726153 Q3273015 Q3622086 Q7248804 Q279035 Q3639792 Q7824625 Q14566650 Q2067985 Q220176 Q6897006 Q238095 Q5321460 Q1064327 Q23008275 Q1075485 Q1191537 Q2237796 Q1392321 Q7336183 Q5493218 Q2902300 Q935090 Q5208253 Q601227 Q729248 Q126039 Q976267 Q1889523 Q669132 Q1190562 Q23055037 Q1971223 Q240804 Q387539 Q1047366 Q3298975 Q1644016 Q2005479 Q7659636 Q1130708 Q276460 Q2291171 Q5985185 Q605512 Q4941802 Q530710 Q585643 Q17628720 Q3414893 Q2085941
(c(Q334453),P112,c(Q502895))
action approx
action find_tuple_counts
relation P112
type Q334453
type Q502895
action count
action filter_type
action find
entity Q1324712
relation P112
type Q334453
[ANSWERS] were founded by around the same number of people as that division
[{'concept': 'Q334453'}, 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?b ) WHERE { ?a property:P112 ?f . ?a rdf:type ontology:Q334453 . ?f rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q1324712 property:P112 ?r . ?r rdf:type ontology:Q334453 } } . FILTER ( ?b = ?h ) }
Skye Records Alpha Pup Records Magic Circle Music Revealed Recordings Stones Throw Records Island Records Who's Who in Jazz Asian Man Records Death Row Records Telarc International Corporation Heldeep Records Epic/Sony Records ACT Music Bad Boy South ABKCO Records Solid State Records LaFace Records Iris Records Plasma Records ECM Records Roulé Ace Records K Records Bad Boy Records J Storm Vanguard Records Antoine Marchand Pathé Records Liiga Music RandM Records Grand Hustle Records Alles oder Nix Records Flip Records Bronze Records Adeline Records Nuclear Blast Stillborn Records ANTI- Armada Music No Limit Forever Records Piranha Musik Young God Records Bloodline Records Avanti Inside Recordings Republic Records Chocolate City Asylum Records Machine Shop Recordings Bluebird Records Fandango Chess Records 24 Hour Service Station Studio One HSQRecords Concord Records Crammed Discs Shady Records Nitro Records My Major Company INgrooves Dot Records DFTBA Records CBS Records Dangerbird Records Brownswood Recordings All Star Records A&M Records Rocky Road Records I.R.S. Records Shrapnel Records Walt Disney Records Invisible Records Strange Music Royal Bunker Reach Records Verve Records I Am Other Motéma Music Ecstatic Peace! Caroline Records Dramatico Welk Music Group Virgin Records M.O.D. Technologies Enhanced Music Peaceville Records Mapleshade Records Mavin Records Mons Records Warner Bros. Records Sunnyside Records J Records RECORDINGSBUMS ECR Music Group Brushfire Records Food Records Windham Hill Records Reprise Records Rise Above Records Dim Mak Records Maskulin BNA Records Casablanca Records Creation Records Avex Trax Cantaloupe Music Wati B United Artists Records Positron! Records Analekta Taylor Gang Records 1017 Brick Squad Records J. Tune Entertainment Half A Cow Tee Productions Fania Records Orlando Third Man Records Disturbing tha Peace CTI Records Deutsche Grammophon Young Money Entertainment Nettwerk Tzadik Records Hellcat Records Capitol Records MASQ GOOD Music XO Radio Killa Records Capricorn Records Kemosabe Records YG Entertainment Durtro Musical Freedom Bieler Bros. Records Fly Eye Records Hypnotize Minds Skull Gang Entertainment T-Series OWSLA Day by Day Entertainment Three One G 300 Entertainment Axtone Records Alucard Music Jimmy Franks Recording Company TOP Media School Boy Records Ardent Records Monarc Entertainment K-tel Nonesuch Records Freebandz Black Swan Records Terror Squad Entertainment Alligator Records JYP Entertainment Diplomat Records Voiceprint Records CTE World Rockland Records Conglomerate Commmons Flèche Missing Link Records Cherrytree Records Cedille Records Disques Dreyfus Stardom Entertainment Chain Reaction Relentless Records Ruby Records Harmolodics Suburban Noize Records Beggars Group For Life Music Wall Recordings Grönland Records FFRR Records Atlantic Records Protocol Recordings Hardwood Records Daylight Records Ipecac Recordings Icon Records Deathwish Inc. Cocoon Recordings Rising Son Records Deluxe Records Hillsong Music Australia Show Dog-Universal Music Our Culture Records 604 Records Blonde Vinyl Oh Boy Records Equal Vision Records American Recordings S.M. Entertainment Dew Process Psychout Records Rekords Rekords The Inc. Records Stunt Records Hyperdub Avex Group StarRoc Mau5trap Wand Records Pamplin Music Danse Macabre Records No Masters Mr. 305 Inc. Positiva Records Les Disques Motors Ruthless Records Levy-yhtiö Mammoth Records Blue Horizon Radiorama Ed Banger Records JEMP Records Prestige Records Geffen Records Sire Records Fast Folk Paisley Park Records Del-Fi Records Mad Decent Immediate Records Eleveneleven LuckyMe Swami Records YBNL Nation Elefant Traks Motown Will.i.am Music Group BEC Recordings 3CG Records Aftermath Entertainment EMI Christian Music Group Oxingale Records Neutral Records Some Bizzare Records Boy Better Know PC Music Tursa G-Note Records King Records No Limit Records Ki/oon Music 2.13.61 Doggystyle Records The Board Administration Harvest Records Merge Records Touch and Go Records New Hormones AOMG Roc Nation Decca Records Private Music Roc-A-Fella Records TBDM Entertainment Matador Records Earache Records Ambiel Music ATO Records Savoy Records Tooth & Nail Records Desert Storm Records Epitaph Records MJJ Music WWE Music Group Progressive Records Jubilee Records Big Beat Records Top Stop Music Music World Entertainment Pelham Power Productions Zooland Records Mom + Pop Music 4AD E-Squared Records Johnny & Associates STMPD RCRDS So So Def Recordings V2 Records Chandos Records Liberty Records Rising Tide Records Flamingo Music Big Machine Records London Records Daemon Records RBMG The Elephant 6 Recording Company Beggars Banquet Records Wall of Sound Emanem Records We the Best Music Group VP Records Undercover Prodigy Rap-a-Lot Records Mute Records Hollywood Records Cash Money Records EMI Latin Tommy Boy Records Scantraxx Syco Music Flying Dutchman Records Les Disques du Crépuscule DCD2 Records Ice Age Entertainment Maybach Music Group Bong Load Custom Records Global Underground Atco Records Disc Ambiance Qwest Records Lioness Records
RECORDINGSBUMS, Brushfire Records and Tzadik Records were founded by around the same number of people as that division
RECORDINGSBUMS Brushfire Records Tzadik Records
action approx
action find_tuple_counts
relation founder
type division
type common name
action count
action filter_type
action find
entity Harvest Records
relation founder
type division
[{'concept': 'division'}, 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?b ) WHERE { ?a property:founder ?f . ?a rdf:type ontology:division . ?f rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Harvest_Records property:founder ?r . ?r rdf:type ontology:division } } . FILTER ( ?b = ?h ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2608177
P159
Q56061
USER
Which administrative territory is the headquarter location of that division ?
(Q2608177,P159,c(Q56061))
action filter_type
action find
entity Q2608177
relation P159
type Q56061
['Q2608177', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q2608177 property:P159 ?g . ?g rdf:type ontology:Q56061 }
Brushfire Records
action filter_type
action find
entity Brushfire Records
relation headquarters location
type administrative territorial entity
['Brushfire Records', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Brushfire_Records property:headquarters_location ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q25336993
SYSTEM
Did you mean RECORDINGSBUMS ?
Q25336993 Q2608177 Q2297757
(Q25336993,P159,c(Q56061)) (Q2608177,P159,c(Q56061)) (Q2297757,P159,c(Q56061))
[ANSWER]
['Q25336993', 'P159', {'concept': 'Q56061'}] ['Q2608177', 'P159', {'concept': 'Q56061'}] ['Q2297757', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q2608177 property:P159 ?g . ?g rdf:type ontology:Q56061 }
RECORDINGSBUMS Brushfire Records Tzadik Records
Did you mean RECORDINGSBUMS ?
RECORDINGSBUMS
['RECORDINGSBUMS', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Brushfire Records', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Tzadik Records', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Brushfire_Records property:headquarters_location ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Brushfire Records. Could you tell me the answer for that?
(Q2608177,P159,c(Q56061))
Q2608177
['Q2608177', 'P159', {'concept': 'Q56061'}]
['Brushfire Records', 'headquarters location', {'concept': 'administrative territorial entity'}]
[]
Q65
SYSTEM
Los Angeles
Q65
(Q2608177,P159,c(Q56061))
action filter_type
action find
entity Q2608177
relation P159
type Q56061
[ANSWER] is the headquarter location of that division
['Q2608177', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q2608177 property:P159 ?g . ?g rdf:type ontology:Q56061 }
Los Angeles
Los Angeles is the headquarter location of that division
Los Angeles
action filter_type
action find
entity Brushfire Records
relation headquarters location
type administrative territorial entity
['Brushfire Records', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Brushfire_Records property:headquarters_location ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P828
Q796194 Q79529 Q2057971
USER
Which health problems do approximately 1 medical procedures or chemical substances cause ?
(c(Q2057971),P828,c(Q796194)|c(Q79529))
action approx
action union
action find_tuple_counts
relation P828
type Q2057971
type Q796194
action find_tuple_counts
relation P828
type Q2057971
type Q79529
value 1
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q796194'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?t ) WHERE { { ?i property:P828 ?g . ?i rdf:type ontology:Q2057971 . ?g rdf:type ontology:Q796194 } UNION { ?i property:P828 ?g . ?i rdf:type ontology:Q2057971 . ?g rdf:type ontology:Q79529 } } GROUP BY ?i } . FILTER ( ?t = 1 ) }
action approx
action union
action find_tuple_counts
relation has cause
type health problem
type medical procedure
action find_tuple_counts
relation has cause
type health problem
type chemical substance
value 1
[{'concept': 'health problem'}, 'has cause', [{'concept': 'medical procedure'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?t ) WHERE { { ?i property:has_cause ?g . ?i rdf:type ontology:health_problem . ?g rdf:type ontology:medical_procedure } UNION { ?i property:has_cause ?g . ?i rdf:type ontology:health_problem . ?g rdf:type ontology:chemical_substance } } GROUP BY ?i } . FILTER ( ?t = 1 ) }
[]
medical procedure chemical substance health problem
Q623031 Q7834208 Q21082521
SYSTEM
liver cancer, transfusion hemosiderosis, glucocorticoid-induced osteoporosis
Q623031 Q21082521 Q3281393 Q7834208
(c(Q2057971),P828,c(Q796194)|c(Q79529))
action approx
action union
action find_tuple_counts
relation P828
type Q2057971
type Q796194
action find_tuple_counts
relation P828
type Q2057971
type Q79529
value 1
[ANSWERS] approximately 1 medical procedures or chemical substances cause
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q796194'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?t ) WHERE { { ?i property:P828 ?g . ?i rdf:type ontology:Q2057971 . ?g rdf:type ontology:Q796194 } UNION { ?i property:P828 ?g . ?i rdf:type ontology:Q2057971 . ?g rdf:type ontology:Q79529 } } GROUP BY ?i } . FILTER ( ?t = 1 ) }
liver cancer glucocorticoid-induced osteoporosis complication of radiotherapy transfusion hemosiderosis
Liver cancer, transfusion hemosiderosis and glucocorticoid-induced osteoporosis approximately 1 medical procedures or chemical substances cause
liver cancer transfusion hemosiderosis glucocorticoid-induced osteoporosis
action approx
action union
action find_tuple_counts
relation has cause
type health problem
type medical procedure
action find_tuple_counts
relation has cause
type health problem
type chemical substance
value 1
[{'concept': 'health problem'}, 'has cause', [{'concept': 'medical procedure'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?t ) WHERE { { ?i property:has_cause ?g . ?i rdf:type ontology:health_problem . ?g rdf:type ontology:medical_procedure } UNION { ?i property:has_cause ?g . ?i rdf:type ontology:health_problem . ?g rdf:type ontology:chemical_substance } } GROUP BY ?i } . FILTER ( ?t = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P921
Q2057971 Q838948 Q732577
USER
Which health problems were the main subjects of min number of works of art and publications 's work ?
(c(Q838948)|c(Q732577),P921,c(Q2057971))
action argmin
action union
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q838948
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q732577
[[{'concept': 'Q838948'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) ?c WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) ?h WHERE { { ?z property:P921 ?h . ?h rdf:type ontology:Q2057971 . ?z rdf:type ontology:Q732577 } UNION { ?z property:P921 ?h . ?h rdf:type ontology:Q2057971 . ?z rdf:type ontology:Q838948 } } GROUP BY ?h } . FILTER ( ?l = ?w ) }
action argmin
action union
action find_reverse_tuple_counts
relation main subject
type health problem
type work of art
action find_reverse_tuple_counts
relation main subject
type health problem
type publication
[[{'concept': 'work of art'}, {'concept': 'publication'}], 'main subject', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) ?c WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:publication ) ( ontology:work_of_art ) } } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) ?h WHERE { { ?z property:main_subject ?h . ?h rdf:type ontology:health_problem . ?z rdf:type ontology:publication } UNION { ?z property:main_subject ?h . ?h rdf:type ontology:health_problem . ?z rdf:type ontology:work_of_art } } GROUP BY ?h } . FILTER ( ?l = ?w ) }
[]
health problem work of art publication
Q187255 Q181257 Q8277
SYSTEM
rheumatoid arthritis, prostate cancer, multiple sclerosis
Q19001421 Q868137 Q748309 Q706845 Q154869 Q638729 Q3041498 Q727096 Q1928978 Q495146 Q35890 Q170990 Q1077505 Q2300099 Q154666 Q243257 Q2346415 Q929833 Q3339235 Q572695 Q1995526 Q191779 Q1137767 Q551085 Q185034 Q652744 Q187255 Q180913 Q205214 Q3378593 Q2475919 Q12152 Q12156 Q2351083 Q41571 Q3025883 Q181257 Q8277 Q30953 Q8071861 Q47912 Q448768 Q1030785 Q183548 Q42844 Q11081 Q132971 Q83030 Q11085 Q40878 Q431643 Q79793 Q159701 Q1414765 Q389735 Q1112977 Q18555066 Q12202 Q12206 Q103177 Q134859 Q219102 Q1992236 Q331283 Q326071 Q18123741 Q1358589 Q506616 Q1526645 Q11627066 Q154878 Q133823 Q33525 Q326638 Q154874 Q280027 Q8282 Q3184856 Q1476525 Q81867 Q2046113
(c(Q838948)|c(Q732577),P921,c(Q2057971))
action argmin
action union
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q838948
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q732577
[ANSWERS] were the main subjects of min number of works of art and publications 's work
[[{'concept': 'Q838948'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) ?c WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) ?h WHERE { { ?z property:P921 ?h . ?h rdf:type ontology:Q2057971 . ?z rdf:type ontology:Q732577 } UNION { ?z property:P921 ?h . ?h rdf:type ontology:Q2057971 . ?z rdf:type ontology:Q838948 } } GROUP BY ?h } . FILTER ( ?l = ?w ) }
Flavivirus infectious disease coccidioidomycosis Problem gambling Lassa fever hepatitis C autoimmune thrombocytopenic purpura eye disease physical disorder viral infectious disease trichinosis extrinsic allergic alveolitis arthritis Crimean–Congo hemorrhagic fever gastrointestinal system disease variant Creutzfeldt-Jakob disease chikungunya meningoencephalitis rare disease nervous system disease Eisenmenger's syndrome traumatic brain injury Gilles de la Tourette syndrome muscular dystrophy myelitis sickle cell anemia hand, foot and mouth disease rheumatoid arthritis bulimia nervosa Guillain–Barré syndrome drug dependence subacute sclerosing panencephalitis myocardial infarction malaria disease of metabolism epilepsy type 2 diabetes mellitus prostate cancer multiple sclerosis dengue fever Zika fever lung cancer alveolar hydatid disease demodicosis voyeurism major depressive disorder Alzheimer's disease dyslexia dementia Parkinson's disease diarrhea microcephaly measles glaucoma Munchausen by proxy cardiovascular disease syringomyelia relapsing-remitting multiple sclerosis stroke diabetes mellitus severe acute respiratory syndrome pertussis Cushing's syndrome enterobiasis leishmaniasis giardiasis infectious disease HIV/AIDS in Africa drowning Surra West Nile fever toxoplasmosis migraine carcinoma Rift Valley fever yellow fever uveitis Addison's disease substance abuse lipid metabolism disorder albino visceral leishmaniasis
Rheumatoid arthritis, prostate cancer and multiple sclerosis were the main subjects of min number of works of art and publications 's work
rheumatoid arthritis prostate cancer multiple sclerosis
action argmin
action union
action find_reverse_tuple_counts
relation main subject
type health problem
type work of art
action find_reverse_tuple_counts
relation main subject
type health problem
type publication
[[{'concept': 'work of art'}, {'concept': 'publication'}], 'main subject', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) ?c WHERE { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:publication ) ( ontology:work_of_art ) } } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) ?h WHERE { { ?z property:main_subject ?h . ?h rdf:type ontology:health_problem . ?z rdf:type ontology:publication } UNION { ?z property:main_subject ?h . ?h rdf:type ontology:health_problem . ?z rdf:type ontology:work_of_art } } GROUP BY ?h } . FILTER ( ?l = ?w ) }
[]