Simple Question (Direct)
Simple Question
Q3108201
P86
Q502895
USER
Who was The Powder Puff Gang composed by ?
(Q3108201,P86,c(Q502895))
action filter_type
action find
entity Q3108201
relation P86
type Q502895
['Q3108201', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q3108201 property:P86 ?a . ?a rdf:type ontology:Q502895 }
The Powder Puff Gang
action filter_type
action find
entity The Powder Puff Gang
relation composer
type common name
['The Powder Puff Gang', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:The_Powder_Puff_Gang property:composer ?a . ?a rdf:type ontology:common_name }
[]
common name
Q1698
SYSTEM
Serge Gainsbourg
Q1698
(Q3108201,P86,c(Q502895))
action filter_type
action find
entity Q3108201
relation P86
type Q502895
[ANSWER] by The Powder Puff Gang was composed
['Q3108201', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q3108201 property:P86 ?a . ?a rdf:type ontology:Q502895 }
Serge Gainsbourg
Serge Gainsbourg by The Powder Puff Gang was composed
Serge Gainsbourg
action filter_type
action find
entity The Powder Puff Gang
relation composer
type common name
['The Powder Puff Gang', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:The_Powder_Puff_Gang property:composer ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1698
P451
Q502895
USER
Who are the partners of that one ?
(Q1698,P451,c(Q502895))
action filter_type
action find
entity Q1698
relation P451
type Q502895
['Q1698', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1698 property:P451 ?c . ?c rdf:type ontology:Q502895 }
Serge Gainsbourg
action filter_type
action find
entity Serge Gainsbourg
relation partner
type common name
['Serge Gainsbourg', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Serge_Gainsbourg property:partner ?c . ?c rdf:type ontology:common_name }
[]
common name
Q36268 Q212873 Q581225
SYSTEM
Brigitte Bardot, Jane Birkin, Caroline von Paulus
Q36268 Q212873 Q581225
(Q1698,P451,c(Q502895))
action filter_type
action find
entity Q1698
relation P451
type Q502895
The partners of that one are [ANSWERS]
['Q1698', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1698 property:P451 ?c . ?c rdf:type ontology:Q502895 }
Brigitte Bardot Jane Birkin Caroline von Paulus
The partners of that one are Brigitte Bardot, Jane Birkin and Caroline von Paulus
Brigitte Bardot Jane Birkin Caroline von Paulus
action filter_type
action find
entity Serge Gainsbourg
relation partner
type common name
['Serge Gainsbourg', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Serge_Gainsbourg property:partner ?c . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q502895 Q14514600 Q2198855
USER
Which people inspired atleast 1 groups of fictional characters and cultural movements ?
(c(Q14514600)|c(Q2198855),P941,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q14514600
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2198855
value 1
[[{'concept': 'Q14514600'}, {'concept': 'Q2198855'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?o WHERE { { ?z property:P941 ?o . ?o rdf:type ontology:Q502895 . ?z rdf:type ontology:Q14514600 } UNION { ?z property:P941 ?o . ?o rdf:type ontology:Q502895 . ?z rdf:type ontology:Q2198855 } } GROUP BY ?o } . FILTER ( ?g >= 1 ) }
action atleast
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type group of fictional characters
action find_reverse_tuple_counts
relation inspired by
type common name
type cultural movement
value 1
[[{'concept': 'group of fictional characters'}, {'concept': 'cultural movement'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?o WHERE { { ?z property:inspired_by ?o . ?o rdf:type ontology:common_name . ?z rdf:type ontology:group_of_fictional_characters } UNION { ?z property:inspired_by ?o . ?o rdf:type ontology:common_name . ?z rdf:type ontology:cultural_movement } } GROUP BY ?o } . FILTER ( ?g >= 1 ) }
[]
common name group of fictional characters cultural movement
Q154545 Q334001 Q3498875
SYSTEM
Léopold Sédar Senghor, Thomas Cole, Steve Carlson
Q334001 Q154545 Q3498875 Q733965
(c(Q14514600)|c(Q2198855),P941,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q14514600
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2198855
value 1
[ANSWERS] inspired atleast 1 groups of fictional characters and cultural movements
[[{'concept': 'Q14514600'}, {'concept': 'Q2198855'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?o WHERE { { ?z property:P941 ?o . ?o rdf:type ontology:Q502895 . ?z rdf:type ontology:Q14514600 } UNION { ?z property:P941 ?o . ?o rdf:type ontology:Q502895 . ?z rdf:type ontology:Q2198855 } } GROUP BY ?o } . FILTER ( ?g >= 1 ) }
Thomas Cole Léopold Sédar Senghor Steve Carlson Jack Carlson
Léopold Sédar Senghor, Thomas Cole and Steve Carlson inspired atleast 1 groups of fictional characters and cultural movements
Léopold Sédar Senghor Thomas Cole Steve Carlson
action atleast
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type group of fictional characters
action find_reverse_tuple_counts
relation inspired by
type common name
type cultural movement
value 1
[[{'concept': 'group of fictional characters'}, {'concept': 'cultural movement'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) ?o WHERE { { ?z property:inspired_by ?o . ?o rdf:type ontology:common_name . ?z rdf:type ontology:group_of_fictional_characters } UNION { ?z property:inspired_by ?o . ?o rdf:type ontology:common_name . ?z rdf:type ontology:cultural_movement } } GROUP BY ?o } . FILTER ( ?g >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1698
P58
Q838948
USER
Which works of art are Serge Gainsbourg a screenwriter of ?
(c(Q838948),P58,Q1698)
action filter_type
action find_reverse
entity Q1698
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q1698']
SELECT DISTINCT ?w WHERE { ?w property:P58 resource:Q1698 . ?w rdf:type ontology:Q838948 }
Serge Gainsbourg
action filter_type
action find_reverse
entity Serge Gainsbourg
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Serge Gainsbourg']
SELECT DISTINCT ?w WHERE { ?w property:screenwriter resource:Serge_Gainsbourg . ?w rdf:type ontology:work_of_art }
[]
work of art
Q898864 Q176147
SYSTEM
Je t'aime moi non plus, Charlotte for Ever
Q898864 Q176147
(c(Q838948),P58,Q1698)
action filter_type
action find_reverse
entity Q1698
relation P58
type Q838948
[ANSWERS] are Serge Gainsbourg a screenwriter of
[{'concept': 'Q838948'}, 'P58', 'Q1698']
SELECT DISTINCT ?w WHERE { ?w property:P58 resource:Q1698 . ?w rdf:type ontology:Q838948 }
Je t'aime moi non plus Charlotte for Ever
Je t'aime moi non plus and Charlotte for Ever are Serge Gainsbourg a screenwriter of
Je t'aime moi non plus Charlotte for Ever
action filter_type
action find_reverse
entity Serge Gainsbourg
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Serge Gainsbourg']
SELECT DISTINCT ?w WHERE { ?w property:screenwriter resource:Serge_Gainsbourg . ?w rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q176147
P161
Q502895
USER
Who starred in that work of art ?
(Q176147,P161,c(Q502895))
action filter_type
action find
entity Q176147
relation P161
type Q502895
['Q176147', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q176147 property:P161 ?v . ?v rdf:type ontology:Q502895 }
Charlotte for Ever
action filter_type
action find
entity Charlotte for Ever
relation cast member
type common name
['Charlotte for Ever', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Charlotte_for_Ever property:cast_member ?v . ?v rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q898864
SYSTEM
Did you mean Je t'aime moi non plus ?
Q898864 Q176147
(Q898864,P161,c(Q502895)) (Q176147,P161,c(Q502895))
[ANSWER]
['Q898864', 'P161', {'concept': 'Q502895'}] ['Q176147', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q176147 property:P161 ?v . ?v rdf:type ontology:Q502895 }
Je t'aime moi non plus Charlotte for Ever
Did you mean Je t'aime moi non plus ?
Je t'aime moi non plus
["Je t'aime moi non plus", 'cast member', {'concept': 'common name'}] ['Charlotte for Ever', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Charlotte_for_Ever property:cast_member ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Charlotte for Ever. Could you tell me the answer for that?
(Q176147,P161,c(Q502895))
Q176147
['Q176147', 'P161', {'concept': 'Q502895'}]
['Charlotte for Ever', 'cast member', {'concept': 'common name'}]
[]
Q3439960 Q276005 Q1698
SYSTEM
Roland Bertin, Charlotte Gainsbourg, Serge Gainsbourg
Q2851322 Q276005 Q3439960 Q3440040 Q1698
(Q176147,P161,c(Q502895))
action filter_type
action find
entity Q176147
relation P161
type Q502895
[ANSWERS] starred in that work of art
['Q176147', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q176147 property:P161 ?v . ?v rdf:type ontology:Q502895 }
Anne Zamberlan Charlotte Gainsbourg Roland Bertin Roland Dubillard Serge Gainsbourg
Roland Bertin, Charlotte Gainsbourg and Serge Gainsbourg starred in that work of art
Roland Bertin Charlotte Gainsbourg Serge Gainsbourg
action filter_type
action find
entity Charlotte for Ever
relation cast member
type common name
['Charlotte for Ever', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Charlotte_for_Ever property:cast_member ?v . ?v rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q1698
P161 P364
Q838948
USER
Which works of art have Serge Gainsbourg in their star cast and have English as their original language of creation ?
AND((c(Q838948),P161,Q1698), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q1698
relation P161
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q1698'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?l WHERE { ?l property:P364 resource:Q1860 . ?l property:P161 resource:Q1698 . ?l rdf:type ontology:Q838948 }
English Serge Gainsbourg
action filter_type
action intersection
action find_reverse
entity Serge Gainsbourg
relation cast member
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Serge Gainsbourg'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?l WHERE { ?l property:original_language_of_work resource:English . ?l property:cast_member resource:Serge_Gainsbourg . ?l rdf:type ontology:work_of_art }
[]
work of art
Q3161846 Q3226618 Q3316949
SYSTEM
Jane B. par Agnès V., Romance of a Horsethief, Mr. Freedom
Q3161846 Q3226618 Q3316949
AND((c(Q838948),P161,Q1698), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q1698
relation P161
action find_reverse
entity Q1860
relation P364
type Q838948
[ANSWERS] have Serge Gainsbourg in their star cast and have English as their original language of creation
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q1698'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?l WHERE { ?l property:P364 resource:Q1860 . ?l property:P161 resource:Q1698 . ?l rdf:type ontology:Q838948 }
Jane B. par Agnès V. Romance of a Horsethief Mr. Freedom
Jane B. par Agnès V., Romance of a Horsethief and Mr. Freedom have Serge Gainsbourg in their star cast and have English as their original language of creation
Jane B. par Agnès V. Romance of a Horsethief Mr. Freedom
action filter_type
action intersection
action find_reverse
entity Serge Gainsbourg
relation cast member
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Serge Gainsbourg'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?l WHERE { ?l property:original_language_of_work resource:English . ?l property:cast_member resource:Serge_Gainsbourg . ?l rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3161846 Q3226618 Q3316949
P57
Q502895
USER
Who were those works of art directed by ?
(Q3161846,P57,c(Q502895)) (Q3226618,P57,c(Q502895)) (Q3316949,P57,c(Q502895))
action filter_type
action find
entity prev_answer
relation P57
type Q502895
['Q3161846', 'P57', {'concept': 'Q502895'}] ['Q3226618', 'P57', {'concept': 'Q502895'}] ['Q3316949', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?t property:P57 ?u . ?u rdf:type ontology:Q502895 . VALUES ( ?t ) { ( resource:Q3161846 ) ( resource:Q3226618 ) ( resource:Q3316949 ) } }
Jane B. par Agnès V. Romance of a Horsethief Mr. Freedom
action filter_type
action find
entity prev_answer
relation director
type common name
['Jane B. par Agnès V.', 'director', {'concept': 'common name'}] ['Romance of a Horsethief', 'director', {'concept': 'common name'}] ['Mr. Freedom', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?t property:director ?u . ?u rdf:type ontology:common_name . VALUES ( ?t ) { ( resource:Jane_B._par_Agnès_V. ) ( resource:Romance_of_a_Horsethief ) ( resource:Mr._Freedom ) } }
[]
common name
Q229990 Q330527 Q723892
SYSTEM
Agnès Varda, Abraham Polonsky, William Klein
Q229990 Q330527 Q723892
(Q3161846,P57,c(Q502895)) (Q3226618,P57,c(Q502895)) (Q3316949,P57,c(Q502895))
action filter_type
action find
entity prev_answer
relation P57
type Q502895
By those works of art directed were by [ANSWERS]
['Q3161846', 'P57', {'concept': 'Q502895'}] ['Q3226618', 'P57', {'concept': 'Q502895'}] ['Q3316949', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?t property:P57 ?u . ?u rdf:type ontology:Q502895 . VALUES ( ?t ) { ( resource:Q3161846 ) ( resource:Q3226618 ) ( resource:Q3316949 ) } }
Agnès Varda Abraham Polonsky William Klein
By those works of art directed were by Agnès Varda, Abraham Polonsky and William Klein
Agnès Varda Abraham Polonsky William Klein
action filter_type
action find
entity prev_answer
relation director
type common name
['Jane B. par Agnès V.', 'director', {'concept': 'common name'}] ['Romance of a Horsethief', 'director', {'concept': 'common name'}] ['Mr. Freedom', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?t property:director ?u . ?u rdf:type ontology:common_name . VALUES ( ?t ) { ( resource:Jane_B._par_Agnès_V. ) ( resource:Romance_of_a_Horsethief ) ( resource:Mr._Freedom ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1698
P106
Q12737077
USER
What are the job of Serge Gainsbourg ?
(Q1698,P106,c(Q12737077))
action filter_type
action find
entity Q1698
relation P106
type Q12737077
['Q1698', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1698 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Serge Gainsbourg
action filter_type
action find
entity Serge Gainsbourg
relation occupation
type occupation
['Serge Gainsbourg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Serge_Gainsbourg property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q36834 Q15981151 Q49757
SYSTEM
composer, jazz musician, poet
Q488205 Q15981151 Q49757 Q177220 Q33999 Q36180 Q486748 Q753110 Q36834
(Q1698,P106,c(Q12737077))
action filter_type
action find
entity Q1698
relation P106
type Q12737077
The job of Serge Gainsbourg are [ANSWERS]
['Q1698', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1698 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
singer-songwriter jazz musician poet singer actor writer pianist songwriter composer
The job of Serge Gainsbourg are composer, jazz musician and poet
composer jazz musician poet
action filter_type
action find
entity Serge Gainsbourg
relation occupation
type occupation
['Serge Gainsbourg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Serge_Gainsbourg property:occupation ?k . ?k rdf:type ontology:occupation }
[]