Simple Question (Direct)
Simple Question
Q6783642
P735
Q82799
USER
What is the firstname of Mason Welch Gross ?
(Q6783642,P735,c(Q82799))
action filter_type
action find
entity Q6783642
relation P735
type Q82799
['Q6783642', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q6783642 property:P735 ?z . ?z rdf:type ontology:Q82799 }
Mason Welch Gross
action filter_type
action find
entity Mason Welch Gross
relation given name
type name
['Mason Welch Gross', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Mason_Welch_Gross property:given_name ?z . ?z rdf:type ontology:name }
[]
name
Q12294444
SYSTEM
Mason
Q12294444
(Q6783642,P735,c(Q82799))
action filter_type
action find
entity Q6783642
relation P735
type Q82799
The firstname of [ANSWER] Welch Gross is the [ANSWER]
['Q6783642', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q6783642 property:P735 ?z . ?z rdf:type ontology:Q82799 }
Mason
The firstname of Mason Welch Gross is the Mason
Mason
action filter_type
action find
entity Mason Welch Gross
relation given name
type name
['Mason Welch Gross', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Mason_Welch_Gross property:given_name ?z . ?z rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6783642
P607
Q198
USER
What battle was that person a part of ?
(Q12294444,P607,c(Q198))
action filter_type
action find
entity Q6783642
relation P607
type Q198
['Q12294444', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?p WHERE { resource:Q6783642 property:P607 ?p . ?p rdf:type ontology:Q198 }
Mason Welch Gross
action filter_type
action find
entity Mason Welch Gross
relation conflict
type war
['Mason', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?p WHERE { resource:Mason_Welch_Gross property:conflict ?p . ?p rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q12294444,P607,c(Q198))
action filter_type
action find
entity Q6783642
relation P607
type Q198
What battle was that person a part of
['Q12294444', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?p WHERE { resource:Q6783642 property:P607 ?p . ?p rdf:type ontology:Q198 }
World War II
What battle was that person a part of
World War II
action filter_type
action find
entity Mason Welch Gross
relation conflict
type war
['Mason', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?p WHERE { resource:Mason_Welch_Gross property:conflict ?p . ?p rdf:type ontology:war }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q6911837 Q6783642
P607
Q198
USER
Or Morgan Singer?
OR((Q6783642,P607,c(Q198)), (Q6911837,P607,c(Q198)))
action filter_type
action union
action find
entity Q6783642
relation P607
action find
entity Q6911837
relation P607
type Q198
{'OR': [['Q6783642', 'P607', {'concept': 'Q198'}], ['Q6911837', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q6783642 property:P607 ?n } UNION { resource:Q6911837 property:P607 ?n } } . ?n rdf:type ontology:Q198 }
Morgan Singer Mason Welch Gross
action filter_type
action union
action find
entity Mason Welch Gross
relation conflict
action find
entity Morgan Singer
relation conflict
type war
{'OR': [['Mason Welch Gross', 'conflict', {'concept': 'war'}], ['Morgan Singer', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Mason_Welch_Gross property:conflict ?n } UNION { resource:Morgan_Singer property:conflict ?n } } . ?n rdf:type ontology:war }
[]
war
Q362 Q361
SYSTEM
World War II, World War I
Q362 Q361
OR((Q6783642,P607,c(Q198)), (Q6911837,P607,c(Q198)))
action filter_type
action union
action find
entity Q6783642
relation P607
action find
entity Q6911837
relation P607
type Q198
[ANSWERS]
{'OR': [['Q6783642', 'P607', {'concept': 'Q198'}], ['Q6911837', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q6783642 property:P607 ?n } UNION { resource:Q6911837 property:P607 ?n } } . ?n rdf:type ontology:Q198 }
World War II World War I
World War II World War I
action filter_type
action union
action find
entity Mason Welch Gross
relation conflict
action find
entity Morgan Singer
relation conflict
type war
{'OR': [['Mason Welch Gross', 'conflict', {'concept': 'war'}], ['Morgan Singer', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Mason_Welch_Gross property:conflict ?n } UNION { resource:Morgan_Singer property:conflict ?n } } . ?n rdf:type ontology:war }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q362 Q3212606
P921
Q2342494
USER
How many collectables have World War II or The Resistance as their principal topic ?
(c(Q2342494),P921,Q362) (c(Q2342494),P921,Q3212606)
action count
action union
action filter_type
action find_reverse
entity Q362
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q3212606
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q362'] [{'concept': 'Q2342494'}, 'P921', 'Q3212606']
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:P921 ?l . VALUES ( ?l ) { ( resource:Q362 ) ( resource:Q3212606 ) } }
World War II The Resistance
action count
action union
action filter_type
action find_reverse
entity World War II
relation main subject
type collectable
action filter_type
action find_reverse
entity The Resistance
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'World War II'] [{'concept': 'collectable'}, 'main subject', 'The Resistance']
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:main_subject ?l . VALUES ( ?l ) { ( resource:World_War_II ) ( resource:The_Resistance ) } }
[]
collectable
SYSTEM
454
Q3232730 Q6494304 Q1292533 Q2772495 Q3946706 Q5152088 Q7751418 Q7977504 Q7033679 Q4921847 Q7777820 Q5437762 Q7078820 Q7569028 Q4348077 Q7892229 Q7775414 Q3410561 Q1108957 Q5212748 Q7991125 Q1443497 Q16959405 Q4185382 Q5896774 Q2412167 Q2603408 Q6057910 Q7761438 Q7557414 Q7070095 Q5872010 Q7746135 Q7548321 Q6494541 Q6484490 Q7456956 Q7774774 Q999324 Q7719633 Q4920400 Q16982310 Q64095 Q5937553 Q533391 Q7368936 Q2636040 Q1145932 Q5496933 Q6407748 Q281474 Q3536507 Q7715864 Q1984965 Q2896084 Q17018078 Q3235566 Q5477057 Q306619 Q4660358 Q16385694 Q3205514 Q3343553 Q7749726 Q7111472 Q7883220 Q7741533 Q4966444 Q2252940 Q11073229 Q4655700 Q5743259 Q3822794 Q1796984 Q7748245 Q7619857 Q331106 Q8073561 Q4827169 Q3125124 Q7729078 Q4808869 Q859873 Q5227743 Q1248574 Q8026019 Q3793037 Q668506 Q5140033 Q5451949 Q4105840 Q4886467 Q7568098 Q1215095 Q7762095 Q1170871 Q2969017 Q7764117 Q5027703 Q7262103 Q7143042 Q2078794 Q7557326 Q5185937 Q534975 Q4976145 Q2177835 Q3021310 Q17515166 Q7754220 Q5428377 Q1651862 Q559330 Q7883256 Q16829201 Q2042129 Q7187013 Q3705069 Q7711289 Q7534446 Q260016 Q1747954 Q17009491 Q655921 Q7764687 Q7336109 Q3222481 Q961394 Q7883377 Q7460660 Q2006736 Q6850347 Q905112 Q5419770 Q5871993 Q5475177 Q7727665 Q17030732 Q7597244 Q5291655 Q2603401 Q6880221 Q7514574 Q7731932 Q567062 Q7762074 Q4918641 Q7100825 Q7766454 Q7100826 Q819101 Q4749790 Q7746502 Q3226565 Q1211785 Q7936345 Q2910080 Q7728766 Q8030573 Q7774839 Q7774838 Q7994017 Q6691705 Q6807901 Q7456958 Q5085965 Q5463283 Q7775039 Q5100414 Q7770944 Q3213239 Q634778 Q17014029 Q7719066 Q5694683 Q7456957 Q7728268 Q4926972 Q3024947 Q7637517 Q16208240 Q2861702 Q7721278 Q15052480 Q4660496 Q7714457 Q40496 Q5557157 Q4660252 Q5459295 Q13464128 Q7714852 Q5613197 Q7723394 Q5500544 Q6489915 Q5659004 Q7261348 Q7079479 Q6037603 Q5243378 Q7563724 Q7042762 Q7754505 Q5583281 Q1192103 Q6455485 Q4975627 Q896201 Q1756253 Q7205138 Q7728497 Q4006122 Q6916790 Q7004284 Q7960553 Q7762753 Q5477122 Q5429915 Q7749353 Q7305053 Q5447936 Q7748334 Q7717474 Q6482078 Q6494813 Q4728817 Q5247377 Q7764314 Q7745583 Q6906674 Q16975192 Q7833499 Q7731337 Q7720314 Q120595 Q16958543 Q6943140 Q2469771 Q4749811 Q3271213 Q7635319 Q1401603 Q4659011 Q7752521 Q5725164 Q7678024 Q4655421 Q3211433 Q17507540 Q8036436 Q753153 Q6816247 Q3566664 Q7762064 Q7833039 Q7763838 Q5641785 Q4660037 Q7735843 Q711350 Q3232740 Q14954428 Q336786 Q2097453 Q4657537 Q3202602 Q81810 Q5477043 Q7772478 Q265954 Q1214398 Q2918714 Q17037663 Q646361 Q7835565 Q3759491 Q5254063 Q63998 Q6942419 Q4411133 Q5526095 Q4655507 Q5583198 Q1088001 Q16200274 Q5122588 Q5274520 Q4804888 Q7848184 Q7559682 Q1167183 Q278208 Q6937771 Q8057047 Q5145956 Q16237583 Q314266 Q16207667 Q3092267 Q16944416 Q6126547 Q3235195 Q7722334 Q5451950 Q4940619 Q16932107 Q5613980 Q5223253 Q3182997 Q3431948 Q7246044 Q5372512 Q5247592 Q5743092 Q15070929 Q3622150 Q7079519 Q6826814 Q7514647 Q7735592 Q3119212 Q7716832 Q4354847 Q7385064 Q305415 Q12010230 Q4937006 Q7716564 Q16910767 Q7756978 Q16981969 Q38187 Q1062814 Q7751570 Q7679410 Q2279483 Q7783777 Q1034591 Q2187252 Q5447175 Q7770904 Q7597259 Q3104950 Q4979864 Q25269456 Q7744908 Q4781640 Q1212160 Q5242921 Q7750146 Q7756359 Q7762085 Q969218 Q2399624 Q7044348 Q7729501 Q2631705 Q7721198 Q7736416 Q5359362 Q16106454 Q7234106 Q4657091 Q7767654 Q716707 Q7619320 Q7776099 Q7774545 Q538169 Q4659377 Q5190409 Q7728274 Q7091760 Q6692599 Q1731802 Q4348264 Q7776627 Q5977433 Q7760606 Q3738217 Q3843874 Q8028234 Q7732786 Q7722163 Q7717851 Q7757795 Q4354234 Q7304774 Q451200 Q3343835 Q1098250 Q7620186 Q4952155 Q634288 Q5242794 Q4927519 Q7734818 Q5267157 Q6412654 Q5463909 Q3730865 Q5475566 Q7680725 Q7729955 Q5422839 Q4913534 Q1211771 Q4158104 Q7635062 Q1767504 Q7757027 Q4865223 Q5569570 Q5990320 Q3754689 Q5145792 Q16208235 Q5639277 Q4658333 Q7053459 Q4870059 Q5247367 Q4657069 Q7743933 Q7766325 Q7774156 Q5149203 Q2640129 Q7925620 Q4926963 Q7757648 Q15699374 Q7743153 Q15052498 Q10306884 Q5447833 Q7740648 Q4822722 Q7577129 Q17013141 Q4940621 Q7768194 Q7743796 Q7727542 Q4839036 Q17011435 Q5217408 Q16547587 Q5118147 Q5223350 Q7716042 Q16838031 Q7315596
(c(Q2342494),P921,Q362) (c(Q2342494),P921,Q3212606)
action count
action union
action filter_type
action find_reverse
entity Q362
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q3212606
relation P921
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P921', 'Q362'] [{'concept': 'Q2342494'}, 'P921', 'Q3212606']
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:P921 ?l . VALUES ( ?l ) { ( resource:Q362 ) ( resource:Q3212606 ) } }
The Crook Factory Last Days of Summer The English Patient The Scarlatti Inheritance San Andreas Command Decision The Military Philosophers We Couldn't Leave Dinah Night of the Aurochs Black Silence Their Darkest Hour: People Tested to the Extreme in WWII Fathom Five Of Whom the World was Not Worthy South by Java Head The Thin Red Line United States Submarine Operations in World War II The Wolf's Hour The Longest Day The Redbreast Damned Good Show What Happened to the Corbetts If Not Now, When? Now the Hell Will Start Embracing Defeat Honor Bound series Empire of the Sun The Sorrow of Belgium Into a Strange Lost World The Rome-Berlin Axis Soldiers and Slaves Nuremberg and Vietnam: An American Tragedy Hitler: Speeches and Proclamations The Last Train From Hiroshima Snow Treasure Last Nine Days of the Bismarck Landfall: A Channel Story Settling Accounts: In at the Death The Widow and Her Hero Every Man Dies Alone The Boy Who Dared Black Book The Good Shepherd The Winds of War Human Smoke The Garden of the Finzi-Continis Rosie Winter – Winter in June Icebreaker King Rat Freddy and the Bean Home News Killing Rommel Le Chasseur Zéro The Unlikely Spy The Battle of Hamburg The Life and Extraordinary Adventures of Private Ivan Chonkin City of Thieves The Second World War Friedrich Kellner Diary Fox on the Rhine Atonement A Troubled Peace The Final Storm Strange Defeat North The Making of the Atomic Bomb Out Stealing Horses Under a War-Torn Sky The Imperial Cruise Bridge of Scarlet Leaves Mars in Aries Hotel on the Corner of Bitter and Sweet A Cage of Eagles Heroes of Tobruk The Myth of Hitler's Pope Journey into Fear The Long Pursuit Stopped at Stalingrad The Dressmaker Zoli Autumn Mist HMS Ulysses The Daughter Assignment to Catastrophe The Blood of Others Nip the Buds, Shoot the Kids Kamienie na szaniec Winston's War The Dictator's Moustaches HHhH Code Name Verity Fireshadow The Ministry of Fear Ben Singkol South Pacific Eye of the Needle The Saint on Guard Het Woeden der Gehele Wereld Pied Piper The Siege Camp X Put Out More Flags Pastoral The Keep Soldier X Crisis: The Japanese Attack on Pearl Harbor and Southeast Asia Cryptonomicon Brown Girl, Brownstones Hitlers Bombe La Douleur Where Have All the Soldiers Gone? The Ninth Man Face of a Hero Carrie's War Winter of the World Under the Blood Red Sun The Deep Six Hospital of the Transfiguration Phoenix Triumphant Green for Danger That Summer Skeletons at the Feast Troubled Sleep Hornet Flight The Mare's Nest The Rise and Fall of the Third Reich The Sky Is Falling Rising '44. The Battle for Warsaw The Gemini Contenders The Adventures of Werner Holt Under the Red Sea Sun Shadow of Suribachi: Raising the Flags on Iwo Jima The Oath Mila 18 The End of the Affair Execution Hitler's War Four Freedoms The Corps Series The Wars for Asia 1911–1949 Stalin's Missed Chance Don't Go Near the Water The Painted Bird Mister Roberts Silent Honor The Emperor of Ice-Cream Le Silence de la mer The Saint Steps In Biswasghatak Ordinary Heroes The Steel Wave Ordinary Heroes The Book Thief An Angel in Australia The Leader The Erl-King The Bridge over the River Kwai Visitors from London The Tin Flute The Dam Busters Settling Accounts: Drive to the East The Wild Blue: The Novel of the U.S. Air Force The Wild Blue Whistle Love and War in the Apennines Meeting at the Milestone Settling Accounts: Return Engagement Charlotte Gray Flyboys: A True Story of Courage The Wimsey Papers Chinese Cinderella and the Secret Dragon Society The Two Pound Tram The Tristan Betrayal Friedrich Piece of Cake The Bomb Heaven Knows, Mr. Allison Settling Accounts: The Grapple The Cruel Sea Blitzkrieg: From the Rise of Hitler to the Fall of Dunkirk No Time for Sergeants Summer of My German Soldier Angel of Forgetting Armageddon: A Novel of Berlin The Captain The Devil's Arithmetic A Vision of Battlements The Art of Keeping Cool The End: Hitler's Germany 1944–45 Ghost Soldiers A Town Like Alice Flight of Eagles The Spies of Warsaw The Attenbury Emeralds Guadalcanal Diary The Climate of Courage Freedom From Fear: The American People in Depression and War, 1929–1945 Orlovi rano lete Harm's Way Purnell's History of the Second World War Officers and Gentlemen Inside Hitler's Bunker Days of Infamy series Sorry No-No Boy The Nuremberg Raid Goodbye Japan The Eagle Has Landed L'Abbé C Brotherhood of War Braunbuch Berlin: The Downfall 1945 Plotting Hitler's Death: The German Resistance to Hitler, 1933–1945 The Custard Boys Men at Arms Most Secret Never Surrender Waiting for Anya The Sea Eagle Foxes' Oven Fair Stood the Wind for France The Madonnas of Leningrad Red Sky at Morning Fighting for Freedom The Longest Winter The Bielski Brothers Lammas Night Last of the Conquerors All Hell Let Loose Death into Life The Silver Sword The Last Battle Monty: His Part in My Victory Omnipotent Government Trans-Atlantyk The Eagle Has Flown The Bronze Horseman N or M? Jimmy's Stars Mussolini: His Part in My Downfall From Here to Eternity An Army at Dawn: The War in North Africa 1942–1943 The Passionate Heart Suicide Zbabělci A Presumption of Death The Moved-Outers The Human Comedy Taken by Force A Bell for Adano The Willing Flesh 1940: Myth and Reality World War II Radio Heroes: Letters of Compassion Night Over Water Men at War Two Women The Saint Goes West Traitor Draža Mihailović: In the Hands of the Authority of People's Power The Ship Half a Wing, Three Engines and a Prayer A Terrible Revenge The Garden of Evening Mists So Far from the Bamboo Grove The Forests of the Night To Shatter the Sky The Seventh Cross Hitler's Pope A Keen Soldier Australia in the War of 1939–1945 Black Rain Fox at the Front The Very Thought of You Slaughterhouse-Five Jackdaws Battle Cry Tatiana and Alexander The Naked and the Dead Trapeze SS-General Delivered from Evil War and Remembrance Music on the Bamboo Radio Free Fall Playing with the Enemy A Blank in the Weather Map Goodbye, Mickey Mouse Chronicle in Stone Escape from Davao Citizen Soldiers Died in the Wool Ashes and Diamonds Trusted Like the Fox Someone Named Eva The Assault Catch-22 Murder in the Submarine Zone You Can't See 'Round Corners Collar the Lot The Golden Age Enigma Black Sun, Red Moon Fable for Another Time Crumb Borne Jalan Tak Ada Ujung Hiroshima The Chequer Board Fires on the Plain Bomber The Last Battle Guard of Honor Dark Hero Johnny and the Bomb Rigadoon Private Angelo Grave of the Fireflies Death of a Train Heroes Rose Under Fire A Bridge Too Far Official History of New Zealand in the Second World War 1939–45 Mga Ibong Mandaragit Silent Running: My Years on a World War II Attack Submarine The Gadget My Uncle Napoleon The Best War Ever Force 10 From Navarone Ryhmy ja Romppainen The Caine Mutiny Våre falne 1939–1945 Bodyguard of Lies The Berlin Raids The Short, Strange Life of Herschel Grynszpan The Phoenix Tree GI Brides The Night Watch The Night in Lisbon The Minister and the Massacres Tales of the South Pacific History They Used Dark Forces Jacob the Liar Partisans Fielding Gray The Two-Ocean War Stalingrad Ghost Stations Brute Force Panzer Leader The Kommandant's Girl Appointment with Venus Gravity's Rainbow Day of Deceit The Man with the Iron Heart The Patriotic Traitors The Saint in Miami The Key to Rebecca The Long Holiday No Less Than Victory The Deceivers: Allied Military Deception in the Second World War The Guns of Navarone The Cannibal The Gift of Rain Elephant Run Shining Through Postcards from No Man's Land A Good Clean Fight The Sweetheart of the Templar From the Valley of Rephaim The Singapore Grip Stones from the River The World at Night The White Pearl War of the Rats A Season in Sinji Cry Slaughter! The Cruise of the Breadwinner Once An Eagle Loving Winter in Wartime Goodnight Mister Tom The Years of Extermination: Nazi Germany and the Jews, 1939-1945 I Had Seen Castles The Rhinemann Exchange Hart's War The Legion of the Damned Without Seeing the Dawn The Exeter Blitz The Charioteer The Big War The Pork Butcher SS-GB Red Randall Series In My Brother's Shadow Normance Wandering Star Storm Warning Boy at War The Kindly Ones Day Blood, Tears and Folly: An Objective Look at World War II The Forger Devil's Guard Kingdom of Shadows Focus The Snow Goose: A Story of Dunkirk Four Steps to Death Tamar The Devil's Voyage Eyes of the Emperor Billy the Kid Die Brücke M-Day Sugat ng Alaala Transit Visa The Piano Teacher Bartholomew Bandy Glide Path If He Hollers Let Him Go Out of the Shelter Collaboration: Japanese Agents and Local Elites in Wartime China The Pope's Jews: The Vatican's Secret Plan to Save Jews from the Nazis Hailstorm Over Truk Lagoon A Moment in Time Norsk fangeleksikon. Grinifangene Battle Hymn of China Death in the City of Light: The Serial Killer of Nazi-Occupied Paris A Glorious Way to Die The Kaiser's Last Kiss The Starr Affair The Wehrmacht War Crimes Bureau, 1939-1945 Colour Scheme Misha: A Mémoire of the Holocaust Years Victims of Yalta Blitzcat The Polish Officer The Assisi Underground The Jesus Factor A Special Providence Jewels Fighter: The True Story of the Battle of Britain The House of Sixty Fathers Auschwitz Report Spies The Origins of the Second World War Bomber Aircrew in World War II The Teahouse of the August Moon The Jukebox Queen of Malta The Cookcamp Back More Than Conquerors Daniel Half Human The Collapse of the Third Republic Churchill, Hitler and the Unnecessary War Dark Palace The Beardless Warriors The Far Reaches Resistance
454
action count
action union
action filter_type
action find_reverse
entity World War II
relation main subject
type collectable
action filter_type
action find_reverse
entity The Resistance
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'World War II'] [{'concept': 'collectable'}, 'main subject', 'The Resistance']
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:main_subject ?l . VALUES ( ?l ) { ( resource:World_War_II ) ( resource:The_Resistance ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4812972 Q6783642
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Mason Welch Gross or are Atdash a part of ?
OR((Q6783642,P27,c(Q15617994)), (Q4812972,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6783642
relation P27
action find
entity Q4812972
relation P17
type Q15617994
{'OR': [['Q6783642', 'P27', {'concept': 'Q15617994'}], ['Q4812972', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q6783642 property:P27 ?v } UNION { resource:Q4812972 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Atdash Mason Welch Gross
action filter_type
action union
action find
entity Mason Welch Gross
relation country of citizenship
action find
entity Atdash
relation country
type designation for an administrative territorial entity
{'OR': [['Mason Welch Gross', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Atdash', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Mason_Welch_Gross property:country_of_citizenship ?v } UNION { resource:Atdash property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q399
SYSTEM
United States of America, Armenia
Q30 Q399
OR((Q6783642,P27,c(Q15617994)), (Q4812972,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6783642
relation P27
action find
entity Q4812972
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of Mason Welch Gross or are Atdash a part of
{'OR': [['Q6783642', 'P27', {'concept': 'Q15617994'}], ['Q4812972', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q6783642 property:P27 ?v } UNION { resource:Q4812972 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
United States of America Armenia
United States of America and Armenia are the countries of citizenship of Mason Welch Gross or are Atdash a part of
United States of America Armenia
action filter_type
action union
action find
entity Mason Welch Gross
relation country of citizenship
action find
entity Atdash
relation country
type designation for an administrative territorial entity
{'OR': [['Mason Welch Gross', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Atdash', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Mason_Welch_Gross property:country_of_citizenship ?v } UNION { resource:Atdash property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with atleast 87 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 87
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?p ) WHERE { ?l property:P530 ?m . ?l rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?p >= 87 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 87
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?p ) WHERE { ?l property:diplomatic_relation ?m . ?l rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?p >= 87 ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 87
[ANSWERS] have diplomatic relationships with atleast 87 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?p ) WHERE { ?l property:P530 ?m . ?l rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?p >= 87 ) }
Germany Australia
Germany and Australia have diplomatic relationships with atleast 87 administrative territories
Germany Australia
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 87
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?p ) WHERE { ?l property:diplomatic_relation ?m . ?l rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?p >= 87 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q183 Q408
P1001
Q1292279
USER
Which political borders have control over the jurisdiction of those political territories ?
(c(Q1292279),P1001,Q183) (c(Q1292279),P1001,Q408)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q1292279
[{'concept': 'Q1292279'}, 'P1001', 'Q183'] [{'concept': 'Q1292279'}, 'P1001', 'Q408']
SELECT DISTINCT ?n WHERE { ?n property:P1001 ?f . ?n rdf:type ontology:Q1292279 . VALUES ( ?f ) { ( resource:Q183 ) ( resource:Q408 ) } }
Germany Australia
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'political border'}, 'applies to jurisdiction', 'Australia']
SELECT DISTINCT ?n WHERE { ?n property:applies_to_jurisdiction ?f . ?n rdf:type ontology:political_border . VALUES ( ?f ) { ( resource:Germany ) ( resource:Australia ) } }
[]
political border
Q3088733 Q1991225 Q3088698
SYSTEM
Australia–France border, France–Germany border, Belgium–Germany border
Q3088708 Q1991225 Q2422197 Q15214996 Q1991986 Q2457112 Q1991810 Q16025205 Q16025247 Q3088698 Q17351710 Q17351708 Q17351709 Q16024884 Q3088733 Q17351707
(c(Q1292279),P1001,Q183) (c(Q1292279),P1001,Q408)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q1292279
[ANSWERS] have control over the jurisdiction of those political territories
[{'concept': 'Q1292279'}, 'P1001', 'Q183'] [{'concept': 'Q1292279'}, 'P1001', 'Q408']
SELECT DISTINCT ?n WHERE { ?n property:P1001 ?f . ?n rdf:type ontology:Q1292279 . VALUES ( ?f ) { ( resource:Q183 ) ( resource:Q408 ) } }
Germany–Luxembourg border France–Germany border Denmark–Germany border Germany–Poland border Austria–Germany border Czech Republic–Germany border Germany–Switzerland border Germany–United Kingdom border Germany–Sweden border Belgium–Germany border Australia–Solomon Islands border Australia–Indonesia border Australia–New Zealand border Australia–Papua New Guinea border Australia–France border Australia–East Timor border
Australia–France border, France–Germany border and Belgium–Germany border have control over the jurisdiction of those political territories
Australia–France border France–Germany border Belgium–Germany border
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'political border'}, 'applies to jurisdiction', 'Australia']
SELECT DISTINCT ?n WHERE { ?n property:applies_to_jurisdiction ?f . ?n rdf:type ontology:political_border . VALUES ( ?f ) { ( resource:Germany ) ( resource:Australia ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1991225
P706
Q355304
USER
Which watercourse is that political border located on ?
(Q1991225,P706,c(Q355304))
action filter_type
action find
entity Q1991225
relation P706
type Q355304
['Q1991225', 'P706', {'concept': 'Q355304'}]
SELECT DISTINCT ?g WHERE { resource:Q1991225 property:P706 ?g . ?g rdf:type ontology:Q355304 }
France–Germany border
action filter_type
action find
entity France–Germany border
relation located on terrain feature
type watercourse
['France–Germany border', 'located on terrain feature', {'concept': 'watercourse'}]
SELECT DISTINCT ?g WHERE { resource:France–Germany_border property:located_on_terrain_feature ?g . ?g rdf:type ontology:watercourse }
[]
watercourse
Clarification for simple ques.
Q3088698
SYSTEM
Did you mean Belgium–Germany border ?
Q3088733 Q1991225 Q3088698
(Q3088733,P706,c(Q355304)) (Q1991225,P706,c(Q355304)) (Q3088698,P706,c(Q355304))
[ANSWER]
['Q3088733', 'P706', {'concept': 'Q355304'}] ['Q1991225', 'P706', {'concept': 'Q355304'}] ['Q3088698', 'P706', {'concept': 'Q355304'}]
SELECT DISTINCT ?g WHERE { resource:Q1991225 property:P706 ?g . ?g rdf:type ontology:Q355304 }
Australia–France border France–Germany border Belgium–Germany border
Did you mean Belgium–Germany border ?
Belgium–Germany border
['Australia–France border', 'located on terrain feature', {'concept': 'watercourse'}] ['France–Germany border', 'located on terrain feature', {'concept': 'watercourse'}] ['Belgium–Germany border', 'located on terrain feature', {'concept': 'watercourse'}]
SELECT DISTINCT ?g WHERE { resource:France–Germany_border property:located_on_terrain_feature ?g . ?g rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
USER
No, I meant France–Germany border. Could you tell me the answer for that?
(Q1991225,P706,c(Q355304))
Q1991225
['Q1991225', 'P706', {'concept': 'Q355304'}]
['France–Germany border', 'located on terrain feature', {'concept': 'watercourse'}]
[]
Q584
SYSTEM
Rhine
Q584
(Q1991225,P706,c(Q355304))
action filter_type
action find
entity Q1991225
relation P706
type Q355304
That political border is located under [ANSWER]
['Q1991225', 'P706', {'concept': 'Q355304'}]
SELECT DISTINCT ?g WHERE { resource:Q1991225 property:P706 ?g . ?g rdf:type ontology:Q355304 }
Rhine
That political border is located under Rhine
Rhine
action filter_type
action find
entity France–Germany border
relation located on terrain feature
type watercourse
['France–Germany border', 'located on terrain feature', {'concept': 'watercourse'}]
SELECT DISTINCT ?g WHERE { resource:France–Germany_border property:located_on_terrain_feature ?g . ?g rdf:type ontology:watercourse }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q97 Q584
P206
Q56061
USER
Which administrative territories are located next to Rhine or Atlantic Ocean ?
OR((c(Q56061),P206,Q584), (c(Q56061),P206,Q97))
action filter_type
action union
action find_reverse
entity Q584
relation P206
action find_reverse
entity Q97
relation P206
type Q56061
{'OR': [[{'concept': 'Q56061'}, 'P206', 'Q584'], [{'concept': 'Q56061'}, 'P206', 'Q97']]}
SELECT DISTINCT ?q WHERE { { { ?q property:P206 resource:Q584 } UNION { ?q property:P206 resource:Q97 } } . ?q rdf:type ontology:Q56061 }
Atlantic Ocean Rhine
action filter_type
action union
action find_reverse
entity Rhine
relation located next to body of water
action find_reverse
entity Atlantic Ocean
relation located next to body of water
type administrative territorial entity
{'OR': [[{'concept': 'administrative territorial entity'}, 'located next to body of water', 'Rhine'], [{'concept': 'administrative territorial entity'}, 'located next to body of water', 'Atlantic Ocean']]}
SELECT DISTINCT ?q WHERE { { { ?q property:located_next_to_body_of_water resource:Rhine } UNION { ?q property:located_next_to_body_of_water resource:Atlantic_Ocean } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q7823825 Q54898 Q3726 Q647543 Q3688 Q1040 Q3897 Q622030 Q5813 Q3718
SYSTEM
Some of them are Too Good Arm, San Cristóbal de La Laguna, Banjul, Arrecife, Nouakchott, Karlsruhe, Luanda, Palos de la Frontera, Canary Islands, Dakar
Q3718 Q12246 Q3761 Q3748 Q222702 Q8745 Q365 Q216939 Q5813 Q622030 Q10717 Q11974 Q36433 Q767357 Q187251 Q14328 Q208337 Q941967 Q1040 Q1718 Q3733 Q986079 Q3551 Q3897 Q997407 Q2467 Q57006 Q54898 Q586 Q651997 Q2482545 Q3001 Q8757 Q736906 Q3561 Q7823825 Q1764 Q3780 Q466046 Q5465 Q15682 Q1732099 Q6751200 Q3688 Q3726 Q647543 Q791602 Q60 Q49149
OR((c(Q56061),P206,Q584), (c(Q56061),P206,Q97))
action filter_type
action union
action find_reverse
entity Q584
relation P206
action find_reverse
entity Q97
relation P206
type Q56061
[ANSWERS] are located next to Rhine or Atlantic Ocean
{'OR': [[{'concept': 'Q56061'}, 'P206', 'Q584'], [{'concept': 'Q56061'}, 'P206', 'Q97']]}
SELECT DISTINCT ?q WHERE { { { ?q property:P206 resource:Q584 } UNION { ?q property:P206 resource:Q97 } } . ?q rdf:type ontology:Q56061 }
Dakar Huelva Accra Monrovia Tarifa Vigo Cologne Essaouira Canary Islands Palos de la Frontera Georgetown Las Palmas de Gran Canaria Porto Caravela Vestmannaeyjar Santa Cruz de Tenerife Koltur Peniche Karlsruhe Düsseldorf Conakry Castro Marim Municipality Rabat Luanda Bubaque Nassau Emmerich am Rhein San Cristóbal de La Laguna Bonn Alcobaça, Portugal Tortuguero Paramaribo A Coruña Almonte Algiers Too Good Arm Reykjavík Freetown Salé Cape Town Cádiz Twillingate Manoka Nouakchott Banjul Arrecife Awala-Yalimapo New York City Nantucket
Too Good Arm, San Cristóbal de La Laguna, Banjul, Arrecife, Nouakchott, Karlsruhe, Luanda, Palos de la Frontera, Canary Islands and Dakar are located next to Rhine or Atlantic Ocean
Too Good Arm San Cristóbal de La Laguna Banjul Arrecife Nouakchott Karlsruhe Luanda Palos de la Frontera Canary Islands Dakar
action filter_type
action union
action find_reverse
entity Rhine
relation located next to body of water
action find_reverse
entity Atlantic Ocean
relation located next to body of water
type administrative territorial entity
{'OR': [[{'concept': 'administrative territorial entity'}, 'located next to body of water', 'Rhine'], [{'concept': 'administrative territorial entity'}, 'located next to body of water', 'Atlantic Ocean']]}
SELECT DISTINCT ?q WHERE { { { ?q property:located_next_to_body_of_water resource:Rhine } UNION { ?q property:located_next_to_body_of_water resource:Atlantic_Ocean } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P607
Q198 Q2235308 Q502895
USER
How many wars was approximately 23023 ship types or people a part of ?
(c(Q2235308)|c(Q502895),P607,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P607
type Q198
type Q2235308
action find_reverse_tuple_counts
relation P607
type Q198
type Q502895
value 23023
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?d ) WHERE { { ?n rdf:type ontology:Q502895 . ?f rdf:type ontology:Q198 . ?n property:P607 ?f } UNION { ?n property:P607 ?f . ?n rdf:type ontology:Q2235308 . ?f rdf:type ontology:Q198 } } GROUP BY ?f } . FILTER ( ?d = 23023 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation conflict
type war
type ship type
action find_reverse_tuple_counts
relation conflict
type war
type common name
value 23023
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?d ) WHERE { { ?n rdf:type ontology:common_name . ?f rdf:type ontology:war . ?n property:conflict ?f } UNION { ?n property:conflict ?f . ?n rdf:type ontology:ship_type . ?f rdf:type ontology:war } } GROUP BY ?f } . FILTER ( ?d = 23023 ) }
[]
war ship type common name
SYSTEM
2
Q362 Q361
(c(Q2235308)|c(Q502895),P607,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P607
type Q198
type Q2235308
action find_reverse_tuple_counts
relation P607
type Q198
type Q502895
value 23023
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?d ) WHERE { { ?n rdf:type ontology:Q502895 . ?f rdf:type ontology:Q198 . ?n property:P607 ?f } UNION { ?n property:P607 ?f . ?n rdf:type ontology:Q2235308 . ?f rdf:type ontology:Q198 } } GROUP BY ?f } . FILTER ( ?d = 23023 ) }
World War II World War I
2
action count
action approx
action union
action find_reverse_tuple_counts
relation conflict
type war
type ship type
action find_reverse_tuple_counts
relation conflict
type war
type common name
value 23023
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?d ) WHERE { { ?n rdf:type ontology:common_name . ?f rdf:type ontology:war . ?n property:conflict ?f } UNION { ?n property:conflict ?f . ?n rdf:type ontology:ship_type . ?f rdf:type ontology:war } } GROUP BY ?f } . FILTER ( ?d = 23023 ) }
[]