Simple Question (Direct)
Simple Question
Q96184
P1196
Q1931388
USER
What manner did Max Gülstorff die ?
(Q96184,P1196,c(Q1931388))
action filter_type
action find
entity Q96184
relation P1196
type Q1931388
['Q96184', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1931388 . resource:Q96184 property:P1196 ?w }
Max Gülstorff
action filter_type
action find
entity Max Gülstorff
relation manner of death
type cause of death
['Max Gülstorff', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:cause_of_death . resource:Max_Gülstorff property:manner_of_death ?w }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q96184,P1196,c(Q1931388))
action filter_type
action find
entity Q96184
relation P1196
type Q1931388
Max Gülstorff died in [ANSWER]
['Q96184', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1931388 . resource:Q96184 property:P1196 ?w }
natural causes
Max Gülstorff died in natural causes
natural causes
action filter_type
action find
entity Max Gülstorff
relation manner of death
type cause of death
['Max Gülstorff', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:cause_of_death . resource:Max_Gülstorff property:manner_of_death ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q96184
P161
Q838948
USER
What are the name of works of art staring Max Gülstorff ?
(c(Q838948),P161,Q96184)
action filter_type
action find_reverse
entity Q96184
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q96184']
SELECT DISTINCT ?n WHERE { ?n property:P161 resource:Q96184 . ?n rdf:type ontology:Q838948 }
Max Gülstorff
action filter_type
action find_reverse
entity Max Gülstorff
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Max Gülstorff']
SELECT DISTINCT ?n WHERE { ?n property:cast_member resource:Max_Gülstorff . ?n rdf:type ontology:work_of_art }
[]
work of art
Q3548707 Q500431 Q2677421
SYSTEM
Man Without a Name, Andreas Schlüter, Doctor Crippen
Q820571 Q17150569 Q3027333 Q21868913 Q19963705 Q16512681 Q15990788 Q568994 Q7718473 Q19894035 Q22000476 Q13423832 Q13359969 Q17155975 Q17059706 Q18209598 Q1199852 Q22000030 Q7979073 Q21869603 Q8019231 Q15039170 Q14952548 Q19286626 Q500431 Q7727772 Q21869509 Q2677421 Q3548707 Q22969049 Q19893100 Q1743590 Q21646640 Q21869432 Q21869793 Q1743945 Q1589593 Q322595 Q4673932 Q21869416 Q1194147 Q6785332 Q19871996 Q20002722 Q1379027 Q20743903 Q5223944
(c(Q838948),P161,Q96184)
action filter_type
action find_reverse
entity Q96184
relation P161
type Q838948
The name of works of art staring Max Gülstorff are The [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q96184']
SELECT DISTINCT ?n WHERE { ?n property:P161 resource:Q96184 . ?n rdf:type ontology:Q838948 }
Immensee The Black Robe Happy Days in Aranjuez Annette in Paradise The Armoured Vault The Star of Rio Henriette Jacoby Der Kongreß tanzt The Black Whale The Love Hotel Honour Thy Mother The Victor Die Feuerzangenbowle The False Step You Don't Forget Such a Girl A Salzburg Comedy The Broken Jug The Countess of Sand Wedding at Lake Wolfgang Mascots William Tell The Escape to Nice Scandal at the Fledermaus Jettchen Gebert's Story Andreas Schlüter The Countess of Monte-Christo The Lady with the Mask Doctor Crippen Man Without a Name Comrades Heaven, We Inherit a Castle Fruit in the Neighbour's Garden The Last Waltz Hurrah! I Live! The Secret Agent Kitty and the World Conference Happiness Is the Main Thing Der Raub der Mona Lisa Achtung! – Auto-Diebe! His Late Excellency The Captain from Köpenick Master of the World Charley's Aunt Young Hearts Viennese Girls The House of Three Girls Darling of the Gods
The name of works of art staring Max Gülstorff are The Man Without a Name, Andreas Schlüter and Doctor Crippen
Man Without a Name Andreas Schlüter Doctor Crippen
action filter_type
action find_reverse
entity Max Gülstorff
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Max Gülstorff']
SELECT DISTINCT ?n WHERE { ?n property:cast_member resource:Max_Gülstorff . ?n rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3548707
P462
Q1075
USER
Which color is that work of art associated with ?
(Q3548707,P462,c(Q1075))
action filter_type
action find
entity Q3548707
relation P462
type Q1075
['Q3548707', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?r WHERE { resource:Q3548707 property:P462 ?r . ?r rdf:type ontology:Q1075 }
Man Without a Name
action filter_type
action find
entity Man Without a Name
relation color
type color
['Man Without a Name', 'color', {'concept': 'color'}]
SELECT DISTINCT ?r WHERE { resource:Man_Without_a_Name property:color ?r . ?r rdf:type ontology:color }
[]
color
Clarification for simple ques.
Q500431
SYSTEM
Did you mean Andreas Schlüter ?
Q3548707 Q500431 Q2677421
(Q3548707,P462,c(Q1075)) (Q500431,P462,c(Q1075)) (Q2677421,P462,c(Q1075))
[ANSWER]
['Q3548707', 'P462', {'concept': 'Q1075'}] ['Q500431', 'P462', {'concept': 'Q1075'}] ['Q2677421', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?r WHERE { resource:Q3548707 property:P462 ?r . ?r rdf:type ontology:Q1075 }
Man Without a Name Andreas Schlüter Doctor Crippen
Did you mean Andreas Schlüter ?
Andreas Schlüter
['Man Without a Name', 'color', {'concept': 'color'}] ['Andreas Schlüter', 'color', {'concept': 'color'}] ['Doctor Crippen', 'color', {'concept': 'color'}]
SELECT DISTINCT ?r WHERE { resource:Man_Without_a_Name property:color ?r . ?r rdf:type ontology:color }
[]
Simple Question (Coreferenced)
USER
No, I meant Man Without a Name. Could you tell me the answer for that?
(Q3548707,P462,c(Q1075))
Q3548707
['Q3548707', 'P462', {'concept': 'Q1075'}]
['Man Without a Name', 'color', {'concept': 'color'}]
[]
Q2254548
SYSTEM
black-and-white film
Q2254548
(Q3548707,P462,c(Q1075))
action filter_type
action find
entity Q3548707
relation P462
type Q1075
That work of art is associated with [ANSWER]
['Q3548707', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?r WHERE { resource:Q3548707 property:P462 ?r . ?r rdf:type ontology:Q1075 }
black-and-white film
That work of art is associated with black-and-white film
black-and-white film
action filter_type
action find
entity Man Without a Name
relation color
type color
['Man Without a Name', 'color', {'concept': 'color'}]
SELECT DISTINCT ?r WHERE { resource:Man_Without_a_Name property:color ?r . ?r rdf:type ontology:color }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2254548
P136
Q838948 Q201658
USER
How many works of art and film genres have black-and-white film as their type ?
(c(Q838948),P136,Q2254548) (c(Q201658),P136,Q2254548)
action count
action union
action filter_type
action find_reverse
entity Q2254548
relation P136
type Q838948
action filter_type
action find_reverse
entity Q2254548
relation P136
type Q201658
[{'concept': 'Q838948'}, 'P136', 'Q2254548'] [{'concept': 'Q201658'}, 'P136', 'Q2254548']
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { ?d rdf:type ontology:Q838948 . ?d property:P136 resource:Q2254548 } UNION { ?d rdf:type ontology:Q201658 . ?d property:P136 resource:Q2254548 } }
black-and-white film
action count
action union
action filter_type
action find_reverse
entity black-and-white film
relation genre
type work of art
action filter_type
action find_reverse
entity black-and-white film
relation genre
type film genre
[{'concept': 'work of art'}, 'genre', 'black-and-white film'] [{'concept': 'film genre'}, 'genre', 'black-and-white film']
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { ?d rdf:type ontology:work_of_art . ?d property:genre resource:black-and-white_film } UNION { ?d rdf:type ontology:film_genre . ?d property:genre resource:black-and-white_film } }
[]
work of art film genre
SYSTEM
5 works of art and 1 film genres
Q3420032 Q3211582 Q192409 Q6161672 Q608943 Q472351
(c(Q838948),P136,Q2254548) (c(Q201658),P136,Q2254548)
action count
action union
action filter_type
action find_reverse
entity Q2254548
relation P136
type Q838948
action filter_type
action find_reverse
entity Q2254548
relation P136
type Q201658
[ANSWER]
[{'concept': 'Q838948'}, 'P136', 'Q2254548'] [{'concept': 'Q201658'}, 'P136', 'Q2254548']
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { ?d rdf:type ontology:Q838948 . ?d property:P136 resource:Q2254548 } UNION { ?d rdf:type ontology:Q201658 . ?d property:P136 resource:Q2254548 } }
Gopinath Fear Down by Law Vida nocturna Birdman of Alcatraz A táncz
5 works of art and 1 film genres
action count
action union
action filter_type
action find_reverse
entity black-and-white film
relation genre
type work of art
action filter_type
action find_reverse
entity black-and-white film
relation genre
type film genre
[{'concept': 'work of art'}, 'genre', 'black-and-white film'] [{'concept': 'film genre'}, 'genre', 'black-and-white film']
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { ?d rdf:type ontology:work_of_art . ?d property:genre resource:black-and-white_film } UNION { ?d rdf:type ontology:film_genre . ?d property:genre resource:black-and-white_film } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3548707
P136
Q1792379
USER
What can be considered as category for Man Without a Name ?
(Q3548707,P136,c(Q1792379))
action filter_type
action find
entity Q3548707
relation P136
type Q1792379
['Q3548707', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?q WHERE { resource:Q3548707 property:P136 ?q . ?q rdf:type ontology:Q1792379 }
Man Without a Name
action filter_type
action find
entity Man Without a Name
relation genre
type art genre
['Man Without a Name', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?q WHERE { resource:Man_Without_a_Name property:genre ?q . ?q rdf:type ontology:art_genre }
[]
art genre
Q1257444 Q130232
SYSTEM
film adaptation, drama film
Q1257444 Q130232
(Q3548707,P136,c(Q1792379))
action filter_type
action find
entity Q3548707
relation P136
type Q1792379
[ANSWERS] can be considered as category for Man Without a Name
['Q3548707', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?q WHERE { resource:Q3548707 property:P136 ?q . ?q rdf:type ontology:Q1792379 }
film adaptation drama film
Film adaptation and drama film can be considered as category for Man Without a Name
film adaptation drama film
action filter_type
action find
entity Man Without a Name
relation genre
type art genre
['Man Without a Name', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?q WHERE { resource:Man_Without_a_Name property:genre ?q . ?q rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3548707
P57
Q502895
USER
Which person directed Man Without a Name ?
(Q3548707,P57,c(Q502895))
action filter_type
action find
entity Q3548707
relation P57
type Q502895
['Q3548707', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q3548707 property:P57 ?f }
Man Without a Name
action filter_type
action find
entity Man Without a Name
relation director
type common name
['Man Without a Name', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Man_Without_a_Name property:director ?f }
[]
common name
Q78666
SYSTEM
Gustav Ucicky
Q78666
(Q3548707,P57,c(Q502895))
action filter_type
action find
entity Q3548707
relation P57
type Q502895
[ANSWER] directed Man Without a Name
['Q3548707', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q3548707 property:P57 ?f }
Gustav Ucicky
Gustav Ucicky directed Man Without a Name
Gustav Ucicky
action filter_type
action find
entity Man Without a Name
relation director
type common name
['Man Without a Name', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Man_Without_a_Name property:director ?f }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7631389
Q502895
USER
And how about Subject Two?
(Q7631389,P57,c(Q502895))
action filter_type
action find
entity Q7631389
relation P57
type Q502895
['Q7631389', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q7631389 property:P57 ?k . ?k rdf:type ontology:Q502895 }
Subject Two
action filter_type
action find
entity Subject Two
relation director
type common name
['Subject Two', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Subject_Two property:director ?k . ?k rdf:type ontology:common_name }
[]
common name
Q61677
SYSTEM
Christian Oliver
Q61677
(Q7631389,P57,c(Q502895))
action filter_type
action find
entity Q7631389
relation P57
type Q502895
[ANSWER]
['Q7631389', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q7631389 property:P57 ?k . ?k rdf:type ontology:Q502895 }
Christian Oliver
Christian Oliver
action filter_type
action find
entity Subject Two
relation director
type common name
['Subject Two', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Subject_Two property:director ?k . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q61677 Q4016481
P57
Q838948
USER
Is that person a director of Vortice ?
(Q4016481,P57,Q61677)
action is_in
entity Q4016481
action find
entity Q61677
relation P57
['Q4016481', 'P57', 'Q61677']
ASK WHERE { resource:Q61677 property:P57 resource:Q4016481 }
Christian Oliver Vortice
action is_in
entity Vortice
action find
entity Christian Oliver
relation director
['Vortice', 'director', 'Christian Oliver']
ASK WHERE { resource:Christian_Oliver property:director resource:Vortice }
[]
work of art
SYSTEM
NO
(Q4016481,P57,Q61677)
action is_in
entity Q4016481
action find
entity Q61677
relation P57
[ANSWER]
['Q4016481', 'P57', 'Q61677']
ASK WHERE { resource:Q61677 property:P57 resource:Q4016481 }
No
action is_in
entity Vortice
action find
entity Christian Oliver
relation director
['Vortice', 'director', 'Christian Oliver']
ASK WHERE { resource:Christian_Oliver property:director resource:Vortice }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q6929072
P725
Q502895 Q11424
USER
Which films had their voice dubbing done by more number of people than Mr. Peabody & Sherman ?
(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 Q6929072
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?p ) WHERE { ?j property:P725 ?v . ?j rdf:type ontology:Q11424 . ?v rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?p > ?g ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Q6929072 property:P725 ?q . ?q rdf:type ontology:Q11424 } } }
Mr. Peabody & Sherman
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Mr. Peabody & Sherman
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?p ) WHERE { ?j property:voice_actor ?v . ?j rdf:type ontology:film . ?v rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?p > ?g ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Mr._Peabody_&_Sherman property:voice_actor ?q . ?q rdf:type ontology:film } } }
[]
common name film
Q190135 Q19090 Q271189
SYSTEM
The Little Mermaid, Robin Hood, Hercules
Q191753 Q785294 Q204662 Q270470 Q334132 Q179673 Q216929 Q165512 Q933887 Q329316 Q213787 Q19090 Q184701 Q2059996 Q190135 Q218894 Q15270775 Q189875 Q199839 Q36479 Q39722 Q40895 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 Q6929072
relation P725
type Q11424
[ANSWERS] had their voice dubbing done by more number of people than Mr. Peabody & Sherman
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?p ) WHERE { ?j property:P725 ?v . ?j rdf:type ontology:Q11424 . ?v rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?p > ?g ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Q6929072 property:P725 ?q . ?q rdf:type ontology:Q11424 } } }
Cinderella Captain of the Forest The Sword in the Stone Peter Pan The Great Mouse Detective Beauty and the Beast Oliver & Company One Hundred and One Dalmatians Tintin and the Temple of the Sun The Black Cauldron The Hunchback of Notre Dame Robin Hood The Aristocats My Little Pony: The Movie The Little Mermaid Pocahontas Hotel Transylvania 2 Alice in Wonderland The Jungle Book The Lion King The Rescuers Dumbo Hercules
The Little Mermaid, Robin Hood and Hercules had their voice dubbing done by more number of people than Mr. Peabody & Sherman
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 Mr. Peabody & Sherman
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?p ) WHERE { ?j property:voice_actor ?v . ?j rdf:type ontology:film . ?v rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?p > ?g ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Mr._Peabody_&_Sherman property:voice_actor ?q . ?q rdf:type ontology:film } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q254671
P725
Q502895 Q11424
USER
And how about Coonskin?
(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 Q254671
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?e ) WHERE { ?k property:P725 ?o . ?k rdf:type ontology:Q11424 . ?o rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Q254671 property:P725 ?n . ?n rdf:type ontology:Q11424 } } . FILTER ( ?e > ?c ) }
Coonskin
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Coonskin
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?e ) WHERE { ?k property:voice_actor ?o . ?k rdf:type ontology:film . ?o rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Coonskin property:voice_actor ?n . ?n rdf:type ontology:film } } . FILTER ( ?e > ?c ) }
[]
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 Q254671
relation P725
type Q11424
[ANSWERS]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?e ) WHERE { ?k property:P725 ?o . ?k rdf:type ontology:Q11424 . ?o rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Q254671 property:P725 ?n . ?n rdf:type ontology:Q11424 } } . FILTER ( ?e > ?c ) }
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
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 Coonskin
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?e ) WHERE { ?k property:voice_actor ?o . ?k rdf:type ontology:film . ?o rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Coonskin property:voice_actor ?n . ?n rdf:type ontology:film } } . FILTER ( ?e > ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q61677 Q6267657
P106
Q12737077
USER
How many occupations are the professions of Christian Oliver and Johnny Sands ?
(Q61677,P106,c(Q12737077)) (Q6267657,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q61677
relation P106
type Q12737077
action filter_type
action find
entity Q6267657
relation P106
type Q12737077
['Q61677', 'P106', {'concept': 'Q12737077'}] ['Q6267657', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { ?j rdf:type ontology:Q12737077 . resource:Q61677 property:P106 ?j . resource:Q6267657 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Christian Oliver Johnny Sands
action count
action intersection
action filter_type
action find
entity Christian Oliver
relation occupation
type occupation
action filter_type
action find
entity Johnny Sands
relation occupation
type occupation
['Christian Oliver', 'occupation', {'concept': 'occupation'}] ['Johnny Sands', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { ?j rdf:type ontology:occupation . resource:Christian_Oliver property:occupation ?j . resource:Johnny_Sands property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
SYSTEM
2
Q10798782 Q33999
(Q61677,P106,c(Q12737077)) (Q6267657,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q61677
relation P106
type Q12737077
action filter_type
action find
entity Q6267657
relation P106
type Q12737077
[ANSWER]
['Q61677', 'P106', {'concept': 'Q12737077'}] ['Q6267657', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { ?j rdf:type ontology:Q12737077 . resource:Q61677 property:P106 ?j . resource:Q6267657 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
television actor actor
2
action count
action intersection
action filter_type
action find
entity Christian Oliver
relation occupation
type occupation
action filter_type
action find
entity Johnny Sands
relation occupation
type occupation
['Christian Oliver', 'occupation', {'concept': 'occupation'}] ['Johnny Sands', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { ?j rdf:type ontology:occupation . resource:Christian_Oliver property:occupation ?j . resource:Johnny_Sands property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q280187
P767
Q6619679 Q95074
USER
How many fictional humanoids or fictional characters are Norm Ferguson a contributor of ?
(c(Q6619679),P767,Q280187) (c(Q95074),P767,Q280187)
action count
action union
action filter_type
action find_reverse
entity Q280187
relation P767
type Q6619679
action filter_type
action find_reverse
entity Q280187
relation P767
type Q95074
[{'concept': 'Q6619679'}, 'P767', 'Q280187'] [{'concept': 'Q95074'}, 'P767', 'Q280187']
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ?r . VALUES ( ?r ) { ( ontology:Q6619679 ) ( ontology:Q95074 ) } }
Norm Ferguson
action count
action union
action filter_type
action find_reverse
entity Norm Ferguson
relation contributor
type fictional humanoid
action filter_type
action find_reverse
entity Norm Ferguson
relation contributor
type fictional character
[{'concept': 'fictional humanoid'}, 'contributor', 'Norm Ferguson'] [{'concept': 'fictional character'}, 'contributor', 'Norm Ferguson']
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ?r . VALUES ( ?r ) { ( ontology:fictional_humanoid ) ( ontology:fictional_character ) } }
[]
fictional humanoid fictional character
SYSTEM
5
Q27230931 Q27230903 Q27068106 Q27067938 Q27636508
(c(Q6619679),P767,Q280187) (c(Q95074),P767,Q280187)
action count
action union
action filter_type
action find_reverse
entity Q280187
relation P767
type Q6619679
action filter_type
action find_reverse
entity Q280187
relation P767
type Q95074
[ANSWER]
[{'concept': 'Q6619679'}, 'P767', 'Q280187'] [{'concept': 'Q95074'}, 'P767', 'Q280187']
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ?r . VALUES ( ?r ) { ( ontology:Q6619679 ) ( ontology:Q95074 ) } }
Lucifer Bruno Honest John The Coachman Raven
5
action count
action union
action filter_type
action find_reverse
entity Norm Ferguson
relation contributor
type fictional humanoid
action filter_type
action find_reverse
entity Norm Ferguson
relation contributor
type fictional character
[{'concept': 'fictional humanoid'}, 'contributor', 'Norm Ferguson'] [{'concept': 'fictional character'}, 'contributor', 'Norm Ferguson']
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ?r . VALUES ( ?r ) { ( ontology:fictional_humanoid ) ( ontology:fictional_character ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q280187
P509
Q2057971
USER
How many health problems were the cause of death of Norm Ferguson ?
(Q280187,P509,c(Q2057971))
action count
action filter_type
action find
entity Q280187
relation P509
type Q2057971
['Q280187', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q280187 property:P509 ?b . ?b rdf:type ontology:Q2057971 }
Norm Ferguson
action count
action filter_type
action find
entity Norm Ferguson
relation cause of death
type health problem
['Norm Ferguson', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Norm_Ferguson property:cause_of_death ?b . ?b rdf:type ontology:health_problem }
[]
health problem
SYSTEM
1
Q12152
(Q280187,P509,c(Q2057971))
action count
action filter_type
action find
entity Q280187
relation P509
type Q2057971
[ANSWER]
['Q280187', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q280187 property:P509 ?b . ?b rdf:type ontology:Q2057971 }
myocardial infarction
1
action count
action filter_type
action find
entity Norm Ferguson
relation cause of death
type health problem
['Norm Ferguson', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Norm_Ferguson property:cause_of_death ?b . ?b rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q4710203
P509
Q2057971
USER
And what about Albert Fish?
(Q4710203,P509,c(Q2057971))
action count
action filter_type
action find
entity Q4710203
relation P509
type Q2057971
['Q4710203', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Q4710203 property:P509 ?i . ?i rdf:type ontology:Q2057971 }
Albert Fish
action count
action filter_type
action find
entity Albert Fish
relation cause of death
type health problem
['Albert Fish', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Albert_Fish property:cause_of_death ?i . ?i rdf:type ontology:health_problem }
[]
health problem
SYSTEM
1
Q12152
(Q4710203,P509,c(Q2057971))
action count
action filter_type
action find
entity Q4710203
relation P509
type Q2057971
[ANSWER]
['Q4710203', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Q4710203 property:P509 ?i . ?i rdf:type ontology:Q2057971 }
myocardial infarction
1
action count
action filter_type
action find
entity Albert Fish
relation cause of death
type health problem
['Albert Fish', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Albert_Fish property:cause_of_death ?i . ?i rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6101971
Q2057971
USER
And what about Izhar Qazi?
(Q6101971,P509,c(Q2057971))
action count
action filter_type
action find
entity Q6101971
relation P509
type Q2057971
['Q6101971', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Q6101971 property:P509 ?f . ?f rdf:type ontology:Q2057971 }
Izhar Qazi
action count
action filter_type
action find
entity Izhar Qazi
relation cause of death
type health problem
['Izhar Qazi', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Izhar_Qazi property:cause_of_death ?f . ?f rdf:type ontology:health_problem }
[]
health problem
SYSTEM
1
(Q6101971,P509,c(Q2057971))
action count
action filter_type
action find
entity Q6101971
relation P509
type Q2057971
[ANSWER]
['Q6101971', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Q6101971 property:P509 ?f . ?f rdf:type ontology:Q2057971 }
1
action count
action filter_type
action find
entity Izhar Qazi
relation cause of death
type health problem
['Izhar Qazi', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Izhar_Qazi property:cause_of_death ?f . ?f rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6101971
P21
Q290
USER
Which sex does Izhar Qazi belong to ?
(Q6101971,P21,c(Q290))
action filter_type
action find
entity Q6101971
relation P21
type Q290
['Q6101971', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q6101971 property:P21 ?i . ?i rdf:type ontology:Q290 }
Izhar Qazi
action filter_type
action find
entity Izhar Qazi
relation gender
type sex
['Izhar Qazi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Izhar_Qazi property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6101971,P21,c(Q290))
action filter_type
action find
entity Q6101971
relation P21
type Q290
Izhar Qazi belongs to [ANSWER]
['Q6101971', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q6101971 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Izhar Qazi belongs to male
male
action filter_type
action find
entity Izhar Qazi
relation gender
type sex
['Izhar Qazi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Izhar_Qazi property:gender ?i . ?i rdf:type ontology:sex }
[]