Simple Question (Direct)
Simple Question
Q1194147
P840
Q56061
USER
Which narrative location is The Captain from Köpenick set in ?
(Q1194147,P840,c(Q56061))
action filter_type
action find
entity Q1194147
relation P840
type Q56061
['Q1194147', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1194147 property:P840 ?q . ?q rdf:type ontology:Q56061 }
The Captain from Köpenick
action filter_type
action find
entity The Captain from Köpenick
relation narrative location
type administrative territorial entity
['The Captain from Köpenick', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:The_Captain_from_Köpenick property:narrative_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1194147,P840,c(Q56061))
action filter_type
action find
entity Q1194147
relation P840
type Q56061
The Captain from Köpenick is set in [ANSWER]
['Q1194147', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1194147 property:P840 ?q . ?q rdf:type ontology:Q56061 }
Berlin
The Captain from Köpenick is set in Berlin
Berlin
action filter_type
action find
entity The Captain from Köpenick
relation narrative location
type administrative territorial entity
['The Captain from Köpenick', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:The_Captain_from_Köpenick property:narrative_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1194147
P58
Q502895
USER
Who wrote the screenplay for that work of art ?
(Q64,P58,c(Q502895))
action filter_type
action find
entity Q1194147
relation P58
type Q502895
['Q64', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1194147 property:P58 ?g . ?g rdf:type ontology:Q502895 }
The Captain from Köpenick
action filter_type
action find
entity The Captain from Köpenick
relation screenwriter
type common name
['Berlin', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:The_Captain_from_Köpenick property:screenwriter ?g . ?g rdf:type ontology:common_name }
[]
common name
Q76820
SYSTEM
Carl Zuckmayer
Q76820
(Q64,P58,c(Q502895))
action filter_type
action find
entity Q1194147
relation P58
type Q502895
[ANSWER] wrote the screenplay for that work of art
['Q64', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1194147 property:P58 ?g . ?g rdf:type ontology:Q502895 }
Carl Zuckmayer
Carl Zuckmayer wrote the screenplay for that work of art
Carl Zuckmayer
action filter_type
action find
entity The Captain from Köpenick
relation screenwriter
type common name
['Berlin', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:The_Captain_from_Köpenick property:screenwriter ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1194147
P344
Q502895
USER
Who is the cinematographer of that work of art ?
(Q76820,P344,c(Q502895))
action filter_type
action find
entity Q1194147
relation P344
type Q502895
['Q76820', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q1194147 property:P344 ?s }
The Captain from Köpenick
action filter_type
action find
entity The Captain from Köpenick
relation director of photography
type common name
['Carl Zuckmayer', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:The_Captain_from_Köpenick property:director_of_photography ?s }
[]
common name
Q1382764
SYSTEM
Ewald Daub
Q1382764
(Q76820,P344,c(Q502895))
action filter_type
action find
entity Q1194147
relation P344
type Q502895
The cinematographer of that work of art is Captain [ANSWER]
['Q76820', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q1194147 property:P344 ?s }
Ewald Daub
The cinematographer of that work of art is Captain Ewald Daub
Ewald Daub
action filter_type
action find
entity The Captain from Köpenick
relation director of photography
type common name
['Carl Zuckmayer', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:The_Captain_from_Köpenick property:director_of_photography ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1382764
P344
Q838948
USER
How many works of art have Ewald Daub as cinematographer ?
(c(Q838948),P344,Q1382764)
action count
action filter_type
action find_reverse
entity Q1382764
relation P344
type Q838948
[{'concept': 'Q838948'}, 'P344', 'Q1382764']
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P344 resource:Q1382764 . ?r rdf:type ontology:Q838948 }
Ewald Daub
action count
action filter_type
action find_reverse
entity Ewald Daub
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Ewald Daub']
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:director_of_photography resource:Ewald_Daub . ?r rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
16
Q14952465 Q500431 Q2676081 Q13359969 Q1194147 Q1192505 Q548145 Q17155975 Q1171364 Q1481667 Q6785332 Q1687938 Q1460050 Q15222737 Q1197410 Q1516584
(c(Q838948),P344,Q1382764)
action count
action filter_type
action find_reverse
entity Q1382764
relation P344
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P344', 'Q1382764']
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P344 resource:Q1382764 . ?r rdf:type ontology:Q838948 }
The Black Forest Girl Andreas Schlüter The Swedish Nightingale Die Feuerzangenbowle The Captain from Köpenick The Beggar Student Artisten The False Step The Indian Tomb Five Million Look for an Heir Master of the World Tanz auf dem Vulkan The Heath Is Green Men Without Work The Tiger of Eschnapur Clothes Make the Man
16
action count
action filter_type
action find_reverse
entity Ewald Daub
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Ewald Daub']
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:director_of_photography resource:Ewald_Daub . ?r rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q76820
P58 P364
Q838948
USER
Which works of art are Carl Zuckmayer a screwriter of and are known to be originally created in English language ?
AND((c(Q838948),P58,Q76820), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q76820
relation P58
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P58', 'Q76820'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q838948 . ?v property:P58 resource:Q76820 . ?v property:P364 resource:Q1860 }
English Carl Zuckmayer
action filter_type
action intersection
action find_reverse
entity Carl Zuckmayer
relation screenwriter
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'screenwriter', 'Carl Zuckmayer'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:work_of_art . ?v property:screenwriter resource:Carl_Zuckmayer . ?v property:original_language_of_work resource:English }
[]
work of art
Q1784551 Q1345327 Q158047
SYSTEM
Rembrandt, Decision Before Dawn, The Blue Angel
Q1784551 Q1345327 Q158047
AND((c(Q838948),P58,Q76820), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q76820
relation P58
action find_reverse
entity Q1860
relation P364
type Q838948
[ANSWERS] are Carl Zuckmayer a screwriter of and are known to be originally created in English language
{'AND': [[{'concept': 'Q838948'}, 'P58', 'Q76820'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q838948 . ?v property:P58 resource:Q76820 . ?v property:P364 resource:Q1860 }
Rembrandt Decision Before Dawn The Blue Angel
Rembrandt, Decision Before Dawn and The Blue Angel are Carl Zuckmayer a screwriter of and are known to be originally created in English language
Rembrandt Decision Before Dawn The Blue Angel
action filter_type
action intersection
action find_reverse
entity Carl Zuckmayer
relation screenwriter
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'screenwriter', 'Carl Zuckmayer'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:work_of_art . ?v property:screenwriter resource:Carl_Zuckmayer . ?v property:original_language_of_work resource:English }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q167051 Q158047
P161 P86
Q502895
USER
Which people were casted in The Blue Angel or did the compostion for The Dark Side of the Sun ?
OR((Q158047,P161,c(Q502895)), (Q167051,P86,c(Q502895)))
action filter_type
action union
action find
entity Q158047
relation P161
action find
entity Q167051
relation P86
type Q502895
{'OR': [['Q158047', 'P161', {'concept': 'Q502895'}], ['Q167051', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q158047 property:P161 ?c } UNION { resource:Q167051 property:P86 ?c } } . ?c rdf:type ontology:Q502895 }
The Dark Side of the Sun The Blue Angel
action filter_type
action union
action find
entity The Blue Angel
relation cast member
action find
entity The Dark Side of the Sun
relation composer
type common name
{'OR': [['The Blue Angel', 'cast member', {'concept': 'common name'}], ['The Dark Side of the Sun', 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:The_Blue_Angel property:cast_member ?c } UNION { resource:The_Dark_Side_of_the_Sun property:composer ?c } } . ?c rdf:type ontology:common_name }
[]
common name
Q119867 Q4612 Q97317 Q3395807 Q75383 Q561231 Q907026 Q213900 Q85051 Q92518
SYSTEM
Some of them are Gerhard Bienert, Marlene Dietrich, Wilhelm Diegelmann, Voki Kostić, Reinhold Bernt, Hans Albers, Charles Puffy, Friedrich Hollaender, Eduard von Winterstein, Ilse Fürstenberg
Q3142135 Q213900 Q561231 Q87546 Q85051 Q75383 Q119867 Q60905 Q77181 Q97317 Q4826 Q269170 Q3395807 Q92518 Q907026 Q69159 Q4612
OR((Q158047,P161,c(Q502895)), (Q167051,P86,c(Q502895)))
action filter_type
action union
action find
entity Q158047
relation P161
action find
entity Q167051
relation P86
type Q502895
[ANSWERS] were casted in The Blue Angel or did the compostion for The Dark Side of the Sun
{'OR': [['Q158047', 'P161', {'concept': 'Q502895'}], ['Q167051', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q158047 property:P161 ?c } UNION { resource:Q167051 property:P86 ?c } } . ?c rdf:type ontology:Q502895 }
Roland Varno Friedrich Hollaender Hans Albers Carl Balhaus Eduard von Winterstein Reinhold Bernt Gerhard Bienert Kurt Gerron Emil Jannings Wilhelm Diegelmann Rosa Valetti Kornelije Kovač Voki Kostić Ilse Fürstenberg Charles Puffy Wolfgang Staudte Marlene Dietrich
Gerhard Bienert, Marlene Dietrich, Wilhelm Diegelmann, Voki Kostić, Reinhold Bernt, Hans Albers, Charles Puffy, Friedrich Hollaender, Eduard von Winterstein and Ilse Fürstenberg were casted in The Blue Angel or did the compostion for The Dark Side of the Sun
Gerhard Bienert Marlene Dietrich Wilhelm Diegelmann Voki Kostić Reinhold Bernt Hans Albers Charles Puffy Friedrich Hollaender Eduard von Winterstein Ilse Fürstenberg
action filter_type
action union
action find
entity The Blue Angel
relation cast member
action find
entity The Dark Side of the Sun
relation composer
type common name
{'OR': [['The Blue Angel', 'cast member', {'concept': 'common name'}], ['The Dark Side of the Sun', 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:The_Blue_Angel property:cast_member ?c } UNION { resource:The_Dark_Side_of_the_Sun property:composer ?c } } . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q167051
P161
Q502895
USER
How many people were casted in The Dark Side of the Sun ?
(Q167051,P161,c(Q502895))
action count
action filter_type
action find
entity Q167051
relation P161
type Q502895
['Q167051', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d rdf:type ontology:Q502895 . resource:Q167051 property:P161 ?d }
The Dark Side of the Sun
action count
action filter_type
action find
entity The Dark Side of the Sun
relation cast member
type common name
['The Dark Side of the Sun', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d rdf:type ontology:common_name . resource:The_Dark_Side_of_the_Sun property:cast_member ?d }
[]
common name
SYSTEM
7
Q917301 Q2196287 Q469494 Q35332 Q455877 Q1563631 Q15699346
(Q167051,P161,c(Q502895))
action count
action filter_type
action find
entity Q167051
relation P161
type Q502895
[ANSWER]
['Q167051', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d rdf:type ontology:Q502895 . resource:Q167051 property:P161 ?d }
Milena Dravić Guy Boyd Sonja Savić Brad Pitt Stole Aranđelović Gorica Popović Cheryl Pollak
7
action count
action filter_type
action find
entity The Dark Side of the Sun
relation cast member
type common name
['The Dark Side of the Sun', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d rdf:type ontology:common_name . resource:The_Dark_Side_of_the_Sun property:cast_member ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1172444
P57
Q502895
USER
Who directed Panther ?
(Q1172444,P57,c(Q502895))
action filter_type
action find
entity Q1172444
relation P57
type Q502895
['Q1172444', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q1172444 property:P57 ?j . ?j rdf:type ontology:Q502895 }
Panther
action filter_type
action find
entity Panther
relation director
type common name
['Panther', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Panther property:director ?j . ?j rdf:type ontology:common_name }
[]
common name
Q126957
SYSTEM
Mario Van Peebles
Q126957
(Q1172444,P57,c(Q502895))
action filter_type
action find
entity Q1172444
relation P57
type Q502895
[ANSWER] directed Panther
['Q1172444', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q1172444 property:P57 ?j . ?j rdf:type ontology:Q502895 }
Mario Van Peebles
Mario Van Peebles directed Panther
Mario Van Peebles
action filter_type
action find
entity Panther
relation director
type common name
['Panther', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Panther property:director ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23900127
Q502895
USER
And how about The Chosen Prince, or The Friendship of David and Jonathan?
(Q23900127,P57,c(Q502895))
action filter_type
action find
entity Q23900127
relation P57
type Q502895
['Q23900127', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q23900127 property:P57 ?k . ?k rdf:type ontology:Q502895 }
The Chosen Prince, or The Friendship of David and Jonathan
action filter_type
action find
entity The Chosen Prince, or The Friendship of David and Jonathan
relation director
type common name
['The Chosen Prince, or The Friendship of David and Jonathan', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:The_Chosen_Prince,_or_The_Friendship_of_David_and_Jonathan property:director ?k . ?k rdf:type ontology:common_name }
[]
common name
Q600035
SYSTEM
William V. Mong
Q600035
(Q23900127,P57,c(Q502895))
action filter_type
action find
entity Q23900127
relation P57
type Q502895
[ANSWER]
['Q23900127', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q23900127 property:P57 ?k . ?k rdf:type ontology:Q502895 }
William V. Mong
William V. Mong
action filter_type
action find
entity The Chosen Prince, or The Friendship of David and Jonathan
relation director
type common name
['The Chosen Prince, or The Friendship of David and Jonathan', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:The_Chosen_Prince,_or_The_Friendship_of_David_and_Jonathan property:director ?k . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q600035 Q208964
P161
Q838948
USER
Does Crazy like a Fox star that person as actor ?
(Q208964,P161,Q600035)
action is_in
entity Q600035
action find
entity Q208964
relation P161
['Q208964', 'P161', 'Q600035']
ASK WHERE { resource:Q208964 property:P161 resource:Q600035 }
William V. Mong Crazy like a Fox
action is_in
entity William V. Mong
action find
entity Crazy like a Fox
relation cast member
['Crazy like a Fox', 'cast member', 'William V. Mong']
ASK WHERE { resource:Crazy_like_a_Fox property:cast_member resource:William_V._Mong }
[]
work of art
SYSTEM
YES
(Q208964,P161,Q600035)
action is_in
entity Q600035
action find
entity Q208964
relation P161
[ANSWER]
['Q208964', 'P161', 'Q600035']
ASK WHERE { resource:Q208964 property:P161 resource:Q600035 }
Yes
action is_in
entity William V. Mong
action find
entity Crazy like a Fox
relation cast member
['Crazy like a Fox', 'cast member', 'William V. Mong']
ASK WHERE { resource:Crazy_like_a_Fox property:cast_member resource:William_V._Mong }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4612
P26
Q502895
USER
Which person is the life partner of Marlene Dietrich ?
(c(Q502895),P26,Q4612)
action filter_type
action find
entity Q4612
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q4612']
SELECT DISTINCT ?z WHERE { resource:Q4612 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Marlene Dietrich
action filter_type
action find
entity Marlene Dietrich
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Marlene Dietrich']
SELECT DISTINCT ?z WHERE { resource:Marlene_Dietrich property:spouse ?z . ?z rdf:type ontology:common_name }
[]
common name
Q153120
SYSTEM
Rudolf Sieber
Q153120
(c(Q502895),P26,Q4612)
action filter_type
action find
entity Q4612
relation P26
type Q502895
[ANSWER] is the life partner of Marlene Dietrich
[{'concept': 'Q502895'}, 'P26', 'Q4612']
SELECT DISTINCT ?z WHERE { resource:Q4612 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Rudolf Sieber
Rudolf Sieber is the life partner of Marlene Dietrich
Rudolf Sieber
action filter_type
action find
entity Marlene Dietrich
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Marlene Dietrich']
SELECT DISTINCT ?z WHERE { resource:Marlene_Dietrich property:spouse ?z . ?z rdf:type ontology:common_name }
[]