Simple Question (Direct)
Simple Question
Q7329994
P39
Q12737077
USER
What were the positions for which Richard William Scott were appointed ?
(Q7329994,P39,c(Q12737077))
action filter_type
action find
entity Q7329994
relation P39
type Q12737077
['Q7329994', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q7329994 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
Richard William Scott
action filter_type
action find
entity Richard William Scott
relation position held
type occupation
['Richard William Scott', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Richard_William_Scott property:position_held ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q3305347 Q18524027
SYSTEM
Member of Ontario Provincial Parliament, Member of the Senate of Canada
Q3305347 Q18524027
(Q7329994,P39,c(Q12737077))
action filter_type
action find
entity Q7329994
relation P39
type Q12737077
The [ANSWERS]
['Q7329994', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q7329994 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
Member of Ontario Provincial Parliament Member of the Senate of Canada
The Member of Ontario Provincial Parliament and Member of the Senate of Canada
Member of Ontario Provincial Parliament Member of the Senate of Canada
action filter_type
action find
entity Richard William Scott
relation position held
type occupation
['Richard William Scott', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Richard_William_Scott property:position_held ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3305347 Q18524027
P17
Q1048835
USER
Which political territories do Member of Ontario Provincial Parliament and Member of the Senate of Canada belong to ?
(Q3305347,P17,c(Q1048835)) (Q18524027,P17,c(Q1048835))
action union
action filter_type
action find
entity Q3305347
relation P17
type Q1048835
action filter_type
action find
entity Q18524027
relation P17
type Q1048835
['Q3305347', 'P17', {'concept': 'Q1048835'}] ['Q18524027', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?x ) { ( resource:Q3305347 ) ( resource:Q18524027 ) } . ?x property:P17 ?s }
Member of Ontario Provincial Parliament Member of the Senate of Canada
action union
action filter_type
action find
entity Member of Ontario Provincial Parliament
relation country
type political territorial entity
action filter_type
action find
entity Member of the Senate of Canada
relation country
type political territorial entity
['Member of Ontario Provincial Parliament', 'country', {'concept': 'political territorial entity'}] ['Member of the Senate of Canada', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?x ) { ( resource:Member_of_Ontario_Provincial_Parliament ) ( resource:Member_of_the_Senate_of_Canada ) } . ?x property:country ?s }
[]
political territorial entity
Q16 Q16
SYSTEM
Canada
Q16 Q16
(Q3305347,P17,c(Q1048835)) (Q18524027,P17,c(Q1048835))
action union
action filter_type
action find
entity Q3305347
relation P17
type Q1048835
action filter_type
action find
entity Q18524027
relation P17
type Q1048835
[ANSWER] and [ANSWER] Member of Ontario Provincial Parliament and Member of the Senate of [ANSWER] belong to
['Q3305347', 'P17', {'concept': 'Q1048835'}] ['Q18524027', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?x ) { ( resource:Q3305347 ) ( resource:Q18524027 ) } . ?x property:P17 ?s }
Canada Canada
Canada and Canada Member of Ontario Provincial Parliament and Member of the Senate of Canada belong to
Canada Canada
action union
action filter_type
action find
entity Member of Ontario Provincial Parliament
relation country
type political territorial entity
action filter_type
action find
entity Member of the Senate of Canada
relation country
type political territorial entity
['Member of Ontario Provincial Parliament', 'country', {'concept': 'political territorial entity'}] ['Member of the Senate of Canada', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?x ) { ( resource:Member_of_Ontario_Provincial_Parliament ) ( resource:Member_of_the_Senate_of_Canada ) } . ?x property:country ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18524027
P1001
Q1048835
USER
Which political territory is linked to Member of the Senate of Canada ?
(Q18524027,P1001,c(Q1048835))
action filter_type
action find
entity Q18524027
relation P1001
type Q1048835
['Q18524027', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q18524027 property:P1001 ?x . ?x rdf:type ontology:Q1048835 }
Member of the Senate of Canada
action filter_type
action find
entity Member of the Senate of Canada
relation applies to jurisdiction
type political territorial entity
['Member of the Senate of Canada', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Member_of_the_Senate_of_Canada property:applies_to_jurisdiction ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q18524027,P1001,c(Q1048835))
action filter_type
action find
entity Q18524027
relation P1001
type Q1048835
[ANSWER] is linked to Member of the Senate of [ANSWER]
['Q18524027', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q18524027 property:P1001 ?x . ?x rdf:type ontology:Q1048835 }
Canada
Canada is linked to Member of the Senate of Canada
Canada
action filter_type
action find
entity Member of the Senate of Canada
relation applies to jurisdiction
type political territorial entity
['Member of the Senate of Canada', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Member_of_the_Senate_of_Canada property:applies_to_jurisdiction ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P740
Q2088357
USER
Which musical ensembles were formed at that political territory ?
(c(Q2088357),P740,Q16)
action filter_type
action find_reverse
entity Q16
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q16']
SELECT DISTINCT ?q WHERE { ?q property:P740 resource:Q16 . ?q rdf:type ontology:Q2088357 }
Canada
action filter_type
action find_reverse
entity Canada
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Canada']
SELECT DISTINCT ?q WHERE { ?q property:location_of_formation resource:Canada . ?q rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q7765071 Q902700 Q1129210
SYSTEM
The Social Icons, Jakalope, controller.controller
Q16246665 Q2956509 Q4774737 Q4038594 Q4827153 Q19873573 Q7765071 Q4942105 Q902700 Q1129210 Q2862265 Q15052646 Q5063576 Q1793559 Q4686957 Q5195308 Q2902193
(c(Q2088357),P740,Q16)
action filter_type
action find_reverse
entity Q16
relation P740
type Q2088357
[ANSWERS] were formed at that political territory
[{'concept': 'Q2088357'}, 'P740', 'Q16']
SELECT DISTINCT ?q WHERE { ?q property:P740 resource:Q16 . ?q rdf:type ontology:Q2088357 }
Backburner Chapeaumelon Antigen Shift Fake Shark – Real Zombie! Autumn Hill Blitz//Berlin The Social Icons Bonjour Brumaire Jakalope controller.controller Armistice The Battle of Santiago CerAmony RaHoWa Ad·ver·sary Cursed Big Dirty Band
The Social Icons, Jakalope and controller.controller were formed at that political territory
The Social Icons Jakalope controller.controller
action filter_type
action find_reverse
entity Canada
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Canada']
SELECT DISTINCT ?q WHERE { ?q property:location_of_formation resource:Canada . ?q rdf:type ontology:musical_ensemble }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P190
Q56061 Q515 Q1048835
USER
Which political territories are partner town of approximately 13 administrative territories or cities ?
(c(Q1048835),P190,c(Q56061)|c(Q515))
action approx
action union
action find_tuple_counts
relation P190
type Q1048835
type Q56061
action find_tuple_counts
relation P190
type Q1048835
type Q515
value 13
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q56061'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?t WHERE { VALUES ( ?n ) { ( ontology:Q515 ) ( ontology:Q56061 ) } . ?z rdf:type ?n } GROUP BY ?t } . FILTER ( ?i = 13 ) }
action approx
action union
action find_tuple_counts
relation sister city
type political territorial entity
type administrative territorial entity
action find_tuple_counts
relation sister city
type political territorial entity
type city
value 13
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?t WHERE { VALUES ( ?n ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } . ?z rdf:type ?n } GROUP BY ?t } . FILTER ( ?i = 13 ) }
[]
administrative territorial entity city political territorial entity
Q5826 Q42956 Q30002
SYSTEM
Xi'an, Harbin, Chengdu
Q30002 Q11746 Q15174 Q42956 Q92161 Q74881 Q5826
(c(Q1048835),P190,c(Q56061)|c(Q515))
action approx
action union
action find_tuple_counts
relation P190
type Q1048835
type Q56061
action find_tuple_counts
relation P190
type Q1048835
type Q515
value 13
[ANSWERS] are partner town of approximately 13 administrative territories or cities
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q56061'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?t WHERE { VALUES ( ?n ) { ( ontology:Q515 ) ( ontology:Q56061 ) } . ?z rdf:type ?n } GROUP BY ?t } . FILTER ( ?i = 13 ) }
Chengdu Wuhan Shenzhen Harbin Changchun Dalian Xi'an
Xi'an, Harbin and Chengdu are partner town of approximately 13 administrative territories or cities
Xi'an Harbin Chengdu
action approx
action union
action find_tuple_counts
relation sister city
type political territorial entity
type administrative territorial entity
action find_tuple_counts
relation sister city
type political territorial entity
type city
value 13
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?t WHERE { VALUES ( ?n ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } . ?z rdf:type ?n } GROUP BY ?t } . FILTER ( ?i = 13 ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P931
Q1048835 Q62447
USER
How many political territories do approximately the same number of aerodromes serve as that political territory ?
(c(Q62447),P931,c(Q1048835))
[{'concept': 'Q62447'}, 'P931', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P931 ?y . ?z rdf:type ontology:Q62447 . ?y rdf:type ontology:Q1048835 }
[{'concept': 'aerodrome'}, 'place served by airport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:place_served_by_airport ?y . ?z rdf:type ontology:aerodrome . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity aerodrome
Comparative|Count over More/Less|Single entity type|Clarification
Q30002
SYSTEM
Did you mean Chengdu ?
(c(Q62447),P931,c(Q1048835))
[ANSWER]
[{'concept': 'Q62447'}, 'P931', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P931 ?y . ?z rdf:type ontology:Q62447 . ?y rdf:type ontology:Q1048835 }
Did you mean Chengdu ?
Chengdu
[{'concept': 'aerodrome'}, 'place served by airport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:place_served_by_airport ?y . ?z rdf:type ontology:aerodrome . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q62447),P931,c(Q1048835))
[{'concept': 'Q62447'}, 'P931', {'concept': 'Q1048835'}]
[{'concept': 'aerodrome'}, 'place served by airport', {'concept': 'political territorial entity'}]
[]
SYSTEM
10
Q170322 Q4970 Q47593 Q1938102 Q5826 Q240 Q1994833 Q193019 Q30002 Q740833
(c(Q62447),P931,c(Q1048835))
[ANSWER]
[{'concept': 'Q62447'}, 'P931', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P931 ?y . ?z rdf:type ontology:Q62447 . ?y rdf:type ontology:Q1048835 }
Qingdao Hangzhou Belém St. James Township Xi'an Brussels Feijó Juiz de Fora Chengdu Santa Maria
10
[{'concept': 'aerodrome'}, 'place served by airport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:place_served_by_airport ?y . ?z rdf:type ontology:aerodrome . ?y rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P495
Q2342494
USER
Which collectables originated in Canada ?
(c(Q2342494),P495,Q16)
action filter_type
action find_reverse
entity Q16
relation P495
type Q2342494
[{'concept': 'Q2342494'}, 'P495', 'Q16']
SELECT DISTINCT ?n WHERE { ?n property:P495 resource:Q16 . ?n rdf:type ontology:Q2342494 }
Canada
action filter_type
action find_reverse
entity Canada
relation country of origin
type collectable
[{'concept': 'collectable'}, 'country of origin', 'Canada']
SELECT DISTINCT ?n WHERE { ?n property:country_of_origin resource:Canada . ?n rdf:type ontology:collectable }
[]
collectable
Q1331757 Q3015406 Q1352419
SYSTEM
Anne of Avonlea, Down and Out in the Magic Kingdom, Anne of the Island
Q5439415 Q3016355 Q7745858 Q3824278 Q3818322 Q7738508 Q7920454 Q7741195 Q7729044 Q4725687 Q7747519 Q4658461 Q7735948 Q16253708 Q5330486 Q4730111 Q2933712 Q7773416 Q3824874 Q24191473 Q1352419 Q4973296 Q3218727 Q7718738 Q3235328 Q3212402 Q8000640 Q8049568 Q7535551 Q16955624 Q3562803 Q5434477 Q4352956 Q7848310 Q17073326 Q4655878 Q7646051 Q7727916 Q19902813 Q1541914 Q1416359 Q7773662 Q7736630 Q7599853 Q6495322 Q7797426 Q3795869 Q4658301 Q7114905 Q4803055 Q6684449 Q1331757 Q7920854 Q6417110 Q6946288 Q7960897 Q7764687 Q2543776 Q3270964 Q10483431 Q16386264 Q15139098 Q5372004 Q23307333 Q5447489 Q17108207 Q25216511 Q24038030 Q4658780 Q7637327 Q7733566 Q7760688 Q6702822 Q2910080 Q18786749 Q7203444 Q7718166 Q5056403 Q2966807 Q17013131 Q5468620 Q6470478 Q18786497 Q7142918 Q7198560 Q7744440 Q7755109 Q4656055 Q7805046 Q5165658 Q3481316 Q7754402 Q16204596 Q7191364 Q7745610 Q5438176 Q16385094 Q5505689 Q3823560 Q7741696 Q5509351 Q4880280 Q7755512 Q7103928 Q7773491 Q7762126 Q6408015 Q6126928 Q19231924 Q5641553 Q18786624 Q73706 Q1608892 Q7165981 Q16825883 Q6061313 Q6108788 Q4659979 Q6860724 Q17002580 Q7560649 Q4729745 Q7044042 Q19876383 Q7619304 Q6110954 Q4659272 Q5439594 Q5189106 Q5327146 Q19364505 Q19961458 Q6036022 Q7560682 Q3602937 Q3054135 Q282989 Q21162253 Q6878099 Q16258159 Q19364470 Q4946003 Q16968568 Q5532557 Q7769556 Q5016788 Q8036648 Q16258615 Q633210 Q17154606 Q5979590 Q3062494 Q26940082 Q7637525 Q7823800 Q7857732 Q16955838 Q7730431 Q7074635 Q21480327 Q7739106 Q5244656 Q7111735 Q5475566 Q4659834 Q7763118 Q2562708 Q5433188 Q8033365 Q13512152 Q4992455 Q7280304 Q7994686 Q7170493 Q4287722 Q3964426 Q7979230 Q24255788 Q734757 Q20926189 Q7835614 Q1292533 Q4826169 Q7773615 Q5519211 Q16946580 Q3829167 Q16212605 Q3072853 Q7770879 Q3794017 Q6910972 Q7720727 Q25218659 Q20735248 Q25218652 Q25218654 Q7998518 Q2985217 Q2826346 Q8031727 Q19694524 Q7973042 Q5420997 Q7798392 Q38213 Q16995905 Q7741646 Q24255737 Q6880463 Q5504023 Q2466980 Q4886345 Q5944642 Q4660143 Q18788265 Q3503998 Q7752522 Q7785630 Q7859238 Q4992405 Q7755993 Q8059676 Q24255796 Q264182 Q17146887 Q4385108 Q48829 Q1494505 Q5195296 Q2511421 Q3797249 Q2420701 Q23307656 Q5450692 Q17152737 Q5332985 Q7786239 Q15093971 Q9073873 Q21162248 Q2633966 Q7750230 Q16245611 Q3715019 Q7746404 Q7767260 Q7767261 Q5158290 Q25205941 Q2085749 Q16169511 Q5254010 Q5003789 Q5027703 Q5473488 Q7760575 Q5306774 Q1066455 Q1056787 Q4899733 Q16967798 Q5245799 Q3015406 Q7500029 Q7843824 Q7730740 Q26158011 Q3050524 Q7767686 Q16827882 Q4656381 Q3940338 Q4177190 Q6494818 Q7990513 Q3549746 Q4927956 Q17984652 Q6153000 Q4658453 Q8038547 Q7460836 Q4356519 Q25206799 Q4803812 Q24038254 Q19346391 Q20645702 Q6659602 Q7771762 Q2032398 Q14613462 Q7990745 Q18390518 Q7759745 Q1198405 Q5291505 Q7045084 Q2254384 Q4936612 Q729200 Q3227186 Q4862076 Q17984975 Q4690750 Q7893645 Q7775346 Q7928910 Q4877216 Q5264081 Q18393961 Q16896156 Q2701408 Q19877795 Q19364458 Q7728421 Q17148450 Q17144884 Q5309477 Q7755570 Q2133301 Q3795874 Q16386824 Q19876277 Q16387084 Q6072278 Q11251620 Q6411843 Q5324870 Q7973144 Q2394369 Q5998865 Q21079063 Q21160985 Q5603902 Q5152900 Q7761504 Q7714688 Q7564851 Q7735884 Q4829710 Q7743774 Q7621331 Q7738760 Q5602600 Q16386156 Q5142457 Q5305108 Q7731579 Q5284410 Q3640502 Q6489841 Q4362704 Q16001713 Q7769349 Q4010252 Q5473001 Q4764616 Q6864119 Q374204 Q20926214 Q16951183 Q385502 Q24905743 Q7962576 Q6730919 Q246014 Q7742889 Q5245364 Q7699309 Q7883104 Q4681951 Q1736876 Q25205925 Q4728730
(c(Q2342494),P495,Q16)
action filter_type
action find_reverse
entity Q16
relation P495
type Q2342494
[ANSWERS] originated in Canada
[{'concept': 'Q2342494'}, 'P495', 'Q16']
SELECT DISTINCT ?n WHERE { ?n property:P495 resource:Q16 . ?n rdf:type ontology:Q2342494 }
Fear the Worst Darkwing The Last Light of the Sun The Singing Sword Alias Grace The Gum Thief Ventus The Hydrofoil Mystery The Darkest Road Alice, I Think The Lions of Al-Rassan A New Athens The Gathering Mad Shadows Eastern Standard Tribe All the Colours of Darkness Calculating God The Wandering Fire Barney's Version The Torso Murder: The Untold Story of Evelyn Dick Anne of the Island Broken Laura l'immortelle The Blue Castle Silverwing Brown Girl in the Ring Wild Geese Yarrow Skinny The Second Life of Samuel Tyne Volkswagen Blues Far-Seer The Year of the Flood Truth and Bright Water The Great Divide A Choice of Enemies Surfacing The Coyote Kings of the Space-Age Bachelor Pad Thirty Acres The Handmaid's Tale Lives of the Saints The Watch That Ends the Night The Girls Stanley Park Late Nights on Air Three Day Road The Eagle A Mixture of Frailties Owls in the Family As for Me and My House Lost in the Barrens Anne of Avonlea Veracity Kiss of the Fur Queen My Present Age Wake The Sky Is Falling Mass Effect: Revelation The Story Girl In a Dry Season The Immaculate Conception No Humans Involved (novel) Emily's Quest Life with Billy Fifth Business Johnny Kellock Died Today Wolf of the Wasteland Dust City A Perfect Night to Go to China Summer Gone The Favourite Game The Riddle of the Wren Lullabies for Little Criminals The Tin Flute Us Conductors Playing with Fire The Bishop's Man Cecilia Chroniques du Pays des Mères The Orenda Foreigner Lady Oracle The Back of the Turtle Past Reason Hated Pit Pony The King's Daughter The Onion Girl A Complicated Kindness Time Machines Repaired While-U-Wait Contract With the World Shampoo Planet The Nose From Jupiter MaddAddam Piece of My Heart The Last Canadian Faultline 49 Bad Boy From the Notebooks of Dr. Brain The Skystone The Incomparable Atuk Funny Boy Before I Wake The Other Place Orphan at My Door The War With Mr. Wizzle The Salt Roads Kilmeny of the Orchard Jalna Si les Canadiennes le voulaient Half-Blood Blues Medicine Walk Emily of New Moon Airborn People of the Deer Cataract City Invitation to the Game JPod A Tangled Web Milrose Munce and the Den of Professional Help Elixir Son of Interflux All That Matters No Coins, Please Bear Stones Jack Adrift: Fourth Grade Without a Clue A Romance of the Halifax Disaster Feather and Bone: The Crow Chronicles Crow Lake Earth and High Heaven The Boy in the Burning House Valmiki's Daughter Innocent Graves Son of a Smaller Hero Unless Tigana Skybreaker Signal to Noise Miss Wyoming Pick-Up Sticks Little Red Lies Born to Rock Livre d'emma Generation A The Tomorrow People Caedmon's Song World of Wonders Worst. Person. Ever. Generation X: Tales for an Accelerated Culture The Crazy Man I Want to Go Home The Terminal Experiment On Windswept Heights II: Historical Highlights of the Royal Canadian Air Force (revised edition) Summer of the Monkeys Too Close to Home Twenty-Six The Swinging Bridge The Diviners Obasan Fifteen Dogs The Head of the House of Coombe De Niro's Game Out of the Dark Four Steps to Death A Strange Manuscript Found in a Copper Cylinder The Secret World of Og Anne of Ingleside Family Matters Woodsmen of the West Sun of Suns Hey Nostradamus! Radiant White Figure, White Ground Personal Demon Medicine River Solomon Gursky Was Here Wednesday's Child The Life of Hope Rilla of Ingleside The Hidden Agenda of Sigrid Sugden Trapped The English Patient Autobiography of Red The Wars Gallows View Shattered Player One The Lesser Blessed Firewing The Twinkie Squad The Fort at River's Bend More Joy in Heaven The Bushbabies Civilization L’obscure souffrance The Ravine Galveston Widdershins Coming Through Slaughter Agaguk Wonder L’Algonquine Watch Expendable Through Black Spruce Such a Long Journey The Last Arrow The In-Between World of Vikram Lall Echopraxia Mistress Pat Friend of the Devil Microserfs Life Before Man Hunter in the Dark A Time for Judas 419 Sunwing The Moved and the Shaken This Can't Be Happening at Macdonald Hall Two Solitudes Girlfriend in a Coma The Panic Zone Ysabel Home Game The Robber Bride The Reluctant Journal of Henry K. Larsen Emily Climbs A Fine Balance Starclimber Curse of the Viking Grave Blindsight The Stone Diaries Anne's House of Dreams Pariah Finn the Half-Great The Shepherd's Grand-Daughter Eclipse This River Awakens The Eagles' Brood No Great Mischief Prisoner in a Red-Rose Chain Anne of Windy Poplars The Manticore All I Need Trilogy Dragon Age: The Stolen Throne The Law of Dreams The Summer That Never Was The Summer Tree Conceit The War on Women The Apprenticeship of Duddy Kravitz Through a Dark Mist Delirium By Grand Central Station I Sat Down and Wept Camp X Fossil Hunter The Revolution Script Dreamspeaker Moonrise The Golden Road Beware the Fish Women of the Apocalypse Deafening Down and Out in the Magic Kingdom Shoeless Joe Triptych The Double Hook The High Mountains of Portugal Eleanor Rigby The Swing in the Garden The Book of Negroes A Dedicated Man Rollback Spadework Last of the Curlews Whale Song A Season in the Life of Emmanuel Bloodletting & Miraculous Cures The Light-Bearer's Daughter Jane of Lantern Hill A Necessary End Writing with Intent: Essays, Reviews, Personal Prose--1983-2005 Shadows on the Rock The Penelopiad The Illegal Ascending When Dad Killed Mom Hominids Station Eleven Living with the Dead The Unwritten Girl Oryx and Crake Hana's Suitcase What's Bred in the Bone River of Stars The Rebel Angels The Blind Assassin Don't Care High No Time For Goodbye Black Robe Bodily Harm The Sweetness at the Bottom of the Pie Le Silence de la Cité Barometer Rising The Summer King Aftermath United We Stand The Wives of Bath Vigilant Beatrice and Virgil Desert of the Heart The White-Luck Warrior The Adventures of Sajo and her Beaver People Beautiful Losers Except the Dying All My Puny Sorrows The Cure for Death by Lightning Undergrounders The Night Wanderer: A Native Gothic Novel Dry Bones That Dream The Other Side of the Bridge Room The Saxon Shore Macdonald Hall Goes Hollywood Amelia and Me Moonheart Iron & Silk Self King Leary Each Man's Son Watching The Dark Rainbow Valley Illegal Alien Daaku The Gangster's Life Greener Grass: The Famine Years Commitment Hour The Root Cellar The Assassin's Song Sounder The Gargoyle Awake and Dreaming The Judging Eye Strange Affair The Hanging Valley Green Grass, Running Water Hunted Cold is the Grave Dragon Age: The Calling The Edible Woman Divisadero Bitten Larry's Party Pilgrim Adam and Eve and Pinch-Me The Time in Between The Heaven Shop Forty Words for Sorrow Anil's Ghost Mine for Keeps Life of Pi Muse STAR Academy Before Green Gables Logan in Overtime Walkups Magic for Marigold St. Urbain's Horseman The Jade Peony Dead Right Ten Silver Coins Under Heaven Adeline's Dream Cat's Eye Edwin Alonzo Boyd All Families Are Psychotic
Anne of Avonlea, Down and Out in the Magic Kingdom and Anne of the Island originated in Canada
Anne of Avonlea Down and Out in the Magic Kingdom Anne of the Island
action filter_type
action find_reverse
entity Canada
relation country of origin
type collectable
[{'concept': 'collectable'}, 'country of origin', 'Canada']
SELECT DISTINCT ?n WHERE { ?n property:country_of_origin resource:Canada . ?n rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1331757 Q3015406 Q1352419
P800
Q502895
USER
Which people are accredited with being the author of the notable work those collectables ?
(c(Q502895),P800,Q1331757) (c(Q502895),P800,Q3015406) (c(Q502895),P800,Q1352419)
action filter_type
action find_reverse
entity prev_answer
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q1331757'] [{'concept': 'Q502895'}, 'P800', 'Q3015406'] [{'concept': 'Q502895'}, 'P800', 'Q1352419']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P800 ?u . VALUES ( ?u ) { ( resource:Q5439415 ) ( resource:Q3016355 ) ( resource:Q7745858 ) } }
Anne of Avonlea Down and Out in the Magic Kingdom Anne of the Island
action filter_type
action find_reverse
entity prev_answer
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Anne of Avonlea'] [{'concept': 'common name'}, 'notable work', 'Down and Out in the Magic Kingdom'] [{'concept': 'common name'}, 'notable work', 'Anne of the Island']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:notable_work ?u . VALUES ( ?u ) { ( resource:Fear_the_Worst ) ( resource:Darkwing ) ( resource:The_Last_Light_of_the_Sun ) } }
[]
common name
Q273034 Q110436 Q273034
SYSTEM
Cory Doctorow for 2nd, Lucy Maud Montgomery for 1st, 3rd
Q273034 Q110436 Q273034
(c(Q502895),P800,Q1331757) (c(Q502895),P800,Q3015406) (c(Q502895),P800,Q1352419)
action filter_type
action find_reverse
entity prev_answer
relation P800
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P800', 'Q1331757'] [{'concept': 'Q502895'}, 'P800', 'Q3015406'] [{'concept': 'Q502895'}, 'P800', 'Q1352419']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P800 ?u . VALUES ( ?u ) { ( resource:Q5439415 ) ( resource:Q3016355 ) ( resource:Q7745858 ) } }
Lucy Maud Montgomery Cory Doctorow Lucy Maud Montgomery
Lucy Maud Montgomery, Cory Doctorow and Lucy Maud Montgomery are accredited with being the author of the notable work those collectables
Lucy Maud Montgomery Cory Doctorow Lucy Maud Montgomery
action filter_type
action find_reverse
entity prev_answer
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Anne of Avonlea'] [{'concept': 'common name'}, 'notable work', 'Down and Out in the Magic Kingdom'] [{'concept': 'common name'}, 'notable work', 'Anne of the Island']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:notable_work ?u . VALUES ( ?u ) { ( resource:Fear_the_Worst ) ( resource:Darkwing ) ( resource:The_Last_Light_of_the_Sun ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q273034
P50
Q2342494
USER
What are the collectables written by that person ?
(c(Q2342494),P50,Q273034)
action filter_type
action find_reverse
entity Q273034
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q273034']
SELECT DISTINCT ?x WHERE { ?x property:P50 resource:Q273034 . ?x rdf:type ontology:Q2342494 }
Lucy Maud Montgomery
action filter_type
action find_reverse
entity Lucy Maud Montgomery
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Lucy Maud Montgomery']
SELECT DISTINCT ?x WHERE { ?x property:author resource:Lucy_Maud_Montgomery . ?x rdf:type ontology:collectable }
[]
collectable
Clarification for simple ques.
Q273034
SYSTEM
Did you mean Lucy Maud Montgomery ?
Q273034 Q110436 Q273034
(c(Q2342494),P50,Q273034) (c(Q2342494),P50,Q110436) (c(Q2342494),P50,Q273034)
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q273034'] [{'concept': 'Q2342494'}, 'P50', 'Q110436'] [{'concept': 'Q2342494'}, 'P50', 'Q273034']
SELECT DISTINCT ?x WHERE { ?x property:P50 resource:Q273034 . ?x rdf:type ontology:Q2342494 }
Lucy Maud Montgomery Cory Doctorow Lucy Maud Montgomery
Did you mean Lucy Maud Montgomery ?
Lucy Maud Montgomery
[{'concept': 'collectable'}, 'author', 'Lucy Maud Montgomery'] [{'concept': 'collectable'}, 'author', 'Cory Doctorow'] [{'concept': 'collectable'}, 'author', 'Lucy Maud Montgomery']
SELECT DISTINCT ?x WHERE { ?x property:author resource:Lucy_Maud_Montgomery . ?x rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q2342494),P50,Q273034)
[{'concept': 'Q2342494'}, 'P50', 'Q273034']
[{'concept': 'collectable'}, 'author', 'Lucy Maud Montgomery']
[]
Q1331757 Q2420701 Q1352419
SYSTEM
Anne of Avonlea, Anne's House of Dreams, Anne of the Island
Q9154650 Q4659979 Q4385108 Q6153000 Q5114055 Q1331757 Q2420701 Q6880463 Q565911 Q2562708 Q5372004 Q11813443 Q6730919 Q5509748 Q2633966 Q7718738 Q3270964 Q734757 Q1056787 Q6408015 Q7713230 Q1352419 Q2394369 Q73706
(c(Q2342494),P50,Q273034)
action filter_type
action find_reverse
entity Q273034
relation P50
type Q2342494
The collectables written by that person are [ANSWERS]
[{'concept': 'Q2342494'}, 'P50', 'Q273034']
SELECT DISTINCT ?x WHERE { ?x property:P50 resource:Q273034 . ?x rdf:type ontology:Q2342494 }
The Blythes Are Quoted A Tangled Web Emily Climbs Jane of Lantern Hill Chronicles of Avonlea Anne of Avonlea Anne's House of Dreams Mistress Pat Anne of Green Gables Anne of Ingleside Emily's Quest Pat of Silver Bush Magic for Marigold Further Chronicles of Avonlea Anne of Windy Poplars The Blue Castle The Story Girl Rilla of Ingleside The Golden Road Kilmeny of the Orchard The Alpine Path: The Story of My Career Anne of the Island Rainbow Valley Emily of New Moon
The collectables written by that person are Anne of Avonlea, Anne's House of Dreams and Anne of the Island
Anne of Avonlea Anne's House of Dreams Anne of the Island
action filter_type
action find_reverse
entity Lucy Maud Montgomery
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Lucy Maud Montgomery']
SELECT DISTINCT ?x WHERE { ?x property:author resource:Lucy_Maud_Montgomery . ?x rdf:type ontology:collectable }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q19977090 Q16
P530 P27
Q15617994
USER
Which administrative territories holds diplomatic relationship with Canada and are not the countries of citizenship of Lise-Lotte Norelius ?
AND((Q16,P530,c(Q15617994)), NOT((Q19977090,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q16
relation P530
action find
entity Q19977090
relation P27
type Q15617994
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q19977090', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q16 property:P530 ?b . FILTER NOT EXISTS { resource:Q19977090 property:P27 ?b } }
Lise-Lotte Norelius Canada
action filter_type
action difference
action find
entity Canada
relation diplomatic relation
action find
entity Lise-Lotte Norelius
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Lise-Lotte Norelius', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Canada property:diplomatic_relation ?b . FILTER NOT EXISTS { resource:Lise-Lotte_Norelius property:country_of_citizenship ?b } }
[]
designation for an administrative territorial entity
Q833 Q145 Q252 Q159 Q79 Q36 Q851 Q43 Q218 Q928
SYSTEM
Some of them are Malaysia, United Kingdom, Indonesia, Russia, Egypt, Poland, Saudi Arabia, Turkey, Romania, Philippines
Q804 Q801 Q843 Q1029 Q1028 Q145 Q229 Q33 Q30 Q36 Q79 Q77 Q39 Q38 Q878 Q739 Q833 Q711 Q1030 Q851 Q29999 Q928 Q115 Q258 Q212 Q159 Q43 Q155 Q218 Q20 Q423 Q252 Q884
AND((Q16,P530,c(Q15617994)), NOT((Q19977090,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q16
relation P530
action find
entity Q19977090
relation P27
type Q15617994
[ANSWERS] hold diplomatic relationship with Canada and are not the countries of citizenship of Lise-Lotte Norelius
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q19977090', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q16 property:P530 ?b . FILTER NOT EXISTS { resource:Q19977090 property:P27 ?b } }
Panama Israel Pakistan Mozambique Morocco United Kingdom Cyprus Finland United States of America Poland Egypt Uruguay Switzerland Italy United Arab Emirates Colombia Malaysia Mongolia Namibia Saudi Arabia Kingdom of the Netherlands Philippines Ethiopia South Africa Ukraine Russia Turkey Brazil Romania Norway North Korea Indonesia South Korea
Malaysia, United Kingdom, Indonesia, Russia, Egypt, Poland, Saudi Arabia, Turkey, Romania and Philippines hold diplomatic relationship with Canada and are not the countries of citizenship of Lise-Lotte Norelius
Malaysia United Kingdom Indonesia Russia Egypt Poland Saudi Arabia Turkey Romania Philippines
action filter_type
action difference
action find
entity Canada
relation diplomatic relation
action find
entity Lise-Lotte Norelius
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Lise-Lotte Norelius', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Canada property:diplomatic_relation ?b . FILTER NOT EXISTS { resource:Lise-Lotte_Norelius property:country_of_citizenship ?b } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q159 Q125928
P101
Q502895
USER
How many people have field of work as Russia or climate change ?
(c(Q502895),P101,Q159) (c(Q502895),P101,Q125928)
action count
action union
action filter_type
action find_reverse
entity Q159
relation P101
type Q502895
action filter_type
action find_reverse
entity Q125928
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q159'] [{'concept': 'Q502895'}, 'P101', 'Q125928']
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { ?s rdf:type ontology:Q502895 . ?s property:P101 resource:Q159 } UNION { ?s property:P101 resource:Q125928 . ?s rdf:type ontology:Q502895 } }
Russia climate change
action count
action union
action filter_type
action find_reverse
entity Russia
relation field of work
type common name
action filter_type
action find_reverse
entity climate change
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Russia'] [{'concept': 'common name'}, 'field of work', 'climate change']
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { ?s rdf:type ontology:common_name . ?s property:field_of_work resource:Russia } UNION { ?s property:field_of_work resource:climate_change . ?s rdf:type ontology:common_name } }
[]
common name
SYSTEM
3
Q4181293 Q4976087 Q24062478
(c(Q502895),P101,Q159) (c(Q502895),P101,Q125928)
action count
action union
action filter_type
action find_reverse
entity Q159
relation P101
type Q502895
action filter_type
action find_reverse
entity Q125928
relation P101
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q159'] [{'concept': 'Q502895'}, 'P101', 'Q125928']
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { ?s rdf:type ontology:Q502895 . ?s property:P101 resource:Q159 } UNION { ?s property:P101 resource:Q125928 . ?s rdf:type ontology:Q502895 } }
Petra Procházková Ellen Rydelius John P. Burrows
3
action count
action union
action filter_type
action find_reverse
entity Russia
relation field of work
type common name
action filter_type
action find_reverse
entity climate change
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Russia'] [{'concept': 'common name'}, 'field of work', 'climate change']
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { ?s rdf:type ontology:common_name . ?s property:field_of_work resource:Russia } UNION { ?s property:field_of_work resource:climate_change . ?s rdf:type ontology:common_name } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q664
P530
Q1048835 Q15617994
USER
How many political territories have a diplomatic relationship with approximately the same number of administrative territories as New Zealand ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?x ) WHERE { ?f property:P530 ?j . ?f rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h rdf:type ontology:Q1048835 . resource:Q664 property:P530 ?h } } . FILTER ( ?x = ?b ) }
New Zealand
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?x ) WHERE { ?f property:diplomatic_relation ?j . ?f rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h rdf:type ontology:political_territorial_entity . resource:New_Zealand property:diplomatic_relation ?h } } . FILTER ( ?x = ?b ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?x ) WHERE { ?f property:P530 ?j . ?f rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h rdf:type ontology:Q1048835 . resource:Q664 property:P530 ?h } } . FILTER ( ?x = ?b ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?x ) WHERE { ?f property:diplomatic_relation ?j . ?f rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h rdf:type ontology:political_territorial_entity . resource:New_Zealand property:diplomatic_relation ?h } } . FILTER ( ?x = ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q766
P530
Q1048835 Q15617994
USER
And also tell me about Jamaica?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?j ) WHERE { ?m property:P530 ?o . ?m rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c rdf:type ontology:Q1048835 . resource:Q766 property:P530 ?c } } . FILTER ( ?j = ?l ) }
Jamaica
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?j ) WHERE { ?m property:diplomatic_relation ?o . ?m rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c rdf:type ontology:political_territorial_entity . resource:Jamaica property:diplomatic_relation ?c } } . FILTER ( ?j = ?l ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?j ) WHERE { ?m property:P530 ?o . ?m rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c rdf:type ontology:Q1048835 . resource:Q766 property:P530 ?c } } . FILTER ( ?j = ?l ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?j ) WHERE { ?m property:diplomatic_relation ?o . ?m rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c rdf:type ontology:political_territorial_entity . resource:Jamaica property:diplomatic_relation ?c } } . FILTER ( ?j = ?l ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q44430 Q273034
P170
Q15416
USER
Which television programs did Lucy Maud Montgomery or Vince McMahon make ?
OR((c(Q15416),P170,Q273034), (c(Q15416),P170,Q44430))
action filter_type
action union
action find_reverse
entity Q273034
relation P170
action find_reverse
entity Q44430
relation P170
type Q15416
{'OR': [[{'concept': 'Q15416'}, 'P170', 'Q273034'], [{'concept': 'Q15416'}, 'P170', 'Q44430']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P170 resource:Q273034 } UNION { ?w property:P170 resource:Q44430 } } . ?w rdf:type ontology:Q15416 }
Vince McMahon Lucy Maud Montgomery
action filter_type
action union
action find_reverse
entity Lucy Maud Montgomery
relation creator
action find_reverse
entity Vince McMahon
relation creator
type television program
{'OR': [[{'concept': 'television program'}, 'creator', 'Lucy Maud Montgomery'], [{'concept': 'television program'}, 'creator', 'Vince McMahon']]}
SELECT DISTINCT ?w WHERE { { { ?w property:creator resource:Lucy_Maud_Montgomery } UNION { ?w property:creator resource:Vince_McMahon } } . ?w rdf:type ontology:television_program }
[]
television program
Q1315674 Q50817 Q35849 Q1783207 Q36001 Q2363314 Q18754 Q35903 Q35887 Q36031
SYSTEM
Some of them are WWE Velocity, WrestleMania III, WWE After Burn, Saturday Night's Main Event, WWE Hall of Fame, WWE Heat, WWE Raw, WWE NXT, This Week in WWE, WWE Tribute to the Troops
Q7957245 Q7957247 Q7957246 Q35887 Q7851430 Q36001 Q1783207 Q35622 Q2322509 Q35903 Q50846 Q35864 Q35849 Q1315674 Q18754 Q50805 Q35752 Q7957256 Q35730 Q4017559 Q2363314 Q35718 Q1149921 Q50817 Q50815 Q35932 Q36031 Q14920481
OR((c(Q15416),P170,Q273034), (c(Q15416),P170,Q44430))
action filter_type
action union
action find_reverse
entity Q273034
relation P170
action find_reverse
entity Q44430
relation P170
type Q15416
Lucy Maud Montgomery or Vince McMahon made appearances [ANSWERS]
{'OR': [[{'concept': 'Q15416'}, 'P170', 'Q273034'], [{'concept': 'Q15416'}, 'P170', 'Q44430']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P170 resource:Q273034 } UNION { ?w property:P170 resource:Q44430 } } . ?w rdf:type ontology:Q15416 }
WWF LiveWire WWF Prime Time Wrestling WWF Mania This Week in WWE Tuesday Night Titans WWE Hall of Fame Saturday Night's Main Event WWE SmackDown Anne of Avonlea WWE NXT WrestleMania IV WWE Bottom Line WWE After Burn WWE Velocity WWE Raw WrestleMania I WWE Superstars WWF Wrestling Challenge WWE Saturday Morning Slam WWF Superstars of Wrestling WWE Heat WWE Main Event WWE Tough Enough WrestleMania III WrestleMania 2 The WWE Experience WWE Tribute to the Troops WWE Confidential
Lucy Maud Montgomery or Vince McMahon made appearances WWE Velocity, WrestleMania III, WWE After Burn, Saturday Night's Main Event, WWE Hall of Fame, WWE Heat, WWE Raw, WWE NXT, This Week in WWE and WWE Tribute to the Troops
WWE Velocity WrestleMania III WWE After Burn Saturday Night's Main Event WWE Hall of Fame WWE Heat WWE Raw WWE NXT This Week in WWE WWE Tribute to the Troops
action filter_type
action union
action find_reverse
entity Lucy Maud Montgomery
relation creator
action find_reverse
entity Vince McMahon
relation creator
type television program
{'OR': [[{'concept': 'television program'}, 'creator', 'Lucy Maud Montgomery'], [{'concept': 'television program'}, 'creator', 'Vince McMahon']]}
SELECT DISTINCT ?w WHERE { { { ?w property:creator resource:Lucy_Maud_Montgomery } UNION { ?w property:creator resource:Vince_McMahon } } . ?w rdf:type ontology:television_program }
[]