Simple Question (Direct)
Simple Question
Q2262932
P344
Q502895
USER
Which person is the cinematographer of City Streets ?
(Q2262932,P344,c(Q502895))
action filter_type
action find
entity Q2262932
relation P344
type Q502895
['Q2262932', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q2262932 property:P344 ?h . ?h rdf:type ontology:Q502895 }
City Streets
action filter_type
action find
entity City Streets
relation director of photography
type common name
['City Streets', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:City_Streets property:director_of_photography ?h . ?h rdf:type ontology:common_name }
[]
common name
Q1370195
SYSTEM
Lee Garmes
Q1370195
(Q2262932,P344,c(Q502895))
action filter_type
action find
entity Q2262932
relation P344
type Q502895
[ANSWER] is the cinematographer of City Streets
['Q2262932', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q2262932 property:P344 ?h . ?h rdf:type ontology:Q502895 }
Lee Garmes
Lee Garmes is the cinematographer of City Streets
Lee Garmes
action filter_type
action find
entity City Streets
relation director of photography
type common name
['City Streets', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:City_Streets property:director_of_photography ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1370195
P57
Q838948
USER
Which works of art have that person as their director ?
(c(Q838948),P57,Q1370195)
action filter_type
action find_reverse
entity Q1370195
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q1370195']
SELECT DISTINCT ?q WHERE { ?q property:P57 resource:Q1370195 . ?q rdf:type ontology:Q838948 }
Lee Garmes
action filter_type
action find_reverse
entity Lee Garmes
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Lee Garmes']
SELECT DISTINCT ?q WHERE { ?q property:director resource:Lee_Garmes . ?q rdf:type ontology:work_of_art }
[]
work of art
Q537237 Q4677708 Q3426985
SYSTEM
Angels Over Broadway, Actor's and Sin, Dreaming Lips
Q4677708 Q3426985 Q11965017 Q537237
(c(Q838948),P57,Q1370195)
action filter_type
action find_reverse
entity Q1370195
relation P57
type Q838948
[ANSWERS] have that person as their director
[{'concept': 'Q838948'}, 'P57', 'Q1370195']
SELECT DISTINCT ?q WHERE { ?q property:P57 resource:Q1370195 . ?q rdf:type ontology:Q838948 }
Actor's and Sin Dreaming Lips Hannah Lee Angels Over Broadway
Angels Over Broadway, Actor's and Sin and Dreaming Lips have that person as their director
Angels Over Broadway Actor's and Sin Dreaming Lips
action filter_type
action find_reverse
entity Lee Garmes
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Lee Garmes']
SELECT DISTINCT ?q WHERE { ?q property:director resource:Lee_Garmes . ?q rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1370195
P166
Q4220917
USER
What was won by Lee Garmes ?
(Q1370195,P166,c(Q4220917))
action filter_type
action find
entity Q1370195
relation P166
type Q4220917
['Q1370195', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?u WHERE { resource:Q1370195 property:P166 ?u . ?u rdf:type ontology:Q4220917 }
Lee Garmes
action filter_type
action find
entity Lee Garmes
relation award received
type film award
['Lee Garmes', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?u WHERE { resource:Lee_Garmes property:award_received ?u . ?u rdf:type ontology:film_award }
[]
film award
Q131520
SYSTEM
Academy Award for Best Cinematography
Q131520
(Q1370195,P166,c(Q4220917))
action filter_type
action find
entity Q1370195
relation P166
type Q4220917
The [ANSWER] was won by Lee Garmes
['Q1370195', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?u WHERE { resource:Q1370195 property:P166 ?u . ?u rdf:type ontology:Q4220917 }
Academy Award for Best Cinematography
The Academy Award for Best Cinematography was won by Lee Garmes
Academy Award for Best Cinematography
action filter_type
action find
entity Lee Garmes
relation award received
type film award
['Lee Garmes', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?u WHERE { resource:Lee_Garmes property:award_received ?u . ?u rdf:type ontology:film_award }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q20875
P35
Q502895 Q15617994 Q1048835
USER
How many people are elected as the head of state of lesser number of administrative territories or political territories than Edward VII ?
(c(Q15617994)|c(Q1048835),P35,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q20875
relation P35
type Q15617994
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?m WHERE { VALUES ( ?f ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?v rdf:type ?f } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:P35 resource:Q20875 . { { ?c rdf:type ontology:Q15617994 } UNION { ?c rdf:type ontology:Q1048835 } } } } . FILTER ( ?w < ?y ) }
Edward VII
action count
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Edward VII
relation head of state
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?m WHERE { VALUES ( ?f ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?v rdf:type ?f } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:head_of_state resource:Edward_VII . { { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?w < ?y ) }
[]
common name designation for an administrative territorial entity political territorial entity
SYSTEM
166
Q19830768 Q310994 Q19830761 Q1428924 Q297950 Q19464383 Q214029 Q152511 Q19830715 Q152335 Q16105901 Q171977 Q152274 Q312557 Q162269 Q151667 Q167724 Q1359023 Q310775 Q157651 Q6809265 Q13631996 Q237951 Q19831439 Q78492 Q19831437 Q19831432 Q259331 Q151087 Q19810371 Q167699 Q472323 Q400961 Q38987 Q187149 Q855252 Q153688 Q19216 Q188214 Q42939 Q16849387 Q154444 Q2503364 Q2610 Q19831452 Q179858 Q34105 Q152306 Q379203 Q150642 Q122304 Q154936 Q334851 Q555531 Q57488 Q6707612 Q290786 Q773874 Q886786 Q7244117 Q502185 Q6127060 Q2646 Q76437 Q93427 Q19830746 Q76 Q3910 Q57509 Q57502 Q181261 Q157099 Q332709 Q34464 Q334923 Q235454 Q4631 Q2677 Q188409 Q562209 Q3518013 Q8467 Q2601 Q2602 Q2607 Q39619 Q29213 Q69569 Q163945 Q30487 Q223183 Q213791 Q336913 Q156502 Q511888 Q257425 Q58600 Q468847 Q173347 Q13593432 Q77233 Q160318 Q210329 Q205993 Q157068 Q57232 Q1455923 Q613051 Q6127112 Q19831185 Q19831184 Q19831183 Q157121 Q399998 Q81215 Q19831457 Q327203 Q156494 Q1982245 Q152463 Q1855372 Q212188 Q168691 Q17488307 Q273228 Q187697 Q371854 Q661663 Q19861344 Q7726 Q150620 Q313355 Q6225811 Q17582456 Q541507 Q57360 Q310000 Q2667 Q156349 Q332157 Q159585 Q450675 Q37731 Q43915 Q334111 Q19628885 Q33168 Q296054 Q360462 Q380187 Q154912 Q352 Q233984 Q314464 Q1898405 Q130834 Q57261 Q150652 Q150712 Q57634 Q19831445 Q22368 Q174662 Q65917 Q2628 Q19831449
(c(Q15617994)|c(Q1048835),P35,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q20875
relation P35
type Q15617994
type Q1048835
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?m WHERE { VALUES ( ?f ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?v rdf:type ?f } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:P35 resource:Q20875 . { { ?c rdf:type ontology:Q15617994 } UNION { ?c rdf:type ontology:Q1048835 } } } } . FILTER ( ?w < ?y ) }
Thomas Currie Patrick Hillery Jonathan Lambert Nicola Mancino R. Venkataraman John Woolley Kaarlo Juho Ståhlberg Eddie Fenech Adami Robert Ben Madison László Sólyom Paul Delprat Tokugawa Ieyasu Edvard Beneš V. V. Giri Jefferson Davis Ferdinand I of Bulgaria Guido de Marco Raul Khadjimba Jean-Claude Duvalier Gustáv Husák Mehbooba Mufti Chennamaneni Vidyasagar Rao Douglas Hyde Carlo I Bertoleoni Tomáš Garrigue Masaryk Paolo I Bertoleoni Giuseppe Bertoleoni Yusof bin Ishak Jérôme Bonaparte Vít Jedlička Ugo Mifsud Bonnici Ranasinghe Premadasa Ahmad bin Yahya Tony Tan Keng Yam Umberto II of Italy Bhumibol Adulyadej Umberto I of Italy Ma Ying-jeou Mary Robinson Bronisław Komorowski Jam Nizamuddin II Grand Duke Michael Alexandrovich of Russia Pietro Grasso Willi Stoph Carlo II Bertoleoni Urho Kekkonen Hosni Mubarak Carl Gustaf Emil Mannerheim Khieu Samphan Vittorio Emanuele III Nitish Kumar Arnulf of Carinthia Zail Singh Paddy Roy Bates Jakaya Kikwete Lydia Emerencia Stefan Dragutin Maria I of Portugal Orélie-Antoine de Tounens Prince Karl Emich of Leiningen Andrey Vorobyov Jam Feruzudin Friedrich Ebert Karl Dönitz Archduke John of Austria King Louis I of Talossa Barack Obama Albert II Atifete Jahjaga George Abela Charles Albert of Sardinia Louis the Child Giovanni Spadolini Philip III of Spain Abu Bakr K. R. Narayanan Mohamed Morsi Wilhelm II Yevgeny Shevchuk Cesare Merzagora N. Chandrababu Naidu Umar ibn Al-Khattāb Manfred Gerlach Egon Krenz Erich Honecker Alī ibn Abī Ṭālib Tarja Halonen Sardar Muhammad Yaqoob Khan Yahya Muhammad Hamid ed-Din Mikhail Gorbachev Peter II of Yugoslavia Eric Bloodaxe Neelam Sanjiva Reddy Emil Hácha Leonard Petrosyan Gojong of the Korean Empire Friedrich III of Germany Oswiu of Northumbria Éamon de Valera Adly Mansour Frederick III, Elector of Saxony Norodom Sihanouk Yuan Shikai William Gopallawa Lord Mountbatten Sabine Bergmann-Pohl Takakazu Ishii Robert Kocharyan Jam Unar Georgette Bertin-Pourchet Gabrielle Pourchet Georges Pourchet Conrad I of Germany Wee Kim Wee Petar Stoyanov Tonino Bertoleoni Seán T. O'Kelly Antonín Novotný Ismail Shammout Louis the German Tamim bin Hamad Al Thani S. R. Nathan Victor Emmanuel II of Savoy Aleksandr Zakharchenko Amintore Fanfani François Duvalier Antonín Zápotocký Stephen Vladislav II of Syrmia Niels Vermeersch Joseph Bonaparte Henry I the Fowler Alexander Ankvab John Charlton Rudge Ihor Plotnytskiy Arkadi Ghukasyan Hamad bin Khalifa Al Thani Ludvík Svoboda Paul von Hindenburg Sarvepalli Radhakrishnan Shankar Dayal Sharma Boris III of Bulgaria Francis Uthman ibn Affan Otto I the Great Sunjong of the Korean Empire Michael Bates Kalvakuntla Chandrashekar Klement Gottwald Bako Sahakyan Ahmed Mahamoud Silanyo Olav V of Norway Adolf Hitler Tsai Ing-wen Tokugawa Hidetada Konijeti Rosaiah Francis I of Austria Georgi Parvanov Wilhelm I of Germany Charles the Fat Hashim Thaçi Mariangela Bertoleoni Chen Shui-bian Mary McAleese Wilhelm Pieck Walter Ulbricht Paolo II Bertoleoni
166
action count
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Edward VII
relation head of state
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?m WHERE { VALUES ( ?f ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?v rdf:type ?f } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:head_of_state resource:Edward_VII . { { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?w < ?y ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q130232 Q131520
P1411 P136
Q838948
USER
Which works of art were nominated for Academy Award for Best Cinematography and have drama film as genre ?
AND((c(Q838948),P1411,Q131520), (c(Q838948),P136,Q130232))
action filter_type
action intersection
action find_reverse
entity Q131520
relation P1411
action find_reverse
entity Q130232
relation P136
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P1411', 'Q131520'], [{'concept': 'Q838948'}, 'P136', 'Q130232']]}
SELECT DISTINCT ?v WHERE { ?v property:P1411 resource:Q131520 . ?v property:P136 resource:Q130232 . ?v rdf:type ontology:Q838948 }
drama film Academy Award for Best Cinematography
action filter_type
action intersection
action find_reverse
entity Academy Award for Best Cinematography
relation nominated for
action find_reverse
entity drama film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'nominated for', 'Academy Award for Best Cinematography'], [{'concept': 'work of art'}, 'genre', 'drama film']]}
SELECT DISTINCT ?v WHERE { ?v property:nominated_for resource:Academy_Award_for_Best_Cinematography . ?v property:genre resource:drama_film . ?v rdf:type ontology:work_of_art }
[]
work of art
Q602927 Q162729 Q244257 Q3851789 Q451558 Q936425 Q259574 Q944291 Q165627 Q1858039
SYSTEM
Some of them are The Lover, Braveheart, The Tree of Life, Matewan, The Turning Point, A Very Long Engagement, Les Misérables, Kundun, Sophie's Choice, Svengali
Q944291 Q206886 Q117315 Q4454590 Q302490 Q582138 Q202326 Q1624413 Q676341 Q80204 Q703011 Q913440 Q1294711 Q216006 Q125076 Q2579784 Q185214 Q1130664 Q745973 Q3851789 Q158023 Q166262 Q150804 Q165627 Q28193 Q44578 Q45839 Q172241 Q275553 Q206576 Q392441 Q612540 Q2604288 Q162729 Q51668 Q430535 Q517265 Q244257 Q223299 Q188718 Q15146380 Q15963780 Q244315 Q259574 Q159063 Q483941 Q1858039 Q222720 Q559893 Q1575490 Q1215005 Q1166180 Q63026 Q2340655 Q978974 Q25139 Q3404003 Q1722631 Q1216898 Q468033 Q646234 Q201674 Q759444 Q241085 Q936425 Q830874 Q670378 Q181776 Q663528 Q171861 Q614864 Q645735 Q15087230 Q152780 Q1077902 Q1546143 Q1532392 Q1167725 Q188845 Q602927 Q611043 Q918367 Q2413877 Q790090 Q272599 Q326114 Q646633 Q472600 Q208266 Q1543253 Q451603 Q643263 Q1155695 Q176517 Q128518 Q524849 Q319061 Q1122571 Q1197185 Q203574 Q1305647 Q220741 Q471716 Q471159 Q165651 Q1197684 Q1068328 Q190643 Q577754 Q171669 Q179018 Q1771288 Q276407 Q154581 Q303719 Q212775 Q63009 Q340187 Q451558 Q202211 Q1626186 Q952142 Q16028723 Q1218959 Q3521099 Q183081 Q17337292 Q20456 Q472361 Q180214 Q218589 Q190956 Q281296
AND((c(Q838948),P1411,Q131520), (c(Q838948),P136,Q130232))
action filter_type
action intersection
action find_reverse
entity Q131520
relation P1411
action find_reverse
entity Q130232
relation P136
type Q838948
[ANSWERS] were nominated for Academy Award for Best Cinematography and have drama film as genre
{'AND': [[{'concept': 'Q838948'}, 'P1411', 'Q131520'], [{'concept': 'Q838948'}, 'P136', 'Q130232']]}
SELECT DISTINCT ?v WHERE { ?v property:P1411 resource:Q131520 . ?v property:P136 resource:Q130232 . ?v rdf:type ontology:Q838948 }
Kundun A Civil Action The Piano Wings Over Honolulu The Mission Henry & June The Godfather Part III Hope and Glory Dead End Anna Karenina Arrowsmith The Man Who Wasn't There The Gorgeous Hussy Pan's Labyrinth Slumdog Millionaire Gravity Anna Christie Far from Heaven Malèna Matewan The White Ribbon Batman Begins The Pianist Sophie's Choice The New World Titanic Memoirs of a Geisha The Shawshank Redemption Changeling Hugo Girl with a Pearl Earring The Good Earth Ragtime Braveheart The Passion of the Christ Michael Collins Romeo and Juliet The Tree of Life The Color Purple The Bridge on the River Kwai Unbroken Carol There Will Be Blood Les Misérables The Reader Schindler's List Svengali Fargo The Wings of the Dove A Farewell to Arms Jonathan Livingston Seagull Julia The English Patient Inside Llewyn Davis Hoffa American Beauty Prisoners In Cold Blood A Little Princess Road to Perdition The Hindenburg The Deer Hunter Looking for Mr. Goodbar Bugsy A Very Long Engagement Cries and Whispers Days of Heaven Bonnie and Clyde Searching for Bobby Fischer The Artist Sayonara The Illusionist Ida Life of Pi Street Angel The Sign of the Cross Peyton Place The End of the Affair Rain Man The Lover Flashdance Mississippi Burning The Right to Love Avalon All Quiet on the Western Front True Grit The Patriot The Diving Bell and the Butterfly Out of Africa Shanghai Express On Golden Pond Sense and Sensibility The Grandmaster Reunion in Vienna Gladiator Barbary Coast Good Night, and Good Luck. The Unbearable Lightness of Being The Right Stuff A Room with a View Anthony Adverse City of God Barry Lyndon Born on the Fourth of July Fanny and Alexander The Natural Hell's Angels Platoon Morocco One Flew Over the Cuckoo's Nest Seabiscuit The River The Phantom of the Opera Gangs of New York An Affair to Remember The Last Emperor The Prince of Tides The Crusades The Turning Point Gandhi Atonement Three Colors: Red Mr. Turner The Last Picture Show The Grand Budapest Hotel No Country for Old Men Sicario Dances with Wolves Amistad Black Swan War Horse Amadeus The Day of the Locust
The Lover, Braveheart, The Tree of Life, Matewan, The Turning Point, A Very Long Engagement, Les Misérables, Kundun, Sophie's Choice and Svengali were nominated for Academy Award for Best Cinematography and have drama film as genre
The Lover Braveheart The Tree of Life Matewan The Turning Point A Very Long Engagement Les Misérables Kundun Sophie's Choice Svengali
action filter_type
action intersection
action find_reverse
entity Academy Award for Best Cinematography
relation nominated for
action find_reverse
entity drama film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'nominated for', 'Academy Award for Best Cinematography'], [{'concept': 'work of art'}, 'genre', 'drama film']]}
SELECT DISTINCT ?v WHERE { ?v property:nominated_for resource:Academy_Award_for_Best_Cinematography . ?v property:genre resource:drama_film . ?v rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2420727 Q936425
P161
Q502895
USER
Which people starred in A Very Long Engagement or Lady Godiva of Coventry ?
OR((Q936425,P161,c(Q502895)), (Q2420727,P161,c(Q502895)))
action filter_type
action union
action find
entity Q936425
relation P161
action find
entity Q2420727
relation P161
type Q502895
{'OR': [['Q936425', 'P161', {'concept': 'Q502895'}], ['Q2420727', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q936425 property:P161 ?k } UNION { resource:Q2420727 property:P161 ?k } } . ?k rdf:type ontology:Q502895 }
Lady Godiva of Coventry A Very Long Engagement
action filter_type
action union
action find
entity A Very Long Engagement
relation cast member
action find
entity Lady Godiva of Coventry
relation cast member
type common name
{'OR': [['A Very Long Engagement', 'cast member', {'concept': 'common name'}], ['Lady Godiva of Coventry', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { { resource:A_Very_Long_Engagement property:cast_member ?k } UNION { resource:Lady_Godiva_of_Coventry property:cast_member ?k } } . ?k rdf:type ontology:common_name }
[]
common name
Q949391 Q439588 Q41351 Q256028 Q579505 Q2865338 Q284895 Q715111 Q518457 Q317704
SYSTEM
Some of them are Jean-Paul Rouve, Torin Thatcher, Jodie Foster, Rex Reason, Jean-Claude Dreyfus, Arthur Shields, Sim Iness, Rufus, André Dussollier, Tchéky Karyo
Q3570732 Q229276 Q715111 Q1606541 Q240157 Q3289290 Q3438360 Q949391 Q3591136 Q8927 Q3168991 Q2121322 Q3166103 Q43203 Q3034988 Q3379789 Q606555 Q2956312 Q3170752 Q895091 Q439588 Q124389 Q16640873 Q3300121 Q497770 Q3310736 Q256028 Q615469 Q1930952 Q658664 Q41351 Q518457 Q281048 Q38554 Q3524276 Q304123 Q3439434 Q579505 Q3190953 Q317704 Q1429389 Q284895 Q329577 Q2865338 Q609514 Q450694 Q1347232 Q3082910 Q3386354 Q1187498 Q555672 Q3115415
OR((Q936425,P161,c(Q502895)), (Q2420727,P161,c(Q502895)))
action filter_type
action union
action find
entity Q936425
relation P161
action find
entity Q2420727
relation P161
type Q502895
[ANSWERS] starred in A Very Long Engagement or Lady Godiva of Coventry
{'OR': [['Q936425', 'P161', {'concept': 'Q502895'}], ['Q2420727', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q936425 property:P161 ?k } UNION { resource:Q2420727 property:P161 ?k } } . ?k rdf:type ontology:Q502895 }
Xavier Maly Maureen O'Hara Rufus Henry Brandon Julie Depardieu Marcel Philippot Rodolphe Pauly Jean-Paul Rouve Éric Fraticelli Marion Cotillard Jean-Pierre Becker Ticky Holgado Jean-Henri Chambois Clint Eastwood Dominique Bettenfeld Philippe Duquesne Clovis Cornillac Chantal Neuwirth Jean Berton Bouli Lanners Torin Thatcher Albert Dupontel Gérard Férat Maud Rayer Gaspard Ulliel Michel Robin Rex Reason Jean-Pierre Darroussin Michel Vuillermoz François Levantal Jodie Foster André Dussollier Eduard Franz Dominique Pinon Thierry Gibault Audrey Tautou Roger Rudel Jean-Claude Dreyfus Jérôme Kircher Tchéky Karyo Florence Thomassin Sim Iness Victor McLaglen Arthur Shields Urbain Cancelier Elina Löwensohn George Nader Frankie Pain Pierre Morin Denis Lavant Robert Warwick Grant Withers
Jean-Paul Rouve, Torin Thatcher, Jodie Foster, Rex Reason, Jean-Claude Dreyfus, Arthur Shields, Sim Iness, Rufus, André Dussollier and Tchéky Karyo starred in A Very Long Engagement or Lady Godiva of Coventry
Jean-Paul Rouve Torin Thatcher Jodie Foster Rex Reason Jean-Claude Dreyfus Arthur Shields Sim Iness Rufus André Dussollier Tchéky Karyo
action filter_type
action union
action find
entity A Very Long Engagement
relation cast member
action find
entity Lady Godiva of Coventry
relation cast member
type common name
{'OR': [['A Very Long Engagement', 'cast member', {'concept': 'common name'}], ['Lady Godiva of Coventry', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { { resource:A_Very_Long_Engagement property:cast_member ?k } UNION { resource:Lady_Godiva_of_Coventry property:cast_member ?k } } . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q1001378
USER
How many cinematic techniques did atleast 35 people do the dubbing for ?
(c(Q1001378),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 35
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?v ) WHERE { ?s rdf:type ontology:Q1001378 . ?i rdf:type ontology:Q502895 . ?s property:P725 ?i } GROUP BY ?s } . FILTER ( ?v >= 35 ) }
action count
action atleast
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 35
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?v ) WHERE { ?s rdf:type ontology:cinematic_technique . ?i rdf:type ontology:common_name . ?s property:voice_actor ?i } GROUP BY ?s } . FILTER ( ?v >= 35 ) }
[]
common name cinematic technique
SYSTEM
2
Q15270647 Q9321426
(c(Q1001378),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 35
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?v ) WHERE { ?s rdf:type ontology:Q1001378 . ?i rdf:type ontology:Q502895 . ?s property:P725 ?i } GROUP BY ?s } . FILTER ( ?v >= 35 ) }
Zootopia Finding Dory
2
action count
action atleast
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 35
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?v ) WHERE { ?s rdf:type ontology:cinematic_technique . ?i rdf:type ontology:common_name . ?s property:voice_actor ?i } GROUP BY ?s } . FILTER ( ?v >= 35 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2528574 Q518457
P27
Q15617994
USER
Which administrative territories are André Dussollier or Jean Kluger a civilian of ?
OR((Q518457,P27,c(Q15617994)), (Q2528574,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q518457
relation P27
action find
entity Q2528574
relation P27
type Q15617994
{'OR': [['Q518457', 'P27', {'concept': 'Q15617994'}], ['Q2528574', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q518457 property:P27 ?p } UNION { resource:Q2528574 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Jean Kluger André Dussollier
action filter_type
action union
action find
entity André Dussollier
relation country of citizenship
action find
entity Jean Kluger
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['André Dussollier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jean Kluger', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:André_Dussollier property:country_of_citizenship ?p } UNION { resource:Jean_Kluger property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q31
SYSTEM
France, Belgium
Q142 Q31
OR((Q518457,P27,c(Q15617994)), (Q2528574,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q518457
relation P27
action find
entity Q2528574
relation P27
type Q15617994
[ANSWERS] are André Dussollier or Jean Kluger a civilian of
{'OR': [['Q518457', 'P27', {'concept': 'Q15617994'}], ['Q2528574', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q518457 property:P27 ?p } UNION { resource:Q2528574 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
France Belgium
France and Belgium are André Dussollier or Jean Kluger a civilian of
France Belgium
action filter_type
action union
action find
entity André Dussollier
relation country of citizenship
action find
entity Jean Kluger
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['André Dussollier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jean Kluger', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:André_Dussollier property:country_of_citizenship ?p } UNION { resource:Jean_Kluger property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q142
P189
Q79529
USER
Which chemical substance was discovered at that administrative territory ?
(c(Q79529),P189,Q142)
action filter_type
action find_reverse
entity Q142
relation P189
type Q79529
[{'concept': 'Q79529'}, 'P189', 'Q142']
SELECT DISTINCT ?x WHERE { ?x property:P189 resource:Q142 . ?x rdf:type ontology:Q79529 }
France
action filter_type
action find_reverse
entity France
relation location of discovery
type chemical substance
[{'concept': 'chemical substance'}, 'location of discovery', 'France']
SELECT DISTINCT ?x WHERE { ?x property:location_of_discovery resource:France . ?x rdf:type ontology:chemical_substance }
[]
chemical substance
Clarification for simple ques.
Q31
SYSTEM
Did you mean Belgium ?
Q142 Q31
(c(Q79529),P189,Q142) (c(Q79529),P189,Q31)
[ANSWER]
[{'concept': 'Q79529'}, 'P189', 'Q142'] [{'concept': 'Q79529'}, 'P189', 'Q31']
SELECT DISTINCT ?x WHERE { ?x property:P189 resource:Q142 . ?x rdf:type ontology:Q79529 }
France Belgium
Did you mean Belgium ?
Belgium
[{'concept': 'chemical substance'}, 'location of discovery', 'France'] [{'concept': 'chemical substance'}, 'location of discovery', 'Belgium']
SELECT DISTINCT ?x WHERE { ?x property:location_of_discovery resource:France . ?x rdf:type ontology:chemical_substance }
[]
Simple Question (Coreferenced)
USER
No, I meant France. Could you tell me the answer for that?
(c(Q79529),P189,Q142)
Q142
[{'concept': 'Q79529'}, 'P189', 'Q142']
[{'concept': 'chemical substance'}, 'location of discovery', 'France']
[]
Q671
SYSTEM
francium
Q671
(c(Q79529),P189,Q142)
action filter_type
action find_reverse
entity Q142
relation P189
type Q79529
[ANSWER] was discovered at that administrative territory
[{'concept': 'Q79529'}, 'P189', 'Q142']
SELECT DISTINCT ?x WHERE { ?x property:P189 resource:Q142 . ?x rdf:type ontology:Q79529 }
francium
Francium was discovered at that administrative territory
francium
action filter_type
action find_reverse
entity France
relation location of discovery
type chemical substance
[{'concept': 'chemical substance'}, 'location of discovery', 'France']
SELECT DISTINCT ?x WHERE { ?x property:location_of_discovery resource:France . ?x rdf:type ontology:chemical_substance }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q361974 Q317704
P19
Q56061
USER
Which administrative territories are the birthplace of Tchéky Karyo or Adolf Grünbaum ?
OR((Q317704,P19,c(Q56061)), (Q361974,P19,c(Q56061)))
action filter_type
action union
action find
entity Q317704
relation P19
action find
entity Q361974
relation P19
type Q56061
{'OR': [['Q317704', 'P19', {'concept': 'Q56061'}], ['Q361974', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q317704 property:P19 ?z } UNION { resource:Q361974 property:P19 ?z } } . ?z rdf:type ontology:Q56061 }
Adolf Grünbaum Tchéky Karyo
action filter_type
action union
action find
entity Tchéky Karyo
relation place of birth
action find
entity Adolf Grünbaum
relation place of birth
type administrative territorial entity
{'OR': [['Tchéky Karyo', 'place of birth', {'concept': 'administrative territorial entity'}], ['Adolf Grünbaum', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Tchéky_Karyo property:place_of_birth ?z } UNION { resource:Adolf_Grünbaum property:place_of_birth ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q365 Q406
SYSTEM
Cologne, Istanbul
Q365 Q406
OR((Q317704,P19,c(Q56061)), (Q361974,P19,c(Q56061)))
action filter_type
action union
action find
entity Q317704
relation P19
action find
entity Q361974
relation P19
type Q56061
[ANSWERS] are the birthplace of Tchéky Karyo or Adolf Grünbaum
{'OR': [['Q317704', 'P19', {'concept': 'Q56061'}], ['Q361974', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q317704 property:P19 ?z } UNION { resource:Q361974 property:P19 ?z } } . ?z rdf:type ontology:Q56061 }
Cologne Istanbul
Cologne and Istanbul are the birthplace of Tchéky Karyo or Adolf Grünbaum
Cologne Istanbul
action filter_type
action union
action find
entity Tchéky Karyo
relation place of birth
action find
entity Adolf Grünbaum
relation place of birth
type administrative territorial entity
{'OR': [['Tchéky Karyo', 'place of birth', {'concept': 'administrative territorial entity'}], ['Adolf Grünbaum', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Tchéky_Karyo property:place_of_birth ?z } UNION { resource:Adolf_Grünbaum property:place_of_birth ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5782759
P190
Q56061
USER
Are Gaz-e Kheng a sister city of those ones ?
(Q5782759,P190,Q365) (Q5782759,P190,Q406)
action is_in
entity prev_answer
action find
entity Q5782759
relation P190
['Q5782759', 'P190', 'Q365'] ['Q5782759', 'P190', 'Q406']
ASK WHERE { resource:Q5782759 property:P190 ?h . VALUES ( ?h ) { ( resource:Q365 ) ( resource:Q406 ) } }
Gaz-e Kheng
action is_in
entity prev_answer
action find
entity Gaz-e Kheng
relation sister city
['Gaz-e Kheng', 'sister city', 'Cologne'] ['Gaz-e Kheng', 'sister city', 'Istanbul']
ASK WHERE { resource:Gaz-e_Kheng property:sister_city ?h . VALUES ( ?h ) { ( resource:Cologne ) ( resource:Istanbul ) } }
[]
administrative territorial entity
SYSTEM
NO
(Q5782759,P190,Q365) (Q5782759,P190,Q406)
action is_in
entity prev_answer
action find
entity Q5782759
relation P190
[ANSWER]
['Q5782759', 'P190', 'Q365'] ['Q5782759', 'P190', 'Q406']
ASK WHERE { resource:Q5782759 property:P190 ?h . VALUES ( ?h ) { ( resource:Q365 ) ( resource:Q406 ) } }
No
action is_in
entity prev_answer
action find
entity Gaz-e Kheng
relation sister city
['Gaz-e Kheng', 'sister city', 'Cologne'] ['Gaz-e Kheng', 'sister city', 'Istanbul']
ASK WHERE { resource:Gaz-e_Kheng property:sister_city ?h . VALUES ( ?h ) { ( resource:Cologne ) ( resource:Istanbul ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2262932 Q30
P495
Q15617994
USER
Is United States of America the origin of City Streets ?
(Q2262932,P495,Q30)
action is_in
entity Q30
action find
entity Q2262932
relation P495
['Q2262932', 'P495', 'Q30']
ASK WHERE { resource:Q2262932 property:P495 resource:Q30 }
City Streets United States of America
action is_in
entity United States of America
action find
entity City Streets
relation country of origin
['City Streets', 'country of origin', 'United States of America']
ASK WHERE { resource:City_Streets property:country_of_origin resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q2262932,P495,Q30)
action is_in
entity Q30
action find
entity Q2262932
relation P495
[ANSWER]
['Q2262932', 'P495', 'Q30']
ASK WHERE { resource:Q2262932 property:P495 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity City Streets
relation country of origin
['City Streets', 'country of origin', 'United States of America']
ASK WHERE { resource:City_Streets property:country_of_origin resource:United_States_of_America }
[]