Simple Question (Direct)
Simple Question
Q1306407
P1040
Q502895
USER
Which person is the editor of A Story of Water ?
(Q1306407,P1040,c(Q502895))
action filter_type
action find
entity Q1306407
relation P1040
type Q502895
['Q1306407', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1306407 property:P1040 ?c . ?c rdf:type ontology:Q502895 }
A Story of Water
action filter_type
action find
entity A Story of Water
relation film editor
type common name
['A Story of Water', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:A_Story_of_Water property:film_editor ?c . ?c rdf:type ontology:common_name }
[]
common name
Q53001
SYSTEM
Jean-Luc Godard
Q53001
(Q1306407,P1040,c(Q502895))
action filter_type
action find
entity Q1306407
relation P1040
type Q502895
[ANSWER] is the editor of A Story of Water
['Q1306407', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1306407 property:P1040 ?c . ?c rdf:type ontology:Q502895 }
Jean-Luc Godard
Jean-Luc Godard is the editor of A Story of Water
Jean-Luc Godard
action filter_type
action find
entity A Story of Water
relation film editor
type common name
['A Story of Water', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:A_Story_of_Water property:film_editor ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q53001
P1411
Q618779
USER
Which awards were that person a recipient of ?
(Q53001,P1411,c(Q618779))
action filter_type
action find
entity Q53001
relation P1411
type Q618779
['Q53001', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?n WHERE { resource:Q53001 property:P1411 ?n . ?n rdf:type ontology:Q618779 }
Jean-Luc Godard
action filter_type
action find
entity Jean-Luc Godard
relation nominated for
type award
['Jean-Luc Godard', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?n WHERE { resource:Jean-Luc_Godard property:nominated_for ?n . ?n rdf:type ontology:award }
[]
award
Q24137 Q900360 Q645595
SYSTEM
César Award for Best Director, César du meilleur film francophone, César Award for Best Film
Q24137 Q900360 Q645595
(Q53001,P1411,c(Q618779))
action filter_type
action find
entity Q53001
relation P1411
type Q618779
[ANSWERS] were that person a recipient of
['Q53001', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?n WHERE { resource:Q53001 property:P1411 ?n . ?n rdf:type ontology:Q618779 }
César Award for Best Director César du meilleur film francophone César Award for Best Film
César Award for Best Director, César du meilleur film francophone and César Award for Best Film were that person a recipient of
César Award for Best Director César du meilleur film francophone César Award for Best Film
action filter_type
action find
entity Jean-Luc Godard
relation nominated for
type award
['Jean-Luc Godard', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?n WHERE { resource:Jean-Luc_Godard property:nominated_for ?n . ?n rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q24137 Q900360 Q645595
P1411
Q502895
USER
Which people were nominated for those awards ?
(c(Q502895),P1411,Q24137) (c(Q502895),P1411,Q900360) (c(Q502895),P1411,Q645595)
action filter_type
action find_reverse
entity prev_answer
relation P1411
type Q502895
[{'concept': 'Q502895'}, 'P1411', 'Q24137'] [{'concept': 'Q502895'}, 'P1411', 'Q900360'] [{'concept': 'Q502895'}, 'P1411', 'Q645595']
SELECT DISTINCT ?s WHERE { VALUES ( ?n ) { ( resource:Q24137 ) ( resource:Q900360 ) ( resource:Q645595 ) } . ?s rdf:type ontology:Q502895 . ?s property:P1411 ?n }
César Award for Best Director César du meilleur film francophone César Award for Best Film
action filter_type
action find_reverse
entity prev_answer
relation nominated for
type common name
[{'concept': 'common name'}, 'nominated for', 'César Award for Best Director'] [{'concept': 'common name'}, 'nominated for', 'César du meilleur film francophone'] [{'concept': 'common name'}, 'nominated for', 'César Award for Best Film']
SELECT DISTINCT ?s WHERE { VALUES ( ?n ) { ( resource:César_Award_for_Best_Director ) ( resource:César_du_meilleur_film_francophone ) ( resource:César_Award_for_Best_Film ) } . ?s rdf:type ontology:common_name . ?s property:nominated_for ?n }
[]
common name
Q55392 Q55392 Q53002
SYSTEM
Louis Malle for 1st, 2nd, François Truffaut for 3rd
Q55375 Q55375 Q737693 Q1683035 Q1683035 Q355835 Q451637 Q167475 Q599556 Q599556 Q599556 Q599556 Q599556 Q296698 Q296698 Q440609 Q307996 Q307996 Q307996 Q229990 Q1873071 Q1873071 Q106709 Q106709 Q106709 Q106709 Q106709 Q117071 Q818119 Q3367671 Q53001 Q53001 Q53002 Q53002 Q53002 Q382389 Q382389 Q382389 Q382389 Q382389 Q106685 Q106669 Q106669 Q106669 Q106669 Q276186 Q312280 Q312280 Q312280 Q709973 Q709973 Q709973 Q709973 Q550717 Q53050 Q710650 Q710650 Q453371 Q453371 Q453371 Q453371 Q453371 Q453371 Q453371 Q337226 Q337226 Q337226 Q337226 Q337226 Q337226 Q337226 Q533866 Q366057 Q366057 Q366057 Q312258 Q50764 Q503898 Q503898 Q503898 Q218022 Q218022 Q218022 Q218022 Q218022 Q218022 Q218022 Q218022 Q1053096 Q718596 Q55392 Q523144 Q523144 Q523144 Q523144 Q523144 Q523144 Q523144 Q3340680 Q691335 Q691335 Q691335 Q116204 Q53001 Q518295 Q55375 Q737693 Q1683035 Q1683035 Q116236 Q355835 Q451637 Q167475 Q599556 Q599556 Q599556 Q296698 Q296698 Q440609 Q440609 Q307996 Q307996 Q307996 Q1890346 Q229990 Q1873071 Q106709 Q106709 Q106709 Q106709 Q106709 Q117071 Q818119 Q3367671 Q53001 Q53001 Q53002 Q382389 Q382389 Q382389 Q382389 Q106685 Q106669 Q106669 Q106669 Q276186 Q117147 Q117147 Q312280 Q312280 Q709973 Q709973 Q709973 Q460223 Q710650 Q453371 Q453371 Q453371 Q453371 Q337226 Q337226 Q337226 Q337226 Q337226 Q337226 Q337226 Q2636752 Q126633 Q366057 Q366057 Q15198545 Q3299877 Q312258 Q1384227 Q50764 Q503898 Q503898 Q503898 Q503898 Q218022 Q218022 Q218022 Q218022 Q218022 Q218022 Q218022 Q218022 Q1053096 Q718596 Q55392 Q523144 Q523144 Q523144 Q523144 Q523144 Q3340680 Q691335 Q691335 Q691335
(c(Q502895),P1411,Q24137) (c(Q502895),P1411,Q900360) (c(Q502895),P1411,Q645595)
action filter_type
action find_reverse
entity prev_answer
relation P1411
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1411', 'Q24137'] [{'concept': 'Q502895'}, 'P1411', 'Q900360'] [{'concept': 'Q502895'}, 'P1411', 'Q645595']
SELECT DISTINCT ?s WHERE { VALUES ( ?n ) { ( resource:Q24137 ) ( resource:Q900360 ) ( resource:Q645595 ) } . ?s rdf:type ontology:Q502895 . ?s property:P1411 ?n }
Claude Chabrol Claude Chabrol Leos Carax Alain Cavalier Alain Cavalier Mathieu Amalric Christine Pascal Jacques Rivette Michel Deville Michel Deville Michel Deville Michel Deville Michel Deville Costa-Gavras Costa-Gavras Noémie Lvovsky Abdellatif Kechiche Abdellatif Kechiche Abdellatif Kechiche Agnès Varda Lucas Belvaux Lucas Belvaux Patrice Leconte Patrice Leconte Patrice Leconte Patrice Leconte Patrice Leconte Laurent Cantet Benoît Jacquot Pascale Ferran Jean-Luc Godard Jean-Luc Godard François Truffaut François Truffaut François Truffaut Jacques Audiard Jacques Audiard Jacques Audiard Jacques Audiard Jacques Audiard Andrzej Wajda Claude Sautet Claude Sautet Claude Sautet Claude Sautet Aki Kaurismäki Alain Corneau Alain Corneau Alain Corneau Jean-Paul Rappeneau Jean-Paul Rappeneau Jean-Paul Rappeneau Jean-Paul Rappeneau Olivier Assayas Francesco Rosi Jacques Doillon Jacques Doillon Claude Miller Claude Miller Claude Miller Claude Miller Claude Miller Claude Miller Claude Miller Bertrand Tavernier Bertrand Tavernier Bertrand Tavernier Bertrand Tavernier Bertrand Tavernier Bertrand Tavernier Bertrand Tavernier Pierre Granier-Deferre Patrice Chéreau Patrice Chéreau Patrice Chéreau Jacques Demy Éric Rohmer Maurice Pialat Maurice Pialat Maurice Pialat Alain Resnais Alain Resnais Alain Resnais Alain Resnais Alain Resnais Alain Resnais Alain Resnais Alain Resnais Christian de Chalonge Robert Guédiguian Louis Malle André Téchiné André Téchiné André Téchiné André Téchiné André Téchiné André Téchiné André Téchiné Nicolas Philibert Arnaud Desplechin Arnaud Desplechin Arnaud Desplechin Francis Reusser Jean-Luc Godard André Delvaux Claude Chabrol Leos Carax Alain Cavalier Alain Cavalier Claude Goretta Mathieu Amalric Christine Pascal Jacques Rivette Michel Deville Michel Deville Michel Deville Costa-Gavras Costa-Gavras Noémie Lvovsky Noémie Lvovsky Abdellatif Kechiche Abdellatif Kechiche Abdellatif Kechiche Vincent Paronnaud Agnès Varda Lucas Belvaux Patrice Leconte Patrice Leconte Patrice Leconte Patrice Leconte Patrice Leconte Laurent Cantet Benoît Jacquot Pascale Ferran Jean-Luc Godard Jean-Luc Godard François Truffaut Jacques Audiard Jacques Audiard Jacques Audiard Jacques Audiard Andrzej Wajda Claude Sautet Claude Sautet Claude Sautet Aki Kaurismäki Thomas Langmann Thomas Langmann Alain Corneau Alain Corneau Jean-Paul Rappeneau Jean-Paul Rappeneau Jean-Paul Rappeneau Diane Kurys Jacques Doillon Claude Miller Claude Miller Claude Miller Claude Miller Bertrand Tavernier Bertrand Tavernier Bertrand Tavernier Bertrand Tavernier Bertrand Tavernier Bertrand Tavernier Bertrand Tavernier Éric Rochant Marjane Satrapi Patrice Chéreau Patrice Chéreau Bruno Levy Matthieu Delaporte Jacques Demy Jean-Charles Tacchella Éric Rohmer Maurice Pialat Maurice Pialat Maurice Pialat Maurice Pialat Alain Resnais Alain Resnais Alain Resnais Alain Resnais Alain Resnais Alain Resnais Alain Resnais Alain Resnais Christian de Chalonge Robert Guédiguian Louis Malle André Téchiné André Téchiné André Téchiné André Téchiné André Téchiné Nicolas Philibert Arnaud Desplechin Arnaud Desplechin Arnaud Desplechin
Louis Malle, Louis Malle and François Truffaut were nominated for those awards
Louis Malle Louis Malle François Truffaut
action filter_type
action find_reverse
entity prev_answer
relation nominated for
type common name
[{'concept': 'common name'}, 'nominated for', 'César Award for Best Director'] [{'concept': 'common name'}, 'nominated for', 'César du meilleur film francophone'] [{'concept': 'common name'}, 'nominated for', 'César Award for Best Film']
SELECT DISTINCT ?s WHERE { VALUES ( ?n ) { ( resource:César_Award_for_Best_Director ) ( resource:César_du_meilleur_film_francophone ) ( resource:César_Award_for_Best_Film ) } . ?s rdf:type ontology:common_name . ?s property:nominated_for ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q53002
P108
Q1002697
USER
Which periodical literature does François Truffaut work for ?
(Q53002,P108,c(Q1002697))
action filter_type
action find
entity Q53002
relation P108
type Q1002697
['Q53002', 'P108', {'concept': 'Q1002697'}]
SELECT DISTINCT ?l WHERE { resource:Q53002 property:P108 ?l . ?l rdf:type ontology:Q1002697 }
François Truffaut
action filter_type
action find
entity François Truffaut
relation employer
type periodical literature
['François Truffaut', 'employer', {'concept': 'periodical literature'}]
SELECT DISTINCT ?l WHERE { resource:François_Truffaut property:employer ?l . ?l rdf:type ontology:periodical_literature }
[]
periodical literature
Q909176
SYSTEM
Cahiers du cinéma
Q909176
(Q53002,P108,c(Q1002697))
action filter_type
action find
entity Q53002
relation P108
type Q1002697
François Truffaut works in [ANSWER]
['Q53002', 'P108', {'concept': 'Q1002697'}]
SELECT DISTINCT ?l WHERE { resource:Q53002 property:P108 ?l . ?l rdf:type ontology:Q1002697 }
Cahiers du cinéma
François Truffaut works in Cahiers du cinéma
Cahiers du cinéma
action filter_type
action find
entity François Truffaut
relation employer
type periodical literature
['François Truffaut', 'employer', {'concept': 'periodical literature'}]
SELECT DISTINCT ?l WHERE { resource:François_Truffaut property:employer ?l . ?l rdf:type ontology:periodical_literature }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q53002
P50
Q2342494
USER
Which collectable has that person as its author ?
(c(Q2342494),P50,Q909176)
action filter_type
action find_reverse
entity Q53002
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q909176']
SELECT DISTINCT ?f WHERE { ?f property:P50 resource:Q53002 . ?f rdf:type ontology:Q2342494 }
François Truffaut
action filter_type
action find_reverse
entity François Truffaut
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Cahiers du cinéma']
SELECT DISTINCT ?f WHERE { ?f property:author resource:François_Truffaut . ?f rdf:type ontology:collectable }
[]
collectable
Q1951421
SYSTEM
Hitchcock/Truffaut
Q1951421
(c(Q2342494),P50,Q909176)
action filter_type
action find_reverse
entity Q53002
relation P50
type Q2342494
[ANSWER] has that person as its author
[{'concept': 'Q2342494'}, 'P50', 'Q909176']
SELECT DISTINCT ?f WHERE { ?f property:P50 resource:Q53002 . ?f rdf:type ontology:Q2342494 }
Hitchcock/Truffaut
Hitchcock/Truffaut has that person as its author
Hitchcock/Truffaut
action filter_type
action find_reverse
entity François Truffaut
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Cahiers du cinéma']
SELECT DISTINCT ?f WHERE { ?f property:author resource:François_Truffaut . ?f rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q53002
P140
Q874405
USER
Which social group does that person relate to ?
(Q1951421,P140,c(Q874405))
action filter_type
action find
entity Q53002
relation P140
type Q874405
['Q1951421', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q874405 . resource:Q53002 property:P140 ?m }
François Truffaut
action filter_type
action find
entity François Truffaut
relation religion
type social group
['Hitchcock/Truffaut', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:social_group . resource:François_Truffaut property:religion ?m }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q1951421,P140,c(Q874405))
action filter_type
action find
entity Q53002
relation P140
type Q874405
That person relates to [ANSWER]
['Q1951421', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q874405 . resource:Q53002 property:P140 ?m }
Catholicism
That person relates to Catholicism
Catholicism
action filter_type
action find
entity François Truffaut
relation religion
type social group
['Hitchcock/Truffaut', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:social_group . resource:François_Truffaut property:religion ?m }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P355
Q874405 Q43229 Q874405
USER
Which social groups are an auxiliary of min number of organizations or social groups ?
(c(Q43229)|c(Q874405),P355,c(Q874405))
action argmin
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q43229
action find_reverse_tuple_counts
relation P355
type Q874405
type Q874405
[[{'concept': 'Q43229'}, {'concept': 'Q874405'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?a = ?q ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?g WHERE { VALUES ( ?i ) { ( ontology:Q43229 ) ( ontology:Q874405 ) } . ?v rdf:type ?i } GROUP BY ?g } . { SELECT DISTINCT ( MIN ( ?j ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?t WHERE { { ?l property:P355 ?t . ?t rdf:type ontology:Q874405 . ?l rdf:type ontology:Q874405 } UNION { ?l property:P355 ?t . ?l rdf:type ontology:Q43229 . ?t rdf:type ontology:Q874405 } } GROUP BY ?t } } }
action argmin
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type organization
action find_reverse_tuple_counts
relation subsidiary
type social group
type social group
[[{'concept': 'organization'}, {'concept': 'social group'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?a = ?q ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?g WHERE { VALUES ( ?i ) { ( ontology:organization ) ( ontology:social_group ) } . ?v rdf:type ?i } GROUP BY ?g } . { SELECT DISTINCT ( MIN ( ?j ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?t WHERE { { ?l property:subsidiary ?t . ?t rdf:type ontology:social_group . ?l rdf:type ontology:social_group } UNION { ?l property:subsidiary ?t . ?l rdf:type ontology:organization . ?t rdf:type ontology:social_group } } GROUP BY ?t } } }
[]
social group organization social group
Q7660181 Q740308 Q15293666
SYSTEM
Sydney Trains, UNICEF, Straßenbahn Kleve
Q2522363 Q751152 Q928183 Q13359824 Q7660181 Q781027 Q13218607 Q3274087 Q13416804 Q161718 Q477386 Q5153705 Q3954348 Q890180 Q15293666 Q1411739 Q2990871 Q740308 Q549157
(c(Q43229)|c(Q874405),P355,c(Q874405))
action argmin
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q43229
action find_reverse_tuple_counts
relation P355
type Q874405
type Q874405
[ANSWERS] are an auxiliary of min number of organizations or social groups
[[{'concept': 'Q43229'}, {'concept': 'Q874405'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?a = ?q ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?g WHERE { VALUES ( ?i ) { ( ontology:Q43229 ) ( ontology:Q874405 ) } . ?v rdf:type ?i } GROUP BY ?g } . { SELECT DISTINCT ( MIN ( ?j ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?t WHERE { { ?l property:P355 ?t . ?t rdf:type ontology:Q874405 . ?l rdf:type ontology:Q874405 } UNION { ?l property:P355 ?t . ?l rdf:type ontology:Q43229 . ?t rdf:type ontology:Q874405 } } GROUP BY ?t } } }
Victor Gollancz Ltd Astrium Services SABCA Immobilière Dassault Sydney Trains Audi Hungaria Motor Kft. RBS Securities United Front Work Department Warner Bros. Animation United Nations Development Programme EADS Astrium Space Transportation Commonwealth Business Council Commonwealth Secretariat Boeing Canada Straßenbahn Kleve Time Inc. Comptoir métallurgique marocain UNICEF Airlines Tonga
Sydney Trains, UNICEF and Straßenbahn Kleve are an auxiliary of min number of organizations or social groups
Sydney Trains UNICEF Straßenbahn Kleve
action argmin
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type organization
action find_reverse_tuple_counts
relation subsidiary
type social group
type social group
[[{'concept': 'organization'}, {'concept': 'social group'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?a = ?q ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?g WHERE { VALUES ( ?i ) { ( ontology:organization ) ( ontology:social_group ) } . ?v rdf:type ?i } GROUP BY ?g } . { SELECT DISTINCT ( MIN ( ?j ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?t WHERE { { ?l property:subsidiary ?t . ?t rdf:type ontology:social_group . ?l rdf:type ontology:social_group } UNION { ?l property:subsidiary ?t . ?l rdf:type ontology:organization . ?t rdf:type ontology:social_group } } GROUP BY ?t } } }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q51552 Q55392
P1346
Q4220917
USER
Which film awards were won by Louis Malle but not Roman Polanski ?
AND((c(Q4220917),P1346,Q55392), NOT((c(Q4220917),P1346,Q51552)))
action filter_type
action difference
action find_reverse
entity Q55392
relation P1346
action find_reverse
entity Q51552
relation P1346
type Q4220917
{'AND': [[{'concept': 'Q4220917'}, 'P1346', 'Q55392'], {'NOT': [[{'concept': 'Q4220917'}, 'P1346', 'Q51552']]}]}
SELECT DISTINCT ?n WHERE { ?n property:P1346 resource:Q55392 . MINUS { ?n property:P1346 resource:Q51552 } . ?n rdf:type ontology:Q4220917 }
Roman Polanski Louis Malle
action filter_type
action difference
action find_reverse
entity Louis Malle
relation winner
action find_reverse
entity Roman Polanski
relation winner
type film award
{'AND': [[{'concept': 'film award'}, 'winner', 'Louis Malle'], {'NOT': [[{'concept': 'film award'}, 'winner', 'Roman Polanski']]}]}
SELECT DISTINCT ?n WHERE { ?n property:winner resource:Louis_Malle . MINUS { ?n property:winner resource:Roman_Polanski } . ?n rdf:type ontology:film_award }
[]
film award
Q787148
SYSTEM
BAFTA Academy Fellowship Award
Q787148
AND((c(Q4220917),P1346,Q55392), NOT((c(Q4220917),P1346,Q51552)))
action filter_type
action difference
action find_reverse
entity Q55392
relation P1346
action find_reverse
entity Q51552
relation P1346
type Q4220917
[ANSWER] was won by Louis Malle but not Roman Polanski
{'AND': [[{'concept': 'Q4220917'}, 'P1346', 'Q55392'], {'NOT': [[{'concept': 'Q4220917'}, 'P1346', 'Q51552']]}]}
SELECT DISTINCT ?n WHERE { ?n property:P1346 resource:Q55392 . MINUS { ?n property:P1346 resource:Q51552 } . ?n rdf:type ontology:Q4220917 }
BAFTA Academy Fellowship Award
BAFTA Academy Fellowship Award was won by Louis Malle but not Roman Polanski
BAFTA Academy Fellowship Award
action filter_type
action difference
action find_reverse
entity Louis Malle
relation winner
action find_reverse
entity Roman Polanski
relation winner
type film award
{'AND': [[{'concept': 'film award'}, 'winner', 'Louis Malle'], {'NOT': [[{'concept': 'film award'}, 'winner', 'Roman Polanski']]}]}
SELECT DISTINCT ?n WHERE { ?n property:winner resource:Louis_Malle . MINUS { ?n property:winner resource:Roman_Polanski } . ?n rdf:type ontology:film_award }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q787148 Q92605
P166
Q502895
USER
Did John Carmack win that film award ?
(Q92605,P166,Q787148)
action is_in
entity Q787148
action find
entity Q92605
relation P166
['Q92605', 'P166', 'Q787148']
ASK WHERE { resource:Q92605 property:P166 resource:Q787148 }
BAFTA Academy Fellowship Award John Carmack
action is_in
entity BAFTA Academy Fellowship Award
action find
entity John Carmack
relation award received
['John Carmack', 'award received', 'BAFTA Academy Fellowship Award']
ASK WHERE { resource:John_Carmack property:award_received resource:BAFTA_Academy_Fellowship_Award }
[]
common name
SYSTEM
YES
(Q92605,P166,Q787148)
action is_in
entity Q787148
action find
entity Q92605
relation P166
[ANSWER]
['Q92605', 'P166', 'Q787148']
ASK WHERE { resource:Q92605 property:P166 resource:Q787148 }
Yes
action is_in
entity BAFTA Academy Fellowship Award
action find
entity John Carmack
relation award received
['John Carmack', 'award received', 'BAFTA Academy Fellowship Award']
ASK WHERE { resource:John_Carmack property:award_received resource:BAFTA_Academy_Fellowship_Award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q909176
P108
Q502895
USER
How many people work for Cahiers du cinéma ?
(c(Q502895),P108,Q909176)
action count
action filter_type
action find_reverse
entity Q909176
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q909176']
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b property:P108 resource:Q909176 . ?b rdf:type ontology:Q502895 }
Cahiers du cinéma
action count
action filter_type
action find_reverse
entity Cahiers du cinéma
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Cahiers du cinéma']
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b property:employer resource:Cahiers_du_cinéma . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
88
Q55375 Q3035379 Q737693 Q3085465 Q3479401 Q3310279 Q3163691 Q167475 Q993671 Q3310411 Q2897859 Q3165854 Q324219 Q362544 Q3173347 Q3167405 Q446583 Q1450958 Q3081580 Q2542671 Q3052608 Q3309416 Q3367476 Q3479221 Q1150170 Q3164842 Q2935076 Q918681 Q15973453 Q719364 Q16028682 Q1308340 Q3134567 Q3524167 Q2559571 Q53001 Q53002 Q3168029 Q927101 Q2829551 Q3173674 Q118488 Q615768 Q3144768 Q3158628 Q3132928 Q289645 Q3168488 Q3369285 Q16645392 Q662366 Q24578817 Q3263121 Q711939 Q3165003 Q3168881 Q550717 Q3158167 Q3242481 Q3164460 Q1147958 Q544901 Q536606 Q3106273 Q16678087 Q467470 Q337226 Q3524347 Q3159998 Q16234348 Q2856833 Q2848599 Q3171383 Q3171768 Q3479556 Q3165122 Q3341011 Q50764 Q3124015 Q15971626 Q1945836 Q3380299 Q523144 Q3307854 Q2976747 Q3383901 Q2960297 Q551772
(c(Q502895),P108,Q909176)
action count
action filter_type
action find_reverse
entity Q909176
relation P108
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q909176']
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b property:P108 resource:Q909176 . ?b rdf:type ontology:Q502895 }
Claude Chabrol Dominique Païni Leos Carax François Niney Serge Le Péron Michel Mardore Jean-André Fieschi Jacques Rivette Bruno Podalydès Michel Mourlet Bernard Eisenschitz Jean-François Rauger Nicolas Saada André Bazin Jean Mambrino Jean-Marc Lalanne Jean-Louis Comolli François Bégaudeau Francis Marmande Serge Daney Emmanuel Burdeau Michel Delahaye Pascal Kané Serge Bozon Cédric Anger Jean-Claude Biette Camille Taboulay Jean Douchet Philippe Azoury Fereydoon Hoveyda André Martin Shigehiko Hasumi Hervé Le Roux Thierry Cazals Noël Burch Jean-Luc Godard François Truffaut Jean-Michel Frodon Morvan Lebesque Alain Bergala Jean Narboni Jacques Doniol-Valcroze Claude de Givray Hélène Frappat Jacques Daniel Henry Magnan Pascal Bonitzer Jean-Paul Fargier Patrick Brion Jean-Pierre Rehm François Weyergans Iannis Katsahnias Louis Skorecki Luc Moullet Jean-Claude Guiguet Jean-Philippe Tessé Olivier Assayas Jacques Aumont Lise Bellynck Jean-Baptiste Thoret Michel Chion Charles Bitsch Danièle Dubroux Gilles Grand Stéphane Delorme Jacques Rancière Bertrand Tavernier Thierry Jousse Jacques Siclier Léonide Keigel Antoine de Baecque André S. Labarthe Jean Collet Jean Domarchi Serge Toubiana Jean-Claude Missiaen Nicole Brenez Éric Rohmer Gérard Guégan Louis Marcorelles Stéphane Bouquet Philippe Mangeot André Téchiné Mia Hansen-Løve Claude-Jean Philippe Pierre Baudry Charles Tesson Christophe Honoré
88
action count
action filter_type
action find_reverse
entity Cahiers du cinéma
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Cahiers du cinéma']
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { ?b property:employer resource:Cahiers_du_cinéma . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q909176
P921
Q735
USER
What topic was discussed in Cahiers du cinéma ?
(Q909176,P921,c(Q735))
action filter_type
action find
entity Q909176
relation P921
type Q735
['Q909176', 'P921', {'concept': 'Q735'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q735 . resource:Q909176 property:P921 ?g }
Cahiers du cinéma
action filter_type
action find
entity Cahiers du cinéma
relation main subject
type art
['Cahiers du cinéma', 'main subject', {'concept': 'art'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:art . resource:Cahiers_du_cinéma property:main_subject ?g }
[]
art
Q590870
SYSTEM
cinematography
Q590870
(Q909176,P921,c(Q735))
action filter_type
action find
entity Q909176
relation P921
type Q735
The [ANSWER] was discussed in Cahiers du cinéma
['Q909176', 'P921', {'concept': 'Q735'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q735 . resource:Q909176 property:P921 ?g }
cinematography
The cinematography was discussed in Cahiers du cinéma
cinematography
action filter_type
action find
entity Cahiers du cinéma
relation main subject
type art
['Cahiers du cinéma', 'main subject', {'concept': 'art'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:art . resource:Cahiers_du_cinéma property:main_subject ?g }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1951421 Q7228990
P50
Q502895
USER
How many people penned Hitchcock/Truffaut or Pop Chronicles ?
(Q1951421,P50,c(Q502895)) (Q7228990,P50,c(Q502895))
action count
action union
action filter_type
action find
entity Q1951421
relation P50
type Q502895
action filter_type
action find
entity Q7228990
relation P50
type Q502895
['Q1951421', 'P50', {'concept': 'Q502895'}] ['Q7228990', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { VALUES ( ?h ) { ( resource:Q1951421 ) ( resource:Q7228990 ) } . ?h property:P50 ?i }
Hitchcock/Truffaut Pop Chronicles
action count
action union
action filter_type
action find
entity Hitchcock/Truffaut
relation author
type common name
action filter_type
action find
entity Pop Chronicles
relation author
type common name
['Hitchcock/Truffaut', 'author', {'concept': 'common name'}] ['Pop Chronicles', 'author', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { VALUES ( ?h ) { ( resource:Hitchcock/Truffaut ) ( resource:Pop_Chronicles ) } . ?h property:author ?i }
[]
common name
SYSTEM
2
Q16014067 Q53002
(Q1951421,P50,c(Q502895)) (Q7228990,P50,c(Q502895))
action count
action union
action filter_type
action find
entity Q1951421
relation P50
type Q502895
action filter_type
action find
entity Q7228990
relation P50
type Q502895
[ANSWER]
['Q1951421', 'P50', {'concept': 'Q502895'}] ['Q7228990', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { VALUES ( ?h ) { ( resource:Q1951421 ) ( resource:Q7228990 ) } . ?h property:P50 ?i }
John Gilliland François Truffaut
2
action count
action union
action filter_type
action find
entity Hitchcock/Truffaut
relation author
type common name
action filter_type
action find
entity Pop Chronicles
relation author
type common name
['Hitchcock/Truffaut', 'author', {'concept': 'common name'}] ['Pop Chronicles', 'author', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { VALUES ( ?h ) { ( resource:Hitchcock/Truffaut ) ( resource:Pop_Chronicles ) } . ?h property:author ?i }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q206741 Q15293666
P27 P17
Q1048835
USER
Which political territories are Straßenbahn Kleve present in or are the countries of citizenship of Ancus Marcius ?
OR((Q15293666,P17,c(Q1048835)), (Q206741,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q15293666
relation P17
action find
entity Q206741
relation P27
type Q1048835
{'OR': [['Q15293666', 'P17', {'concept': 'Q1048835'}], ['Q206741', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q15293666 property:P17 ?m } UNION { resource:Q206741 property:P27 ?m } } . ?m rdf:type ontology:Q1048835 }
Ancus Marcius Straßenbahn Kleve
action filter_type
action union
action find
entity Straßenbahn Kleve
relation country
action find
entity Ancus Marcius
relation country of citizenship
type political territorial entity
{'OR': [['Straßenbahn Kleve', 'country', {'concept': 'political territorial entity'}], ['Ancus Marcius', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Straßenbahn_Kleve property:country ?m } UNION { resource:Ancus_Marcius property:country_of_citizenship ?m } } . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1747689 Q183
SYSTEM
Ancient Rome, Germany
Q1747689 Q183
OR((Q15293666,P17,c(Q1048835)), (Q206741,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q15293666
relation P17
action find
entity Q206741
relation P27
type Q1048835
Straßenbahn Kleve are of [ANSWERS] or are the countries of citizenship of Ancus Marcius
{'OR': [['Q15293666', 'P17', {'concept': 'Q1048835'}], ['Q206741', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q15293666 property:P17 ?m } UNION { resource:Q206741 property:P27 ?m } } . ?m rdf:type ontology:Q1048835 }
Ancient Rome Germany
Straßenbahn Kleve are of Ancient Rome and Germany or are the countries of citizenship of Ancus Marcius
Ancient Rome Germany
action filter_type
action union
action find
entity Straßenbahn Kleve
relation country
action find
entity Ancus Marcius
relation country of citizenship
type political territorial entity
{'OR': [['Straßenbahn Kleve', 'country', {'concept': 'political territorial entity'}], ['Ancus Marcius', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Straßenbahn_Kleve property:country ?m } UNION { resource:Ancus_Marcius property:country_of_citizenship ?m } } . ?m rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6937258
P17
Q56061
USER
Are Muraki Bhavi located in those political territories ?
(Q6937258,P17,Q1747689) (Q6937258,P17,Q183)
action is_in
entity prev_answer
action find
entity Q6937258
relation P17
['Q6937258', 'P17', 'Q1747689'] ['Q6937258', 'P17', 'Q183']
ASK WHERE { VALUES ( ?g ) { ( resource:Q1747689 ) ( resource:Q183 ) } . resource:Q6937258 property:P17 ?g }
Muraki Bhavi
action is_in
entity prev_answer
action find
entity Muraki Bhavi
relation country
['Muraki Bhavi', 'country', 'Ancient Rome'] ['Muraki Bhavi', 'country', 'Germany']
ASK WHERE { VALUES ( ?g ) { ( resource:Ancient_Rome ) ( resource:Germany ) } . resource:Muraki_Bhavi property:country ?g }
[]
administrative territorial entity
SYSTEM
NO
(Q6937258,P17,Q1747689) (Q6937258,P17,Q183)
action is_in
entity prev_answer
action find
entity Q6937258
relation P17
[ANSWER]
['Q6937258', 'P17', 'Q1747689'] ['Q6937258', 'P17', 'Q183']
ASK WHERE { VALUES ( ?g ) { ( resource:Q1747689 ) ( resource:Q183 ) } . resource:Q6937258 property:P17 ?g }
No
action is_in
entity prev_answer
action find
entity Muraki Bhavi
relation country
['Muraki Bhavi', 'country', 'Ancient Rome'] ['Muraki Bhavi', 'country', 'Germany']
ASK WHERE { VALUES ( ?g ) { ( resource:Ancient_Rome ) ( resource:Germany ) } . resource:Muraki_Bhavi property:country ?g }
[]