Simple Question (Direct)
Simple Question
Q87263
P106
Q12737077
USER
What do Hans Holt do for a living ?
(Q87263,P106,c(Q12737077))
action filter_type
action find
entity Q87263
relation P106
type Q12737077
['Q87263', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q87263 property:P106 ?y }
Hans Holt
action filter_type
action find
entity Hans Holt
relation occupation
type occupation
['Hans Holt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Hans_Holt property:occupation ?y }
[]
occupation
Q33999 Q36180 Q2259451
SYSTEM
actor, writer, stage actor
Q33999 Q36180 Q2259451
(Q87263,P106,c(Q12737077))
action filter_type
action find
entity Q87263
relation P106
type Q12737077
Hans Holt do for a living as [ANSWERS]
['Q87263', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q87263 property:P106 ?y }
actor writer stage actor
Hans Holt do for a living as actor, writer and stage actor
actor writer stage actor
action filter_type
action find
entity Hans Holt
relation occupation
type occupation
['Hans Holt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Hans_Holt property:occupation ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q87263
P161
Q838948
USER
What are the name of works of art staring that person ?
(c(Q838948),P161,Q33999) (c(Q838948),P161,Q36180) (c(Q838948),P161,Q2259451)
action filter_type
action find_reverse
entity Q87263
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q33999'] [{'concept': 'Q838948'}, 'P161', 'Q36180'] [{'concept': 'Q838948'}, 'P161', 'Q2259451']
SELECT DISTINCT ?m WHERE { ?m property:P161 resource:Q87263 . ?m rdf:type ontology:Q838948 }
Hans Holt
action filter_type
action find_reverse
entity Hans Holt
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'actor'] [{'concept': 'work of art'}, 'cast member', 'writer'] [{'concept': 'work of art'}, 'cast member', 'stage actor']
SELECT DISTINCT ?m WHERE { ?m property:cast_member resource:Hans_Holt . ?m rdf:type ontology:work_of_art }
[]
work of art
Q161700 Q2558829 Q1195824
SYSTEM
1. April 2000, Whom the Gods Love, The Millionaire
Q1304590 Q161700 Q1195824 Q1193146 Q1796034 Q1196067 Q1721778 Q759451 Q5280147 Q1877284 Q322346 Q1617428 Q21646661 Q19310623 Q1643798 Q18351138 Q1192583 Q1484033 Q2558829 Q1451218 Q17118813 Q43968 Q17512871 Q17113194
(c(Q838948),P161,Q33999) (c(Q838948),P161,Q36180) (c(Q838948),P161,Q2259451)
action filter_type
action find_reverse
entity Q87263
relation P161
type Q838948
The name of works of art staring that person are born [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q33999'] [{'concept': 'Q838948'}, 'P161', 'Q36180'] [{'concept': 'Q838948'}, 'P161', 'Q2259451']
SELECT DISTINCT ?m WHERE { ?m property:P161 resource:Q87263 . ?m rdf:type ontology:Q838948 }
Almost Angels 1. April 2000 The Millionaire The Angel with the Trumpet Queen of the Night The Mine Foreman The Emperor Waltz Auf der grünen Wiese Dir zuliebe Lumpaci the Vagabond Der Postmeister Here I Am, Here I Stay Love and Trumpets Immortal Beloved Schrammeln Immortal Waltz Der Bockerer When the Evening Bells Ring Whom the Gods Love Vienna, City of My Dreams Catherine the Last The Trapp Family The Trapp Family in America The Scoundrel
The name of works of art staring that person are born 1. April 2000, Whom the Gods Love and The Millionaire
1. April 2000 Whom the Gods Love The Millionaire
action filter_type
action find_reverse
entity Hans Holt
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'actor'] [{'concept': 'work of art'}, 'cast member', 'writer'] [{'concept': 'work of art'}, 'cast member', 'stage actor']
SELECT DISTINCT ?m WHERE { ?m property:cast_member resource:Hans_Holt . ?m rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5267286 Q161700
P161
Q502895
USER
Which people are in 1. April 2000 or Devil Dogs of the Air ?
OR((Q161700,P161,c(Q502895)), (Q5267286,P161,c(Q502895)))
action filter_type
action union
action find
entity Q161700
relation P161
action find
entity Q5267286
relation P161
type Q502895
{'OR': [['Q161700', 'P161', {'concept': 'Q502895'}], ['Q5267286', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q5267286 property:P161 ?p } UNION { resource:Q161700 property:P161 ?p } } . ?p rdf:type ontology:Q502895 }
Devil Dogs of the Air 1. April 2000
action filter_type
action union
action find
entity 1. April 2000
relation cast member
action find
entity Devil Dogs of the Air
relation cast member
type common name
{'OR': [['1. April 2000', 'cast member', {'concept': 'common name'}], ['Devil Dogs of the Air', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Devil_Dogs_of_the_Air property:cast_member ?p } UNION { resource:1._April_2000 property:cast_member ?p } } . ?p rdf:type ontology:common_name }
[]
common name
Q90368 Q3453469 Q1309642 Q87263 Q89851 Q272061 Q1452417 Q1730833 Q2750248 Q4019932
SYSTEM
Some of them are Theodor Danegger, Russell Hicks, Ernst Stankovski, Hans Holt, Judith Holzmeister, Margaret Lindsay, Fred Liewehr, Karl Ehmann, Samuel S. Hinds, William Bailey
Q1328116 Q1896905 Q1600664 Q2750248 Q89851 Q1447211 Q90372 Q1280760 Q87851 Q3453469 Q94041 Q87949 Q1586500 Q272061 Q113705 Q87263 Q152941 Q57584 Q86437 Q87182 Q45233 Q87367 Q25571 Q647830 Q1189404 Q1309642 Q1452417 Q90368 Q1265458 Q90432 Q1553698 Q4019932 Q1285040 Q88849 Q82284 Q1730833 Q85467 Q1790788
OR((Q161700,P161,c(Q502895)), (Q5267286,P161,c(Q502895)))
action filter_type
action union
action find
entity Q161700
relation P161
action find
entity Q5267286
relation P161
type Q502895
[ANSWERS] are in 1. April 2000 or Devil Dogs of the Air
{'OR': [['Q161700', 'P161', {'concept': 'Q502895'}], ['Q5267286', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q5267286 property:P161 ?p } UNION { resource:Q161700 property:P161 ?p } } . ?p rdf:type ontology:Q502895 }
Hugo Gottschlich Marianne Schönauer Heinz Moog Samuel S. Hinds Judith Holzmeister Franz Herterich Hilde Krahl Ward Bond Ulrich Bettac Russell Hicks James Cagney Waltraut Haas Harry Fuss Margaret Lindsay Hans Moser Hans Holt George Irving Curd Jürgens Otto Treßler Alfred Neugebauer Helmut Qualtinger Fritz Imhoff Hans Richter Paul Hörbiger Dennis O'Keefe Ernst Stankovski Fred Liewehr Theodor Danegger Gerhard Riedmann Erik Frey Guido Wieland William Bailey Edith Klinger Alma Seidler Frank McHugh Karl Ehmann Josef Meinrad Pat O'Brien
Theodor Danegger, Russell Hicks, Ernst Stankovski, Hans Holt, Judith Holzmeister, Margaret Lindsay, Fred Liewehr, Karl Ehmann, Samuel S. Hinds and William Bailey are in 1. April 2000 or Devil Dogs of the Air
Theodor Danegger Russell Hicks Ernst Stankovski Hans Holt Judith Holzmeister Margaret Lindsay Fred Liewehr Karl Ehmann Samuel S. Hinds William Bailey
action filter_type
action union
action find
entity 1. April 2000
relation cast member
action find
entity Devil Dogs of the Air
relation cast member
type common name
{'OR': [['1. April 2000', 'cast member', {'concept': 'common name'}], ['Devil Dogs of the Air', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Devil_Dogs_of_the_Air property:cast_member ?p } UNION { resource:1._April_2000 property:cast_member ?p } } . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q90368 Q3453469 Q1309642 Q87263 Q89851 Q272061 Q1452417 Q1730833 Q2750248 Q4019932
P21
Q290
USER
Which sexes do Theodor Danegger, Russell Hicks, Ernst Stankovski, Hans Holt, Judith Holzmeister, Margaret Lindsay, Fred Liewehr, Karl Ehmann, Samuel S. Hinds and William Bailey have ?
(Q90368,P21,c(Q290)) (Q3453469,P21,c(Q290)) (Q1309642,P21,c(Q290)) (Q87263,P21,c(Q290)) (Q89851,P21,c(Q290)) (Q272061,P21,c(Q290)) (Q1452417,P21,c(Q290)) (Q1730833,P21,c(Q290)) (Q2750248,P21,c(Q290)) (Q4019932,P21,c(Q290))
action union
action filter_type
action find
entity Q90368
relation P21
type Q290
action filter_type
action find
entity Q3453469
relation P21
type Q290
action filter_type
action find
entity Q1309642
relation P21
type Q290
action filter_type
action find
entity Q87263
relation P21
type Q290
action filter_type
action find
entity Q89851
relation P21
type Q290
action filter_type
action find
entity Q272061
relation P21
type Q290
action filter_type
action find
entity Q1452417
relation P21
type Q290
action filter_type
action find
entity Q1730833
relation P21
type Q290
action filter_type
action find
entity Q2750248
relation P21
type Q290
action filter_type
action find
entity Q4019932
relation P21
type Q290
['Q90368', 'P21', {'concept': 'Q290'}] ['Q3453469', 'P21', {'concept': 'Q290'}] ['Q1309642', 'P21', {'concept': 'Q290'}] ['Q87263', 'P21', {'concept': 'Q290'}] ['Q89851', 'P21', {'concept': 'Q290'}] ['Q272061', 'P21', {'concept': 'Q290'}] ['Q1452417', 'P21', {'concept': 'Q290'}] ['Q1730833', 'P21', {'concept': 'Q290'}] ['Q2750248', 'P21', {'concept': 'Q290'}] ['Q4019932', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { { resource:Q90368 property:P21 ?f . ?f rdf:type ontology:Q290 } UNION { resource:Q3453469 property:P21 ?f . ?f rdf:type ontology:Q290 } }
Theodor Danegger Russell Hicks Ernst Stankovski Hans Holt Judith Holzmeister Margaret Lindsay Fred Liewehr Karl Ehmann Samuel S. Hinds William Bailey
action union
action filter_type
action find
entity Theodor Danegger
relation gender
type sex
action filter_type
action find
entity Russell Hicks
relation gender
type sex
action filter_type
action find
entity Ernst Stankovski
relation gender
type sex
action filter_type
action find
entity Hans Holt
relation gender
type sex
action filter_type
action find
entity Judith Holzmeister
relation gender
type sex
action filter_type
action find
entity Margaret Lindsay
relation gender
type sex
action filter_type
action find
entity Fred Liewehr
relation gender
type sex
action filter_type
action find
entity Karl Ehmann
relation gender
type sex
action filter_type
action find
entity Samuel S. Hinds
relation gender
type sex
action filter_type
action find
entity William Bailey
relation gender
type sex
['Theodor Danegger', 'gender', {'concept': 'sex'}] ['Russell Hicks', 'gender', {'concept': 'sex'}] ['Ernst Stankovski', 'gender', {'concept': 'sex'}] ['Hans Holt', 'gender', {'concept': 'sex'}] ['Judith Holzmeister', 'gender', {'concept': 'sex'}] ['Margaret Lindsay', 'gender', {'concept': 'sex'}] ['Fred Liewehr', 'gender', {'concept': 'sex'}] ['Karl Ehmann', 'gender', {'concept': 'sex'}] ['Samuel S. Hinds', 'gender', {'concept': 'sex'}] ['William Bailey', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { { resource:Theodor_Danegger property:gender ?f . ?f rdf:type ontology:sex } UNION { resource:Russell_Hicks property:gender ?f . ?f rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097 Q6581097 Q6581072 Q6581072 Q6581097 Q6581097 Q6581097 Q6581097
(Q90368,P21,c(Q290)) (Q3453469,P21,c(Q290)) (Q1309642,P21,c(Q290)) (Q87263,P21,c(Q290)) (Q89851,P21,c(Q290)) (Q272061,P21,c(Q290)) (Q1452417,P21,c(Q290)) (Q1730833,P21,c(Q290)) (Q2750248,P21,c(Q290)) (Q4019932,P21,c(Q290))
action union
action filter_type
action find
entity Q90368
relation P21
type Q290
action filter_type
action find
entity Q3453469
relation P21
type Q290
action filter_type
action find
entity Q1309642
relation P21
type Q290
action filter_type
action find
entity Q87263
relation P21
type Q290
action filter_type
action find
entity Q89851
relation P21
type Q290
action filter_type
action find
entity Q272061
relation P21
type Q290
action filter_type
action find
entity Q1452417
relation P21
type Q290
action filter_type
action find
entity Q1730833
relation P21
type Q290
action filter_type
action find
entity Q2750248
relation P21
type Q290
action filter_type
action find
entity Q4019932
relation P21
type Q290
Theodor Danegger , Russell Hicks , Ernst Stankovski , Hans Holt , Judith Holzmeister , Margaret Lindsay , Fred Liewehr , Karl Ehmann , Samuel S. Hinds and William Bailey have been [ANSWER], [ANSWER] and [ANSWER]
['Q90368', 'P21', {'concept': 'Q290'}] ['Q3453469', 'P21', {'concept': 'Q290'}] ['Q1309642', 'P21', {'concept': 'Q290'}] ['Q87263', 'P21', {'concept': 'Q290'}] ['Q89851', 'P21', {'concept': 'Q290'}] ['Q272061', 'P21', {'concept': 'Q290'}] ['Q1452417', 'P21', {'concept': 'Q290'}] ['Q1730833', 'P21', {'concept': 'Q290'}] ['Q2750248', 'P21', {'concept': 'Q290'}] ['Q4019932', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { { resource:Q90368 property:P21 ?f . ?f rdf:type ontology:Q290 } UNION { resource:Q3453469 property:P21 ?f . ?f rdf:type ontology:Q290 } }
male male male male female female male male male male
Theodor Danegger , Russell Hicks , Ernst Stankovski , Hans Holt , Judith Holzmeister , Margaret Lindsay , Fred Liewehr , Karl Ehmann , Samuel S. Hinds and William Bailey have been male, male and male
male male male
action union
action filter_type
action find
entity Theodor Danegger
relation gender
type sex
action filter_type
action find
entity Russell Hicks
relation gender
type sex
action filter_type
action find
entity Ernst Stankovski
relation gender
type sex
action filter_type
action find
entity Hans Holt
relation gender
type sex
action filter_type
action find
entity Judith Holzmeister
relation gender
type sex
action filter_type
action find
entity Margaret Lindsay
relation gender
type sex
action filter_type
action find
entity Fred Liewehr
relation gender
type sex
action filter_type
action find
entity Karl Ehmann
relation gender
type sex
action filter_type
action find
entity Samuel S. Hinds
relation gender
type sex
action filter_type
action find
entity William Bailey
relation gender
type sex
['Theodor Danegger', 'gender', {'concept': 'sex'}] ['Russell Hicks', 'gender', {'concept': 'sex'}] ['Ernst Stankovski', 'gender', {'concept': 'sex'}] ['Hans Holt', 'gender', {'concept': 'sex'}] ['Judith Holzmeister', 'gender', {'concept': 'sex'}] ['Margaret Lindsay', 'gender', {'concept': 'sex'}] ['Fred Liewehr', 'gender', {'concept': 'sex'}] ['Karl Ehmann', 'gender', {'concept': 'sex'}] ['Samuel S. Hinds', 'gender', {'concept': 'sex'}] ['William Bailey', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { { resource:Theodor_Danegger property:gender ?f . ?f rdf:type ontology:sex } UNION { resource:Russell_Hicks property:gender ?f . ?f rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1195824
P1040
Q502895
USER
Which person is the editor of The Millionaire ?
(Q1195824,P1040,c(Q502895))
action filter_type
action find
entity Q1195824
relation P1040
type Q502895
['Q1195824', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1195824 property:P1040 ?c . ?c rdf:type ontology:Q502895 }
The Millionaire
action filter_type
action find
entity The Millionaire
relation film editor
type common name
['The Millionaire', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:The_Millionaire property:film_editor ?c . ?c rdf:type ontology:common_name }
[]
common name
Q365511
SYSTEM
Adolf Schlyßleder
Q365511
(Q1195824,P1040,c(Q502895))
action filter_type
action find
entity Q1195824
relation P1040
type Q502895
[ANSWER] is the editor of The Millionaire
['Q1195824', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1195824 property:P1040 ?c . ?c rdf:type ontology:Q502895 }
Adolf Schlyßleder
Adolf Schlyßleder is the editor of The Millionaire
Adolf Schlyßleder
action filter_type
action find
entity The Millionaire
relation film editor
type common name
['The Millionaire', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:The_Millionaire property:film_editor ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1333370
Q502895
USER
And also tell me about The Mouse That Roared?
(Q1333370,P1040,c(Q502895))
action filter_type
action find
entity Q1333370
relation P1040
type Q502895
['Q1333370', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q1333370 property:P1040 ?f . ?f rdf:type ontology:Q502895 }
The Mouse That Roared
action filter_type
action find
entity The Mouse That Roared
relation film editor
type common name
['The Mouse That Roared', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:The_Mouse_That_Roared property:film_editor ?f . ?f rdf:type ontology:common_name }
[]
common name
Q2134233
SYSTEM
Raymond Poulton
Q2134233
(Q1333370,P1040,c(Q502895))
action filter_type
action find
entity Q1333370
relation P1040
type Q502895
Tell me about The Mouse That Roared And also about [ANSWER]
['Q1333370', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q1333370 property:P1040 ?f . ?f rdf:type ontology:Q502895 }
Raymond Poulton
Tell me about The Mouse That Roared And also about Raymond Poulton
Raymond Poulton
action filter_type
action find
entity The Mouse That Roared
relation film editor
type common name
['The Mouse That Roared', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:The_Mouse_That_Roared property:film_editor ?f . ?f rdf:type ontology:common_name }
[]