Simple Question (Direct)
Simple Question
Q3379983
P21
Q290
USER
Which sex does Philippe Guénin belong to ?
(Q3379983,P21,c(Q290))
action filter_type
action find
entity Q3379983
relation P21
type Q290
['Q3379983', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q3379983 property:P21 ?d }
Philippe Guénin
action filter_type
action find
entity Philippe Guénin
relation gender
type sex
['Philippe Guénin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Philippe_Guénin property:gender ?d }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3379983,P21,c(Q290))
action filter_type
action find
entity Q3379983
relation P21
type Q290
Philippe Guénin belongs to [ANSWER]
['Q3379983', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q3379983 property:P21 ?d }
male
Philippe Guénin belongs to male
male
action filter_type
action find
entity Philippe Guénin
relation gender
type sex
['Philippe Guénin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Philippe_Guénin property:gender ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3379983
P19
Q56061
USER
Which administrative territory was Philippe Guénin born at ?
(Q3379983,P19,c(Q56061))
action filter_type
action find
entity Q3379983
relation P19
type Q56061
['Q3379983', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3379983 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Philippe Guénin
action filter_type
action find
entity Philippe Guénin
relation place of birth
type administrative territorial entity
['Philippe Guénin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Philippe_Guénin property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3379983,P19,c(Q56061))
action filter_type
action find
entity Q3379983
relation P19
type Q56061
Philippe Guénin was born in [ANSWER]
['Q3379983', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3379983 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Paris
Philippe Guénin was born in Paris
Paris
action filter_type
action find
entity Philippe Guénin
relation place of birth
type administrative territorial entity
['Philippe Guénin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Philippe_Guénin property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3379983
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q90,P106,c(Q12737077))
action filter_type
action find
entity Q3379983
relation P106
type Q12737077
['Q90', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q3379983 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Philippe Guénin
action filter_type
action find
entity Philippe Guénin
relation occupation
type occupation
['Paris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Philippe_Guénin property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q2490358 Q33231 Q49757
SYSTEM
choreographer, photographer, poet
Q2490358 Q33231 Q49757
(Q90,P106,c(Q12737077))
action filter_type
action find
entity Q3379983
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q90', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q3379983 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
choreographer photographer poet
The professions of that person are choreographer, photographer and poet
choreographer photographer poet
action filter_type
action find
entity Philippe Guénin
relation occupation
type occupation
['Paris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Philippe_Guénin property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P921
Q12737077 Q732577 Q838948
USER
Which occupations were the main subjects of max number of publications or works of art 's work ?
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:P921 ?h . ?h rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q732577 } UNION { ?h rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q838948 . ?a property:P921 ?h } } GROUP BY ?h } } . FILTER ( ?b = ?q ) . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?b ) WHERE { { ?x property:P921 ?f . ?f rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q732577 } UNION { ?f rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q838948 . ?x property:P921 ?f } } GROUP BY ?f } }
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:main_subject ?h . ?h rdf:type ontology:occupation . ?a rdf:type ontology:publication } UNION { ?h rdf:type ontology:occupation . ?a rdf:type ontology:work_of_art . ?a property:main_subject ?h } } GROUP BY ?h } } . FILTER ( ?b = ?q ) . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?b ) WHERE { { ?x property:main_subject ?f . ?f rdf:type ontology:occupation . ?x rdf:type ontology:publication } UNION { ?f rdf:type ontology:occupation . ?x rdf:type ontology:work_of_art . ?x property:main_subject ?f } } GROUP BY ?f } }
[]
occupation publication work of art
Q9402
SYSTEM
ninja
Q9402
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
[ANSWER] was the main subjects of max number of publications or works of art 's work
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:P921 ?h . ?h rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q732577 } UNION { ?h rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q838948 . ?a property:P921 ?h } } GROUP BY ?h } } . FILTER ( ?b = ?q ) . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?b ) WHERE { { ?x property:P921 ?f . ?f rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q732577 } UNION { ?f rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q838948 . ?x property:P921 ?f } } GROUP BY ?f } }
ninja
Ninja was the main subjects of max number of publications or works of art 's work
ninja
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:main_subject ?h . ?h rdf:type ontology:occupation . ?a rdf:type ontology:publication } UNION { ?h rdf:type ontology:occupation . ?a rdf:type ontology:work_of_art . ?a property:main_subject ?h } } GROUP BY ?h } } . FILTER ( ?b = ?q ) . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?b ) WHERE { { ?x property:main_subject ?f . ?f rdf:type ontology:occupation . ?x rdf:type ontology:publication } UNION { ?f rdf:type ontology:occupation . ?x rdf:type ontology:work_of_art . ?x property:main_subject ?f } } GROUP BY ?f } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49757
P425
Q1792379
USER
Who is associated with the field of occupation poet ?
(Q49757,P425,c(Q1792379))
action filter_type
action find
entity Q49757
relation P425
type Q1792379
['Q49757', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?a WHERE { resource:Q49757 property:P425 ?a . ?a rdf:type ontology:Q1792379 }
poet
action filter_type
action find
entity poet
relation field of this occupation
type art genre
['poet', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?a WHERE { resource:poet property:field_of_this_occupation ?a . ?a rdf:type ontology:art_genre }
[]
art genre
Q482
SYSTEM
poetry
Q482
(Q49757,P425,c(Q1792379))
action filter_type
action find
entity Q49757
relation P425
type Q1792379
[ANSWER] is associated with the field of occupation poet
['Q49757', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?a WHERE { resource:Q49757 property:P425 ?a . ?a rdf:type ontology:Q1792379 }
poetry
Poetry is associated with the field of occupation poet
poetry
action filter_type
action find
entity poet
relation field of this occupation
type art genre
['poet', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?a WHERE { resource:poet property:field_of_this_occupation ?a . ?a rdf:type ontology:art_genre }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q864380
Q1792379
USER
And what about biographer?
(Q864380,P425,c(Q1792379))
action filter_type
action find
entity Q864380
relation P425
type Q1792379
['Q864380', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1792379 . resource:Q864380 property:P425 ?p }
biographer
action filter_type
action find
entity biographer
relation field of this occupation
type art genre
['biographer', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:art_genre . resource:biographer property:field_of_this_occupation ?p }
[]
art genre
Q36279
SYSTEM
biography
Q36279
(Q864380,P425,c(Q1792379))
action filter_type
action find
entity Q864380
relation P425
type Q1792379
[ANSWER]
['Q864380', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1792379 . resource:Q864380 property:P425 ?p }
biography
biography
action filter_type
action find
entity biographer
relation field of this occupation
type art genre
['biographer', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:art_genre . resource:biographer property:field_of_this_occupation ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P136
Q2342494
USER
How many collectables have that art genre as their category ?
(c(Q2342494),P136,Q36279)
action count
action filter_type
action find_reverse
entity Q36279
relation P136
type Q2342494
[{'concept': 'Q2342494'}, 'P136', 'Q36279']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:P136 resource:Q36279 . ?n rdf:type ontology:Q2342494 }
action count
action filter_type
action find_reverse
entity biography
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'biography']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:genre resource:biography . ?n rdf:type ontology:collectable }
[]
collectable
SYSTEM
389
Q6618986 Q5223469 Q4768350 Q2743592 Q6810907 Q1053921 Q11109546 Q7285155 Q5372505 Q11397827 Q14613462 Q7745750 Q8000289 Q7574348 Q7859061 Q6188059 Q16823397 Q7908918 Q20565345 Q1225196 Q4669004 Q19801748 Q19598211 Q22950497 Q6728359 Q6728357 Q4745233 Q6072278 Q5917398 Q7971636 Q18583604 Q7717625 Q16848633 Q7771908 Q19799208 Q5069632 Q24357637 Q16169047 Q18208324 Q2543777 Q19889137 Q13883272 Q1235125 Q7732895 Q1218644 Q5306318 Q6001788 Q21065374 Q21685937 Q7730001 Q23894062 Q7490692 Q8048923 Q4657348 Q7747166 Q3431232 Q7716121 Q7716120 Q7747467 Q3661792 Q7805238 Q26822195 Q4772178 Q7853473 Q7853472 Q4106458 Q15727076 Q19845002 Q20557347 Q17111622 Q8039491 Q6464597 Q7729597 Q5306564 Q7993197 Q15955936 Q16934418 Q7748420 Q531697 Q16873174 Q4860264 Q6414645 Q19768346 Q20567956 Q18787900 Q16952544 Q27134398 Q3778925 Q3371916 Q26707926 Q6749403 Q1137044 Q4927541 Q5773234 Q7748631 Q3001981 Q2160347 Q20895900 Q10543735 Q7283590 Q16826677 Q7559459 Q6753570 Q19799352 Q22299112 Q20568454 Q7236584 Q19343612 Q3707670 Q4929424 Q19303449 Q4858131 Q23646073 Q16885704 Q4718557 Q185705 Q4920280 Q5464762 Q7786440 Q7363372 Q7737966 Q7684465 Q20744376 Q7744388 Q16851531 Q25858723 Q24357762 Q7734218 Q1613338 Q5453247 Q2915054 Q22712257 Q7282850 Q4010445 Q20566646 Q16843322 Q20895919 Q7100379 Q3557273 Q7142785 Q7755184 Q5693487 Q6728361 Q7747203 Q24977021 Q5049102 Q6437543 Q6437544 Q5422224 Q6372065 Q22075087 Q5238170 Q3505857 Q18155588 Q3039640 Q5539115 Q6012858 Q25859265 Q7738901 Q7847688 Q18155594 Q1059846 Q4655723 Q5503242 Q5503243 Q20220056 Q5365728 Q20568248 Q2534271 Q7616993 Q18398416 Q24037233 Q5247562 Q27431296 Q4752722 Q20567382 Q16738858 Q206795 Q785387 Q7883342 Q6267790 Q21045609 Q20564423 Q24037245 Q3404825 Q20566594 Q4744367 Q20502022 Q3614731 Q1761516 Q15732405 Q6742719 Q5918648 Q4656350 Q23307978 Q7755057 Q16335830 Q6753601 Q6889978 Q6412352 Q20564431 Q7749724 Q1024256 Q3540794 Q7655707 Q7739793 Q4691905 Q3222137 Q3794585 Q20567223 Q6545250 Q7752996 Q7752033 Q19954470 Q11487883 Q22682055 Q23675256 Q6117331 Q16146351 Q7090904 Q7993318 Q5773230 Q7774552 Q15303594 Q20895952 Q2283753 Q6938108 Q3735240 Q7918001 Q19605617 Q1124669 Q7759247 Q7751482 Q21857267 Q5612068 Q20036800 Q24039561 Q7757917 Q18786479 Q7366254 Q20561040 Q11884537 Q7731121 Q7745997 Q5114060 Q5278479 Q6509929 Q5403239 Q636494 Q7756264 Q16386381 Q807736 Q4744748 Q19320790 Q16828947 Q7765949 Q25991166 Q5303961 Q8065806 Q5769037 Q5370324 Q20566783 Q6166075 Q7422022 Q10661018 Q4189975 Q16382534 Q18217395 Q7774522 Q19971920 Q625645 Q3818805 Q6692045 Q4927432 Q19690329 Q7152309 Q16385141 Q7613268 Q5245110 Q3340776 Q4967307 Q19981883 Q15411099 Q19902670 Q4945165 Q20567545 Q19517271 Q3080389 Q15411085 Q19902820 Q2756053 Q21480329 Q5771981 Q2977762 Q8038554 Q8020241 Q19772430 Q24255872 Q16989239 Q18389865 Q7766959 Q4884839 Q6965020 Q7983383 Q6875222 Q932888 Q15411091 Q20567110 Q5967472 Q20568682 Q20895908 Q3388741 Q23197772 Q7462788 Q7262292 Q7232328 Q5245641 Q3944848 Q4858129 Q4659755 Q525738 Q16530195 Q3235389 Q8009886 Q7732470 Q7714945 Q12217749 Q11893689 Q18151511 Q1767499 Q19517128 Q27544 Q6314550 Q8058466 Q5073224 Q7751694 Q4890607 Q1088913 Q17180572 Q6287043 Q7597246 Q7756308 Q5967419 Q19835531 Q2923960 Q2657313 Q3232283 Q26961654 Q19588619 Q6728788 Q4172545 Q7750740 Q17286909 Q92556 Q20568718 Q7730344 Q5871811 Q20593137 Q5194880 Q7752673 Q5831866 Q5374156 Q6760436 Q6912656 Q3184958 Q16163880 Q3115944 Q21127241 Q6990496 Q16873228 Q7766818 Q7074604 Q3992462 Q617600 Q7257634 Q23673864 Q19944777 Q20564936 Q24346582 Q17019082 Q4826164 Q6526117 Q7732510 Q20719613 Q3273550 Q18348276 Q6705268 Q25809299 Q18574712
(c(Q2342494),P136,Q36279)
action count
action filter_type
action find_reverse
entity Q36279
relation P136
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P136', 'Q36279']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:P136 resource:Q36279 . ?n rdf:type ontology:Q2342494 }
The Autobiography of Alice B. Toklas Dark Valley Destiny Anne Frank: The Biography Surely You're Joking, Mr. Feynman! Tabaqat al-Hanabilah The Second Coming of Steve Jobs My_Brother_(book) Raising My Voice Eminent Victorians Zenken Kojitsu Hana's Suitcase The Last Eunuch of China-The Life of Sun Yaoting Wilco: Learning How to Die Speaking of Jane Roberts Two Lives Jesus: A Portrait The Black Count: Glory, Revolution, Betrayal, and the Real Count of Monte Cristo Vaja-Pshavela Edward Williams Llangefni 1906-1992 Life of Apollonius of Tyana Abraham Lincoln Becoming Steve Jobs The World of Aldus Manutius The past and present of Vermilion County, Illinois Madonna: Like an Icon Madonna: An Intimate Biography American Terrorist Iron & Silk How Angel Peterson Got His Name Washington: A Life The Life of Captain Matthew Flinders, R.N. The Big Fellow Iron Man: The Defiant Reign of Jean Chrétien The Valachi Papers The True Benjamin Franklin Chambers Biographical Dictionary Miltoner Jiban Charit Lives of Flemish, German, and Dutch painters John Keats: The Making of a Poet Wiseguy An t-Oileánach Un officier français : Gérard de Cathelineau Into the Wild The Extraordinary Life of The Last Emperor of China The Life of Samuel Johnson Dream Brother: The Lives and Music of Jeff and Tim Buckley Im Dienst des Diktators Mémoires de Monsieur d'Artagnan The Hornet's sting The Devil and Sonny Liston Fustel de Coulanges Shattered Yanoama A History of the Life and Voyages of Christopher Columbus The Life and Work of Sigmund Freud Richard Stallman and the Free Software Revolution The Beatles: The Fab Four Who Dominated Pop Music for a Decade The Beatles: The Biography The Lion, the Fox & the Eagle Casino: Love and Honor in Las Vegas Time and Chance: an Autobiography Shackleton Anthony Burgess: A Life Tupac Shakur Legacy Tupac Remembered Great Economists since Keynes The ABC of Castro Alves Citizens and minstermen : a who's who of York City FC, 1922-1997 100 Great Welsh Women Invincible Louisa Wyatt Earp: Frontier Marshal La Presidenta The Definitive Biography of P.D.Q. Bach Dreamer of Dune: The Biography of Frank Herbert Where Dead Voices Gather The Lives of Dutch painters and paintresses The Polyester Prince The Lord Historia Roderici Nelson Mandela: A Biography Bare-faced Messiah Kipling Sahib Who's who in Pennsylvania: A Biographical Dictionary of Contemporaries Owen Gethin Jones - Ei Fywyd a'i Feiau The Real Jane Austen: A Life in Small Things Crazy Town: The Rob Ford Story Season of rage: Hugh Burnett and the struggle for civil rights Sadako and the Thousand Paper Cranes ephemeral Paul Boyer de Bouillane et son fils Henry Mani Madhaveeyam Count Belisarius Blood & Thunder: The Life & Art of Robert E. Howard Historia de San Martín y de la emancipación sudamericana The Lost Generation The Gospel of Filth John Adams Elizabeth and Essex Karl XII's officerare: biografiska anteckningar Rahul Dravid: Timeless Steel Chrétien: The Will to Win Some Notes on H. P. Lovecraft Mao: A Reinterpretation The True William Penn Johannes V. Jensen W. Ambrose Bebb 1884-1955 Power on Earth A Biographical Sketch Logical Dilemmas. The Life and Work of Kurt Gödel Blue Melody:Tim Buckley Remembered Journal of Dr. John Morgan of Philadelphia Barack and Michelle William Blake A Singular Woman General Biographical Dictionary Just for Fun Black Apollo of Science: The Life of Ernest Everett Just Follow the Rabbit-Proof Fence This is Orson Welles Romulus, My Father The Great Theatre of Dutch Painters Tapasa vai Ganga Admiral Phillip The Killing of Tupac Shakur Jonestown: The Power and the Myth of Alan Jones American Medical Biography Rai Dinabandhu Mitra Bahadurer Jibani The First Tycoon: The Epic Life of Cornelius Vanderbilt Memories, Dreams, Reflections First Man: The Life of Neil A. Armstrong Sybil Lebens-geschichte herrn Rudolph Siegfried Allemanns Rage Against the Veil The Life and Times of the Thunderbolt Kid T. Rowland Hughes 1903-1949 A Life too Short Alan Turing: The Enigma of Intelligence Ordeal Desert Flower Passions of the Mind The Open Road: The Global Journey of the Fourteenth Dalai Lama Heath Ledger: His Beautiful Life and Mysterious Death Madonna The Life of Percy Bysshe Shelley Finding Me: A Decade of Darkness, a Life Reclaimed Casper the Commuting Cat Krishnamurti: The Years of Awakening Krishnamurti: The Years of Fulfilment Extraordinary Canadians: Marshall McLuhan Karl Marx: His Life and Thought Don't All Thank Me At Once David O. McKay and the Rise of Modern Mormonism Charles Bukowski: Locked in the Arms of a Crazy Life W. E. B. Du Bois: Biography of a Race, 1868–1919 Droit d'inventaires George F. Kennan: An American Life In the Shadow of Greatness Princes of Ireland, planters of Maryland: a Carroll saga, 1500-1782 The Hare with Amber Eyes Truman W. E. B. Du Bois: The Fight for Equality and the American Century 1919–1963 Red Star Over China A Captive Lion Freud: The Mind of the Moralist Freud: A Life for Our Time In God's Acre Elliott Smith and the Big Nothing Thomas William Bethesda'r Fro The Rise of Theodore Roosevelt Still, the Scraps of Prison A Spy Among Friends: Kim Philby and the Great Betrayal Alvin York: A New Biography of the Hero of the Argonne Death of a Dissident Among the Chosen: the Life Story of Pat Giles Bruce Lee: The Man Only I Knew Writers of Wales: Kate Roberts Titian: His Life Profiles in Courage The Real Frank Zappa Book Under the Mat: Inside Wrestling's Greatest Family Johnny Thunders...In Cold Blood My sister Henrietta David Lloyd George - The Great Outsider The Loudest Voice in the Room Black Elk Speaks Syr John Williams American Lion All for the Boss Amy, My Daughter Wired Mao: A Life Malcolm X: A Life of Reinvention How to Live A Deadly Secret: The Strange Disappearance of Kathie Durst Mahomet and His Successors The One That Got Away Le vite de' pittori, scultori et architetti moderni Mao Tse-tung: Ruler of Red China Moe Howard and the Three Stooges King of the Jews David Lloyd George 1863-1945 The Making of a Teacher Lady Gaga: Queen of Pop Trotsky: A Biography Sweethearts: The Timeless Love Affair Onscreen and Off Between Jeanette MacDonald and Nelson Eddy The History of Joseph Smith by His Mother Age of Secrets The Last Dalai Lama Hammer of the Gods Tom Jones - The Biography Life of William Blake The N Word: One Man's Stand The Monkees: The Day-by-Day Story of the 60s TV Pop Sensation Goebbels: A Biography Gyoei : Kikuchi Kan to Sasaki Mosaku Marie von Clausewitz: The Woman Behind the Making of On War George Gershwin: His Life and Work Jackson Pollock: An American Saga Bono: In Conversation With Michka Assayas On Ayn Rand Where Men Win Glory: The Odyssey of Pat Tillman Historia de Belgrano y de la Independencia Argentina The White Rabbit Sedition and Alchemy: A Biography of John Cale Alan M. Turing Het Gulden Cabinet Murder of a Mafia Daughter Midnight Express Vedmurti Taponishth SriRam Sharma Acharya Making Waves: Irving Dardik and His Superwave Principle A Tale of Love and Darkness The Radium Woman The Millionaire's Wife Eminent Victorians Grumpy's Toys The Black Prince Hema Malini - Diva Unveiled The Power Broker 41: A Portrait of My Father Room Full of Mirrors: A Biography of Jimi Hendrix Brenhines Powys - Dora Herbert Jones a Byd yr Alaw Werin Nimismiehen kiharat The Duchess of Windsor The Last Save of Moacyr Barbosa Chronicles of Courage: Very Special Artists Dino Leap of Faith: Memoirs of an Unexpected Life Ethel and Ernest Archäologenbildnisse The Passion of Ayn Rand Introducing Kafka Facundo American Prometheus Dennis Brain: A Life in Music Darwin: The Life of a Tormented Evolutionist The Spirit of the Age Buez ann Duk a Vourdel Herri V Dr. America: The Lives of Thomas Dooley, 1927-1961 Zami: A New Spelling of My Name My Life Emeka Nansi Richards - Telynores Maldwyn Jawbreaker: The attack on bin Laden and al-Qaeda Sarah: How a Hockey Mom Turned Alaska's Political Establishment Upside Down Samuel August från Sevedstorp och Hanna i Hult Here Comes the Sun: The Spiritual and Musical Journey of George Harrison Jean-Pierre Laffont : correspondant étranger The Women of the Cousins' War The White Knight TJ : a life of Dr Thomas Jones Steve Jobs The Surgeon of Crowthorne Lovecraft: a Biography Blond Barbarians and Noble Savages From the cradle to the grave: a biography of Michael Joseph Savage Paul McCartney: Many Years from Now Bismarck: The Man and the Statesman Steve Marriott – All Too Beautiful... Dead By Sunset Nicolas Sarkozy Voodoo Manual Brigham Young: American Moses Life of Isaiah V. Williamson Fate trajectory Goodbye 20th Century: A Biography of Sonic Youth Boris: The Rise of Boris Johnson Lewis Morris Memoir of Isaac Parrish, M.D. King Leopold's Ghost The Gun that Changed the World Torment Saint: The Life of Elliott Smith Vita Hludovici Freddie Steinmark: Faith, Family, Football His Excellency: George Washington The Accidental Billionaires Written Lives William Wetmore Story and His Friends The New Theatre of Dutch Painters Rommel: The Desert Fox de Kooning: An American Master The Innovators: How a Group of Inventors, Hackers, Geniuses, and Geeks Created the Digital Revolution The Strangest Man Belushi: A Biography Napoleon Bonaparte: An Intimate Biography Werner Erhard Miscellaneous Writings Between a Rock and a Hard Place The Arms Designer Notes John Gwilym Jones - Cyfrol Deyrnged I, Tina William Edwards - Pensaer, Adeiladydd, Gweinidog Basil Street Blues Pink Floyd Antonio Stradivari: His Life and Work Shakespeare: The World as Stage Putin's Progress Portrait of a President Deadly Little Secrets saghe mentali Barack Obama: Der schwarze Kennedy A Spirit of Tolerance: The Inspiring Life of Tierno Bokar A General History of the Pyrates Kepler Mektig og avmektig: Tore Tønne, media og maktspillet bak kulissene William Gillette, America's Sherlock Holmes The Essential Gandhi The Authentic Life of Billy, the Kid Siyar A'lam al-Nubala Arise Sir Tom Jones Michael Jackson, Inc. A Beautiful Mind Biographical Memoir of John C. Otto, M. D. Mao: The Unknown Story Jupiter's Travels Young Trudeau: Son of Quebec, Father of Canada, 1919-1944 Chaplin: His Life and Art The Miscast Barbarian Free as in Freedom: Richard Stallman's Crusade for Free Software A Man Dr. Dre: The Biography Joseph Smith: Rough Stone Rolling Stalin: A Biography The Pastor's Wife I, Fatty Biographical sketch of George B. Wood, M.D. Brassens, au bois de son cœur, 30 ans de chansons The Secret Life of a Satanist Pictorum aliquot celebrium Germaniae inferioris effigies The life and times of Francis Cabot Lowell Alumni Oxonienses: the Members of the University of Oxford, 1715-1886 Madumo, A Man Bewitched A Bright Shining Lie The Mayor of Castro Street. The Life and Times of Harvey Milk What's Welsh for Zen: The Autobiography of John Cale J. R. R. Tolkien: A Biography William Williams Pantycelyn The Disney Version Hitchhiker: A Biography of Douglas Adams Edward Thomas Curly: An Illustrated Biography of the Superstooge The Murder of Biggie Smalls En 79 días. Vuelta al mundo en Vespa Empire State of Mind Marginalia Mormon Scientist: The Life and Faith of Henry Eyring miraveaux Churchill: The End of Glory Great Contemporaries The Lives of John Donne and George Herbert Nelson Eddy: The Opera Years On a Cold Road The Story of a Great Schoolmaster Obama: From Promise to Power Tom Cruise: All the World's a Stage Heavier Than Heaven Public Stunts Private Stories William Blake: A Study of His Life and Art Work A biographical dictionary of British architects Dr Thomas Richards - Hanesydd Piwritaniaeth ac Anghydffurfiaeth Gymreig Paohari Baba Shashi Bhusana Charitam Autobiography: Some Notes on a Nonentity Leonardo da Vinci: Flights of the Mind The Essential Shinran: A Buddhist Path of True Entrusting American political scientists My Dark Places Hanns and Rudolf Lust for Justice Notables of the West Alan Turing: The Enigma
389
action count
action filter_type
action find_reverse
entity biography
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'biography']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:genre resource:biography . ?n rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33231
P417
Q502895
USER
Who is the patron saint of photographer ?
(Q33231,P417,c(Q502895))
action filter_type
action find
entity Q33231
relation P417
type Q502895
['Q33231', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q33231 property:P417 ?f . ?f rdf:type ontology:Q502895 }
photographer
action filter_type
action find
entity photographer
relation patron saint
type common name
['photographer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:photographer property:patron_saint ?f . ?f rdf:type ontology:common_name }
[]
common name
Q196653
SYSTEM
Saint Veronica
Q196653
(Q33231,P417,c(Q502895))
action filter_type
action find
entity Q33231
relation P417
type Q502895
The patron saint of photographer is the [ANSWER]
['Q33231', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q33231 property:P417 ?f . ?f rdf:type ontology:Q502895 }
Saint Veronica
The patron saint of photographer is the Saint Veronica
Saint Veronica
action filter_type
action find
entity photographer
relation patron saint
type common name
['photographer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:photographer property:patron_saint ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q37
Q502895
USER
And how about Lithuania?
(Q37,P417,c(Q502895))
action filter_type
action find
entity Q37
relation P417
type Q502895
['Q37', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q37 property:P417 ?p . ?p rdf:type ontology:Q502895 }
Lithuania
action filter_type
action find
entity Lithuania
relation patron saint
type common name
['Lithuania', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Lithuania property:patron_saint ?p . ?p rdf:type ontology:common_name }
[]
common name
Q312057
SYSTEM
Saint Casimir
Q312057
(Q37,P417,c(Q502895))
action filter_type
action find
entity Q37
relation P417
type Q502895
[ANSWER]
['Q37', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q37 property:P417 ?p . ?p rdf:type ontology:Q502895 }
Saint Casimir
Saint Casimir
action filter_type
action find
entity Lithuania
relation patron saint
type common name
['Lithuania', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Lithuania property:patron_saint ?p . ?p rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P417
Q502895 Q15617994 Q12737077
USER
Which people are the names of person who are the patron saints of more number of administrative territories and occupations than that person ?
(c(Q15617994)|c(Q12737077),P417,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q312057
relation P417
type Q15617994
type Q12737077
[[{'concept': 'Q15617994'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?p WHERE { { ?h property:P417 ?p . ?p rdf:type ontology:Q502895 . ?h rdf:type ontology:Q15617994 } UNION { ?h property:P417 ?p . ?p rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P417 resource:Q312057 . { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:Q12737077 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?r > ?q ) }
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Saint Casimir
relation patron saint
type designation for an administrative territorial entity
type occupation
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?p WHERE { { ?h property:patron_saint ?p . ?p rdf:type ontology:common_name . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h property:patron_saint ?p . ?p rdf:type ontology:common_name . ?h rdf:type ontology:occupation } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:patron_saint resource:Saint_Casimir . { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:occupation ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?r > ?q ) }
[]
common name designation for an administrative territorial entity occupation
Q9438 Q346 Q8413
SYSTEM
Thomas Aquinas, Louis IX of France, Constantine the Great
Q561838 Q133704 Q229190 Q152457 Q61914 Q3893243 Q732865 Q43689 Q128267 Q328804 Q240610 Q166876 Q170547 Q44024 Q3940728 Q149315 Q676555 Q2360539 Q3615108 Q212850 Q1284971 Q188411 Q4011186 Q233067 Q9438 Q8413 Q558148 Q42887 Q315312 Q33923 Q81634 Q161775 Q43954 Q128538 Q37599 Q183240 Q167477 Q288295 Q297742 Q218921 Q316295 Q183332 Q48438 Q63070 Q134666 Q170164 Q43399 Q379914 Q3906150 Q336731 Q196653 Q9200 Q346 Q193507 Q180936 Q243427 Q43999 Q12871 Q43669 Q181489 Q44269 Q44265 Q232453 Q192816 Q43982 Q58559 Q179718 Q40662 Q359878 Q1976199 Q3663117 Q534691 Q80513 Q43600 Q744884 Q740907 Q151967 Q149727 Q164294 Q42827 Q543320 Q17590 Q200895 Q44248 Q2424767 Q131945 Q127385
(c(Q15617994)|c(Q12737077),P417,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q312057
relation P417
type Q15617994
type Q12737077
[ANSWERS] are the names of person who are the patron saints of more number of administrative territories and occupations than that person
[[{'concept': 'Q15617994'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?p WHERE { { ?h property:P417 ?p . ?p rdf:type ontology:Q502895 . ?h rdf:type ontology:Q15617994 } UNION { ?h property:P417 ?p . ?p rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P417 resource:Q312057 . { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:Q12737077 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?r > ?q ) }
Alexander of Bergamo Martin of Tours Catherine of Siena Saint Roch Gotthard of Hildesheim Pamphilus of Sulmona Vitalis of Milan Ambrose Joseph John the Evangelist Euphemia Isidore of Seville Anthony the Great Athanasius of Alexandria Romano martire Silverius Francis of Assisi Donatus of Arezzo Anatolia martire Vitus Victor Maurus Bernard of Clairvaux Vicinius of Sarsina Salome Thomas Aquinas Constantine the Great Leonard of Noblac Clement I Januarius Peter Sixtus I Stephen Leo I Luke the Evangelist Theodore of Amasea Saint Lucy Anthony of Padua Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Saint George Mary Magdalene Stephen I Helena of Constantinople Andrew Saint Cajetan Placidus Pancras of Rome Saint Veronica Paul Louis IX of France Saint Christopher Saint Gall Adalbert of Prague James Simon the Zealot Thomas the Apostle Eusebius of Vercelli Saint Nicholas Benedict of Nursia Martha Saint Barbara Bartholomew the Apostle Leo IX Catherine of Alexandria John the Baptist Erasmus of Formiae Gaudentius of Novara Castrese di Sessa Paschal Baylon Saint Cecilia Matthew the Apostle Zita Barbatus of Benevento Saint Blaise Saint Giles Saint Anna Gregory I Marina the Monk Lawrence of Rome Agatha of Sicily Jerome Anthony of Apamea Pius V Sixtus II
Thomas Aquinas, Louis IX of France and Constantine the Great are the names of person who are the patron saints of more number of administrative territories and occupations than that person
Thomas Aquinas Louis IX of France Constantine the Great
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Saint Casimir
relation patron saint
type designation for an administrative territorial entity
type occupation
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?p WHERE { { ?h property:patron_saint ?p . ?p rdf:type ontology:common_name . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h property:patron_saint ?p . ?p rdf:type ontology:common_name . ?h rdf:type ontology:occupation } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:patron_saint resource:Saint_Casimir . { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:occupation ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?r > ?q ) }
[]