Simple Question (Direct)
Simple Question
Q15968160
P39
Q12737077
USER
Which occupations were the positions occupied by Claude Pierre Bouvier ?
(Q15968160,P39,c(Q12737077))
action filter_type
action find
entity Q15968160
relation P39
type Q12737077
['Q15968160', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q15968160 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
Claude Pierre Bouvier
action filter_type
action find
entity Claude Pierre Bouvier
relation position held
type occupation
['Claude Pierre Bouvier', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Claude_Pierre_Bouvier property:position_held ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q382617 Q3044918
SYSTEM
maire, member of the French National Assembly
Q382617 Q3044918
(Q15968160,P39,c(Q12737077))
action filter_type
action find
entity Q15968160
relation P39
type Q12737077
[ANSWERS]
['Q15968160', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q15968160 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
maire member of the French National Assembly
The maire and member of the French National Assembly were the positions occupied by Claude Pierre Bouvier
maire member of the French National Assembly
action filter_type
action find
entity Claude Pierre Bouvier
relation position held
type occupation
['Claude Pierre Bouvier', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Claude_Pierre_Bouvier property:position_held ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15968160
P734
Q82799
USER
Which name is associated with Claude Pierre Bouvier ?
(Q15968160,P734,c(Q82799))
action filter_type
action find
entity Q15968160
relation P734
type Q82799
['Q15968160', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q15968160 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Claude Pierre Bouvier
action filter_type
action find
entity Claude Pierre Bouvier
relation family name
type name
['Claude Pierre Bouvier', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Claude_Pierre_Bouvier property:family_name ?e . ?e rdf:type ontology:name }
[]
name
Q23599481
SYSTEM
Bouvier
Q23599481
(Q15968160,P734,c(Q82799))
action filter_type
action find
entity Q15968160
relation P734
type Q82799
[ANSWER] is associated with Claude Pierre [ANSWER]
['Q15968160', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q15968160 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Bouvier
Bouvier is associated with Claude Pierre Bouvier
Bouvier
action filter_type
action find
entity Claude Pierre Bouvier
relation family name
type name
['Claude Pierre Bouvier', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Claude_Pierre_Bouvier property:family_name ?e . ?e rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q23599481
P27 P734
Q502895
USER
Which people have Bouvier as their family name and are a native of France ?
AND((c(Q502895),P734,Q23599481), (c(Q502895),P27,Q142))
action filter_type
action intersection
action find_reverse
entity Q23599481
relation P734
action find_reverse
entity Q142
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q23599481'], [{'concept': 'Q502895'}, 'P27', 'Q142']]}
SELECT DISTINCT ?h WHERE { ?h property:P734 resource:Q23599481 . ?h property:P27 resource:Q142 . ?h rdf:type ontology:Q502895 }
France Bouvier
action filter_type
action intersection
action find_reverse
entity Bouvier
relation family name
action find_reverse
entity France
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Bouvier'], [{'concept': 'common name'}, 'country of citizenship', 'France']]}
SELECT DISTINCT ?h WHERE { ?h property:family_name resource:Bouvier . ?h property:country_of_citizenship resource:France . ?h rdf:type ontology:common_name }
[]
common name
Q3157777 Q3184648 Q12788180 Q15973167 Q17640491 Q3187486 Q15969452 Q3170955 Q3270771 Q2830753
SYSTEM
Some of them are Jacqueline Pagnol, Joseph Bouvier, Edmond-Jean Bouvier, Alain Bouvier, Vincent Bouvier, Joëlle Bouvier, François Bouvier d'Yvoire, Jean Bouvier, Léon Bouvier, Alban Bouvier
Q3579169 Q17175189 Q235098 Q23926055 Q15973937 Q15973167 Q527682 Q3169058 Q12788180 Q20028473 Q3371046 Q3184649 Q3184648 Q3591009 Q3420699 Q20851224 Q2384045 Q3170956 Q3170954 Q3170955 Q2853732 Q3057515 Q21334279 Q462643 Q15968160 Q2853733 Q679878 Q21334337 Q15971026 Q3184646 Q17640491 Q3187486 Q15973918 Q3109710 Q15969452 Q3169060 Q5964244 Q3290820 Q19689313 Q3157777 Q2830753 Q3610874 Q23575382 Q3163779 Q3309095 Q3270771 Q3190829 Q3167586 Q526527 Q18610971
AND((c(Q502895),P734,Q23599481), (c(Q502895),P27,Q142))
action filter_type
action intersection
action find_reverse
entity Q23599481
relation P734
action find_reverse
entity Q142
relation P27
type Q502895
[ANSWERS] have Bouvier as their family name and are a native of France
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q23599481'], [{'concept': 'Q502895'}, 'P27', 'Q142']]}
SELECT DISTINCT ?h WHERE { ?h property:P734 resource:Q23599481 . ?h property:P27 resource:Q142 . ?h rdf:type ontology:Q502895 }
Édith Bouvier Xavier Bouvier Jeanne Guyon Jean-Christophe Bouvier Jérôme Bouvier Alain Bouvier Stéphanie Bouvier Jean-Pierre Bouvier Edmond-Jean Bouvier André Bouvier Paul Derenne Joseph Bouvier des Éclaz Joseph Bouvier Éric Bouvier Raymond Bouvier Henri Bouvier Pierre Bouvier Jean Bouvier Jean Bouvier Jean Bouvier Antoine Bouvier Erwan Bouvier Hercule Annet Christon Bouvier De Cachard Nathalie Bouvier Claude Pierre Bouvier Antoine Bouvier Jean-Baptiste Bouvier Jean-Claude Bouvier Jérôme Bouvier Joseph Bouvier Vincent Bouvier Joëlle Bouvier Gustave Bouvier Godefroy Bouvier François Bouvier d'Yvoire Jean-Pierre Bouvier Hélène Bouvier Marguette Bouvier Alphonse Bouvier Jacqueline Pagnol Alban Bouvier Alexis Bouvier Jeanne Bouvier Jean-Baptiste-Joseph Bouvier Michel Bouvier Léon Bouvier Jérôme Bouvier Jean-Marie Bouvier O'Cottereau Eugène Louis Bouvier Charles Roger Galmiche-Bouvier
Jacqueline Pagnol, Joseph Bouvier, Edmond-Jean Bouvier, Alain Bouvier, Vincent Bouvier, Joëlle Bouvier, François Bouvier d'Yvoire, Jean Bouvier, Léon Bouvier and Alban Bouvier have Bouvier as their family name and are a native of France
Jacqueline Pagnol Joseph Bouvier Edmond-Jean Bouvier Alain Bouvier Vincent Bouvier Joëlle Bouvier François Bouvier d'Yvoire Jean Bouvier Léon Bouvier Alban Bouvier
action filter_type
action intersection
action find_reverse
entity Bouvier
relation family name
action find_reverse
entity France
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Bouvier'], [{'concept': 'common name'}, 'country of citizenship', 'France']]}
SELECT DISTINCT ?h WHERE { ?h property:family_name resource:Bouvier . ?h property:country_of_citizenship resource:France . ?h rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q698229
P725
Q502895 Q5398426
USER
Which television series did greater number of people do the dubbing for than Kenichi: The Mightiest Disciple ?
(c(Q5398426),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q698229
relation P725
type Q5398426
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?x ) WHERE { ?f property:P725 ?i . ?f rdf:type ontology:Q5398426 . ?i rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Q698229 property:P725 ?d . ?d rdf:type ontology:Q5398426 } } . FILTER ( ?x > ?a ) }
Kenichi: The Mightiest Disciple
action greater
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Kenichi: The Mightiest Disciple
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?x ) WHERE { ?f property:voice_actor ?i . ?f rdf:type ontology:television_series . ?i rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Kenichi:_The_Mightiest_Disciple property:voice_actor ?d . ?d rdf:type ontology:television_series } } . FILTER ( ?x > ?a ) }
[]
common name television series
Q881797 Q662 Q386361
SYSTEM
YuruYuri, Neon Genesis Evangelion, Devil May Cry: The Animated Series
Q602721 Q1149942 Q487695 Q662 Q7480931 Q494804 Q483547 Q199073 Q752495 Q133532 Q602434 Q1202916 Q486623 Q881797 Q211183 Q482796 Q1335290 Q488467 Q1135764 Q3565008 Q498079 Q386361 Q11320196 Q2607852 Q483535 Q3980545 Q3280971 Q482802 Q696986 Q1052846 Q1339165 Q921440 Q1367069 Q494610 Q5364072 Q8916464 Q484518 Q482865 Q11332238 Q116122 Q724155 Q11621483 Q15392994 Q606180 Q2626017 Q483585 Q7447123 Q1350885 Q1617849 Q838203 Q664845 Q1657773 Q618974 Q495450 Q11275607 Q2498954 Q2619218 Q281062 Q794345 Q615650 Q4185849 Q2756865 Q582788
(c(Q5398426),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q698229
relation P725
type Q5398426
[ANSWERS] greater number of people did the dubbing for than Kenichi: The Mightiest Disciple
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?x ) WHERE { ?f property:P725 ?i . ?f rdf:type ontology:Q5398426 . ?i rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Q698229 property:P725 ?d . ?d rdf:type ontology:Q5398426 } } . FILTER ( ?x > ?a ) }
Shugo Chara! Sket Dance انیمه Un-Go Neon Genesis Evangelion Yuyushiki Hanasaku Iroha Mitsudomoe Tokyo Ravens Asura Cryin' Btooom! Idolmaster: Xenoglossia Working!! Nekogami Yaoyorozu YuruYuri Tamako Market The World God Only Knows Medaka Box Ben-To Softenni Mushibugyō Pretty Rhythm Devil May Cry: The Animated Series D-Frag! Sasameki Koto Ore no Imōto ga Konna ni Kawaii Wake ga Nai Tamagotchi! Love Live! IS (Infinite Stratos) Beelzebub Last Exile Hyōka Seitokai Yakuindomo Hyakka Ryōran Samurai Girls Guilty Crown Non Non Biyori Servant x Service The Legend of the Legendary Heroes Dog Days Fantasista Doll Hayate the Combat Butler Asobi ni iku yo! Arpeggio of Blue Steel Prison School Maria Holic Aesthetica of a Rogue Hero Denpa Onna to Seishun Otoko Wanna be the Strongest in the World Queen's Blade Rebellion High School DxD Gdgd Fairies Pumpkin Scissors Inu x Boku SS Umi Monogatari: Anata ga Ite Kureta Koto Demon King Daimao Happy Kappy The Ambition of Oda Nobuna Yozakura Quartet The Qwaser of Stigmata Beyblade: Metal Fusion Aoi Hana Gokujyo NG Knight Lamune & 40 Saki
YuruYuri, Neon Genesis Evangelion and Devil May Cry: The Animated Series greater number of people did the dubbing for than Kenichi: The Mightiest Disciple
YuruYuri Neon Genesis Evangelion Devil May Cry: The Animated Series
action greater
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Kenichi: The Mightiest Disciple
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?x ) WHERE { ?f property:voice_actor ?i . ?f rdf:type ontology:television_series . ?i rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Kenichi:_The_Mightiest_Disciple property:voice_actor ?d . ?d rdf:type ontology:television_series } } . FILTER ( ?x > ?a ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P144
Q5398426 Q15850590
USER
Which television series are around the same number of theatrical genres a fork of as that television series ?
(c(Q15850590),P144,c(Q5398426))
[{'concept': 'Q15850590'}, 'P144', {'concept': 'Q5398426'}]
SELECT DISTINCT ?y WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q15850590 . ?y rdf:type ontology:Q5398426 }
[{'concept': 'theatrical genre'}, 'based on', {'concept': 'television series'}]
SELECT DISTINCT ?y WHERE { ?z property:based_on ?y . ?z rdf:type ontology:theatrical_genre . ?y rdf:type ontology:television_series }
[]
television series theatrical genre
Comparative|More/Less|Single entity type|Clarification
Q662
SYSTEM
Did you mean Neon Genesis Evangelion ?
(c(Q15850590),P144,c(Q5398426))
[ANSWER]
[{'concept': 'Q15850590'}, 'P144', {'concept': 'Q5398426'}]
SELECT DISTINCT ?y WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q15850590 . ?y rdf:type ontology:Q5398426 }
Did you mean Neon Genesis Evangelion ?
Neon Genesis Evangelion
[{'concept': 'theatrical genre'}, 'based on', {'concept': 'television series'}]
SELECT DISTINCT ?y WHERE { ?z property:based_on ?y . ?z rdf:type ontology:theatrical_genre . ?y rdf:type ontology:television_series }
[]
Comparative Reasoning (All)
USER
No, I meant YuruYuri. Could you tell me the answer for that?
(c(Q15850590),P144,c(Q5398426))
Q881797
[{'concept': 'Q15850590'}, 'P144', {'concept': 'Q5398426'}]
[{'concept': 'theatrical genre'}, 'based on', {'concept': 'television series'}]
[]
Q11443124 Q881797 Q662
SYSTEM
The Emperor's Cook, YuruYuri, Neon Genesis Evangelion
Q393501 Q922832 Q6132702 Q49182 Q2270884 Q11443124 Q696071 Q746240 Q1057617 Q733498 Q11179499 Q764135 Q235311 Q5680972 Q11679182 Q662 Q841416 Q696302 Q169410 Q182443 Q1022062 Q432319 Q568361 Q182469 Q18796 Q714078 Q485480 Q701050 Q1040028 Q702373 Q876182 Q1040535 Q11267313 Q907885 Q423658 Q904 Q546916 Q18667547 Q1197291 Q652892 Q116122 Q1070567 Q1218397 Q1321785 Q1307433 Q195721 Q649846 Q4292 Q15262454 Q11340148 Q216439 Q1077402 Q651753 Q1186628 Q696006 Q531298 Q491823 Q6720878 Q714064 Q608756 Q881797 Q1834 Q16062412 Q721121 Q275956 Q1207316 Q2020 Q5364072 Q1768716 Q302647 Q483535 Q11386529
(c(Q15850590),P144,c(Q5398426))
[ANSWERS] are around the same number of theatrical genres a fork of as that television series
[{'concept': 'Q15850590'}, 'P144', {'concept': 'Q5398426'}]
SELECT DISTINCT ?y WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q15850590 . ?y rdf:type ontology:Q5398426 }
Captain Harlock The Dalek Invasion of Earth Soul Eater Not! Sakura Card Captor Tsurikichi Sanpei The Emperor's Cook Hunter × Hunter Battlestar Galactica Gantz Fist of the North Star Black Bullet Gin Tama Doraemon The Devil Is a Part-Timer! Nanana's Buried Treasure Neon Genesis Evangelion Shiroi Kyotō Black Butler Shiritsu Bakaleya Koukou Blood Lad 81diver Speed Racer X Anpanman Chihayafuru Fairy Tail Boys Over Flowers Antique Bakery Chibi Maruko-chan The Singing Detective The Super Dimension Fortress Macross Lupin III Unfair Is the Order a Rabbit? Gunslinger Girl Nana Bleach Honey and Clover Eyewitness Kindaichi Case Files H2 Hayate the Combat Butler Bunny Drop The Mysterious Cities of Gold Phoenix Iron Chef Slayers Sora no Manimani Space Battleship Yamato Sangokushi The Marshmallow Times Rurouni Kenshin Cutie Honey Paradise Kiss Moshidora Tsubasa: Reservoir Chronicle Zatch Bell! Oniichan dakedo Ai sae Areba Kankeinai yo ne! F-Zero City Hunter Bloody Monday YuruYuri Death Note Glasslip Ai Shite Knight Saint Seiya Kanamemo Dragon Ball Non Non Biyori The Daleks Love, Chunibyo & Other Delusions Ore no Imōto ga Konna ni Kawaii Wake ga Nai My Love Story!!
The Emperor's Cook, YuruYuri and Neon Genesis Evangelion are around the same number of theatrical genres a fork of as that television series
The Emperor's Cook YuruYuri Neon Genesis Evangelion
[{'concept': 'theatrical genre'}, 'based on', {'concept': 'television series'}]
SELECT DISTINCT ?y WHERE { ?z property:based_on ?y . ?z rdf:type ontology:theatrical_genre . ?y rdf:type ontology:television_series }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q698229
P800 P21
Q502895
USER
Which people are author of Kenichi: The Mightiest Disciple and have the gender as male ?
AND((c(Q502895),P800,Q698229), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q698229
relation P800
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q698229'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i property:P800 resource:Q698229 . ?i property:P21 resource:Q6581097 . ?i rdf:type ontology:Q502895 }
male Kenichi: The Mightiest Disciple
action filter_type
action intersection
action find_reverse
entity Kenichi: The Mightiest Disciple
relation notable work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'Kenichi: The Mightiest Disciple'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i property:notable_work resource:Kenichi:_The_Mightiest_Disciple . ?i property:gender resource:male . ?i rdf:type ontology:common_name }
[]
common name
Q3509589
SYSTEM
Shun Matsuena
Q3509589
AND((c(Q502895),P800,Q698229), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q698229
relation P800
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is author of Kenichi: The Mightiest Disciple and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q698229'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i property:P800 resource:Q698229 . ?i property:P21 resource:Q6581097 . ?i rdf:type ontology:Q502895 }
Shun Matsuena
Shun Matsuena is author of Kenichi: The Mightiest Disciple and have the gender as male
Shun Matsuena
action filter_type
action intersection
action find_reverse
entity Kenichi: The Mightiest Disciple
relation notable work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'Kenichi: The Mightiest Disciple'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i property:notable_work resource:Kenichi:_The_Mightiest_Disciple . ?i property:gender resource:male . ?i rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5564713 Q698229
P50
Q502895
USER
Which people authored Kenichi: The Mightiest Disciple or Girls under Pressure ?
OR((Q698229,P50,c(Q502895)), (Q5564713,P50,c(Q502895)))
action filter_type
action union
action find
entity Q698229
relation P50
action find
entity Q5564713
relation P50
type Q502895
{'OR': [['Q698229', 'P50', {'concept': 'Q502895'}], ['Q5564713', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q698229 property:P50 ?e } UNION { resource:Q5564713 property:P50 ?e } } . ?e rdf:type ontology:Q502895 }
Girls under Pressure Kenichi: The Mightiest Disciple
action filter_type
action union
action find
entity Kenichi: The Mightiest Disciple
relation author
action find
entity Girls under Pressure
relation author
type common name
{'OR': [['Kenichi: The Mightiest Disciple', 'author', {'concept': 'common name'}], ['Girls under Pressure', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Kenichi:_The_Mightiest_Disciple property:author ?e } UNION { resource:Girls_under_Pressure property:author ?e } } . ?e rdf:type ontology:common_name }
[]
common name
Q3509589 Q240647
SYSTEM
Shun Matsuena, Jacqueline Wilson
Q3509589 Q240647
OR((Q698229,P50,c(Q502895)), (Q5564713,P50,c(Q502895)))
action filter_type
action union
action find
entity Q698229
relation P50
action find
entity Q5564713
relation P50
type Q502895
[ANSWERS] authored Kenichi: The Mightiest Disciple or Girls under Pressure
{'OR': [['Q698229', 'P50', {'concept': 'Q502895'}], ['Q5564713', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q698229 property:P50 ?e } UNION { resource:Q5564713 property:P50 ?e } } . ?e rdf:type ontology:Q502895 }
Shun Matsuena Jacqueline Wilson
Shun Matsuena and Jacqueline Wilson authored Kenichi: The Mightiest Disciple or Girls under Pressure
Shun Matsuena Jacqueline Wilson
action filter_type
action union
action find
entity Kenichi: The Mightiest Disciple
relation author
action find
entity Girls under Pressure
relation author
type common name
{'OR': [['Kenichi: The Mightiest Disciple', 'author', {'concept': 'common name'}], ['Girls under Pressure', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Kenichi:_The_Mightiest_Disciple property:author ?e } UNION { resource:Girls_under_Pressure property:author ?e } } . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q6619679 Q15619164 Q5398426
USER
Which television series are exactly 5 fictional humanoids or abstract beings a character of ?
(c(Q5398426),P674,c(Q6619679)|c(Q15619164))
action equal
action union
action find_tuple_counts
relation P674
type Q5398426
type Q6619679
action find_tuple_counts
relation P674
type Q5398426
type Q15619164
value 5
[{'concept': 'Q5398426'}, 'P674', [{'concept': 'Q6619679'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?l WHERE { { ?l property:P674 ?r . ?l rdf:type ontology:Q5398426 . ?r rdf:type ontology:Q6619679 } UNION { ?l property:P674 ?r . ?l rdf:type ontology:Q5398426 . ?r rdf:type ontology:Q15619164 } } GROUP BY ?l } . FILTER ( ?d = 5 ) }
action equal
action union
action find_tuple_counts
relation characters
type television series
type fictional humanoid
action find_tuple_counts
relation characters
type television series
type abstract being
value 5
[{'concept': 'television series'}, 'characters', [{'concept': 'fictional humanoid'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?l WHERE { { ?l property:characters ?r . ?l rdf:type ontology:television_series . ?r rdf:type ontology:fictional_humanoid } UNION { ?l property:characters ?r . ?l rdf:type ontology:television_series . ?r rdf:type ontology:abstract_being } } GROUP BY ?l } . FILTER ( ?d = 5 ) }
[]
fictional humanoid abstract being television series
Q702497 Q483535 Q5364072
SYSTEM
Major, Ore no Imōto ga Konna ni Kawaii Wake ga Nai, Non Non Biyori
Q702497 Q483535 Q5364072
(c(Q5398426),P674,c(Q6619679)|c(Q15619164))
action equal
action union
action find_tuple_counts
relation P674
type Q5398426
type Q6619679
action find_tuple_counts
relation P674
type Q5398426
type Q15619164
value 5
[ANSWERS]
[{'concept': 'Q5398426'}, 'P674', [{'concept': 'Q6619679'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?l WHERE { { ?l property:P674 ?r . ?l rdf:type ontology:Q5398426 . ?r rdf:type ontology:Q6619679 } UNION { ?l property:P674 ?r . ?l rdf:type ontology:Q5398426 . ?r rdf:type ontology:Q15619164 } } GROUP BY ?l } . FILTER ( ?d = 5 ) }
Major Ore no Imōto ga Konna ni Kawaii Wake ga Nai Non Non Biyori
Major, Ore no Imōto ga Konna ni Kawaii Wake ga Nai and Non Biyori are exactly 5 fictional humanoids or abstract beings a character of
Major Ore no Imōto ga Konna ni Kawaii Wake ga Nai Non Non Biyori
action equal
action union
action find_tuple_counts
relation characters
type television series
type fictional humanoid
action find_tuple_counts
relation characters
type television series
type abstract being
value 5
[{'concept': 'television series'}, 'characters', [{'concept': 'fictional humanoid'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?l WHERE { { ?l property:characters ?r . ?l rdf:type ontology:television_series . ?r rdf:type ontology:fictional_humanoid } UNION { ?l property:characters ?r . ?l rdf:type ontology:television_series . ?r rdf:type ontology:abstract_being } } GROUP BY ?l } . FILTER ( ?d = 5 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q82799 Q838948 Q340169
USER
Which names are demonstrated in max number of works of art and medias ?
(c(Q838948)|c(Q340169),P180,c(Q82799))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?v ) WHERE { { ?q property:P180 ?z . ?z rdf:type ontology:Q82799 . ?q rdf:type ontology:Q838948 } UNION { ?q property:P180 ?z . ?q rdf:type ontology:Q340169 . ?z rdf:type ontology:Q82799 } } GROUP BY ?z } . FILTER ( ?v = ?g ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?g ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?x ) WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } } GROUP BY ?e } } }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?v ) WHERE { { ?q property:depicts ?z . ?z rdf:type ontology:name . ?q rdf:type ontology:work_of_art } UNION { ?q property:depicts ?z . ?q rdf:type ontology:media . ?z rdf:type ontology:name } } GROUP BY ?z } . FILTER ( ?v = ?g ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?g ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?x ) WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:media ) } } GROUP BY ?e } } }
[]
name work of art media
Q726
SYSTEM
horse
Q726
(c(Q838948)|c(Q340169),P180,c(Q82799))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
[ANSWER] is demonstrated in max number of works of art and medias
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?v ) WHERE { { ?q property:P180 ?z . ?z rdf:type ontology:Q82799 . ?q rdf:type ontology:Q838948 } UNION { ?q property:P180 ?z . ?q rdf:type ontology:Q340169 . ?z rdf:type ontology:Q82799 } } GROUP BY ?z } . FILTER ( ?v = ?g ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?g ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?x ) WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } } GROUP BY ?e } } }
horse
Horse is demonstrated in max number of works of art and medias
horse
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?v ) WHERE { { ?q property:depicts ?z . ?z rdf:type ontology:name . ?q rdf:type ontology:work_of_art } UNION { ?q property:depicts ?z . ?q rdf:type ontology:media . ?z rdf:type ontology:name } } GROUP BY ?z } . FILTER ( ?v = ?g ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?g ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?x ) WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:media ) } } GROUP BY ?e } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2959475 Q240647
P1411 P166
Q618779
USER
Which awards were Jacqueline Wilson nominated for or were Charles Joseph Buquet awarded with ?
OR((Q240647,P1411,c(Q618779)), (Q2959475,P166,c(Q618779)))
action filter_type
action union
action find
entity Q240647
relation P1411
action find
entity Q2959475
relation P166
type Q618779
{'OR': [['Q240647', 'P1411', {'concept': 'Q618779'}], ['Q2959475', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q240647 property:P1411 ?b } UNION { resource:Q2959475 property:P166 ?b } } . ?b rdf:type ontology:Q618779 }
Charles Joseph Buquet Jacqueline Wilson
action filter_type
action union
action find
entity Jacqueline Wilson
relation nominated for
action find
entity Charles Joseph Buquet
relation award received
type award
{'OR': [['Jacqueline Wilson', 'nominated for', {'concept': 'award'}], ['Charles Joseph Buquet', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Jacqueline_Wilson property:nominated_for ?b } UNION { resource:Charles_Joseph_Buquet property:award_received ?b } } . ?b rdf:type ontology:award }
[]
award
Q430035 Q11593374 Q1043985 Q971363
SYSTEM
Astrid Lindgren Memorial Award, Knight of the Royal and Military Order of Saint Louis, Carnegie Medal, Guardian Children's Fiction Prize
Q430035 Q11593374 Q1043985 Q971363
OR((Q240647,P1411,c(Q618779)), (Q2959475,P166,c(Q618779)))
action filter_type
action union
action find
entity Q240647
relation P1411
action find
entity Q2959475
relation P166
type Q618779
Jacqueline Wilson were nominated awarded [ANSWERS]
{'OR': [['Q240647', 'P1411', {'concept': 'Q618779'}], ['Q2959475', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q240647 property:P1411 ?b } UNION { resource:Q2959475 property:P166 ?b } } . ?b rdf:type ontology:Q618779 }
Astrid Lindgren Memorial Award Knight of the Royal and Military Order of Saint Louis Carnegie Medal Guardian Children's Fiction Prize
Jacqueline Wilson were nominated awarded Astrid Lindgren Memorial Award, Knight of the Royal and Military Order of Saint Louis, Carnegie Medal and Guardian Children's Fiction Prize
Astrid Lindgren Memorial Award Knight of the Royal and Military Order of Saint Louis Carnegie Medal Guardian Children's Fiction Prize
action filter_type
action union
action find
entity Jacqueline Wilson
relation nominated for
action find
entity Charles Joseph Buquet
relation award received
type award
{'OR': [['Jacqueline Wilson', 'nominated for', {'concept': 'award'}], ['Charles Joseph Buquet', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Jacqueline_Wilson property:nominated_for ?b } UNION { resource:Charles_Joseph_Buquet property:award_received ?b } } . ?b rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q430035
P1411 P21
Q502895
USER
Which people were nominated for Astrid Lindgren Memorial Award and are a male ?
AND((c(Q502895),P1411,Q430035), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q430035
relation P1411
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1411', 'Q430035'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?x WHERE { ?x property:P1411 resource:Q430035 . ?x property:P21 resource:Q6581097 . ?x rdf:type ontology:Q502895 }
male Astrid Lindgren Memorial Award
action filter_type
action intersection
action find_reverse
entity Astrid Lindgren Memorial Award
relation nominated for
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'nominated for', 'Astrid Lindgren Memorial Award'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?x WHERE { ?x property:nominated_for resource:Astrid_Lindgren_Memorial_Award . ?x property:gender resource:male . ?x rdf:type ontology:common_name }
[]
common name
Q1760291 Q210059 Q190220 Q2658909 Q1347607 Q1044113 Q6830363 Q453980 Q628346 Q1387224
SYSTEM
Some of them are Leon Garfield, Neil Gaiman, Philip Pullman, Greg Mortenson, Ivan Southall, Imants Ziedonis, Michael Foreman, Quentin Blake, Dick Bruna, Michael Morpurgo
Q6830363 Q2658909 Q1044113 Q1347607 Q1760291 Q210059 Q312570 Q403877 Q1929063 Q190220 Q1387224 Q705074 Q628346 Q706856 Q453980
AND((c(Q502895),P1411,Q430035), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q430035
relation P1411
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were nominated for Astrid Lindgren Memorial Award and are a male
{'AND': [[{'concept': 'Q502895'}, 'P1411', 'Q430035'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?x WHERE { ?x property:P1411 resource:Q430035 . ?x property:P21 resource:Q6581097 . ?x rdf:type ontology:Q502895 }
Michael Foreman Greg Mortenson Imants Ziedonis Ivan Southall Leon Garfield Neil Gaiman LeVar Burton Aidan Chambers Michael Rosen Philip Pullman Michael Morpurgo Peter Dickinson Dick Bruna David Almond Quentin Blake
Leon Garfield, Neil Gaiman, Philip Pullman, Greg Mortenson, Ivan Southall, Imants Ziedonis, Michael Foreman, Quentin Blake, Dick Bruna and Michael Morpurgo were nominated for Astrid Lindgren Memorial Award and are a male
Leon Garfield Neil Gaiman Philip Pullman Greg Mortenson Ivan Southall Imants Ziedonis Michael Foreman Quentin Blake Dick Bruna Michael Morpurgo
action filter_type
action intersection
action find_reverse
entity Astrid Lindgren Memorial Award
relation nominated for
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'nominated for', 'Astrid Lindgren Memorial Award'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?x WHERE { ?x property:nominated_for resource:Astrid_Lindgren_Memorial_Award . ?x property:gender resource:male . ?x rdf:type ontology:common_name }
[]