Simple Question (Direct)
Simple Question
Q515951
P106
Q12737077
USER
Which occupations have Endre Bartay as his/her 's career ?
(Q515951,P106,c(Q12737077))
action filter_type
action find
entity Q515951
relation P106
type Q12737077
['Q515951', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q515951 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Endre Bartay
action filter_type
action find
entity Endre Bartay
relation occupation
type occupation
['Endre Bartay', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Endre_Bartay property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q36834 Q158852 Q1231865
SYSTEM
composer, conductor, educationist
Q158852 Q1231865 Q36834 Q1776724
(Q515951,P106,c(Q12737077))
action filter_type
action find
entity Q515951
relation P106
type Q12737077
[ANSWERS] have Endre Bartay as his/her 's career
['Q515951', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q515951 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
conductor educationist composer theatre manager
Composer, conductor and educationist have Endre Bartay as his/her 's career
composer conductor educationist
action filter_type
action find
entity Endre Bartay
relation occupation
type occupation
['Endre Bartay', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Endre_Bartay property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q36834 Q158852 Q1231865
P101
Q502895
USER
Which people have his/her area as composer, conductor and educationist ?
(c(Q502895),P101,Q36834) (c(Q502895),P101,Q158852) (c(Q502895),P101,Q1231865)
action union
action filter_type
action find_reverse
entity Q36834
relation P101
type Q502895
action filter_type
action find_reverse
entity Q158852
relation P101
type Q502895
action filter_type
action find_reverse
entity Q1231865
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q36834'] [{'concept': 'Q502895'}, 'P101', 'Q158852'] [{'concept': 'Q502895'}, 'P101', 'Q1231865']
SELECT DISTINCT ?t WHERE { { ?t property:P101 resource:Q158852 . ?t rdf:type ontology:Q502895 } UNION { ?t property:P101 resource:Q36834 . ?t rdf:type ontology:Q502895 } }
composer conductor educationist
action union
action filter_type
action find_reverse
entity composer
relation field of work
type common name
action filter_type
action find_reverse
entity conductor
relation field of work
type common name
action filter_type
action find_reverse
entity educationist
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'composer'] [{'concept': 'common name'}, 'field of work', 'conductor'] [{'concept': 'common name'}, 'field of work', 'educationist']
SELECT DISTINCT ?t WHERE { { ?t property:field_of_work resource:conductor . ?t rdf:type ontology:common_name } UNION { ?t property:field_of_work resource:composer . ?t rdf:type ontology:common_name } }
[]
common name
Q2624029 Q554775 Q554775
SYSTEM
António Feliciano de Castilho for 1st, Frans Bak for 2nd, 3rd
Q554775 Q18171888 Q554775 Q2624029
(c(Q502895),P101,Q36834) (c(Q502895),P101,Q158852) (c(Q502895),P101,Q1231865)
action union
action filter_type
action find_reverse
entity Q36834
relation P101
type Q502895
action filter_type
action find_reverse
entity Q158852
relation P101
type Q502895
action filter_type
action find_reverse
entity Q1231865
relation P101
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P101', 'Q36834'] [{'concept': 'Q502895'}, 'P101', 'Q158852'] [{'concept': 'Q502895'}, 'P101', 'Q1231865']
SELECT DISTINCT ?t WHERE { { ?t property:P101 resource:Q158852 . ?t rdf:type ontology:Q502895 } UNION { ?t property:P101 resource:Q36834 . ?t rdf:type ontology:Q502895 } }
Frans Bak Kim André Arnesen Frans Bak António Feliciano de Castilho
António Feliciano de Castilho, Frans Bak and Frans Bak have his/her area as composer, conductor and educationist
António Feliciano de Castilho Frans Bak Frans Bak
action union
action filter_type
action find_reverse
entity composer
relation field of work
type common name
action filter_type
action find_reverse
entity conductor
relation field of work
type common name
action filter_type
action find_reverse
entity educationist
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'composer'] [{'concept': 'common name'}, 'field of work', 'conductor'] [{'concept': 'common name'}, 'field of work', 'educationist']
SELECT DISTINCT ?t WHERE { { ?t property:field_of_work resource:conductor . ?t rdf:type ontology:common_name } UNION { ?t property:field_of_work resource:composer . ?t rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2624029
P22
Q502895
USER
Which person has António Feliciano de Castilho as a parent ?
(c(Q502895),P22,Q2624029)
action filter_type
action find_reverse
entity Q2624029
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q2624029']
SELECT DISTINCT ?h WHERE { ?h property:P22 resource:Q2624029 . ?h rdf:type ontology:Q502895 }
António Feliciano de Castilho
action filter_type
action find_reverse
entity António Feliciano de Castilho
relation father
type common name
[{'concept': 'common name'}, 'father', 'António Feliciano de Castilho']
SELECT DISTINCT ?h WHERE { ?h property:father resource:António_Feliciano_de_Castilho . ?h rdf:type ontology:common_name }
[]
common name
Q10313493
SYSTEM
Júlio de Castilho
Q10313493
(c(Q502895),P22,Q2624029)
action filter_type
action find_reverse
entity Q2624029
relation P22
type Q502895
[ANSWER] has António Feliciano de Castilho as a parent
[{'concept': 'Q502895'}, 'P22', 'Q2624029']
SELECT DISTINCT ?h WHERE { ?h property:P22 resource:Q2624029 . ?h rdf:type ontology:Q502895 }
Júlio de Castilho
Júlio de Castilho has António Feliciano de Castilho as a parent
Júlio de Castilho
action filter_type
action find_reverse
entity António Feliciano de Castilho
relation father
type common name
[{'concept': 'common name'}, 'father', 'António Feliciano de Castilho']
SELECT DISTINCT ?h WHERE { ?h property:father resource:António_Feliciano_de_Castilho . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10313493
P40
Q502895
USER
Which person has that one as a child ?
(c(Q502895),P40,Q10313493)
action filter_type
action find_reverse
entity Q10313493
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q10313493']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P40 resource:Q10313493 }
Júlio de Castilho
action filter_type
action find_reverse
entity Júlio de Castilho
relation child
type common name
[{'concept': 'common name'}, 'child', 'Júlio de Castilho']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:child resource:Júlio_de_Castilho }
[]
common name
Q2624029
SYSTEM
António Feliciano de Castilho
Q2624029
(c(Q502895),P40,Q10313493)
action filter_type
action find_reverse
entity Q10313493
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q10313493']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P40 resource:Q10313493 }
António Feliciano de Castilho
António Feliciano de Castilho has that one as a child
António Feliciano de Castilho
action filter_type
action find_reverse
entity Júlio de Castilho
relation child
type common name
[{'concept': 'common name'}, 'child', 'Júlio de Castilho']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:child resource:Júlio_de_Castilho }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by approximately 2947 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2947
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P1303 ?y . ?w rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } . FILTER ( ?k = 2947 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2947
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:instrument ?y . ?w rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } . FILTER ( ?k = 2947 ) }
[]
musical instrument common name
SYSTEM
3
Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2947
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P1303 ?y . ?w rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } . FILTER ( ?k = 2947 ) }
trumpet organ drum kit
3
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2947
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:instrument ?y . ?w rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } . FILTER ( ?k = 2947 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q869741
P725
Q502895 Q11424
USER
Which films did greater number of people do the dubbing for than Melody Time ?
(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 Q869741
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?x ) WHERE { ?p property:P725 ?o . ?p rdf:type ontology:Q11424 . ?o rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?x > ?s ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Q869741 property:P725 ?l . ?l rdf:type ontology:Q11424 } } }
Melody Time
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Melody Time
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?x ) WHERE { ?p property:voice_actor ?o . ?p rdf:type ontology:film . ?o rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?x > ?s ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Melody_Time property:voice_actor ?l . ?l rdf:type ontology:film } } }
[]
common name film
Q190135 Q19090 Q271189
SYSTEM
The Little Mermaid, Robin Hood, Hercules
Q378913 Q4499813 Q191753 Q6929072 Q785294 Q6296387 Q204662 Q521082 Q1764174 Q752301 Q270470 Q334132 Q4341553 Q1491010 Q215518 Q156401 Q1160649 Q134430 Q215617 Q811980 Q179673 Q216929 Q853718 Q374431 Q12084660 Q165512 Q578595 Q933887 Q329316 Q44817 Q223359 Q213787 Q611739 Q980041 Q3588859 Q249967 Q19090 Q184701 Q2059996 Q190135 Q736731 Q318428 Q465275 Q218894 Q15270775 Q172284 Q202371 Q40302 Q189875 Q43051 Q917278 Q1406374 Q498434 Q199839 Q36479 Q39722 Q40895 Q1102410 Q271189 Q3226633
(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 Q869741
relation P725
type Q11424
Greater number of people did the dubbing of [ANSWERS] for than Melody Time
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?x ) WHERE { ?p property:P725 ?o . ?p rdf:type ontology:Q11424 . ?o rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?x > ?s ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Q869741 property:P725 ?l . ?l rdf:type ontology:Q11424 } } }
The Lord of the Rings Home Cinderella Mr. Peabody & Sherman Captain of the Forest Rio 2 The Sword in the Stone Szaffi Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective 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 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 Rio The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin Emilie Jolie Hotel Transylvania Robin Hood The Aristocats My Little Pony: The 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 Alice in Wonderland Bambi Tokyo Godfathers Piglet's Big Movie The Many Adventures of Winnie the Pooh The Jungle Book The Lion King The Rescuers Dumbo Johnny Corncob Hercules Renart the Fox
Greater number of people did the dubbing of The Little Mermaid, Robin Hood and Hercules for than Melody Time
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 Melody Time
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?x ) WHERE { ?p property:voice_actor ?o . ?p rdf:type ontology:film . ?o rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?x > ?s ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Melody_Time property:voice_actor ?l . ?l rdf:type ontology:film } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q842306
P725
Q502895 Q11424
USER
And also tell me about Saludos Amigos?
(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 Q842306
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?r ) WHERE { ?a property:P725 ?e . ?e rdf:type ontology:Q502895 . ?a rdf:type ontology:Q11424 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:Q11424 . resource:Q842306 property:P725 ?x } } . FILTER ( ?r > ?d ) }
Saludos Amigos
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Saludos Amigos
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?r ) WHERE { ?a property:voice_actor ?e . ?e rdf:type ontology:common_name . ?a rdf:type ontology:film } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:film . resource:Saludos_Amigos property:voice_actor ?x } } . FILTER ( ?r > ?d ) }
[]
common name film
Q190135 Q19090 Q271189
SYSTEM
The Little Mermaid, Robin Hood, Hercules
Q1235519 Q378913 Q4499813 Q3038714 Q191753 Q6929072 Q785294 Q6296387 Q204662 Q521082 Q713543 Q1764174 Q752301 Q270470 Q334132 Q449917 Q4341553 Q1491010 Q215518 Q156401 Q1160649 Q134430 Q215617 Q811980 Q254671 Q179673 Q216929 Q853718 Q374431 Q12084660 Q165512 Q578595 Q933887 Q329316 Q44817 Q9019373 Q223359 Q213787 Q611739 Q980041 Q869741 Q3588859 Q371490 Q3836716 Q1032225 Q264873 Q249967 Q19090 Q4189838 Q184701 Q2059996 Q190135 Q736731 Q318428 Q465275 Q218894 Q15270775 Q172284 Q202371 Q40302 Q19703751 Q189875 Q336012 Q43051 Q1494230 Q917278 Q1406374 Q2068444 Q498434 Q199839 Q36479 Q1634740 Q39722 Q40895 Q3190021 Q1102410 Q543486 Q271189 Q3226633 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 Q842306
relation P725
type Q11424
[ANSWERS]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?r ) WHERE { ?a property:P725 ?e . ?e rdf:type ontology:Q502895 . ?a rdf:type ontology:Q11424 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:Q11424 . resource:Q842306 property:P725 ?x } } . FILTER ( ?r > ?d ) }
Panda and the Magic Serpent The Lord of the Rings Home Lucky Luke: The Daltons on the Run Cinderella Mr. Peabody & Sherman 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 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 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 The Legend of the North Wind Rio The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin Melody Time Emilie Jolie Son of the White Mare 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 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 The Girl Who Leapt Through Time Bambi 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 FernGully: The Last Rainforest
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 Saludos Amigos
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?r ) WHERE { ?a property:voice_actor ?e . ?e rdf:type ontology:common_name . ?a rdf:type ontology:film } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:film . resource:Saludos_Amigos property:voice_actor ?x } } . FILTER ( ?r > ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q190135
P144
Q1144661
USER
Which amusement ride is derived from The Little Mermaid ?
(c(Q1144661),P144,Q190135)
action filter_type
action find_reverse
entity Q190135
relation P144
type Q1144661
[{'concept': 'Q1144661'}, 'P144', 'Q190135']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1144661 . ?a property:P144 resource:Q190135 }
The Little Mermaid
action filter_type
action find_reverse
entity The Little Mermaid
relation based on
type amusement ride
[{'concept': 'amusement ride'}, 'based on', 'The Little Mermaid']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:amusement_ride . ?a property:based_on resource:The_Little_Mermaid }
[]
amusement ride
Q3521602
SYSTEM
The Little Mermaid ~ Ariel's Undersea Adventure
Q3521602
(c(Q1144661),P144,Q190135)
action filter_type
action find_reverse
entity Q190135
relation P144
type Q1144661
[ANSWER] is derived from The Little Mermaid
[{'concept': 'Q1144661'}, 'P144', 'Q190135']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1144661 . ?a property:P144 resource:Q190135 }
The Little Mermaid ~ Ariel's Undersea Adventure
The Little Mermaid ~ Ariel's Undersea Adventure is derived from The Little Mermaid
The Little Mermaid ~ Ariel's Undersea Adventure
action filter_type
action find_reverse
entity The Little Mermaid
relation based on
type amusement ride
[{'concept': 'amusement ride'}, 'based on', 'The Little Mermaid']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:amusement_ride . ?a property:based_on resource:The_Little_Mermaid }
[]