Simple Question (Direct)
Simple Question
Q7786625
P39
Q12737077
USER
What was the position for which Thodoris Dritsas was appointed ?
(Q7786625,P39,c(Q12737077))
action filter_type
action find
entity Q7786625
relation P39
type Q12737077
['Q7786625', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q7786625 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Thodoris Dritsas
action filter_type
action find
entity Thodoris Dritsas
relation position held
type occupation
['Thodoris Dritsas', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Thodoris_Dritsas property:position_held ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q18915989
SYSTEM
Member of the Hellenic Parliament
Q18915989
(Q7786625,P39,c(Q12737077))
action filter_type
action find
entity Q7786625
relation P39
type Q12737077
The [ANSWER]
['Q7786625', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q7786625 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Member of the Hellenic Parliament
The Member of the Hellenic Parliament
Member of the Hellenic Parliament
action filter_type
action find
entity Thodoris Dritsas
relation position held
type occupation
['Thodoris Dritsas', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Thodoris_Dritsas property:position_held ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7786625
P21
Q290
USER
Which sex does Thodoris Dritsas belong to ?
(Q7786625,P21,c(Q290))
action filter_type
action find
entity Q7786625
relation P21
type Q290
['Q7786625', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q7786625 property:P21 ?h . ?h rdf:type ontology:Q290 }
Thodoris Dritsas
action filter_type
action find
entity Thodoris Dritsas
relation gender
type sex
['Thodoris Dritsas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Thodoris_Dritsas property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7786625,P21,c(Q290))
action filter_type
action find
entity Q7786625
relation P21
type Q290
Thodoris Dritsas belongs to [ANSWER]
['Q7786625', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q7786625 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
Thodoris Dritsas belongs to male
male
action filter_type
action find
entity Thodoris Dritsas
relation gender
type sex
['Thodoris Dritsas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Thodoris_Dritsas property:gender ?h . ?h rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q5108283
P21
Q502895
USER
Is Chris Tolley a that sex ?
(Q5108283,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q5108283
relation P21
['Q5108283', 'P21', 'Q6581097']
ASK WHERE { resource:Q5108283 property:P21 resource:Q6581097 }
male Chris Tolley
action is_in
entity male
action find
entity Chris Tolley
relation gender
['Chris Tolley', 'gender', 'male']
ASK WHERE { resource:Chris_Tolley property:gender resource:male }
[]
common name
SYSTEM
YES
(Q5108283,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q5108283
relation P21
[ANSWER]
['Q5108283', 'P21', 'Q6581097']
ASK WHERE { resource:Q5108283 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Chris Tolley
relation gender
['Chris Tolley', 'gender', 'male']
ASK WHERE { resource:Chris_Tolley property:gender resource:male }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saint of approximately 3 occupations ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:P417 ?a . ?f rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?e = 3 ) }
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:patron_saint ?a . ?f rdf:type ontology:occupation . ?a rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?e = 3 ) }
[]
common name occupation
Q128538 Q192816 Q200895
SYSTEM
Luke the Evangelist, Saint Barbara, Agatha of Sicily
Q128538 Q192816 Q200895
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[ANSWERS] are the patron saint of approximately 3 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:P417 ?a . ?f rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?e = 3 ) }
Luke the Evangelist Saint Barbara Agatha of Sicily
Luke the Evangelist, Saint Barbara and Agatha of Sicily are the patron saint of approximately 3 occupations
Luke the Evangelist Saint Barbara Agatha of Sicily
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:patron_saint ?a . ?f rdf:type ontology:occupation . ?a rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?e = 3 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q943192
P725
Q502895 Q11424
USER
Which films had more number of people as the dubbing artist than Fantasia ?
(c(Q11424),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q943192
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?n ) WHERE { ?u property:P725 ?z . ?z rdf:type ontology:Q502895 . ?u rdf:type ontology:Q11424 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Q943192 property:P725 ?r . ?r rdf:type ontology:Q11424 } } . FILTER ( ?n > ?o ) }
Fantasia
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Fantasia
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?n ) WHERE { ?u property:voice_actor ?z . ?z rdf:type ontology:common_name . ?u rdf:type ontology:film } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Fantasia property:voice_actor ?r . ?r rdf:type ontology:film } } . FILTER ( ?n > ?o ) }
[]
common name film
Q190135 Q19090 Q271189
SYSTEM
The Little Mermaid, Robin Hood, Hercules
Q1235519 Q378913 Q4499813 Q3038714 Q191753 Q6929072 Q1138751 Q785294 Q6296387 Q204662 Q521082 Q713543 Q1764174 Q752301 Q270470 Q334132 Q449917 Q909740 Q842306 Q4341553 Q1491010 Q215518 Q156401 Q1160649 Q134430 Q215617 Q811980 Q254671 Q2918397 Q179673 Q216929 Q853718 Q374431 Q12084660 Q165512 Q578595 Q933887 Q329316 Q44817 Q29355 Q9019373 Q223359 Q213787 Q611739 Q980041 Q2898231 Q1418615 Q785363 Q869741 Q3588859 Q371490 Q1656435 Q3836716 Q1032225 Q264873 Q249967 Q19090 Q4189838 Q184701 Q2059996 Q1361113 Q190135 Q736731 Q318428 Q465275 Q218894 Q15270775 Q172284 Q202371 Q40302 Q19703751 Q189875 Q1513926 Q336012 Q43051 Q2299779 Q1494230 Q917278 Q1406374 Q2068444 Q498434 Q199839 Q36479 Q1634740 Q39722 Q40895 Q3190021 Q1102410 Q543486 Q271189 Q3226633 Q1195096 Q240852
(c(Q11424),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q943192
relation P725
type Q11424
[ANSWERS] had more number of people as the dubbing artist than Fantasia
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?n ) WHERE { ?u property:P725 ?z . ?z rdf:type ontology:Q502895 . ?u rdf:type ontology:Q11424 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Q943192 property:P725 ?r . ?r rdf:type ontology:Q11424 } } . FILTER ( ?n > ?o ) }
Panda and the Magic Serpent The Lord of the Rings Home Lucky Luke: The Daltons on the Run Cinderella Mr. Peabody & Sherman The Plague Dogs Captain of the Forest Rio 2 The Sword in the Stone Szaffi Cat City Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective The Chipmunk Adventure Krabat – The Sorcerer's Apprentice Saludos Amigos Pinocchio Tintin and the Lake of Sharks Aladdin Chicken Run Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty The Adventures of Lolo the Penguin Coonskin The Bugs Bunny/Road Runner Movie Beauty and the Beast Oliver & Company Fun and Fancy Free The Tigger Movie The Princess and the Goblin One Hundred and One Dalmatians Paprika Tintin and the Temple of the Sun The Black Cauldron The Little Fox Space Dogs The Legend of the North Wind Rio The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin The Real Shlemiel Fritz the Cat The Time Masters Melody Time Emilie Jolie Son of the White Mare Ico, the Brave Horse The Looney Looney Looney Bugs Bunny Movie Foam Bath Willy the Sparrow Hotel Transylvania Robin Hood Starchaser: The Legend of Orin The Aristocats My Little Pony: The Movie Pooh's Heffalump Movie The Little Mermaid The Three Caballeros Wallace & Gromit: The Curse of the Were-Rabbit Fantastic Mr. Fox Pocahontas Hotel Transylvania 2 Lady and the Tramp The Rescuers Down Under The Fox and the Hound Millionaire Dogs Alice in Wonderland Magic Boy The Girl Who Leapt Through Time Bambi Animal Farms Garfield Gets Real Tokyo Godfathers Piglet's Big Movie Felix the Cat: The Movie The Many Adventures of Winnie the Pooh The Jungle Book The Lion King Jungledyret Hugo The Rescuers Dumbo Jungledyret Hugo - den store filmhelt Johnny Corncob Daisy Town Hercules Renart the Fox Havoc in Heaven FernGully: The Last Rainforest
The Little Mermaid, Robin Hood and Hercules had more number of people as the dubbing artist than Fantasia
The Little Mermaid Robin Hood Hercules
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Fantasia
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?n ) WHERE { ?u property:voice_actor ?z . ?z rdf:type ontology:common_name . ?u rdf:type ontology:film } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Fantasia property:voice_actor ?r . ?r rdf:type ontology:film } } . FILTER ( ?n > ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q191753
P725
Q502895 Q11424
USER
And what about Cinderella?
(c(Q11424),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q191753
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?v ) WHERE { ?n property:P725 ?c . ?n rdf:type ontology:Q11424 . ?c rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Q191753 property:P725 ?m . ?m rdf:type ontology:Q11424 } } . FILTER ( ?v > ?k ) }
Cinderella
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Cinderella
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?v ) WHERE { ?n property:voice_actor ?c . ?n rdf:type ontology:film . ?c rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Cinderella property:voice_actor ?m . ?m rdf:type ontology:film } } . FILTER ( ?v > ?k ) }
[]
common name film
Q190135 Q271189 Q165512
SYSTEM
The Little Mermaid, Hercules, One Hundred and One Dalmatians
Q179673 Q216929 Q165512 Q933887 Q184701 Q190135 Q15270775 Q189875 Q39722 Q271189
(c(Q11424),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q191753
relation P725
type Q11424
[ANSWERS]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?v ) WHERE { ?n property:P725 ?c . ?n rdf:type ontology:Q11424 . ?c rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Q191753 property:P725 ?m . ?m rdf:type ontology:Q11424 } } . FILTER ( ?v > ?k ) }
Beauty and the Beast Oliver & Company One Hundred and One Dalmatians Tintin and the Temple of the Sun The Aristocats The Little Mermaid Hotel Transylvania 2 Alice in Wonderland The Rescuers Hercules
The Little Mermaid Hercules One Hundred and One Dalmatians
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Cinderella
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?v ) WHERE { ?n property:voice_actor ?c . ?n rdf:type ontology:film . ?c rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Cinderella property:voice_actor ?m . ?m rdf:type ontology:film } } . FILTER ( ?v > ?k ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P1441
Q11424 Q15707583
USER
How many films feature around the same number of fictional taxons as that film ?
(c(Q15707583),P1441,c(Q11424))
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q11424'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1441 ?y . ?z rdf:type ontology:Q15707583 . ?y rdf:type ontology:Q11424 }
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'film'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:present_in_work ?y . ?z rdf:type ontology:fictional_taxon . ?y rdf:type ontology:film }
[]
film fictional taxon
Comparative|Count over More/Less|Single entity type|Clarification
Q165512
SYSTEM
Did you mean One Hundred and One Dalmatians ?
(c(Q15707583),P1441,c(Q11424))
[ANSWER]
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q11424'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1441 ?y . ?z rdf:type ontology:Q15707583 . ?y rdf:type ontology:Q11424 }
Did you mean One Hundred and One Dalmatians ?
One Hundred and One Dalmatians
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'film'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:present_in_work ?y . ?z rdf:type ontology:fictional_taxon . ?y rdf:type ontology:film }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q15707583),P1441,c(Q11424))
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q11424'}]
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'film'}]
[]
SYSTEM
38
Q2299779 Q184701 Q943192 Q165512 Q1361113 Q1494230 Q40302 Q374431 Q329316 Q204662 Q213787 Q190135 Q1406374 Q39722 Q498434 Q200889 Q199839 Q218894 Q863963 Q270470 Q334132 Q40895 Q172284 Q202371 Q4341553 Q36479 Q189875 Q191753 Q19090 Q1090697 Q43051 Q271189 Q134430 Q215617 Q215518 Q179673 Q1195096 Q216929
(c(Q15707583),P1441,c(Q11424))
[ANSWER]
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q11424'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1441 ?y . ?z rdf:type ontology:Q15707583 . ?y rdf:type ontology:Q11424 }
Animal Farms The Aristocats Fantasia One Hundred and One Dalmatians Pooh's Heffalump Movie Garfield Gets Real The Fox and the Hound The Tigger Movie The Black Cauldron The Sword in the Stone The Hunchback of Notre Dame The Little Mermaid Piglet's Big Movie The Rescuers The Many Adventures of Winnie the Pooh Bambi II The Jungle Book Pocahontas The Adventures of Ichabod and Mr. Toad Peter Pan The Great Mouse Detective Dumbo Lady and the Tramp The Rescuers Down Under Pinocchio The Lion King Alice in Wonderland Cinderella Robin Hood Tom and Jerry: The Movie Bambi Hercules Snow White and the Seven Dwarfs Sleeping Beauty Aladdin Beauty and the Beast Havoc in Heaven Oliver & Company
38
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'film'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:present_in_work ?y . ?z rdf:type ontology:fictional_taxon . ?y rdf:type ontology:film }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q165512
P1441
Q95074
USER
Which fictional characters are present in One Hundred and One Dalmatians ?
(c(Q95074),P1441,Q165512)
action filter_type
action find_reverse
entity Q165512
relation P1441
type Q95074
[{'concept': 'Q95074'}, 'P1441', 'Q165512']
SELECT DISTINCT ?l WHERE { ?l property:P1441 resource:Q165512 . ?l rdf:type ontology:Q95074 }
One Hundred and One Dalmatians
action filter_type
action find_reverse
entity One Hundred and One Dalmatians
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'One Hundred and One Dalmatians']
SELECT DISTINCT ?l WHERE { ?l property:present_in_work resource:One_Hundred_and_One_Dalmatians . ?l rdf:type ontology:fictional_character }
[]
fictional character
Q388605 Q27145361 Q27145335
SYSTEM
Cruella de Vil, Roger Radcliffe, Perdita
Q27145277 Q27145408 Q27147821 Q27147751 Q27147551 Q27146120 Q27147304 Q27147973 Q27146027 Q27147896 Q27145977 Q27148236 Q27145361 Q27145553 Q388605 Q27147522 Q27145534 Q27146334 Q27147401 Q27147625 Q27145335 Q27147797 Q27148348 Q27147588
(c(Q95074),P1441,Q165512)
action filter_type
action find_reverse
entity Q165512
relation P1441
type Q95074
[ANSWERS] are present in One Hundred and One Dalmatians
[{'concept': 'Q95074'}, 'P1441', 'Q165512']
SELECT DISTINCT ?l WHERE { ?l property:P1441 resource:Q165512 . ?l rdf:type ontology:Q95074 }
Pongo Anita Radcliffe Duchess Danny Captain Rolly Nanny Princess Patch Countess Lucky Collie Roger Radcliffe Horace Cruella de Vil Colonel Jasper Penny Lucy Towser Perdita Queenie Labrador Sergeant Tibbs
Cruella de Vil, Roger Radcliffe and Perdita are present in One Hundred and One Dalmatians
Cruella de Vil Roger Radcliffe Perdita
action filter_type
action find_reverse
entity One Hundred and One Dalmatians
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'One Hundred and One Dalmatians']
SELECT DISTINCT ?l WHERE { ?l property:present_in_work resource:One_Hundred_and_One_Dalmatians . ?l rdf:type ontology:fictional_character }
[]