Simple Question (Direct)
Simple Question
Q321423
P449
Q4830453
USER
Which network was the first to air Law & Order ?
(Q321423,P449,c(Q4830453))
action filter_type
action find
entity Q321423
relation P449
type Q4830453
['Q321423', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?k WHERE { resource:Q321423 property:P449 ?k . ?k rdf:type ontology:Q4830453 }
Law & Order
action filter_type
action find
entity Law & Order
relation original network
type business enterprise
['Law & Order', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?k WHERE { resource:Law_&_Order property:original_network ?k . ?k rdf:type ontology:business_enterprise }
[]
business enterprise
Q13974
SYSTEM
NBC
Q13974
(Q321423,P449,c(Q4830453))
action filter_type
action find
entity Q321423
relation P449
type Q4830453
[ANSWER] was the first to air Law & Order
['Q321423', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?k WHERE { resource:Q321423 property:P449 ?k . ?k rdf:type ontology:Q4830453 }
NBC
NBC was the first to air Law & Order
NBC
action filter_type
action find
entity Law & Order
relation original network
type business enterprise
['Law & Order', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?k WHERE { resource:Law_&_Order property:original_network ?k . ?k rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13974
P355
Q43229
USER
Which organizations are that business enterprise the subordinate of ?
(c(Q43229),P355,Q13974)
action filter_type
action find_reverse
entity Q13974
relation P355
type Q43229
[{'concept': 'Q43229'}, 'P355', 'Q13974']
SELECT DISTINCT ?p WHERE { ?p property:P355 resource:Q13974 . ?p rdf:type ontology:Q43229 }
NBC
action filter_type
action find_reverse
entity NBC
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'NBC']
SELECT DISTINCT ?p WHERE { ?p property:subsidiary resource:NBC . ?p rdf:type ontology:organization }
[]
organization
Q724759 Q218038
SYSTEM
NBCUniversal, RCA
Q724759 Q218038
(c(Q43229),P355,Q13974)
action filter_type
action find_reverse
entity Q13974
relation P355
type Q43229
[ANSWERS] are that business enterprise the subordinate of
[{'concept': 'Q43229'}, 'P355', 'Q13974']
SELECT DISTINCT ?p WHERE { ?p property:P355 resource:Q13974 . ?p rdf:type ontology:Q43229 }
NBCUniversal RCA
NBCUniversal and RCA are that business enterprise the subordinate of
NBCUniversal RCA
action filter_type
action find_reverse
entity NBC
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'NBC']
SELECT DISTINCT ?p WHERE { ?p property:subsidiary resource:NBC . ?p rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q218038
P159
Q56061
USER
How many administrative territories are the head office for RCA located ?
(Q218038,P159,c(Q56061))
action count
action filter_type
action find
entity Q218038
relation P159
type Q56061
['Q218038', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Q218038 property:P159 ?p . ?p rdf:type ontology:Q56061 }
RCA
action count
action filter_type
action find
entity RCA
relation headquarters location
type administrative territorial entity
['RCA', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:RCA property:headquarters_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q60
(Q218038,P159,c(Q56061))
action count
action filter_type
action find
entity Q218038
relation P159
type Q56061
[ANSWER]
['Q218038', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Q218038 property:P159 ?p . ?p rdf:type ontology:Q56061 }
New York City
1
action count
action filter_type
action find
entity RCA
relation headquarters location
type administrative territorial entity
['RCA', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:RCA property:headquarters_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q218038
P127
Q43229
USER
Which organization does that one belong to ?
action filter_type
action find
entity Q218038
relation P127
type Q43229
SELECT DISTINCT ?k WHERE { resource:Q218038 property:P127 ?k . ?k rdf:type ontology:Q43229 }
RCA
action filter_type
action find
entity RCA
relation owned by
type organization
SELECT DISTINCT ?k WHERE { resource:RCA property:owned_by ?k . ?k rdf:type ontology:organization }
[]
organization
Q1365773
SYSTEM
Technicolor SA
Q1365773
action filter_type
action find
entity Q218038
relation P127
type Q43229
That one belongs to [ANSWER]
SELECT DISTINCT ?k WHERE { resource:Q218038 property:P127 ?k . ?k rdf:type ontology:Q43229 }
Technicolor SA
That one belongs to Technicolor SA
Technicolor SA
action filter_type
action find
entity RCA
relation owned by
type organization
SELECT DISTINCT ?k WHERE { resource:RCA property:owned_by ?k . ?k rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1365773
P159
Q20667921
USER
Where is the headquarter of that organization located ?
(Q1365773,P159,c(Q20667921))
action filter_type
action find
entity Q1365773
relation P159
type Q20667921
['Q1365773', 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q1365773 property:P159 ?o . ?o rdf:type ontology:Q20667921 }
Technicolor SA
action filter_type
action find
entity Technicolor SA
relation headquarters location
type type of french administrative division
['Technicolor SA', 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Technicolor_SA property:headquarters_location ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q135265
SYSTEM
Issy-les-Moulineaux
Q135265
(Q1365773,P159,c(Q20667921))
action filter_type
action find
entity Q1365773
relation P159
type Q20667921
The headquarter of that organization is located in [ANSWER]
['Q1365773', 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q1365773 property:P159 ?o . ?o rdf:type ontology:Q20667921 }
Issy-les-Moulineaux
The headquarter of that organization is located in Issy-les-Moulineaux
Issy-les-Moulineaux
action filter_type
action find
entity Technicolor SA
relation headquarters location
type type of french administrative division
['Technicolor SA', 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Technicolor_SA property:headquarters_location ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P47
Q20667921
USER
How many french administrative divisions share border with that french administrative division ?
(Q135265,P47,c(Q20667921))
action count
action filter_type
action find
entity Q135265
relation P47
type Q20667921
['Q135265', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Q135265 property:P47 ?r . ?r rdf:type ontology:Q20667921 }
action count
action filter_type
action find
entity Issy-les-Moulineaux
relation shares border with
type type of french administrative division
['Issy-les-Moulineaux', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Issy-les-Moulineaux property:shares_border_with ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
5
Q172455 Q234735 Q234728 Q194160 Q18199480
(Q135265,P47,c(Q20667921))
action count
action filter_type
action find
entity Q135265
relation P47
type Q20667921
[ANSWER]
['Q135265', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Q135265 property:P47 ?r . ?r rdf:type ontology:Q20667921 }
Boulogne-Billancourt Meudon Vanves Clamart Auteuil
5
action count
action filter_type
action find
entity Issy-les-Moulineaux
relation shares border with
type type of french administrative division
['Issy-les-Moulineaux', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Issy-les-Moulineaux property:shares_border_with ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q15416 Q15961987 Q201658
USER
Which television programs are atmost 1 television genres and film genres considered a copy of ?
(c(Q15961987)|c(Q201658),P144,c(Q15416))
action atmost
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q15961987
action find_reverse_tuple_counts
relation P144
type Q15416
type Q201658
value 1
[[{'concept': 'Q15961987'}, {'concept': 'Q201658'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?n <= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?n ) WHERE { { ?w property:P144 ?a . ?a rdf:type ontology:Q15416 . ?w rdf:type ontology:Q201658 } UNION { ?w property:P144 ?a . ?a rdf:type ontology:Q15416 . ?w rdf:type ontology:Q15961987 } } GROUP BY ?a } }
action atmost
action union
action find_reverse_tuple_counts
relation based on
type television program
type television genre
action find_reverse_tuple_counts
relation based on
type television program
type film genre
value 1
[[{'concept': 'television genre'}, {'concept': 'film genre'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?n <= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?n ) WHERE { { ?w property:based_on ?a . ?a rdf:type ontology:television_program . ?w rdf:type ontology:film_genre } UNION { ?w property:based_on ?a . ?a rdf:type ontology:television_program . ?w rdf:type ontology:television_genre } } GROUP BY ?a } }
[]
television program television genre film genre
Q23572 Q7103920 Q83071
SYSTEM
Game of Thrones, Orphan Black, Downton Abbey
Q201358 Q4347124 Q1193168 Q1887148 Q16070164 Q1372163 Q2613769 Q3281746 Q5785110 Q2085782 Q3234798 Q732383 Q1247770 Q4427572 Q715723 Q1166225 Q322015 Q26693418 Q11274015 Q2318552 Q1275157 Q11160398 Q6682512 Q120300 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(Q15961987)|c(Q201658),P144,c(Q15416))
action atmost
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q15961987
action find_reverse_tuple_counts
relation P144
type Q15416
type Q201658
value 1
[ANSWERS] are atmost 1 television genres and film genres considered a copy of
[[{'concept': 'Q15961987'}, {'concept': 'Q201658'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?n <= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?n ) WHERE { { ?w property:P144 ?a . ?a rdf:type ontology:Q15416 . ?w rdf:type ontology:Q201658 } UNION { ?w property:P144 ?a . ?a rdf:type ontology:Q15416 . ?w rdf:type ontology:Q15961987 } } GROUP BY ?a } }
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 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
Game of Thrones, Orphan Black and Downton Abbey are atmost 1 television genres and film genres considered a copy of
Game of Thrones Orphan Black Downton Abbey
action atmost
action union
action find_reverse_tuple_counts
relation based on
type television program
type television genre
action find_reverse_tuple_counts
relation based on
type television program
type film genre
value 1
[[{'concept': 'television genre'}, {'concept': 'film genre'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?n <= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?n ) WHERE { { ?w property:based_on ?a . ?a rdf:type ontology:television_program . ?w rdf:type ontology:film_genre } UNION { ?w property:based_on ?a . ?a rdf:type ontology:television_program . ?w rdf:type ontology:television_genre } } GROUP BY ?a } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q23572
P361
Q15416
USER
Which television programs are a part of that one ?
(c(Q15416),P361,Q23572)
action filter_type
action find_reverse
entity Q23572
relation P361
type Q15416
[{'concept': 'Q15416'}, 'P361', 'Q23572']
SELECT DISTINCT ?s WHERE { ?s property:P361 resource:Q23572 . ?s rdf:type ontology:Q15416 }
Game of Thrones
action filter_type
action find_reverse
entity Game of Thrones
relation part of
type television program
[{'concept': 'television program'}, 'part of', 'Game of Thrones']
SELECT DISTINCT ?s WHERE { ?s property:part_of resource:Game_of_Thrones . ?s rdf:type ontology:television_program }
[]
television program
Clarification for simple ques.
Q7103920
SYSTEM
Did you mean Orphan Black ?
Q23572 Q7103920 Q83071
(c(Q15416),P361,Q23572) (c(Q15416),P361,Q7103920) (c(Q15416),P361,Q83071)
[ANSWER]
[{'concept': 'Q15416'}, 'P361', 'Q23572'] [{'concept': 'Q15416'}, 'P361', 'Q7103920'] [{'concept': 'Q15416'}, 'P361', 'Q83071']
SELECT DISTINCT ?s WHERE { ?s property:P361 resource:Q23572 . ?s rdf:type ontology:Q15416 }
Game of Thrones Orphan Black Downton Abbey
Did you mean Orphan Black ?
Orphan Black
[{'concept': 'television program'}, 'part of', 'Game of Thrones'] [{'concept': 'television program'}, 'part of', 'Orphan Black'] [{'concept': 'television program'}, 'part of', 'Downton Abbey']
SELECT DISTINCT ?s WHERE { ?s property:part_of resource:Game_of_Thrones . ?s rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
USER
No, I meant Game of Thrones. Could you tell me the answer for that?
(c(Q15416),P361,Q23572)
Q23572
[{'concept': 'Q15416'}, 'P361', 'Q23572']
[{'concept': 'television program'}, 'part of', 'Game of Thrones']
[]
Q302358 Q20704265 Q1658029
SYSTEM
Game of Thrones (season 2), Game of Thrones (season 6), Game of Thrones (season 1)
Q302358 Q1658029 Q20704265 Q19823303 Q15643670 Q3009004
(c(Q15416),P361,Q23572)
action filter_type
action find_reverse
entity Q23572
relation P361
type Q15416
[ANSWERS] are a part of that one
[{'concept': 'Q15416'}, 'P361', 'Q23572']
SELECT DISTINCT ?s WHERE { ?s property:P361 resource:Q23572 . ?s rdf:type ontology:Q15416 }
Game of Thrones (season 2) Game of Thrones (season 1) Game of Thrones (season 6) Game of Thrones (season 5) Game of Thrones (season 4) Game of Thrones (season 3)
Game of Thrones (season 2), Game of Thrones (season 6) and Game of Thrones (season 1) are a part of that one
Game of Thrones (season 2) Game of Thrones (season 6) Game of Thrones (season 1)
action filter_type
action find_reverse
entity Game of Thrones
relation part of
type television program
[{'concept': 'television program'}, 'part of', 'Game of Thrones']
SELECT DISTINCT ?s WHERE { ?s property:part_of resource:Game_of_Thrones . ?s rdf:type ontology:television_program }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q7383176 Q23572
P27 P915
Q15617994
USER
Which administrative territories were the locations of filming Game of Thrones and are not the countries of citizenship of Ruth Ray ?
AND((Q23572,P915,c(Q15617994)), NOT((Q7383176,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q23572
relation P915
action find
entity Q7383176
relation P27
type Q15617994
{'AND': [['Q23572', 'P915', {'concept': 'Q15617994'}], {'NOT': [['Q7383176', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?c WHERE { resource:Q23572 property:P915 ?c . FILTER NOT EXISTS { resource:Q7383176 property:P27 ?c } . ?c rdf:type ontology:Q15617994 }
Ruth Ray Game of Thrones
action filter_type
action difference
action find
entity Game of Thrones
relation filming location
action find
entity Ruth Ray
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Game of Thrones', 'filming location', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Ruth Ray', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?c WHERE { resource:Game_of_Thrones property:filming_location ?c . FILTER NOT EXISTS { resource:Ruth_Ray property:country_of_citizenship ?c } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q224 Q233 Q1028 Q189
SYSTEM
Spain, Croatia, Malta, Morocco, Iceland
Q29 Q224 Q233 Q1028 Q189
AND((Q23572,P915,c(Q15617994)), NOT((Q7383176,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q23572
relation P915
action find
entity Q7383176
relation P27
type Q15617994
[ANSWERS] were the locations of filming Game of Thrones and are not the countries of citizenship of Ruth Ray
{'AND': [['Q23572', 'P915', {'concept': 'Q15617994'}], {'NOT': [['Q7383176', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?c WHERE { resource:Q23572 property:P915 ?c . FILTER NOT EXISTS { resource:Q7383176 property:P27 ?c } . ?c rdf:type ontology:Q15617994 }
Spain Croatia Malta Morocco Iceland
Spain, Croatia, Malta, Morocco and Iceland were the locations of filming Game of Thrones and are not the countries of citizenship of Ruth Ray
Spain Croatia Malta Morocco Iceland
action filter_type
action difference
action find
entity Game of Thrones
relation filming location
action find
entity Ruth Ray
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Game of Thrones', 'filming location', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Ruth Ray', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?c WHERE { resource:Game_of_Thrones property:filming_location ?c . FILTER NOT EXISTS { resource:Ruth_Ray property:country_of_citizenship ?c } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q29 Q224 Q233 Q1028 Q189
P35
Q502895
USER
Who are elected as the head of state of those administrative territories ?
(Q29,P35,c(Q502895)) (Q224,P35,c(Q502895)) (Q233,P35,c(Q502895)) (Q1028,P35,c(Q502895)) (Q189,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
['Q29', 'P35', {'concept': 'Q502895'}] ['Q224', 'P35', {'concept': 'Q502895'}] ['Q233', 'P35', {'concept': 'Q502895'}] ['Q1028', 'P35', {'concept': 'Q502895'}] ['Q189', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?s property:P35 ?r . VALUES ( ?s ) { ( resource:Q29 ) ( resource:Q224 ) ( resource:Q233 ) } }
Spain Croatia Malta Morocco Iceland
action filter_type
action find
entity prev_answer
relation head of state
type common name
['Spain', 'head of state', {'concept': 'common name'}] ['Croatia', 'head of state', {'concept': 'common name'}] ['Malta', 'head of state', {'concept': 'common name'}] ['Morocco', 'head of state', {'concept': 'common name'}] ['Iceland', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?s property:head_of_state ?r . VALUES ( ?s ) { ( resource:Spain ) ( resource:Croatia ) ( resource:Malta ) } }
[]
common name
Q19943 Q57553 Q57284
SYSTEM
Juan Carlos I, Mohammed VI of Morocco, Ólafur Ragnar Grímsson
Q191045 Q19943 Q57258 Q146496 Q3176299 Q6762928 Q57553 Q57284
(Q29,P35,c(Q502895)) (Q224,P35,c(Q502895)) (Q233,P35,c(Q502895)) (Q1028,P35,c(Q502895)) (Q189,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
[ANSWERS] are elected as the head of state of those administrative territories
['Q29', 'P35', {'concept': 'Q502895'}] ['Q224', 'P35', {'concept': 'Q502895'}] ['Q233', 'P35', {'concept': 'Q502895'}] ['Q1028', 'P35', {'concept': 'Q502895'}] ['Q189', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?s property:P35 ?r . VALUES ( ?s ) { ( resource:Q29 ) ( resource:Q224 ) ( resource:Q233 ) } }
Felipe VI Juan Carlos I Ivo Josipović Stjepan Mesić Kolinda Grabar-Kitarović Marie Louise Coleiro Preca Mohammed VI of Morocco Ólafur Ragnar Grímsson
Juan Carlos I, Mohammed VI of Morocco and Ólafur Ragnar Grímsson are elected as the head of state of those administrative territories
Juan Carlos I Mohammed VI of Morocco Ólafur Ragnar Grímsson
action filter_type
action find
entity prev_answer
relation head of state
type common name
['Spain', 'head of state', {'concept': 'common name'}] ['Croatia', 'head of state', {'concept': 'common name'}] ['Malta', 'head of state', {'concept': 'common name'}] ['Morocco', 'head of state', {'concept': 'common name'}] ['Iceland', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?s property:head_of_state ?r . VALUES ( ?s ) { ( resource:Spain ) ( resource:Croatia ) ( resource:Malta ) } }
[]