Simple Question (Direct)
Simple Question
Q1990696
P21
Q290
USER
Which sex does Nikolay Shanin have ?
(Q1990696,P21,c(Q290))
action filter_type
action find
entity Q1990696
relation P21
type Q290
['Q1990696', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q1990696 property:P21 ?d . ?d rdf:type ontology:Q290 }
Nikolay Shanin
action filter_type
action find
entity Nikolay Shanin
relation gender
type sex
['Nikolay Shanin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Nikolay_Shanin property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1990696,P21,c(Q290))
action filter_type
action find
entity Q1990696
relation P21
type Q290
Nikolay Shanin has a [ANSWER]
['Q1990696', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q1990696 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
Nikolay Shanin has a male
male
action filter_type
action find
entity Nikolay Shanin
relation gender
type sex
['Nikolay Shanin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Nikolay_Shanin property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1990696
P184
Q502895
USER
Who has Nikolay Shanin as doctor advisor ?
(c(Q502895),P184,Q1990696)
action filter_type
action find_reverse
entity Q1990696
relation P184
type Q502895
[{'concept': 'Q502895'}, 'P184', 'Q1990696']
SELECT DISTINCT ?z WHERE { ?z property:P184 resource:Q1990696 . ?z rdf:type ontology:Q502895 }
Nikolay Shanin
action filter_type
action find_reverse
entity Nikolay Shanin
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Nikolay Shanin']
SELECT DISTINCT ?z WHERE { ?z property:doctoral_advisor resource:Nikolay_Shanin . ?z rdf:type ontology:common_name }
[]
common name
Q25999578
SYSTEM
Anatol Slissenko
Q25999578
(c(Q502895),P184,Q1990696)
action filter_type
action find_reverse
entity Q1990696
relation P184
type Q502895
[ANSWER] has Nikolay Shanin as doctor advisor
[{'concept': 'Q502895'}, 'P184', 'Q1990696']
SELECT DISTINCT ?z WHERE { ?z property:P184 resource:Q1990696 . ?z rdf:type ontology:Q502895 }
Anatol Slissenko
Anatol Slissenko has Nikolay Shanin as doctor advisor
Anatol Slissenko
action filter_type
action find_reverse
entity Nikolay Shanin
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Nikolay Shanin']
SELECT DISTINCT ?z WHERE { ?z property:doctoral_advisor resource:Nikolay_Shanin . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q8916464
P725
Q502895 Q5398426
USER
Which television series had approximately the same number of people as the dubbing artist as Servant x Service ?
(c(Q5398426),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q8916464
relation P725
type Q5398426
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?h ) WHERE { ?x property:P725 ?s . ?x rdf:type ontology:Q5398426 . ?s rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q8916464 property:P725 ?t . ?t rdf:type ontology:Q5398426 } } . FILTER ( ?h = ?i ) }
Servant x Service
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Servant x Service
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?h ) WHERE { ?x property:voice_actor ?s . ?x rdf:type ontology:television_series . ?s rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Servant_x_Service property:voice_actor ?t . ?t rdf:type ontology:television_series } } . FILTER ( ?h = ?i ) }
[]
common name television series
Q483803 Q1065178 Q1013388
SYSTEM
Daily Lives of High School Boys, Sketchbook, Telepathy Shōjo Ran Jiken Note
Q2564733 Q602721 Q15148562 Q1317227 Q2583218 Q1149942 Q1723828 Q184352 Q7445961 Q487695 Q2349865 Q3211469 Q483557 Q95063 Q2633652 Q483803 Q2791605 Q1314527 Q1107025 Q1107521 Q7480931 Q483724 Q494804 Q483547 Q1141789 Q844599 Q582630 Q1837327 Q24045770 Q199073 Q752495 Q15574647 Q539284 Q425550 Q182476 Q1060695 Q1191236 Q2318266 Q133532 Q482551 Q900553 Q602434 Q1132147 Q1202916 Q1816558 Q1055370 Q486623 Q492884 Q3271710 Q482796 Q1335290 Q488467 Q2030675 Q1135764 Q1834 Q182662 Q7094371 Q2855268 Q3565008 Q498079 Q2539006 Q645307 Q5356268 Q2522289 Q11320196 Q2607852 Q1191938 Q1159317 Q736163 Q3980545 Q698229 Q696524 Q9385099 Q1523630 Q482802 Q642944 Q701372 Q1058984 Q865498 Q2539030 Q1580513 Q488438 Q854973 Q482872 Q484259 Q1143991 Q11255631 Q862850 Q696986 Q5158632 Q1052846 Q483375 Q431930 Q699819 Q170019 Q268512 Q1339165 Q1141838 Q1554117 Q1367069 Q1348627 Q494610 Q5364072 Q596883 Q2390297 Q385129 Q2756199 Q536416 Q987783 Q185012 Q6941258 Q8916464 Q137002 Q10890355 Q5653026 Q11519613 Q717382 Q11179499 Q810437 Q2088696 Q1087664 Q484518 Q11387159 Q482865 Q611650 Q1091743 Q1309696 Q944258 Q484515 Q1188003 Q11332238 Q493744 Q368608 Q709673 Q540497 Q830771 Q868899 Q2482070 Q199224 Q1778816 Q713975 Q116122 Q1013388 Q333687 Q1317129 Q482466 Q1186628 Q724155 Q1141816 Q632746 Q1514362 Q1194085 Q11621483 Q606180 Q2566529 Q708174 Q2626017 Q1073660 Q776574 Q483585 Q4251500 Q7447123 Q275676 Q196214 Q1750516 Q2663915 Q2584248 Q7820714 Q495919 Q143830 Q1350885 Q764135 Q1617849 Q485199 Q614495 Q838203 Q608660 Q703031 Q664845 Q2083163 Q1657773 Q1200040 Q700203 Q1202553 Q593049 Q618974 Q705053 Q11571242 Q308035 Q495450 Q931319 Q11275607 Q2498954 Q540997 Q1743797 Q11147846 Q491841 Q2619218 Q590129 Q2499784 Q485753 Q281062 Q735669 Q1790241 Q1477323 Q1091195 Q794345 Q91802 Q1186554 Q615650 Q2043633 Q2578383 Q1137447 Q1051427 Q4185849 Q2756865 Q2418770 Q3211549 Q2419200 Q527398 Q2634885 Q5680972 Q1742099 Q1257981 Q702014 Q1065178 Q1209267 Q385161 Q582788 Q14318175
(c(Q5398426),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q8916464
relation P725
type Q5398426
The [ANSWERS] had approximately the same number of people as the dubbing artist as Servant x Service
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?h ) WHERE { ?x property:P725 ?s . ?x rdf:type ontology:Q5398426 . ?s rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q8916464 property:P725 ?t . ?t rdf:type ontology:Q5398426 } } . FILTER ( ?h = ?i ) }
Idaten Jump Shugo Chara! Hamatora I Don't Like You at All, Big Brother! Senyu Sket Dance انیمه Kannagi: Crazy Shrine Maidens Ore no Kanojo to Osananajimi ga Shuraba Sugiru Encouragement of Climb Un-Go Hiwou War Chronicles I Couldn’t Become a Hero, So I Reluctantly Decided to Get a Job. Level E Planetes Place to Place Daily Lives of High School Boys Valvrave the Liberator Sumomomo Momomo A Penguin's Troubles Natsuiro Kiseki Yuyushiki MM! Hanasaku Iroha Mitsudomoe Fate/Zero Sayonara Zetsubō Sensei Sgt. Frog Jinrui wa Suitaishimashita Beyblade Tokyo Ravens Asura Cryin' Tesagure! Bukatsu-mono Kaleido Star Steel Angel Kurumi Code:Breaker Ginga e Kickoff!! Infinite Ryvius Oniisama e... Btooom! Kämpfer Yurumates Idolmaster: Xenoglossia Lilpri Working!! Monochrome Factor Mushishi Nekogami Yaoyorozu The "Hentai" Prince and the Stony Cat. Senki Zesshō Symphogear The World God Only Knows Medaka Box Ben-To Witchblade Softenni Death Note The Flowers of Evil Onmyō Taisenki GJ-bu Mushibugyō Pretty Rhythm Blue Seed Di Gi Charat No-Rin I My Me! Strawberry Eggs D-Frag! Sasameki Koto Kyō no Go no Ni Dance in the Vampire Bund Blue Drop Tamagotchi! Kenichi: The Mightiest Disciple MÄR Kyōkai no Kanata Occult Academy IS (Infinite Stratos) Negima! Magister Negi Magi Wedding Peach Kingdom Powerpuff Girls Z Gate Keepers Say 'I love you' Kokoro Connect Yoshinaga-san Chi no Gargoyle Wandering Son Kamisama Hajimemashita Night Wizard! Z/X Reborn! Beelzebub Kagihime Monogatari Eikyū Alice Rondo Last Exile The Sacred Blacksmith Noein El-Hazard D.Gray-man Sacred Seven Hyōka Maid Sama! Guin Saga Hyakka Ryōran Samurai Girls Nabari no Ou Guilty Crown Non Non Biyori Immortal Grand Prix Black Heaven Sankarea Ixion Saga DT First Love Limited Wan Wan Celeb Soreyuke! Tetsunoshin Mondai-Ji-tachi ga Isekai Kara Kuru Sō Desu yo? Mushi-Uta Servant x Service Recorder and Randsell Shining Hearts: Shiawase no Pan Happy Seven Mikakunin de Shinkōkei Madō King Granzort Black Bullet Basquash! Suzuka Chrome Shelled Regios The Legend of the Legendary Heroes Kenzen Robo Daimidaler Dog Days Karneval Double-J Living for the Day After Tomorrow Yumeiro Patissiere Dragon Crisis! Cardfight!! Vanguard Fantasista Doll Anyamaru Tantei Kiruminzuu Campione! Bakusō Kyōdai Let's & Go!! Kenkō Zenrakei Suieibu Umishō Highschool of the Dead Pandora Hearts Miss Machiko Cuticle Detective Inaba Koi Kaze Nintama Rantarō Hayate the Combat Butler Telepathy Shōjo Ran Jiken Note Chō Soku Henkei Gyrozetter Haré+Guu Maria-sama ga Miteru Moshidora Asobi ni iku yo! Fushigiboshi no Futagohime Bakugan Battle Brawlers Princess Resurrection Nura: Rise of the Yokai Clan Arpeggio of Blue Steel Maria Holic Himawari! Mashin Hero Wataru Aesthetica of a Rogue Hero Tamayura Persona : Trinity Soul Denpa Onna to Seishun Otoko Kocchi Muite! Miiko Wanna be the Strongest in the World Digimon Fusion Is This a Zombie? Kamen no Maid Guy Dazzle Akikan! Tona-Gura! Blue Exorcist Detective School Q Queen's Blade Rebellion Gin Tama High School DxD Someday's Dreamers Sekirei Gdgd Fairies Needless Baby and Me Pumpkin Scissors Teekyu Inu x Boku SS Nagasarete Airantou Mirmo! Suite PreCure Minami-ke Umi Monogatari: Anata ga Ite Kureta Koto Otome Yōkai Zakuro Inugami-san to Nekoyama-san XxxHolic Demon King Daimao Manyū Hiken-chō Happy Kappy The Ambition of Oda Nobuna Net Ghost PiPoPa Kissxsis Noragami Kono Naka ni Hitori, Imōto ga Iru! Yozakura Quartet Mobile Suit Victory Gundam Red Garden Mayoi Neko Overrun! The Qwaser of Stigmata Dragon Ball GT Rumic Theater Speed Grapher Chu-Bra!! Beyblade: Metal Fusion Aria And Yet The Town Moves Aoi Hana Majestic Prince Coppelion Emma Goshūshō-sama Ninomiya-kun Gokujyo NG Knight Lamune & 40 Fancy Lala Hakkenden: Eight Dogs of the East Tokimeki Memorial Only Love MegaMan NT Warrior Jewelpet The Devil Is a Part-Timer! Jing: King of Bandits Birdy the Mighty Little Women II: Jo's Boys Sketchbook Kaiketsu Zorori Ōkami-san Saki Riddle Story of Devil
The Daily Lives of High School Boys, Sketchbook and Telepathy Shōjo Ran Jiken Note had approximately the same number of people as the dubbing artist as Servant x Service
Daily Lives of High School Boys Sketchbook Telepathy Shōjo Ran Jiken Note
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Servant x Service
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?h ) WHERE { ?x property:voice_actor ?s . ?x rdf:type ontology:television_series . ?s rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Servant_x_Service property:voice_actor ?t . ?t rdf:type ontology:television_series } } . FILTER ( ?h = ?i ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q483803
P495
Q15617994
USER
What is the country of origin of that television series ?
(Q483803,P495,c(Q15617994))
action filter_type
action find
entity Q483803
relation P495
type Q15617994
['Q483803', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q483803 property:P495 ?d }
Daily Lives of High School Boys
action filter_type
action find
entity Daily Lives of High School Boys
relation country of origin
type designation for an administrative territorial entity
['Daily Lives of High School Boys', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Daily_Lives_of_High_School_Boys property:country_of_origin ?d }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1013388
SYSTEM
Did you mean Telepathy Shōjo Ran Jiken Note ?
Q483803 Q1065178 Q1013388
(Q483803,P495,c(Q15617994)) (Q1065178,P495,c(Q15617994)) (Q1013388,P495,c(Q15617994))
[ANSWER]
['Q483803', 'P495', {'concept': 'Q15617994'}] ['Q1065178', 'P495', {'concept': 'Q15617994'}] ['Q1013388', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q483803 property:P495 ?d }
Daily Lives of High School Boys Sketchbook Telepathy Shōjo Ran Jiken Note
Did you mean Telepathy Shōjo Ran Jiken Note ?
Telepathy Shōjo Ran Jiken Note
['Daily Lives of High School Boys', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Sketchbook', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Telepathy Shōjo Ran Jiken Note', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Daily_Lives_of_High_School_Boys property:country_of_origin ?d }
[]
Simple Question (Coreferenced)
USER
No, I meant Daily Lives of High School Boys. Could you tell me the answer for that?
(Q483803,P495,c(Q15617994))
Q483803
['Q483803', 'P495', {'concept': 'Q15617994'}]
['Daily Lives of High School Boys', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q17
SYSTEM
Japan
Q17
(Q483803,P495,c(Q15617994))
action filter_type
action find
entity Q483803
relation P495
type Q15617994
The country of origin of that television series is from [ANSWER]
['Q483803', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q483803 property:P495 ?d }
Japan
The country of origin of that television series is from Japan
Japan
action filter_type
action find
entity Daily Lives of High School Boys
relation country of origin
type designation for an administrative territorial entity
['Daily Lives of High School Boys', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Daily_Lives_of_High_School_Boys property:country_of_origin ?d }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q17 Q38 Q46173
P530
Q15617994
USER
Does Japan have tactful political relations with Italy and Montebello Vicentino ?
(Q17,P530,Q38) (Q17,P530,Q46173)
action is_in
entity Q17
action intersection
action find_reverse
entity Q38
relation P530
action find_reverse
entity Q46173
relation P530
['Q17', 'P530', 'Q38'] ['Q17', 'P530', 'Q46173']
ASK WHERE { resource:Q17 property:P530 resource:Q38 . resource:Q17 property:P530 resource:Q46173 }
Japan Italy Montebello Vicentino
action is_in
entity Japan
action intersection
action find_reverse
entity Italy
relation diplomatic relation
action find_reverse
entity Montebello Vicentino
relation diplomatic relation
['Japan', 'diplomatic relation', 'Italy'] ['Japan', 'diplomatic relation', 'Montebello Vicentino']
ASK WHERE { resource:Japan property:diplomatic_relation resource:Italy . resource:Japan property:diplomatic_relation resource:Montebello_Vicentino }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q17,P530,Q38) (Q17,P530,Q46173)
action is_in
entity Q17
action intersection
action find_reverse
entity Q38
relation P530
action find_reverse
entity Q46173
relation P530
[ANSWER]
['Q17', 'P530', 'Q38'] ['Q17', 'P530', 'Q46173']
ASK WHERE { resource:Q17 property:P530 resource:Q38 . resource:Q17 property:P530 resource:Q46173 }
YES and NO respectively
action is_in
entity Japan
action intersection
action find_reverse
entity Italy
relation diplomatic relation
action find_reverse
entity Montebello Vicentino
relation diplomatic relation
['Japan', 'diplomatic relation', 'Italy'] ['Japan', 'diplomatic relation', 'Montebello Vicentino']
ASK WHERE { resource:Japan property:diplomatic_relation resource:Italy . resource:Japan property:diplomatic_relation resource:Montebello_Vicentino }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P276
Q3773693
USER
Which kitchen utensil is located at Japan ?
action filter_type
action find_reverse
entity Q17
relation P276
type Q3773693
SELECT DISTINCT ?s WHERE { ?s property:P276 resource:Q17 . ?s rdf:type ontology:Q3773693 }
Japan
action filter_type
action find_reverse
entity Japan
relation location
type kitchen utensil
SELECT DISTINCT ?s WHERE { ?s property:location resource:Japan . ?s rdf:type ontology:kitchen_utensil }
[]
kitchen utensil
Q412764
SYSTEM
Ajikiri
Q412764
action filter_type
action find_reverse
entity Q17
relation P276
type Q3773693
To [ANSWER] is located at Japan
SELECT DISTINCT ?s WHERE { ?s property:P276 resource:Q17 . ?s rdf:type ontology:Q3773693 }
Ajikiri
To Ajikiri is located at Japan
Ajikiri
action filter_type
action find_reverse
entity Japan
relation location
type kitchen utensil
SELECT DISTINCT ?s WHERE { ?s property:location resource:Japan . ?s rdf:type ontology:kitchen_utensil }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q15619164 Q6619679 Q5398426
USER
Which television series have the character atmost 4 abstract beings and fictional humanoids ?
(c(Q5398426),P674,c(Q15619164)|c(Q6619679))
action atmost
action union
action find_tuple_counts
relation P674
type Q5398426
type Q15619164
action find_tuple_counts
relation P674
type Q5398426
type Q6619679
value 4
[{'concept': 'Q5398426'}, 'P674', [{'concept': 'Q15619164'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?v <= 4 ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?l WHERE { { ?l rdf:type ontology:Q5398426 . ?o rdf:type ontology:Q15619164 . ?l property:P674 ?o } UNION { ?l property:P674 ?o . ?l rdf:type ontology:Q5398426 . ?o rdf:type ontology:Q6619679 } } GROUP BY ?l } }
action atmost
action union
action find_tuple_counts
relation characters
type television series
type abstract being
action find_tuple_counts
relation characters
type television series
type fictional humanoid
value 4
[{'concept': 'television series'}, 'characters', [{'concept': 'abstract being'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?v <= 4 ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?l WHERE { { ?l rdf:type ontology:television_series . ?o rdf:type ontology:abstract_being . ?l property:characters ?o } UNION { ?l property:characters ?o . ?l rdf:type ontology:television_series . ?o rdf:type ontology:fictional_humanoid } } GROUP BY ?l } }
[]
abstract being fictional humanoid television series
Q3280971 Q211183 Q1207316
SYSTEM
Love Live!, Tamako Market, Kanamemo
Q876182 Q2989881 Q1617849 Q4838408 Q2534971 Q3280971 Q709673 Q477916 Q239506 Q1768718 Q2989836 Q906811 Q735669 Q1768716 Q907885 Q216439 Q482535 Q5506855 Q6720878 Q699631 Q513589 Q211183 Q647486 Q1207316 Q858384 Q3079169
(c(Q5398426),P674,c(Q15619164)|c(Q6619679))
action atmost
action union
action find_tuple_counts
relation P674
type Q5398426
type Q15619164
action find_tuple_counts
relation P674
type Q5398426
type Q6619679
value 4
[ANSWERS] have the character atmost 4 abstract beings and fictional humanoids
[{'concept': 'Q5398426'}, 'P674', [{'concept': 'Q15619164'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?v <= 4 ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?l WHERE { { ?l rdf:type ontology:Q5398426 . ?o rdf:type ontology:Q15619164 . ?l property:P674 ?o } UNION { ?l property:P674 ?o . ?l rdf:type ontology:Q5398426 . ?o rdf:type ontology:Q6619679 } } GROUP BY ?l } }
Lupin III Marco Polo High School DxD Baby Steps Lalabel Love Live! Bakusō Kyōdai Let's & Go!! Dragon Ball Z Dragon Ball An Unearthly Child The Edge of Destruction Gankutsuou: The Count of Monte Cristo Dragon Ball GT The Daleks Gunslinger Girl Rurouni Kenshin Welcome to the N.H.K. The Ribos Operation F-Zero The Rose of Versailles The Pirate Planet Tamako Market Captain Tsubasa Kanamemo Monster The Time Meddler
Love Live!, Tamako Market and Kanamemo have the character atmost 4 abstract beings and fictional humanoids
Love Live! Tamako Market Kanamemo
action atmost
action union
action find_tuple_counts
relation characters
type television series
type abstract being
action find_tuple_counts
relation characters
type television series
type fictional humanoid
value 4
[{'concept': 'television series'}, 'characters', [{'concept': 'abstract being'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?v <= 4 ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?l WHERE { { ?l rdf:type ontology:television_series . ?o rdf:type ontology:abstract_being . ?l property:characters ?o } UNION { ?l property:characters ?o . ?l rdf:type ontology:television_series . ?o rdf:type ontology:fictional_humanoid } } GROUP BY ?l } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1207316
P136
Q483394
USER
What can be considered as category for that television series ?
(Q1207316,P136,c(Q483394))
action filter_type
action find
entity Q1207316
relation P136
type Q483394
['Q1207316', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q483394 . resource:Q1207316 property:P136 ?d }
Kanamemo
action filter_type
action find
entity Kanamemo
relation genre
type genre
['Kanamemo', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:genre . resource:Kanamemo property:genre ?d }
[]
genre
Clarification for simple ques.
Q211183
SYSTEM
Did you mean Tamako Market ?
Q3280971 Q211183 Q1207316
(Q3280971,P136,c(Q483394)) (Q211183,P136,c(Q483394)) (Q1207316,P136,c(Q483394))
[ANSWER]
['Q3280971', 'P136', {'concept': 'Q483394'}] ['Q211183', 'P136', {'concept': 'Q483394'}] ['Q1207316', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q483394 . resource:Q1207316 property:P136 ?d }
Love Live! Tamako Market Kanamemo
Did you mean Tamako Market ?
Tamako Market
['Love Live!', 'genre', {'concept': 'genre'}] ['Tamako Market', 'genre', {'concept': 'genre'}] ['Kanamemo', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:genre . resource:Kanamemo property:genre ?d }
[]
Simple Question (Coreferenced)
USER
No, I meant Kanamemo. Could you tell me the answer for that?
(Q1207316,P136,c(Q483394))
Q1207316
['Q1207316', 'P136', {'concept': 'Q483394'}]
['Kanamemo', 'genre', {'concept': 'genre'}]
[]
Q15286013
SYSTEM
comedy manga and animation
Q15286013
(Q1207316,P136,c(Q483394))
action filter_type
action find
entity Q1207316
relation P136
type Q483394
[ANSWER] can be considered as category for that television series
['Q1207316', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q483394 . resource:Q1207316 property:P136 ?d }
comedy manga and animation
Comedy manga and animation can be considered as category for that television series
comedy manga and animation
action filter_type
action find
entity Kanamemo
relation genre
type genre
['Kanamemo', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:genre . resource:Kanamemo property:genre ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3280971
P361
Q2031291
USER
Which releases are a component of Love Live! ?
(c(Q2031291),P361,Q3280971)
action filter_type
action find_reverse
entity Q3280971
relation P361
type Q2031291
[{'concept': 'Q2031291'}, 'P361', 'Q3280971']
SELECT DISTINCT ?x WHERE { ?x property:P361 resource:Q3280971 . ?x rdf:type ontology:Q2031291 }
Love Live!
action filter_type
action find_reverse
entity Love Live!
relation part of
type release
[{'concept': 'release'}, 'part of', 'Love Live!']
SELECT DISTINCT ?x WHERE { ?x property:part_of resource:Love_Live! . ?x rdf:type ontology:release }
[]
release
Q16746740 Q16746753 Q17209003
SYSTEM
Korekara no Someday/Wonder Zone, Wonderful Rush, Yume no Tobira
Q17990432 Q18226857 Q16746750 Q16746753 Q16746752 Q16746740 Q16746739 Q17212724 Q16746748 Q16746744 Q16746745 Q16746749 Q17209003 Q16746746 Q16746741 Q16746747 Q16746743 Q16746742
(c(Q2031291),P361,Q3280971)
action filter_type
action find_reverse
entity Q3280971
relation P361
type Q2031291
[ANSWERS] are a component of Love Live!
[{'concept': 'Q2031291'}, 'P361', 'Q3280971']
SELECT DISTINCT ?x WHERE { ?x property:P361 resource:Q3280971 . ?x rdf:type ontology:Q2031291 }
KiRa-KiRa Sensation!/Happy maker Shangri-La Shower Music S.T.A.R.T!! Wonderful Rush Mogyutto "Love" de Sekkinchū! Korekara no Someday/Wonder Zone Kitto Seishun ga Kikoeru Love wing bell/Dancing stars on me! Bokura no Live Kimi to No Life Takaramonozu/Paradise Live Donna Toki mo Zutto Bokura wa Ima no Naka de Yume no Tobira Natsuiro Egao de 1, 2, Jump! Susume Tomorrow/START:DASH!! No brand girls/START:DASH!! Sore wa Bokutachi no Kisetsu Snow Halation
Korekara no Someday/Wonder Zone, Wonderful Rush and Yume no Tobira are a component of Love Live!
Korekara no Someday/Wonder Zone Wonderful Rush Yume no Tobira
action filter_type
action find_reverse
entity Love Live!
relation part of
type release
[{'concept': 'release'}, 'part of', 'Love Live!']
SELECT DISTINCT ?x WHERE { ?x property:part_of resource:Love_Live! . ?x rdf:type ontology:release }
[]