Simple Question (Direct)
Simple Question
Q385418
P21
Q290
USER
Which sex does Ian Tattersall possess ?
(Q385418,P21,c(Q290))
action filter_type
action find
entity Q385418
relation P21
type Q290
['Q385418', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q385418 property:P21 ?k . ?k rdf:type ontology:Q290 }
Ian Tattersall
action filter_type
action find
entity Ian Tattersall
relation gender
type sex
['Ian Tattersall', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Ian_Tattersall property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q385418,P21,c(Q290))
action filter_type
action find
entity Q385418
relation P21
type Q290
Ian Tattersall possesses [ANSWER]
['Q385418', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q385418 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
Ian Tattersall possesses male
male
action filter_type
action find
entity Ian Tattersall
relation gender
type sex
['Ian Tattersall', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Ian_Tattersall property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q385418
P69
Q163740
USER
Which nonprofit organization is the alma mater of Ian Tattersall ?
(Q385418,P69,c(Q163740))
action filter_type
action find
entity Q385418
relation P69
type Q163740
['Q385418', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?x WHERE { resource:Q385418 property:P69 ?x . ?x rdf:type ontology:Q163740 }
Ian Tattersall
action filter_type
action find
entity Ian Tattersall
relation educated at
type nonprofit organization
['Ian Tattersall', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?x WHERE { resource:Ian_Tattersall property:educated_at ?x . ?x rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49112
SYSTEM
Yale University
Q49112
(Q385418,P69,c(Q163740))
action filter_type
action find
entity Q385418
relation P69
type Q163740
[ANSWER] is the alma mater of Ian Tattersall
['Q385418', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?x WHERE { resource:Q385418 property:P69 ?x . ?x rdf:type ontology:Q163740 }
Yale University
Yale University is the alma mater of Ian Tattersall
Yale University
action filter_type
action find
entity Ian Tattersall
relation educated at
type nonprofit organization
['Ian Tattersall', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?x WHERE { resource:Ian_Tattersall property:educated_at ?x . ?x rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49112
P485
Q502895
USER
Which person has its archives at that nonprofit organization ?
(c(Q502895),P485,Q49112)
action filter_type
action find_reverse
entity Q49112
relation P485
type Q502895
[{'concept': 'Q502895'}, 'P485', 'Q49112']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P485 resource:Q49112 }
Yale University
action filter_type
action find_reverse
entity Yale University
relation archives at
type common name
[{'concept': 'common name'}, 'archives at', 'Yale University']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:archives_at resource:Yale_University }
[]
common name
Q21405712
SYSTEM
William Sloane Coffin, Sr.
Q21405712
(c(Q502895),P485,Q49112)
action filter_type
action find_reverse
entity Q49112
relation P485
type Q502895
[ANSWER] has its archives at that nonprofit organization
[{'concept': 'Q502895'}, 'P485', 'Q49112']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P485 resource:Q49112 }
William Sloane Coffin, Sr.
William Sloane Coffin, Sr. has its archives at that nonprofit organization
William Sloane Coffin, Sr.
action filter_type
action find_reverse
entity Yale University
relation archives at
type common name
[{'concept': 'common name'}, 'archives at', 'Yale University']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:archives_at resource:Yale_University }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q95074
USER
Which fictional characters had min number of people as the dubbing artist ?
(c(Q95074),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q95074
type Q502895
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?k ) WHERE { ?b property:P725 ?s . ?b rdf:type ontology:Q95074 . ?s rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?k = ?z ) . { SELECT DISTINCT ( MIN ( ?y ) AS ?z ) { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?y ) WHERE { ?m property:P725 ?f . ?m rdf:type ontology:Q95074 . ?f rdf:type ontology:Q502895 } GROUP BY ?m } } }
action argmin
action find_tuple_counts
relation voice actor
type fictional character
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?k ) WHERE { ?b property:voice_actor ?s . ?b rdf:type ontology:fictional_character . ?s rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?k = ?z ) . { SELECT DISTINCT ( MIN ( ?y ) AS ?z ) { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?y ) WHERE { ?m property:voice_actor ?f . ?m rdf:type ontology:fictional_character . ?f rdf:type ontology:common_name } GROUP BY ?m } } }
[]
common name fictional character
Q3498590
SYSTEM
Chester Cheetah
Q3498590
(c(Q95074),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q95074
type Q502895
[ANSWER] had min number of people as the dubbing artist
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?k ) WHERE { ?b property:P725 ?s . ?b rdf:type ontology:Q95074 . ?s rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?k = ?z ) . { SELECT DISTINCT ( MIN ( ?y ) AS ?z ) { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?y ) WHERE { ?m property:P725 ?f . ?m rdf:type ontology:Q95074 . ?f rdf:type ontology:Q502895 } GROUP BY ?m } } }
Chester Cheetah
Chester Cheetah had min number of people as the dubbing artist
Chester Cheetah
action argmin
action find_tuple_counts
relation voice actor
type fictional character
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?k ) WHERE { ?b property:voice_actor ?s . ?b rdf:type ontology:fictional_character . ?s rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?k = ?z ) . { SELECT DISTINCT ( MIN ( ?y ) AS ?z ) { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?y ) WHERE { ?m property:voice_actor ?f . ?m rdf:type ontology:fictional_character . ?f rdf:type ontology:common_name } GROUP BY ?m } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q11339468
P674
Q95074 Q166142 Q571
USER
How many fictional characters appears as a character in less number of applications and books than Paula ?
(c(Q166142)|c(Q571),P674,c(Q95074))
action count
action less
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q166142
action find_reverse_tuple_counts
relation P674
type Q95074
type Q571
action count
action filter_multi_types
action find_reverse
entity Q11339468
relation P674
type Q166142
type Q571
[[{'concept': 'Q166142'}, {'concept': 'Q571'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) ?z WHERE { VALUES ( ?u ) { ( ontology:Q166142 ) ( ontology:Q571 ) } . ?x rdf:type ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P674 resource:Q11339468 . { VALUES ( ?f ) { ( ontology:Q166142 ) ( ontology:Q571 ) } . ?b rdf:type ?f } } } . FILTER ( ?l < ?a ) }
Paula
action count
action less
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type application
action find_reverse_tuple_counts
relation characters
type fictional character
type book
action count
action filter_multi_types
action find_reverse
entity Paula
relation characters
type application
type book
[[{'concept': 'application'}, {'concept': 'book'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) ?z WHERE { VALUES ( ?u ) { ( ontology:application ) ( ontology:book ) } . ?x rdf:type ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:characters resource:Paula . { VALUES ( ?f ) { ( ontology:application ) ( ontology:book ) } . ?b rdf:type ?f } } } . FILTER ( ?l < ?a ) }
[]
fictional character application book
SYSTEM
276
Q547105 Q3065753 Q16027672 Q27663545 Q24573084 Q27093588 Q4767744 Q252044 Q7167342 Q942938 Q27666236 Q17075849 Q2985575 Q1649854 Q18679242 Q1750634 Q27272386 Q27068028 Q22265466 Q15710873 Q1877780 Q2344068 Q21847074 Q272000 Q669485 Q27270635 Q27553997 Q27267091 Q7828 Q27133637 Q15230837 Q27535984 Q2559332 Q27553808 Q3388787 Q27116644 Q5656906 Q2161603 Q27663642 Q27271240 Q217533 Q27269911 Q22266941 Q27666260 Q3060933 Q21847215 Q1660555 Q27068114 Q21837397 Q892442 Q27243295 Q11623287 Q913841 Q27267295 Q27145408 Q1984009 Q2277080 Q519034 Q2915850 Q3592235 Q27270825 Q669992 Q10904385 Q27663814 Q1541235 Q4574639 Q295599 Q27074305 Q2340460 Q7834 Q254678 Q5354221 Q1080587 Q1478155 Q507978 Q203927 Q27116381 Q21847103 Q21716752 Q27229992 Q27429777 Q128429 Q27553882 Q23762190 Q27118866 Q3391402 Q27118394 Q2739228 Q114900 Q599351 Q510102 Q15160 Q2456444 Q1997439 Q4653 Q842104 Q14396915 Q5431889 Q27666036 Q20822934 Q21847089 Q27237700 Q610519 Q20723928 Q21065543 Q21065542 Q16626690 Q27450655 Q3704358 Q21246052 Q27270096 Q27179995 Q27067917 Q2076759 Q27429724 Q27429978 Q26678513 Q21847086 Q21065725 Q3291275 Q3403328 Q191114 Q23906183 Q21837905 Q27518155 Q20822903 Q159709 Q21837021 Q27429887 Q21837027 Q1115859 Q3939827 Q406021 Q27271937 Q8002690 Q27237722 Q20822908 Q5846 Q27481286 Q27237727 Q850506 Q3320009 Q589261 Q27067781 Q27429907 Q17335617 Q3377158 Q27535068 Q27703517 Q27237663 Q2715593 Q2979585 Q10354248 Q22264381 Q936278 Q3603297 Q21714642 Q4755325 Q20822916 Q6748296 Q1991640 Q3471289 Q164083 Q22265259 Q4749202 Q2988692 Q27462047 Q21837038 Q27269137 Q2657005 Q27666317 Q27268652 Q21562043 Q21972177 Q6929804 Q27666216 Q113870 Q21072307 Q60702 Q27554295 Q267447 Q22266945 Q1028714 Q540376 Q27068138 Q4795290 Q520812 Q20822900 Q388605 Q16451200 Q27237716 Q21837832 Q3056704 Q21971504 Q21932351 Q2750318 Q20280393 Q21847105 Q27457103 Q27133578 Q27536279 Q1773077 Q2308402 Q27666068 Q1269082 Q27269717 Q27269399 Q27145277 Q1616457 Q2392421 Q27703691 Q27075302 Q27456283 Q321349 Q6414261 Q27272794 Q21065657 Q651130 Q16034148 Q27666446 Q3439796 Q21072502 Q3437147 Q3946354 Q27430106 Q27272179 Q21847058 Q15020847 Q21847115 Q3036775 Q27462273 Q2021531 Q27229770 Q4160404 Q3806180 Q9012447 Q27133508 Q3073552 Q3073555 Q191527 Q7885388 Q27145361 Q1141265 Q6214458 Q27455598 Q2264282 Q4933846 Q27702918 Q3257493 Q1345373 Q1392000 Q2879032 Q2373832 Q264685 Q223757 Q27180048 Q20822895 Q8073344 Q21072390 Q1456741 Q27267273 Q616178 Q6175066 Q27271402 Q3666688 Q27666118 Q7810 Q661491 Q51766 Q6524042 Q20822940 Q27148824 Q27666112 Q27068106 Q765498 Q19803416
(c(Q166142)|c(Q571),P674,c(Q95074))
action count
action less
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q166142
action find_reverse_tuple_counts
relation P674
type Q95074
type Q571
action count
action filter_multi_types
action find_reverse
entity Q11339468
relation P674
type Q166142
type Q571
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q571'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) ?z WHERE { VALUES ( ?u ) { ( ontology:Q166142 ) ( ontology:Q571 ) } . ?x rdf:type ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P674 resource:Q11339468 . { VALUES ( ?f ) { ( ontology:Q166142 ) ( ontology:Q571 ) } . ?b rdf:type ?f } } } . FILTER ( ?l < ?a ) }
Nezha Lady of the Green Kirtle Dr. Stewart Peter Pan Archimedes Alice's sister Annabeth Schott Queen Grimhilde Percy Fitzwallace Dexter Morgan Nana Danny Concannon K-9 Athos Kalervo Quasimodo Captain Crocodile The blue fairy Duran Duran Princess Celestia Lusus Madam Mim Kōichirō Iketani Deianira Sweeney Todd Little Sister Cody King Richard Marge Simpson King Hubert Dixie Kong Carlotta Cinderella Wilbur Pinocchio Lady Josh Lyman Randall Flagg Wendy Darling Sis Joker Nutsy Drizella Tremaine Mr. Smee Scuttle Seiji Iwaki Maleficent Monstro Takeshi Nakazato Ariel Edgar Balthazar Takumi Fujiwara Bridget Jones Alan-a-Dale Anita Radcliffe Death Clarice Starling Aurora Thumper Étienne Lantier Skippy Rincewind Diddy Kong Captain Hook Kullervo Jack Crawford Two-Face Timothy Q. Mouse Captain Falcon Maggie Simpson Carrie Bradshaw Eleanor Bartlet C. J. Cregg Pelasgus Milady de Winter Patrick Bateman Tramp Shingo Shōji Largo Winch Kaa Bianca Vampirella Jake June Wheeler Trusty Planchet Yock Snow White Lori Grimes Gavroche Captain Phoebus Ijon Tichy Renesmee Cullen White Witch Sherlock Holmes Grampa Simpson Kate Harper Faline George Darling Mrs. Judson Kenji Thomas O'Malley Matt Santos Flounder Mousqueton Bazin Baloo Taran Deborah Fiderer Robert Malone Sexton Mouse Merlin Stromboli Tyrion Lannister Bernard Mr. Snoops Acoetes Natsuki Mogi Bonacieux Maid Marian Prince John Sita Herbert Einstein Itsuki Takeuchi Max Fidget Gilgamesh Bunta Fujiwara Madame Medusa Ryōsuke Takahashi Horatius Cocles Rocky the Flying Squirrel Aino Toby Will Bailey Marie Dr. David Q. Dawson Lisa Simpson Hen Wen Berlioz Brynhildr Miraz Susannah Dean Geppetto Penny D'Artagnan Little John Grimsby Sister Gudule Duchess Josiah Bartlet Clopin Trouillefou Professor Ratigan Barbarella Imhotep Abbey Bartlet Arn Magnusson Andrea Wyatt Basil Mandy Hampton Dominic Toretto Samurai Goroh Till Eulenspiegel The Great Tyrant Amy Gardner Eddie Dean Creeper Keisuke Takahashi Sir Hiss Adamastor Crocodile Friar Tuck Antoine Doinel Jean-Marie-François Morhange Delores Landingham Tinker Bell Michonne Lord de Winter Eragon Percival McLeach Granny Weatherwax Anastasia Tremaine Jiminy Cricket Mowgli Lampwick Arnold Vinick Claude Frollo Hiram Flaversham Cruella de Vil Taras Bulba Toulouse Kyōichi Sudō Erlking André de Saint-Avit Valentina Rosselli Dumbo Chrysoprase Kenta Nakamura Fflewddur Fflam King Stefan Chef Louis Aramis Bambi John Darling Alice Trigger Lady Kluck Pongo Mycroft Holmes Constance Bonacieux Jehan Frollo Fairy Godmother Gurgi Nick Knatterton Kinsey Millhone Otto executioner of Lille Julia Prince Eric Tiger Lily King Triton D'Artagnan's father Robin Hood Sam Seaborn Orville Mother Rabbit Yūichi Tachibana Proto Man Fumihiro Donna Moss Dallben Frankenstein's monster Shere Khan John Francis Winter Jaime Lannister John Hoynes Prince Phillip Fleur-de-Lys Flower Edward Cullen Sebastian Roger Radcliffe Lady Tremaine Joey Lucas Eilonwy Roland Deschain Bob Russell Pierre Gringoire Bandersnatch Toby Ziegler Fagin Bagheera Comte de Rochefort Marvin Bella Swan Arthur Olivia Flaversham Zoey Bartlet Ketty Joukahainen Sheriff of Nottingham Väinämöinen Ursula Tagalong Charlie Young Michael Darling Homer Simpson Esméralda Darth Maul Leo McGarry Queen Mousetoria The Prince Mary Darling Honest John Jake Chambers Brian O'Conner
276
action count
action less
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type application
action find_reverse_tuple_counts
relation characters
type fictional character
type book
action count
action filter_multi_types
action find_reverse
entity Paula
relation characters
type application
type book
[[{'concept': 'application'}, {'concept': 'book'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) ?z WHERE { VALUES ( ?u ) { ( ontology:application ) ( ontology:book ) } . ?x rdf:type ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:characters resource:Paula . { VALUES ( ?f ) { ( ontology:application ) ( ontology:book ) } . ?b rdf:type ?f } } } . FILTER ( ?l < ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q14542209
P674
Q95074 Q166142 Q571
USER
And what about Kendl Johnson?
(c(Q166142)|c(Q571),P674,c(Q95074))
action count
action less
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q166142
action find_reverse_tuple_counts
relation P674
type Q95074
type Q571
action count
action filter_multi_types
action find_reverse
entity Q14542209
relation P674
type Q166142
type Q571
[[{'concept': 'Q166142'}, {'concept': 'Q571'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) ?i WHERE { { ?z property:P674 ?i . ?i rdf:type ontology:Q95074 . ?z rdf:type ontology:Q166142 } UNION { ?z property:P674 ?i . ?i rdf:type ontology:Q95074 . ?z rdf:type ontology:Q571 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P674 resource:Q14542209 . { { ?q rdf:type ontology:Q166142 } UNION { ?q rdf:type ontology:Q571 } } } } . FILTER ( ?c < ?v ) }
Kendl Johnson
action count
action less
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type application
action find_reverse_tuple_counts
relation characters
type fictional character
type book
action count
action filter_multi_types
action find_reverse
entity Kendl Johnson
relation characters
type application
type book
[[{'concept': 'application'}, {'concept': 'book'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) ?i WHERE { { ?z property:characters ?i . ?i rdf:type ontology:fictional_character . ?z rdf:type ontology:application } UNION { ?z property:characters ?i . ?i rdf:type ontology:fictional_character . ?z rdf:type ontology:book } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:characters resource:Kendl_Johnson . { { ?q rdf:type ontology:application } UNION { ?q rdf:type ontology:book } } } } . FILTER ( ?c < ?v ) }
[]
fictional character application book
SYSTEM
276
Q547105 Q3065753 Q16027672 Q27663545 Q24573084 Q27093588 Q4767744 Q252044 Q7167342 Q942938 Q27666236 Q17075849 Q2985575 Q1649854 Q18679242 Q1750634 Q27272386 Q27068028 Q22265466 Q15710873 Q1877780 Q2344068 Q21847074 Q272000 Q669485 Q27270635 Q27553997 Q27267091 Q7828 Q27133637 Q15230837 Q27535984 Q2559332 Q27553808 Q3388787 Q27116644 Q5656906 Q2161603 Q27663642 Q27271240 Q217533 Q27269911 Q22266941 Q27666260 Q3060933 Q21847215 Q1660555 Q27068114 Q21837397 Q892442 Q27243295 Q11623287 Q913841 Q27267295 Q27145408 Q1984009 Q2277080 Q519034 Q2915850 Q3592235 Q27270825 Q669992 Q10904385 Q27663814 Q1541235 Q4574639 Q295599 Q27074305 Q2340460 Q7834 Q254678 Q5354221 Q1080587 Q1478155 Q507978 Q203927 Q27116381 Q21847103 Q21716752 Q27229992 Q27429777 Q128429 Q27553882 Q23762190 Q27118866 Q3391402 Q27118394 Q2739228 Q114900 Q599351 Q510102 Q15160 Q2456444 Q1997439 Q4653 Q842104 Q14396915 Q5431889 Q27666036 Q20822934 Q21847089 Q27237700 Q610519 Q20723928 Q21065543 Q21065542 Q16626690 Q27450655 Q3704358 Q21246052 Q27270096 Q27179995 Q27067917 Q2076759 Q27429724 Q27429978 Q26678513 Q21847086 Q21065725 Q3291275 Q3403328 Q191114 Q23906183 Q21837905 Q27518155 Q20822903 Q159709 Q21837021 Q27429887 Q21837027 Q1115859 Q3939827 Q406021 Q27271937 Q8002690 Q27237722 Q20822908 Q5846 Q27481286 Q27237727 Q850506 Q3320009 Q589261 Q27067781 Q27429907 Q17335617 Q3377158 Q27535068 Q27703517 Q27237663 Q2715593 Q2979585 Q10354248 Q22264381 Q936278 Q3603297 Q21714642 Q4755325 Q20822916 Q6748296 Q1991640 Q3471289 Q164083 Q22265259 Q4749202 Q2988692 Q27462047 Q21837038 Q27269137 Q2657005 Q27666317 Q27268652 Q21562043 Q21972177 Q6929804 Q27666216 Q113870 Q21072307 Q60702 Q27554295 Q267447 Q22266945 Q1028714 Q540376 Q27068138 Q4795290 Q520812 Q20822900 Q388605 Q16451200 Q27237716 Q21837832 Q3056704 Q21971504 Q21932351 Q2750318 Q20280393 Q21847105 Q27457103 Q27133578 Q27536279 Q1773077 Q2308402 Q27666068 Q1269082 Q27269717 Q27269399 Q27145277 Q1616457 Q2392421 Q27703691 Q27075302 Q27456283 Q321349 Q6414261 Q27272794 Q21065657 Q651130 Q16034148 Q27666446 Q3439796 Q21072502 Q3437147 Q3946354 Q27430106 Q27272179 Q21847058 Q15020847 Q21847115 Q3036775 Q27462273 Q2021531 Q27229770 Q4160404 Q3806180 Q9012447 Q27133508 Q3073552 Q3073555 Q191527 Q7885388 Q27145361 Q1141265 Q6214458 Q27455598 Q2264282 Q4933846 Q27702918 Q3257493 Q1345373 Q1392000 Q2879032 Q2373832 Q264685 Q223757 Q27180048 Q20822895 Q8073344 Q21072390 Q1456741 Q27267273 Q616178 Q6175066 Q27271402 Q3666688 Q27666118 Q7810 Q661491 Q51766 Q6524042 Q20822940 Q27148824 Q27666112 Q27068106 Q765498 Q19803416
(c(Q166142)|c(Q571),P674,c(Q95074))
action count
action less
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q166142
action find_reverse_tuple_counts
relation P674
type Q95074
type Q571
action count
action filter_multi_types
action find_reverse
entity Q14542209
relation P674
type Q166142
type Q571
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q571'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) ?i WHERE { { ?z property:P674 ?i . ?i rdf:type ontology:Q95074 . ?z rdf:type ontology:Q166142 } UNION { ?z property:P674 ?i . ?i rdf:type ontology:Q95074 . ?z rdf:type ontology:Q571 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P674 resource:Q14542209 . { { ?q rdf:type ontology:Q166142 } UNION { ?q rdf:type ontology:Q571 } } } } . FILTER ( ?c < ?v ) }
Nezha Lady of the Green Kirtle Dr. Stewart Peter Pan Archimedes Alice's sister Annabeth Schott Queen Grimhilde Percy Fitzwallace Dexter Morgan Nana Danny Concannon K-9 Athos Kalervo Quasimodo Captain Crocodile The blue fairy Duran Duran Princess Celestia Lusus Madam Mim Kōichirō Iketani Deianira Sweeney Todd Little Sister Cody King Richard Marge Simpson King Hubert Dixie Kong Carlotta Cinderella Wilbur Pinocchio Lady Josh Lyman Randall Flagg Wendy Darling Sis Joker Nutsy Drizella Tremaine Mr. Smee Scuttle Seiji Iwaki Maleficent Monstro Takeshi Nakazato Ariel Edgar Balthazar Takumi Fujiwara Bridget Jones Alan-a-Dale Anita Radcliffe Death Clarice Starling Aurora Thumper Étienne Lantier Skippy Rincewind Diddy Kong Captain Hook Kullervo Jack Crawford Two-Face Timothy Q. Mouse Captain Falcon Maggie Simpson Carrie Bradshaw Eleanor Bartlet C. J. Cregg Pelasgus Milady de Winter Patrick Bateman Tramp Shingo Shōji Largo Winch Kaa Bianca Vampirella Jake June Wheeler Trusty Planchet Yock Snow White Lori Grimes Gavroche Captain Phoebus Ijon Tichy Renesmee Cullen White Witch Sherlock Holmes Grampa Simpson Kate Harper Faline George Darling Mrs. Judson Kenji Thomas O'Malley Matt Santos Flounder Mousqueton Bazin Baloo Taran Deborah Fiderer Robert Malone Sexton Mouse Merlin Stromboli Tyrion Lannister Bernard Mr. Snoops Acoetes Natsuki Mogi Bonacieux Maid Marian Prince John Sita Herbert Einstein Itsuki Takeuchi Max Fidget Gilgamesh Bunta Fujiwara Madame Medusa Ryōsuke Takahashi Horatius Cocles Rocky the Flying Squirrel Aino Toby Will Bailey Marie Dr. David Q. Dawson Lisa Simpson Hen Wen Berlioz Brynhildr Miraz Susannah Dean Geppetto Penny D'Artagnan Little John Grimsby Sister Gudule Duchess Josiah Bartlet Clopin Trouillefou Professor Ratigan Barbarella Imhotep Abbey Bartlet Arn Magnusson Andrea Wyatt Basil Mandy Hampton Dominic Toretto Samurai Goroh Till Eulenspiegel The Great Tyrant Amy Gardner Eddie Dean Creeper Keisuke Takahashi Sir Hiss Adamastor Crocodile Friar Tuck Antoine Doinel Jean-Marie-François Morhange Delores Landingham Tinker Bell Michonne Lord de Winter Eragon Percival McLeach Granny Weatherwax Anastasia Tremaine Jiminy Cricket Mowgli Lampwick Arnold Vinick Claude Frollo Hiram Flaversham Cruella de Vil Taras Bulba Toulouse Kyōichi Sudō Erlking André de Saint-Avit Valentina Rosselli Dumbo Chrysoprase Kenta Nakamura Fflewddur Fflam King Stefan Chef Louis Aramis Bambi John Darling Alice Trigger Lady Kluck Pongo Mycroft Holmes Constance Bonacieux Jehan Frollo Fairy Godmother Gurgi Nick Knatterton Kinsey Millhone Otto executioner of Lille Julia Prince Eric Tiger Lily King Triton D'Artagnan's father Robin Hood Sam Seaborn Orville Mother Rabbit Yūichi Tachibana Proto Man Fumihiro Donna Moss Dallben Frankenstein's monster Shere Khan John Francis Winter Jaime Lannister John Hoynes Prince Phillip Fleur-de-Lys Flower Edward Cullen Sebastian Roger Radcliffe Lady Tremaine Joey Lucas Eilonwy Roland Deschain Bob Russell Pierre Gringoire Bandersnatch Toby Ziegler Fagin Bagheera Comte de Rochefort Marvin Bella Swan Arthur Olivia Flaversham Zoey Bartlet Ketty Joukahainen Sheriff of Nottingham Väinämöinen Ursula Tagalong Charlie Young Michael Darling Homer Simpson Esméralda Darth Maul Leo McGarry Queen Mousetoria The Prince Mary Darling Honest John Jake Chambers Brian O'Conner
276
action count
action less
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type application
action find_reverse_tuple_counts
relation characters
type fictional character
type book
action count
action filter_multi_types
action find_reverse
entity Kendl Johnson
relation characters
type application
type book
[[{'concept': 'application'}, {'concept': 'book'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) ?i WHERE { { ?z property:characters ?i . ?i rdf:type ontology:fictional_character . ?z rdf:type ontology:application } UNION { ?z property:characters ?i . ?i rdf:type ontology:fictional_character . ?z rdf:type ontology:book } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:characters resource:Kendl_Johnson . { { ?q rdf:type ontology:application } UNION { ?q rdf:type ontology:book } } } } . FILTER ( ?c < ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21405712
P1196
Q1931388
USER
What situation did William Sloane Coffin, Sr. die in ?
(Q21405712,P1196,c(Q1931388))
action filter_type
action find
entity Q21405712
relation P1196
type Q1931388
['Q21405712', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { resource:Q21405712 property:P1196 ?o . ?o rdf:type ontology:Q1931388 }
William Sloane Coffin, Sr.
action filter_type
action find
entity William Sloane Coffin, Sr.
relation manner of death
type cause of death
['William Sloane Coffin, Sr.', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { resource:William_Sloane_Coffin,_Sr. property:manner_of_death ?o . ?o rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q21405712,P1196,c(Q1931388))
action filter_type
action find
entity Q21405712
relation P1196
type Q1931388
[ANSWER]
['Q21405712', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { resource:Q21405712 property:P1196 ?o . ?o rdf:type ontology:Q1931388 }
natural causes
natural causes
action filter_type
action find
entity William Sloane Coffin, Sr.
relation manner of death
type cause of death
['William Sloane Coffin, Sr.', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { resource:William_Sloane_Coffin,_Sr. property:manner_of_death ?o . ?o rdf:type ontology:cause_of_death }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P1196
Q1931388 Q502895
USER
How many causes of death did more number of people die in than that cause of death ?
(c(Q502895),P1196,c(Q1931388))
action count
action greater
action find_tuple_counts
relation P1196
type Q1931388
type Q502895
action count
action filter_type
action find
entity Q3739104
relation P1196
type Q1931388
[{'concept': 'Q502895'}, 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?z ) WHERE { ?c property:P1196 ?b . ?c rdf:type ontology:Q1931388 . ?b rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { resource:Q3739104 property:P1196 ?v . ?v rdf:type ontology:Q1931388 } } . FILTER ( ?z > ?y ) }
action count
action greater
action find_tuple_counts
relation manner of death
type cause of death
type common name
action count
action filter_type
action find
entity natural causes
relation manner of death
type cause of death
[{'concept': 'common name'}, 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?z ) WHERE { ?c property:manner_of_death ?b . ?c rdf:type ontology:cause_of_death . ?b rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { resource:natural_causes property:manner_of_death ?v . ?v rdf:type ontology:cause_of_death } } . FILTER ( ?z > ?y ) }
[]
cause of death common name
SYSTEM
0
(c(Q502895),P1196,c(Q1931388))
action count
action greater
action find_tuple_counts
relation P1196
type Q1931388
type Q502895
action count
action filter_type
action find
entity Q3739104
relation P1196
type Q1931388
[ANSWER]
[{'concept': 'Q502895'}, 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?z ) WHERE { ?c property:P1196 ?b . ?c rdf:type ontology:Q1931388 . ?b rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { resource:Q3739104 property:P1196 ?v . ?v rdf:type ontology:Q1931388 } } . FILTER ( ?z > ?y ) }
0
action count
action greater
action find_tuple_counts
relation manner of death
type cause of death
type common name
action count
action filter_type
action find
entity natural causes
relation manner of death
type cause of death
[{'concept': 'common name'}, 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?z ) WHERE { ?c property:manner_of_death ?b . ?c rdf:type ontology:cause_of_death . ?b rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { resource:natural_causes property:manner_of_death ?v . ?v rdf:type ontology:cause_of_death } } . FILTER ( ?z > ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21405712
P22
Q502895
USER
Which person has William Sloane Coffin, Sr. as father ?
(c(Q502895),P22,Q21405712)
action filter_type
action find_reverse
entity Q21405712
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q21405712']
SELECT DISTINCT ?t WHERE { ?t property:P22 resource:Q21405712 . ?t rdf:type ontology:Q502895 }
William Sloane Coffin, Sr.
action filter_type
action find_reverse
entity William Sloane Coffin, Sr.
relation father
type common name
[{'concept': 'common name'}, 'father', 'William Sloane Coffin, Sr.']
SELECT DISTINCT ?t WHERE { ?t property:father resource:William_Sloane_Coffin,_Sr. . ?t rdf:type ontology:common_name }
[]
common name
Q332963
SYSTEM
William Sloane Coffin, Jr.
Q332963
(c(Q502895),P22,Q21405712)
action filter_type
action find_reverse
entity Q21405712
relation P22
type Q502895
[ANSWER] has William Sloane Coffin, Sr. as father
[{'concept': 'Q502895'}, 'P22', 'Q21405712']
SELECT DISTINCT ?t WHERE { ?t property:P22 resource:Q21405712 . ?t rdf:type ontology:Q502895 }
William Sloane Coffin, Jr.
William Sloane Coffin, Jr. has William Sloane Coffin, Sr. as father
William Sloane Coffin, Jr.
action filter_type
action find_reverse
entity William Sloane Coffin, Sr.
relation father
type common name
[{'concept': 'common name'}, 'father', 'William Sloane Coffin, Sr.']
SELECT DISTINCT ?t WHERE { ?t property:father resource:William_Sloane_Coffin,_Sr. . ?t rdf:type ontology:common_name }
[]