Simple Question (Direct)
Simple Question
Q514701
P344
Q502895
USER
Who are the director of photography for Return to Oz ?
(Q514701,P344,c(Q502895))
action filter_type
action find
entity Q514701
relation P344
type Q502895
['Q514701', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q514701 property:P344 ?p . ?p rdf:type ontology:Q502895 }
Return to Oz
action filter_type
action find
entity Return to Oz
relation director of photography
type common name
['Return to Oz', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Return_to_Oz property:director_of_photography ?p . ?p rdf:type ontology:common_name }
[]
common name
Q1337082 Q1177096
SYSTEM
Freddie Francis, David Watkin
Q1337082 Q1177096
(Q514701,P344,c(Q502895))
action filter_type
action find
entity Q514701
relation P344
type Q502895
The director of photography for Return to Oz are also [ANSWERS]
['Q514701', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q514701 property:P344 ?p . ?p rdf:type ontology:Q502895 }
Freddie Francis David Watkin
The director of photography for Return to Oz are also Freddie Francis and David Watkin
Freddie Francis David Watkin
action filter_type
action find
entity Return to Oz
relation director of photography
type common name
['Return to Oz', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Return_to_Oz property:director_of_photography ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1337082 Q1177096
P344
Q838948
USER
Which works of art are those people the cinematographer of ?
(c(Q838948),P344,Q1337082) (c(Q838948),P344,Q1177096)
action filter_type
action find_reverse
entity prev_answer
relation P344
type Q838948
[{'concept': 'Q838948'}, 'P344', 'Q1337082'] [{'concept': 'Q838948'}, 'P344', 'Q1177096']
SELECT DISTINCT ?a WHERE { VALUES ( ?e ) { ( resource:Q1337082 ) ( resource:Q1177096 ) } . ?a rdf:type ontology:Q838948 . ?a property:P344 ?e }
Freddie Francis David Watkin
action filter_type
action find_reverse
entity prev_answer
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Freddie Francis'] [{'concept': 'work of art'}, 'director of photography', 'David Watkin']
SELECT DISTINCT ?a WHERE { VALUES ( ?e ) { ( resource:Freddie_Francis ) ( resource:David_Watkin ) } . ?a rdf:type ontology:work_of_art . ?a property:director_of_photography ?e }
[]
work of art
Q114819 Q470584 Q303235
SYSTEM
Dune, The Four Musketeers, The Three Musketeers
Q862317 Q617997 Q114819 Q478618 Q501995 Q3423723 Q644372 Q1415308 Q2031295 Q1139454 Q3415054 Q1621941 Q272860 Q666082 Q7743254 Q40074 Q1962858 Q4387917 Q1212928 Q1195571 Q1239708 Q514701 Q3342925 Q7715904 Q3517797 Q2985990 Q1336107 Q2253853 Q653281 Q1198726 Q1422824 Q3417837 Q1182497 Q1345242 Q212333 Q6296477 Q470584 Q1682593 Q388408 Q1703467 Q1806723 Q645823 Q303235 Q2582551 Q207921 Q2819717 Q1455551 Q655996 Q117090 Q7548602 Q2625472 Q1485385 Q1213378 Q780469 Q1630995 Q488760 Q2011692 Q290490 Q6281063 Q3204792 Q956250 Q112562 Q1784284 Q2345399 Q1384594 Q1196264 Q1050533 Q3283961 Q514701 Q1131815 Q208266 Q2301732 Q930071
(c(Q838948),P344,Q1337082) (c(Q838948),P344,Q1177096)
action filter_type
action find_reverse
entity prev_answer
relation P344
type Q838948
[ANSWERS] are those people the cinematographer of
[{'concept': 'Q838948'}, 'P344', 'Q1337082'] [{'concept': 'Q838948'}, 'P344', 'Q1177096']
SELECT DISTINCT ?a WHERE { VALUES ( ?e ) { ( resource:Q1337082 ) ( resource:Q1177096 ) } . ?a rdf:type ontology:Q838948 . ?a property:P344 ?e }
Glory Room at the Top Dune Clara's Heart Cape Fear Night Must Fall Princess Caraboo Her Alibi Saturday Night and Sunday Morning The Straight Story Never Take Sweets from a Stranger Sons and Lovers The Elephant Man The Innocents The Jigsaw Man School Ties Brenda Starr Rainbow The French Lieutenant's Woman The Man in the Moon Memed My Hawk Return to Oz Code Name: Emerald The Battle of the Sexes Time Without Pity A Hill in Korea Moonstruck To the Devil a Daughter Memphis Belle The Knack ...and How to Get It Hamlet The Boy Friend Marat/Sade White Nights Night Falls on Manhattan Journey to the Center of the Earth The Four Musketeers Jane Eyre Endless Love Tea with Mussolini Last Rites Hanover Street The Three Musketeers The Homecoming Chariots of Fire A Delicate Balance Obsession The Devils How I Won the War Snowdrift at Bleath Gill Bopha! Gloria Used People Yentl The Hotel New Hampshire Mademoiselle The Object of Beauty Bogus Joseph Andrews The Bed-Sitting Room This Boy's Life The Charge of the Light Brigade Masquerade Critical Care Cuba The Good Mother Catch-22 Mahogany Return to Oz Help! Out of Africa Milk Money Robin and Marian
Dune, The Four Musketeers and The Three Musketeers are those people the cinematographer of
Dune The Four Musketeers The Three Musketeers
action filter_type
action find_reverse
entity prev_answer
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Freddie Francis'] [{'concept': 'work of art'}, 'director of photography', 'David Watkin']
SELECT DISTINCT ?a WHERE { VALUES ( ?e ) { ( resource:Freddie_Francis ) ( resource:David_Watkin ) } . ?a rdf:type ontology:work_of_art . ?a property:director_of_photography ?e }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q114819 Q470584 Q303235
P161
Q502895
USER
Who were casted in those works of art ?
(Q114819,P161,c(Q502895)) (Q470584,P161,c(Q502895)) (Q303235,P161,c(Q502895))
action filter_type
action find
entity prev_answer
relation P161
type Q502895
['Q114819', 'P161', {'concept': 'Q502895'}] ['Q470584', 'P161', {'concept': 'Q502895'}] ['Q303235', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?o property:P161 ?t . VALUES ( ?o ) { ( resource:Q862317 ) ( resource:Q617997 ) ( resource:Q114819 ) } }
Dune The Four Musketeers The Three Musketeers
action filter_type
action find
entity prev_answer
relation cast member
type common name
['Dune', 'cast member', {'concept': 'common name'}] ['The Four Musketeers', 'cast member', {'concept': 'common name'}] ['The Three Musketeers', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?o property:cast_member ?t . VALUES ( ?o ) { ( resource:Glory ) ( resource:Room_at_the_Top ) ( resource:Dune ) } }
[]
common name
Q483203 Q180338 Q180338
SYSTEM
Sting for 1st, Christopher Lee for 2nd, 3rd
Q1171196 Q5220242 Q3545308 Q236247 Q349510 Q345212 Q203215 Q386349 Q207506 Q195396 Q229784 Q483203 Q5997112 Q436769 Q237778 Q5940014 Q232874 Q5674022 Q2426085 Q61356 Q2071 Q312098 Q3543702 Q106919 Q492169 Q16979854 Q2612676 Q8346795 Q6302315 Q329734 Q16296 Q949387 Q230736 Q721586 Q298777 Q319527 Q21207176 Q21207257 Q313289 Q251988 Q715642 Q295847 Q230636 Q313588 Q168721 Q1527837 Q519904 Q981226 Q21207282 Q80739 Q7087679 Q229545 Q668759 Q6524659 Q441242 Q738521 Q180338 Q7052053 Q21207223 Q89554 Q2033820 Q243121 Q2734945 Q471879 Q526918 Q298777 Q319527 Q745940 Q956867 Q1898864 Q251988 Q715642 Q295847 Q230636 Q313588 Q168721 Q1527837 Q981226 Q80739 Q243121 Q229545 Q7356855 Q441242 Q738521 Q180338 Q89554 Q5482921 Q677496 Q2734945 Q561401 Q471879 Q526918
(Q114819,P161,c(Q502895)) (Q470584,P161,c(Q502895)) (Q303235,P161,c(Q502895))
action filter_type
action find
entity prev_answer
relation P161
type Q502895
[ANSWERS]
['Q114819', 'P161', {'concept': 'Q502895'}] ['Q470584', 'P161', {'concept': 'Q502895'}] ['Q303235', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?o property:P161 ?t . VALUES ( ?o ) { ( resource:Q862317 ) ( resource:Q617997 ) ( resource:Q114819 ) } }
Leonardo Cimino Danny Corkill Julieta Rosen Alicia Witt Kenneth McMillan Dean Stockwell Max von Sydow Jack Nance Kyle MacLachlan Freddie Jones Virginia Madsen Sting Margarita Sanz Francesca Annis Siân Phillips Humberto Elizondo Linda Hunt Ana Ofelia Murguía Angélica Aragón Jürgen Prochnow David Lynch José Ferrer Ernesto Laguardia Silvana Mangano Richard Jordan Miguel Cané Jacqueline Voltaire Claudia Ramírez Judd Omen Brad Dourif Patrick Stewart Paul L. Smith Sean Young Everett McGill Michael York Jean-Pierre Cassel Tom Buchanan Richard Adams Richard Adams Ángel del Pozo Roy Kinnear Richard Chamberlain Geraldine Chaplin Oliver Reed Faye Dunaway Gitty Darugar Jack Watson Simon Ward Tyrone Cassidy Charlton Heston Oliver MacGreevy Raquel Welch Eduardo Fajardo Leon Greene Michael Gothard Frank Finlay Christopher Lee Norman Chappell Lucy Tiller Sybil Danning Bob Todd Gretchen Franklin Richard Briers Joss Ackland Nicole Calfan Michael York Jean-Pierre Cassel Ben Aris Michael Hordern Frank Thornton Ángel del Pozo Roy Kinnear Richard Chamberlain Geraldine Chaplin Oliver Reed Faye Dunaway Gitty Darugar Simon Ward Charlton Heston Gretchen Franklin Raquel Welch Rodney Bewes Michael Gothard Frank Finlay Christopher Lee Sybil Danning Francis de Wolff Georges Wilson Richard Briers Spike Milligan Joss Ackland Nicole Calfan
Sting, Christopher Lee and Christopher Lee were casted in those works of art
Sting Christopher Lee Christopher Lee
action filter_type
action find
entity prev_answer
relation cast member
type common name
['Dune', 'cast member', {'concept': 'common name'}] ['The Four Musketeers', 'cast member', {'concept': 'common name'}] ['The Three Musketeers', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?o property:cast_member ?t . VALUES ( ?o ) { ( resource:Glory ) ( resource:Room_at_the_Top ) ( resource:Dune ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q180338
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q180338,P27,c(Q15617994))
action filter_type
action find
entity Q180338
relation P27
type Q15617994
['Q180338', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q180338 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Christopher Lee
action filter_type
action find
entity Christopher Lee
relation country of citizenship
type designation for an administrative territorial entity
['Christopher Lee', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Christopher_Lee property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q180338
SYSTEM
Did you mean Christopher Lee ?
Q483203 Q180338 Q180338
(Q483203,P27,c(Q15617994)) (Q180338,P27,c(Q15617994)) (Q180338,P27,c(Q15617994))
[ANSWER]
['Q483203', 'P27', {'concept': 'Q15617994'}] ['Q180338', 'P27', {'concept': 'Q15617994'}] ['Q180338', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q180338 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Sting Christopher Lee Christopher Lee
Did you mean Christopher Lee ?
Christopher Lee
['Sting', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Christopher Lee', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Christopher Lee', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Christopher_Lee property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q180338,P27,c(Q15617994))
['Q180338', 'P27', {'concept': 'Q15617994'}]
['Christopher Lee', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
Q145
SYSTEM
United Kingdom
Q145
(Q180338,P27,c(Q15617994))
action filter_type
action find
entity Q180338
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q180338', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q180338 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is that person a civilian of
United Kingdom
action filter_type
action find
entity Christopher Lee
relation country of citizenship
type designation for an administrative territorial entity
['Christopher Lee', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Christopher_Lee property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories are known to have diplomatic connections with around 112 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 112
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?t ) WHERE { ?z property:P530 ?k . ?z rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?t = 112 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 112
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?t ) WHERE { ?z property:diplomatic_relation ?k . ?z rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?t = 112 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 112
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?t ) WHERE { ?z property:P530 ?k . ?z rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?t = 112 ) }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 112
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?t ) WHERE { ?z property:diplomatic_relation ?k . ?z rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?t = 112 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q142 Q145
P27
Q502895
USER
Which people are a native of United Kingdom and France ?
AND((c(Q502895),P27,Q145), (c(Q502895),P27,Q142))
action filter_type
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q142
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q145'], [{'concept': 'Q502895'}, 'P27', 'Q142']]}
SELECT DISTINCT ?d WHERE { ?d property:P27 resource:Q145 . ?d property:P27 resource:Q142 . ?d rdf:type ontology:Q502895 }
France United Kingdom
action filter_type
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity France
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'United Kingdom'], [{'concept': 'common name'}, 'country of citizenship', 'France']]}
SELECT DISTINCT ?d WHERE { ?d property:country_of_citizenship resource:United_Kingdom . ?d property:country_of_citizenship resource:France . ?d rdf:type ontology:common_name }
[]
common name
Q3714643 Q17482299 Q16819989 Q726426 Q23967041 Q6216500 Q291693 Q2877725 Q1478736 Q3130979
SYSTEM
Some of them are Douglas Robinson, Frédéric Charles de La Rochefoucauld, Brigitte Adès, Maurice Noël Léon Couve de Murville, Jules Dudoit, Johannes Alanus, Anastasia Griffith, Baba de Faucigny-Lucinge, Michel Maittaire, Henri Diacono
Q521645 Q275013 Q126462 Q291693 Q383853 Q3182437 Q23967041 Q448459 Q6375918 Q3484297 Q1478736 Q5237551 Q7298263 Q16731654 Q464636 Q21995180 Q2638818 Q21934670 Q3175557 Q956854 Q175130 Q468014 Q2978360 Q17374188 Q2984076 Q5751662 Q3991513 Q16197448 Q3060153 Q27032 Q1063936 Q579188 Q7152290 Q519129 Q3714643 Q309715 Q511089 Q517162 Q4726173 Q445306 Q513386 Q957538 Q15176448 Q2161266 Q780970 Q6162887 Q531585 Q208590 Q237758 Q3143590 Q1471429 Q5274744 Q949700 Q726426 Q205868 Q944388 Q714906 Q2877725 Q359659 Q965843 Q535697 Q4020180 Q511251 Q166023 Q3130979 Q431240 Q276005 Q353544 Q1293456 Q6216500 Q6770782 Q3502154 Q26044 Q2453923 Q515857 Q685223 Q3164235 Q1386445 Q1970087 Q3288405 Q330580 Q468772 Q312694 Q606524 Q16819989 Q435640 Q333106 Q312519 Q17482299 Q964608 Q289892
AND((c(Q502895),P27,Q145), (c(Q502895),P27,Q142))
action filter_type
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q142
relation P27
type Q502895
[ANSWERS] are a native of United Kingdom and France
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q145'], [{'concept': 'Q502895'}, 'P27', 'Q142']]}
SELECT DISTINCT ?d WHERE { ?d property:P27 resource:Q145 . ?d property:P27 resource:Q142 . ?d rdf:type ontology:Q502895 }
Marthe Richard Austen Henry Layard Thomas Paine Anastasia Griffith Henry Litolff John Saxby Jules Dudoit Pannonica de Koenigswarter Katell Keineg Simon Halliday Michel Maittaire David Michie Ray Watts Anne Lovett Augusta Holmès Finnegan Oldfield Jean-Jacques Burnel James Sparrow MeeK Louis Welden Hawkins Alfred Sisley Susan Travers Claudius Hollyband Claire Tran Colo Tavernier Hidayat Inayat Khan Timothée Jordan William Williams-Hope Eugène Rimmel Edmund Dulac Charles Joshua Chaplin Arthur Cravan Paul Maze Eugenie Sellers Strong Douglas Robinson Roland Joffé Henri de Massue, Earl of Galway Agnes Mary Frances Duclaux Alice de Lusignan of Angoulême Marc Isambard Brunel Jacques Paisible Alphonse Legros Jimmy de Brabant Rodolphe d'Erlanger Thurstan Jason Kouchak Jade Jagger Kristin Scott Thomas Sophie Gengembre Anderson Hyacinthe Louis Rabino di Borgomale Frédéric Alfred d'Erlanger Diego Masson George du Maurier Maurice Noël Léon Couve de Murville Vernon Dobtcheff Pierre-Esprit Radisson Augustus Desiré Waller Baba de Faucigny-Lucinge John Rocque Hugh de Puiset Constance Wachtmeister William Anderson Marie Gerbron James FitzJames, 1st Duke of Berwick Henri Diacono Nora Kershaw Chadwick Charlotte Gainsbourg Stephen Batchelor Edward Salim Michael Johannes Alanus Richard of Dover Stéphanie Benson Lloyd Hildebrand Emily Loizeau Jack Agazarian Gilles Peterson Jean-Baptiste Lislet Geoffroy George Langelaan Philip James de Loutherbourg Marc Smith Falkes de Breauté Anne Vallayer-Coster John Law Arthur Schneidau Brigitte Adès Lise de Baissac Hilaire Belloc Robert Faurisson Frédéric Charles de La Rochefoucauld Lucien Pissarro Odette Hallowes
Douglas Robinson, Frédéric Charles de La Rochefoucauld, Brigitte Adès, Maurice Noël Léon Couve de Murville, Jules Dudoit, Johannes Alanus, Anastasia Griffith, Baba de Faucigny-Lucinge, Michel Maittaire and Henri Diacono are a native of United Kingdom and France
Douglas Robinson Frédéric Charles de La Rochefoucauld Brigitte Adès Maurice Noël Léon Couve de Murville Jules Dudoit Johannes Alanus Anastasia Griffith Baba de Faucigny-Lucinge Michel Maittaire Henri Diacono
action filter_type
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity France
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'United Kingdom'], [{'concept': 'common name'}, 'country of citizenship', 'France']]}
SELECT DISTINCT ?d WHERE { ?d property:country_of_citizenship resource:United_Kingdom . ?d property:country_of_citizenship resource:France . ?d rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of that person ?
(Q3130979,P27,c(Q15617994))
['Q3130979', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3130979 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
['Henri Diacono', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Henri_Diacono property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q1478736
SYSTEM
Did you mean Michel Maittaire ?
(Q3714643,P27,c(Q15617994)) (Q17482299,P27,c(Q15617994)) (Q16819989,P27,c(Q15617994)) (Q726426,P27,c(Q15617994)) (Q23967041,P27,c(Q15617994)) (Q6216500,P27,c(Q15617994)) (Q291693,P27,c(Q15617994)) (Q2877725,P27,c(Q15617994)) (Q1478736,P27,c(Q15617994)) (Q3130979,P27,c(Q15617994))
[ANSWER]
['Q3714643', 'P27', {'concept': 'Q15617994'}] ['Q17482299', 'P27', {'concept': 'Q15617994'}] ['Q16819989', 'P27', {'concept': 'Q15617994'}] ['Q726426', 'P27', {'concept': 'Q15617994'}] ['Q23967041', 'P27', {'concept': 'Q15617994'}] ['Q6216500', 'P27', {'concept': 'Q15617994'}] ['Q291693', 'P27', {'concept': 'Q15617994'}] ['Q2877725', 'P27', {'concept': 'Q15617994'}] ['Q1478736', 'P27', {'concept': 'Q15617994'}] ['Q3130979', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3130979 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Michel Maittaire ?
Michel Maittaire
['Douglas Robinson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Frédéric Charles de La Rochefoucauld', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Brigitte Adès', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Maurice Noël Léon Couve de Murville', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jules Dudoit', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Johannes Alanus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Anastasia Griffith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Baba de Faucigny-Lucinge', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Michel Maittaire', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Henri Diacono', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Henri_Diacono property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Henri Diacono. Could you tell me the answer for that?
(Q3130979,P27,c(Q15617994))
Q3130979
['Q3130979', 'P27', {'concept': 'Q15617994'}]
['Henri Diacono', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
2
Q142 Q145
(Q3130979,P27,c(Q15617994))
[ANSWER]
['Q3130979', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3130979 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
France United Kingdom
2
['Henri Diacono', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Henri_Diacono property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P159
Q43229
USER
Which organizations have their head office location at United Kingdom ?
(c(Q43229),P159,Q145)
action filter_type
action find_reverse
entity Q145
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q145']
SELECT DISTINCT ?v WHERE { ?v property:P159 resource:Q145 . ?v rdf:type ontology:Q43229 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'United Kingdom']
SELECT DISTINCT ?v WHERE { ?v property:headquarters_location resource:United_Kingdom . ?v rdf:type ontology:organization }
[]
organization
Q740559 Q2828220 Q4035073
SYSTEM
Graftgold, Air Partner PLC, Beyond Software
Q6978890 Q7246523 Q16249688 Q5281211 Q5331201 Q7755046 Q5519528 Q6417014 Q4689454 Q5309267 Q7925348 Q19872405 Q5305209 Q6553037 Q7933893 Q6929437 Q16953805 Q8042941 Q2828220 Q17148363 Q8252257 Q4035073 Q7510916 Q1983591 Q5393358 Q2130281 Q7864931 Q5158390 Q5014833 Q3645095 Q19604616 Q294849 Q7774963 Q5453090 Q6739340 Q5289303 Q7855624 Q4727397 Q5053998 Q5156523 Q6048188 Q1226566 Q6824811 Q7597799 Q5073284 Q4869748 Q7135547 Q5441282 Q6696066 Q408697 Q1495018 Q17032096 Q5417852 Q17017990 Q6954773 Q16997436 Q4691850 Q17100665 Q5063181 Q4788543 Q18162020 Q16204559 Q7759409 Q6040404 Q3046634 Q6662870 Q5211789 Q2055297 Q16242914 Q740559 Q392140 Q2858969 Q5206357 Q16994995 Q5559440 Q5415877 Q6458792 Q17101734 Q5564102 Q17113395 Q2005933 Q6044011 Q5086817 Q2105067 Q7978823 Q6521101 Q3568505 Q7623070 Q5136532 Q6753800 Q7247909 Q5327508 Q6398515 Q16971066 Q5288441 Q60033 Q5971572 Q7679879 Q7747433 Q5303672 Q3796545 Q7981439 Q5264294 Q5270583 Q5603199 Q7864915 Q6358686 Q16850876
(c(Q43229),P159,Q145)
action filter_type
action find_reverse
entity Q145
relation P159
type Q43229
[ANSWERS] have their head office location at United Kingdom
[{'concept': 'Q43229'}, 'P159', 'Q145']
SELECT DISTINCT ?v WHERE { ?v property:P159 resource:Q145 . ?v rdf:type ontology:Q43229 }
National Telephone Company Priyo Mobile ELGIN Disabled Motoring UK Easynet Connect The One Network GamCare Kiss Network AfriMobile Drumond Park Vickers plc Crimpy Dragon Gate UK LineOne Virgin Care Mr Muscle MPP Global Solutions Xansa Air Partner PLC Independent Betting Adjudication Service British Airways Ltd. Beyond Software Siemens Plessey Renegade Software Ernest Jones Associated Motor Cycles UK Property Shop Concept Searching Limited CWC Group Limited British UFO Research Association Warren James Jewellers Comet Group The Wildlife Trusts First Independent Films Makhad Trust Dolls House Emporium Turn2us Alive & Kicking Cats Protection CompletelyNovel International Animal Rescue Dinky Toys Metrocab Stan Mobile Chapman Guitars Battersea Dogs and Cats Home Paranormal Site Investigators Feel Good Drinks Co LucasVarity Airfix Help the Aged Semichem Everyman Cinemas Southern Whaling and Sealing Company NNB Generation Company Matamp Age UK National Froebel Foundation Century Network Area Gas Boards Netto UK QuidditchUK The Range Home and Leisure Institute of IT Training Easynet Lloyds Pharmacy Dalya Mobile Freesat Angels Den Graftgold Age Concern Apricot Computers DVDVideoSoft Internacionale Retail Gibsons Games Evans LIRIC Associates Emerson Group Giraffe Restaurants Maclure, Macdonald and Co. Rivarossi Intelligent Games Chartered Institute of Logistics and Transport Porterbrook WebsEdge Lembrassa William Clark & Sons Streetcar Clubland Mapesbury Communications Ltd Profero Easily Ltd Keystone accountability Ashtons Dogs Trust Waterlow and Sons IKEA Family Mobile Talkmobile The Link Dowty Rotol Image Works Wellington Lodge Design Research Society Dialog Vizz Green Shield Stamps UK Online Kamkorp Joseph Rowntree Foundation
Graftgold, Air Partner PLC and Beyond Software have their head office location at United Kingdom
Graftgold Air Partner PLC Beyond Software
action filter_type
action find_reverse
entity United Kingdom
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'United Kingdom']
SELECT DISTINCT ?v WHERE { ?v property:headquarters_location resource:United_Kingdom . ?v rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2828220
P1454
Q2712963
USER
Which abstract noun represents the legal form of that organization ?
(Q2828220,P1454,c(Q2712963))
action filter_type
action find
entity Q2828220
relation P1454
type Q2712963
['Q2828220', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?l WHERE { resource:Q2828220 property:P1454 ?l . ?l rdf:type ontology:Q2712963 }
Air Partner PLC
action filter_type
action find
entity Air Partner PLC
relation legal form
type abstract noun
['Air Partner PLC', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?l WHERE { resource:Air_Partner_PLC property:legal_form ?l . ?l rdf:type ontology:abstract_noun }
[]
abstract noun
Clarification for simple ques.
Q2828220
SYSTEM
Did you mean Air Partner PLC ?
Q740559 Q2828220 Q4035073
(Q740559,P1454,c(Q2712963)) (Q2828220,P1454,c(Q2712963)) (Q4035073,P1454,c(Q2712963))
[ANSWER]
['Q740559', 'P1454', {'concept': 'Q2712963'}] ['Q2828220', 'P1454', {'concept': 'Q2712963'}] ['Q4035073', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?l WHERE { resource:Q2828220 property:P1454 ?l . ?l rdf:type ontology:Q2712963 }
Graftgold Air Partner PLC Beyond Software
Did you mean Air Partner PLC ?
Air Partner PLC
['Graftgold', 'legal form', {'concept': 'abstract noun'}] ['Air Partner PLC', 'legal form', {'concept': 'abstract noun'}] ['Beyond Software', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?l WHERE { resource:Air_Partner_PLC property:legal_form ?l . ?l rdf:type ontology:abstract_noun }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2828220,P1454,c(Q2712963))
['Q2828220', 'P1454', {'concept': 'Q2712963'}]
['Air Partner PLC', 'legal form', {'concept': 'abstract noun'}]
[]
Q5225895
SYSTEM
public limited company
Q5225895
(Q2828220,P1454,c(Q2712963))
action filter_type
action find
entity Q2828220
relation P1454
type Q2712963
The [ANSWER] represents the legal form of that organization
['Q2828220', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?l WHERE { resource:Q2828220 property:P1454 ?l . ?l rdf:type ontology:Q2712963 }
public limited company
The public limited company represents the legal form of that organization
public limited company
action filter_type
action find
entity Air Partner PLC
relation legal form
type abstract noun
['Air Partner PLC', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?l WHERE { resource:Air_Partner_PLC property:legal_form ?l . ?l rdf:type ontology:abstract_noun }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q5225895 Q145 Q27
P17
Q15617994
USER
Is that abstract noun situated in United Kingdom and Ireland ?
(Q5225895,P17,Q145) (Q5225895,P17,Q27)
action is_in
entity Q5225895
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q27
relation P17
['Q5225895', 'P17', 'Q145'] ['Q5225895', 'P17', 'Q27']
ASK WHERE { resource:Q5225895 property:P17 resource:Q145 . resource:Q5225895 property:P17 resource:Q27 }
public limited company United Kingdom Ireland
action is_in
entity public limited company
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Ireland
relation country
['public limited company', 'country', 'United Kingdom'] ['public limited company', 'country', 'Ireland']
ASK WHERE { resource:public_limited_company property:country resource:United_Kingdom . resource:public_limited_company property:country resource:Ireland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q5225895,P17,Q145) (Q5225895,P17,Q27)
action is_in
entity Q5225895
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q27
relation P17
[ANSWER]
['Q5225895', 'P17', 'Q145'] ['Q5225895', 'P17', 'Q27']
ASK WHERE { resource:Q5225895 property:P17 resource:Q145 . resource:Q5225895 property:P17 resource:Q27 }
Yes
action is_in
entity public limited company
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Ireland
relation country
['public limited company', 'country', 'United Kingdom'] ['public limited company', 'country', 'Ireland']
ASK WHERE { resource:public_limited_company property:country resource:United_Kingdom . resource:public_limited_company property:country resource:Ireland }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q145 Q7184
P463
Q484652
USER
Was United Kingdom a member of North Atlantic Treaty Organisation ?
(Q145,P463,Q7184)
action is_in
entity Q7184
action find
entity Q145
relation P463
['Q145', 'P463', 'Q7184']
ASK WHERE { resource:Q145 property:P463 resource:Q7184 }
United Kingdom North Atlantic Treaty Organisation
action is_in
entity North Atlantic Treaty Organisation
action find
entity United Kingdom
relation member of
['United Kingdom', 'member of', 'North Atlantic Treaty Organisation']
ASK WHERE { resource:United_Kingdom property:member_of resource:North_Atlantic_Treaty_Organisation }
[]
international organization
SYSTEM
YES
(Q145,P463,Q7184)
action is_in
entity Q7184
action find
entity Q145
relation P463
[ANSWER]
['Q145', 'P463', 'Q7184']
ASK WHERE { resource:Q145 property:P463 resource:Q7184 }
Yes
action is_in
entity North Atlantic Treaty Organisation
action find
entity United Kingdom
relation member of
['United Kingdom', 'member of', 'North Atlantic Treaty Organisation']
ASK WHERE { resource:United_Kingdom property:member_of resource:North_Atlantic_Treaty_Organisation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1335511 Q6216500
P27
Q15617994
USER
Which administrative territories are Johannes Alanus or Marvin Cabrera an inhabitant of ?
OR((Q6216500,P27,c(Q15617994)), (Q1335511,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6216500
relation P27
action find
entity Q1335511
relation P27
type Q15617994
{'OR': [['Q6216500', 'P27', {'concept': 'Q15617994'}], ['Q1335511', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q6216500 property:P27 ?b } UNION { resource:Q1335511 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Marvin Cabrera Johannes Alanus
action filter_type
action union
action find
entity Johannes Alanus
relation country of citizenship
action find
entity Marvin Cabrera
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Johannes Alanus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Marvin Cabrera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Johannes_Alanus property:country_of_citizenship ?b } UNION { resource:Marvin_Cabrera property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q96 Q145
SYSTEM
France, Mexico, United Kingdom
Q142 Q96 Q145
OR((Q6216500,P27,c(Q15617994)), (Q1335511,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6216500
relation P27
action find
entity Q1335511
relation P27
type Q15617994
[ANSWERS] are Johannes Alanus or Marvin Cabrera an inhabitant of
{'OR': [['Q6216500', 'P27', {'concept': 'Q15617994'}], ['Q1335511', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q6216500 property:P27 ?b } UNION { resource:Q1335511 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
France Mexico United Kingdom
France, Mexico and United Kingdom are Johannes Alanus or Marvin Cabrera an inhabitant of
France Mexico United Kingdom
action filter_type
action union
action find
entity Johannes Alanus
relation country of citizenship
action find
entity Marvin Cabrera
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Johannes Alanus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Marvin Cabrera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Johannes_Alanus property:country_of_citizenship ?b } UNION { resource:Marvin_Cabrera property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]