Simple Question (Direct)
Simple Question
Q11724257
P1412
Q34770
USER
Which language does Jeremy Glazer speak in ?
(Q11724257,P1412,c(Q34770))
action filter_type
action find
entity Q11724257
relation P1412
type Q34770
['Q11724257', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q11724257 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
Jeremy Glazer
action filter_type
action find
entity Jeremy Glazer
relation languages spoken, written or signed
type language
['Jeremy Glazer', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Jeremy_Glazer property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q11724257,P1412,c(Q34770))
action filter_type
action find
entity Q11724257
relation P1412
type Q34770
Jeremy Glazer speaks [ANSWER]
['Q11724257', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q11724257 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
English
Jeremy Glazer speaks English
English
action filter_type
action find
entity Jeremy Glazer
relation languages spoken, written or signed
type language
['Jeremy Glazer', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Jeremy_Glazer property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11724257
P175
Q95074
USER
Who performed that person ?
(c(Q95074),P175,Q1860)
action filter_type
action find_reverse
entity Q11724257
relation P175
type Q95074
[{'concept': 'Q95074'}, 'P175', 'Q1860']
SELECT DISTINCT ?q WHERE { ?q property:P175 resource:Q11724257 . ?q rdf:type ontology:Q95074 }
Jeremy Glazer
action filter_type
action find_reverse
entity Jeremy Glazer
relation performer
type fictional character
[{'concept': 'fictional character'}, 'performer', 'English']
SELECT DISTINCT ?q WHERE { ?q property:performer resource:Jeremy_Glazer . ?q rdf:type ontology:fictional_character }
[]
fictional character
Q23693306
SYSTEM
Derek
Q23693306
(c(Q95074),P175,Q1860)
action filter_type
action find_reverse
entity Q11724257
relation P175
type Q95074
The [ANSWER] performed that person
[{'concept': 'Q95074'}, 'P175', 'Q1860']
SELECT DISTINCT ?q WHERE { ?q property:P175 resource:Q11724257 . ?q rdf:type ontology:Q95074 }
Derek
The Derek performed that person
Derek
action filter_type
action find_reverse
entity Jeremy Glazer
relation performer
type fictional character
[{'concept': 'fictional character'}, 'performer', 'English']
SELECT DISTINCT ?q WHERE { ?q property:performer resource:Jeremy_Glazer . ?q rdf:type ontology:fictional_character }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q95074 Q277759 Q166142
USER
Which fictional characters plays a role in approximately 1 book series or applications ?
(c(Q277759)|c(Q166142),P674,c(Q95074))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q277759
action find_reverse_tuple_counts
relation P674
type Q95074
type Q166142
value 1
[[{'concept': 'Q277759'}, {'concept': 'Q166142'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?h WHERE { { ?r property:P674 ?h . ?h rdf:type ontology:Q95074 . ?r rdf:type ontology:Q277759 } UNION { ?r property:P674 ?h . ?h rdf:type ontology:Q95074 . ?r rdf:type ontology:Q166142 } } GROUP BY ?h } . FILTER ( ?m = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type book series
action find_reverse_tuple_counts
relation characters
type fictional character
type application
value 1
[[{'concept': 'book series'}, {'concept': 'application'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?h WHERE { { ?r property:characters ?h . ?h rdf:type ontology:fictional_character . ?r rdf:type ontology:book_series } UNION { ?r property:characters ?h . ?h rdf:type ontology:fictional_character . ?r rdf:type ontology:application } } GROUP BY ?h } . FILTER ( ?m = 1 ) }
[]
fictional character book series application
Q17335617 Q589261 Q21932351
SYSTEM
D'Artagnan, Susannah Dean, Valentina Rosselli
Q2725247 Q1649854 Q14559464 Q3259165 Q22265466 Q461606 Q2161603 Q11339468 Q17209231 Q14541961 Q14544872 Q14541956 Q14542323 Q21716752 Q14541958 Q3391402 Q114900 Q21065543 Q21065542 Q14559460 Q14559461 Q14542335 Q14542337 Q11309288 Q589261 Q17335617 Q22264381 Q21714642 Q14542340 Q14545148 Q22265259 Q2988692 Q3838346 Q113870 Q60702 Q14542326 Q14542192 Q14542196 Q14544711 Q767120 Q21932351 Q12400 Q1773077 Q14542209 Q12810578 Q14545043 Q920224 Q2264282 Q14559457 Q765498 Q14559452
(c(Q277759)|c(Q166142),P674,c(Q95074))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q277759
action find_reverse_tuple_counts
relation P674
type Q95074
type Q166142
value 1
[ANSWERS] play a role in approximately 1 book series or applications
[[{'concept': 'Q277759'}, {'concept': 'Q166142'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?h WHERE { { ?r property:P674 ?h . ?h rdf:type ontology:Q95074 . ?r rdf:type ontology:Q277759 } UNION { ?r property:P674 ?h . ?h rdf:type ontology:Q95074 . ?r rdf:type ontology:Q166142 } } GROUP BY ?h } . FILTER ( ?m = 1 ) }
Ness Athos Freddy Porky Minch Duran Duran Arsène Lupin Randall Flagg Paula Poo Wu Zi Mu Michael Toreno Sean Johnson Jeffrey Cross Largo Winch Cesar Vialpando Planchet Lori Grimes Mousqueton Bazin Mark Wayne Barry Thorne The Truth Zero Jeff Susannah Dean D'Artagnan Barbarella Arn Magnusson Jizzy B. Beverly Johnson The Great Tyrant Eddie Dean Lucas Michonne Eragon Madd Dogg Edward Pulaski Jimmy Hernandez T-Bone Mendez Garfield Valentina Rosselli Samus Aran Aramis Kendl Johnson Lance Wilson Maccer Gargamel Roland Deschain Emmet Jake Chambers Old Reece
D'Artagnan, Susannah Dean and Valentina Rosselli play a role in approximately 1 book series or applications
D'Artagnan Susannah Dean Valentina Rosselli
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type book series
action find_reverse_tuple_counts
relation characters
type fictional character
type application
value 1
[[{'concept': 'book series'}, {'concept': 'application'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?h WHERE { { ?r property:characters ?h . ?h rdf:type ontology:fictional_character . ?r rdf:type ontology:book_series } UNION { ?r property:characters ?h . ?h rdf:type ontology:fictional_character . ?r rdf:type ontology:application } } GROUP BY ?h } . FILTER ( ?m = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q11724257
P161
Q838948
USER
How many works of art have Jeremy Glazer as actor ?
(c(Q838948),P161,Q11724257)
action count
action filter_type
action find_reverse
entity Q11724257
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q11724257']
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P161 resource:Q11724257 . ?v rdf:type ontology:Q838948 }
Jeremy Glazer
action count
action filter_type
action find_reverse
entity Jeremy Glazer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jeremy Glazer']
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:cast_member resource:Jeremy_Glazer . ?v rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
1
Q275187
(c(Q838948),P161,Q11724257)
action count
action filter_type
action find_reverse
entity Q11724257
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q11724257']
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P161 resource:Q11724257 . ?v rdf:type ontology:Q838948 }
Letters from Iwo Jima
1
action count
action filter_type
action find_reverse
entity Jeremy Glazer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jeremy Glazer']
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:cast_member resource:Jeremy_Glazer . ?v rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11724257
P21
Q290
USER
Which sex does that person have ?
action filter_type
action find
entity Q11724257
relation P21
type Q290
SELECT DISTINCT ?l WHERE { resource:Q11724257 property:P21 ?l . ?l rdf:type ontology:Q290 }
Jeremy Glazer
action filter_type
action find
entity Jeremy Glazer
relation gender
type sex
SELECT DISTINCT ?l WHERE { resource:Jeremy_Glazer property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q11724257
relation P21
type Q290
That person has a [ANSWER]
SELECT DISTINCT ?l WHERE { resource:Q11724257 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Jeremy Glazer
relation gender
type sex
SELECT DISTINCT ?l WHERE { resource:Jeremy_Glazer property:gender ?l . ?l rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q14559457
P674
Q95074 Q36649 Q15416
USER
Which fictional characters appears as a character in approximately the same number of visual artss or television programs as Emmet ?
(c(Q36649)|c(Q15416),P674,c(Q95074))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q36649
action find_reverse_tuple_counts
relation P674
type Q95074
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q14559457
relation P674
type Q36649
type Q15416
[[{'concept': 'Q36649'}, {'concept': 'Q15416'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?d WHERE { { ?c property:P674 ?d . ?d rdf:type ontology:Q95074 . ?c rdf:type ontology:Q36649 } UNION { ?c property:P674 ?d . ?c rdf:type ontology:Q15416 . ?d rdf:type ontology:Q95074 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { { ?e rdf:type ontology:Q15416 } UNION { ?e rdf:type ontology:Q36649 } } . ?e property:P674 resource:Q14559457 } } . FILTER ( ?a = ?x ) }
Emmet
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type visual arts
action find_reverse_tuple_counts
relation characters
type fictional character
type television program
action count
action filter_multi_types
action find_reverse
entity Emmet
relation characters
type visual arts
type television program
[[{'concept': 'visual arts'}, {'concept': 'television program'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?d WHERE { { ?c property:characters ?d . ?d rdf:type ontology:fictional_character . ?c rdf:type ontology:visual_arts } UNION { ?c property:characters ?d . ?c rdf:type ontology:television_program . ?d rdf:type ontology:fictional_character } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { { ?e rdf:type ontology:television_program } UNION { ?e rdf:type ontology:visual_arts } } . ?e property:characters resource:Emmet } } . FILTER ( ?a = ?x ) }
[]
fictional character visual arts television program
Q252044 Q1660555 Q2739228
SYSTEM
Queen Grimhilde, Maleficent, Snow White
Q547105 Q3065753 Q16027672 Q27663545 Q24573084 Q27093588 Q252044 Q942938 Q27666236 Q2725247 Q1649854 Q18679242 Q14559464 Q3259165 Q27272386 Q27068028 Q22265466 Q1877780 Q2344068 Q21847074 Q272000 Q669485 Q27270635 Q27553997 Q27267091 Q7828 Q27133637 Q15230837 Q27535984 Q2559332 Q27553808 Q3388787 Q27116644 Q2161603 Q605125 Q27663642 Q11339468 Q27271240 Q217533 Q17209231 Q27269911 Q22266941 Q27666260 Q3060933 Q21847215 Q1660555 Q27068114 Q21837397 Q892442 Q27243295 Q11623287 Q913841 Q27267295 Q27145408 Q1984009 Q2277080 Q519034 Q2915850 Q3592235 Q14541961 Q27270825 Q669992 Q10904385 Q27663814 Q1541235 Q4574639 Q295599 Q27074305 Q2340460 Q7834 Q14544872 Q254678 Q1478155 Q14541956 Q507978 Q203927 Q27116381 Q14542323 Q21847103 Q21716752 Q14541958 Q27229992 Q27429777 Q128429 Q27553882 Q27118866 Q3391402 Q1067046 Q27118394 Q2739228 Q114900 Q599351 Q510102 Q15160 Q2456444 Q1997439 Q14544980 Q4653 Q842104 Q5431889 Q27666036 Q25883159 Q20822934 Q21847089 Q27237700 Q20723928 Q21065543 Q21065542 Q14559460 Q14559461 Q16626690 Q14542335 Q27450655 Q27270096 Q27179995 Q27067917 Q2076759 Q27429724 Q27429978 Q26678513 Q14542337 Q21847086 Q14542331 Q21065725 Q3291275 Q3403328 Q191114 Q23906183 Q21837905 Q3455774 Q27518155 Q20822903 Q159709 Q21837021 Q27429887 Q21837027 Q1115859 Q406021 Q27271937 Q27237722 Q20822908 Q5846 Q27481286 Q27237727 Q52986 Q850506 Q3320009 Q11309288 Q589261 Q27067781 Q27429907 Q17335617 Q3377158 Q27535068 Q27703517 Q27237663 Q2979585 Q10354248 Q22264381 Q21714642 Q14542340 Q20822916 Q3471289 Q164083 Q14545148 Q22265259 Q2988692 Q27462047 Q21837038 Q27269137 Q2657005 Q27666317 Q27268652 Q21972177 Q27666216 Q3838346 Q113870 Q21072307 Q60702 Q27554295 Q267447 Q22266945 Q1028714 Q540376 Q27068138 Q520812 Q14542326 Q14542192 Q20822900 Q388605 Q16451200 Q14542196 Q14544711 Q27237716 Q21837832 Q3056704 Q21971504 Q767120 Q21932351 Q2750318 Q20280393 Q21847105 Q27457103 Q27133578 Q27536279 Q12400 Q1773077 Q2308402 Q27666068 Q1269082 Q27269717 Q27269399 Q27145277 Q1616457 Q2392421 Q14542209 Q27703691 Q27075302 Q27456283 Q6414261 Q27272794 Q21065657 Q651130 Q16034148 Q12810578 Q27666446 Q3439796 Q21072502 Q14545043 Q3437147 Q920224 Q27430106 Q1866743 Q27272179 Q21847058 Q15020847 Q21847115 Q27462273 Q2021531 Q27229770 Q4160404 Q3806180 Q27133508 Q3073552 Q3073555 Q191527 Q7885388 Q27145361 Q1141265 Q27455598 Q2264282 Q27702918 Q3257493 Q27642997 Q1392000 Q2879032 Q2373832 Q264685 Q223757 Q27180048 Q20822895 Q21072390 Q1456741 Q27267273 Q616178 Q6175066 Q27271402 Q27666118 Q7810 Q51766 Q20822940 Q27148824 Q14559457 Q27666112 Q27068106 Q765498 Q14559452
(c(Q36649)|c(Q15416),P674,c(Q95074))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q36649
action find_reverse_tuple_counts
relation P674
type Q95074
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q14559457
relation P674
type Q36649
type Q15416
[ANSWERS] appear as a character in approximately the same number of visual artss or television programs as Emmet
[[{'concept': 'Q36649'}, {'concept': 'Q15416'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?d WHERE { { ?c property:P674 ?d . ?d rdf:type ontology:Q95074 . ?c rdf:type ontology:Q36649 } UNION { ?c property:P674 ?d . ?c rdf:type ontology:Q15416 . ?d rdf:type ontology:Q95074 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { { ?e rdf:type ontology:Q15416 } UNION { ?e rdf:type ontology:Q36649 } } . ?e property:P674 resource:Q14559457 } } . FILTER ( ?a = ?x ) }
Nezha Lady of the Green Kirtle Dr. Stewart Peter Pan Archimedes Alice's sister Queen Grimhilde Dexter Morgan Nana Ness Athos Kalervo Freddy Porky Minch Captain Crocodile The blue fairy Duran Duran 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 Randall Flagg GLaDOS Wendy Darling Paula Sis Joker Poo 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 Wu Zi Mu Skippy Rincewind Diddy Kong Captain Hook Kullervo Jack Crawford Two-Face Timothy Q. Mouse Captain Falcon Maggie Simpson Michael Toreno Carrie Bradshaw Pelasgus Sean Johnson Milady de Winter Patrick Bateman Tramp Jeffrey Cross Shingo Shōji Largo Winch Cesar Vialpando Kaa Bianca Vampirella Jake Trusty Planchet Princess Zelda Yock Snow White Lori Grimes Gavroche Captain Phoebus Ijon Tichy Renesmee Cullen White Witch Kent Paul Sherlock Holmes Grampa Simpson Faline George Darling Thompson Mrs. Judson Kenji Thomas O'Malley Flounder Mousqueton Bazin Mark Wayne Barry Thorne Baloo The Truth Taran Sexton Mouse Merlin Stromboli Tyrion Lannister Bernard Mr. Snoops Acoetes Zero Natsuki Mogi Catalina Bonacieux Maid Marian Prince John Sita Herbert Einstein Itsuki Takeuchi Régis Renaud Max Fidget Gilgamesh Bunta Fujiwara Madame Medusa Ryōsuke Takahashi Horatius Cocles Aino Toby Marie Dr. David Q. Dawson Lisa Simpson Hen Wen Berlioz Tintin Brynhildr Miraz Jeff Susannah Dean Geppetto Penny D'Artagnan Little John Grimsby Sister Gudule Duchess Clopin Trouillefou Professor Ratigan Barbarella Arn Magnusson Jizzy B. Basil Samurai Goroh Till Eulenspiegel Beverly Johnson The Great Tyrant Eddie Dean Creeper Keisuke Takahashi Sir Hiss Adamastor Crocodile Friar Tuck Jean-Marie-François Morhange Tinker Bell Lucas Michonne Lord de Winter Eragon Percival McLeach Granny Weatherwax Anastasia Tremaine Jiminy Cricket Mowgli Lampwick Claude Frollo Madd Dogg Edward Pulaski Hiram Flaversham Cruella de Vil Taras Bulba Jimmy Hernandez T-Bone Mendez Toulouse Kyōichi Sudō Erlking André de Saint-Avit Garfield Valentina Rosselli Dumbo Chrysoprase Kenta Nakamura Fflewddur Fflam King Stefan Chef Louis Samus Aran Aramis Bambi John Darling Alice Trigger Lady Kluck Pongo Mycroft Holmes Constance Bonacieux Kendl Johnson Jehan Frollo Fairy Godmother Gurgi Kinsey Millhone Otto executioner of Lille Julia Prince Eric Lance Wilson Tiger Lily King Triton D'Artagnan's father Maccer Robin Hood Gargamel Orville Ken Rosenberg Mother Rabbit Yūichi Tachibana Proto Man Fumihiro Dallben Frankenstein's monster Shere Khan John Francis Winter Jaime Lannister Prince Phillip Fleur-de-Lys Flower Edward Cullen Sebastian Roger Radcliffe Lady Tremaine Eilonwy Roland Deschain Pierre Gringoire Bandersnatch Corto Maltese Fagin Bagheera Comte de Rochefort Marvin Bella Swan Arthur Olivia Flaversham Ketty Joukahainen Sheriff of Nottingham Väinämöinen Ursula Tagalong Michael Darling Homer Simpson Darth Maul Queen Mousetoria The Prince Emmet Mary Darling Honest John Jake Chambers Old Reece
Queen Grimhilde, Maleficent and Snow White appear as a character in approximately the same number of visual artss or television programs as Emmet
Queen Grimhilde Maleficent Snow White
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type visual arts
action find_reverse_tuple_counts
relation characters
type fictional character
type television program
action count
action filter_multi_types
action find_reverse
entity Emmet
relation characters
type visual arts
type television program
[[{'concept': 'visual arts'}, {'concept': 'television program'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?d WHERE { { ?c property:characters ?d . ?d rdf:type ontology:fictional_character . ?c rdf:type ontology:visual_arts } UNION { ?c property:characters ?d . ?c rdf:type ontology:television_program . ?d rdf:type ontology:fictional_character } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { { ?e rdf:type ontology:television_program } UNION { ?e rdf:type ontology:visual_arts } } . ?e property:characters resource:Emmet } } . FILTER ( ?a = ?x ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17101013 Q21932351
P161 P175
Q502895
USER
Which people did Valentina Rosselli perform or are in Clarissa ?
OR((Q21932351,P175,c(Q502895)), (Q17101013,P161,c(Q502895)))
action filter_type
action union
action find
entity Q21932351
relation P175
action find
entity Q17101013
relation P161
type Q502895
{'OR': [['Q21932351', 'P175', {'concept': 'Q502895'}], ['Q17101013', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . { { resource:Q21932351 property:P175 ?n } UNION { resource:Q17101013 property:P161 ?n } } }
Clarissa Valentina Rosselli
action filter_type
action union
action find
entity Valentina Rosselli
relation performer
action find
entity Clarissa
relation cast member
type common name
{'OR': [['Valentina Rosselli', 'performer', {'concept': 'common name'}], ['Clarissa', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . { { resource:Valentina_Rosselli property:performer ?n } UNION { resource:Clarissa property:cast_member ?n } } }
[]
common name
Q103986 Q3705277 Q1711918 Q104787 Q88709 Q96911 Q1285116 Q65496 Q3155075 Q731703
SYSTEM
Some of them are Gerhard Dammann, Demetra Hampton, Julia Serda, Albert Florath, Olga Engl, Elga Brink, Edith Oss, Gustav Fröhlich, Isabelle de Funès, Viggo Larsen
Q96911 Q103986 Q65496 Q104787 Q3705277 Q1457580 Q94607 Q87112 Q1610783 Q731703 Q87413 Q1354384 Q1285116 Q3155075 Q76371 Q1711918 Q1563715 Q88709
OR((Q21932351,P175,c(Q502895)), (Q17101013,P161,c(Q502895)))
action filter_type
action union
action find
entity Q21932351
relation P175
action find
entity Q17101013
relation P161
type Q502895
Valentina Rosselli performed or are in Clarissa by [ANSWERS]
{'OR': [['Q21932351', 'P175', {'concept': 'Q502895'}], ['Q17101013', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . { { resource:Q21932351 property:P175 ?n } UNION { resource:Q17101013 property:P161 ?n } } }
Elga Brink Gerhard Dammann Gustav Fröhlich Albert Florath Demetra Hampton Friedl Haerlin Josefine Dora Gustav Diessl Werner Scharf Viggo Larsen Klaus Pohl Erika Helmke Edith Oss Isabelle de Funès Sybille Schmitz Julia Serda Werner Stock Olga Engl
Valentina Rosselli performed or are in Clarissa by Gerhard Dammann, Demetra Hampton, Julia Serda, Albert Florath, Olga Engl, Elga Brink, Edith Oss, Gustav Fröhlich, Isabelle de Funès and Viggo Larsen
Gerhard Dammann Demetra Hampton Julia Serda Albert Florath Olga Engl Elga Brink Edith Oss Gustav Fröhlich Isabelle de Funès Viggo Larsen
action filter_type
action union
action find
entity Valentina Rosselli
relation performer
action find
entity Clarissa
relation cast member
type common name
{'OR': [['Valentina Rosselli', 'performer', {'concept': 'common name'}], ['Clarissa', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . { { resource:Valentina_Rosselli property:performer ?n } UNION { resource:Clarissa property:cast_member ?n } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P161
Q838948 Q201658
USER
How many works of art and film genres stars that person as actor ?
(c(Q838948),P161,Q103986) (c(Q201658),P161,Q103986) (c(Q838948),P161,Q103986) (c(Q201658),P161,Q103986) (c(Q838948),P161,Q3705277) (c(Q201658),P161,Q3705277) (c(Q838948),P161,Q1711918) (c(Q201658),P161,Q1711918) (c(Q838948),P161,Q104787) (c(Q201658),P161,Q104787) (c(Q838948),P161,Q88709) (c(Q201658),P161,Q88709) (c(Q838948),P161,Q96911) (c(Q201658),P161,Q96911) (c(Q838948),P161,Q1285116) (c(Q201658),P161,Q1285116) (c(Q838948),P161,Q65496) (c(Q201658),P161,Q65496) (c(Q838948),P161,Q3155075) (c(Q201658),P161,Q3155075) (c(Q838948),P161,Q731703) (c(Q201658),P161,Q731703)
[{'concept': 'Q838948'}, 'P161', 'Q103986'] [{'concept': 'Q201658'}, 'P161', 'Q103986'] [{'concept': 'Q838948'}, 'P161', 'Q103986'] [{'concept': 'Q201658'}, 'P161', 'Q103986'] [{'concept': 'Q838948'}, 'P161', 'Q3705277'] [{'concept': 'Q201658'}, 'P161', 'Q3705277'] [{'concept': 'Q838948'}, 'P161', 'Q1711918'] [{'concept': 'Q201658'}, 'P161', 'Q1711918'] [{'concept': 'Q838948'}, 'P161', 'Q104787'] [{'concept': 'Q201658'}, 'P161', 'Q104787'] [{'concept': 'Q838948'}, 'P161', 'Q88709'] [{'concept': 'Q201658'}, 'P161', 'Q88709'] [{'concept': 'Q838948'}, 'P161', 'Q96911'] [{'concept': 'Q201658'}, 'P161', 'Q96911'] [{'concept': 'Q838948'}, 'P161', 'Q1285116'] [{'concept': 'Q201658'}, 'P161', 'Q1285116'] [{'concept': 'Q838948'}, 'P161', 'Q65496'] [{'concept': 'Q201658'}, 'P161', 'Q65496'] [{'concept': 'Q838948'}, 'P161', 'Q3155075'] [{'concept': 'Q201658'}, 'P161', 'Q3155075'] [{'concept': 'Q838948'}, 'P161', 'Q731703'] [{'concept': 'Q201658'}, 'P161', 'Q731703']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q3297652 resource:Q23062105 } UNION { ?y property:Q3297652 resource:Q23062105 } UNION { ?z property:Q3297652 resource:Q23062105 } UNION { ?y property:Q3297652 resource:Q23062105 } UNION { ?z property:Q3297652 resource:Q3705277 } UNION { ?y property:Q3297652 resource:Q3705277 } UNION { ?z property:Q3297652 resource:Q1711918 } UNION { ?y property:Q3297652 resource:Q1711918 } UNION { ?z property:Q3297652 resource:Q104787 } UNION { ?y property:Q3297652 resource:Q104787 } UNION { ?z property:Q3297652 resource:Q88709 } UNION { ?y property:Q3297652 resource:Q88709 } UNION { ?z property:Q3297652 resource:Q96911 } UNION { ?y property:Q3297652 resource:Q96911 } UNION { ?z property:Q3297652 resource:Q1285116 } UNION { ?y property:Q3297652 resource:Q1285116 } UNION { ?z property:Q3297652 resource:Q1282476 } UNION { ?y property:Q3297652 resource:Q1282476 } UNION { ?z property:Q3297652 resource:Q3155075 } UNION { ?y property:Q3297652 resource:Q3155075 } UNION { ?z property:Q3297652 resource:Q731703 } UNION { ?y property:Q3297652 resource:Q731703 } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q201658 }
[{'concept': 'work of art'}, 'cast member', 'Gerhard Dammann'] [{'concept': 'film genre'}, 'cast member', 'Gerhard Dammann'] [{'concept': 'work of art'}, 'cast member', 'Gerhard Dammann'] [{'concept': 'film genre'}, 'cast member', 'Gerhard Dammann'] [{'concept': 'work of art'}, 'cast member', 'Demetra Hampton'] [{'concept': 'film genre'}, 'cast member', 'Demetra Hampton'] [{'concept': 'work of art'}, 'cast member', 'Julia Serda'] [{'concept': 'film genre'}, 'cast member', 'Julia Serda'] [{'concept': 'work of art'}, 'cast member', 'Albert Florath'] [{'concept': 'film genre'}, 'cast member', 'Albert Florath'] [{'concept': 'work of art'}, 'cast member', 'Olga Engl'] [{'concept': 'film genre'}, 'cast member', 'Olga Engl'] [{'concept': 'work of art'}, 'cast member', 'Elga Brink'] [{'concept': 'film genre'}, 'cast member', 'Elga Brink'] [{'concept': 'work of art'}, 'cast member', 'Edith Oss'] [{'concept': 'film genre'}, 'cast member', 'Edith Oss'] [{'concept': 'work of art'}, 'cast member', 'Gustav Fröhlich'] [{'concept': 'film genre'}, 'cast member', 'Gustav Fröhlich'] [{'concept': 'work of art'}, 'cast member', 'Isabelle de Funès'] [{'concept': 'film genre'}, 'cast member', 'Isabelle de Funès'] [{'concept': 'work of art'}, 'cast member', 'Viggo Larsen'] [{'concept': 'film genre'}, 'cast member', 'Viggo Larsen']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:cast_member resource:Gerhard_Dammann } UNION { ?y property:cast_member resource:Gerhard_Dammann } UNION { ?z property:cast_member resource:Gerhard_Dammann } UNION { ?y property:cast_member resource:Gerhard_Dammann } UNION { ?z property:cast_member resource:Demetra_Hampton } UNION { ?y property:cast_member resource:Demetra_Hampton } UNION { ?z property:cast_member resource:Julia_Serda } UNION { ?y property:cast_member resource:Julia_Serda } UNION { ?z property:cast_member resource:Albert_Florath } UNION { ?y property:cast_member resource:Albert_Florath } UNION { ?z property:cast_member resource:Olga_Engl } UNION { ?y property:cast_member resource:Olga_Engl } UNION { ?z property:cast_member resource:Elga_Brink } UNION { ?y property:cast_member resource:Elga_Brink } UNION { ?z property:cast_member resource:Edith_Oss } UNION { ?y property:cast_member resource:Edith_Oss } UNION { ?z property:cast_member resource:Gustav_Fröhlich } UNION { ?y property:cast_member resource:Gustav_Fröhlich } UNION { ?z property:cast_member resource:Isabelle_de_Funès } UNION { ?y property:cast_member resource:Isabelle_de_Funès } UNION { ?z property:cast_member resource:Viggo_Larsen } UNION { ?y property:cast_member resource:Viggo_Larsen } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:film_genre }
[]
work of art film genre
Quantitative|Count|Mult. entity type|Clarification
Q1711918
SYSTEM
Did you mean Julia Serda ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q3297652 resource:Q23062105 } UNION { ?y property:Q3297652 resource:Q23062105 } UNION { ?z property:Q3297652 resource:Q23062105 } UNION { ?y property:Q3297652 resource:Q23062105 } UNION { ?z property:Q3297652 resource:Q3705277 } UNION { ?y property:Q3297652 resource:Q3705277 } UNION { ?z property:Q3297652 resource:Q1711918 } UNION { ?y property:Q3297652 resource:Q1711918 } UNION { ?z property:Q3297652 resource:Q104787 } UNION { ?y property:Q3297652 resource:Q104787 } UNION { ?z property:Q3297652 resource:Q88709 } UNION { ?y property:Q3297652 resource:Q88709 } UNION { ?z property:Q3297652 resource:Q96911 } UNION { ?y property:Q3297652 resource:Q96911 } UNION { ?z property:Q3297652 resource:Q1285116 } UNION { ?y property:Q3297652 resource:Q1285116 } UNION { ?z property:Q3297652 resource:Q1282476 } UNION { ?y property:Q3297652 resource:Q1282476 } UNION { ?z property:Q3297652 resource:Q3155075 } UNION { ?y property:Q3297652 resource:Q3155075 } UNION { ?z property:Q3297652 resource:Q731703 } UNION { ?y property:Q3297652 resource:Q731703 } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q201658 }
Did you mean Julia Serda ?
Julia Serda
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:cast_member resource:Gerhard_Dammann } UNION { ?y property:cast_member resource:Gerhard_Dammann } UNION { ?z property:cast_member resource:Gerhard_Dammann } UNION { ?y property:cast_member resource:Gerhard_Dammann } UNION { ?z property:cast_member resource:Demetra_Hampton } UNION { ?y property:cast_member resource:Demetra_Hampton } UNION { ?z property:cast_member resource:Julia_Serda } UNION { ?y property:cast_member resource:Julia_Serda } UNION { ?z property:cast_member resource:Albert_Florath } UNION { ?y property:cast_member resource:Albert_Florath } UNION { ?z property:cast_member resource:Olga_Engl } UNION { ?y property:cast_member resource:Olga_Engl } UNION { ?z property:cast_member resource:Elga_Brink } UNION { ?y property:cast_member resource:Elga_Brink } UNION { ?z property:cast_member resource:Edith_Oss } UNION { ?y property:cast_member resource:Edith_Oss } UNION { ?z property:cast_member resource:Gustav_Fröhlich } UNION { ?y property:cast_member resource:Gustav_Fröhlich } UNION { ?z property:cast_member resource:Isabelle_de_Funès } UNION { ?y property:cast_member resource:Isabelle_de_Funès } UNION { ?z property:cast_member resource:Viggo_Larsen } UNION { ?y property:cast_member resource:Viggo_Larsen } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:film_genre }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Gerhard Dammann. Could you tell me the answer for that?
(c(Q838948),P161,Q103986) (c(Q201658),P161,Q103986) (c(Q838948),P161,Q103986) (c(Q201658),P161,Q103986) (c(Q838948),P161,Q3705277) (c(Q201658),P161,Q3705277) (c(Q838948),P161,Q1711918) (c(Q201658),P161,Q1711918) (c(Q838948),P161,Q104787) (c(Q201658),P161,Q104787) (c(Q838948),P161,Q88709) (c(Q201658),P161,Q88709) (c(Q838948),P161,Q96911) (c(Q201658),P161,Q96911) (c(Q838948),P161,Q1285116) (c(Q201658),P161,Q1285116) (c(Q838948),P161,Q65496) (c(Q201658),P161,Q65496) (c(Q838948),P161,Q3155075) (c(Q201658),P161,Q3155075) (c(Q838948),P161,Q731703) (c(Q201658),P161,Q731703)
Q103986
[{'concept': 'Q838948'}, 'P161', 'Q103986'] [{'concept': 'Q201658'}, 'P161', 'Q103986'] [{'concept': 'Q838948'}, 'P161', 'Q103986'] [{'concept': 'Q201658'}, 'P161', 'Q103986'] [{'concept': 'Q838948'}, 'P161', 'Q3705277'] [{'concept': 'Q201658'}, 'P161', 'Q3705277'] [{'concept': 'Q838948'}, 'P161', 'Q1711918'] [{'concept': 'Q201658'}, 'P161', 'Q1711918'] [{'concept': 'Q838948'}, 'P161', 'Q104787'] [{'concept': 'Q201658'}, 'P161', 'Q104787'] [{'concept': 'Q838948'}, 'P161', 'Q88709'] [{'concept': 'Q201658'}, 'P161', 'Q88709'] [{'concept': 'Q838948'}, 'P161', 'Q96911'] [{'concept': 'Q201658'}, 'P161', 'Q96911'] [{'concept': 'Q838948'}, 'P161', 'Q1285116'] [{'concept': 'Q201658'}, 'P161', 'Q1285116'] [{'concept': 'Q838948'}, 'P161', 'Q65496'] [{'concept': 'Q201658'}, 'P161', 'Q65496'] [{'concept': 'Q838948'}, 'P161', 'Q3155075'] [{'concept': 'Q201658'}, 'P161', 'Q3155075'] [{'concept': 'Q838948'}, 'P161', 'Q731703'] [{'concept': 'Q201658'}, 'P161', 'Q731703']
[{'concept': 'work of art'}, 'cast member', 'Gerhard Dammann'] [{'concept': 'film genre'}, 'cast member', 'Gerhard Dammann'] [{'concept': 'work of art'}, 'cast member', 'Gerhard Dammann'] [{'concept': 'film genre'}, 'cast member', 'Gerhard Dammann'] [{'concept': 'work of art'}, 'cast member', 'Demetra Hampton'] [{'concept': 'film genre'}, 'cast member', 'Demetra Hampton'] [{'concept': 'work of art'}, 'cast member', 'Julia Serda'] [{'concept': 'film genre'}, 'cast member', 'Julia Serda'] [{'concept': 'work of art'}, 'cast member', 'Albert Florath'] [{'concept': 'film genre'}, 'cast member', 'Albert Florath'] [{'concept': 'work of art'}, 'cast member', 'Olga Engl'] [{'concept': 'film genre'}, 'cast member', 'Olga Engl'] [{'concept': 'work of art'}, 'cast member', 'Elga Brink'] [{'concept': 'film genre'}, 'cast member', 'Elga Brink'] [{'concept': 'work of art'}, 'cast member', 'Edith Oss'] [{'concept': 'film genre'}, 'cast member', 'Edith Oss'] [{'concept': 'work of art'}, 'cast member', 'Gustav Fröhlich'] [{'concept': 'film genre'}, 'cast member', 'Gustav Fröhlich'] [{'concept': 'work of art'}, 'cast member', 'Isabelle de Funès'] [{'concept': 'film genre'}, 'cast member', 'Isabelle de Funès'] [{'concept': 'work of art'}, 'cast member', 'Viggo Larsen'] [{'concept': 'film genre'}, 'cast member', 'Viggo Larsen']
[]
SYSTEM
53 works of art and 5 film genres
Q22977281 Q1698154 Q15812966 Q1169214 Q21869232 Q2605162 Q16512681 Q15308347 Q18206614 Q15856109 Q1481667 Q21869329 Q15068718 Q1228191 Q6783447 Q21035651 Q17101013 Q17039203 Q1460050 Q16831067 Q1449781 Q21646490 Q701584 Q426462 Q20814780 Q15039170 Q17060588 Q22973218 Q21646117 Q21869851 Q19818503 Q2005249 Q15839510 Q1197410 Q1197007 Q21999881 Q19818755 Q1218580 Q1199572 Q4000544 Q1620508 Q1218429 Q18210233 Q25598 Q18208518 Q22000141 Q21869414 Q3842236 Q14949849 Q469480 Q17039837 Q21646837 Q1171364 Q1622546 Q19971804 Q205957 Q18390968 Q3016691
(c(Q838948),P161,Q103986) (c(Q201658),P161,Q103986) (c(Q838948),P161,Q103986) (c(Q201658),P161,Q103986) (c(Q838948),P161,Q3705277) (c(Q201658),P161,Q3705277) (c(Q838948),P161,Q1711918) (c(Q201658),P161,Q1711918) (c(Q838948),P161,Q104787) (c(Q201658),P161,Q104787) (c(Q838948),P161,Q88709) (c(Q201658),P161,Q88709) (c(Q838948),P161,Q96911) (c(Q201658),P161,Q96911) (c(Q838948),P161,Q1285116) (c(Q201658),P161,Q1285116) (c(Q838948),P161,Q65496) (c(Q201658),P161,Q65496) (c(Q838948),P161,Q3155075) (c(Q201658),P161,Q3155075) (c(Q838948),P161,Q731703) (c(Q201658),P161,Q731703)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q103986'] [{'concept': 'Q201658'}, 'P161', 'Q103986'] [{'concept': 'Q838948'}, 'P161', 'Q103986'] [{'concept': 'Q201658'}, 'P161', 'Q103986'] [{'concept': 'Q838948'}, 'P161', 'Q3705277'] [{'concept': 'Q201658'}, 'P161', 'Q3705277'] [{'concept': 'Q838948'}, 'P161', 'Q1711918'] [{'concept': 'Q201658'}, 'P161', 'Q1711918'] [{'concept': 'Q838948'}, 'P161', 'Q104787'] [{'concept': 'Q201658'}, 'P161', 'Q104787'] [{'concept': 'Q838948'}, 'P161', 'Q88709'] [{'concept': 'Q201658'}, 'P161', 'Q88709'] [{'concept': 'Q838948'}, 'P161', 'Q96911'] [{'concept': 'Q201658'}, 'P161', 'Q96911'] [{'concept': 'Q838948'}, 'P161', 'Q1285116'] [{'concept': 'Q201658'}, 'P161', 'Q1285116'] [{'concept': 'Q838948'}, 'P161', 'Q65496'] [{'concept': 'Q201658'}, 'P161', 'Q65496'] [{'concept': 'Q838948'}, 'P161', 'Q3155075'] [{'concept': 'Q201658'}, 'P161', 'Q3155075'] [{'concept': 'Q838948'}, 'P161', 'Q731703'] [{'concept': 'Q201658'}, 'P161', 'Q731703']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q3297652 resource:Q23062105 } UNION { ?y property:Q3297652 resource:Q23062105 } UNION { ?z property:Q3297652 resource:Q23062105 } UNION { ?y property:Q3297652 resource:Q23062105 } UNION { ?z property:Q3297652 resource:Q3705277 } UNION { ?y property:Q3297652 resource:Q3705277 } UNION { ?z property:Q3297652 resource:Q1711918 } UNION { ?y property:Q3297652 resource:Q1711918 } UNION { ?z property:Q3297652 resource:Q104787 } UNION { ?y property:Q3297652 resource:Q104787 } UNION { ?z property:Q3297652 resource:Q88709 } UNION { ?y property:Q3297652 resource:Q88709 } UNION { ?z property:Q3297652 resource:Q96911 } UNION { ?y property:Q3297652 resource:Q96911 } UNION { ?z property:Q3297652 resource:Q1285116 } UNION { ?y property:Q3297652 resource:Q1285116 } UNION { ?z property:Q3297652 resource:Q1282476 } UNION { ?y property:Q3297652 resource:Q1282476 } UNION { ?z property:Q3297652 resource:Q3155075 } UNION { ?y property:Q3297652 resource:Q3155075 } UNION { ?z property:Q3297652 resource:Q731703 } UNION { ?y property:Q3297652 resource:Q731703 } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q201658 }
Two Brothers Quax, der Bruchpilot Melody of a Great City The Cabinet of Doctor Larifari Children of the Street Two in a Big City The Star of Rio Poison Gas The Impossible Woman Above All Else in the World Five Million Look for an Heir Eva in Silk Johnny Steals Europe Tragedy of the Street Masks Three Bluejackets and a Blonde Clarissa Without Meyer, No Celebration is Complete The Heath Is Green Diesel Robert and Bertram Hilde and the Volkswagen Woman in the Moon Riding for Germany A Strange Guest The Escape to Nice The Girl at the Reception Tingel-Tangel Autobus S The Strange Night of Helga Wangen Bashful Felix Don't Lose Heart, Suzanne! Bachelor's Paradise The Tiger of Eschnapur The Gambler Angel in Séparée Twilight The Divine Jetta Der schwarze Husar Princess Turandot No Money Needed The Golden Spider Woman's Love—Woman's Suffering Emil and the Detectives You and I The Diva His Best Friend Madame Bovary Anastasia, the False Czar's Daughter The Man Who Was Sherlock Holmes Under the Lantern Paul and Pauline The Indian Tomb Wedding in Barenhof My Leopold Circus Renz Monika The Blue of Heaven
53 works of art and 5 film genres
[{'concept': 'work of art'}, 'cast member', 'Gerhard Dammann'] [{'concept': 'film genre'}, 'cast member', 'Gerhard Dammann'] [{'concept': 'work of art'}, 'cast member', 'Gerhard Dammann'] [{'concept': 'film genre'}, 'cast member', 'Gerhard Dammann'] [{'concept': 'work of art'}, 'cast member', 'Demetra Hampton'] [{'concept': 'film genre'}, 'cast member', 'Demetra Hampton'] [{'concept': 'work of art'}, 'cast member', 'Julia Serda'] [{'concept': 'film genre'}, 'cast member', 'Julia Serda'] [{'concept': 'work of art'}, 'cast member', 'Albert Florath'] [{'concept': 'film genre'}, 'cast member', 'Albert Florath'] [{'concept': 'work of art'}, 'cast member', 'Olga Engl'] [{'concept': 'film genre'}, 'cast member', 'Olga Engl'] [{'concept': 'work of art'}, 'cast member', 'Elga Brink'] [{'concept': 'film genre'}, 'cast member', 'Elga Brink'] [{'concept': 'work of art'}, 'cast member', 'Edith Oss'] [{'concept': 'film genre'}, 'cast member', 'Edith Oss'] [{'concept': 'work of art'}, 'cast member', 'Gustav Fröhlich'] [{'concept': 'film genre'}, 'cast member', 'Gustav Fröhlich'] [{'concept': 'work of art'}, 'cast member', 'Isabelle de Funès'] [{'concept': 'film genre'}, 'cast member', 'Isabelle de Funès'] [{'concept': 'work of art'}, 'cast member', 'Viggo Larsen'] [{'concept': 'film genre'}, 'cast member', 'Viggo Larsen']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:cast_member resource:Gerhard_Dammann } UNION { ?y property:cast_member resource:Gerhard_Dammann } UNION { ?z property:cast_member resource:Gerhard_Dammann } UNION { ?y property:cast_member resource:Gerhard_Dammann } UNION { ?z property:cast_member resource:Demetra_Hampton } UNION { ?y property:cast_member resource:Demetra_Hampton } UNION { ?z property:cast_member resource:Julia_Serda } UNION { ?y property:cast_member resource:Julia_Serda } UNION { ?z property:cast_member resource:Albert_Florath } UNION { ?y property:cast_member resource:Albert_Florath } UNION { ?z property:cast_member resource:Olga_Engl } UNION { ?y property:cast_member resource:Olga_Engl } UNION { ?z property:cast_member resource:Elga_Brink } UNION { ?y property:cast_member resource:Elga_Brink } UNION { ?z property:cast_member resource:Edith_Oss } UNION { ?y property:cast_member resource:Edith_Oss } UNION { ?z property:cast_member resource:Gustav_Fröhlich } UNION { ?y property:cast_member resource:Gustav_Fröhlich } UNION { ?z property:cast_member resource:Isabelle_de_Funès } UNION { ?y property:cast_member resource:Isabelle_de_Funès } UNION { ?z property:cast_member resource:Viggo_Larsen } UNION { ?y property:cast_member resource:Viggo_Larsen } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:film_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q95074 Q15416 Q7725634
USER
How many fictional characters plays a role in atleast 1 television programs or literary works ?
(c(Q15416)|c(Q7725634),P674,c(Q95074))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q15416
action find_reverse_tuple_counts
relation P674
type Q95074
type Q7725634
value 1
[[{'concept': 'Q15416'}, {'concept': 'Q7725634'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?v ) WHERE { VALUES ( ?n ) { ( ontology:Q15416 ) ( ontology:Q7725634 ) } . ?q rdf:type ?n } GROUP BY ?j } . FILTER ( ?v >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type television program
action find_reverse_tuple_counts
relation characters
type fictional character
type literary work
value 1
[[{'concept': 'television program'}, {'concept': 'literary work'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?v ) WHERE { VALUES ( ?n ) { ( ontology:television_program ) ( ontology:literary_work ) } . ?q rdf:type ?n } GROUP BY ?j } . FILTER ( ?v >= 1 ) }
[]
fictional character television program literary work
SYSTEM
36
Q4767744 Q7167342 Q17075849 Q2985575 Q1750634 Q461606 Q5656906 Q5354221 Q1080587 Q23762190 Q4653 Q14396915 Q610519 Q3704358 Q3939827 Q8002690 Q2715593 Q3603297 Q4755325 Q6748296 Q4749202 Q6929804 Q4795290 Q3056704 Q1616457 Q321349 Q3946354 Q3036775 Q9012447 Q6214458 Q4933846 Q1345373 Q8073344 Q3666688 Q661491 Q6524042
(c(Q15416)|c(Q7725634),P674,c(Q95074))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q15416
action find_reverse_tuple_counts
relation P674
type Q95074
type Q7725634
value 1
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q7725634'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?v ) WHERE { VALUES ( ?n ) { ( ontology:Q15416 ) ( ontology:Q7725634 ) } . ?q rdf:type ?n } GROUP BY ?j } . FILTER ( ?v >= 1 ) }
Annabeth Schott Percy Fitzwallace Danny Concannon K-9 Quasimodo Arsène Lupin Josh Lyman Eleanor Bartlet C. J. Cregg June Wheeler Sherlock Holmes Kate Harper Matt Santos Deborah Fiderer Rocky the Flying Squirrel Will Bailey Josiah Bartlet Abbey Bartlet Andrea Wyatt Mandy Hampton Amy Gardner Delores Landingham Arnold Vinick Erlking Mycroft Holmes Nick Knatterton Sam Seaborn Donna Moss John Hoynes Joey Lucas Bob Russell Toby Ziegler Zoey Bartlet Charlie Young Esméralda Leo McGarry
36
action count
action atleast
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type television program
action find_reverse_tuple_counts
relation characters
type fictional character
type literary work
value 1
[[{'concept': 'television program'}, {'concept': 'literary work'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?v ) WHERE { VALUES ( ?n ) { ( ontology:television_program ) ( ontology:literary_work ) } . ?q rdf:type ?n } GROUP BY ?j } . FILTER ( ?v >= 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q6076547
P725
Q502895 Q15619164
USER
How many abstract beings have been dubbed by less number of people than Pip Bernadotte ?
(c(Q15619164),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q6076547
relation P725
type Q502895
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?q ) WHERE { ?n property:P725 ?c . ?n rdf:type ontology:Q15619164 . ?c rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:Q6076547 property:P725 ?z . ?z rdf:type ontology:Q502895 } } . FILTER ( ?q < ?r ) }
Pip Bernadotte
action count
action less
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Pip Bernadotte
relation voice actor
type common name
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?q ) WHERE { ?n property:voice_actor ?c . ?n rdf:type ontology:abstract_being . ?c rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:Pip_Bernadotte property:voice_actor ?z . ?z rdf:type ontology:common_name } } . FILTER ( ?q < ?r ) }
[]
common name abstract being
SYSTEM
92
Q15537062 Q819724 Q22079436 Q15502715 Q21006905 Q11339793 Q820011 Q819644 Q15648502 Q15502566 Q638630 Q15728188 Q15648510 Q1134585 Q15728185 Q820088 Q4701169 Q15884361 Q15956614 Q2079562 Q1161155 Q819500 Q27691284 Q3805994 Q15632347 Q15632342 Q15632343 Q11331437 Q15632348 Q819748 Q21027734 Q15502591 Q682371 Q15990697 Q15958700 Q15502577 Q2779377 Q2558257 Q15712269 Q15502620 Q27334870 Q27265636 Q49352 Q552682 Q5957609 Q728718 Q15502538 Q15490560 Q27300001 Q849700 Q15502637 Q27613927 Q819804 Q16995485 Q18292066 Q15502733 Q15956634 Q15970363 Q3605971 Q1076302 Q15502526 Q21030278 Q15990717 Q613241 Q15966747 Q18292143 Q18934600 Q27493776 Q3201327 Q819544 Q15961663 Q909655 Q16005386 Q16003600 Q15731593 Q17634983 Q2291498 Q849758 Q27680001 Q2332475 Q1200192 Q2082802 Q4000019 Q15502552 Q3937809 Q15502464 Q2738631 Q15846552 Q5480 Q935079 Q18468944 Q15537046
(c(Q15619164),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q6076547
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?q ) WHERE { ?n property:P725 ?c . ?n rdf:type ontology:Q15619164 . ?c rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:Q6076547 property:P725 ?z . ?z rdf:type ontology:Q502895 } } . FILTER ( ?q < ?r ) }
Manami Tamura Lady Vashj Maz Kanata Nana Nishigaki Lionel Fusco My Melody Sylvanas Windrunner Kael'thas Sunstrider Haruka Takayama Ayano Sugiura Larry Laffer Renge Miyauchi Yuu Sonoda Hiroshi Nohara Hotaru Ichijo Thrall Akira Okuzaki Honoka Kōsaka Tamako Kitashirakawa SHODAN MZ/X Grom Hellscream Alma Diaz Jacqueline Natla Haruka Nishida Kana Nakamachi Amano Saki Pikmin Mika Kujiin Maiev Shadowsong Young Link Sakurako Ohmuro Index Kotone Noda Dera Mochimazzwi Chitose Ikeda Mimi Tachikawa Rose Mitsuki Sonoda Rise Matsumoto Miku Hatsune Append (Dark) Len Kagamine Gena the Crocodile Hatsune Miku Rin Kagamine Rukia Kuchiki Yui Funami Sawako Yamanaka Adam Jensen Deathwing Akane Akaza Thomas Burke Malfurion Stormrage Hiro Takachiho Sora Takenouchi Mirakurun Mochizō Ōji Larson Conway Aerie Isaac Kleiner Kyōko Toshinō Toon Link Konari Koshigaya el niño rata Seiji Amasawa Koushirou "Izzy" Izumi Asuna Yūki Miku Hatsune Append (Sweet) Kōzō Fuyutsuki Illidan Stormrage Shijuku Tsukishima Kagamine Rin/Len Kazuho Miyauchi Lizuka Yuzu Shizuku Minami Christopher Thorndyke Taichi Yagami Vol'jin Danny Burke Yamato "Matt" Ishida Midna Sakura Kinomoto Tsumugi Kotobuki Chinatsu Yoshikawa Ritsu Tainaka Akari Akaza Anna Williams Natsumi Koshigaya Bart Simpson SpongeBob SquarePants Kirito Kirino Kosaka
92
action count
action less
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Pip Bernadotte
relation voice actor
type common name
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?q ) WHERE { ?n property:voice_actor ?c . ?n rdf:type ontology:abstract_being . ?c rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:Pip_Bernadotte property:voice_actor ?z . ?z rdf:type ontology:common_name } } . FILTER ( ?q < ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q282514
P725
Q502895 Q15619164
USER
And what about Alucard?
(c(Q15619164),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q282514
relation P725
type Q502895
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?c ) WHERE { ?z property:P725 ?v . ?z rdf:type ontology:Q15619164 . ?v rdf:type ontology:Q502895 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { resource:Q282514 property:P725 ?u . ?u rdf:type ontology:Q502895 } } . FILTER ( ?c < ?o ) }
Alucard
action count
action less
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Alucard
relation voice actor
type common name
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?c ) WHERE { ?z property:voice_actor ?v . ?z rdf:type ontology:abstract_being . ?v rdf:type ontology:common_name } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { resource:Alucard property:voice_actor ?u . ?u rdf:type ontology:common_name } } . FILTER ( ?c < ?o ) }
[]
common name abstract being
SYSTEM
92
Q15537062 Q819724 Q22079436 Q15502715 Q21006905 Q11339793 Q820011 Q819644 Q15648502 Q15502566 Q638630 Q15728188 Q15648510 Q1134585 Q15728185 Q820088 Q4701169 Q15884361 Q15956614 Q2079562 Q1161155 Q819500 Q27691284 Q3805994 Q15632347 Q15632342 Q15632343 Q11331437 Q15632348 Q819748 Q21027734 Q15502591 Q682371 Q15990697 Q15958700 Q15502577 Q2779377 Q2558257 Q15712269 Q15502620 Q27334870 Q27265636 Q49352 Q552682 Q5957609 Q728718 Q15502538 Q15490560 Q27300001 Q849700 Q15502637 Q27613927 Q819804 Q16995485 Q18292066 Q15502733 Q15956634 Q15970363 Q3605971 Q1076302 Q15502526 Q21030278 Q15990717 Q613241 Q15966747 Q18292143 Q18934600 Q27493776 Q3201327 Q819544 Q15961663 Q909655 Q16005386 Q16003600 Q15731593 Q17634983 Q2291498 Q849758 Q27680001 Q2332475 Q1200192 Q2082802 Q4000019 Q15502552 Q3937809 Q15502464 Q2738631 Q15846552 Q5480 Q935079 Q18468944 Q15537046
(c(Q15619164),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q282514
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?c ) WHERE { ?z property:P725 ?v . ?z rdf:type ontology:Q15619164 . ?v rdf:type ontology:Q502895 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { resource:Q282514 property:P725 ?u . ?u rdf:type ontology:Q502895 } } . FILTER ( ?c < ?o ) }
Manami Tamura Lady Vashj Maz Kanata Nana Nishigaki Lionel Fusco My Melody Sylvanas Windrunner Kael'thas Sunstrider Haruka Takayama Ayano Sugiura Larry Laffer Renge Miyauchi Yuu Sonoda Hiroshi Nohara Hotaru Ichijo Thrall Akira Okuzaki Honoka Kōsaka Tamako Kitashirakawa SHODAN MZ/X Grom Hellscream Alma Diaz Jacqueline Natla Haruka Nishida Kana Nakamachi Amano Saki Pikmin Mika Kujiin Maiev Shadowsong Young Link Sakurako Ohmuro Index Kotone Noda Dera Mochimazzwi Chitose Ikeda Mimi Tachikawa Rose Mitsuki Sonoda Rise Matsumoto Miku Hatsune Append (Dark) Len Kagamine Gena the Crocodile Hatsune Miku Rin Kagamine Rukia Kuchiki Yui Funami Sawako Yamanaka Adam Jensen Deathwing Akane Akaza Thomas Burke Malfurion Stormrage Hiro Takachiho Sora Takenouchi Mirakurun Mochizō Ōji Larson Conway Aerie Isaac Kleiner Kyōko Toshinō Toon Link Konari Koshigaya el niño rata Seiji Amasawa Koushirou "Izzy" Izumi Asuna Yūki Miku Hatsune Append (Sweet) Kōzō Fuyutsuki Illidan Stormrage Shijuku Tsukishima Kagamine Rin/Len Kazuho Miyauchi Lizuka Yuzu Shizuku Minami Christopher Thorndyke Taichi Yagami Vol'jin Danny Burke Yamato "Matt" Ishida Midna Sakura Kinomoto Tsumugi Kotobuki Chinatsu Yoshikawa Ritsu Tainaka Akari Akaza Anna Williams Natsumi Koshigaya Bart Simpson SpongeBob SquarePants Kirito Kirino Kosaka
92
action count
action less
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Alucard
relation voice actor
type common name
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?c ) WHERE { ?z property:voice_actor ?v . ?z rdf:type ontology:abstract_being . ?v rdf:type ontology:common_name } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { resource:Alucard property:voice_actor ?u . ?u rdf:type ontology:common_name } } . FILTER ( ?c < ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3155075
P106
Q12737077
USER
Which occupations have Isabelle de Funès as his/her 's career ?
(Q3155075,P106,c(Q12737077))
action filter_type
action find
entity Q3155075
relation P106
type Q12737077
['Q3155075', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3155075 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Isabelle de Funès
action filter_type
action find
entity Isabelle de Funès
relation occupation
type occupation
['Isabelle de Funès', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Isabelle_de_Funès property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q33231 Q33999
SYSTEM
photographer, actor
Q33231 Q33999
(Q3155075,P106,c(Q12737077))
action filter_type
action find
entity Q3155075
relation P106
type Q12737077
The [ANSWERS] have Isabelle de Funès as his/her 's career
['Q3155075', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3155075 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
photographer actor
The photographer and actor have Isabelle de Funès as his/her 's career
photographer actor
action filter_type
action find
entity Isabelle de Funès
relation occupation
type occupation
['Isabelle de Funès', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Isabelle_de_Funès property:occupation ?m . ?m rdf:type ontology:occupation }
[]