Simple Question (Direct)
Simple Question
Q465798
P641
Q31629
USER
What did Maija Tīruma participate in ?
(Q465798,P641,c(Q31629))
action filter_type
action find
entity Q465798
relation P641
type Q31629
['Q465798', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?y WHERE { resource:Q465798 property:P641 ?y . ?y rdf:type ontology:Q31629 }
Maija Tīruma
action filter_type
action find
entity Maija Tīruma
relation sport
type type of sport
['Maija Tīruma', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?y WHERE { resource:Maija_Tīruma property:sport ?y . ?y rdf:type ontology:type_of_sport }
[]
type of sport
Q273285
SYSTEM
luge
Q273285
(Q465798,P641,c(Q31629))
action filter_type
action find
entity Q465798
relation P641
type Q31629
Maija Tīruma participated in [ANSWER]
['Q465798', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?y WHERE { resource:Q465798 property:P641 ?y . ?y rdf:type ontology:Q31629 }
luge
Maija Tīruma participated in luge
luge
action filter_type
action find
entity Maija Tīruma
relation sport
type type of sport
['Maija Tīruma', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?y WHERE { resource:Maija_Tīruma property:sport ?y . ?y rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q465798
P9
Q502895
USER
Whose sister is Maija Tīruma ?
(c(Q502895),P9,Q465798)
action filter_type
action find
entity Q465798
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q465798']
SELECT DISTINCT ?a WHERE { resource:Q465798 property:P9 ?a . ?a rdf:type ontology:Q502895 }
Maija Tīruma
action filter_type
action find
entity Maija Tīruma
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Maija Tīruma']
SELECT DISTINCT ?a WHERE { resource:Maija_Tīruma property:sister ?a . ?a rdf:type ontology:common_name }
[]
common name
Q4047878
SYSTEM
Elīza Cauce
Q4047878
(c(Q502895),P9,Q465798)
action filter_type
action find
entity Q465798
relation P9
type Q502895
[ANSWER] is Maija Tīruma
[{'concept': 'Q502895'}, 'P9', 'Q465798']
SELECT DISTINCT ?a WHERE { resource:Q465798 property:P9 ?a . ?a rdf:type ontology:Q502895 }
Elīza Cauce
Elīza Cauce is Maija Tīruma
Elīza Cauce
action filter_type
action find
entity Maija Tīruma
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Maija Tīruma']
SELECT DISTINCT ?a WHERE { resource:Maija_Tīruma property:sister ?a . ?a rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q4047878 Q14688366 Q211
P27
Q15617994
USER
Is that person a native of Franklin Township Community School Corporation and Latvia ?
(Q4047878,P27,Q14688366) (Q4047878,P27,Q211)
action is_in
entity Q4047878
action intersection
action find_reverse
entity Q14688366
relation P27
action find_reverse
entity Q211
relation P27
['Q4047878', 'P27', 'Q14688366'] ['Q4047878', 'P27', 'Q211']
ASK WHERE { resource:Q4047878 property:P27 resource:Q14688366 . resource:Q4047878 property:P27 resource:Q211 }
Elīza Cauce Franklin Township Community School Corporation Latvia
action is_in
entity Elīza Cauce
action intersection
action find_reverse
entity Franklin Township Community School Corporation
relation country of citizenship
action find_reverse
entity Latvia
relation country of citizenship
['Elīza Cauce', 'country of citizenship', 'Franklin Township Community School Corporation'] ['Elīza Cauce', 'country of citizenship', 'Latvia']
ASK WHERE { resource:Elīza_Cauce property:country_of_citizenship resource:Franklin_Township_Community_School_Corporation . resource:Elīza_Cauce property:country_of_citizenship resource:Latvia }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q4047878,P27,Q14688366) (Q4047878,P27,Q211)
action is_in
entity Q4047878
action intersection
action find_reverse
entity Q14688366
relation P27
action find_reverse
entity Q211
relation P27
[ANSWER]
['Q4047878', 'P27', 'Q14688366'] ['Q4047878', 'P27', 'Q211']
ASK WHERE { resource:Q4047878 property:P27 resource:Q14688366 . resource:Q4047878 property:P27 resource:Q211 }
NO and YES respectively
action is_in
entity Elīza Cauce
action intersection
action find_reverse
entity Franklin Township Community School Corporation
relation country of citizenship
action find_reverse
entity Latvia
relation country of citizenship
['Elīza Cauce', 'country of citizenship', 'Franklin Township Community School Corporation'] ['Elīza Cauce', 'country of citizenship', 'Latvia']
ASK WHERE { resource:Elīza_Cauce property:country_of_citizenship resource:Franklin_Township_Community_School_Corporation . resource:Elīza_Cauce property:country_of_citizenship resource:Latvia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4047878
P19
Q1076486
USER
Which sports venue is the birthplace of that person ?
action filter_type
action find
entity Q4047878
relation P19
type Q1076486
SELECT DISTINCT ?t WHERE { resource:Q4047878 property:P19 ?t . ?t rdf:type ontology:Q1076486 }
Elīza Cauce
action filter_type
action find
entity Elīza Cauce
relation place of birth
type sports venue
SELECT DISTINCT ?t WHERE { resource:Elīza_Cauce property:place_of_birth ?t . ?t rdf:type ontology:sports_venue }
[]
sports venue
Q465698
SYSTEM
Sigulda
Q465698
action filter_type
action find
entity Q4047878
relation P19
type Q1076486
[ANSWER] is the birthplace of that person
SELECT DISTINCT ?t WHERE { resource:Q4047878 property:P19 ?t . ?t rdf:type ontology:Q1076486 }
Sigulda
Sigulda is the birthplace of that person
Sigulda
action filter_type
action find
entity Elīza Cauce
relation place of birth
type sports venue
SELECT DISTINCT ?t WHERE { resource:Elīza_Cauce property:place_of_birth ?t . ?t rdf:type ontology:sports_venue }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P3091
Q3745054 Q502895 Q502895
USER
Which people ride on a min number of horse breeds or people ?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action argmin
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?r ) { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?c ) WHERE { VALUES ( ?i ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?z rdf:type ?i } GROUP BY ?e } } . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?d ) WHERE { VALUES ( ?h ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?k rdf:type ?h } GROUP BY ?s } . FILTER ( ?d = ?r ) }
action argmin
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?r ) { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?c ) WHERE { VALUES ( ?i ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?z rdf:type ?i } GROUP BY ?e } } . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?d ) WHERE { VALUES ( ?h ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?k rdf:type ?h } GROUP BY ?s } . FILTER ( ?d = ?r ) }
[]
horse breed common name common name
Q34479 Q312391 Q151754
SYSTEM
Hirohito, Philippe Leclerc de Hauteclocque, Anne, Princess Royal
Q71451 Q64650 Q186164 Q7934379 Q262338 Q2965770 Q1038847 Q20240956 Q364502 Q3081121 Q25906162 Q355148 Q3035045 Q3351282 Q678324 Q151754 Q997380 Q84536 Q3056396 Q207535 Q2941011 Q3565906 Q942215 Q3385955 Q249233 Q364920 Q2162566 Q3573625 Q450267 Q2577320 Q4351964 Q317846 Q3501998 Q840001 Q3167944 Q6409976 Q3299860 Q19630255 Q444585 Q34479 Q312391 Q1061259 Q2041036 Q2966249 Q1739026 Q1081174 Q16104944 Q5908769 Q967780 Q488277 Q1332346 Q3147326 Q454614
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action argmin
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?r ) { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?c ) WHERE { VALUES ( ?i ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?z rdf:type ?i } GROUP BY ?e } } . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?d ) WHERE { VALUES ( ?h ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?k rdf:type ?h } GROUP BY ?s } . FILTER ( ?d = ?r ) }
Franke Sloothaak Ingrid Klimke Pippa Funnell Virginia Leng Nicole Uphoff Criquette Head-Maarek Carl Hester Arnaud Serre David O'Connor Kieren Fallon Thibaut Vallette Adelinde Cornelissen Dominique Boeuf Olivier Peslier Jorma Kontio Anne, Princess Royal Yutaka Take Hugo Simon Eric Saint-Martin Roland Cash Asmussen Walter Swinburn Jean-Claude Van Geenberghe Pierre Levesque Kristina Sprehe Bruce Davidson Ryan Moore Yves Dreux Nadine Capellmann Wilhelm Melliger Björn Goop Lü Bu Stéphane Pasquier Christophe Soumillon Jean-Michel Bazire Kimberly Severson Matthieu Abrivard Léopold Verroken Ulla Salzgeber Hirohito Philippe Leclerc de Hauteclocque Johnny Murtagh Christophe Lemaire Christophe Gallier Kent Farrington Gérald Mossé Michael Page Örjan Kihlström Franck Nivard Jan Tops Mark Todd Ian Stark Fritz Ligges
Hirohito, Philippe Leclerc de Hauteclocque and Anne, Princess Royal ride on a min number of horse breeds or people
Hirohito Philippe Leclerc de Hauteclocque Anne, Princess Royal
action argmin
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?r ) { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?c ) WHERE { VALUES ( ?i ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?z rdf:type ?i } GROUP BY ?e } } . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?d ) WHERE { VALUES ( ?h ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?k rdf:type ?h } GROUP BY ?s } . FILTER ( ?d = ?r ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15961987
USER
Which television genres had their voice dubbing done by around 3 people ?
(c(Q15961987),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 3
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?s ) WHERE { ?k property:P725 ?o . ?k rdf:type ontology:Q15961987 . ?o rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?s = 3 ) }
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
value 3
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?s ) WHERE { ?k property:voice_actor ?o . ?k rdf:type ontology:television_genre . ?o rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?s = 3 ) }
[]
common name television genre
Q886 Q11572 Q24034511
SYSTEM
The Simpsons, Avatar: The Last Airbender, Voltron: Legendary Defender
Q11572 Q24034511 Q11296848 Q7615342 Q3235151 Q576501 Q847219 Q753848 Q886 Q917543 Q2750339
(c(Q15961987),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 3
[ANSWERS] had their voice dubbing done by around 3 people
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?s ) WHERE { ?k property:P725 ?o . ?k rdf:type ontology:Q15961987 . ?o rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?s = 3 ) }
Avatar: The Last Airbender Voltron: Legendary Defender Kiteretsu Daihyakka Steven Universe VeggieTales Garfield and Friends Pururun! Shizuku-chan TaleSpin The Simpsons The Garfield Show Hellsing Ultimate
The Simpsons, Avatar: The Last Airbender and Voltron: Legendary Defender had their voice dubbing done by around 3 people
The Simpsons Avatar: The Last Airbender Voltron: Legendary Defender
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
value 3
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?s ) WHERE { ?k property:voice_actor ?o . ?k rdf:type ontology:television_genre . ?o rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?s = 3 ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P449
Q2001305 Q15961987
USER
How many television genres were originally telelcasted by more number of television channels than that television genre ?
(c(Q15961987),P449,c(Q2001305))
[{'concept': 'Q15961987'}, 'P449', {'concept': 'Q2001305'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P449 ?y . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q2001305 }
[{'concept': 'television genre'}, 'original network', {'concept': 'television channel'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:original_network ?y . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:television_channel }
[]
television channel television genre
Comparative|Count over More/Less|Single entity type|Clarification
Q886
SYSTEM
Did you mean The Simpsons ?
(c(Q15961987),P449,c(Q2001305))
[ANSWER]
[{'concept': 'Q15961987'}, 'P449', {'concept': 'Q2001305'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P449 ?y . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q2001305 }
Did you mean The Simpsons ?
The Simpsons
[{'concept': 'television genre'}, 'original network', {'concept': 'television channel'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:original_network ?y . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:television_channel }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Voltron: Legendary Defender. Could you tell me the answer for that?
(c(Q15961987),P449,c(Q2001305))
Q24034511
[{'concept': 'Q15961987'}, 'P449', {'concept': 'Q2001305'}]
[{'concept': 'television genre'}, 'original network', {'concept': 'television channel'}]
[]
SYSTEM
2
Q4018081 Q2332113
(c(Q15961987),P449,c(Q2001305))
[ANSWER]
[{'concept': 'Q15961987'}, 'P449', {'concept': 'Q2001305'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P449 ?y . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q2001305 }
Wander Over Yonder The Adventures of Paddington Bear
2
[{'concept': 'television genre'}, 'original network', {'concept': 'television channel'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:original_network ?y . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:television_channel }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q886
P1431
Q502895
USER
Who do The Simpsons have as their executive producer ?
(Q886,P1431,c(Q502895))
action filter_type
action find
entity Q886
relation P1431
type Q502895
['Q886', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q886 property:P1431 ?r . ?r rdf:type ontology:Q502895 }
The Simpsons
action filter_type
action find
entity The Simpsons
relation executive producer
type common name
['The Simpsons', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:The_Simpsons property:executive_producer ?r . ?r rdf:type ontology:common_name }
[]
common name
Q95125 Q365090 Q43994
SYSTEM
James L. Brooks, Sam Simon, Matt Groening
Q2829373 Q2400678 Q365090 Q3106628 Q2741850 Q95125 Q43994
(Q886,P1431,c(Q502895))
action filter_type
action find
entity Q886
relation P1431
type Q502895
The Simpsons have included [ANSWERS] as their executive producer
['Q886', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q886 property:P1431 ?r . ?r rdf:type ontology:Q502895 }
Al Jean Matt Selman Sam Simon Ian Maxtone-Graham John Frink James L. Brooks Matt Groening
The Simpsons have included James L. Brooks, Sam Simon and Matt Groening as their executive producer
James L. Brooks Sam Simon Matt Groening
action filter_type
action find
entity The Simpsons
relation executive producer
type common name
['The Simpsons', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:The_Simpsons property:executive_producer ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q33162
Q502895
USER
And what about Top Gear?
(Q33162,P1431,c(Q502895))
action filter_type
action find
entity Q33162
relation P1431
type Q502895
['Q33162', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q33162 property:P1431 ?v }
Top Gear
action filter_type
action find
entity Top Gear
relation executive producer
type common name
['Top Gear', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Top_Gear property:executive_producer ?v }
[]
common name
Q4761497
SYSTEM
Andy Wilman
Q4761497
(Q33162,P1431,c(Q502895))
action filter_type
action find
entity Q33162
relation P1431
type Q502895
[ANSWER]
['Q33162', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q33162 property:P1431 ?v }
Andy Wilman
Andy Wilman
action filter_type
action find
entity Top Gear
relation executive producer
type common name
['Top Gear', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Top_Gear property:executive_producer ?v }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q4761497 Q7571569 Q9531
P108
Q43229
USER
Does that person works for Sovena Group and BBC ?
(Q4761497,P108,Q7571569) (Q4761497,P108,Q9531)
action is_in
entity Q4761497
action intersection
action find_reverse
entity Q7571569
relation P108
action find_reverse
entity Q9531
relation P108
['Q4761497', 'P108', 'Q7571569'] ['Q4761497', 'P108', 'Q9531']
ASK WHERE { resource:Q4761497 property:P108 resource:Q7571569 . resource:Q4761497 property:P108 resource:Q9531 }
Andy Wilman Sovena Group BBC
action is_in
entity Andy Wilman
action intersection
action find_reverse
entity Sovena Group
relation employer
action find_reverse
entity BBC
relation employer
['Andy Wilman', 'employer', 'Sovena Group'] ['Andy Wilman', 'employer', 'BBC']
ASK WHERE { resource:Andy_Wilman property:employer resource:Sovena_Group . resource:Andy_Wilman property:employer resource:BBC }
[]
organization
SYSTEM
NO and YES respectively
(Q4761497,P108,Q7571569) (Q4761497,P108,Q9531)
action is_in
entity Q4761497
action intersection
action find_reverse
entity Q7571569
relation P108
action find_reverse
entity Q9531
relation P108
[ANSWER]
['Q4761497', 'P108', 'Q7571569'] ['Q4761497', 'P108', 'Q9531']
ASK WHERE { resource:Q4761497 property:P108 resource:Q7571569 . resource:Q4761497 property:P108 resource:Q9531 }
NO and YES respectively
action is_in
entity Andy Wilman
action intersection
action find_reverse
entity Sovena Group
relation employer
action find_reverse
entity BBC
relation employer
['Andy Wilman', 'employer', 'Sovena Group'] ['Andy Wilman', 'employer', 'BBC']
ASK WHERE { resource:Andy_Wilman property:employer resource:Sovena_Group . resource:Andy_Wilman property:employer resource:BBC }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q95125 Q18419
P19
Q56061
USER
Was Brooklyn James L. Brooks born ?
(Q95125,P19,Q18419)
action is_in
entity Q18419
action find
entity Q95125
relation P19
['Q95125', 'P19', 'Q18419']
ASK WHERE { resource:Q95125 property:P19 resource:Q18419 }
James L. Brooks Brooklyn
action is_in
entity Brooklyn
action find
entity James L. Brooks
relation place of birth
['James L. Brooks', 'place of birth', 'Brooklyn']
ASK WHERE { resource:James_L._Brooks property:place_of_birth resource:Brooklyn }
[]
administrative territorial entity
SYSTEM
YES
(Q95125,P19,Q18419)
action is_in
entity Q18419
action find
entity Q95125
relation P19
[ANSWER]
['Q95125', 'P19', 'Q18419']
ASK WHERE { resource:Q95125 property:P19 resource:Q18419 }
Yes
action is_in
entity Brooklyn
action find
entity James L. Brooks
relation place of birth
['James L. Brooks', 'place of birth', 'Brooklyn']
ASK WHERE { resource:James_L._Brooks property:place_of_birth resource:Brooklyn }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q288085 Q886
P1441
Q15619164
USER
Which abstract beings are featured in The Simpsons or Thunderbirds ?
OR((c(Q15619164),P1441,Q886), (c(Q15619164),P1441,Q288085))
action filter_type
action union
action find_reverse
entity Q886
relation P1441
action find_reverse
entity Q288085
relation P1441
type Q15619164
{'OR': [[{'concept': 'Q15619164'}, 'P1441', 'Q886'], [{'concept': 'Q15619164'}, 'P1441', 'Q288085']]}
SELECT DISTINCT ?t WHERE { { { ?t property:P1441 resource:Q886 } UNION { ?t property:P1441 resource:Q288085 } } . ?t rdf:type ontology:Q15619164 }
Thunderbirds The Simpsons
action filter_type
action union
action find_reverse
entity The Simpsons
relation present in work
action find_reverse
entity Thunderbirds
relation present in work
type abstract being
{'OR': [[{'concept': 'abstract being'}, 'present in work', 'The Simpsons'], [{'concept': 'abstract being'}, 'present in work', 'Thunderbirds']]}
SELECT DISTINCT ?t WHERE { { { ?t property:present_in_work resource:The_Simpsons } UNION { ?t property:present_in_work resource:Thunderbirds } } . ?t rdf:type ontology:abstract_being }
[]
abstract being
Q3039304 Q2387030 Q10261380 Q2465877 Q15233213 Q4168941 Q10270134 Q3089090 Q3487032 Q2728306
SYSTEM
Some of them are Drederick Tatum, Gil Gunderson, Crazy Cat Lady, Bumblebee Man, Frank Grimes Junior, Lunchlady Doris, Eddie, Clancy Bouvier, Cecil Terwilliger, Jasper Beardly
Q2151996 Q3053993 Q3108438 Q10316406 Q2268579 Q4168941 Q10270134 Q1789068 Q10370072 Q3239553 Q7807717 Q9604409 Q21832540 Q10319945 Q2465877 Q3039304 Q3089090 Q15238565 Q1939090 Q9657430 Q9660671 Q10312666 Q2750469 Q2270689 Q1995293 Q12326494 Q3009493 Q2196932 Q10296300 Q3878133 Q3593750 Q9655559 Q15233213 Q3487032 Q10265853 Q3489275 Q2600673 Q10393385 Q10381019 Q10319877 Q980650 Q3573197 Q10261380 Q10305237 Q15241683 Q1425114 Q10271973 Q2728306 Q4994754 Q10364020 Q5480 Q3291641 Q15241741 Q2982572 Q10295071 Q2467848 Q2387030 Q10270917
OR((c(Q15619164),P1441,Q886), (c(Q15619164),P1441,Q288085))
action filter_type
action union
action find_reverse
entity Q886
relation P1441
action find_reverse
entity Q288085
relation P1441
type Q15619164
And [ANSWERS] are featured in The Simpsons or Thunderbirds
{'OR': [[{'concept': 'Q15619164'}, 'P1441', 'Q886'], [{'concept': 'Q15619164'}, 'P1441', 'Q288085']]}
SELECT DISTINCT ?t WHERE { { { ?t property:P1441 resource:Q886 } UNION { ?t property:P1441 resource:Q288085 } } . ?t rdf:type ontology:Q15619164 }
Constance Harm Elizabeth Hoover Gladys Bouvier Larry Burns Kyrano Lunchlady Doris Eddie Abbie Simpson Ms. Albright Flanders family Tin-Tin Kyrano Allison Taylor Stuart Lurleen Lumpkin Bumblebee Man Drederick Tatum Clancy Bouvier Manjula Nahasapeemapetilon Hood Bill Simpson Capital City Goofball Jub Jub Jacqueline Bouvier Jeff Tracy Rainier Wolfcastle McBain Cyrus Simpson Spider Pig Rex Banner Frank Grimes Üter Zörker Bernice Hibbert Frank Grimes Junior Cecil Terwilliger Dewey Largo Poochie Duffman Wendell Borton Rich Texan Lou Aloysius Parker Yuma Hickman Crazy Cat Lady Janey Powell Sanjay Nahasapeemapetilon Santa's Little Helper Daphne Burns Jasper Beardly Blinky Roger Meyer Bart Simpson Squeaky Voiced Teen Artie Ziff Colin Herman Hermann Radioactive Man Gil Gunderson Edwina
And Drederick Tatum, Gil Gunderson, Crazy Cat Lady, Bumblebee Man, Frank Grimes Junior, Lunchlady Doris, Eddie, Clancy Bouvier, Cecil Terwilliger and Jasper Beardly are featured in The Simpsons or Thunderbirds
Drederick Tatum Gil Gunderson Crazy Cat Lady Bumblebee Man Frank Grimes Junior Lunchlady Doris Eddie Clancy Bouvier Cecil Terwilliger Jasper Beardly
action filter_type
action union
action find_reverse
entity The Simpsons
relation present in work
action find_reverse
entity Thunderbirds
relation present in work
type abstract being
{'OR': [[{'concept': 'abstract being'}, 'present in work', 'The Simpsons'], [{'concept': 'abstract being'}, 'present in work', 'Thunderbirds']]}
SELECT DISTINCT ?t WHERE { { { ?t property:present_in_work resource:The_Simpsons } UNION { ?t property:present_in_work resource:Thunderbirds } } . ?t rdf:type ontology:abstract_being }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3089090
P21
Q290
USER
Which sex does Clancy Bouvier have ?
(Q3089090,P21,c(Q290))
action filter_type
action find
entity Q3089090
relation P21
type Q290
['Q3089090', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q3089090 property:P21 ?p . ?p rdf:type ontology:Q290 }
Clancy Bouvier
action filter_type
action find
entity Clancy Bouvier
relation gender
type sex
['Clancy Bouvier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Clancy_Bouvier property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3089090,P21,c(Q290))
action filter_type
action find
entity Q3089090
relation P21
type Q290
Clancy Bouvier has a [ANSWER]
['Q3089090', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q3089090 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
Clancy Bouvier has a male
male
action filter_type
action find
entity Clancy Bouvier
relation gender
type sex
['Clancy Bouvier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Clancy_Bouvier property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34479
P7
Q502895
USER
Who are Hirohito a sibling of ?
(Q34479,P7,c(Q502895))
action filter_type
action find
entity Q34479
relation P7
type Q502895
['Q34479', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q34479 property:P7 ?j . ?j rdf:type ontology:Q502895 }
Hirohito
action filter_type
action find
entity Hirohito
relation brother
type common name
['Hirohito', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Hirohito property:brother ?j . ?j rdf:type ontology:common_name }
[]
common name
Q1030368 Q700317 Q280229
SYSTEM
Nobuhito Takamatsu, Yasuhito Chichibu, Prince Takahito Mikasa
Q1030368 Q700317 Q280229
(Q34479,P7,c(Q502895))
action filter_type
action find
entity Q34479
relation P7
type Q502895
Hirohito are a sibling of [ANSWERS] of
['Q34479', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q34479 property:P7 ?j . ?j rdf:type ontology:Q502895 }
Nobuhito Takamatsu Yasuhito Chichibu Prince Takahito Mikasa
Hirohito are a sibling of Nobuhito Takamatsu, Yasuhito Chichibu and Prince Takahito Mikasa of
Nobuhito Takamatsu Yasuhito Chichibu Prince Takahito Mikasa
action filter_type
action find
entity Hirohito
relation brother
type common name
['Hirohito', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Hirohito property:brother ?j . ?j rdf:type ontology:common_name }
[]