Simple Question (Direct)
Simple Question
Q3222546
P136
Q1792379
USER
What can be considered as category for The Demon Stirs ?
(Q3222546,P136,c(Q1792379))
action filter_type
action find
entity Q3222546
relation P136
type Q1792379
['Q3222546', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1792379 . resource:Q3222546 property:P136 ?y }
The Demon Stirs
action filter_type
action find
entity The Demon Stirs
relation genre
type art genre
['The Demon Stirs', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:art_genre . resource:The_Demon_Stirs property:genre ?y }
[]
art genre
Q157443
SYSTEM
comedy film
Q157443
(Q3222546,P136,c(Q1792379))
action filter_type
action find
entity Q3222546
relation P136
type Q1792379
[ANSWER] can be considered as category for The Demon Stirs
['Q3222546', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1792379 . resource:Q3222546 property:P136 ?y }
comedy film
Comedy film can be considered as category for The Demon Stirs
comedy film
action filter_type
action find
entity The Demon Stirs
relation genre
type art genre
['The Demon Stirs', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:art_genre . resource:The_Demon_Stirs property:genre ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3222546
P161
Q502895
USER
Which people were casted in The Demon Stirs ?
(Q3222546,P161,c(Q502895))
action filter_type
action find
entity Q3222546
relation P161
type Q502895
['Q3222546', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3222546 property:P161 ?w . ?w rdf:type ontology:Q502895 }
The Demon Stirs
action filter_type
action find
entity The Demon Stirs
relation cast member
type common name
['The Demon Stirs', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:The_Demon_Stirs property:cast_member ?w . ?w rdf:type ontology:common_name }
[]
common name
Q107006 Q177993 Q3166766
SYSTEM
Claudia Cardinale, Hiam Abbass, Jean-Louis Foulquier
Q3350699 Q107006 Q177993 Q3167188 Q3093822 Q3074038 Q3191032 Q3189137 Q3166766 Q1255329 Q204394 Q1931307 Q3501833
(Q3222546,P161,c(Q502895))
action filter_type
action find
entity Q3222546
relation P161
type Q502895
[ANSWERS] were casted in The Demon Stirs
['Q3222546', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3222546 property:P161 ?w . ?w rdf:type ontology:Q502895 }
Olivia Brunaux Claudia Cardinale Hiam Abbass Jean-Luc Lemoine Gabriel Le Doze Florence Viala Jérôme Pouly Julie-Anne Roth Jean-Louis Foulquier Simon Abkarian Zinedine Soualem Michèle Bernier Stéphane Hillel
Claudia Cardinale, Hiam Abbass and Jean-Louis Foulquier were casted in The Demon Stirs
Claudia Cardinale Hiam Abbass Jean-Louis Foulquier
action filter_type
action find
entity The Demon Stirs
relation cast member
type common name
['The Demon Stirs', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:The_Demon_Stirs property:cast_member ?w . ?w rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3222546
P161
Q838948
USER
Do those people star in The Demon Stirs ?
(Q3222546,P161,Q107006) (Q3222546,P161,Q177993) (Q3222546,P161,Q3166766)
action is_in
entity prev_answer
action find
entity Q3222546
relation P161
['Q3222546', 'P161', 'Q107006'] ['Q3222546', 'P161', 'Q177993'] ['Q3222546', 'P161', 'Q3166766']
ASK WHERE { VALUES ( ?s ) { ( resource:Q3350699 ) ( resource:Q107006 ) ( resource:Q177993 ) } . resource:Q3222546 property:P161 ?s }
The Demon Stirs
action is_in
entity prev_answer
action find
entity The Demon Stirs
relation cast member
['The Demon Stirs', 'cast member', 'Claudia Cardinale'] ['The Demon Stirs', 'cast member', 'Hiam Abbass'] ['The Demon Stirs', 'cast member', 'Jean-Louis Foulquier']
ASK WHERE { VALUES ( ?s ) { ( resource:Olivia_Brunaux ) ( resource:Claudia_Cardinale ) ( resource:Hiam_Abbass ) } . resource:The_Demon_Stirs property:cast_member ?s }
[]
work of art
SYSTEM
YES
(Q3222546,P161,Q107006) (Q3222546,P161,Q177993) (Q3222546,P161,Q3166766)
action is_in
entity prev_answer
action find
entity Q3222546
relation P161
[ANSWER]
['Q3222546', 'P161', 'Q107006'] ['Q3222546', 'P161', 'Q177993'] ['Q3222546', 'P161', 'Q3166766']
ASK WHERE { VALUES ( ?s ) { ( resource:Q3350699 ) ( resource:Q107006 ) ( resource:Q177993 ) } . resource:Q3222546 property:P161 ?s }
Yes
action is_in
entity prev_answer
action find
entity The Demon Stirs
relation cast member
['The Demon Stirs', 'cast member', 'Claudia Cardinale'] ['The Demon Stirs', 'cast member', 'Hiam Abbass'] ['The Demon Stirs', 'cast member', 'Jean-Louis Foulquier']
ASK WHERE { VALUES ( ?s ) { ( resource:Olivia_Brunaux ) ( resource:Claudia_Cardinale ) ( resource:Hiam_Abbass ) } . resource:The_Demon_Stirs property:cast_member ?s }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q150 Q3166766
P161 P364
Q838948
USER
Which works of art do Jean-Louis Foulquier star in and were done in French language during their inception ?
AND((c(Q838948),P161,Q3166766), (c(Q838948),P364,Q150))
action filter_type
action intersection
action find_reverse
entity Q3166766
relation P161
action find_reverse
entity Q150
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q3166766'], [{'concept': 'Q838948'}, 'P364', 'Q150']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q838948 . ?s property:P161 resource:Q3166766 . ?s property:P364 resource:Q150 }
French Jean-Louis Foulquier
action filter_type
action intersection
action find_reverse
entity Jean-Louis Foulquier
relation cast member
action find_reverse
entity French
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Jean-Louis Foulquier'], [{'concept': 'work of art'}, 'original language of work', 'French']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:work_of_art . ?s property:cast_member resource:Jean-Louis_Foulquier . ?s property:original_language_of_work resource:French }
[]
work of art
Q1517057 Q489675 Q3222546 Q3156601 Q2365015
SYSTEM
Let Sleeping Cops Lie, Charlie Says, The Demon Stirs, J'ai Rencontré Le Père Noël, Notre histoire
Q1517057 Q489675 Q3222546 Q3156601 Q2365015
AND((c(Q838948),P161,Q3166766), (c(Q838948),P364,Q150))
action filter_type
action intersection
action find_reverse
entity Q3166766
relation P161
action find_reverse
entity Q150
relation P364
type Q838948
Jean-Louis Foulquier star in films [ANSWERS]
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q3166766'], [{'concept': 'Q838948'}, 'P364', 'Q150']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q838948 . ?s property:P161 resource:Q3166766 . ?s property:P364 resource:Q150 }
Let Sleeping Cops Lie Charlie Says The Demon Stirs J'ai Rencontré Le Père Noël Notre histoire
Jean-Louis Foulquier star in films Let Sleeping Cops Lie, Charlie Says, The Demon Stirs, J'ai Rencontré Le Père Noël and Notre histoire
Let Sleeping Cops Lie Charlie Says The Demon Stirs J'ai Rencontré Le Père Noël Notre histoire
action filter_type
action intersection
action find_reverse
entity Jean-Louis Foulquier
relation cast member
action find_reverse
entity French
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Jean-Louis Foulquier'], [{'concept': 'work of art'}, 'original language of work', 'French']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:work_of_art . ?s property:cast_member resource:Jean-Louis_Foulquier . ?s property:original_language_of_work resource:French }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3166766 Q1520747
P161
Q15416
USER
How many television programs stars Jean-Louis Foulquier or Khan Chittenden as actor ?
(c(Q15416),P161,Q3166766) (c(Q15416),P161,Q1520747)
action count
action union
action filter_type
action find_reverse
entity Q3166766
relation P161
type Q15416
action filter_type
action find_reverse
entity Q1520747
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q3166766'] [{'concept': 'Q15416'}, 'P161', 'Q1520747']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:P161 ?y . VALUES ( ?y ) { ( resource:Q1520747 ) ( resource:Q3166766 ) } }
Jean-Louis Foulquier Khan Chittenden
action count
action union
action filter_type
action find_reverse
entity Jean-Louis Foulquier
relation cast member
type television program
action filter_type
action find_reverse
entity Khan Chittenden
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Jean-Louis Foulquier'] [{'concept': 'television program'}, 'cast member', 'Khan Chittenden']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:cast_member ?y . VALUES ( ?y ) { ( resource:Khan_Chittenden ) ( resource:Jean-Louis_Foulquier ) } }
[]
television program
SYSTEM
2
Q5216063 Q525370
(c(Q15416),P161,Q3166766) (c(Q15416),P161,Q1520747)
action count
action union
action filter_type
action find_reverse
entity Q3166766
relation P161
type Q15416
action filter_type
action find_reverse
entity Q1520747
relation P161
type Q15416
[ANSWER]
[{'concept': 'Q15416'}, 'P161', 'Q3166766'] [{'concept': 'Q15416'}, 'P161', 'Q1520747']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:P161 ?y . VALUES ( ?y ) { ( resource:Q1520747 ) ( resource:Q3166766 ) } }
Dangerous Blue Water High
2
action count
action union
action filter_type
action find_reverse
entity Jean-Louis Foulquier
relation cast member
type television program
action filter_type
action find_reverse
entity Khan Chittenden
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Jean-Louis Foulquier'] [{'concept': 'television program'}, 'cast member', 'Khan Chittenden']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:cast_member ?y . VALUES ( ?y ) { ( resource:Khan_Chittenden ) ( resource:Jean-Louis_Foulquier ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q177993
P26
Q502895
USER
Which person is the life partner of Hiam Abbass ?
(c(Q502895),P26,Q177993)
action filter_type
action find
entity Q177993
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q177993']
SELECT DISTINCT ?d WHERE { resource:Q177993 property:P26 ?d . ?d rdf:type ontology:Q502895 }
Hiam Abbass
action filter_type
action find
entity Hiam Abbass
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hiam Abbass']
SELECT DISTINCT ?d WHERE { resource:Hiam_Abbass property:spouse ?d . ?d rdf:type ontology:common_name }
[]
common name
Q204394
SYSTEM
Zinedine Soualem
Q204394
(c(Q502895),P26,Q177993)
action filter_type
action find
entity Q177993
relation P26
type Q502895
[ANSWER] is the life partner of Hiam Abbass
[{'concept': 'Q502895'}, 'P26', 'Q177993']
SELECT DISTINCT ?d WHERE { resource:Q177993 property:P26 ?d . ?d rdf:type ontology:Q502895 }
Zinedine Soualem
Zinedine Soualem is the life partner of Hiam Abbass
Zinedine Soualem
action filter_type
action find
entity Hiam Abbass
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hiam Abbass']
SELECT DISTINCT ?d WHERE { resource:Hiam_Abbass property:spouse ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q204394
P19
Q20667921
USER
Which french administrative division was that person born in ?
(Q204394,P19,c(Q20667921))
action filter_type
action find
entity Q204394
relation P19
type Q20667921
['Q204394', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { resource:Q204394 property:P19 ?x . ?x rdf:type ontology:Q20667921 }
Zinedine Soualem
action filter_type
action find
entity Zinedine Soualem
relation place of birth
type type of french administrative division
['Zinedine Soualem', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { resource:Zinedine_Soualem property:place_of_birth ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q217174
SYSTEM
Thiers
Q217174
(Q204394,P19,c(Q20667921))
action filter_type
action find
entity Q204394
relation P19
type Q20667921
That person was born at [ANSWER]
['Q204394', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { resource:Q204394 property:P19 ?x . ?x rdf:type ontology:Q20667921 }
Thiers
That person was born at Thiers
Thiers
action filter_type
action find
entity Zinedine Soualem
relation place of birth
type type of french administrative division
['Zinedine Soualem', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { resource:Zinedine_Soualem property:place_of_birth ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q217174
P47
Q20667921
USER
Which french administrative divisions do that one share a border with ?
(c(Q20667921),P47,Q217174)
action filter_type
action find_reverse
entity Q217174
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q217174']
SELECT DISTINCT ?o WHERE { ?o property:P47 resource:Q217174 . ?o rdf:type ontology:Q20667921 }
Thiers
action filter_type
action find_reverse
entity Thiers
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Thiers']
SELECT DISTINCT ?o WHERE { ?o property:shares_border_with resource:Thiers . ?o rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1098515 Q1047781 Q1060059
SYSTEM
Paslières, Celles-sur-Durolle, Escoutoux
Q1098515 Q1060059 Q540265 Q1221447 Q1098506 Q1097472 Q1047781 Q1159271
(c(Q20667921),P47,Q217174)
action filter_type
action find_reverse
entity Q217174
relation P47
type Q20667921
[ANSWERS] that one share a border with
[{'concept': 'Q20667921'}, 'P47', 'Q217174']
SELECT DISTINCT ?o WHERE { ?o property:P47 resource:Q217174 . ?o rdf:type ontology:Q20667921 }
Paslières Escoutoux Dorat Saint-Rémy-sur-Durolle Peschadoires Orléat Celles-sur-Durolle La Monnerie-le-Montel
Paslières, Celles-sur-Durolle and Escoutoux that one share a border with
Paslières Celles-sur-Durolle Escoutoux
action filter_type
action find_reverse
entity Thiers
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Thiers']
SELECT DISTINCT ?o WHERE { ?o property:shares_border_with resource:Thiers . ?o rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q217174
P47
Q20667921
USER
Are Thiers bordered by those ones ?
(Q217174,P47,Q1098515) (Q217174,P47,Q1047781) (Q217174,P47,Q1060059)
action is_in
entity prev_answer
action find
entity Q217174
relation P47
['Q217174', 'P47', 'Q1098515'] ['Q217174', 'P47', 'Q1047781'] ['Q217174', 'P47', 'Q1060059']
ASK WHERE { VALUES ( ?z ) { ( resource:Q1098515 ) ( resource:Q1060059 ) ( resource:Q540265 ) } . resource:Q217174 property:P47 ?z }
Thiers
action is_in
entity prev_answer
action find
entity Thiers
relation shares border with
['Thiers', 'shares border with', 'Paslières'] ['Thiers', 'shares border with', 'Celles-sur-Durolle'] ['Thiers', 'shares border with', 'Escoutoux']
ASK WHERE { VALUES ( ?z ) { ( resource:Paslières ) ( resource:Escoutoux ) ( resource:Dorat ) } . resource:Thiers property:shares_border_with ?z }
[]
type of french administrative division
SYSTEM
YES
(Q217174,P47,Q1098515) (Q217174,P47,Q1047781) (Q217174,P47,Q1060059)
action is_in
entity prev_answer
action find
entity Q217174
relation P47
[ANSWER]
['Q217174', 'P47', 'Q1098515'] ['Q217174', 'P47', 'Q1047781'] ['Q217174', 'P47', 'Q1060059']
ASK WHERE { VALUES ( ?z ) { ( resource:Q1098515 ) ( resource:Q1060059 ) ( resource:Q540265 ) } . resource:Q217174 property:P47 ?z }
Yes
action is_in
entity prev_answer
action find
entity Thiers
relation shares border with
['Thiers', 'shares border with', 'Paslières'] ['Thiers', 'shares border with', 'Celles-sur-Durolle'] ['Thiers', 'shares border with', 'Escoutoux']
ASK WHERE { VALUES ( ?z ) { ( resource:Paslières ) ( resource:Escoutoux ) ( resource:Dorat ) } . resource:Thiers property:shares_border_with ?z }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1098515 Q1724042 Q645827
P47
Q20667921
USER
Does canton of Ahun and Noalhat share a border with Paslières ?
(Q1098515,P47,Q1724042) (Q1098515,P47,Q645827)
action is_in
entity Q1098515
action intersection
action find_reverse
entity Q1724042
relation P47
action find_reverse
entity Q645827
relation P47
['Q1098515', 'P47', 'Q1724042'] ['Q1098515', 'P47', 'Q645827']
ASK WHERE { resource:Q1098515 property:P47 resource:Q1724042 . resource:Q1098515 property:P47 resource:Q645827 }
Paslières canton of Ahun Noalhat
action is_in
entity Paslières
action intersection
action find_reverse
entity canton of Ahun
relation shares border with
action find_reverse
entity Noalhat
relation shares border with
['Paslières', 'shares border with', 'canton of Ahun'] ['Paslières', 'shares border with', 'Noalhat']
ASK WHERE { resource:Paslières property:shares_border_with resource:canton_of_Ahun . resource:Paslières property:shares_border_with resource:Noalhat }
[]
type of french administrative division
SYSTEM
NO and YES respectively
(Q1098515,P47,Q1724042) (Q1098515,P47,Q645827)
action is_in
entity Q1098515
action intersection
action find_reverse
entity Q1724042
relation P47
action find_reverse
entity Q645827
relation P47
[ANSWER]
['Q1098515', 'P47', 'Q1724042'] ['Q1098515', 'P47', 'Q645827']
ASK WHERE { resource:Q1098515 property:P47 resource:Q1724042 . resource:Q1098515 property:P47 resource:Q645827 }
NO and YES respectively
action is_in
entity Paslières
action intersection
action find_reverse
entity canton of Ahun
relation shares border with
action find_reverse
entity Noalhat
relation shares border with
['Paslières', 'shares border with', 'canton of Ahun'] ['Paslières', 'shares border with', 'Noalhat']
ASK WHERE { resource:Paslières property:shares_border_with resource:canton_of_Ahun . resource:Paslières property:shares_border_with resource:Noalhat }
[]