Simple Question (Direct)
Simple Question
Q455877
P106
Q12737077
USER
Which occupation has Stole Aranđelović as his/her 's career ?
(Q455877,P106,c(Q12737077))
action filter_type
action find
entity Q455877
relation P106
type Q12737077
['Q455877', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q455877 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Stole Aranđelović
action filter_type
action find
entity Stole Aranđelović
relation occupation
type occupation
['Stole Aranđelović', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Stole_Aranđelović property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q455877,P106,c(Q12737077))
action filter_type
action find
entity Q455877
relation P106
type Q12737077
The [ANSWER] has Stole Aranđelović as his/her 's career
['Q455877', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q455877 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
actor
The actor has Stole Aranđelović as his/her 's career
actor
action filter_type
action find
entity Stole Aranđelović
relation occupation
type occupation
['Stole Aranđelović', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Stole_Aranđelović property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33999
P123
Q166142
USER
Which application was published by that occupation ?
(c(Q166142),P123,Q33999)
action filter_type
action find_reverse
entity Q33999
relation P123
type Q166142
[{'concept': 'Q166142'}, 'P123', 'Q33999']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q166142 . ?z property:P123 resource:Q33999 }
actor
action filter_type
action find_reverse
entity actor
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'actor']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:application . ?z property:publisher resource:actor }
[]
application
Q5242936
SYSTEM
Day of Love
Q5242936
(c(Q166142),P123,Q33999)
action filter_type
action find_reverse
entity Q33999
relation P123
type Q166142
[ANSWER] was published by that occupation
[{'concept': 'Q166142'}, 'P123', 'Q33999']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q166142 . ?z property:P123 resource:Q33999 }
Day of Love
Day of Love was published by that occupation
Day of Love
action filter_type
action find_reverse
entity actor
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'actor']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:application . ?z property:publisher resource:actor }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q1054574 Q455877
P136 P161
Q838948
USER
Which works of art have Stole Aranđelović as actor and do not have genre named romance film ?
AND((c(Q838948),P161,Q455877), NOT((c(Q838948),P136,Q1054574)))
action filter_type
action difference
action find_reverse
entity Q455877
relation P161
action find_reverse
entity Q1054574
relation P136
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q455877'], {'NOT': [[{'concept': 'Q838948'}, 'P136', 'Q1054574']]}]}
SELECT DISTINCT ?r WHERE { ?r property:P161 resource:Q455877 . MINUS { ?r property:P136 resource:Q1054574 } . ?r rdf:type ontology:Q838948 }
romance film Stole Aranđelović
action filter_type
action difference
action find_reverse
entity Stole Aranđelović
relation cast member
action find_reverse
entity romance film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Stole Aranđelović'], {'NOT': [[{'concept': 'work of art'}, 'genre', 'romance film']]}]}
SELECT DISTINCT ?r WHERE { ?r property:cast_member resource:Stole_Aranđelović . MINUS { ?r property:genre resource:romance_film } . ?r rdf:type ontology:work_of_art }
[]
work of art
Q12759828 Q25461798 Q614108 Q12760214 Q3442312 Q510641 Q12754178 Q3507805 Q3507366 Q11155190
SYSTEM
Some of them are Twilight Time, Tople godine, Three, Three Tickets to Hollywood, The Girl and the Oak, Battle of Neretva, The End of the War, Point 905, Train Without a Timetable, The Written Off Return
Q12751005 Q11159971 Q7203404 Q27342378 Q12759828 Q2330695 Q3442312 Q7730911 Q3507366 Q3028211 Q260449 Q27070620 Q11220384 Q521876 Q648289 Q510641 Q785492 Q25461798 Q3506242 Q2083645 Q4463874 Q614108 Q11155190 Q895543 Q3507805 Q3507824 Q16085720 Q12754178 Q12760214
AND((c(Q838948),P161,Q455877), NOT((c(Q838948),P136,Q1054574)))
action filter_type
action difference
action find_reverse
entity Q455877
relation P161
action find_reverse
entity Q1054574
relation P136
type Q838948
[ANSWERS] have Stole Aranđelović as actor and do not have genre named romance film
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q455877'], {'NOT': [[{'concept': 'Q838948'}, 'P136', 'Q1054574']]}]}
SELECT DISTINCT ?r WHERE { ?r property:P161 resource:Q455877 . MINUS { ?r property:P136 resource:Q1054574 } . ?r rdf:type ontology:Q838948 }
Doktor Mladen Pesma sa Kumbare Playing Soldiers Ovčar Twilight Time Man Is Not a Bird The Girl and the Oak The Dream Train Without a Timetable It Rains in My Village The Sky Through the Trees U sukobu Time of Miracles Last of the Renegades The Battle of Sutjeska Battle of Neretva Der Ölprinz Tople godine Anno Domini 1573 Banović Strahinja Nebeski odred Three The Written Off Return Among Vultures Point 905 Double Circle The Farm in the Small Marsh The End of the War Three Tickets to Hollywood
Twilight Time, Tople godine, Three, Three Tickets to Hollywood, The Girl and the Oak, Battle of Neretva, The End of the War, Point 905, Train Without a Timetable and The Written Off Return have Stole Aranđelović as actor and do not have genre named romance film
Twilight Time Tople godine Three Three Tickets to Hollywood The Girl and the Oak Battle of Neretva The End of the War Point 905 Train Without a Timetable The Written Off Return
action filter_type
action difference
action find_reverse
entity Stole Aranđelović
relation cast member
action find_reverse
entity romance film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Stole Aranđelović'], {'NOT': [[{'concept': 'work of art'}, 'genre', 'romance film']]}]}
SELECT DISTINCT ?r WHERE { ?r property:cast_member resource:Stole_Aranđelović . MINUS { ?r property:genre resource:romance_film } . ?r rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3507366
P57
Q502895
USER
Which person directed that work of art ?
(Q3507366,P57,c(Q502895))
action filter_type
action find
entity Q3507366
relation P57
type Q502895
['Q3507366', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q3507366 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Train Without a Timetable
action filter_type
action find
entity Train Without a Timetable
relation director
type common name
['Train Without a Timetable', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Train_Without_a_Timetable property:director ?v . ?v rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q3442312
SYSTEM
Did you mean The Girl and the Oak ?
Q12759828 Q25461798 Q614108 Q12760214 Q3442312 Q510641 Q12754178 Q3507805 Q3507366 Q11155190
(Q12759828,P57,c(Q502895)) (Q25461798,P57,c(Q502895)) (Q614108,P57,c(Q502895)) (Q12760214,P57,c(Q502895)) (Q3442312,P57,c(Q502895)) (Q510641,P57,c(Q502895)) (Q12754178,P57,c(Q502895)) (Q3507805,P57,c(Q502895)) (Q3507366,P57,c(Q502895)) (Q11155190,P57,c(Q502895))
[ANSWER]
['Q12759828', 'P57', {'concept': 'Q502895'}] ['Q25461798', 'P57', {'concept': 'Q502895'}] ['Q614108', 'P57', {'concept': 'Q502895'}] ['Q12760214', 'P57', {'concept': 'Q502895'}] ['Q3442312', 'P57', {'concept': 'Q502895'}] ['Q510641', 'P57', {'concept': 'Q502895'}] ['Q12754178', 'P57', {'concept': 'Q502895'}] ['Q3507805', 'P57', {'concept': 'Q502895'}] ['Q3507366', 'P57', {'concept': 'Q502895'}] ['Q11155190', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q3507366 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Twilight Time Tople godine Three Three Tickets to Hollywood The Girl and the Oak Battle of Neretva The End of the War Point 905 Train Without a Timetable The Written Off Return
Did you mean The Girl and the Oak ?
The Girl and the Oak
['Twilight Time', 'director', {'concept': 'common name'}] ['Tople godine', 'director', {'concept': 'common name'}] ['Three', 'director', {'concept': 'common name'}] ['Three Tickets to Hollywood', 'director', {'concept': 'common name'}] ['The Girl and the Oak', 'director', {'concept': 'common name'}] ['Battle of Neretva', 'director', {'concept': 'common name'}] ['The End of the War', 'director', {'concept': 'common name'}] ['Point 905', 'director', {'concept': 'common name'}] ['Train Without a Timetable', 'director', {'concept': 'common name'}] ['The Written Off Return', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Train_Without_a_Timetable property:director ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Train Without a Timetable. Could you tell me the answer for that?
(Q3507366,P57,c(Q502895))
Q3507366
['Q3507366', 'P57', {'concept': 'Q502895'}]
['Train Without a Timetable', 'director', {'concept': 'common name'}]
[]
Q1281569
SYSTEM
Veljko Bulajić
Q1281569
(Q3507366,P57,c(Q502895))
action filter_type
action find
entity Q3507366
relation P57
type Q502895
[ANSWER] directed that work of art
['Q3507366', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q3507366 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Veljko Bulajić
Veljko Bulajić directed that work of art
Veljko Bulajić
action filter_type
action find
entity Train Without a Timetable
relation director
type common name
['Train Without a Timetable', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Train_Without_a_Timetable property:director ?v . ?v rdf:type ontology:common_name }
[]