Simple Question (Direct)
Simple Question
Q6053322
P21
Q290
USER
Which sex does Birger Pontén possess ?
(Q6053322,P21,c(Q290))
action filter_type
action find
entity Q6053322
relation P21
type Q290
['Q6053322', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q6053322 property:P21 ?o . ?o rdf:type ontology:Q290 }
Birger Pontén
action filter_type
action find
entity Birger Pontén
relation gender
type sex
['Birger Pontén', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Birger_Pontén property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6053322,P21,c(Q290))
action filter_type
action find
entity Q6053322
relation P21
type Q290
Birger Pontén possesses un [ANSWER]
['Q6053322', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q6053322 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
Birger Pontén possesses un male
male
action filter_type
action find
entity Birger Pontén
relation gender
type sex
['Birger Pontén', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Birger_Pontén property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6053322
P40
Q502895
USER
Whose child is Birger Pontén ?
(c(Q502895),P40,Q6053322)
action filter_type
action find_reverse
entity Q6053322
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q6053322']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P40 resource:Q6053322 }
Birger Pontén
action filter_type
action find_reverse
entity Birger Pontén
relation child
type common name
[{'concept': 'common name'}, 'child', 'Birger Pontén']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:child resource:Birger_Pontén }
[]
common name
Q18954174
SYSTEM
Tekla Pontén
Q18954174
(c(Q502895),P40,Q6053322)
action filter_type
action find_reverse
entity Q6053322
relation P40
type Q502895
[ANSWER] is Birger Pontén
[{'concept': 'Q502895'}, 'P40', 'Q6053322']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P40 resource:Q6053322 }
Tekla Pontén
Tekla Pontén is Birger Pontén
Tekla Pontén
action filter_type
action find_reverse
entity Birger Pontén
relation child
type common name
[{'concept': 'common name'}, 'child', 'Birger Pontén']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:child resource:Birger_Pontén }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6053322
P25
Q502895
USER
Who was the mother of Birger Pontén ?
(Q6053322,P25,c(Q502895))
action filter_type
action find
entity Q6053322
relation P25
type Q502895
['Q6053322', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q6053322 property:P25 ?e . ?e rdf:type ontology:Q502895 }
Birger Pontén
action filter_type
action find
entity Birger Pontén
relation mother
type common name
['Birger Pontén', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Birger_Pontén property:mother ?e . ?e rdf:type ontology:common_name }
[]
common name
Q18954174
SYSTEM
Tekla Pontén
Q18954174
(Q6053322,P25,c(Q502895))
action filter_type
action find
entity Q6053322
relation P25
type Q502895
The mother of Birger Pontén was named [ANSWER]
['Q6053322', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q6053322 property:P25 ?e . ?e rdf:type ontology:Q502895 }
Tekla Pontén
The mother of Birger Pontén was named Tekla Pontén
Tekla Pontén
action filter_type
action find
entity Birger Pontén
relation mother
type common name
['Birger Pontén', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Birger_Pontén property:mother ?e . ?e rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q18954174 Q20971358
P25
Q502895
USER
Is Henri Nick the offspring of that one ?
(Q20971358,P25,Q18954174)
action is_in
entity Q20971358
action find
entity Q18954174
relation P25
['Q20971358', 'P25', 'Q18954174']
ASK WHERE { resource:Q18954174 property:P25 resource:Q20971358 }
Tekla Pontén Henri Nick
action is_in
entity Henri Nick
action find
entity Tekla Pontén
relation mother
['Henri Nick', 'mother', 'Tekla Pontén']
ASK WHERE { resource:Tekla_Pontén property:mother resource:Henri_Nick }
[]
common name
SYSTEM
NO
(Q20971358,P25,Q18954174)
action is_in
entity Q20971358
action find
entity Q18954174
relation P25
[ANSWER]
['Q20971358', 'P25', 'Q18954174']
ASK WHERE { resource:Q18954174 property:P25 resource:Q20971358 }
No
action is_in
entity Henri Nick
action find
entity Tekla Pontén
relation mother
['Henri Nick', 'mother', 'Tekla Pontén']
ASK WHERE { resource:Tekla_Pontén property:mother resource:Henri_Nick }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18954174
P9
Q502895
USER
Whose sister are Tekla Pontén ?
action filter_type
action find_reverse
entity Q18954174
relation P9
type Q502895
SELECT DISTINCT ?t WHERE { ?t property:P9 resource:Q18954174 . ?t rdf:type ontology:Q502895 }
Tekla Pontén
action filter_type
action find_reverse
entity Tekla Pontén
relation sister
type common name
SELECT DISTINCT ?t WHERE { ?t property:sister resource:Tekla_Pontén . ?t rdf:type ontology:common_name }
[]
common name
Q17265735 Q18245113
SYSTEM
Gustaf Pontén, Edward Pontén
Q17265735 Q18245113
action filter_type
action find_reverse
entity Q18954174
relation P9
type Q502895
[ANSWERS] are Tekla Pontén
SELECT DISTINCT ?t WHERE { ?t property:P9 resource:Q18954174 . ?t rdf:type ontology:Q502895 }
Gustaf Pontén Edward Pontén
Gustaf Pontén and Edward Pontén are Tekla Pontén
Gustaf Pontén Edward Pontén
action filter_type
action find_reverse
entity Tekla Pontén
relation sister
type common name
SELECT DISTINCT ?t WHERE { ?t property:sister resource:Tekla_Pontén . ?t rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
Which films had atmost 32 people as the dubbing artist ?
(c(Q11424),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 32
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?n ) WHERE { ?j property:P725 ?b . ?j rdf:type ontology:Q11424 . ?b rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?n <= 32 ) }
action atmost
action find_tuple_counts
relation voice actor
type film
type common name
value 32
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?n ) WHERE { ?j property:voice_actor ?b . ?j rdf:type ontology:film . ?b rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?n <= 32 ) }
[]
common name film
Q19090 Q270470 Q165512
SYSTEM
Robin Hood, Peter Pan, One Hundred and One Dalmatians
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 Q943192 Q2059996 Q1361113 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 Q3226633 Q1195096 Q240852
(c(Q11424),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 32
[ANSWERS] had atmost 32 people as the dubbing artist
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?n ) WHERE { ?j property:P725 ?b . ?j rdf:type ontology:Q11424 . ?b rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?n <= 32 ) }
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 Fantasia My Little Pony: The Movie Pooh's Heffalump Movie 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 Renart the Fox Havoc in Heaven FernGully: The Last Rainforest
Robin Hood, Peter Pan and One Hundred and One Dalmatians had atmost 32 people as the dubbing artist
Robin Hood Peter Pan One Hundred and One Dalmatians
action atmost
action find_tuple_counts
relation voice actor
type film
type common name
value 32
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?n ) WHERE { ?j property:voice_actor ?b . ?j rdf:type ontology:film . ?b rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?n <= 32 ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P941
Q386724 Q11424
USER
How many films did more number of works inspire than that film ?
(c(Q11424),P941,c(Q386724))
[{'concept': 'Q11424'}, 'P941', {'concept': 'Q386724'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q11424 . ?y rdf:type ontology:Q16532276 }
[{'concept': 'film'}, 'inspired by', {'concept': 'work'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:film . ?y rdf:type ontology:work }
[]
work film
Comparative|Count over More/Less|Single entity type|Clarification
Q165512
SYSTEM
Did you mean One Hundred and One Dalmatians ?
(c(Q11424),P941,c(Q386724))
[ANSWER]
[{'concept': 'Q11424'}, 'P941', {'concept': 'Q386724'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q11424 . ?y rdf:type ontology:Q16532276 }
Did you mean One Hundred and One Dalmatians ?
One Hundred and One Dalmatians
[{'concept': 'film'}, 'inspired by', {'concept': 'work'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:film . ?y rdf:type ontology:work }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Robin Hood. Could you tell me the answer for that?
(c(Q11424),P941,c(Q386724))
Q19090
[{'concept': 'Q11424'}, 'P941', {'concept': 'Q386724'}]
[{'concept': 'film'}, 'inspired by', {'concept': 'work'}]
[]
SYSTEM
1
Q19090
(c(Q11424),P941,c(Q386724))
[ANSWER]
[{'concept': 'Q11424'}, 'P941', {'concept': 'Q386724'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q11424 . ?y rdf:type ontology:Q16532276 }
Robin Hood
1
[{'concept': 'film'}, 'inspired by', {'concept': 'work'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:film . ?y rdf:type ontology:work }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q330468 Q18245113
P161 P22
Q502895
USER
Which people were the dad of Edward Pontén or were casted in Om Shanti Om ?
OR((Q18245113,P22,c(Q502895)), (Q330468,P161,c(Q502895)))
action filter_type
action union
action find
entity Q18245113
relation P22
action find
entity Q330468
relation P161
type Q502895
{'OR': [['Q18245113', 'P22', {'concept': 'Q502895'}], ['Q330468', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q330468 property:P161 ?s } UNION { resource:Q18245113 property:P22 ?s } } . ?s rdf:type ontology:Q502895 }
Om Shanti Om Edward Pontén
action filter_type
action union
action find
entity Edward Pontén
relation father
action find
entity Om Shanti Om
relation cast member
type common name
{'OR': [['Edward Pontén', 'father', {'concept': 'common name'}], ['Om Shanti Om', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Om_Shanti_Om property:cast_member ?s } UNION { resource:Edward_Pontén property:father ?s } } . ?s rdf:type ontology:common_name }
[]
common name
Q465826 Q159178 Q9535 Q233619 Q3624766 Q233748 Q252290 Q147395 Q485557 Q442668
SYSTEM
Some of them are Rekha, Deepika Padukone, Shah Rukh Khan, Hrithik Roshan, Asawari Joshi, Akshay Kumar, Saif Ali Khan, Kajol, Rani Mukherjee, Arjun Rampal
Q188671 Q252290 Q270665 Q465826 Q442668 Q184885 Q2726196 Q3624766 Q233748 Q158136 Q158957 Q18245131 Q466080 Q1612623 Q290438 Q9570 Q8062169 Q167636 Q485557 Q9535 Q147395 Q187058 Q159178 Q233619 Q158266 Q310867
OR((Q18245113,P22,c(Q502895)), (Q330468,P161,c(Q502895)))
action filter_type
action union
action find
entity Q18245113
relation P22
action find
entity Q330468
relation P161
type Q502895
[ANSWERS] were the dad of Edward Pontén or were casted in Om Shanti Om
{'OR': [['Q18245113', 'P22', {'concept': 'Q502895'}], ['Q330468', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q330468 property:P161 ?s } UNION { resource:Q18245113 property:P22 ?s } } . ?s rdf:type ontology:Q502895 }
Preity Zinta Saif Ali Khan Shilpa Shetty Rekha Arjun Rampal Kareena Kapoor Shreyas Talpade Asawari Joshi Akshay Kumar Kirron Kher Priyanka Chopra Johan Anton Pontén Dia Mirza Satish Shah Lara Dutta Amitabh Bachchan Yuvika Chaudhary Farah Khan Rani Mukherjee Shah Rukh Khan Kajol Abhishek Bachchan Deepika Padukone Hrithik Roshan Bindu Sanjay Dutt
Rekha, Deepika Padukone, Shah Rukh Khan, Hrithik Roshan, Asawari Joshi, Akshay Kumar, Saif Ali Khan, Kajol, Rani Mukherjee and Arjun Rampal were the dad of Edward Pontén or were casted in Om Shanti Om
Rekha Deepika Padukone Shah Rukh Khan Hrithik Roshan Asawari Joshi Akshay Kumar Saif Ali Khan Kajol Rani Mukherjee Arjun Rampal
action filter_type
action union
action find
entity Edward Pontén
relation father
action find
entity Om Shanti Om
relation cast member
type common name
{'OR': [['Edward Pontén', 'father', {'concept': 'common name'}], ['Om Shanti Om', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Om_Shanti_Om property:cast_member ?s } UNION { resource:Edward_Pontén property:father ?s } } . ?s rdf:type ontology:common_name }
[]