Simple Question (Direct)
Simple Question
Q2725695
P162
Q502895
USER
Which person produced Confessions of a Sorority Girl ?
(Q2725695,P162,c(Q502895))
action filter_type
action find
entity Q2725695
relation P162
type Q502895
['Q2725695', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q2725695 property:P162 ?m . ?m rdf:type ontology:Q502895 }
Confessions of a Sorority Girl
action filter_type
action find
entity Confessions of a Sorority Girl
relation producer
type common name
['Confessions of a Sorority Girl', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Confessions_of_a_Sorority_Girl property:producer ?m . ?m rdf:type ontology:common_name }
[]
common name
Q262102
SYSTEM
Debra Hill
Q262102
(Q2725695,P162,c(Q502895))
action filter_type
action find
entity Q2725695
relation P162
type Q502895
The [ANSWER] produced Confessions of a Sorority Girl
['Q2725695', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q2725695 property:P162 ?m . ?m rdf:type ontology:Q502895 }
Debra Hill
The Debra Hill produced Confessions of a Sorority Girl
Debra Hill
action filter_type
action find
entity Confessions of a Sorority Girl
relation producer
type common name
['Confessions of a Sorority Girl', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Confessions_of_a_Sorority_Girl property:producer ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2725695
P161
Q502895
USER
Who starred in that television program ?
(Q262102,P161,c(Q502895))
action filter_type
action find
entity Q2725695
relation P161
type Q502895
['Q262102', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q2725695 property:P161 ?u }
Confessions of a Sorority Girl
action filter_type
action find
entity Confessions of a Sorority Girl
relation cast member
type common name
['Debra Hill', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Confessions_of_a_Sorority_Girl property:cast_member ?u }
[]
common name
Q272108
SYSTEM
Jamie Luner
Q272108
(Q262102,P161,c(Q502895))
action filter_type
action find
entity Q2725695
relation P161
type Q502895
[ANSWER] starred in that television program
['Q262102', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q2725695 property:P161 ?u }
Jamie Luner
Jamie Luner starred in that television program
Jamie Luner
action filter_type
action find
entity Confessions of a Sorority Girl
relation cast member
type common name
['Debra Hill', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Confessions_of_a_Sorority_Girl property:cast_member ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are the native countriesof that person ?
(Q272108,P27,c(Q15617994))
action count
action filter_type
action find
entity Q272108
relation P27
type Q15617994
['Q272108', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g rdf:type ontology:Q15617994 . resource:Q272108 property:P27 ?g }
action count
action filter_type
action find
entity Jamie Luner
relation country of citizenship
type designation for an administrative territorial entity
['Jamie Luner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jamie_Luner property:country_of_citizenship ?g }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q272108,P27,c(Q15617994))
action count
action filter_type
action find
entity Q272108
relation P27
type Q15617994
[ANSWER]
['Q272108', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g rdf:type ontology:Q15617994 . resource:Q272108 property:P27 ?g }
United States of America
1
action count
action filter_type
action find
entity Jamie Luner
relation country of citizenship
type designation for an administrative territorial entity
['Jamie Luner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jamie_Luner property:country_of_citizenship ?g }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q262102
P20
Q56061
USER
How many administrative territories did Debra Hill expire ?
(Q262102,P20,c(Q56061))
action count
action filter_type
action find
entity Q262102
relation P20
type Q56061
['Q262102', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Q262102 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Debra Hill
action count
action filter_type
action find
entity Debra Hill
relation place of death
type administrative territorial entity
['Debra Hill', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Debra_Hill property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q65
(Q262102,P20,c(Q56061))
action count
action filter_type
action find
entity Q262102
relation P20
type Q56061
[ANSWER]
['Q262102', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Q262102 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Los Angeles
1
action count
action filter_type
action find
entity Debra Hill
relation place of death
type administrative territorial entity
['Debra Hill', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Debra_Hill property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q7795470
P20
Q56061
USER
And what about Thomas de Critz?
(Q7795470,P20,c(Q56061))
action count
action filter_type
action find
entity Q7795470
relation P20
type Q56061
['Q7795470', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ontology:Q56061 . resource:Q7795470 property:P20 ?h }
Thomas de Critz
action count
action filter_type
action find
entity Thomas de Critz
relation place of death
type administrative territorial entity
['Thomas de Critz', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Thomas_de_Critz property:place_of_death ?h }
[]
administrative territorial entity
SYSTEM
1
Q84
(Q7795470,P20,c(Q56061))
action count
action filter_type
action find
entity Q7795470
relation P20
type Q56061
[ANSWER]
['Q7795470', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ontology:Q56061 . resource:Q7795470 property:P20 ?h }
London
1
action count
action filter_type
action find
entity Thomas de Critz
relation place of death
type administrative territorial entity
['Thomas de Critz', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Thomas_de_Critz property:place_of_death ?h }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q5552554
Q56061
USER
And also tell me about Luis Álvarez Catalá?
(Q5552554,P20,c(Q56061))
action count
action filter_type
action find
entity Q5552554
relation P20
type Q56061
['Q5552554', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Q5552554 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Luis Álvarez Catalá
action count
action filter_type
action find
entity Luis Álvarez Catalá
relation place of death
type administrative territorial entity
['Luis Álvarez Catalá', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Luis_Álvarez_Catalá property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q5552554,P20,c(Q56061))
action count
action filter_type
action find
entity Q5552554
relation P20
type Q56061
[ANSWER]
['Q5552554', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Q5552554 property:P20 ?t . ?t rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Luis Álvarez Catalá
relation place of death
type administrative territorial entity
['Luis Álvarez Catalá', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Luis_Álvarez_Catalá property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q262102
P58
Q15416 Q838948
USER
How many television programs or works of art are Debra Hill a screenwriter of ?
(c(Q15416),P58,Q262102) (c(Q838948),P58,Q262102)
action count
action union
action filter_type
action find_reverse
entity Q262102
relation P58
type Q15416
action filter_type
action find_reverse
entity Q262102
relation P58
type Q838948
[{'concept': 'Q15416'}, 'P58', 'Q262102'] [{'concept': 'Q838948'}, 'P58', 'Q262102']
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { ?c rdf:type ?x . VALUES ( ?x ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } }
Debra Hill
action count
action union
action filter_type
action find_reverse
entity Debra Hill
relation screenwriter
type television program
action filter_type
action find_reverse
entity Debra Hill
relation screenwriter
type work of art
[{'concept': 'television program'}, 'screenwriter', 'Debra Hill'] [{'concept': 'work of art'}, 'screenwriter', 'Debra Hill']
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { ?c rdf:type ?x . VALUES ( ?x ) { ( ontology:television_program ) ( ontology:work_of_art ) } }
[]
television program work of art
SYSTEM
8
Q500403 Q4366140 Q850312 Q221103 Q741026 Q909063 Q2725695 Q1697426
(c(Q15416),P58,Q262102) (c(Q838948),P58,Q262102)
action count
action union
action filter_type
action find_reverse
entity Q262102
relation P58
type Q15416
action filter_type
action find_reverse
entity Q262102
relation P58
type Q838948
[ANSWER]
[{'concept': 'Q15416'}, 'P58', 'Q262102'] [{'concept': 'Q838948'}, 'P58', 'Q262102']
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { ?c rdf:type ?x . VALUES ( ?x ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } }
The Fog Jailbreakers Halloween II Halloween Escape from L.A. Halloween Confessions of a Sorority Girl The Fog
8
action count
action union
action filter_type
action find_reverse
entity Debra Hill
relation screenwriter
type television program
action filter_type
action find_reverse
entity Debra Hill
relation screenwriter
type work of art
[{'concept': 'television program'}, 'screenwriter', 'Debra Hill'] [{'concept': 'work of art'}, 'screenwriter', 'Debra Hill']
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { ?c rdf:type ?x . VALUES ( ?x ) { ( ontology:television_program ) ( ontology:work_of_art ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q15416 Q15850590 Q838948
USER
How many television programs are atmost 1 theatrical genres or works of art considered a copy of ?
(c(Q15850590)|c(Q838948),P144,c(Q15416))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q15850590
action find_reverse_tuple_counts
relation P144
type Q15416
type Q838948
value 1
[[{'concept': 'Q15850590'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?s ) WHERE { { ?j rdf:type ontology:Q15416 . ?m rdf:type ontology:Q15850590 . ?m property:P144 ?j } UNION { ?m rdf:type ontology:Q838948 . ?j rdf:type ontology:Q15416 . ?m property:P144 ?j } } GROUP BY ?j } . FILTER ( ?s <= 1 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation based on
type television program
type theatrical genre
action find_reverse_tuple_counts
relation based on
type television program
type work of art
value 1
[[{'concept': 'theatrical genre'}, {'concept': 'work of art'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?s ) WHERE { { ?j rdf:type ontology:television_program . ?m rdf:type ontology:theatrical_genre . ?m property:based_on ?j } UNION { ?m rdf:type ontology:work_of_art . ?j rdf:type ontology:television_program . ?m property:based_on ?j } } GROUP BY ?j } . FILTER ( ?s <= 1 ) }
[]
television program theatrical genre work of art
SYSTEM
239
Q4347124 Q1193168 Q1887148 Q16070164 Q1372163 Q2613769 Q3281746 Q5785110 Q2085782 Q3234798 Q732383 Q1247770 Q715723 Q1166225 Q322015 Q26693418 Q11274015 Q2318552 Q1275157 Q11160398 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 Q2298323 Q732063 Q166845 Q2095183 Q4351904 Q155629 Q7512111 Q506074 Q10292622 Q921889 Q214107 Q1264983 Q92096 Q1247907 Q189411 Q702061 Q1247268 Q6422347 Q484020 Q45717 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 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 Q174390 Q3555437 Q2518713 Q152178 Q2634204 Q7711682 Q634199 Q3794953 Q6900695 Q933189 Q264198 Q990842 Q1623411 Q1400775 Q559321 Q375062 Q779048 Q714753 Q1312683 Q244511 Q108774 Q617251 Q451943 Q203707 Q5990513 Q2293964 Q1203502 Q3784600 Q18469946 Q3818118 Q7103920 Q591029 Q4529 Q1193356 Q23623 Q208647 Q4183763 Q1190971 Q344081 Q34316 Q304290 Q2367132 Q1768525 Q956446 Q156155 Q168708 Q3234630 Q1247495 Q1573292 Q1080682 Q1156849 Q16756 Q202577 Q7497756 Q7340827 Q126631 Q1145002 Q824379 Q366375 Q700127 Q1247567 Q192259 Q828520 Q20655866 Q611745 Q56194 Q7721796 Q742103 Q8963139 Q1156853 Q2985293 Q482482 Q217250 Q1215573 Q53110 Q189350 Q5291435 Q1193512 Q16290 Q250767 Q232737 Q752365 Q5161696 Q1055984 Q1041541 Q701189 Q536137 Q3311904
(c(Q15850590)|c(Q838948),P144,c(Q15416))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q15850590
action find_reverse_tuple_counts
relation P144
type Q15416
type Q838948
value 1
[ANSWER]
[[{'concept': 'Q15850590'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?s ) WHERE { { ?j rdf:type ontology:Q15416 . ?m rdf:type ontology:Q15850590 . ?m property:P144 ?j } UNION { ?m rdf:type ontology:Q838948 . ?j rdf:type ontology:Q15416 . ?m property:P144 ?j } } GROUP BY ?j } . FILTER ( ?s <= 1 ) }
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 Urusei Yatsura Dark Shadows Fifteen to One The Way to Dusty Death Dancing on Ice The Rocky and Bullwinkle Show Matador Z for Zachariah 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 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 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 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 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 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 Veronica Mars Bakuryū Sentai Abaranger Queer as Folk Married... with Children Super Robot Mach Baron Mirai Sentai Timeranger Recess Doctor Who Rugrats Battlestar Galactica 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 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? 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 The Brady Bunch The Walking Dead Mad About You Connections House of Cards Yama Onna Kabe Onna Kindaichi Case Files Lost in Space Ana y los 7
239
action count
action atmost
action union
action find_reverse_tuple_counts
relation based on
type television program
type theatrical genre
action find_reverse_tuple_counts
relation based on
type television program
type work of art
value 1
[[{'concept': 'theatrical genre'}, {'concept': 'work of art'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?s ) WHERE { { ?j rdf:type ontology:television_program . ?m rdf:type ontology:theatrical_genre . ?m property:based_on ?j } UNION { ?m rdf:type ontology:work_of_art . ?j rdf:type ontology:television_program . ?m property:based_on ?j } } GROUP BY ?j } . FILTER ( ?s <= 1 ) }
[]