Simple Question (Direct)
Simple Question
Q1378613
P40
Q502895
USER
Which person is an offspring of Pavel Patera ?
(Q1378613,P40,c(Q502895))
action filter_type
action find
entity Q1378613
relation P40
type Q502895
['Q1378613', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q1378613 property:P40 ?t }
Pavel Patera
action filter_type
action find
entity Pavel Patera
relation child
type common name
['Pavel Patera', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Pavel_Patera property:child ?t }
[]
common name
Q16938133
SYSTEM
Dominika Paterová
Q16938133
(Q1378613,P40,c(Q502895))
action filter_type
action find
entity Q1378613
relation P40
type Q502895
[ANSWER]
['Q1378613', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q1378613 property:P40 ?t }
Dominika Paterová
Dominika Paterová
action filter_type
action find
entity Pavel Patera
relation child
type common name
['Pavel Patera', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Pavel_Patera property:child ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16938133
P22
Q502895
USER
Who was the dad of that one ?
(Q16938133,P22,c(Q502895))
action filter_type
action find
entity Q16938133
relation P22
type Q502895
['Q16938133', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q16938133 property:P22 ?c . ?c rdf:type ontology:Q502895 }
Dominika Paterová
action filter_type
action find
entity Dominika Paterová
relation father
type common name
['Dominika Paterová', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Dominika_Paterová property:father ?c . ?c rdf:type ontology:common_name }
[]
common name
Q1378613
SYSTEM
Pavel Patera
Q1378613
(Q16938133,P22,c(Q502895))
action filter_type
action find
entity Q16938133
relation P22
type Q502895
[ANSWER]
['Q16938133', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q16938133 property:P22 ?c . ?c rdf:type ontology:Q502895 }
Pavel Patera
Pavel Patera
action filter_type
action find
entity Dominika Paterová
relation father
type common name
['Dominika Paterová', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Dominika_Paterová property:father ?c . ?c rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q6505964
P725
Q502895 Q1001378
USER
Which cinematic techniques did around the same number of people dub for as Rudolph the Red-Nosed Reindeer: The Movie ?
(c(Q1001378),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q6505964
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?y ) WHERE { ?v property:P725 ?c . ?v rdf:type ontology:Q1001378 . ?c rdf:type ontology:Q502895 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Q6505964 property:P725 ?u . ?u rdf:type ontology:Q1001378 } } . FILTER ( ?y = ?k ) }
Rudolph the Red-Nosed Reindeer: The Movie
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Rudolph the Red-Nosed Reindeer: The Movie
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?y ) WHERE { ?v property:voice_actor ?c . ?v rdf:type ontology:cinematic_technique . ?c rdf:type ontology:common_name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Rudolph_the_Red-Nosed_Reindeer:_The_Movie property:voice_actor ?u . ?u rdf:type ontology:cinematic_technique } } . FILTER ( ?y = ?k ) }
[]
common name cinematic technique
Q104905 Q6144664 Q15728879
SYSTEM
WALL•E, Inside Out, My Little Pony: Equestria Girls 2 – Rainbow Rocks
Q656998 Q6505964 Q120367 Q2388260 Q21079862 Q1093555 Q15270742 Q27229786 Q562140 Q6144664 Q221679 Q392530 Q192212 Q23647031 Q182153 Q15728879 Q2388653 Q246283 Q908816 Q244434 Q3623997 Q4096274 Q18647981 Q655133 Q2615381 Q191803 Q170035 Q2613318 Q171048 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q15140309 Q656396 Q187266 Q15975680 Q4243413 Q104905 Q329603 Q633053
(c(Q1001378),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q6505964
relation P725
type Q1001378
[ANSWERS]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?y ) WHERE { ?v property:P725 ?c . ?v rdf:type ontology:Q1001378 . ?c rdf:type ontology:Q502895 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Q6505964 property:P725 ?u . ?u rdf:type ontology:Q1001378 } } . FILTER ( ?y = ?k ) }
Garfield's Pet Force Rudolph the Red-Nosed Reindeer: The Movie Shark Tale The Humpbacked Horse Cars 3 Swan Lake Adventures of Mowgli The Animated Adventures of Tom Sawyer Yobi, the Five Tailed Fox Inside Out Meet the Robinsons Treasure Planet Cars 2 Batman: The Killing Joke Cars My Little Pony: Equestria Girls 2 – Rainbow Rocks Tom Sawyer Frozen The Secret of Kells Lady and the Tramp II: Scamp's Adventure FernGully 2: The Magical Rescue The Bremen Town Musicians Moana Treasure Island Korgoth of Barbaria The Lion King II: Simba's Pride Ratatouille Garfield's Fun Fest Toy Story The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Emil & Ida i Lönneberga Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 Tamako Love Story Ku! Kin-dza-dza WALL•E Laura's Star Surf's Up
WALL•E Inside Out My Little Pony: Equestria Girls 2 – Rainbow Rocks
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Rudolph the Red-Nosed Reindeer: The Movie
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?y ) WHERE { ?v property:voice_actor ?c . ?v rdf:type ontology:cinematic_technique . ?c rdf:type ontology:common_name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Rudolph_the_Red-Nosed_Reindeer:_The_Movie property:voice_actor ?u . ?u rdf:type ontology:cinematic_technique } } . FILTER ( ?y = ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q23647031
P725
Q502895 Q1001378
USER
And what about Batman: The Killing Joke?
(c(Q1001378),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q23647031
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { ?w rdf:type ontology:Q1001378 . resource:Q23647031 property:P725 ?w } } . FILTER ( ?d = ?q ) . { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?d ) WHERE { ?a rdf:type ontology:Q1001378 . ?o rdf:type ontology:Q502895 . ?a property:P725 ?o } GROUP BY ?a } }
Batman: The Killing Joke
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Batman: The Killing Joke
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { ?w rdf:type ontology:cinematic_technique . resource:Batman:_The_Killing_Joke property:voice_actor ?w } } . FILTER ( ?d = ?q ) . { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?d ) WHERE { ?a rdf:type ontology:cinematic_technique . ?o rdf:type ontology:common_name . ?a property:voice_actor ?o } GROUP BY ?a } }
[]
common name cinematic technique
Q104905 Q6144664 Q15728879
SYSTEM
WALL•E, Inside Out, My Little Pony: Equestria Girls 2 – Rainbow Rocks
Q656998 Q6505964 Q120367 Q2388260 Q21079862 Q1093555 Q15270742 Q27229786 Q562140 Q6144664 Q221679 Q392530 Q192212 Q23647031 Q182153 Q15728879 Q2388653 Q246283 Q908816 Q244434 Q3623997 Q4096274 Q18647981 Q655133 Q2615381 Q191803 Q170035 Q2613318 Q171048 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q15140309 Q656396 Q187266 Q15975680 Q4243413 Q104905 Q329603 Q633053
(c(Q1001378),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q23647031
relation P725
type Q1001378
[ANSWERS]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { ?w rdf:type ontology:Q1001378 . resource:Q23647031 property:P725 ?w } } . FILTER ( ?d = ?q ) . { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?d ) WHERE { ?a rdf:type ontology:Q1001378 . ?o rdf:type ontology:Q502895 . ?a property:P725 ?o } GROUP BY ?a } }
Garfield's Pet Force Rudolph the Red-Nosed Reindeer: The Movie Shark Tale The Humpbacked Horse Cars 3 Swan Lake Adventures of Mowgli The Animated Adventures of Tom Sawyer Yobi, the Five Tailed Fox Inside Out Meet the Robinsons Treasure Planet Cars 2 Batman: The Killing Joke Cars My Little Pony: Equestria Girls 2 – Rainbow Rocks Tom Sawyer Frozen The Secret of Kells Lady and the Tramp II: Scamp's Adventure FernGully 2: The Magical Rescue The Bremen Town Musicians Moana Treasure Island Korgoth of Barbaria The Lion King II: Simba's Pride Ratatouille Garfield's Fun Fest Toy Story The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Emil & Ida i Lönneberga Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 Tamako Love Story Ku! Kin-dza-dza WALL•E Laura's Star Surf's Up
WALL•E Inside Out My Little Pony: Equestria Girls 2 – Rainbow Rocks
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Batman: The Killing Joke
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { ?w rdf:type ontology:cinematic_technique . resource:Batman:_The_Killing_Joke property:voice_actor ?w } } . FILTER ( ?d = ?q ) . { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?d ) WHERE { ?a rdf:type ontology:cinematic_technique . ?o rdf:type ontology:common_name . ?a property:voice_actor ?o } GROUP BY ?a } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q104905 Q6144664 Q15728879
P364
Q34770
USER
What are the original languages of creation of those cinematic techniques ?
(Q104905,P364,c(Q34770)) (Q6144664,P364,c(Q34770)) (Q15728879,P364,c(Q34770))
action filter_type
action find
entity prev_answer
relation P364
type Q34770
['Q104905', 'P364', {'concept': 'Q34770'}] ['Q6144664', 'P364', {'concept': 'Q34770'}] ['Q15728879', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34770 . ?m property:P364 ?d . VALUES ( ?m ) { ( resource:Q656998 ) ( resource:Q6505964 ) ( resource:Q120367 ) } }
WALL•E Inside Out My Little Pony: Equestria Girls 2 – Rainbow Rocks
action filter_type
action find
entity prev_answer
relation original language of work
type language
['WALL•E', 'original language of work', {'concept': 'language'}] ['Inside Out', 'original language of work', {'concept': 'language'}] ['My Little Pony: Equestria Girls 2 – Rainbow Rocks', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:language . ?m property:original_language_of_work ?d . VALUES ( ?m ) { ( resource:Garfield's_Pet_Force ) ( resource:Rudolph_the_Red-Nosed_Reindeer:_The_Movie ) ( resource:Shark_Tale ) } }
[]
language
Q1860 Q1860 Q1860
SYSTEM
English
Q1860 Q1860 Q1860
(Q104905,P364,c(Q34770)) (Q6144664,P364,c(Q34770)) (Q15728879,P364,c(Q34770))
action filter_type
action find
entity prev_answer
relation P364
type Q34770
[ANSWER]
['Q104905', 'P364', {'concept': 'Q34770'}] ['Q6144664', 'P364', {'concept': 'Q34770'}] ['Q15728879', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34770 . ?m property:P364 ?d . VALUES ( ?m ) { ( resource:Q656998 ) ( resource:Q6505964 ) ( resource:Q120367 ) } }
English English English
English English English
action filter_type
action find
entity prev_answer
relation original language of work
type language
['WALL•E', 'original language of work', {'concept': 'language'}] ['Inside Out', 'original language of work', {'concept': 'language'}] ['My Little Pony: Equestria Girls 2 – Rainbow Rocks', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:language . ?m property:original_language_of_work ?d . VALUES ( ?m ) { ( resource:Garfield's_Pet_Force ) ( resource:Rudolph_the_Red-Nosed_Reindeer:_The_Movie ) ( resource:Shark_Tale ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q104905
P1441
Q95074
USER
Which fictional characters are from the works of WALL•E ?
(c(Q95074),P1441,Q1860) (c(Q95074),P1441,Q1860) (c(Q95074),P1441,Q1860)
action filter_type
action find_reverse
entity Q104905
relation P1441
type Q95074
[{'concept': 'Q95074'}, 'P1441', 'Q1860'] [{'concept': 'Q95074'}, 'P1441', 'Q1860'] [{'concept': 'Q95074'}, 'P1441', 'Q1860']
SELECT DISTINCT ?c WHERE { ?c property:P1441 resource:Q104905 . ?c rdf:type ontology:Q95074 }
WALL•E
action filter_type
action find_reverse
entity WALL•E
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'English'] [{'concept': 'fictional character'}, 'present in work', 'English'] [{'concept': 'fictional character'}, 'present in work', 'English']
SELECT DISTINCT ?c WHERE { ?c property:present_in_work resource:WALL•E . ?c rdf:type ontology:fictional_character }
[]
fictional character
Q20749440 Q24879147
SYSTEM
WALL·E, Auto
Q20749440 Q24879147
(c(Q95074),P1441,Q1860) (c(Q95074),P1441,Q1860) (c(Q95074),P1441,Q1860)
action filter_type
action find_reverse
entity Q104905
relation P1441
type Q95074
[ANSWERS]
[{'concept': 'Q95074'}, 'P1441', 'Q1860'] [{'concept': 'Q95074'}, 'P1441', 'Q1860'] [{'concept': 'Q95074'}, 'P1441', 'Q1860']
SELECT DISTINCT ?c WHERE { ?c property:P1441 resource:Q104905 . ?c rdf:type ontology:Q95074 }
WALL·E Auto
WALL·E Auto
action filter_type
action find_reverse
entity WALL•E
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'English'] [{'concept': 'fictional character'}, 'present in work', 'English'] [{'concept': 'fictional character'}, 'present in work', 'English']
SELECT DISTINCT ?c WHERE { ?c property:present_in_work resource:WALL•E . ?c rdf:type ontology:fictional_character }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1977325
P157
Q95074 Q95074
USER
Which fictional characters were killed by greater number of fictional characters than Scar ?
(c(Q95074),P157,c(Q95074))
action greater
action find_tuple_counts
relation P157
type Q95074
type Q95074
action count
action filter_type
action find
entity Q1977325
relation P157
type Q95074
[{'concept': 'Q95074'}, 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?p ) WHERE { ?w property:P157 ?y . ?w rdf:type ontology:Q95074 . ?y rdf:type ontology:Q95074 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q1977325 property:P157 ?n . ?n rdf:type ontology:Q95074 } } . FILTER ( ?p > ?t ) }
Scar
action greater
action find_tuple_counts
relation killed by
type fictional character
type fictional character
action count
action filter_type
action find
entity Scar
relation killed by
type fictional character
[{'concept': 'fictional character'}, 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?p ) WHERE { ?w property:killed_by ?y . ?w rdf:type ontology:fictional_character . ?y rdf:type ontology:fictional_character } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Scar property:killed_by ?n . ?n rdf:type ontology:fictional_character } } . FILTER ( ?p > ?t ) }
[]
fictional character fictional character
Q1660555 Q6175066 Q507978
SYSTEM
Maleficent, Ursula, Milady de Winter
Q2393619 Q2392421 Q20822950 Q27703691 Q27636389 Q21065657 Q507978 Q3219705 Q27717527 Q51336 Q4160404 Q21972177 Q1660555 Q51277 Q889656 Q2287748 Q6175066 Q520812 Q51341 Q1242632 Q2373832 Q2109776 Q27681931
(c(Q95074),P157,c(Q95074))
action greater
action find_tuple_counts
relation P157
type Q95074
type Q95074
action count
action filter_type
action find
entity Q1977325
relation P157
type Q95074
[ANSWERS]
[{'concept': 'Q95074'}, 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?p ) WHERE { ?w property:P157 ?y . ?w rdf:type ontology:Q95074 . ?y rdf:type ontology:Q95074 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q1977325 property:P157 ?n . ?n rdf:type ontology:Q95074 } } . FILTER ( ?p > ?t ) }
Buffalo Bill Constance Bonacieux Bartholomew Jehan Frollo Diablo executioner of Lille Milady de Winter Lausus Quasimodo's Mother Shannon Rutherford John Francis Winter Jean-Marie-François Morhange Maleficent Ana Lucia Cortez Amulius Mufasa Ursula Claude Frollo Martin Keamy Remus Comte de Rochefort Red John Kocoum
Maleficent Ursula Milady de Winter
action greater
action find_tuple_counts
relation killed by
type fictional character
type fictional character
action count
action filter_type
action find
entity Scar
relation killed by
type fictional character
[{'concept': 'fictional character'}, 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?p ) WHERE { ?w property:killed_by ?y . ?w rdf:type ontology:fictional_character . ?y rdf:type ontology:fictional_character } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Scar property:killed_by ?n . ?n rdf:type ontology:fictional_character } } . FILTER ( ?p > ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q51770
P157
Q95074 Q95074
USER
And how about Palpatine?
(c(Q95074),P157,c(Q95074))
action greater
action find_tuple_counts
relation P157
type Q95074
type Q95074
action count
action filter_type
action find
entity Q51770
relation P157
type Q95074
[{'concept': 'Q95074'}, 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?n ) WHERE { ?m property:P157 ?k . ?m rdf:type ontology:Q95074 . ?k rdf:type ontology:Q95074 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q51770 property:P157 ?r . ?r rdf:type ontology:Q95074 } } . FILTER ( ?n > ?q ) }
Palpatine
action greater
action find_tuple_counts
relation killed by
type fictional character
type fictional character
action count
action filter_type
action find
entity Palpatine
relation killed by
type fictional character
[{'concept': 'fictional character'}, 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?n ) WHERE { ?m property:killed_by ?k . ?m rdf:type ontology:fictional_character . ?k rdf:type ontology:fictional_character } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Palpatine property:killed_by ?r . ?r rdf:type ontology:fictional_character } } . FILTER ( ?n > ?q ) }
[]
fictional character fictional character
Q1660555 Q6175066 Q507978
SYSTEM
Maleficent, Ursula, Milady de Winter
Q2393619 Q2392421 Q20822950 Q27703691 Q27636389 Q21065657 Q507978 Q3219705 Q27717527 Q51336 Q4160404 Q21972177 Q1660555 Q51277 Q889656 Q2287748 Q6175066 Q520812 Q51341 Q1242632 Q2373832 Q2109776 Q27681931
(c(Q95074),P157,c(Q95074))
action greater
action find_tuple_counts
relation P157
type Q95074
type Q95074
action count
action filter_type
action find
entity Q51770
relation P157
type Q95074
[ANSWERS]
[{'concept': 'Q95074'}, 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?n ) WHERE { ?m property:P157 ?k . ?m rdf:type ontology:Q95074 . ?k rdf:type ontology:Q95074 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q51770 property:P157 ?r . ?r rdf:type ontology:Q95074 } } . FILTER ( ?n > ?q ) }
Buffalo Bill Constance Bonacieux Bartholomew Jehan Frollo Diablo executioner of Lille Milady de Winter Lausus Quasimodo's Mother Shannon Rutherford John Francis Winter Jean-Marie-François Morhange Maleficent Ana Lucia Cortez Amulius Mufasa Ursula Claude Frollo Martin Keamy Remus Comte de Rochefort Red John Kocoum
Maleficent Ursula Milady de Winter
action greater
action find_tuple_counts
relation killed by
type fictional character
type fictional character
action count
action filter_type
action find
entity Palpatine
relation killed by
type fictional character
[{'concept': 'fictional character'}, 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?n ) WHERE { ?m property:killed_by ?k . ?m rdf:type ontology:fictional_character . ?k rdf:type ontology:fictional_character } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Palpatine property:killed_by ?r . ?r rdf:type ontology:fictional_character } } . FILTER ( ?n > ?q ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1660555 Q6175066 Q507978
P21
Q290
USER
What are the sex of Maleficent, Ursula and Milady de Winter ?
(Q1660555,P21,c(Q290)) (Q6175066,P21,c(Q290)) (Q507978,P21,c(Q290))
action union
action filter_type
action find
entity Q1660555
relation P21
type Q290
action filter_type
action find
entity Q6175066
relation P21
type Q290
action filter_type
action find
entity Q507978
relation P21
type Q290
['Q1660555', 'P21', {'concept': 'Q290'}] ['Q6175066', 'P21', {'concept': 'Q290'}] ['Q507978', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { { resource:Q1660555 property:P21 ?d . ?d rdf:type ontology:Q290 } UNION { resource:Q6175066 property:P21 ?d . ?d rdf:type ontology:Q290 } }
Maleficent Ursula Milady de Winter
action union
action filter_type
action find
entity Maleficent
relation gender
type sex
action filter_type
action find
entity Ursula
relation gender
type sex
action filter_type
action find
entity Milady de Winter
relation gender
type sex
['Maleficent', 'gender', {'concept': 'sex'}] ['Ursula', 'gender', {'concept': 'sex'}] ['Milady de Winter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { { resource:Maleficent property:gender ?d . ?d rdf:type ontology:sex } UNION { resource:Ursula property:gender ?d . ?d rdf:type ontology:sex } }
[]
sex
Q6581072 Q6581072 Q6581072
SYSTEM
female
Q6581072 Q6581072 Q6581072
(Q1660555,P21,c(Q290)) (Q6175066,P21,c(Q290)) (Q507978,P21,c(Q290))
action union
action filter_type
action find
entity Q1660555
relation P21
type Q290
action filter_type
action find
entity Q6175066
relation P21
type Q290
action filter_type
action find
entity Q507978
relation P21
type Q290
[ANSWER]
['Q1660555', 'P21', {'concept': 'Q290'}] ['Q6175066', 'P21', {'concept': 'Q290'}] ['Q507978', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { { resource:Q1660555 property:P21 ?d . ?d rdf:type ontology:Q290 } UNION { resource:Q6175066 property:P21 ?d . ?d rdf:type ontology:Q290 } }
female female female
female female female
action union
action filter_type
action find
entity Maleficent
relation gender
type sex
action filter_type
action find
entity Ursula
relation gender
type sex
action filter_type
action find
entity Milady de Winter
relation gender
type sex
['Maleficent', 'gender', {'concept': 'sex'}] ['Ursula', 'gender', {'concept': 'sex'}] ['Milady de Winter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { { resource:Maleficent property:gender ?d . ?d rdf:type ontology:sex } UNION { resource:Ursula property:gender ?d . ?d rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q104905
P144
Q166142
USER
Which application is based on WALL•E ?
(c(Q166142),P144,Q104905)
action filter_type
action find_reverse
entity Q104905
relation P144
type Q166142
[{'concept': 'Q166142'}, 'P144', 'Q104905']
SELECT DISTINCT ?c WHERE { ?c property:P144 resource:Q104905 . ?c rdf:type ontology:Q166142 }
WALL•E
action filter_type
action find_reverse
entity WALL•E
relation based on
type application
[{'concept': 'application'}, 'based on', 'WALL•E']
SELECT DISTINCT ?c WHERE { ?c property:based_on resource:WALL•E . ?c rdf:type ontology:application }
[]
application
Q1328166
SYSTEM
WALL-E
Q1328166
(c(Q166142),P144,Q104905)
action filter_type
action find_reverse
entity Q104905
relation P144
type Q166142
[ANSWER]
[{'concept': 'Q166142'}, 'P144', 'Q104905']
SELECT DISTINCT ?c WHERE { ?c property:P144 resource:Q104905 . ?c rdf:type ontology:Q166142 }
WALL-E
WALL-E
action filter_type
action find_reverse
entity WALL•E
relation based on
type application
[{'concept': 'application'}, 'based on', 'WALL•E']
SELECT DISTINCT ?c WHERE { ?c property:based_on resource:WALL•E . ?c rdf:type ontology:application }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1328166
P136
Q483394
USER
What can be considered as category for that application ?
(Q1328166,P136,c(Q483394))
action filter_type
action find
entity Q1328166
relation P136
type Q483394
['Q1328166', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?b WHERE { resource:Q1328166 property:P136 ?b . ?b rdf:type ontology:Q483394 }
WALL-E
action filter_type
action find
entity WALL-E
relation genre
type genre
['WALL-E', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?b WHERE { resource:WALL-E property:genre ?b . ?b rdf:type ontology:genre }
[]
genre
Q828322
SYSTEM
platform game
Q828322
(Q1328166,P136,c(Q483394))
action filter_type
action find
entity Q1328166
relation P136
type Q483394
[ANSWER]
['Q1328166', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?b WHERE { resource:Q1328166 property:P136 ?b . ?b rdf:type ontology:Q483394 }
platform game
platform game
action filter_type
action find
entity WALL-E
relation genre
type genre
['WALL-E', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?b WHERE { resource:WALL-E property:genre ?b . ?b rdf:type ontology:genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q507978
P157
Q95074
USER
How many fictional characters were the murderers of Milady de Winter ?
(Q507978,P157,c(Q95074))
action count
action filter_type
action find
entity Q507978
relation P157
type Q95074
['Q507978', 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:Q95074 . resource:Q507978 property:P157 ?o }
Milady de Winter
action count
action filter_type
action find
entity Milady de Winter
relation killed by
type fictional character
['Milady de Winter', 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:fictional_character . resource:Milady_de_Winter property:killed_by ?o }
[]
fictional character
SYSTEM
1
Q21065657
(Q507978,P157,c(Q95074))
action count
action filter_type
action find
entity Q507978
relation P157
type Q95074
[ANSWER]
['Q507978', 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:Q95074 . resource:Q507978 property:P157 ?o }
executioner of Lille
1
action count
action filter_type
action find
entity Milady de Winter
relation killed by
type fictional character
['Milady de Winter', 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:fictional_character . resource:Milady_de_Winter property:killed_by ?o }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q283111
Q95074
USER
And also tell me about Professor Moriarty?
(Q283111,P157,c(Q95074))
action count
action filter_type
action find
entity Q283111
relation P157
type Q95074
['Q283111', 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Q283111 property:P157 ?p . ?p rdf:type ontology:Q95074 }
Professor Moriarty
action count
action filter_type
action find
entity Professor Moriarty
relation killed by
type fictional character
['Professor Moriarty', 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Professor_Moriarty property:killed_by ?p . ?p rdf:type ontology:fictional_character }
[]
fictional character
SYSTEM
1
(Q283111,P157,c(Q95074))
action count
action filter_type
action find
entity Q283111
relation P157
type Q95074
[ANSWER]
['Q283111', 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Q283111 property:P157 ?p . ?p rdf:type ontology:Q95074 }
1
action count
action filter_type
action find
entity Professor Moriarty
relation killed by
type fictional character
['Professor Moriarty', 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Professor_Moriarty property:killed_by ?p . ?p rdf:type ontology:fictional_character }
[]