Simple Question (Direct)
Simple Question
Q4895101
P1412
Q34770
USER
Which language is spoken by Bert Hardy ?
(Q4895101,P1412,c(Q34770))
action filter_type
action find
entity Q4895101
relation P1412
type Q34770
['Q4895101', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q4895101 property:P1412 ?z . ?z rdf:type ontology:Q34770 }
Bert Hardy
action filter_type
action find
entity Bert Hardy
relation languages spoken, written or signed
type language
['Bert Hardy', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Bert_Hardy property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q4895101,P1412,c(Q34770))
action filter_type
action find
entity Q4895101
relation P1412
type Q34770
Is [ANSWER] is spoken by Bert Hardy
['Q4895101', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q4895101 property:P1412 ?z . ?z rdf:type ontology:Q34770 }
English
Is English is spoken by Bert Hardy
English
action filter_type
action find
entity Bert Hardy
relation languages spoken, written or signed
type language
['Bert Hardy', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Bert_Hardy property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P629
Q571
USER
Which is an edition or translation of that language ?
(c(Q571),P629,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P629
type Q571
[{'concept': 'Q571'}, 'P629', 'Q1860']
SELECT DISTINCT ?s WHERE { ?s property:P629 resource:Q1860 . ?s rdf:type ontology:Q571 }
English
action filter_type
action find_reverse
entity English
relation edition or translation of
type book
[{'concept': 'book'}, 'edition or translation of', 'English']
SELECT DISTINCT ?s WHERE { ?s property:edition_or_translation_of resource:English . ?s rdf:type ontology:book }
[]
book
Q24036077
SYSTEM
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
Q24036077
(c(Q571),P629,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P629
type Q571
[ANSWER] is an edition or translation of that language
[{'concept': 'Q571'}, 'P629', 'Q1860']
SELECT DISTINCT ?s WHERE { ?s property:P629 resource:Q1860 . ?s rdf:type ontology:Q571 }
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
Two Addresses from the Governour, Council and Convention of the Massachusets Colony is an edition or translation of that language
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
action filter_type
action find_reverse
entity English
relation edition or translation of
type book
[{'concept': 'book'}, 'edition or translation of', 'English']
SELECT DISTINCT ?s WHERE { ?s property:edition_or_translation_of resource:English . ?s rdf:type ontology:book }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q5962346
USER
Which classification schemes are English a component of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?k WHERE { resource:Q1860 property:P361 ?k . ?k rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?k WHERE { resource:English property:part_of ?k . ?k rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
Are [ANSWERS] are English a component of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?k WHERE { resource:Q1860 property:P361 ?k . ?k rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Are Anglic languages and Anglo-Frisian languages are English a component of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?k WHERE { resource:English property:part_of ?k . ?k rdf:type ontology:classification_scheme }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q613996
P361
Q34770
USER
Are Hand a component of those classification schemes ?
(Q613996,P361,Q1346342) (Q613996,P361,Q5329170)
action is_in
entity prev_answer
action find
entity Q613996
relation P361
['Q613996', 'P361', 'Q1346342'] ['Q613996', 'P361', 'Q5329170']
ASK WHERE { VALUES ( ?x ) { ( resource:Q1346342 ) ( resource:Q5329170 ) } . resource:Q613996 property:P361 ?x }
Hand
action is_in
entity prev_answer
action find
entity Hand
relation part of
['Hand', 'part of', 'Anglic languages'] ['Hand', 'part of', 'Anglo-Frisian languages']
ASK WHERE { VALUES ( ?x ) { ( resource:Anglic_languages ) ( resource:Anglo-Frisian_languages ) } . resource:Hand property:part_of ?x }
[]
language
SYSTEM
NO
(Q613996,P361,Q1346342) (Q613996,P361,Q5329170)
action is_in
entity prev_answer
action find
entity Q613996
relation P361
[ANSWER]
['Q613996', 'P361', 'Q1346342'] ['Q613996', 'P361', 'Q5329170']
ASK WHERE { VALUES ( ?x ) { ( resource:Q1346342 ) ( resource:Q5329170 ) } . resource:Q613996 property:P361 ?x }
No
action is_in
entity prev_answer
action find
entity Hand
relation part of
['Hand', 'part of', 'Anglic languages'] ['Hand', 'part of', 'Anglo-Frisian languages']
ASK WHERE { VALUES ( ?x ) { ( resource:Anglic_languages ) ( resource:Anglo-Frisian_languages ) } . resource:Hand property:part_of ?x }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q179805
P136
Q5962346 Q2088357 Q15416
USER
Which classification schemes are the genre of more number of musical ensembles and television programs than political philosophy ?
(c(Q2088357)|c(Q15416),P136,c(Q5962346))
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2088357
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q179805
relation P136
type Q2088357
type Q15416
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?s ) WHERE { { ?j property:P136 ?w . ?w rdf:type ontology:Q5962346 . ?j rdf:type ontology:Q2088357 } UNION { ?j property:P136 ?w . ?j rdf:type ontology:Q15416 . ?w rdf:type ontology:Q5962346 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { { ?o rdf:type ontology:Q2088357 } UNION { ?o rdf:type ontology:Q15416 } } . ?o property:P136 resource:Q179805 } } . FILTER ( ?s > ?d ) }
political philosophy
action greater
action union
action find_reverse_tuple_counts
relation genre
type classification scheme
type musical ensemble
action find_reverse_tuple_counts
relation genre
type classification scheme
type television program
action count
action filter_multi_types
action find_reverse
entity political philosophy
relation genre
type musical ensemble
type television program
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?s ) WHERE { { ?j property:genre ?w . ?w rdf:type ontology:classification_scheme . ?j rdf:type ontology:musical_ensemble } UNION { ?j property:genre ?w . ?j rdf:type ontology:television_program . ?w rdf:type ontology:classification_scheme } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { { ?o rdf:type ontology:musical_ensemble } UNION { ?o rdf:type ontology:television_program } } . ?o property:genre resource:political_philosophy } } . FILTER ( ?s > ?d ) }
[]
classification scheme musical ensemble television program
Q1457145 Q21188110 Q1107
SYSTEM
cooking show, American television sitcom, anime
Q5227671 Q21188110 Q1107 Q581714 Q1273568 Q338632 Q336181 Q7724161 Q3546572 Q5434357 Q3421644 Q1366112 Q861402 Q23745 Q20267837 Q7696995 Q4382232 Q1407245 Q4922471 Q17113138 Q5465514 Q23739 Q20220309 Q6546170 Q4765080 Q336059 Q288608 Q2091526 Q7603925 Q1457145 Q12322867 Q1962634 Q399811 Q775344 Q6022825 Q482612 Q182415 Q21232614 Q20652466 Q178840 Q986699 Q5428822 Q7988576
(c(Q2088357)|c(Q15416),P136,c(Q5962346))
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2088357
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q179805
relation P136
type Q2088357
type Q15416
[ANSWERS] are the genre of more number of musical ensembles and television programs than political philosophy
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?s ) WHERE { { ?j property:P136 ?w . ?w rdf:type ontology:Q5962346 . ?j rdf:type ontology:Q2088357 } UNION { ?j property:P136 ?w . ?j rdf:type ontology:Q15416 . ?w rdf:type ontology:Q5962346 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { { ?o rdf:type ontology:Q2088357 } UNION { ?o rdf:type ontology:Q15416 } } . ?o property:P136 resource:Q179805 } } . FILTER ( ?s > ?d ) }
dating game show American television sitcom anime animated series children's television series documentary soap opera variety show teleserial tabloid talk show fantasy television reality show television drama educational television telenovela historical television series television comedy procedural drama television show black sitcom teen sitcom food reality television soap opera horror television series light entertainment animated sitcom science fiction Scripted Reality medical drama television documentary cooking show crime television news television series Japanese television drama teen drama Indian soap opera Korean drama reality television reality television series black comedy television program television series about families late-night talk show factual television television western
Cooking show, American television sitcom and anime are the genre of more number of musical ensembles and television programs than political philosophy
cooking show American television sitcom anime
action greater
action union
action find_reverse_tuple_counts
relation genre
type classification scheme
type musical ensemble
action find_reverse_tuple_counts
relation genre
type classification scheme
type television program
action count
action filter_multi_types
action find_reverse
entity political philosophy
relation genre
type musical ensemble
type television program
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?s ) WHERE { { ?j property:genre ?w . ?w rdf:type ontology:classification_scheme . ?j rdf:type ontology:musical_ensemble } UNION { ?j property:genre ?w . ?j rdf:type ontology:television_program . ?w rdf:type ontology:classification_scheme } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { { ?o rdf:type ontology:musical_ensemble } UNION { ?o rdf:type ontology:television_program } } . ?o property:genre resource:political_philosophy } } . FILTER ( ?s > ?d ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P136
Q15416 Q502895
USER
How many television programs and people as that classification scheme as their class ?
(c(Q15416),P136,Q1457145) (c(Q502895),P136,Q1457145) (c(Q15416),P136,Q1457145) (c(Q502895),P136,Q1457145) (c(Q15416),P136,Q21188110) (c(Q502895),P136,Q21188110) (c(Q15416),P136,Q1107) (c(Q502895),P136,Q1107)
[{'concept': 'Q15416'}, 'P136', 'Q1457145'] [{'concept': 'Q502895'}, 'P136', 'Q1457145'] [{'concept': 'Q15416'}, 'P136', 'Q1457145'] [{'concept': 'Q502895'}, 'P136', 'Q1457145'] [{'concept': 'Q15416'}, 'P136', 'Q21188110'] [{'concept': 'Q502895'}, 'P136', 'Q21188110'] [{'concept': 'Q15416'}, 'P136', 'Q1107'] [{'concept': 'Q502895'}, 'P136', 'Q1107']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q483394 resource:Q1457145 } UNION { ?y property:Q483394 resource:Q1457145 } UNION { ?z property:Q483394 resource:Q1457145 } UNION { ?y property:Q483394 resource:Q1457145 } UNION { ?z property:Q483394 resource:Q21188110 } UNION { ?y property:Q483394 resource:Q21188110 } UNION { ?z property:Q483394 resource:Q1107 } UNION { ?y property:Q483394 resource:Q1107 } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q502895 }
[{'concept': 'television program'}, 'genre', 'cooking show'] [{'concept': 'common name'}, 'genre', 'cooking show'] [{'concept': 'television program'}, 'genre', 'cooking show'] [{'concept': 'common name'}, 'genre', 'cooking show'] [{'concept': 'television program'}, 'genre', 'American television sitcom'] [{'concept': 'common name'}, 'genre', 'American television sitcom'] [{'concept': 'television program'}, 'genre', 'anime'] [{'concept': 'common name'}, 'genre', 'anime']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:genre resource:cooking_show } UNION { ?y property:genre resource:cooking_show } UNION { ?z property:genre resource:cooking_show } UNION { ?y property:genre resource:cooking_show } UNION { ?z property:genre resource:American_television_sitcom } UNION { ?y property:genre resource:American_television_sitcom } UNION { ?z property:genre resource:anime } UNION { ?y property:genre resource:anime } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:common_name }
[]
television program common name
Quantitative|Count|Mult. entity type|Clarification
Q21188110
SYSTEM
Did you mean American television sitcom ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q483394 resource:Q1457145 } UNION { ?y property:Q483394 resource:Q1457145 } UNION { ?z property:Q483394 resource:Q1457145 } UNION { ?y property:Q483394 resource:Q1457145 } UNION { ?z property:Q483394 resource:Q21188110 } UNION { ?y property:Q483394 resource:Q21188110 } UNION { ?z property:Q483394 resource:Q1107 } UNION { ?y property:Q483394 resource:Q1107 } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q502895 }
Did you mean American television sitcom ?
American television sitcom
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:genre resource:cooking_show } UNION { ?y property:genre resource:cooking_show } UNION { ?z property:genre resource:cooking_show } UNION { ?y property:genre resource:cooking_show } UNION { ?z property:genre resource:American_television_sitcom } UNION { ?y property:genre resource:American_television_sitcom } UNION { ?z property:genre resource:anime } UNION { ?y property:genre resource:anime } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant cooking show. Could you tell me the answer for that?
(c(Q15416),P136,Q1457145) (c(Q502895),P136,Q1457145) (c(Q15416),P136,Q1457145) (c(Q502895),P136,Q1457145) (c(Q15416),P136,Q21188110) (c(Q502895),P136,Q21188110) (c(Q15416),P136,Q1107) (c(Q502895),P136,Q1107)
Q1457145
[{'concept': 'Q15416'}, 'P136', 'Q1457145'] [{'concept': 'Q502895'}, 'P136', 'Q1457145'] [{'concept': 'Q15416'}, 'P136', 'Q1457145'] [{'concept': 'Q502895'}, 'P136', 'Q1457145'] [{'concept': 'Q15416'}, 'P136', 'Q21188110'] [{'concept': 'Q502895'}, 'P136', 'Q21188110'] [{'concept': 'Q15416'}, 'P136', 'Q1107'] [{'concept': 'Q502895'}, 'P136', 'Q1107']
[{'concept': 'television program'}, 'genre', 'cooking show'] [{'concept': 'common name'}, 'genre', 'cooking show'] [{'concept': 'television program'}, 'genre', 'cooking show'] [{'concept': 'common name'}, 'genre', 'cooking show'] [{'concept': 'television program'}, 'genre', 'American television sitcom'] [{'concept': 'common name'}, 'genre', 'American television sitcom'] [{'concept': 'television program'}, 'genre', 'anime'] [{'concept': 'common name'}, 'genre', 'anime']
[]
SYSTEM
102 television programs and 1 people
Q5465338 Q5151137 Q5691357 Q7639387 Q8075244 Q6146516 Q17032963 Q5465259 Q7858944 Q4820085 Q1090807 Q4545077 Q3161520 Q5929337 Q5929333 Q5584860 Q5166862 Q7687682 Q6784938 Q17035043 Q17022760 Q4662649 Q7886935 Q4727448 Q5278422 Q7426627 Q3234943 Q2001073 Q6708648 Q45726 Q6532302 Q7560213 Q6770700 Q16993553 Q7687662 Q5465280 Q6146518 Q5399459 Q2805288 Q6945370 Q7639349 Q4905476 Q5362578 Q6692013 Q17183096 Q7738635 Q7738634 Q6784943 Q6784947 Q7897841 Q5465374 Q22022647 Q5598899 Q6784968 Q4749185 Q7737675 Q5100453 Q6417977 Q7965599 Q5417805 Q16954068 Q8052741 Q5918493 Q543051 Q10521783 Q6945778 Q16997402 Q7246056 Q4876985 Q6417996 Q7727541 Q17060681 Q17066389 Q17066388 Q7300668 Q7753014 Q17054396 Q17017416 Q5028854 Q5164757 Q16843323 Q6146527 Q5166986 Q5622512 Q6702196 Q2805201 Q17008142 Q5167133 Q16828052 Q6902787 Q17008340 Q17013347 Q16056029 Q6072384 Q6072381 Q17005706 Q5465407 Q7737672 Q7737673 Q7737674 Q5582463 Q5465423 Q5421408
(c(Q15416),P136,Q1457145) (c(Q502895),P136,Q1457145) (c(Q15416),P136,Q1457145) (c(Q502895),P136,Q1457145) (c(Q15416),P136,Q21188110) (c(Q502895),P136,Q21188110) (c(Q15416),P136,Q1107) (c(Q502895),P136,Q1107)
[ANSWER]
[{'concept': 'Q15416'}, 'P136', 'Q1457145'] [{'concept': 'Q502895'}, 'P136', 'Q1457145'] [{'concept': 'Q15416'}, 'P136', 'Q1457145'] [{'concept': 'Q502895'}, 'P136', 'Q1457145'] [{'concept': 'Q15416'}, 'P136', 'Q21188110'] [{'concept': 'Q502895'}, 'P136', 'Q21188110'] [{'concept': 'Q15416'}, 'P136', 'Q1107'] [{'concept': 'Q502895'}, 'P136', 'Q1107']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q483394 resource:Q1457145 } UNION { ?y property:Q483394 resource:Q1457145 } UNION { ?z property:Q483394 resource:Q1457145 } UNION { ?y property:Q483394 resource:Q1457145 } UNION { ?z property:Q483394 resource:Q21188110 } UNION { ?y property:Q483394 resource:Q21188110 } UNION { ?z property:Q483394 resource:Q1107 } UNION { ?y property:Q483394 resource:Q1107 } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q502895 }
Food Lovers' Guide to Australia Come Dine With Me Australia Healthful Indian Flavors with Alamelu Sunday Feast Zumbo Jamie's 15-Minute Meals Shane Delia's Spice Journey Food, Glorious Food Two Fat Ladies Audrey's Kitchen MasterChef ...Cooks! Jamie's Kitchen Australia Huey's Kitchen Huey's Cooking Adventures Gordon Behind Bars Cook's Country Taste in Translation MasterChef Australia: The Professionals Weekend Kitchen with Waitrose The Taste Aarti Party Unique Eats Alive and Cooking Dinner date Saturday Kitchen MasterChef Australia The F Word Lyndey and Blair's Taste of Greece MasterChef Let's Do Lunch with Gino & Mel Something for the Weekend Market Kitchen The Hairy Bikers' Asian Adventure Taste Food 4 Life Jamie's 30-Minute Meals Essence of Emeril Gordon's Great Escape My Family Feast Sunday Brunch Big Cook, Little Cook Elizabeth Chong's Tiny Delights Love to Share Recipe Rehab The Hairy Bikers' Cookbook The Hairy Bikers' Food Tour of Britain MasterChef Australia All-Stars MasterChef Greece Unwrapped Food Safari Guilty Pleasures Great British Menu MasterChef Selebriti Malaysia Amy Finley The Great British Bake Off Chinese Food in Minutes Kitchen Criminals Walter McGinley's Cooking Hour Everyday Gourmet with Justine Schofield The Chef Presents Yes Chef How to Boil Water Ready Steady Cook Jamie at Home My Kitchen Rules Mary Berry Cooks Private Chefs of Beverly Hills Beat the Chef Kitchen Whiz The Cook and the Chef The Great British Bake Off What's Cooking? What's Cooking? Ready Steady Cook The Naked Chef Recipe to Riches Paul Hollywood's Pies and Puds Can't Cook, Won't Cook Consuming Passions Heston's Feasts Jamie's Ministry of Food Cook Me the Money Guy Off the Hook Luke Nguyen's Vietnam Gordon Ramsay's Ultimate Cookery Course It's a Lifestyle TV Cooking For Kids with Luis Boys Weekend Monster Munchies The Jean Bowring Show Menus for Moderns My Sri Lanka with Peter Kuruvita Iron Chef UK Iron Chef Australia The Great Australian Bake Off Food Uncut The Great British Bake Off The Great British Bake Off The Great British Bake Off Good Chef Bad Chef Food and Drink Exploring China: A Culinary Adventure
102 television programs and 1 people
[{'concept': 'television program'}, 'genre', 'cooking show'] [{'concept': 'common name'}, 'genre', 'cooking show'] [{'concept': 'television program'}, 'genre', 'cooking show'] [{'concept': 'common name'}, 'genre', 'cooking show'] [{'concept': 'television program'}, 'genre', 'American television sitcom'] [{'concept': 'common name'}, 'genre', 'American television sitcom'] [{'concept': 'television program'}, 'genre', 'anime'] [{'concept': 'common name'}, 'genre', 'anime']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:genre resource:cooking_show } UNION { ?y property:genre resource:cooking_show } UNION { ?z property:genre resource:cooking_show } UNION { ?y property:genre resource:cooking_show } UNION { ?z property:genre resource:American_television_sitcom } UNION { ?y property:genre resource:American_television_sitcom } UNION { ?z property:genre resource:anime } UNION { ?y property:genre resource:anime } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4895101
P21
Q290
USER
Which sex does Bert Hardy possess ?
(Q4895101,P21,c(Q290))
action filter_type
action find
entity Q4895101
relation P21
type Q290
['Q4895101', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q4895101 property:P21 ?h . ?h rdf:type ontology:Q290 }
Bert Hardy
action filter_type
action find
entity Bert Hardy
relation gender
type sex
['Bert Hardy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Bert_Hardy property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4895101,P21,c(Q290))
action filter_type
action find
entity Q4895101
relation P21
type Q290
Bert Hardy possesses un [ANSWER]
['Q4895101', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q4895101 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
Bert Hardy possesses un male
male
action filter_type
action find
entity Bert Hardy
relation gender
type sex
['Bert Hardy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Bert_Hardy property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P69
Q502895
USER
Who was a student at that sex ?
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P69 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:educated_at resource:male }
[]
common name
Q4662307
SYSTEM
Aaron Parchem
Q4662307
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[ANSWER] was a student at that sex
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P69 resource:Q6581097 }
Aaron Parchem
Aaron Parchem was a student at that sex
Aaron Parchem
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:educated_at resource:male }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q1001378
USER
Which cinematic techniques did atmost 62 people dub for ?
(c(Q1001378),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 62
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?l ) WHERE { ?m property:P725 ?t . ?t rdf:type ontology:Q502895 . ?m rdf:type ontology:Q1001378 } GROUP BY ?m } . FILTER ( ?l <= 62 ) }
action atmost
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 62
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?l ) WHERE { ?m property:voice_actor ?t . ?t rdf:type ontology:common_name . ?m rdf:type ontology:cinematic_technique } GROUP BY ?m } . FILTER ( ?l <= 62 ) }
[]
common name cinematic technique
Q15270647 Q104905 Q6144664
SYSTEM
Zootopia, WALL•E, Inside Out
Q656998 Q6505964 Q120367 Q2388260 Q21079862 Q1093555 Q15270742 Q15270647 Q27229786 Q2329413 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 atmost
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 62
Atmost 62 people dubbed [ANSWERS]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?l ) WHERE { ?m property:P725 ?t . ?t rdf:type ontology:Q502895 . ?m rdf:type ontology:Q1001378 } GROUP BY ?m } . FILTER ( ?l <= 62 ) }
Garfield's Pet Force Rudolph the Red-Nosed Reindeer: The Movie Shark Tale The Humpbacked Horse Cars 3 Swan Lake Adventures of Mowgli Zootopia The Animated Adventures of Tom Sawyer Barbie as the Princess and the Pauper 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
Atmost 62 people dubbed Zootopia, WALL•E and Inside Out
Zootopia WALL•E Inside Out
action atmost
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 62
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?l ) WHERE { ?m property:voice_actor ?t . ?t rdf:type ontology:common_name . ?m rdf:type ontology:cinematic_technique } GROUP BY ?m } . FILTER ( ?l <= 62 ) }
[]