Simple Question (Direct)
Simple Question
Q1136370
P449
Q4830453
USER
Where was General Hospital originally aired ?
(Q1136370,P449,c(Q4830453))
action filter_type
action find
entity Q1136370
relation P449
type Q4830453
['Q1136370', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?t WHERE { resource:Q1136370 property:P449 ?t . ?t rdf:type ontology:Q4830453 }
General Hospital
action filter_type
action find
entity General Hospital
relation original network
type business enterprise
['General Hospital', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?t WHERE { resource:General_Hospital property:original_network ?t . ?t rdf:type ontology:business_enterprise }
[]
business enterprise
Q169889
SYSTEM
American Broadcasting Company
Q169889
(Q1136370,P449,c(Q4830453))
action filter_type
action find
entity Q1136370
relation P449
type Q4830453
Originally The [ANSWER] General Hospital was aired
['Q1136370', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?t WHERE { resource:Q1136370 property:P449 ?t . ?t rdf:type ontology:Q4830453 }
American Broadcasting Company
Originally The American Broadcasting Company General Hospital was aired
American Broadcasting Company
action filter_type
action find
entity General Hospital
relation original network
type business enterprise
['General Hospital', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?t WHERE { resource:General_Hospital property:original_network ?t . ?t rdf:type ontology:business_enterprise }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1136370
P361
Q6619679
USER
Which fictional humanoid is a component of General Hospital ?
(c(Q6619679),P361,Q1136370)
action filter_type
action find_reverse
entity Q1136370
relation P361
type Q6619679
[{'concept': 'Q6619679'}, 'P361', 'Q1136370']
SELECT DISTINCT ?l WHERE { ?l property:P361 resource:Q1136370 . ?l rdf:type ontology:Q6619679 }
General Hospital
action filter_type
action find_reverse
entity General Hospital
relation part of
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'part of', 'General Hospital']
SELECT DISTINCT ?l WHERE { ?l property:part_of resource:General_Hospital . ?l rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q16210649
SYSTEM
Lucy Coe
Q16210649
(c(Q6619679),P361,Q1136370)
action filter_type
action find_reverse
entity Q1136370
relation P361
type Q6619679
[ANSWER] is a component of General Hospital
[{'concept': 'Q6619679'}, 'P361', 'Q1136370']
SELECT DISTINCT ?l WHERE { ?l property:P361 resource:Q1136370 . ?l rdf:type ontology:Q6619679 }
Lucy Coe
Lucy Coe is a component of General Hospital
Lucy Coe
action filter_type
action find_reverse
entity General Hospital
relation part of
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'part of', 'General Hospital']
SELECT DISTINCT ?l WHERE { ?l property:part_of resource:General_Hospital . ?l rdf:type ontology:fictional_humanoid }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1136370
P1441
Q6619679
USER
Which fictional humanoids appear in that television program ?
(c(Q6619679),P1441,Q16210649)
action filter_type
action find_reverse
entity Q1136370
relation P1441
type Q6619679
[{'concept': 'Q6619679'}, 'P1441', 'Q16210649']
SELECT DISTINCT ?a WHERE { ?a property:P1441 resource:Q1136370 . ?a rdf:type ontology:Q6619679 }
General Hospital
action filter_type
action find_reverse
entity General Hospital
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'Lucy Coe']
SELECT DISTINCT ?a WHERE { ?a property:present_in_work resource:General_Hospital . ?a rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q6187634 Q4934654 Q6178829
SYSTEM
Jessie Brewer, Bobbie Spencer, Jennifer Smith
Q4960631 Q4721433 Q6178829 Q6187634 Q5129283 Q4647962 Q5694170 Q4934654 Q7181733
(c(Q6619679),P1441,Q16210649)
action filter_type
action find_reverse
entity Q1136370
relation P1441
type Q6619679
[ANSWERS] appear in that television program
[{'concept': 'Q6619679'}, 'P1441', 'Q16210649']
SELECT DISTINCT ?a WHERE { ?a property:P1441 resource:Q1136370 . ?a rdf:type ontology:Q6619679 }
Brenda Barrett Alexis Davis Jennifer Smith Jessie Brewer Claudia Zacchara A. J. Quartermaine Heather Webber Bobbie Spencer Phil Brewer
Jessie Brewer, Bobbie Spencer and Jennifer Smith appear in that television program
Jessie Brewer Bobbie Spencer Jennifer Smith
action filter_type
action find_reverse
entity General Hospital
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'Lucy Coe']
SELECT DISTINCT ?a WHERE { ?a property:present_in_work resource:General_Hospital . ?a rdf:type ontology:fictional_humanoid }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q169889 Q212252
P161
Q15416
USER
How many television programs have American Broadcasting Company or The CW in their star cast ?
(c(Q15416),P161,Q169889) (c(Q15416),P161,Q212252)
action count
action union
action filter_type
action find_reverse
entity Q169889
relation P161
type Q15416
action filter_type
action find_reverse
entity Q212252
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q169889'] [{'concept': 'Q15416'}, 'P161', 'Q212252']
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:P161 resource:Q169889 . ?z rdf:type ontology:Q15416 } UNION { ?z property:P161 resource:Q212252 . ?z rdf:type ontology:Q15416 } }
American Broadcasting Company The CW
action count
action union
action filter_type
action find_reverse
entity American Broadcasting Company
relation cast member
type television program
action filter_type
action find_reverse
entity The CW
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'American Broadcasting Company'] [{'concept': 'television program'}, 'cast member', 'The CW']
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:cast_member resource:American_Broadcasting_Company . ?z rdf:type ontology:television_program } UNION { ?z property:cast_member resource:The_CW . ?z rdf:type ontology:television_program } }
[]
television program
SYSTEM
2
Q612680 Q848677
(c(Q15416),P161,Q169889) (c(Q15416),P161,Q212252)
action count
action union
action filter_type
action find_reverse
entity Q169889
relation P161
type Q15416
action filter_type
action find_reverse
entity Q212252
relation P161
type Q15416
[ANSWER]
[{'concept': 'Q15416'}, 'P161', 'Q169889'] [{'concept': 'Q15416'}, 'P161', 'Q212252']
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:P161 resource:Q169889 . ?z rdf:type ontology:Q15416 } UNION { ?z property:P161 resource:Q212252 . ?z rdf:type ontology:Q15416 } }
Father Dowling Mysteries Shaggy & Scooby-Doo Get a Clue!
2
action count
action union
action filter_type
action find_reverse
entity American Broadcasting Company
relation cast member
type television program
action filter_type
action find_reverse
entity The CW
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'American Broadcasting Company'] [{'concept': 'television program'}, 'cast member', 'The CW']
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:cast_member resource:American_Broadcasting_Company . ?z rdf:type ontology:television_program } UNION { ?z property:cast_member resource:The_CW . ?z rdf:type ontology:television_program } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q169889
P162
Q838948
USER
Which work of art has been developed by American Broadcasting Company ?
action filter_type
action find_reverse
entity Q169889
relation P162
type Q838948
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q838948 . ?x property:P162 resource:Q169889 }
American Broadcasting Company
action filter_type
action find_reverse
entity American Broadcasting Company
relation producer
type work of art
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:work_of_art . ?x property:producer resource:American_Broadcasting_Company }
[]
work of art
Q5333950
SYSTEM
Ecstasy Rising
Q5333950
action filter_type
action find_reverse
entity Q169889
relation P162
type Q838948
[ANSWER] has been developed by American Broadcasting Company
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q838948 . ?x property:P162 resource:Q169889 }
Ecstasy Rising
Ecstasy Rising has been developed by American Broadcasting Company
Ecstasy Rising
action filter_type
action find_reverse
entity American Broadcasting Company
relation producer
type work of art
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:work_of_art . ?x property:producer resource:American_Broadcasting_Company }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q169889
P272
Q838948
USER
Which works of art were released from the production company named that business enterprise ?
(c(Q838948),P272,Q5333950)
action filter_type
action find_reverse
entity Q169889
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q5333950']
SELECT DISTINCT ?z WHERE { ?z property:P272 resource:Q169889 . ?z rdf:type ontology:Q838948 }
American Broadcasting Company
action filter_type
action find_reverse
entity American Broadcasting Company
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Ecstasy Rising']
SELECT DISTINCT ?z WHERE { ?z property:production_company resource:American_Broadcasting_Company . ?z rdf:type ontology:work_of_art }
[]
work of art
Q1140171 Q922251 Q990564
SYSTEM
They Shoot Horses, Don't They?, Candy, A Minute to Pray, a Second to Die
Q1140171 Q854708 Q1412037 Q1163628 Q3793514 Q1454785 Q3284961 Q1213589 Q922251 Q990564 Q1612502 Q3076747 Q3978081
(c(Q838948),P272,Q5333950)
action filter_type
action find_reverse
entity Q169889
relation P272
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P272', 'Q5333950']
SELECT DISTINCT ?z WHERE { ?z property:P272 resource:Q169889 . ?z rdf:type ontology:Q838948 }
They Shoot Horses, Don't They? Kotch Silkwood Straw Dogs Midas Run Man Friday Mame Hell in the Pacific Candy A Minute to Pray, a Second to Die The Flight of Dragons For Love of Ivy Suppose They Gave a War and Nobody Came
They shoot Horses, Don't They, Candy and A Minute to Pray, a Second to Die were released from the production company named that business enterprise
They Shoot Horses, Don't They? Candy A Minute to Pray, a Second to Die
action filter_type
action find_reverse
entity American Broadcasting Company
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Ecstasy Rising']
SELECT DISTINCT ?z WHERE { ?z property:production_company resource:American_Broadcasting_Company . ?z rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q169889
P108
Q502895
USER
Who works for that business enterprise ?
(c(Q502895),P108,Q1140171) (c(Q502895),P108,Q922251) (c(Q502895),P108,Q990564)
action filter_type
action find_reverse
entity Q169889
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q1140171'] [{'concept': 'Q502895'}, 'P108', 'Q922251'] [{'concept': 'Q502895'}, 'P108', 'Q990564']
SELECT DISTINCT ?j WHERE { ?j property:P108 resource:Q169889 . ?j rdf:type ontology:Q502895 }
American Broadcasting Company
action filter_type
action find_reverse
entity American Broadcasting Company
relation employer
type common name
[{'concept': 'common name'}, 'employer', "They Shoot Horses, Don't They?"] [{'concept': 'common name'}, 'employer', 'Candy'] [{'concept': 'common name'}, 'employer', 'A Minute to Pray, a Second to Die']
SELECT DISTINCT ?j WHERE { ?j property:employer resource:American_Broadcasting_Company . ?j rdf:type ontology:common_name }
[]
common name
Q231911 Q483325 Q4230666
SYSTEM
Sofía Vergara, Ellen DeGeneres, Sophiko Shevardnadze
Q5180707 Q162092 Q7976186 Q7372471 Q231911 Q4230666 Q483325 Q20031458 Q22122774
(c(Q502895),P108,Q1140171) (c(Q502895),P108,Q922251) (c(Q502895),P108,Q990564)
action filter_type
action find_reverse
entity Q169889
relation P108
type Q502895
[ANSWERS] work for that business enterprise
[{'concept': 'Q502895'}, 'P108', 'Q1140171'] [{'concept': 'Q502895'}, 'P108', 'Q922251'] [{'concept': 'Q502895'}, 'P108', 'Q990564']
SELECT DISTINCT ?j WHERE { ?j property:P108 resource:Q169889 . ?j rdf:type ontology:Q502895 }
Craig B. Fisher Jack Good Wayne Dolcefino Roxy Olin Sofía Vergara Sophiko Shevardnadze Ellen DeGeneres Scott Shuster Sonia Humphrey
Sofía Vergara, Ellen DeGeneres and Sophiko Shevardnadze work for that business enterprise
Sofía Vergara Ellen DeGeneres Sophiko Shevardnadze
action filter_type
action find_reverse
entity American Broadcasting Company
relation employer
type common name
[{'concept': 'common name'}, 'employer', "They Shoot Horses, Don't They?"] [{'concept': 'common name'}, 'employer', 'Candy'] [{'concept': 'common name'}, 'employer', 'A Minute to Pray, a Second to Die']
SELECT DISTINCT ?j WHERE { ?j property:employer resource:American_Broadcasting_Company . ?j rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q169889
P27 P108
Q502895
USER
Which people work for American Broadcasting Company and are civilians of United States of America ?
AND((c(Q502895),P108,Q169889), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q169889
relation P108
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P108', 'Q169889'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?n WHERE { ?n property:P108 resource:Q169889 . ?n property:P27 resource:Q30 . ?n rdf:type ontology:Q502895 }
United States of America American Broadcasting Company
action filter_type
action intersection
action find_reverse
entity American Broadcasting Company
relation employer
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'employer', 'American Broadcasting Company'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?n WHERE { ?n property:employer resource:American_Broadcasting_Company . ?n property:country_of_citizenship resource:United_States_of_America . ?n rdf:type ontology:common_name }
[]
common name
Q483325 Q5180707 Q231911 Q7372471 Q20031458
SYSTEM
Ellen DeGeneres, Craig B. Fisher, Sofía Vergara, Roxy Olin, Scott Shuster
Q483325 Q5180707 Q231911 Q7372471 Q20031458
AND((c(Q502895),P108,Q169889), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q169889
relation P108
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWERS] work for American Broadcasting Company and are civilians of United States of America
{'AND': [[{'concept': 'Q502895'}, 'P108', 'Q169889'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?n WHERE { ?n property:P108 resource:Q169889 . ?n property:P27 resource:Q30 . ?n rdf:type ontology:Q502895 }
Ellen DeGeneres Craig B. Fisher Sofía Vergara Roxy Olin Scott Shuster
Ellen DeGeneres, Craig B. Fisher, Sofía Vergara, Roxy Olin and Scott Shuster work for American Broadcasting Company and are civilians of United States of America
Ellen DeGeneres Craig B. Fisher Sofía Vergara Roxy Olin Scott Shuster
action filter_type
action intersection
action find_reverse
entity American Broadcasting Company
relation employer
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'employer', 'American Broadcasting Company'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?n WHERE { ?n property:employer resource:American_Broadcasting_Company . ?n property:country_of_citizenship resource:United_States_of_America . ?n rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1912327 Q231911
P1346
Q618779
USER
Which awards were Sofía Vergara or Max Brüel decalred as a champion of ?
OR((c(Q618779),P1346,Q231911), (c(Q618779),P1346,Q1912327))
action filter_type
action union
action find_reverse
entity Q231911
relation P1346
action find_reverse
entity Q1912327
relation P1346
type Q618779
{'OR': [[{'concept': 'Q618779'}, 'P1346', 'Q231911'], [{'concept': 'Q618779'}, 'P1346', 'Q1912327']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P1346 resource:Q231911 } UNION { ?u property:P1346 resource:Q1912327 } } . ?u rdf:type ontology:Q618779 }
Max Brüel Sofía Vergara
action filter_type
action union
action find_reverse
entity Sofía Vergara
relation winner
action find_reverse
entity Max Brüel
relation winner
type award
{'OR': [[{'concept': 'award'}, 'winner', 'Sofía Vergara'], [{'concept': 'award'}, 'winner', 'Max Brüel']]}
SELECT DISTINCT ?u WHERE { { { ?u property:winner resource:Sofía_Vergara } UNION { ?u property:winner resource:Max_Brüel } } . ?u rdf:type ontology:award }
[]
award
Q3352524 Q2529789
SYSTEM
Eckersberg Medal, Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series
Q3352524 Q2529789
OR((c(Q618779),P1346,Q231911), (c(Q618779),P1346,Q1912327))
action filter_type
action union
action find_reverse
entity Q231911
relation P1346
action find_reverse
entity Q1912327
relation P1346
type Q618779
Sofía Vergara or Max Brüel were decalred as a champion of the [ANSWERS]
{'OR': [[{'concept': 'Q618779'}, 'P1346', 'Q231911'], [{'concept': 'Q618779'}, 'P1346', 'Q1912327']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P1346 resource:Q231911 } UNION { ?u property:P1346 resource:Q1912327 } } . ?u rdf:type ontology:Q618779 }
Eckersberg Medal Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series
Sofía Vergara or Max Brüel were decalred as a champion of the Eckersberg Medal and Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series
Eckersberg Medal Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series
action filter_type
action union
action find_reverse
entity Sofía Vergara
relation winner
action find_reverse
entity Max Brüel
relation winner
type award
{'OR': [[{'concept': 'award'}, 'winner', 'Sofía Vergara'], [{'concept': 'award'}, 'winner', 'Max Brüel']]}
SELECT DISTINCT ?u WHERE { { { ?u property:winner resource:Sofía_Vergara } UNION { ?u property:winner resource:Max_Brüel } } . ?u rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6810577 Q7372471
P27 P17
Q15617994
USER
Which administrative territories are Roxy Olin a civilian of or are Mekinje a part of ?
OR((Q7372471,P27,c(Q15617994)), (Q6810577,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7372471
relation P27
action find
entity Q6810577
relation P17
type Q15617994
{'OR': [['Q7372471', 'P27', {'concept': 'Q15617994'}], ['Q6810577', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q6810577 property:P17 ?v } UNION { resource:Q7372471 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Mekinje Roxy Olin
action filter_type
action union
action find
entity Roxy Olin
relation country of citizenship
action find
entity Mekinje
relation country
type designation for an administrative territorial entity
{'OR': [['Roxy Olin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mekinje', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Mekinje property:country ?v } UNION { resource:Roxy_Olin property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q215
SYSTEM
United States of America, Slovenia
Q30 Q215
OR((Q7372471,P27,c(Q15617994)), (Q6810577,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7372471
relation P27
action find
entity Q6810577
relation P17
type Q15617994
[ANSWERS] are Roxy Olin a civilian of or are Mekinje a part of
{'OR': [['Q7372471', 'P27', {'concept': 'Q15617994'}], ['Q6810577', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q6810577 property:P17 ?v } UNION { resource:Q7372471 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
United States of America Slovenia
United States of America and Slovenia are Roxy Olin a civilian of or are Mekinje a part of
United States of America Slovenia
action filter_type
action union
action find
entity Roxy Olin
relation country of citizenship
action find
entity Mekinje
relation country
type designation for an administrative territorial entity
{'OR': [['Roxy Olin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mekinje', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Mekinje property:country ?v } UNION { resource:Roxy_Olin property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]