Simple Question (Direct)
Simple Question
Q1031083
P449
Q4830453
USER
Where was Somerset originally aired ?
(Q1031083,P449,c(Q4830453))
action filter_type
action find
entity Q1031083
relation P449
type Q4830453
['Q1031083', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?g WHERE { resource:Q1031083 property:P449 ?g . ?g rdf:type ontology:Q4830453 }
Somerset
action filter_type
action find
entity Somerset
relation original network
type business enterprise
['Somerset', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?g WHERE { resource:Somerset property:original_network ?g . ?g rdf:type ontology:business_enterprise }
[]
business enterprise
Q13974
SYSTEM
NBC
Q13974
(Q1031083,P449,c(Q4830453))
action filter_type
action find
entity Q1031083
relation P449
type Q4830453
[ANSWER]
['Q1031083', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?g WHERE { resource:Q1031083 property:P449 ?g . ?g rdf:type ontology:Q4830453 }
NBC
NBC
action filter_type
action find
entity Somerset
relation original network
type business enterprise
['Somerset', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?g WHERE { resource:Somerset property:original_network ?g . ?g rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1031083
P136
Q5962346
USER
What can be considered as category for that television program ?
(Q13974,P136,c(Q5962346))
action filter_type
action find
entity Q1031083
relation P136
type Q5962346
['Q13974', 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?x WHERE { resource:Q1031083 property:P136 ?x . ?x rdf:type ontology:Q5962346 }
Somerset
action filter_type
action find
entity Somerset
relation genre
type classification scheme
['NBC', 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?x WHERE { resource:Somerset property:genre ?x . ?x rdf:type ontology:classification_scheme }
[]
classification scheme
Q23739
SYSTEM
soap opera
Q23739
(Q13974,P136,c(Q5962346))
action filter_type
action find
entity Q1031083
relation P136
type Q5962346
[ANSWER]
['Q13974', 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?x WHERE { resource:Q1031083 property:P136 ?x . ?x rdf:type ontology:Q5962346 }
soap opera
soap opera
action filter_type
action find
entity Somerset
relation genre
type classification scheme
['NBC', 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?x WHERE { resource:Somerset property:genre ?x . ?x rdf:type ontology:classification_scheme }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P136
Q15416
USER
How many television programs have that classification scheme as their type ?
(c(Q15416),P136,Q23739)
action count
action filter_type
action find_reverse
entity Q23739
relation P136
type Q15416
[{'concept': 'Q15416'}, 'P136', 'Q23739']
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { ?h rdf:type ontology:Q15416 . ?h property:P136 resource:Q23739 }
action count
action filter_type
action find_reverse
entity soap opera
relation genre
type television program
[{'concept': 'television program'}, 'genre', 'soap opera']
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { ?h rdf:type ontology:television_program . ?h property:genre resource:soap_opera }
[]
television program
SYSTEM
386
Q5310413 Q7754509 Q1585857 Q4705959 Q3397425 Q4958362 Q7897659 Q276945 Q16154117 Q7771564 Q3660805 Q7637305 Q7372256 Q3475006 Q7533015 Q4959443 Q3283481 Q7260220 Q266323 Q3363281 Q5888868 Q13019344 Q1053941 Q12273414 Q4635684 Q3235797 Q7766788 Q6669888 Q1969978 Q7269624 Q483506 Q7504669 Q591774 Q4051028 Q6652961 Q2545719 Q607295 Q12479097 Q6897147 Q6719169 Q6670749 Q628071 Q1081942 Q3819599 Q7137619 Q7192659 Q7581735 Q20020427 Q7238573 Q2316316 Q438406 Q5433034 Q7489782 Q5882428 Q13580268 Q21010287 Q7370804 Q1973333 Q7581118 Q7317835 Q5888880 Q726735 Q738660 Q12496070 Q7621444 Q1887593 Q2359414 Q7721806 Q1068083 Q1248119 Q7840049 Q5332744 Q6770816 Q1068093 Q459439 Q5434852 Q4638792 Q2034796 Q2380258 Q16993445 Q3713998 Q1306748 Q1068166 Q6156419 Q253799 Q7330867 Q7723347 Q177825 Q1214862 Q11547241 Q19895435 Q1030972 Q16306248 Q612116 Q10360020 Q5370751 Q2517985 Q1969559 Q570830 Q1660174 Q16995429 Q3987522 Q7911642 Q7832854 Q1774576 Q4762155 Q5579975 Q16306227 Q1972447 Q16961929 Q7560223 Q12153667 Q1973290 Q849627 Q7677926 Q4994534 Q7562639 Q153561 Q1657257 Q10364496 Q7420900 Q603618 Q246785 Q7338128 Q806913 Q16307182 Q7717017 Q4730204 Q7877939 Q17062658 Q7738389 Q466875 Q5128028 Q4885928 Q6692455 Q7053583 Q5168143 Q9166458 Q13018944 Q7430477 Q266028 Q6923324 Q1145764 Q574166 Q673790 Q2052720 Q7920847 Q7805400 Q751133 Q550238 Q3282292 Q3794802 Q1031083 Q24334581 Q1247871 Q7974293 Q15123067 Q624611 Q7251108 Q3860399 Q1970043 Q1381883 Q5065049 Q5155265 Q25128 Q6667524 Q2517929 Q2669902 Q132288 Q6127071 Q205474 Q2226543 Q3772329 Q687251 Q15072905 Q7233391 Q7840386 Q6632107 Q7415429 Q640535 Q695478 Q13016530 Q276071 Q5888874 Q5508008 Q16992512 Q3519335 Q17105357 Q7267588 Q588602 Q211184 Q7776779 Q6637083 Q82729 Q131758 Q7321903 Q1744289 Q12486788 Q1346564 Q908708 Q22272 Q945030 Q667170 Q5324820 Q17460290 Q1734710 Q6346048 Q772907 Q3360180 Q776262 Q6917176 Q1136370 Q1971387 Q10356012 Q598492 Q11818861 Q7757991 Q1390832 Q7134238 Q7978384 Q71897 Q901850 Q5519889 Q1247581 Q661047 Q5354088 Q1706346 Q708661 Q5755870 Q662341 Q3437131 Q1370584 Q6912877 Q5433222 Q10281121 Q170491 Q884441 Q20665649 Q2724875 Q5070837 Q16307634 Q168708 Q6728977 Q2778342 Q5433205 Q1638819 Q185059 Q16973306 Q2509270 Q128272 Q7919967 Q7757906 Q203385 Q5689092 Q2244804 Q7734138 Q932217 Q194427 Q1970206 Q16968870 Q17056871 Q1969151 Q19730908 Q7422028 Q1973223 Q584025 Q7428568 Q895532 Q1306923 Q47441 Q383595 Q1940508 Q607514 Q674233 Q1212868 Q2849529 Q6579077 Q7723152 Q1044635 Q1247551 Q6579048 Q5912012 Q1030713 Q1969956 Q3107397 Q7602571 Q1166225 Q1630803 Q15838571 Q14902292 Q2564718 Q5915264 Q1324189 Q663759 Q322317 Q1247575 Q181321 Q5505529 Q1080213 Q593603 Q7763104 Q6692612 Q7206178 Q4785060 Q593036 Q4967471 Q2202079 Q4660772 Q1247292 Q461100 Q5222467 Q16826885 Q8216948 Q8030761 Q791106 Q7782486 Q1630877 Q4660795 Q2648184 Q5177339 Q6579342 Q1811839 Q7721745 Q7797847 Q5433306 Q4827134 Q3346281 Q5531948 Q7738699 Q1065341 Q461357 Q399650 Q1067609 Q16957482 Q17167614 Q464885 Q821257 Q24334480 Q6547313 Q7752072 Q2202089 Q7004317 Q6595270 Q13013919 Q4595674 Q2155445 Q117590 Q37850 Q687418 Q1256179 Q6963437 Q3025493 Q402480 Q4874108 Q1248471 Q2085 Q5523709 Q2070181 Q3823988 Q4880899 Q7903294 Q1970559 Q3978587 Q1041641 Q17055132 Q5182370 Q1882160 Q2610941 Q5475098 Q5755673 Q1574293 Q5432972 Q4883566 Q13534446 Q549348 Q24284199 Q685168 Q16967599 Q3975945 Q4740380 Q533179 Q1970171 Q1971770 Q2601130 Q7228881 Q1261578
(c(Q15416),P136,Q23739)
action count
action filter_type
action find_reverse
entity Q23739
relation P136
type Q15416
[ANSWER]
[{'concept': 'Q15416'}, 'P136', 'Q23739']
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { ?h rdf:type ontology:Q15416 . ?h property:P136 resource:Q23739 }
Duang Jai Akkanee The Nurses Hollyoaks Alamo Heights SA Prisoner Brave Man Standing Until Tomorrow Hyperion Bay All That Glitters The Unisexers Carson's Law Summer Desire Rownd a Rownd Emerald Point N.A.S. Sixpenny Corner Breakers Hawkins Falls, Population 6200 Punishment Dante's Cove Paradise Beach Home and Away: Secrets and the City Ruk Pathiharn Central Park West Lampsi 365 Wun Haeng Rak Machair The Story of Peter Grey London Bridge Passions Quayside Dae Jo Yeong Shuga Secrets of Midland Heights The Cut Ubat Ruk Kaam Kaub Fah Love of Life Loving Love 2020 Moment of Truth MVP Raeng Ngao Crossroads Return to Eden Dark Shadows Park Avenue Pierwsza miłość Spyder Games Sayeera Prasuton Manorah Casualty Grey's Anatomy Family Affairs Shark Bay Hollyoaks: The Morning After the Night Before Paen Rai Phai Ruk Gokulathil Seethai Rough Crossing Skyways Springhill Revelations Home and Away: Weddings Dallas The Colbys Magic Strange Paradise Mallorca – Suche nach dem Paradies A Country Practice The Cedar Tree Mi pecado Mary Hartman, Mary Hartman Triangle Echo Point Market in Honey Lane Un Refugio para el Amor Unter Uns Faraway Hill 49th & Main Howards' Way How to Survive a Marriage A Flame in the Wind Dangerous Women Eine für alle – Frauen können’s besser Querida Enemiga Jao Nang Alles was zählt Richmond Hill The Clear Horizon Die Anrheiner North of 60 Hahaoya Shikkaku Blood and Oil Sunset Beach Wayupak Montra Sisters Return to Peyton Place Emergency – Ward 10 Verschollen General Hospital: Night Shift Undressed Jede Menge Leben Highway to the Stars The Heights Valiant Lady Train 48 Klinik am Alex Angel Falls Golden Windows Wan Jai Gub Nai Jom Ying The Newcomers Night and Day Something in the Air The Haves and the Have Nots Taurus Rising The Young and the Restless Take the High Road Vita lögner Sood Sanae Ha Verbotene Liebe Point Pleasant Roque Santeiro Sapai Look Tung Capitol Generations Riverdale Banoo Main Teri Dulhann Cubic The Best of Everything All the Way UgunsGrēks Mon Jun Tra The Grove Family Das Erbe der Guldenburgs Class of 74 Ben Jerrod Lovers and Friends North/South Cop Shop Barwy szczęścia Maya Tawan Scarlett Hill Dahoam is Dahoam Mount Royal Guiding Light Mile High Fair City Parkhotel Stern Vera sto Dexi Time of Your Life Dynasty: The Reunion Melrose Place The Round Table King's Crossing Somerset Jawara Najbolje godine Waterloo Station Das Haus Andubist One Life to Live Prosto w serce Monarch Cove Port Charles Plus belle la vie Certain Women Compact Storm of Love Nuer Mek 2 Edgemont Pasadena Salatut elämät Jam Loey Rak All My Children Where the Heart Is Glitter Geliebte Schwestern Miss Susan Possession Tribes Silamanee Sana Maulit Muli Knots Landing Gute Zeiten, schlechte Zeiten Pathapee Leh Ruk 90210 Home and Away: Romances Full Circle Empire Texas Fah Krajang Dao Qi Pao Search for Tomorrow 2000 Malibu Road The Young Marrieds Sawan Biang The Bold and the Beautiful Desperate Housewives Rhythm City Klan Isabella Hollywood Heights Neighbours Santa Barbara Coronation Street Sons and Daughters E Street Isidingo Paper Dolls Kaew Tah Pee These Are My Children Pacific Drive Goede Tijden, Slechte Tijden Motel General Hospital Un Posto al Sole Que Rei Sou Eu? Models Inc. Hillside The Practice Fabrixx Paradise Bay Weavers Green Hotel 13 Mistresses Game Rai Game Rak The Edge of Night Marienhof Eldorado So ist das Leben! Die Wagenfelds Lindenstraße High Living Falcon Crest Out of the Blue Ma Perkins Morning Star Family Pride Fera Ferida 112 – Sie retten dein Leben Hinter Gittern – Der Frauenknast Spotlight Falcon Beach Chances Love Broadcast Dallas Mae Nak Malibu Shores Family Passions The Doctors Days of our Lives Ivory Tower The Brighter Day Within These Walls Venice: The Series The Power, The Passion One Tree Hill HeadLand Schloß Hohenstein The First Hundred Years The Sullivans The O.C. Ryan's Hope Dynasty Plik Din Su Dao Berrenger's Pinokio dan Peri Biru Sarah The Young Doctors Dynasty Sawan Biang Die Fallers – Eine Schwarzwaldfamilie Eine wie keine Le cœur a ses raisons Flamingo Road Mitten im 8en EastEnders North Shore Whistler Angels Thara Himalaya The City Bewitched Peyton Place Torranee Ni Nee Krai Krong Hotel Story Another World Our Private World One Man's Family Starting Out Dark Shadows Hotel The Club (U.S. TV series) Ulice Westerdeich House of Pride Home and Away Revenge Der Fürst und das Mädchen Emmerdale Brookside From These Roots Degrassi Junior High The Yellow Rose The Secret Storm Loving Friends and Perfect Couples Pob Pee Fa Arcade Titans Bright Promise Where the Heart Is A Woman to Remember Soap The Restless Years The City Albion Market Beverly Hills, 90210 franchise Woman with a Past Barátok közt Thep Sarm Rudoo Hotel Cæsar A World Apart Alle zusammen – jeder für sich Country Joy Nang Tard The Best Years The Catlins Three Steps to Heaven Family and Friends Autumn Affair Number 96 General Hospital The Hamptons Teresa Dawson's Creek Het Huis Anubis Destilando Amor Tinsel If Loving You Is Wrong (TV series) In aller Freundschaft Berlin Bohème Lovepedia: Dilema Sahabat Likit Gammatep The Monroes Familie Never Too Young list of Qubool Hai episodes Khun Chai Ronapee 199 Park Lane River City Beverly Hills, 90210 Paradise Falls Pobol y Cwm Deception Nang Sib Song Devious Maids Maple Avenue Bay State Love Is a Many Splendored Thing Twin Peaks Garnock Way E.N.G. The Forsyte Saga Behind the Screen Uttai Tawee Watch Over Me Swans Crossing María Isabel Hidden Faces Crash Palace M jak miłość Holby City Four Corners High Hopes Hand aufs Herz Families Bellbird Fai Huan Melrose Place Salam Savannah Wild Roses Street Legal Amas de Casa Desesperadas Schloss Einstein Rituals Hidden Palms Pacific Palisades Poot Mae Nam Khong As the World Turns
386
action count
action filter_type
action find_reverse
entity soap opera
relation genre
type television program
[{'concept': 'television program'}, 'genre', 'soap opera']
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { ?h rdf:type ontology:television_program . ?h property:genre resource:soap_opera }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2171762 Q13974
P19 P17
Q15617994
USER
Which administrative territories are NBC present in or were Roberto Castelli born ?
OR((Q13974,P17,c(Q15617994)), (Q2171762,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q13974
relation P17
action find
entity Q2171762
relation P19
type Q15617994
{'OR': [['Q13974', 'P17', {'concept': 'Q15617994'}], ['Q2171762', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q13974 property:P17 ?s } UNION { resource:Q2171762 property:P19 ?s } } . ?s rdf:type ontology:Q15617994 }
Roberto Castelli NBC
action filter_type
action union
action find
entity NBC
relation country
action find
entity Roberto Castelli
relation place of birth
type designation for an administrative territorial entity
{'OR': [['NBC', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Roberto Castelli', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:NBC property:country ?s } UNION { resource:Roberto_Castelli property:place_of_birth ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q6237
SYSTEM
United States of America, Lecco
Q30 Q6237
OR((Q13974,P17,c(Q15617994)), (Q2171762,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q13974
relation P17
action find
entity Q2171762
relation P19
type Q15617994
[ANSWERS]
{'OR': [['Q13974', 'P17', {'concept': 'Q15617994'}], ['Q2171762', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q13974 property:P17 ?s } UNION { resource:Q2171762 property:P19 ?s } } . ?s rdf:type ontology:Q15617994 }
United States of America Lecco
United States of America Lecco
action filter_type
action union
action find
entity NBC
relation country
action find
entity Roberto Castelli
relation place of birth
type designation for an administrative territorial entity
{'OR': [['NBC', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Roberto Castelli', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:NBC property:country ?s } UNION { resource:Roberto_Castelli property:place_of_birth ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with atmost 19 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 19
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?j <= 19 ) }
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 19
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?j <= 19 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q142
SYSTEM
Georgia, Netherlands, France
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 19
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?j <= 19 ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
Georgia Netherlands France
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 19
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?j ) WHERE { ?w property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?j <= 19 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic relations with approximately 27 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 27
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 . ?v property:P530 ?h } GROUP BY ?v } . FILTER ( ?a = 27 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 27
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity . ?v property:diplomatic_relation ?h } GROUP BY ?v } . FILTER ( ?a = 27 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 27
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 . ?v property:P530 ?h } GROUP BY ?v } . FILTER ( ?a = 27 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 27
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity . ?v property:diplomatic_relation ?h } GROUP BY ?v } . FILTER ( ?a = 27 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P20
Q502895 Q4830453
USER
How many people and business enterprises died in United States of America ?
(c(Q502895),P20,Q30) (c(Q4830453),P20,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P20
type Q502895
action filter_type
action find_reverse
entity Q30
relation P20
type Q4830453
[{'concept': 'Q502895'}, 'P20', 'Q30'] [{'concept': 'Q4830453'}, 'P20', 'Q30']
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { ?l property:P20 resource:Q30 . ?l rdf:type ontology:Q502895 } UNION { ?l property:P20 resource:Q30 . ?l rdf:type ontology:Q4830453 } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation place of death
type common name
action filter_type
action find_reverse
entity United States of America
relation place of death
type business enterprise
[{'concept': 'common name'}, 'place of death', 'United States of America'] [{'concept': 'business enterprise'}, 'place of death', 'United States of America']
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { ?l property:place_of_death resource:United_States_of_America . ?l rdf:type ontology:common_name } UNION { ?l property:place_of_death resource:United_States_of_America . ?l rdf:type ontology:business_enterprise } }
[]
common name business enterprise
SYSTEM
330 people and 1 business enterprises
Q3113255 Q884921 Q299601 Q5496058 Q6213930 Q4723035 Q2012746 Q18576468 Q4055170 Q5335641 Q1761603 Q3467006 Q5346216 Q3365963 Q3127637 Q1811795 Q6184259 Q2607415 Q5505023 Q6820021 Q6701279 Q9374535 Q6417921 Q4696196 Q889827 Q4475070 Q116895 Q19946150 Q274814 Q1585801 Q118156 Q23944001 Q15135277 Q915696 Q4934086 Q1707085 Q1701261 Q9381678 Q7340081 Q1693156 Q6851430 Q2340466 Q4717969 Q1466114 Q6300728 Q26906244 Q3809097 Q316354 Q20829661 Q1040953 Q929107 Q6319806 Q5353918 Q7970037 Q8053412 Q7049499 Q16490268 Q7789846 Q353754 Q214762 Q6228994 Q19832437 Q7459205 Q7188573 Q1033980 Q7819881 Q1871107 Q2743857 Q3810244 Q5416288 Q11941011 Q928613 Q6255703 Q6536049 Q2926489 Q16237779 Q75312 Q2580560 Q902976 Q4684377 Q8016763 Q9343401 Q3018986 Q330201 Q351099 Q7964182 Q906477 Q1942641 Q9285381 Q9355418 Q6419103 Q9147660 Q6748498 Q6490418 Q7345878 Q9149032 Q5791058 Q4858683 Q4878818 Q2555359 Q2295303 Q1537852 Q712593 Q2633193 Q3184800 Q7756163 Q212426 Q7821248 Q6194442 Q16206545 Q1908694 Q15081310 Q946368 Q4130949 Q6227528 Q3181805 Q6281876 Q16010319 Q22958342 Q6149052 Q7299751 Q2356664 Q5496260 Q7965719 Q4932633 Q95484 Q253060 Q5545451 Q21808516 Q3760455 Q7687894 Q6303495 Q5272708 Q2638523 Q11729249 Q5040880 Q4172657 Q3082351 Q21064680 Q1701131 Q4364832 Q3877024 Q7346457 Q19554998 Q3484444 Q1357979 Q578085 Q2474313 Q4063426 Q1974961 Q4430033 Q16082232 Q5664441 Q17025157 Q5244176 Q1240079 Q895936 Q24083069 Q7344796 Q5076143 Q2141930 Q2339266 Q4491364 Q710510 Q1393646 Q4724770 Q447716 Q1964003 Q3928916 Q103254 Q16992610 Q19560442 Q1711759 Q150816 Q968224 Q6523768 Q4416860 Q6197699 Q3576399 Q20525523 Q20741641 Q1261880 Q1311632 Q640717 Q4072400 Q12177029 Q2574690 Q4122028 Q5533194 Q19362246 Q4275735 Q4166303 Q4452785 Q5486954 Q6891815 Q703642 Q4893044 Q7344303 Q5538148 Q11826613 Q22075425 Q3942299 Q4135414 Q5294283 Q1446805 Q5546063 Q3182876 Q1680109 Q731752 Q5236651 Q6282565 Q7647586 Q7613466 Q3147769 Q5132984 Q2060383 Q8068253 Q1450047 Q7240556 Q1353820 Q2579513 Q356810 Q6373017 Q1794054 Q18685910 Q323334 Q7158128 Q4757052 Q15730314 Q7411215 Q21855441 Q16013305 Q216539 Q23008794 Q1380058 Q3043519 Q2639508 Q7789469 Q1769952 Q6372112 Q3483497 Q331070 Q11702431 Q1346819 Q7819677 Q17455385 Q15130627 Q8008214 Q4913443 Q4384688 Q5057099 Q932553 Q378620 Q58963 Q544990 Q794791 Q4648531 Q4460334 Q4954993 Q3336293 Q3300585 Q4803166 Q7051514 Q5480208 Q15063038 Q7597801 Q1632046 Q18274928 Q20127273 Q3901556 Q6395571 Q324633 Q1688989 Q17423629 Q288916 Q7158397 Q2676888 Q5238233 Q5371246 Q15484220 Q503289 Q5811800 Q20715024 Q4470081 Q16549770 Q6198669 Q185090 Q8011795 Q4137625 Q2120996 Q4837485 Q5538809 Q4491075 Q7673957 Q38304 Q2908897 Q2636090 Q139412 Q19665973 Q4756903 Q4529589 Q7558697 Q3379036 Q118454 Q2553015 Q338561 Q2579089 Q3810294 Q4910721 Q373104 Q3809513 Q13030875 Q16601046 Q1399338 Q2005194 Q4122793 Q3266007 Q7693486 Q5724479 Q1569352 Q3920215 Q2910912 Q5948736 Q1160901 Q5898095 Q6246265 Q6795732 Q2525726 Q2836665 Q725093 Q939550
(c(Q502895),P20,Q30) (c(Q4830453),P20,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P20
type Q502895
action filter_type
action find_reverse
entity Q30
relation P20
type Q4830453
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q30'] [{'concept': 'Q4830453'}, 'P20', 'Q30']
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { ?l property:P20 resource:Q30 . ?l rdf:type ontology:Q502895 } UNION { ?l property:P20 resource:Q30 . ?l rdf:type ontology:Q4830453 } }
Graham Ingels William Rush Merriam Karen Krantzcke Fred Pepper Joel Sayre Alfred L. Cralle Carl Burgos John Dixey Abu Salma Eda Warren Marc Rocco Jesse Wallace Edwin Atherton Miroslav Sláma Harold Seymour Lee Elias Jerry Poteet Peter Charanis Fritz Stoll Merrell Jackson Luis Ávalos Wilhelm Wachtel Kitaw Ejigu Ahmet Robenson Oliver Max Gardner Nikolay Ulyanov Albert Samuel Gatschet Jack Lyall Elénor-François-Elie, Comte de Moustier Harold Dejan Albert Butz Julian Gazda Cornelia Templeton Hatcher Siegfried Wortmann Bob Stetler Joseph Gehot John Ordway Władysław Augustyn Rob Denton Johann Daniel Achelis Miles James Emil Sommerstein Alex Weir József Yartin Juan Pajota Stephen J. O'Kelly John Bloom Patrick Leahy Mary Brazier Carl Wallmann Józef Światło János Radványi Elden Kingston Warren B. Duff Ygnacio del Valle Nonna Bannister Carlos Cordovez Borja Thomas Fuller Paul de Man Lien Deyers John Deal Betty G. Miller Seymour Lubetzky Phyllis Huffman Pál Schiller Harkai Tommy Stark Lothrop Stoddard Robert LeFevre Joseph Marie Nguyên Quang Tuyên Evelyn Boucher Pere Montaldo Norman Jay Coleman John Ross Dix Lew Schwartz Bruce Voeller John B. Wentworth Owsei Temkin William Sistrom Jafar Namdar Adolph Marix William Penn Patrick Stanisław Wójcik Lee J. Ames Ma Sicong Murphy Anderson Walter Aspden Joseph Edward Mayer Mohammad Ali Khojastehpour Halina Korolec-Bujakowska Tamara Wiszniewska Kiyoshi Kuromiya Alfred Falter Manfred Guttmacher Larry Grey Robert J. Fox Aloyzas Valušis Albert Harris Barbara, Lady Judge Becky Edelsohn Maddie Blaustein Frank Fetter Susannah McCorkle Soma Weiss Aldo Donelli Joseph Crétin The Parkinsons Elizabeth Murray Toni Blum Jim Cronin E. C. Tully Anna Mathilde Hitzfeld Pierre S. Porohovshikov Cliff Sterrett Emil Gabrielian John Craven John Ingvard Kjargaard Joseph C. G. Kennedy Randolph Collier A. K. N. Ahmed Jan Henryk de Rosen Raúl Chappell Orlando Anderson Fred Shields Walter Newman Bob Guelker Max Friedrich Meyer Albert Balink George Vandeman Edmund Reismann George C. Cox Tatari Ali Judith K. Zilczer Dick Briefer Jan Cieplak Juliusz Adler Carl Thomas Anderson Toni D'Alto Franco Assetto Chandra Bahadur Gurung John Moors Cabot Carl Copping Plehn Nils Regnell Robert Kozaren Maria Bergson Simon Scott Minik Wallace Milton Work Edarem Walter C. Alvarez Juozas Ambrazevičius Sofiya Jozeffi Elaine Riley Harriette Tarler Chang Ming-che DeWitt Clinton Cregier Donald M. Dickinson Boyd K. Packer Adolf Christian Moestue Robert Gittler Charles Catton the younger William Prescott Yukhym Shkolnykov Sheldon Fox Lajos Egri John Svanberg Ali El-Maak Madam C. J. Walker Yehoash Rae Foley Ludwig Wolff Mike Gallagher Joseph P. Evans Jules Freund Emiliano González Navero Justin Najmy Leo Gerstenzang Nathalie Sergueiew Jim Reed Z. W. Birnbaum Aleksandar Vereščagin John P. O'Neill Smith Thompson Richard Donchian Joseph Colombo Ishaya Audu Robert Gair Joseph Salemi Nell Brinkley Genille Cave-Browne-Cave Maurice Hurley F. Gwynplaine MacIntyre Florinda Donner William Hogarth Tower Frank Greinert Mohammad Anwar Khan Durrani John W. Foster Bernard Cywinski Robert Ferguson George Counts Drahoš Jirotka M. A. Tricca Rudy Cipolla Paul Haensel Donald E. Graves Franz Fraas George Waters Johnny Craig James C. McCormick Wacław Kobyliński David Lipscomb Joseph Delach Susan Bloch Steve Newman Ida Rosenthal Clifford Jones Paul J. Mueller Zebedy Colt Gart Westerhout Prentice Moreland Erik Almlöf William Jencks M. Hoke Smith Karol Bahrke Kurt Schlesinger Peter A. Vellucci Bob Peak Pearl M. Hart Andrew Gajda Zoltan Vidor Samuel D. Riddle Mira Gincburg Eugene Shirk Hugo Gutmann Martin Zephyr Kalki Krishnamurthy Carolyn Conwell Stanley Rossiter Benedict Thomas F. O'Neil William M. Meredith Karl Neuhoff Sig Herzig Gideon Granger Red Ingle Paul Thek Tommy McFarlane Jerry Cooke Tadeusz Lipski William E. Cooper Billy Watson Sergei G. Pushkarev Cedric Fauntleroy Edward Donaghy Ralph Wright Charles T. Kowal Benjamin Ruggiero Ferenc Bihari A. Wayne Wymore Laurence Thompson Eugen Bjørnstad Nat Hiken Abas Ermenji Asa T. Newhall Norm Larsen António da Costa Vytautas Norkus Stan Monteith Howling Wolf Anders Fredrik Wiking John Henry Brown Philo Remington Ketto Mikeladze George Evans Jill Johnston Michael Phelan Jack Ketchum Peary Rader John Mix Stanley David Oppenheim Emil G. Hirsch Ju-Chin Chu Michael O'Hare Jörgen Holmquist Thomas Fitzpatrick John Burr Williams Dino Di Luca Jim Van Eerden Sardul Singh Kwatra William Haze Eugenie Gershoy Bob McIntyre Babalu George Earl Ortman John M. Flynn Taco Bell chihuahua Ēriks Pētersons Saul Lieberman Al Harewood Z. K. Matthews Marcella Martin Andrew Esinhart Howard Ensign Evans Solomon Lar Philip Livingston Hedwig Kohn Wayne Boring Juozas Kazickas William H. Roane Josephine Joseph Bill Rowley David Henshaw John O'Connell Zora Kipel Martha Viana Harald Christensen Sonia Greene Siergiej Wojciechowski Lucy Harris Ted Mann Henry Kotani Karl Fryksdal Iziaslav Boris Artzybasheff Solomon Andrews Daniel Gorenstein Hookey Leonard John Mackie Falconer Maximilian Toch Bill Tytla Alice Roosevelt Longworth Jim Aparo Henry Levin
330 people and 1 business enterprises
action count
action union
action filter_type
action find_reverse
entity United States of America
relation place of death
type common name
action filter_type
action find_reverse
entity United States of America
relation place of death
type business enterprise
[{'concept': 'common name'}, 'place of death', 'United States of America'] [{'concept': 'business enterprise'}, 'place of death', 'United States of America']
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { ?l property:place_of_death resource:United_States_of_America . ?l rdf:type ontology:common_name } UNION { ?l property:place_of_death resource:United_States_of_America . ?l rdf:type ontology:business_enterprise } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6012162 Q1031083
P161
Q502895
USER
Which people were casted in Somerset or In the Flesh ?
OR((Q1031083,P161,c(Q502895)), (Q6012162,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1031083
relation P161
action find
entity Q6012162
relation P161
type Q502895
{'OR': [['Q1031083', 'P161', {'concept': 'Q502895'}], ['Q6012162', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q1031083 property:P161 ?y } UNION { resource:Q6012162 property:P161 ?y } } . ?y rdf:type ontology:Q502895 }
In the Flesh Somerset
action filter_type
action union
action find
entity Somerset
relation cast member
action find
entity In the Flesh
relation cast member
type common name
{'OR': [['Somerset', 'cast member', {'concept': 'common name'}], ['In the Flesh', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Somerset property:cast_member ?y } UNION { resource:In_the_Flesh property:cast_member ?y } } . ?y rdf:type ontology:common_name }
[]
common name
Q2123880 Q529547 Q1681349 Q6668285 Q18588195 Q2736441 Q381203 Q5525878 Q18588210 Q18588218
SYSTEM
Some of them are Jordan Charney, Gretchen Wyler, Jameson Parker, Lois Kibbee, Emily Bevan, Ricky Tomlinson, Ted Danson, Gary Sandy, Stephen Thompson, Gerard Thompson
Q2565463 Q786720 Q5525878 Q1906421 Q460434 Q8498824 Q102124 Q1868078 Q267914 Q6668285 Q826043 Q258246 Q18588205 Q18588201 Q6369698 Q18588243 Q237809 Q18588246 Q2123880 Q6213334 Q16014475 Q18588195 Q7416639 Q2736441 Q5373530 Q809051 Q18588198 Q16091303 Q1229052 Q18588242 Q1681349 Q529547 Q541803 Q18588239 Q4766738 Q381203 Q18588235 Q18588247 Q7615202 Q3047181 Q18588217 Q18588210 Q18588218 Q18588257
OR((Q1031083,P161,c(Q502895)), (Q6012162,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1031083
relation P161
action find
entity Q6012162
relation P161
type Q502895
[ANSWERS]
{'OR': [['Q1031083', 'P161', {'concept': 'Q502895'}], ['Q6012162', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q1031083 property:P161 ?y } UNION { resource:Q6012162 property:P161 ?y } } . ?y rdf:type ontology:Q502895 }
Nicolas Coster Richard Bright Gary Sandy Steve Evets Linzey Cocker Luke Newberry Sigourney Weaver Meg Wittner Audrey Landers Lois Kibbee Francis Magee Lois Smith Steve Cooper Marie Critchley Karen Henthorn Charlie Kenyon JoBeth Williams Paul Warriner Jordan Charney Joel Crothers Paul Sparer Emily Bevan Sandra Huggett Ricky Tomlinson Emmett J. Scanlan Barry Jenner Harriet Cains Michael M. Ryan Kenneth Cranham Eve Gordon Jameson Parker Gretchen Wyler Wunmi Mosaku Steve Garti Ann Wedgeworth Ted Danson David Walmsley Bryan Parry Steven Robertson Ed Kemmer Kevin Sutton Stephen Thompson Gerard Thompson Sue Wallace
Jordan Charney Gretchen Wyler Jameson Parker Lois Kibbee Emily Bevan Ricky Tomlinson Ted Danson Gary Sandy Stephen Thompson Gerard Thompson
action filter_type
action union
action find
entity Somerset
relation cast member
action find
entity In the Flesh
relation cast member
type common name
{'OR': [['Somerset', 'cast member', {'concept': 'common name'}], ['In the Flesh', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Somerset property:cast_member ?y } UNION { resource:In_the_Flesh property:cast_member ?y } } . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q5647726
P725
Q502895 Q2342494
USER
How many collectables had their voice dubbing done by around the same number of people as Handy Manny's Motorcycle Adventure ?
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q5647726
relation P725
type Q2342494
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?r ) WHERE { ?s rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q502895 . ?s property:P725 ?y } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { resource:Q5647726 property:P725 ?w . ?w rdf:type ontology:Q2342494 } } . FILTER ( ?r = ?j ) }
Handy Manny's Motorcycle Adventure
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Handy Manny's Motorcycle Adventure
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?r ) WHERE { ?s rdf:type ontology:collectable . ?y rdf:type ontology:common_name . ?s property:voice_actor ?y } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { resource:Handy_Manny's_Motorcycle_Adventure property:voice_actor ?w . ?w rdf:type ontology:collectable } } . FILTER ( ?r = ?j ) }
[]
common name collectable
SYSTEM
6
Q50035 Q483263 Q482870 Q1204015 Q485958 Q5647726
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q5647726
relation P725
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?r ) WHERE { ?s rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q502895 . ?s property:P725 ?y } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { resource:Q5647726 property:P725 ?w . ?w rdf:type ontology:Q2342494 } } . FILTER ( ?r = ?j ) }
Nyaruko: Crawling with Love Baka and Test Boku wa Tomodachi ga Sukunai Ōkami Kakushi Ro-Kyu-Bu! Handy Manny's Motorcycle Adventure
6
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Handy Manny's Motorcycle Adventure
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?r ) WHERE { ?s rdf:type ontology:collectable . ?y rdf:type ontology:common_name . ?s property:voice_actor ?y } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { resource:Handy_Manny's_Motorcycle_Adventure property:voice_actor ?w . ?w rdf:type ontology:collectable } } . FILTER ( ?r = ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q485958
P725
Q502895 Q2342494
USER
And what about Ro-Kyu-Bu!?
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q485958
relation P725
type Q2342494
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?c ) WHERE { ?r property:P725 ?w . ?r rdf:type ontology:Q2342494 . ?w rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?c = ?d ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h rdf:type ontology:Q2342494 . resource:Q485958 property:P725 ?h } } }
Ro-Kyu-Bu!
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Ro-Kyu-Bu!
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?c ) WHERE { ?r property:voice_actor ?w . ?r rdf:type ontology:collectable . ?w rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?c = ?d ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h rdf:type ontology:collectable . resource:Ro-Kyu-Bu! property:voice_actor ?h } } }
[]
common name collectable
SYSTEM
14
Q50035 Q483263 Q495094 Q482870 Q336056 Q1204015 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q485958 Q5647726 Q2759489
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q485958
relation P725
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?c ) WHERE { ?r property:P725 ?w . ?r rdf:type ontology:Q2342494 . ?w rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?c = ?d ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h rdf:type ontology:Q2342494 . resource:Q485958 property:P725 ?h } } }
Nyaruko: Crawling with Love Baka and Test Durarara!! Boku wa Tomodachi ga Sukunai The Girl Who Leapt Through Time Ōkami Kakushi Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Ro-Kyu-Bu! Handy Manny's Motorcycle Adventure Muv-Luv
14
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Ro-Kyu-Bu!
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?c ) WHERE { ?r property:voice_actor ?w . ?r rdf:type ontology:collectable . ?w rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?c = ?d ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h rdf:type ontology:collectable . resource:Ro-Kyu-Bu! property:voice_actor ?h } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q234438 Q6668285
P161
Q15416
USER
Which television programs have Lois Kibbee or Marin Hinkle as actor ?
OR((c(Q15416),P161,Q6668285), (c(Q15416),P161,Q234438))
action filter_type
action union
action find_reverse
entity Q6668285
relation P161
action find_reverse
entity Q234438
relation P161
type Q15416
{'OR': [[{'concept': 'Q15416'}, 'P161', 'Q6668285'], [{'concept': 'Q15416'}, 'P161', 'Q234438']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15416 . { { ?l property:P161 resource:Q6668285 } UNION { ?l property:P161 resource:Q234438 } } }
Marin Hinkle Lois Kibbee
action filter_type
action union
action find_reverse
entity Lois Kibbee
relation cast member
action find_reverse
entity Marin Hinkle
relation cast member
type television program
{'OR': [[{'concept': 'television program'}, 'cast member', 'Lois Kibbee'], [{'concept': 'television program'}, 'cast member', 'Marin Hinkle']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:television_program . { { ?l property:cast_member resource:Lois_Kibbee } UNION { ?l property:cast_member resource:Marin_Hinkle } } }
[]
television program
Q958651 Q1247581 Q1030713 Q1031083 Q189267
SYSTEM
Once and Again, The Edge of Night, Another World, Somerset, Two and a Half Men
Q958651 Q1247581 Q1030713 Q1031083 Q189267
OR((c(Q15416),P161,Q6668285), (c(Q15416),P161,Q234438))
action filter_type
action union
action find_reverse
entity Q6668285
relation P161
action find_reverse
entity Q234438
relation P161
type Q15416
[ANSWERS]
{'OR': [[{'concept': 'Q15416'}, 'P161', 'Q6668285'], [{'concept': 'Q15416'}, 'P161', 'Q234438']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15416 . { { ?l property:P161 resource:Q6668285 } UNION { ?l property:P161 resource:Q234438 } } }
Once and Again The Edge of Night Another World Somerset Two and a Half Men
Once and Again The Edge of Night Another World Somerset Two and a Half Men
action filter_type
action union
action find_reverse
entity Lois Kibbee
relation cast member
action find_reverse
entity Marin Hinkle
relation cast member
type television program
{'OR': [[{'concept': 'television program'}, 'cast member', 'Lois Kibbee'], [{'concept': 'television program'}, 'cast member', 'Marin Hinkle']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:television_program . { { ?l property:cast_member resource:Lois_Kibbee } UNION { ?l property:cast_member resource:Marin_Hinkle } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q159 Q6237
P190 P17
Q56061
USER
Which administrative territories are a sister city of Lecco and are located in Russia ?
AND((c(Q56061),P190,Q6237), (c(Q56061),P17,Q159))
action filter_type
action intersection
action find_reverse
entity Q6237
relation P190
action find_reverse
entity Q159
relation P17
type Q56061
{'AND': [[{'concept': 'Q56061'}, 'P190', 'Q6237'], [{'concept': 'Q56061'}, 'P17', 'Q159']]}
SELECT DISTINCT ?z WHERE { ?z property:P190 resource:Q6237 . ?z property:P17 resource:Q159 . ?z rdf:type ontology:Q56061 }
Russia Lecco
action filter_type
action intersection
action find_reverse
entity Lecco
relation sister city
action find_reverse
entity Russia
relation country
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'sister city', 'Lecco'], [{'concept': 'administrative territorial entity'}, 'country', 'Russia']]}
SELECT DISTINCT ?z WHERE { ?z property:sister_city resource:Lecco . ?z property:country resource:Russia . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q23185
SYSTEM
Mytishchi
Q23185
AND((c(Q56061),P190,Q6237), (c(Q56061),P17,Q159))
action filter_type
action intersection
action find_reverse
entity Q6237
relation P190
action find_reverse
entity Q159
relation P17
type Q56061
[ANSWER]
{'AND': [[{'concept': 'Q56061'}, 'P190', 'Q6237'], [{'concept': 'Q56061'}, 'P17', 'Q159']]}
SELECT DISTINCT ?z WHERE { ?z property:P190 resource:Q6237 . ?z property:P17 resource:Q159 . ?z rdf:type ontology:Q56061 }
Mytishchi
Mytishchi
action filter_type
action intersection
action find_reverse
entity Lecco
relation sister city
action find_reverse
entity Russia
relation country
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'sister city', 'Lecco'], [{'concept': 'administrative territorial entity'}, 'country', 'Russia']]}
SELECT DISTINCT ?z WHERE { ?z property:sister_city resource:Lecco . ?z property:country resource:Russia . ?z rdf:type ontology:administrative_territorial_entity }
[]