Simple Question (Direct)
Simple Question
Q129822
P449
Q2001305
USER
Which television channel did Let It Shine originally air in ?
(Q129822,P449,c(Q2001305))
action filter_type
action find
entity Q129822
relation P449
type Q2001305
['Q129822', 'P449', {'concept': 'Q2001305'}]
SELECT DISTINCT ?u WHERE { resource:Q129822 property:P449 ?u . ?u rdf:type ontology:Q2001305 }
Let It Shine
action filter_type
action find
entity Let It Shine
relation original network
type television channel
['Let It Shine', 'original network', {'concept': 'television channel'}]
SELECT DISTINCT ?u WHERE { resource:Let_It_Shine property:original_network ?u . ?u rdf:type ontology:television_channel }
[]
television channel
Q178837
SYSTEM
Disney Channel
Q178837
(Q129822,P449,c(Q2001305))
action filter_type
action find
entity Q129822
relation P449
type Q2001305
[ANSWER]
['Q129822', 'P449', {'concept': 'Q2001305'}]
SELECT DISTINCT ?u WHERE { resource:Q129822 property:P449 ?u . ?u rdf:type ontology:Q2001305 }
Disney Channel
Disney Channel
action filter_type
action find
entity Let It Shine
relation original network
type television channel
['Let It Shine', 'original network', {'concept': 'television channel'}]
SELECT DISTINCT ?u WHERE { resource:Let_It_Shine property:original_network ?u . ?u rdf:type ontology:television_channel }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q129822
P915
Q852446
USER
Which city was Let It Shine filmed on ?
(Q129822,P915,c(Q852446))
action filter_type
action find
entity Q129822
relation P915
type Q852446
['Q129822', 'P915', {'concept': 'Q852446'}]
SELECT DISTINCT ?q WHERE { resource:Q129822 property:P915 ?q . ?q rdf:type ontology:Q852446 }
Let It Shine
action filter_type
action find
entity Let It Shine
relation filming location
type administrative territorial entity of the United States
['Let It Shine', 'filming location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?q WHERE { resource:Let_It_Shine property:filming_location ?q . ?q rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1428
SYSTEM
Georgia
Q1428
(Q129822,P915,c(Q852446))
action filter_type
action find
entity Q129822
relation P915
type Q852446
[ANSWER]
['Q129822', 'P915', {'concept': 'Q852446'}]
SELECT DISTINCT ?q WHERE { resource:Q129822 property:P915 ?q . ?q rdf:type ontology:Q852446 }
Georgia
Georgia
action filter_type
action find
entity Let It Shine
relation filming location
type administrative territorial entity of the United States
['Let It Shine', 'filming location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?q WHERE { resource:Let_It_Shine property:filming_location ?q . ?q rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q129822
P1431
Q502895
USER
Whose production is Let It Shine of ?
(Q129822,P1431,c(Q502895))
action filter_type
action find
entity Q129822
relation P1431
type Q502895
['Q129822', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q129822 property:P1431 ?c . ?c rdf:type ontology:Q502895 }
Let It Shine
action filter_type
action find
entity Let It Shine
relation executive producer
type common name
['Let It Shine', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Let_It_Shine property:executive_producer ?c . ?c rdf:type ontology:common_name }
[]
common name
Q3371472
SYSTEM
Paul Hoen
Q3371472
(Q129822,P1431,c(Q502895))
action filter_type
action find
entity Q129822
relation P1431
type Q502895
[ANSWER] is Let It Shine of
['Q129822', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q129822 property:P1431 ?c . ?c rdf:type ontology:Q502895 }
Paul Hoen
Paul Hoen is Let It Shine of
Paul Hoen
action filter_type
action find
entity Let It Shine
relation executive producer
type common name
['Let It Shine', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Let_It_Shine property:executive_producer ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3824834
Q502895
USER
And what about Diana: Her True Story?
(Q3824834,P1431,c(Q502895))
action filter_type
action find
entity Q3824834
relation P1431
type Q502895
['Q3824834', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3824834 property:P1431 ?f . ?f rdf:type ontology:Q502895 }
Diana: Her True Story
action filter_type
action find
entity Diana: Her True Story
relation executive producer
type common name
['Diana: Her True Story', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Diana:_Her_True_Story property:executive_producer ?f . ?f rdf:type ontology:common_name }
[]
common name
Q6776391
SYSTEM
Martin Poll
Q6776391
(Q3824834,P1431,c(Q502895))
action filter_type
action find
entity Q3824834
relation P1431
type Q502895
[ANSWER]
['Q3824834', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3824834 property:P1431 ?f . ?f rdf:type ontology:Q502895 }
Martin Poll
Martin Poll
action filter_type
action find
entity Diana: Her True Story
relation executive producer
type common name
['Diana: Her True Story', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Diana:_Her_True_Story property:executive_producer ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3371472
P57
Q15416
USER
Which television programs are Paul Hoen a director of ?
(c(Q15416),P57,Q3371472)
action filter_type
action find_reverse
entity Q3371472
relation P57
type Q15416
[{'concept': 'Q15416'}, 'P57', 'Q3371472']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15416 . ?e property:P57 resource:Q3371472 }
Paul Hoen
action filter_type
action find_reverse
entity Paul Hoen
relation director
type television program
[{'concept': 'television program'}, 'director', 'Paul Hoen']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:television_program . ?e property:director resource:Paul_Hoen }
[]
television program
Q1068911 Q16251603 Q276279
SYSTEM
The Cheetah Girls: One World, How to Build a Better Boy, Camp Rock 2: The Final Jam
Q18758155 Q7371253 Q276279 Q1165290 Q2901990 Q3718959 Q129822 Q1068911 Q2713787 Q2358690 Q16251603 Q765579 Q12108188 Q1505940 Q1677988
(c(Q15416),P57,Q3371472)
action filter_type
action find_reverse
entity Q3371472
relation P57
type Q15416
The Cheetah Girls: One World, How to build a Better Boy and Camp Rock 2: The Final Jam are Paul Hoen a director of
[{'concept': 'Q15416'}, 'P57', 'Q3371472']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15416 . ?e property:P57 resource:Q3371472 }
Invisible Sister Roundhouse Camp Rock 2: The Final Jam Dadnapped Tru Confessions Eddie's Million Dollar Cook-Off Let It Shine The Cheetah Girls: One World The Luck of the Irish You Wish! How to Build a Better Boy Jump In! Cloud 9 Read It and Weep Just for Kicks
The Cheetah Girls: One World, How to build a Better Boy and Camp Rock 2: The Final Jam are Paul Hoen a director of
The Cheetah Girls: One World How to Build a Better Boy Camp Rock 2: The Final Jam
action filter_type
action find_reverse
entity Paul Hoen
relation director
type television program
[{'concept': 'television program'}, 'director', 'Paul Hoen']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:television_program . ?e property:director resource:Paul_Hoen }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3371472
P21
Q290
USER
Which sex does that person belong to ?
(Q1068911,P21,c(Q290)) (Q16251603,P21,c(Q290)) (Q276279,P21,c(Q290))
action filter_type
action find
entity Q3371472
relation P21
type Q290
['Q1068911', 'P21', {'concept': 'Q290'}] ['Q16251603', 'P21', {'concept': 'Q290'}] ['Q276279', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q3371472 property:P21 ?h . ?h rdf:type ontology:Q290 }
Paul Hoen
action filter_type
action find
entity Paul Hoen
relation gender
type sex
['The Cheetah Girls: One World', 'gender', {'concept': 'sex'}] ['How to Build a Better Boy', 'gender', {'concept': 'sex'}] ['Camp Rock 2: The Final Jam', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Paul_Hoen property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1068911,P21,c(Q290)) (Q16251603,P21,c(Q290)) (Q276279,P21,c(Q290))
action filter_type
action find
entity Q3371472
relation P21
type Q290
That person belongs to [ANSWER]
['Q1068911', 'P21', {'concept': 'Q290'}] ['Q16251603', 'P21', {'concept': 'Q290'}] ['Q276279', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q3371472 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Paul Hoen
relation gender
type sex
['The Cheetah Girls: One World', 'gender', {'concept': 'sex'}] ['How to Build a Better Boy', 'gender', {'concept': 'sex'}] ['Camp Rock 2: The Final Jam', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Paul_Hoen property:gender ?h . ?h rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q15416 Q5398426 Q11424
USER
How many television programs do atmost 1 television series and films extend upon ?
(c(Q5398426)|c(Q11424),P144,c(Q15416))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q5398426
action find_reverse_tuple_counts
relation P144
type Q15416
type Q11424
value 1
[[{'concept': 'Q5398426'}, {'concept': 'Q11424'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?d WHERE { { ?a property:P144 ?d . ?d rdf:type ontology:Q15416 . ?a rdf:type ontology:Q11424 } UNION { ?d rdf:type ontology:Q15416 . ?a rdf:type ontology:Q5398426 . ?a property:P144 ?d } } GROUP BY ?d } . FILTER ( ?f <= 1 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation based on
type television program
type television series
action find_reverse_tuple_counts
relation based on
type television program
type film
value 1
[[{'concept': 'television series'}, {'concept': 'film'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?d WHERE { { ?a property:based_on ?d . ?d rdf:type ontology:television_program . ?a rdf:type ontology:film } UNION { ?d rdf:type ontology:television_program . ?a rdf:type ontology:television_series . ?a property:based_on ?d } } GROUP BY ?d } . FILTER ( ?f <= 1 ) }
[]
television program television series film
SYSTEM
254
Q201358 Q4347124 Q1193168 Q1887148 Q16070164 Q1372163 Q2613769 Q3281746 Q5785110 Q2085782 Q3234798 Q732383 Q1247770 Q4427572 Q715723 Q1166225 Q322015 Q26693418 Q11274015 Q2318552 Q1275157 Q11160398 Q6682512 Q120300 Q3567653 Q464123 Q13923 Q890908 Q697135 Q1072839 Q387943 Q4384432 Q1031065 Q23605 Q139849 Q17091414 Q1368978 Q611100 Q1248747 Q1077 Q1190630 Q811225 Q1192644 Q11622 Q23831 Q212156 Q83071 Q4300886 Q2700478 Q5554642 Q755975 Q23572 Q17104814 Q812805 Q1249333 Q698301 Q1171033 Q7039588 Q130615 Q655271 Q24156458 Q1054760 Q978011 Q2690883 Q451399 Q518589 Q18571935 Q2533572 Q369111 Q2298323 Q732063 Q166845 Q2095183 Q4351904 Q155629 Q7512111 Q506074 Q10292622 Q921889 Q214107 Q1264983 Q92096 Q1247907 Q189411 Q702061 Q1247268 Q6422347 Q484020 Q45717 Q974857 Q6011000 Q3962025 Q649097 Q776608 Q1849170 Q1152081 Q207746 Q1571849 Q4543361 Q1286698 Q4846058 Q23829 Q18608849 Q3853767 Q3527986 Q638590 Q77522 Q13419757 Q3052933 Q1141930 Q1278637 Q2022612 Q280154 Q11275379 Q2553745 Q3234199 Q922713 Q1193499 Q217246 Q7336117 Q461100 Q1982608 Q617274 Q1193889 Q6857960 Q7737672 Q2072832 Q465616 Q1247201 Q1625113 Q390120 Q679623 Q902253 Q2077112 Q586491 Q4982200 Q488652 Q2265954 Q1044635 Q1138953 Q1229047 Q2085 Q3273305 Q245996 Q773202 Q6407502 Q31426 Q33162 Q183513 Q1156862 Q635933 Q1156866 Q214016 Q272015 Q1211796 Q1894972 Q162371 Q774834 Q2313956 Q174390 Q3555437 Q2518713 Q152178 Q2634204 Q7711682 Q634199 Q3794953 Q6900695 Q933189 Q264198 Q990842 Q1623411 Q1400775 Q559321 Q375062 Q779048 Q714753 Q1312683 Q244511 Q108774 Q617251 Q451943 Q13979 Q203707 Q5990513 Q2293964 Q1203502 Q3784600 Q18469946 Q3818118 Q7103920 Q591029 Q2744 Q4529 Q1193356 Q23623 Q208647 Q4183763 Q1190971 Q344081 Q34316 Q304290 Q2367132 Q182056 Q1768525 Q956446 Q156155 Q168708 Q3234630 Q1247495 Q1573292 Q1080682 Q1156849 Q16756 Q202577 Q7497756 Q7340827 Q126631 Q1145002 Q824379 Q366375 Q700127 Q192015 Q1247567 Q192259 Q828520 Q20655866 Q611745 Q56194 Q7721796 Q742103 Q8963139 Q1156853 Q2985293 Q599309 Q482482 Q217250 Q1215573 Q53110 Q189350 Q5291435 Q1193512 Q16290 Q1991960 Q250767 Q232737 Q752365 Q137034 Q5161696 Q1055984 Q1041541 Q701189 Q536137 Q3311904
(c(Q5398426)|c(Q11424),P144,c(Q15416))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q5398426
action find_reverse_tuple_counts
relation P144
type Q15416
type Q11424
value 1
[ANSWER]
[[{'concept': 'Q5398426'}, {'concept': 'Q11424'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?d WHERE { { ?a property:P144 ?d . ?d rdf:type ontology:Q15416 . ?a rdf:type ontology:Q11424 } UNION { ?d rdf:type ontology:Q15416 . ?a rdf:type ontology:Q5398426 . ?a property:P144 ?d } } GROUP BY ?d } . FILTER ( ?f <= 1 ) }
The Flintstones Porridge The Equalizer Unsolved Mysteries Cordon Kamen Rider Wizard The Famous Jett Jackson Ti lascio una canzone Contra Las Cuerdas Prisoners of War The Life and Loves of a She-Devil Yes Minister Peter Gunn Soldier Urusei Yatsura Dark Shadows Fifteen to One The Way to Dusty Death Dancing on Ice The Rocky and Bullwinkle Show Matador Z for Zachariah Los Beverly de Peralvillo Crayon Shin-chan Wheel of Fortune The A-Team The Grim Adventures of Billy & Mandy The Jerry Springer Show Bayside Shakedown Doc Martin Tiny Toon Adventures Traffik Underdog Shameless The Suite Life on Deck Nearest and Dearest Liar Game Da Ali G Show Steptoe and Son Star Trek: The Original Series Chōriki Sentai Ohranger Farmer Wants a Wife Kaizoku Sentai Gokaiger Firefly The Office Angel Downton Abbey I Am a Singer Caméra Café Getting On Survivor Game of Thrones series 12 of Strictly Come Dancing BeTipul The Quatermass Experiment Voltron The Burning Bed Sabri Maranan H₂O: Just Add Water Top Cat Maniac Super Sentai The Inbetweeners Real Humans Edge of Darkness Happy Days The Big O Go Ask Alice Mission: Impossible Top Chef Cheers Maverick Fingersmith Big Brother Australia Sesame Street Sightings Family Feud Guerra dos Sexos Johnny Tsunami DuckTales The Man from U.N.C.L.E. Fort Boyard My Favorite Martian CSI: Miami Little Lord Fauntleroy Get Smart Knightmare Mr. Bean You're Beautiful Police Squad! In Time with You Sirens Física o Química George and Mildred Reno 911! Tensou Sentai Goseiger Ben 10 Halloweentown The Magicians QI Aquí no hay quien viva The Office Angry Birds Stella The Returned Ti Ti Ti Those Who Kill Winx Club Secret Story Antiques Roadshow Juken Sentai Gekiranger The Wild Wild West Juukou B-Fighter All That Hagure Keiji: Junjōha Fat Albert and the Cosby Kids Hi-5 Whose Line Is It Anyway? Kamen Rider Black RX The Suite Life of Zack & Cody Rising Damp The Restless Years Kamen Rider Charlie's Angels Samurai Sentai Shinkenger Miljoenenjacht The Great British Bake Off Climax! Jackass Batman Rendezvous with Death Torchwood Hyakujuu Sentai Gaoranger Long Way Down SWAT Kats: The Radical Squadron Denji Sentai Megaranger Bubble Gang 49 Days Man About the House Bewitched Kyōryū Sentai Zyuranger Teacher's Pet Twin Peaks B-Fighter Kabuto Three's Company Yo soy Betty, la fea Killer Karaoke America's Next Top Model Top Gear Buffy the Vampire Slayer Tokusou Sentai Dekaranger The Batman Seijuu Sentai Gingaman 21 Jump Street Ranma ½ The Bridge Mystery Science Theater 3000 Charmed Toen Was Geluk Heel Gewoon Twelve Angry Men State of Play Anything Goes Don't Forget Your Toothbrush Glee Un gars, une fille The $1,000,000 Chance of a Lifetime Bottom Robin's Nest Monkey-ed Movies The World of David the Gnome CSI Hallo K3 Who's the Boss? Trailer Park Boys Miami Vice Engine Sentai Go-onger Dead Like Me The Prisoner Nitro Circus Twitches Star Trek: Deep Space Nine Zyuden Sentai Kyoryuger Land of the Lost Saturday Night Live Kim Possible If I Ruled the World RIS Delitti Imperfetti Mahou Sentai Magiranger Hell's Kitchen Vai Que Cola The Yogi Bear Show Orphan Black Ninpuu Sentai Hurricaneger The X-Files Veronica Mars Bakuryū Sentai Abaranger Queer as Folk Married... with Children Super Robot Mach Baron Mirai Sentai Timeranger Recess Doctor Who Rugrats Battlestar Galactica Inuyasha Have I Got News for You The Killing Alarm für Cobra 11 – Die Autobahnpolizei Dallas The Bund Wonder Woman The League of Gentlemen Decalogue II Kyuukyuu Sentai GoGoFive Modern Family Till Death Us Do Part Shinsengumi Keppuroku Robbery Under Arms Hannah Montana The Osbournes Strangers with Candy Good Luck Charlie Science Ninja Team Gatchaman Yu-Gi-Oh! Car 54, Where Are You? CSI: NY Hercules: The Legendary Journeys Ashura no Gotoku Count Duckula 24 The Cay The Twilight Zone Furor Gekisou Sentai Carranger Who Do You Think You Are? Tenchi Muyo! K-On! Camp Rock The Proud Family High School Musical 30 Rock Don't Be Afraid of the Dark Kamen Rider V3 Star Trek: The Next Generation George of the Jungle The Brady Bunch The Walking Dead Mad About You The Fugitive Connections House of Cards Yama Onna Kabe Onna Kindaichi Case Files Lost in Space Ana y los 7
254
action count
action atmost
action union
action find_reverse_tuple_counts
relation based on
type television program
type television series
action find_reverse_tuple_counts
relation based on
type television program
type film
value 1
[[{'concept': 'television series'}, {'concept': 'film'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) ?d WHERE { { ?a property:based_on ?d . ?d rdf:type ontology:television_program . ?a rdf:type ontology:film } UNION { ?d rdf:type ontology:television_program . ?a rdf:type ontology:television_series . ?a property:based_on ?d } } GROUP BY ?d } . FILTER ( ?f <= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16403 Q276279
P58
Q502895
USER
Which people served as the screenwriter for Camp Rock 2: The Final Jam or And Now for Something Completely Different ?
OR((Q276279,P58,c(Q502895)), (Q16403,P58,c(Q502895)))
action filter_type
action union
action find
entity Q276279
relation P58
action find
entity Q16403
relation P58
type Q502895
{'OR': [['Q276279', 'P58', {'concept': 'Q502895'}], ['Q16403', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . { { resource:Q276279 property:P58 ?y } UNION { resource:Q16403 property:P58 ?y } } }
And Now for Something Completely Different Camp Rock 2: The Final Jam
action filter_type
action union
action find
entity Camp Rock 2: The Final Jam
relation screenwriter
action find
entity And Now for Something Completely Different
relation screenwriter
type common name
{'OR': [['Camp Rock 2: The Final Jam', 'screenwriter', {'concept': 'common name'}], ['And Now for Something Completely Different', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . { { resource:Camp_Rock_2:_The_Final_Jam property:screenwriter ?y } UNION { resource:And_Now_for_Something_Completely_Different property:screenwriter ?y } } }
[]
common name
Q22137561 Q25014 Q22137612 Q223985 Q210741 Q24962 Q1160068 Q166159 Q25078
SYSTEM
Karin Gist, John Cleese, Regina Hicks, Michael Palin, Eric Idle, Graham Chapman, Daniel Berendsen, Terry Jones, Terry Gilliam
Q22137561 Q25014 Q22137612 Q223985 Q210741 Q24962 Q1160068 Q166159 Q25078
OR((Q276279,P58,c(Q502895)), (Q16403,P58,c(Q502895)))
action filter_type
action union
action find
entity Q276279
relation P58
action find
entity Q16403
relation P58
type Q502895
[ANSWERS] served as the screenwriter for Camp Rock 2: The Final Jam or And Now for Something Completely Different
{'OR': [['Q276279', 'P58', {'concept': 'Q502895'}], ['Q16403', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . { { resource:Q276279 property:P58 ?y } UNION { resource:Q16403 property:P58 ?y } } }
Karin Gist John Cleese Regina Hicks Michael Palin Eric Idle Graham Chapman Daniel Berendsen Terry Jones Terry Gilliam
Karin Gist, John Cleese, Regina Hicks, Michael Palin, Eric Idle, Graham Chapman, Daniel Berendsen, Terry Jones and Terry Gilliam served as the screenwriter for Camp Rock 2: The Final Jam or And Now for Something Completely Different
Karin Gist John Cleese Regina Hicks Michael Palin Eric Idle Graham Chapman Daniel Berendsen Terry Jones Terry Gilliam
action filter_type
action union
action find
entity Camp Rock 2: The Final Jam
relation screenwriter
action find
entity And Now for Something Completely Different
relation screenwriter
type common name
{'OR': [['Camp Rock 2: The Final Jam', 'screenwriter', {'concept': 'common name'}], ['And Now for Something Completely Different', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . { { resource:Camp_Rock_2:_The_Final_Jam property:screenwriter ?y } UNION { resource:And_Now_for_Something_Completely_Different property:screenwriter ?y } } }
[]