Simple Question (Direct)
Simple Question
Q3818325
P750
Q4830453
USER
Who is Sole Survivor distributed by ?
(Q3818325,P750,c(Q4830453))
action filter_type
action find
entity Q3818325
relation P750
type Q4830453
['Q3818325', 'P750', {'concept': 'Q4830453'}]
SELECT DISTINCT ?i WHERE { resource:Q3818325 property:P750 ?i . ?i rdf:type ontology:Q4830453 }
Sole Survivor
action filter_type
action find
entity Sole Survivor
relation distributor
type business enterprise
['Sole Survivor', 'distributor', {'concept': 'business enterprise'}]
SELECT DISTINCT ?i WHERE { resource:Sole_Survivor property:distributor ?i . ?i rdf:type ontology:business_enterprise }
[]
business enterprise
Q166419
SYSTEM
Fox Broadcasting Company
Q166419
(Q3818325,P750,c(Q4830453))
action filter_type
action find
entity Q3818325
relation P750
type Q4830453
By Sole Survivor is distributed by [ANSWER]
['Q3818325', 'P750', {'concept': 'Q4830453'}]
SELECT DISTINCT ?i WHERE { resource:Q3818325 property:P750 ?i . ?i rdf:type ontology:Q4830453 }
Fox Broadcasting Company
By Sole Survivor is distributed by Fox Broadcasting Company
Fox Broadcasting Company
action filter_type
action find
entity Sole Survivor
relation distributor
type business enterprise
['Sole Survivor', 'distributor', {'concept': 'business enterprise'}]
SELECT DISTINCT ?i WHERE { resource:Sole_Survivor property:distributor ?i . ?i rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q166419
P159
Q56061
USER
Where is the headquarter of that business enterprise located ?
(Q166419,P159,c(Q56061))
action filter_type
action find
entity Q166419
relation P159
type Q56061
['Q166419', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q166419 property:P159 ?f . ?f rdf:type ontology:Q56061 }
Fox Broadcasting Company
action filter_type
action find
entity Fox Broadcasting Company
relation headquarters location
type administrative territorial entity
['Fox Broadcasting Company', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Fox_Broadcasting_Company property:headquarters_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q65
SYSTEM
Los Angeles
Q65
(Q166419,P159,c(Q56061))
action filter_type
action find
entity Q166419
relation P159
type Q56061
The headquarter of that business enterprise is located in [ANSWER]
['Q166419', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q166419 property:P159 ?f . ?f rdf:type ontology:Q56061 }
Los Angeles
The headquarter of that business enterprise is located in Los Angeles
Los Angeles
action filter_type
action find
entity Fox Broadcasting Company
relation headquarters location
type administrative territorial entity
['Fox Broadcasting Company', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Fox_Broadcasting_Company property:headquarters_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q166419
P272
Q15416
USER
Which television programs had that business enterprise as the production house ?
(c(Q15416),P272,Q65)
action filter_type
action find_reverse
entity Q166419
relation P272
type Q15416
[{'concept': 'Q15416'}, 'P272', 'Q65']
SELECT DISTINCT ?v WHERE { ?v property:P272 resource:Q166419 . ?v rdf:type ontology:Q15416 }
Fox Broadcasting Company
action filter_type
action find_reverse
entity Fox Broadcasting Company
relation production company
type television program
[{'concept': 'television program'}, 'production company', 'Los Angeles']
SELECT DISTINCT ?v WHERE { ?v property:production_company resource:Fox_Broadcasting_Company . ?v rdf:type ontology:television_program }
[]
television program
Q4989216 Q568093 Q471456
SYSTEM
Deadly Invasion: The Killer Bee Nightmare, Virtuality, Prison Break: The Final Break
Q4989216 Q568093 Q471456
(c(Q15416),P272,Q65)
action filter_type
action find_reverse
entity Q166419
relation P272
type Q15416
[ANSWERS] had that business enterprise as the production house
[{'concept': 'Q15416'}, 'P272', 'Q65']
SELECT DISTINCT ?v WHERE { ?v property:P272 resource:Q166419 . ?v rdf:type ontology:Q15416 }
Deadly Invasion: The Killer Bee Nightmare Virtuality Prison Break: The Final Break
Deadly Invasion: The Killer Bee Nightmare, Virtuality and Prison Break: The Final Break had that business enterprise as the production house
Deadly Invasion: The Killer Bee Nightmare Virtuality Prison Break: The Final Break
action filter_type
action find_reverse
entity Fox Broadcasting Company
relation production company
type television program
[{'concept': 'television program'}, 'production company', 'Los Angeles']
SELECT DISTINCT ?v WHERE { ?v property:production_company resource:Fox_Broadcasting_Company . ?v rdf:type ontology:television_program }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P144
Q15416 Q166142 Q15961987
USER
Which television programs are max number of applications and television genres considered a copy of ?
(c(Q166142)|c(Q15961987),P144,c(Q15416))
action argmax
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q166142
action find_reverse_tuple_counts
relation P144
type Q15416
type Q15961987
[[{'concept': 'Q166142'}, {'concept': 'Q15961987'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?d ) { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?k ) WHERE { VALUES ( ?n ) { ( ontology:Q166142 ) ( ontology:Q15961987 ) } . ?m rdf:type ?n } GROUP BY ?e } } . { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:P144 ?w . ?w rdf:type ontology:Q15416 . ?o rdf:type ontology:Q166142 } UNION { ?o property:P144 ?w . ?o rdf:type ontology:Q15961987 . ?w rdf:type ontology:Q15416 } } GROUP BY ?w } . FILTER ( ?c = ?d ) }
action argmax
action union
action find_reverse_tuple_counts
relation based on
type television program
type application
action find_reverse_tuple_counts
relation based on
type television program
type television genre
[[{'concept': 'application'}, {'concept': 'television genre'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?d ) { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?k ) WHERE { VALUES ( ?n ) { ( ontology:application ) ( ontology:television_genre ) } . ?m rdf:type ?n } GROUP BY ?e } } . { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:based_on ?w . ?w rdf:type ontology:television_program . ?o rdf:type ontology:application } UNION { ?o property:based_on ?w . ?o rdf:type ontology:television_genre . ?w rdf:type ontology:television_program } } GROUP BY ?w } . FILTER ( ?c = ?d ) }
[]
television program application television genre
Q16290
SYSTEM
Star Trek: The Next Generation
Q16290
(c(Q166142)|c(Q15961987),P144,c(Q15416))
action argmax
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q166142
action find_reverse_tuple_counts
relation P144
type Q15416
type Q15961987
[ANSWER] is max number of applications and television genres considered a copy of
[[{'concept': 'Q166142'}, {'concept': 'Q15961987'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?d ) { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?k ) WHERE { VALUES ( ?n ) { ( ontology:Q166142 ) ( ontology:Q15961987 ) } . ?m rdf:type ?n } GROUP BY ?e } } . { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:P144 ?w . ?w rdf:type ontology:Q15416 . ?o rdf:type ontology:Q166142 } UNION { ?o property:P144 ?w . ?o rdf:type ontology:Q15961987 . ?w rdf:type ontology:Q15416 } } GROUP BY ?w } . FILTER ( ?c = ?d ) }
Star Trek: The Next Generation
Star Trek: The Next Generation is max number of applications and television genres considered a copy of
Star Trek: The Next Generation
action argmax
action union
action find_reverse_tuple_counts
relation based on
type television program
type application
action find_reverse_tuple_counts
relation based on
type television program
type television genre
[[{'concept': 'application'}, {'concept': 'television genre'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?d ) { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?k ) WHERE { VALUES ( ?n ) { ( ontology:application ) ( ontology:television_genre ) } . ?m rdf:type ?n } GROUP BY ?e } } . { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:based_on ?w . ?w rdf:type ontology:television_program . ?o rdf:type ontology:application } UNION { ?o property:based_on ?w . ?o rdf:type ontology:television_genre . ?w rdf:type ontology:television_program } } GROUP BY ?w } . FILTER ( ?c = ?d ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q37701 Q3818325
P495 P1376
Q1048835
USER
Which political territories are the countries of origin of Sole Survivor or have Bloemfontein as their capital ?
OR((Q3818325,P495,c(Q1048835)), (Q37701,P1376,c(Q1048835)))
action filter_type
action union
action find
entity Q3818325
relation P495
action find
entity Q37701
relation P1376
type Q1048835
{'OR': [['Q3818325', 'P495', {'concept': 'Q1048835'}], ['Q37701', 'P1376', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q3818325 property:P495 ?d } UNION { resource:Q37701 property:P1376 ?d } } . ?d rdf:type ontology:Q1048835 }
Bloemfontein Sole Survivor
action filter_type
action union
action find
entity Sole Survivor
relation country of origin
action find
entity Bloemfontein
relation capital of
type political territorial entity
{'OR': [['Sole Survivor', 'country of origin', {'concept': 'political territorial entity'}], ['Bloemfontein', 'capital of', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Sole_Survivor property:country_of_origin ?d } UNION { resource:Bloemfontein property:capital_of ?d } } . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q193619 Q16 Q160284
SYSTEM
Union of South Africa, Canada, Free State
Q193619 Q16 Q160284
OR((Q3818325,P495,c(Q1048835)), (Q37701,P1376,c(Q1048835)))
action filter_type
action union
action find
entity Q3818325
relation P495
action find
entity Q37701
relation P1376
type Q1048835
[ANSWERS] are the countries of origin of Sole Survivor or have Bloemfontein as their capital
{'OR': [['Q3818325', 'P495', {'concept': 'Q1048835'}], ['Q37701', 'P1376', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q3818325 property:P495 ?d } UNION { resource:Q37701 property:P1376 ?d } } . ?d rdf:type ontology:Q1048835 }
Union of South Africa Canada Free State
Union of South Africa, Canada and Free State are the countries of origin of Sole Survivor or have Bloemfontein as their capital
Union of South Africa Canada Free State
action filter_type
action union
action find
entity Sole Survivor
relation country of origin
action find
entity Bloemfontein
relation capital of
type political territorial entity
{'OR': [['Sole Survivor', 'country of origin', {'concept': 'political territorial entity'}], ['Bloemfontein', 'capital of', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Sole_Survivor property:country_of_origin ?d } UNION { resource:Bloemfontein property:capital_of ?d } } . ?d rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16290
P161
Q502895
USER
How many people are in Star Trek: The Next Generation ?
(Q16290,P161,c(Q502895))
action count
action filter_type
action find
entity Q16290
relation P161
type Q502895
['Q16290', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q16290 property:P161 ?a . ?a rdf:type ontology:Q502895 }
Star Trek: The Next Generation
action count
action filter_type
action find
entity Star Trek: The Next Generation
relation cast member
type common name
['Star Trek: The Next Generation', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Star_Trek:_The_Next_Generation property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
common name
SYSTEM
52
Q232945 Q355344 Q3217147 Q234474 Q4859127 Q253578 Q1927904 Q351849 Q467709 Q940971 Q253764 Q512099 Q1396070 Q313671 Q6272935 Q661591 Q273065 Q280198 Q232917 Q2667506 Q1593157 Q269599 Q2549047 Q228645 Q318412 Q2158428 Q7129281 Q537076 Q2158716 Q1351476 Q7147116 Q1504763 Q316955 Q708777 Q362599 Q550778 Q387830 Q312570 Q264699 Q16296 Q2799612 Q239075 Q7321359 Q49001 Q533795 Q463482 Q1966135 Q346595 Q4904748 Q311453 Q3122597 Q496503
(Q16290,P161,c(Q502895))
action count
action filter_type
action find
entity Q16290
relation P161
type Q502895
[ANSWER]
['Q16290', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q16290 property:P161 ?a . ?a rdf:type ontology:Q502895 }
Marina Sirtis Dwight Schultz Lanei Chapman Denise Crosby Barbara March Rosalind Chao Michael Horton Tony Todd Patti Yasutake Mark Lenard Gates McFadden Susan Gibney Suzie Plakson Colm Meaney Jonathan Del Arco Clyde Kusatsu Jennifer Hetrick Daniel Davis Majel Barrett Charles Cooper Jim Norton Diana Muldaur Ward Costello Ashley Judd James Doohan Robert O'Reilly Pamela Winslow Georgia Brown Robert Schenkkan Eric Menyuk Patrick Massett J. G. Hertzler Michael Dorn Brian Bonsall Andreas Katsulas John de Lancie Joanna Miles LeVar Burton Wil Wheaton Patrick Stewart Carolyn McCormick Michelle Forbes Rhonda Aldrich Whoopi Goldberg Lycia Naff Julie Warner Natalia Nogulich Jonathan Frakes Biff Yeager Brent Spiner Gwynyth Walsh Carel Struycken
52
action count
action filter_type
action find
entity Star Trek: The Next Generation
relation cast member
type common name
['Star Trek: The Next Generation', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Star_Trek:_The_Next_Generation property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3952104
Q502895
USER
And how about The Prince of Rogues?
(Q3952104,P161,c(Q502895))
action count
action filter_type
action find
entity Q3952104
relation P161
type Q502895
['Q3952104', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Q3952104 property:P161 ?i . ?i rdf:type ontology:Q502895 }
The Prince of Rogues
action count
action filter_type
action find
entity The Prince of Rogues
relation cast member
type common name
['The Prince of Rogues', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:The_Prince_of_Rogues property:cast_member ?i . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
13
(Q3952104,P161,c(Q502895))
action count
action filter_type
action find
entity Q3952104
relation P161
type Q502895
[ANSWER]
['Q3952104', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:Q3952104 property:P161 ?i . ?i rdf:type ontology:Q502895 }
13
action count
action filter_type
action find
entity The Prince of Rogues
relation cast member
type common name
['The Prince of Rogues', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { resource:The_Prince_of_Rogues property:cast_member ?i . ?i rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7261418 Q16290
P161
Q502895
USER
Which people were casted in Star Trek: The Next Generation or Purple Heart ?
OR((Q16290,P161,c(Q502895)), (Q7261418,P161,c(Q502895)))
action filter_type
action union
action find
entity Q16290
relation P161
action find
entity Q7261418
relation P161
type Q502895
{'OR': [['Q16290', 'P161', {'concept': 'Q502895'}], ['Q7261418', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?s ) { ( resource:Q16290 ) ( resource:Q7261418 ) } . ?s property:P161 ?k } . ?k rdf:type ontology:Q502895 }
Purple Heart Star Trek: The Next Generation
action filter_type
action union
action find
entity Star Trek: The Next Generation
relation cast member
action find
entity Purple Heart
relation cast member
type common name
{'OR': [['Star Trek: The Next Generation', 'cast member', {'concept': 'common name'}], ['Purple Heart', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?s ) { ( resource:Star_Trek:_The_Next_Generation ) ( resource:Purple_Heart ) } . ?s property:cast_member ?k } . ?k rdf:type ontology:common_name }
[]
common name
Q463482 Q351849 Q49001 Q533795 Q253578 Q1351476 Q232917 Q2158428 Q239075 Q1504763
SYSTEM
Some of them are Julie Warner, Tony Todd, Whoopi Goldberg, Lycia Naff, Rosalind Chao, Eric Menyuk, Majel Barrett, Robert O'Reilly, Michelle Forbes, J. G. Hertzler
Q5371935 Q232945 Q355344 Q3217147 Q234474 Q4859127 Q253578 Q351849 Q467709 Q940971 Q253764 Q7129281 Q1396070 Q313671 Q661591 Q273065 Q280198 Q232917 Q2667506 Q1593157 Q269599 Q451917 Q2549047 Q228645 Q1927904 Q2158428 Q6272935 Q537076 Q2158716 Q1351476 Q39972 Q152542 Q7147116 Q512099 Q1504763 Q318412 Q316955 Q708777 Q362599 Q550778 Q387830 Q312570 Q264699 Q16296 Q2799612 Q239075 Q7321359 Q49001 Q533795 Q463482 Q1966135 Q346595 Q4904748 Q311453 Q3122597 Q496503
OR((Q16290,P161,c(Q502895)), (Q7261418,P161,c(Q502895)))
action filter_type
action union
action find
entity Q16290
relation P161
action find
entity Q7261418
relation P161
type Q502895
[ANSWERS] were casted in Star Trek: The Next Generation or Purple Heart
{'OR': [['Q16290', 'P161', {'concept': 'Q502895'}], ['Q7261418', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?s ) { ( resource:Q16290 ) ( resource:Q7261418 ) } . ?s property:P161 ?k } . ?k rdf:type ontology:Q502895 }
Emilio Rivera Marina Sirtis Dwight Schultz Lanei Chapman Denise Crosby Barbara March Rosalind Chao Tony Todd Patti Yasutake Mark Lenard Gates McFadden Pamela Winslow Suzie Plakson Colm Meaney Clyde Kusatsu Jennifer Hetrick Daniel Davis Majel Barrett Charles Cooper Jim Norton Diana Muldaur Mel Harris Ward Costello Ashley Judd Michael Horton Robert O'Reilly Jonathan Del Arco Georgia Brown Robert Schenkkan Eric Menyuk Ed Lauter William Sadler Patrick Massett Susan Gibney J. G. Hertzler James Doohan Michael Dorn Brian Bonsall Andreas Katsulas John de Lancie Joanna Miles LeVar Burton Wil Wheaton Patrick Stewart Carolyn McCormick Michelle Forbes Rhonda Aldrich Whoopi Goldberg Lycia Naff Julie Warner Natalia Nogulich Jonathan Frakes Biff Yeager Brent Spiner Gwynyth Walsh Carel Struycken
Julie Warner, Tony Todd, Whoopi Goldberg, Lycia Naff, Rosalind Chao, Eric Menyuk, Majel Barrett, Robert O'Reilly, Michelle Forbes and J. G. Hertzler were casted in Star Trek: The Next Generation or Purple Heart
Julie Warner Tony Todd Whoopi Goldberg Lycia Naff Rosalind Chao Eric Menyuk Majel Barrett Robert O'Reilly Michelle Forbes J. G. Hertzler
action filter_type
action union
action find
entity Star Trek: The Next Generation
relation cast member
action find
entity Purple Heart
relation cast member
type common name
{'OR': [['Star Trek: The Next Generation', 'cast member', {'concept': 'common name'}], ['Purple Heart', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?s ) { ( resource:Star_Trek:_The_Next_Generation ) ( resource:Purple_Heart ) } . ?s property:cast_member ?k } . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16497585
P161
Q15416
USER
Do those people star in Belmonte ?
(Q16497585,P161,Q463482) (Q16497585,P161,Q351849) (Q16497585,P161,Q49001) (Q16497585,P161,Q533795) (Q16497585,P161,Q253578) (Q16497585,P161,Q1351476) (Q16497585,P161,Q232917) (Q16497585,P161,Q2158428) (Q16497585,P161,Q239075) (Q16497585,P161,Q1504763)
action is_in
entity prev_answer
action find
entity Q16497585
relation P161
['Q16497585', 'P161', 'Q463482'] ['Q16497585', 'P161', 'Q351849'] ['Q16497585', 'P161', 'Q49001'] ['Q16497585', 'P161', 'Q533795'] ['Q16497585', 'P161', 'Q253578'] ['Q16497585', 'P161', 'Q1351476'] ['Q16497585', 'P161', 'Q232917'] ['Q16497585', 'P161', 'Q2158428'] ['Q16497585', 'P161', 'Q239075'] ['Q16497585', 'P161', 'Q1504763']
ASK WHERE { VALUES ( ?h ) { ( resource:Q5371935 ) ( resource:Q232945 ) ( resource:Q355344 ) } . resource:Q16497585 property:P161 ?h }
Belmonte
action is_in
entity prev_answer
action find
entity Belmonte
relation cast member
['Belmonte', 'cast member', 'Julie Warner'] ['Belmonte', 'cast member', 'Tony Todd'] ['Belmonte', 'cast member', 'Whoopi Goldberg'] ['Belmonte', 'cast member', 'Lycia Naff'] ['Belmonte', 'cast member', 'Rosalind Chao'] ['Belmonte', 'cast member', 'Eric Menyuk'] ['Belmonte', 'cast member', 'Majel Barrett'] ['Belmonte', 'cast member', "Robert O'Reilly"] ['Belmonte', 'cast member', 'Michelle Forbes'] ['Belmonte', 'cast member', 'J. G. Hertzler']
ASK WHERE { VALUES ( ?h ) { ( resource:Emilio_Rivera ) ( resource:Marina_Sirtis ) ( resource:Dwight_Schultz ) } . resource:Belmonte property:cast_member ?h }
[]
television program
SYSTEM
NO
(Q16497585,P161,Q463482) (Q16497585,P161,Q351849) (Q16497585,P161,Q49001) (Q16497585,P161,Q533795) (Q16497585,P161,Q253578) (Q16497585,P161,Q1351476) (Q16497585,P161,Q232917) (Q16497585,P161,Q2158428) (Q16497585,P161,Q239075) (Q16497585,P161,Q1504763)
action is_in
entity prev_answer
action find
entity Q16497585
relation P161
[ANSWER]
['Q16497585', 'P161', 'Q463482'] ['Q16497585', 'P161', 'Q351849'] ['Q16497585', 'P161', 'Q49001'] ['Q16497585', 'P161', 'Q533795'] ['Q16497585', 'P161', 'Q253578'] ['Q16497585', 'P161', 'Q1351476'] ['Q16497585', 'P161', 'Q232917'] ['Q16497585', 'P161', 'Q2158428'] ['Q16497585', 'P161', 'Q239075'] ['Q16497585', 'P161', 'Q1504763']
ASK WHERE { VALUES ( ?h ) { ( resource:Q5371935 ) ( resource:Q232945 ) ( resource:Q355344 ) } . resource:Q16497585 property:P161 ?h }
No
action is_in
entity prev_answer
action find
entity Belmonte
relation cast member
['Belmonte', 'cast member', 'Julie Warner'] ['Belmonte', 'cast member', 'Tony Todd'] ['Belmonte', 'cast member', 'Whoopi Goldberg'] ['Belmonte', 'cast member', 'Lycia Naff'] ['Belmonte', 'cast member', 'Rosalind Chao'] ['Belmonte', 'cast member', 'Eric Menyuk'] ['Belmonte', 'cast member', 'Majel Barrett'] ['Belmonte', 'cast member', "Robert O'Reilly"] ['Belmonte', 'cast member', 'Michelle Forbes'] ['Belmonte', 'cast member', 'J. G. Hertzler']
ASK WHERE { VALUES ( ?h ) { ( resource:Emilio_Rivera ) ( resource:Marina_Sirtis ) ( resource:Dwight_Schultz ) } . resource:Belmonte property:cast_member ?h }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3110705
P144
Q1318295 Q277759 Q15416
USER
Which television programs are adapted from greater number of narratives or book series than Goodbye Lady Liberty ?
(c(Q15416),P144,c(Q1318295)|c(Q277759))
action greater
action union
action find_tuple_counts
relation P144
type Q15416
type Q1318295
action find_tuple_counts
relation P144
type Q15416
type Q277759
action count
action filter_multi_types
action find
entity Q3110705
relation P144
type Q1318295
type Q277759
[{'concept': 'Q15416'}, 'P144', [{'concept': 'Q1318295'}, {'concept': 'Q277759'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?b ) WHERE { { ?g property:P144 ?j . ?g rdf:type ontology:Q15416 . ?j rdf:type ontology:Q1318295 } UNION { ?g property:P144 ?j . ?g rdf:type ontology:Q15416 . ?j rdf:type ontology:Q277759 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Q3110705 property:P144 ?o . { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1318295 ) ( ontology:Q277759 ) } } } } . FILTER ( ?b > ?l ) }
Goodbye Lady Liberty
action greater
action union
action find_tuple_counts
relation based on
type television program
type narrative
action find_tuple_counts
relation based on
type television program
type book series
action count
action filter_multi_types
action find
entity Goodbye Lady Liberty
relation based on
type narrative
type book series
[{'concept': 'television program'}, 'based on', [{'concept': 'narrative'}, {'concept': 'book series'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?b ) WHERE { { ?g property:based_on ?j . ?g rdf:type ontology:television_program . ?j rdf:type ontology:narrative } UNION { ?g property:based_on ?j . ?g rdf:type ontology:television_program . ?j rdf:type ontology:book_series } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Goodbye_Lady_Liberty property:based_on ?o . { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:narrative ) ( ontology:book_series ) } } } } . FILTER ( ?b > ?l ) }
[]
narrative book series television program
Q23572 Q28537 Q2666419
SYSTEM
Game of Thrones, The Vampire Diaries, Largo Winch
Q462013 Q17067406 Q28537 Q372581 Q2263691 Q2666419 Q1216045 Q2727438 Q23572 Q16862988 Q18085820 Q20976234 Q18159912 Q847094 Q20198456 Q2637845 Q7497843 Q18334537 Q1505940 Q830459 Q5247681
(c(Q15416),P144,c(Q1318295)|c(Q277759))
action greater
action union
action find_tuple_counts
relation P144
type Q15416
type Q1318295
action find_tuple_counts
relation P144
type Q15416
type Q277759
action count
action filter_multi_types
action find
entity Q3110705
relation P144
type Q1318295
type Q277759
[ANSWERS] are adapted from greater number of narratives or book series than Goodbye Lady Liberty
[{'concept': 'Q15416'}, 'P144', [{'concept': 'Q1318295'}, {'concept': 'Q277759'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?b ) WHERE { { ?g property:P144 ?j . ?g rdf:type ontology:Q15416 . ?j rdf:type ontology:Q1318295 } UNION { ?g property:P144 ?j . ?g rdf:type ontology:Q15416 . ?j rdf:type ontology:Q277759 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Q3110705 property:P144 ?o . { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1318295 ) ( ontology:Q277759 ) } } } } . FILTER ( ?b > ?l ) }
The Chronicles of Narnia Freedom Road The Vampire Diaries Lovejoy Sechzehneichen Largo Winch The Smurfs Iznogoud Game of Thrones Constantine The Last Kingdom Outcast Fix & Foxi and Friends The Hitchhiker's Guide to the Galaxy Billy the Cat Millennium Shinzanmono Borkmann's point Read It and Weep Frenemies Deathlands: Homeward Bound
Game of Thrones, The Vampire Diaries and Largo Winch are adapted from greater number of narratives or book series than Goodbye Lady Liberty
Game of Thrones The Vampire Diaries Largo Winch
action greater
action union
action find_tuple_counts
relation based on
type television program
type narrative
action find_tuple_counts
relation based on
type television program
type book series
action count
action filter_multi_types
action find
entity Goodbye Lady Liberty
relation based on
type narrative
type book series
[{'concept': 'television program'}, 'based on', [{'concept': 'narrative'}, {'concept': 'book series'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?b ) WHERE { { ?g property:based_on ?j . ?g rdf:type ontology:television_program . ?j rdf:type ontology:narrative } UNION { ?g property:based_on ?j . ?g rdf:type ontology:television_program . ?j rdf:type ontology:book_series } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Goodbye_Lady_Liberty property:based_on ?o . { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:narrative ) ( ontology:book_series ) } } } } . FILTER ( ?b > ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q399702
P17
Q1048835 Q83620 Q14524493
USER
How many political territories do approximately the same number of thoroughfares and terrains belong to as Agüimes, Las Palmas ?
(c(Q83620)|c(Q14524493),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q83620
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q14524493
action count
action filter_multi_types
action find_reverse
entity Q399702
relation P17
type Q83620
type Q14524493
[[{'concept': 'Q83620'}, {'concept': 'Q14524493'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?s WHERE { VALUES ( ?z ) { ( ontology:Q83620 ) ( ontology:Q14524493 ) } . ?x rdf:type ?z } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { { ?f rdf:type ontology:Q83620 } UNION { ?f rdf:type ontology:Q14524493 } } . ?f property:P17 resource:Q399702 } } . FILTER ( ?p = ?y ) }
Agüimes, Las Palmas
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation country
type political territorial entity
type terrain
action count
action filter_multi_types
action find_reverse
entity Agüimes, Las Palmas
relation country
type thoroughfare
type terrain
[[{'concept': 'thoroughfare'}, {'concept': 'terrain'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?s WHERE { VALUES ( ?z ) { ( ontology:thoroughfare ) ( ontology:terrain ) } . ?x rdf:type ?z } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { { ?f rdf:type ontology:thoroughfare } UNION { ?f rdf:type ontology:terrain } } . ?f property:country resource:Agüimes,_Las_Palmas } } . FILTER ( ?p = ?y ) }
[]
political territorial entity thoroughfare terrain
SYSTEM
63
Q193714 Q1000 Q195972 Q21590062 Q746558 Q838261 Q183 Q785 Q193619 Q769 Q685 Q699964 Q763 Q13767 Q34617 Q22880 Q9676 Q641138 Q664 Q693551 Q13353 Q766 Q848383 Q5705 Q13726 Q953068 Q16 Q5785 Q35 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q778 Q2002138 Q3899 Q35672 Q25228 Q1747689 Q781 Q691 Q757 Q9648 Q231 Q234 Q2991382 Q40 Q168651 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q83620)|c(Q14524493),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q83620
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q14524493
action count
action filter_multi_types
action find_reverse
entity Q399702
relation P17
type Q83620
type Q14524493
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q14524493'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?s WHERE { VALUES ( ?z ) { ( ontology:Q83620 ) ( ontology:Q14524493 ) } . ?x rdf:type ?z } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { { ?f rdf:type ontology:Q83620 } UNION { ?f rdf:type ontology:Q14524493 } } . ?f property:P17 resource:Q399702 } } . FILTER ( ?p = ?y ) }
Mandatory Palestine Gabon Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Germany Jersey Union of South Africa Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Isle of Man Duchy of Cleves New Zealand Landgraviate of Hesse-Darmstadt Montserrat Jamaica Duchy of Rome Catalonia Albay South-West Africa Canada Cayman Islands Denmark Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Hanau-Münzenberg Palawan Palestinian territories Turks and Caicos Islands The Bahamas Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Ancient Rome Antigua and Barbuda Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Austria Landgraviate of Hesse-Kassel Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
63
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation country
type political territorial entity
type terrain
action count
action filter_multi_types
action find_reverse
entity Agüimes, Las Palmas
relation country
type thoroughfare
type terrain
[[{'concept': 'thoroughfare'}, {'concept': 'terrain'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?s WHERE { VALUES ( ?z ) { ( ontology:thoroughfare ) ( ontology:terrain ) } . ?x rdf:type ?z } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { { ?f rdf:type ontology:thoroughfare } UNION { ?f rdf:type ontology:terrain } } . ?f property:country resource:Agüimes,_Las_Palmas } } . FILTER ( ?p = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q766
P17
Q1048835 Q83620 Q14524493
USER
And how about Jamaica?
(c(Q83620)|c(Q14524493),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q83620
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q14524493
action count
action filter_multi_types
action find_reverse
entity Q766
relation P17
type Q83620
type Q14524493
[[{'concept': 'Q83620'}, {'concept': 'Q14524493'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { VALUES ( ?q ) { ( ontology:Q83620 ) ( ontology:Q14524493 ) } . ?n rdf:type ?q } . ?n property:P17 resource:Q766 } } . FILTER ( ?k = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?s WHERE { { ?e property:P17 ?s . ?s rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q83620 } UNION { ?e property:P17 ?s . ?s rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q14524493 } } GROUP BY ?s } }
Jamaica
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation country
type political territorial entity
type terrain
action count
action filter_multi_types
action find_reverse
entity Jamaica
relation country
type thoroughfare
type terrain
[[{'concept': 'thoroughfare'}, {'concept': 'terrain'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { VALUES ( ?q ) { ( ontology:thoroughfare ) ( ontology:terrain ) } . ?n rdf:type ?q } . ?n property:country resource:Jamaica } } . FILTER ( ?k = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?s WHERE { { ?e property:country ?s . ?s rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:thoroughfare } UNION { ?e property:country ?s . ?s rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:terrain } } GROUP BY ?s } }
[]
political territorial entity thoroughfare terrain
SYSTEM
63
Q193714 Q1000 Q195972 Q21590062 Q746558 Q838261 Q183 Q785 Q193619 Q769 Q685 Q699964 Q763 Q13767 Q34617 Q22880 Q9676 Q641138 Q664 Q693551 Q13353 Q766 Q848383 Q5705 Q13726 Q953068 Q16 Q5785 Q35 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q778 Q2002138 Q3899 Q35672 Q25228 Q1747689 Q781 Q691 Q757 Q9648 Q231 Q234 Q2991382 Q40 Q168651 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q83620)|c(Q14524493),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q83620
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q14524493
action count
action filter_multi_types
action find_reverse
entity Q766
relation P17
type Q83620
type Q14524493
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q14524493'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { VALUES ( ?q ) { ( ontology:Q83620 ) ( ontology:Q14524493 ) } . ?n rdf:type ?q } . ?n property:P17 resource:Q766 } } . FILTER ( ?k = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?s WHERE { { ?e property:P17 ?s . ?s rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q83620 } UNION { ?e property:P17 ?s . ?s rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q14524493 } } GROUP BY ?s } }
Mandatory Palestine Gabon Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Germany Jersey Union of South Africa Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Isle of Man Duchy of Cleves New Zealand Landgraviate of Hesse-Darmstadt Montserrat Jamaica Duchy of Rome Catalonia Albay South-West Africa Canada Cayman Islands Denmark Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Hanau-Münzenberg Palawan Palestinian territories Turks and Caicos Islands The Bahamas Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Ancient Rome Antigua and Barbuda Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Austria Landgraviate of Hesse-Kassel Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
63
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation country
type political territorial entity
type terrain
action count
action filter_multi_types
action find_reverse
entity Jamaica
relation country
type thoroughfare
type terrain
[[{'concept': 'thoroughfare'}, {'concept': 'terrain'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { VALUES ( ?q ) { ( ontology:thoroughfare ) ( ontology:terrain ) } . ?n rdf:type ?q } . ?n property:country resource:Jamaica } } . FILTER ( ?k = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?s WHERE { { ?e property:country ?s . ?s rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:thoroughfare } UNION { ?e property:country ?s . ?s rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:terrain } } GROUP BY ?s } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q232917
P161 P495
Q15416
USER
Which television programs have Majel Barrett in their star cast and originate at United States of America ?
AND((c(Q15416),P161,Q232917), (c(Q15416),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q232917
relation P161
action find_reverse
entity Q30
relation P495
type Q15416
{'AND': [[{'concept': 'Q15416'}, 'P161', 'Q232917'], [{'concept': 'Q15416'}, 'P495', 'Q30']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15416 . ?n property:P161 resource:Q232917 . ?n property:P495 resource:Q30 }
United States of America Majel Barrett
action filter_type
action intersection
action find_reverse
entity Majel Barrett
relation cast member
action find_reverse
entity United States of America
relation country of origin
type television program
{'AND': [[{'concept': 'television program'}, 'cast member', 'Majel Barrett'], [{'concept': 'television program'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:television_program . ?n property:cast_member resource:Majel_Barrett . ?n property:country_of_origin resource:United_States_of_America }
[]
television program
Q20909 Q16290 Q1077 Q108774
SYSTEM
The Cage, Star Trek: The Next Generation, Star Trek: The Original Series, Star Trek: Deep Space Nine
Q20909 Q16290 Q1077 Q108774
AND((c(Q15416),P161,Q232917), (c(Q15416),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q232917
relation P161
action find_reverse
entity Q30
relation P495
type Q15416
[ANSWERS] have Majel Barrett in their star cast and originate at United States of America
{'AND': [[{'concept': 'Q15416'}, 'P161', 'Q232917'], [{'concept': 'Q15416'}, 'P495', 'Q30']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15416 . ?n property:P161 resource:Q232917 . ?n property:P495 resource:Q30 }
The Cage Star Trek: The Next Generation Star Trek: The Original Series Star Trek: Deep Space Nine
The Cage, Star Trek: The Next Generation, Star Trek: The Original Series and Star Trek: Deep Space Nine have Majel Barrett in their star cast and originate at United States of America
The Cage Star Trek: The Next Generation Star Trek: The Original Series Star Trek: Deep Space Nine
action filter_type
action intersection
action find_reverse
entity Majel Barrett
relation cast member
action find_reverse
entity United States of America
relation country of origin
type television program
{'AND': [[{'concept': 'television program'}, 'cast member', 'Majel Barrett'], [{'concept': 'television program'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:television_program . ?n property:cast_member resource:Majel_Barrett . ?n property:country_of_origin resource:United_States_of_America }
[]