Simple Question (Direct)
Simple Question
Q1212842
P161
Q502895
USER
Which people are in The Garage ?
(Q1212842,P161,c(Q502895))
action filter_type
action find
entity Q1212842
relation P161
type Q502895
['Q1212842', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1212842 property:P161 ?c . ?c rdf:type ontology:Q502895 }
The Garage
action filter_type
action find
entity The Garage
relation cast member
type common name
['The Garage', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:The_Garage property:cast_member ?c . ?c rdf:type ontology:common_name }
[]
common name
Q381944 Q1253150 Q466030
SYSTEM
Eldar Ryazanov, Vadim Zakharchenko, Iya Savvina
Q400614 Q466030 Q372234 Q1253150 Q1657736 Q381944 Q502651 Q894310
(Q1212842,P161,c(Q502895))
action filter_type
action find
entity Q1212842
relation P161
type Q502895
[ANSWERS] are in The Garage
['Q1212842', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1212842 property:P161 ?c . ?c rdf:type ontology:Q502895 }
Georgi Burkov Iya Savvina Semyon Farada Vadim Zakharchenko Igor Kostolevsky Eldar Ryazanov Andrey Myagkov Boryslav Brondukov
Eldar Ryazanov, Vadim Zakharchenko and Iya Savvina are in The Garage
Eldar Ryazanov Vadim Zakharchenko Iya Savvina
action filter_type
action find
entity The Garage
relation cast member
type common name
['The Garage', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:The_Garage property:cast_member ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q381944
P58
Q838948
USER
Which works of art did Eldar Ryazanov do the screenwriting for ?
(c(Q838948),P58,Q381944)
action filter_type
action find_reverse
entity Q381944
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q381944']
SELECT DISTINCT ?l WHERE { ?l property:P58 resource:Q381944 . ?l rdf:type ontology:Q838948 }
Eldar Ryazanov
action filter_type
action find_reverse
entity Eldar Ryazanov
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Eldar Ryazanov']
SELECT DISTINCT ?l WHERE { ?l property:screenwriter resource:Eldar_Ryazanov . ?l rdf:type ontology:work_of_art }
[]
work of art
Q2369847 Q940081 Q913426
SYSTEM
Hussar Ballad, Unbelievable Adventures of Italians in Russia, The Irony of Fate
Q1965523 Q2369847 Q4315505 Q4272407 Q718486 Q1272202 Q378969 Q674676 Q4328827 Q4191769 Q940081 Q400123 Q2528155 Q1212842 Q913426
(c(Q838948),P58,Q381944)
action filter_type
action find_reverse
entity Q381944
relation P58
type Q838948
Eldar Ryazanov did the screenwriting for The [ANSWERS]
[{'concept': 'Q838948'}, 'P58', 'Q381944']
SELECT DISTINCT ?l WHERE { ?l property:P58 resource:Q381944 . ?l rdf:type ontology:Q838948 }
Station for Two Hussar Ballad Promised Heaven Hello, Fools! Old Hags Beware of the Car Grandads-Robbers The Prophecy Say a Word for the Poor Hussar Zigzag of Success Unbelievable Adventures of Italians in Russia A Cruel Romance Office Romance The Garage The Irony of Fate
Eldar Ryazanov did the screenwriting for The Hussar Ballad, Unbelievable Adventures of Italians in Russia and The Irony of Fate
Hussar Ballad Unbelievable Adventures of Italians in Russia The Irony of Fate
action filter_type
action find_reverse
entity Eldar Ryazanov
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Eldar Ryazanov']
SELECT DISTINCT ?l WHERE { ?l property:screenwriter resource:Eldar_Ryazanov . ?l rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q940081
P344
Q502895
USER
Who is the cinematographer of that work of art ?
(Q940081,P344,c(Q502895))
action filter_type
action find
entity Q940081
relation P344
type Q502895
['Q940081', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q940081 property:P344 ?u . ?u rdf:type ontology:Q502895 }
Unbelievable Adventures of Italians in Russia
action filter_type
action find
entity Unbelievable Adventures of Italians in Russia
relation director of photography
type common name
['Unbelievable Adventures of Italians in Russia', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Unbelievable_Adventures_of_Italians_in_Russia property:director_of_photography ?u . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q940081
SYSTEM
Did you mean Unbelievable Adventures of Italians in Russia ?
Q2369847 Q940081 Q913426
(Q2369847,P344,c(Q502895)) (Q940081,P344,c(Q502895)) (Q913426,P344,c(Q502895))
[ANSWER]
['Q2369847', 'P344', {'concept': 'Q502895'}] ['Q940081', 'P344', {'concept': 'Q502895'}] ['Q913426', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q940081 property:P344 ?u . ?u rdf:type ontology:Q502895 }
Hussar Ballad Unbelievable Adventures of Italians in Russia The Irony of Fate
Did you mean Unbelievable Adventures of Italians in Russia ?
Unbelievable Adventures of Italians in Russia
['Hussar Ballad', 'director of photography', {'concept': 'common name'}] ['Unbelievable Adventures of Italians in Russia', 'director of photography', {'concept': 'common name'}] ['The Irony of Fate', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Unbelievable_Adventures_of_Italians_in_Russia property:director_of_photography ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q940081,P344,c(Q502895))
['Q940081', 'P344', {'concept': 'Q502895'}]
['Unbelievable Adventures of Italians in Russia', 'director of photography', {'concept': 'common name'}]
[]
Q3780234
SYSTEM
Gábor Pogány
Q3780234
(Q940081,P344,c(Q502895))
action filter_type
action find
entity Q940081
relation P344
type Q502895
The cinematographer of that work of art is born [ANSWER]
['Q940081', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q940081 property:P344 ?u . ?u rdf:type ontology:Q502895 }
Gábor Pogány
The cinematographer of that work of art is born Gábor Pogány
Gábor Pogány
action filter_type
action find
entity Unbelievable Adventures of Italians in Russia
relation director of photography
type common name
['Unbelievable Adventures of Italians in Russia', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Unbelievable_Adventures_of_Italians_in_Russia property:director_of_photography ?u . ?u rdf:type ontology:common_name }
[]