Simple Question (Direct)
Simple Question
Q110687
P735
Q82799
USER
What the name that Aribert Wäscher is known by ?
(Q110687,P735,c(Q82799))
action filter_type
action find
entity Q110687
relation P735
type Q82799
['Q110687', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q110687 property:P735 ?z . ?z rdf:type ontology:Q82799 }
Aribert Wäscher
action filter_type
action find
entity Aribert Wäscher
relation given name
type name
['Aribert Wäscher', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Aribert_Wäscher property:given_name ?z . ?z rdf:type ontology:name }
[]
name
Q15149744
SYSTEM
Aribert
Q15149744
(Q110687,P735,c(Q82799))
action filter_type
action find
entity Q110687
relation P735
type Q82799
Known Champion [ANSWER]
['Q110687', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q110687 property:P735 ?z . ?z rdf:type ontology:Q82799 }
Aribert
Known Champion Aribert
Aribert
action filter_type
action find
entity Aribert Wäscher
relation given name
type name
['Aribert Wäscher', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Aribert_Wäscher property:given_name ?z . ?z rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q40831 Q110687
P136 P161
Q838948
USER
Which works of art do Aribert Wäscher star in and have comedy as genre ?
AND((c(Q838948),P161,Q110687), (c(Q838948),P136,Q40831))
action filter_type
action intersection
action find_reverse
entity Q110687
relation P161
action find_reverse
entity Q40831
relation P136
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q110687'], [{'concept': 'Q838948'}, 'P136', 'Q40831']]}
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q110687 . ?j property:P136 resource:Q40831 . ?j rdf:type ontology:Q838948 }
comedy Aribert Wäscher
action filter_type
action intersection
action find_reverse
entity Aribert Wäscher
relation cast member
action find_reverse
entity comedy
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Aribert Wäscher'], [{'concept': 'work of art'}, 'genre', 'comedy']]}
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Aribert_Wäscher . ?j property:genre resource:comedy . ?j rdf:type ontology:work_of_art }
[]
work of art
Q821420
SYSTEM
The Berliner
Q821420
AND((c(Q838948),P161,Q110687), (c(Q838948),P136,Q40831))
action filter_type
action intersection
action find_reverse
entity Q110687
relation P161
action find_reverse
entity Q40831
relation P136
type Q838948
Aribert Wäscher star in [ANSWER]
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q110687'], [{'concept': 'Q838948'}, 'P136', 'Q40831']]}
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q110687 . ?j property:P136 resource:Q40831 . ?j rdf:type ontology:Q838948 }
The Berliner
Aribert Wäscher star in The Berliner
The Berliner
action filter_type
action intersection
action find_reverse
entity Aribert Wäscher
relation cast member
action find_reverse
entity comedy
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Aribert Wäscher'], [{'concept': 'work of art'}, 'genre', 'comedy']]}
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Aribert_Wäscher . ?j property:genre resource:comedy . ?j rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q323452 Q110687
P161
Q838948
USER
Which works of art have Aribert Wäscher or Bernard Lee in their star cast ?
OR((c(Q838948),P161,Q110687), (c(Q838948),P161,Q323452))
action filter_type
action union
action find_reverse
entity Q110687
relation P161
action find_reverse
entity Q323452
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q110687'], [{'concept': 'Q838948'}, 'P161', 'Q323452']]}
SELECT DISTINCT ?m WHERE { { ?m property:P161 ?b . VALUES ( ?b ) { ( resource:Q110687 ) ( resource:Q323452 ) } } . ?m rdf:type ontology:Q838948 }
Bernard Lee Aribert Wäscher
action filter_type
action union
action find_reverse
entity Aribert Wäscher
relation cast member
action find_reverse
entity Bernard Lee
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Aribert Wäscher'], [{'concept': 'work of art'}, 'cast member', 'Bernard Lee']]}
SELECT DISTINCT ?m WHERE { { ?m property:cast_member ?b . VALUES ( ?b ) { ( resource:Aribert_Wäscher ) ( resource:Bernard_Lee ) } } . ?m rdf:type ontology:work_of_art }
[]
work of art
Q1197022 Q107761 Q1701661 Q1400403 Q179453 Q4815 Q3041350 Q2073030 Q6937759 Q3349169
SYSTEM
Some of them are The Spy Who Came in from the Cold, You Only Live Twice, Lady Windermere's Fan, Tiefland, Across the Bridge, Percy's Progress, Dunkirk, Kidnapped, Murder in Soho, Odette
Q569185 Q18209399 Q3293133 Q1516584 Q320423 Q821420 Q6494413 Q3020193 Q1701661 Q2073030 Q7730733 Q820654 Q3634025 Q1241844 Q106440 Q1767400 Q5391720 Q1470370 Q1197022 Q3813352 Q309289 Q1617364 Q3388502 Q2349200 Q106571 Q475049 Q3349169 Q21869738 Q21869630 Q107761 Q1400403 Q17098495 Q3092 Q102754 Q2676081 Q955018 Q573077 Q3818573 Q21869504 Q5159466 Q782338 Q20814780 Q7713821 Q5216024 Q3423981 Q4658896 Q27204 Q3842236 Q3425099 Q1426983 Q1154209 Q1171366 Q179453 Q1451565 Q442433 Q20814519 Q19892508 Q107724 Q6912807 Q3766291 Q107914 Q1613065 Q1605291 Q7719805 Q324734 Q107894 Q7334801 Q759344 Q3282757 Q3426743 Q847656 Q1199631 Q271830 Q21869775 Q6785332 Q1484033 Q3474027 Q5022155 Q4815 Q1638257 Q492861 Q3072220 Q3041350 Q324717 Q3234736 Q334780 Q4000544 Q1444741 Q3694802 Q22967698 Q2326393 Q1034919 Q21869394 Q43838 Q12124507 Q6937759
OR((c(Q838948),P161,Q110687), (c(Q838948),P161,Q323452))
action filter_type
action union
action find_reverse
entity Q110687
relation P161
action find_reverse
entity Q323452
relation P161
type Q838948
[ANSWERS] have Aribert Wäscher or Bernard Lee in their star cast
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q110687'], [{'concept': 'Q838948'}, 'P161', 'Q323452']]}
SELECT DISTINCT ?m WHERE { { ?m property:P161 ?b . VALUES ( ?b ) { ( resource:Q110687 ) ( resource:Q323452 ) } } . ?m rdf:type ontology:Q838948 }
Attack on Baku Paganini Single-Handed Clothes Make the Man The Spy Who Loved Me The Berliner Last Holiday The Key Lady Windermere's Fan Kidnapped The Double Event The Life and Loves of Tschaikovsky The Yellow Flag Thunder, Lightning and Sunshine Goldfinger Bons Baisers de Hong Kong Nowhere to Go Beat the Devil The Spy Who Came in from the Cold Katharina Knie The Man with the Golden Gun Dr. Terror's House of Horrors High Flight The Fallen Idol From Russia with Love Amphitryon Odette Princess Olala The Mistress of the Governor You Only Live Twice Tiefland The Great and the Little Love The Man Between Dr. No The Swedish Nightingale Whistle Down the Wind Victor and Victoria Savoy Hotel 217 The Lady and the Chauffeur Cone of Silence The Frozen Limits A Strange Guest The Angry Silence Danger Within Cage of Gold A Place to Go Live and Let Die Madame Bovary The Raging Moon The Purple Plain Father Brown The L-Shaped Room Across the Bridge Women Are Better Diplomats The Flute Concert of Sans-Souci Falstaff in Vienna Donogoo Tonka Thunderball Morning Departure Joan of Arc Diamonds Are Forever Crossplot Hangmen, Women and Soldiers The Brain Bel Ami On Her Majesty's Secret Service Ring of Spies Goodbye, Franziska The Secret Partner Let George Do It! Fire Down Below The Spanish Gardener The Third Man Ronny Master of the World When the Evening Bells Ring Saturday Night Out Calling Bulldog Drummond Percy's Progress O.K. Connery The Battle of the River Plate Beyond This Place Dunkirk Rembrandt Fury at Smugglers' Bay Moonraker Princess Turandot Frankenstein and the Monster from Hell The Private Life of Louis XIV Six Girls and a Room for the Night City of Anatol Capriccio The Hanseatics Liebe, Tod und Teufel Gift Horse Murder in Soho
The Spy Who Came in from the Cold, You Only Live Twice, Lady Windermere's Fan, Tiefland, Across the Bridge, Percy's Progress, Dunkirk, Kidnapped, Murder in Soho and Odette have Aribert Wäscher or Bernard Lee in their star cast
The Spy Who Came in from the Cold You Only Live Twice Lady Windermere's Fan Tiefland Across the Bridge Percy's Progress Dunkirk Kidnapped Murder in Soho Odette
action filter_type
action union
action find_reverse
entity Aribert Wäscher
relation cast member
action find_reverse
entity Bernard Lee
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Aribert Wäscher'], [{'concept': 'work of art'}, 'cast member', 'Bernard Lee']]}
SELECT DISTINCT ?m WHERE { { ?m property:cast_member ?b . VALUES ( ?b ) { ( resource:Aribert_Wäscher ) ( resource:Bernard_Lee ) } } . ?m rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q107761
P1441
Q6619679
USER
How many fictional humanoids are from the works of You Only Live Twice ?
(c(Q6619679),P1441,Q107761)
action count
action filter_type
action find_reverse
entity Q107761
relation P1441
type Q6619679
[{'concept': 'Q6619679'}, 'P1441', 'Q107761']
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:P1441 resource:Q107761 . ?p rdf:type ontology:Q6619679 }
You Only Live Twice
action count
action filter_type
action find_reverse
entity You Only Live Twice
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'You Only Live Twice']
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:present_in_work resource:You_Only_Live_Twice . ?p rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
SYSTEM
11
Q20047798 Q10332942 Q287297 Q1104987 Q2756439 Q246154 Q2009573 Q3027917 Q2078571 Q3784528 Q211414
(c(Q6619679),P1441,Q107761)
action count
action filter_type
action find_reverse
entity Q107761
relation P1441
type Q6619679
[ANSWER]
[{'concept': 'Q6619679'}, 'P1441', 'Q107761']
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:P1441 resource:Q107761 . ?p rdf:type ontology:Q6619679 }
Ling Mr. Osato Q Ernst Stavro Blofeld Kissy Suzuki M James Bond Henderson Aki Helga Brandt Miss Moneypenny
11
action count
action filter_type
action find_reverse
entity You Only Live Twice
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'You Only Live Twice']
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:present_in_work resource:You_Only_Live_Twice . ?p rdf:type ontology:fictional_humanoid }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q4525
P1441
Q6619679
USER
And also tell me about NCIS?
(c(Q6619679),P1441,Q4525)
action count
action filter_type
action find_reverse
entity Q4525
relation P1441
type Q6619679
[{'concept': 'Q6619679'}, 'P1441', 'Q4525']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u rdf:type ontology:Q6619679 . ?u property:P1441 resource:Q4525 }
NCIS
action count
action filter_type
action find_reverse
entity NCIS
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'NCIS']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u rdf:type ontology:fictional_humanoid . ?u property:present_in_work resource:NCIS }
[]
fictional humanoid
SYSTEM
71
Q27662670 Q27662671 Q27662673 Q27662678 Q857012 Q909506 Q838560 Q1078858 Q27662716 Q27662714 Q27662713 Q27662711 Q27662710 Q27662719 Q27662709 Q27662702 Q27662703 Q27662704 Q27662706 Q27662572 Q27662571 Q27662577 Q27662576 Q27662574 Q27662569 Q27662567 Q3229651 Q14916063 Q27663301 Q15613352 Q27663294 Q27663296 Q12302089 Q772107 Q27662689 Q27662688 Q27662681 Q27662680 Q27662683 Q27662685 Q27662686 Q480244 Q27662698 Q27662699 Q27662692 Q27662693 Q27662696 Q27662695 Q3177105 Q27662676 Q27662639 Q27662636 Q27662637 Q27662649 Q27662647 Q27662646 Q27662641 Q27662643 Q3313307 Q27662658 Q27662657 Q27662654 Q27662655 Q27662650 Q1412780 Q27662661 Q27662660 Q27662667 Q27662665 Q27662664 Q27662668
(c(Q6619679),P1441,Q4525)
action count
action filter_type
action find_reverse
entity Q4525
relation P1441
type Q6619679
[ANSWER]
[{'concept': 'Q6619679'}, 'P1441', 'Q4525']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u rdf:type ontology:Q6619679 . ?u property:P1441 resource:Q4525 }
Carol Wilson Paula Cassidy Dr. Rachel Cranston Michelle Lee Caitlin Todd James Palmer Timothy McGee Leroy Jethro Gibbs Dr. Jordan Hampton Cassie Yates Gerald Jackson Chad Dunham Nikki Jardine Stephanie Flynn Simon Cade Eli David Joanna Teague Maureen Cabot Agah Bayar Grace Confalone Nick Torres Anthony DiNozzo, Sr. Thomas Morrow Emily Fornell Alexandra Quinn Clayton Reeves Leon Vance Jeanne Benoit Rebecca Chase Ellie Bishop Victor Sterling Shannon Gibbs Ari Haswari Anthony DiNozzo Paloma Reynosa Harper Dearing René Benoit Samantha Ryan Michael Rivkin Merton Bell Jonathan Cole Abby Sciuto Charles Sterling Hollis Mann Jonas Cobb Margaret Allison Hart Jackson Gibbs Clayton Jarvis Jennifer Shepard Brent Langer Delilah Fielding Tobias C. Fornell Tess Monroe Adam Eshel Jerome Craig Orli Elbaz Jake Malloy Cyril Taft Mike Franks Diane Sterling Abigail Borin Sarah Porter Zoe Keates Stan Burley Donald Mallard Trent Kort Ned Dorneget Alejandro Rivera Leyla Shakarji Richard Parsons E. J. Barrett
71
action count
action filter_type
action find_reverse
entity NCIS
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'NCIS']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u rdf:type ontology:fictional_humanoid . ?u property:present_in_work resource:NCIS }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q4525
P1441
Q6619679 Q15619164
USER
How many fictional humanoids and abstract beings are present in NCIS ?
(c(Q6619679),P1441,Q4525) (c(Q15619164),P1441,Q4525)
action count
action union
action filter_type
action find_reverse
entity Q4525
relation P1441
type Q6619679
action filter_type
action find_reverse
entity Q4525
relation P1441
type Q15619164
[{'concept': 'Q6619679'}, 'P1441', 'Q4525'] [{'concept': 'Q15619164'}, 'P1441', 'Q4525']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { VALUES ( ?h ) { ( ontology:Q6619679 ) ( ontology:Q15619164 ) } . ?i rdf:type ?h }
NCIS
action count
action union
action filter_type
action find_reverse
entity NCIS
relation present in work
type fictional humanoid
action filter_type
action find_reverse
entity NCIS
relation present in work
type abstract being
[{'concept': 'fictional humanoid'}, 'present in work', 'NCIS'] [{'concept': 'abstract being'}, 'present in work', 'NCIS']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { VALUES ( ?h ) { ( ontology:fictional_humanoid ) ( ontology:abstract_being ) } . ?i rdf:type ?h }
[]
fictional humanoid abstract being
SYSTEM
71 fictional humanoids and 1 abstract beings
Q27663301 Q27662689 Q27662688 Q27662681 Q27662680 Q27662683 Q27662685 Q27662686 Q27662639 Q27662676 Q27662670 Q27662569 Q27662673 Q27662567 Q27662678 Q27662636 Q27662637 Q27662716 Q27662714 Q27662713 Q27662658 Q14916063 Q27662710 Q27662719 Q27662698 Q27662699 Q27662692 Q27662693 Q27662696 Q27663294 Q27663296 Q27662704 Q3313307 Q15613352 Q3229651 Q27662649 Q839093 Q27662647 Q27662646 Q27662641 Q27662643 Q12302089 Q909506 Q27662695 Q480244 Q27662671 Q857012 Q838560 Q27662657 Q27662654 Q27662655 Q27662650 Q3177105 Q27662702 Q1412780 Q27662703 Q1078858 Q27662577 Q27662709 Q27662661 Q27662660 Q27662667 Q27662665 Q27662664 Q772107 Q27662572 Q27662571 Q27662668 Q27662711 Q27662576 Q27662706 Q27662574
(c(Q6619679),P1441,Q4525) (c(Q15619164),P1441,Q4525)
action count
action union
action filter_type
action find_reverse
entity Q4525
relation P1441
type Q6619679
action filter_type
action find_reverse
entity Q4525
relation P1441
type Q15619164
[ANSWER]
[{'concept': 'Q6619679'}, 'P1441', 'Q4525'] [{'concept': 'Q15619164'}, 'P1441', 'Q4525']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { VALUES ( ?h ) { ( ontology:Q6619679 ) ( ontology:Q15619164 ) } . ?i rdf:type ?h }
Rebecca Chase Paloma Reynosa Harper Dearing René Benoit Samantha Ryan Michael Rivkin Merton Bell Jonathan Cole Delilah Fielding Brent Langer Carol Wilson Alexandra Quinn Dr. Rachel Cranston Clayton Reeves Michelle Lee Tobias C. Fornell Tess Monroe Dr. Jordan Hampton Cassie Yates Gerald Jackson Diane Sterling Jeanne Benoit Nikki Jardine Stephanie Flynn Charles Sterling Hollis Mann Jonas Cobb Margaret Allison Hart Jackson Gibbs Victor Sterling Shannon Gibbs Maureen Cabot Mike Franks Ellie Bishop Leon Vance Adam Eshel Ziva David Jerome Craig Orli Elbaz Jake Malloy Cyril Taft Ari Haswari James Palmer Clayton Jarvis Abby Sciuto Paula Cassidy Caitlin Todd Timothy McGee Abigail Borin Sarah Porter Zoe Keates Stan Burley Jennifer Shepard Eli David Donald Mallard Joanna Teague Leroy Jethro Gibbs Anthony DiNozzo, Sr. Simon Cade Trent Kort Ned Dorneget Alejandro Rivera Leyla Shakarji Richard Parsons Anthony DiNozzo Grace Confalone Nick Torres E. J. Barrett Chad Dunham Thomas Morrow Agah Bayar Emily Fornell
71 fictional humanoids and 1 abstract beings
action count
action union
action filter_type
action find_reverse
entity NCIS
relation present in work
type fictional humanoid
action filter_type
action find_reverse
entity NCIS
relation present in work
type abstract being
[{'concept': 'fictional humanoid'}, 'present in work', 'NCIS'] [{'concept': 'abstract being'}, 'present in work', 'NCIS']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { VALUES ( ?h ) { ( ontology:fictional_humanoid ) ( ontology:abstract_being ) } . ?i rdf:type ?h }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19369265 Q107761
P170 P161
Q502895
USER
Which people are in You Only Live Twice or are the creaters of Messalina ?
OR((Q107761,P161,c(Q502895)), (Q19369265,P170,c(Q502895)))
action filter_type
action union
action find
entity Q107761
relation P161
action find
entity Q19369265
relation P170
type Q502895
{'OR': [['Q107761', 'P161', {'concept': 'Q502895'}], ['Q19369265', 'P170', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . { { resource:Q107761 property:P161 ?d } UNION { resource:Q19369265 property:P170 ?d } } }
Messalina You Only Live Twice
action filter_type
action union
action find
entity You Only Live Twice
relation cast member
action find
entity Messalina
relation creator
type common name
{'OR': [['You Only Live Twice', 'cast member', {'concept': 'common name'}], ['Messalina', 'creator', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . { { resource:You_Only_Live_Twice property:cast_member ?d } UNION { resource:Messalina property:creator ?d } } }
[]
common name
Q1374039 Q5308817 Q314914 Q434790 Q449493 Q6572984 Q323452 Q674451 Q706134 Q3430193
SYSTEM
Some of them are Michael Chow, George Murcell, Donald Pleasence, Tsai Chin, Mie Hama, Francisca Tu, Bernard Lee, Shane Rimmer, Ed Bishop, Ric Young
Q725674 Q674451 Q314914 Q6572984 Q271861 Q29092 Q203828 Q706134 Q449493 Q4573 Q1754108 Q550703 Q1174699 Q3548332 Q323452 Q1374039 Q62353 Q961187 Q1488230 Q545858 Q232860 Q434790 Q3430193 Q5308817
OR((Q107761,P161,c(Q502895)), (Q19369265,P170,c(Q502895)))
action filter_type
action union
action find
entity Q107761
relation P161
action find
entity Q19369265
relation P170
type Q502895
[ANSWERS] are in You Only Live Twice or are the creaters of Messalina
{'OR': [['Q107761', 'P161', {'concept': 'Q502895'}], ['Q19369265', 'P170', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . { { resource:Q107761 property:P161 ?d } UNION { resource:Q19369265 property:P170 ?d } } }
Burt Kwouk Shane Rimmer Donald Pleasence Francisca Tu Akiko Wakabayashi Desmond Llewelyn Gustave Moreau Ed Bishop Mie Hama Sean Connery William Sylvester Edward Mulhare David Healy Teru Shimada Bernard Lee Michael Chow Karin Dor Charles Gray Tetsurō Tamba Alexander Knox Lois Maxwell Tsai Chin Ric Young George Murcell
Michael Chow, George Murcell, Donald Pleasence, Tsai Chin, Mie Hama, Francisca Tu, Bernard Lee, Shane Rimmer, Ed Bishop and Ric Young are in You Only Live Twice or are the creaters of Messalina
Michael Chow George Murcell Donald Pleasence Tsai Chin Mie Hama Francisca Tu Bernard Lee Shane Rimmer Ed Bishop Ric Young
action filter_type
action union
action find
entity You Only Live Twice
relation cast member
action find
entity Messalina
relation creator
type common name
{'OR': [['You Only Live Twice', 'cast member', {'concept': 'common name'}], ['Messalina', 'creator', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . { { resource:You_Only_Live_Twice property:cast_member ?d } UNION { resource:Messalina property:creator ?d } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q19369265
P170
Q502895
USER
How many people are the creaters of Messalina ?
(Q19369265,P170,c(Q502895))
action count
action filter_type
action find
entity Q19369265
relation P170
type Q502895
['Q19369265', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Q19369265 property:P170 ?b . ?b rdf:type ontology:Q502895 }
Messalina
action count
action filter_type
action find
entity Messalina
relation creator
type common name
['Messalina', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Messalina property:creator ?b . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q203828
(Q19369265,P170,c(Q502895))
action count
action filter_type
action find
entity Q19369265
relation P170
type Q502895
[ANSWER]
['Q19369265', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Q19369265 property:P170 ?b . ?b rdf:type ontology:Q502895 }
Gustave Moreau
1
action count
action filter_type
action find
entity Messalina
relation creator
type common name
['Messalina', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Messalina property:creator ?b . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q20202100
P170
Q502895
USER
And what about Study for Cotopaxi?
(Q20202100,P170,c(Q502895))
action count
action filter_type
action find
entity Q20202100
relation P170
type Q502895
['Q20202100', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { resource:Q20202100 property:P170 ?s . ?s rdf:type ontology:Q502895 }
Study for Cotopaxi
action count
action filter_type
action find
entity Study for Cotopaxi
relation creator
type common name
['Study for Cotopaxi', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { resource:Study_for_Cotopaxi property:creator ?s . ?s rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q366212
(Q20202100,P170,c(Q502895))
action count
action filter_type
action find
entity Q20202100
relation P170
type Q502895
[ANSWER]
['Q20202100', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { resource:Q20202100 property:P170 ?s . ?s rdf:type ontology:Q502895 }
Frederic Edwin Church
1
action count
action filter_type
action find
entity Study for Cotopaxi
relation creator
type common name
['Study for Cotopaxi', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { resource:Study_for_Cotopaxi property:creator ?s . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q20190278
Q502895
USER
And also tell me about Woman in Black?
(Q20190278,P170,c(Q502895))
action count
action filter_type
action find
entity Q20190278
relation P170
type Q502895
['Q20190278', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?u rdf:type ontology:Q502895 . resource:Q20190278 property:P170 ?u }
Woman in Black
action count
action filter_type
action find
entity Woman in Black
relation creator
type common name
['Woman in Black', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?u rdf:type ontology:common_name . resource:Woman_in_Black property:creator ?u }
[]
common name
SYSTEM
1
(Q20190278,P170,c(Q502895))
action count
action filter_type
action find
entity Q20190278
relation P170
type Q502895
[ANSWER]
['Q20190278', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?u rdf:type ontology:Q502895 . resource:Q20190278 property:P170 ?u }
1
action count
action filter_type
action find
entity Woman in Black
relation creator
type common name
['Woman in Black', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?u rdf:type ontology:common_name . resource:Woman_in_Black property:creator ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20190278
P195
Q33506
USER
Which museum contains Woman in Black in it ?
(Q20190278,P195,c(Q33506))
action filter_type
action find
entity Q20190278
relation P195
type Q33506
['Q20190278', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ?o WHERE { resource:Q20190278 property:P195 ?o . ?o rdf:type ontology:Q33506 }
Woman in Black
action filter_type
action find
entity Woman in Black
relation collection
type museum
['Woman in Black', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ?o WHERE { resource:Woman_in_Black property:collection ?o . ?o rdf:type ontology:museum }
[]
museum
Q214867
SYSTEM
National Gallery of Art, Washington
Q214867
(Q20190278,P195,c(Q33506))
action filter_type
action find
entity Q20190278
relation P195
type Q33506
[ANSWER] contains Woman in Black in it
['Q20190278', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ?o WHERE { resource:Q20190278 property:P195 ?o . ?o rdf:type ontology:Q33506 }
National Gallery of Art, Washington
National Gallery of Art, Washington contains Woman in Black in it
National Gallery of Art, Washington
action filter_type
action find
entity Woman in Black
relation collection
type museum
['Woman in Black', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ?o WHERE { resource:Woman_in_Black property:collection ?o . ?o rdf:type ontology:museum }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q214867 Q678382
P17
Q15617994
USER
Does National Gallery of Art, Washington belong to Harmsdorf ?
(Q214867,P17,Q678382)
action is_in
entity Q678382
action find
entity Q214867
relation P17
['Q214867', 'P17', 'Q678382']
ASK WHERE { resource:Q214867 property:P17 resource:Q678382 }
National Gallery of Art, Washington Harmsdorf
action is_in
entity Harmsdorf
action find
entity National Gallery of Art, Washington
relation country
['National Gallery of Art, Washington', 'country', 'Harmsdorf']
ASK WHERE { resource:National_Gallery_of_Art,_Washington property:country resource:Harmsdorf }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q214867,P17,Q678382)
action is_in
entity Q678382
action find
entity Q214867
relation P17
[ANSWER]
['Q214867', 'P17', 'Q678382']
ASK WHERE { resource:Q214867 property:P17 resource:Q678382 }
No
action is_in
entity Harmsdorf
action find
entity National Gallery of Art, Washington
relation country
['National Gallery of Art, Washington', 'country', 'Harmsdorf']
ASK WHERE { resource:National_Gallery_of_Art,_Washington property:country resource:Harmsdorf }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q314914
P69
Q3914
USER
Where was Donald Pleasence educated ?
(Q314914,P69,c(Q3914))
action filter_type
action find
entity Q314914
relation P69
type Q3914
['Q314914', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?a WHERE { resource:Q314914 property:P69 ?a . ?a rdf:type ontology:Q3914 }
Donald Pleasence
action filter_type
action find
entity Donald Pleasence
relation educated at
type school
['Donald Pleasence', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?a WHERE { resource:Donald_Pleasence property:educated_at ?a . ?a rdf:type ontology:school }
[]
school
Q5332220
SYSTEM
Ecclesfield School
Q5332220
(Q314914,P69,c(Q3914))
action filter_type
action find
entity Q314914
relation P69
type Q3914
Donald Pleasence was educated at [ANSWER]
['Q314914', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?a WHERE { resource:Q314914 property:P69 ?a . ?a rdf:type ontology:Q3914 }
Ecclesfield School
Donald Pleasence was educated at Ecclesfield School
Ecclesfield School
action filter_type
action find
entity Donald Pleasence
relation educated at
type school
['Donald Pleasence', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?a WHERE { resource:Donald_Pleasence property:educated_at ?a . ?a rdf:type ontology:school }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3701575
Q3914
USER
And how about David Gergen?
(Q3701575,P69,c(Q3914))
action filter_type
action find
entity Q3701575
relation P69
type Q3914
['Q3701575', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?e WHERE { resource:Q3701575 property:P69 ?e . ?e rdf:type ontology:Q3914 }
David Gergen
action filter_type
action find
entity David Gergen
relation educated at
type school
['David Gergen', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?e WHERE { resource:David_Gergen property:educated_at ?e . ?e rdf:type ontology:school }
[]
school
Q49122
SYSTEM
Harvard Law School
Q49122
(Q3701575,P69,c(Q3914))
action filter_type
action find
entity Q3701575
relation P69
type Q3914
[ANSWER]
['Q3701575', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?e WHERE { resource:Q3701575 property:P69 ?e . ?e rdf:type ontology:Q3914 }
Harvard Law School
Harvard Law School
action filter_type
action find
entity David Gergen
relation educated at
type school
['David Gergen', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?e WHERE { resource:David_Gergen property:educated_at ?e . ?e rdf:type ontology:school }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18287969 Q110687
P27
Q1048835
USER
Which political territories are Aribert Wäscher or Erwin Körber a civilian of ?
OR((Q110687,P27,c(Q1048835)), (Q18287969,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q110687
relation P27
action find
entity Q18287969
relation P27
type Q1048835
{'OR': [['Q110687', 'P27', {'concept': 'Q1048835'}], ['Q18287969', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?v ) { ( resource:Q18287969 ) ( resource:Q110687 ) } . ?v property:P27 ?m } . ?m rdf:type ontology:Q1048835 }
Erwin Körber Aribert Wäscher
action filter_type
action union
action find
entity Aribert Wäscher
relation country of citizenship
action find
entity Erwin Körber
relation country of citizenship
type political territorial entity
{'OR': [['Aribert Wäscher', 'country of citizenship', {'concept': 'political territorial entity'}], ['Erwin Körber', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?v ) { ( resource:Erwin_Körber ) ( resource:Aribert_Wäscher ) } . ?v property:country_of_citizenship ?m } . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
OR((Q110687,P27,c(Q1048835)), (Q18287969,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q110687
relation P27
action find
entity Q18287969
relation P27
type Q1048835
[ANSWER] is Aribert Wäscher or Erwin Körber a civilian of
{'OR': [['Q110687', 'P27', {'concept': 'Q1048835'}], ['Q18287969', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?v ) { ( resource:Q18287969 ) ( resource:Q110687 ) } . ?v property:P27 ?m } . ?m rdf:type ontology:Q1048835 }
Germany
Germany is Aribert Wäscher or Erwin Körber a civilian of
Germany
action filter_type
action union
action find
entity Aribert Wäscher
relation country of citizenship
action find
entity Erwin Körber
relation country of citizenship
type political territorial entity
{'OR': [['Aribert Wäscher', 'country of citizenship', {'concept': 'political territorial entity'}], ['Erwin Körber', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?v ) { ( resource:Erwin_Körber ) ( resource:Aribert_Wäscher ) } . ?v property:country_of_citizenship ?m } . ?m rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P112
Q56061 Q180516
USER
How many administrative territories and rooms were started by that political territory ?
(c(Q56061),P112,Q183) (c(Q180516),P112,Q183) (c(Q56061),P112,Q183) (c(Q180516),P112,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P112
type Q56061
action filter_type
action find_reverse
entity Q183
relation P112
type Q180516
[{'concept': 'Q56061'}, 'P112', 'Q183'] [{'concept': 'Q180516'}, 'P112', 'Q183'] [{'concept': 'Q56061'}, 'P112', 'Q183'] [{'concept': 'Q180516'}, 'P112', 'Q183']
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u rdf:type ?g . VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q180516 ) } }
action count
action union
action filter_type
action find_reverse
entity Germany
relation founder
type administrative territorial entity
action filter_type
action find_reverse
entity Germany
relation founder
type room
[{'concept': 'administrative territorial entity'}, 'founder', 'Germany'] [{'concept': 'room'}, 'founder', 'Germany'] [{'concept': 'administrative territorial entity'}, 'founder', 'Germany'] [{'concept': 'room'}, 'founder', 'Germany']
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u rdf:type ?g . VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:room ) } }
[]
administrative territorial entity room
SYSTEM
1 administrative territories and 1 rooms
Q141720 Q458
(c(Q56061),P112,Q183) (c(Q180516),P112,Q183) (c(Q56061),P112,Q183) (c(Q180516),P112,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P112
type Q56061
action filter_type
action find_reverse
entity Q183
relation P112
type Q180516
[ANSWER]
[{'concept': 'Q56061'}, 'P112', 'Q183'] [{'concept': 'Q180516'}, 'P112', 'Q183'] [{'concept': 'Q56061'}, 'P112', 'Q183'] [{'concept': 'Q180516'}, 'P112', 'Q183']
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u rdf:type ?g . VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q180516 ) } }
European Air Transport Command European Union
1 administrative territories and 1 rooms
action count
action union
action filter_type
action find_reverse
entity Germany
relation founder
type administrative territorial entity
action filter_type
action find_reverse
entity Germany
relation founder
type room
[{'concept': 'administrative territorial entity'}, 'founder', 'Germany'] [{'concept': 'room'}, 'founder', 'Germany'] [{'concept': 'administrative territorial entity'}, 'founder', 'Germany'] [{'concept': 'room'}, 'founder', 'Germany']
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u rdf:type ?g . VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:room ) } }
[]