Simple Question (Direct)
Simple Question
Q6679210
P166
Q768855
USER
What was won by Lord Edward Russell ?
(Q6679210,P166,c(Q768855))
action filter_type
action find
entity Q6679210
relation P166
type Q768855
['Q6679210', 'P166', {'concept': 'Q768855'}]
SELECT DISTINCT ?x WHERE { resource:Q6679210 property:P166 ?x . ?x rdf:type ontology:Q768855 }
Lord Edward Russell
action filter_type
action find
entity Lord Edward Russell
relation award received
type Orders, decorations, and medals of the United Kingdom
['Lord Edward Russell', 'award received', {'concept': 'Orders, decorations, and medals of the United Kingdom'}]
SELECT DISTINCT ?x WHERE { resource:Lord_Edward_Russell property:award_received ?x . ?x rdf:type ontology:Orders,_decorations,_and_medals_of_the_United_Kingdom }
[]
Orders, decorations, and medals of the United Kingdom
Q12177472
SYSTEM
Companion of the Order of the Bath
Q12177472
(Q6679210,P166,c(Q768855))
action filter_type
action find
entity Q6679210
relation P166
type Q768855
The [ANSWER] was won by Lord Edward Russell
['Q6679210', 'P166', {'concept': 'Q768855'}]
SELECT DISTINCT ?x WHERE { resource:Q6679210 property:P166 ?x . ?x rdf:type ontology:Q768855 }
Companion of the Order of the Bath
The Companion of the Order of the Bath was won by Lord Edward Russell
Companion of the Order of the Bath
action filter_type
action find
entity Lord Edward Russell
relation award received
type Orders, decorations, and medals of the United Kingdom
['Lord Edward Russell', 'award received', {'concept': 'Orders, decorations, and medals of the United Kingdom'}]
SELECT DISTINCT ?x WHERE { resource:Lord_Edward_Russell property:award_received ?x . ?x rdf:type ontology:Orders,_decorations,_and_medals_of_the_United_Kingdom }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6679210
P921
Q191067
USER
Which articles have Lord Edward Russell as their principal topic ?
(c(Q191067),P921,Q6679210)
action filter_type
action find_reverse
entity Q6679210
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q6679210']
SELECT DISTINCT ?k WHERE { ?k property:P921 resource:Q6679210 . ?k rdf:type ontology:Q191067 }
Lord Edward Russell
action filter_type
action find_reverse
entity Lord Edward Russell
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Lord Edward Russell']
SELECT DISTINCT ?k WHERE { ?k property:main_subject resource:Lord_Edward_Russell . ?k rdf:type ontology:article }
[]
article
Q19103525 Q24021980
SYSTEM
Russell, Edward (1805-1887) (DNB00), Russell, Edward (NBD)
Q19103525 Q24021980
(c(Q191067),P921,Q6679210)
action filter_type
action find_reverse
entity Q6679210
relation P921
type Q191067
[ANSWERS]
[{'concept': 'Q191067'}, 'P921', 'Q6679210']
SELECT DISTINCT ?k WHERE { ?k property:P921 resource:Q6679210 . ?k rdf:type ontology:Q191067 }
Russell, Edward (1805-1887) (DNB00) Russell, Edward (NBD)
Russell, Edward (1805-1887) (DNB00) and Russell, Edward (NBD) have Lord Edward Russell as their principal topic
Russell, Edward (1805-1887) (DNB00) Russell, Edward (NBD)
action filter_type
action find_reverse
entity Lord Edward Russell
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Lord Edward Russell']
SELECT DISTINCT ?k WHERE { ?k property:main_subject resource:Lord_Edward_Russell . ?k rdf:type ontology:article }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6679210
P241
Q781132
USER
Which military branch is Lord Edward Russell affiliated to ?
(Q6679210,P241,c(Q781132))
action filter_type
action find
entity Q6679210
relation P241
type Q781132
['Q6679210', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?h WHERE { resource:Q6679210 property:P241 ?h . ?h rdf:type ontology:Q781132 }
Lord Edward Russell
action filter_type
action find
entity Lord Edward Russell
relation military branch
type military branch
['Lord Edward Russell', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?h WHERE { resource:Lord_Edward_Russell property:military_branch ?h . ?h rdf:type ontology:military_branch }
[]
military branch
Q172771
SYSTEM
Royal Navy
Q172771
(Q6679210,P241,c(Q781132))
action filter_type
action find
entity Q6679210
relation P241
type Q781132
Lord Edward Russell is affiliated with [ANSWER]
['Q6679210', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?h WHERE { resource:Q6679210 property:P241 ?h . ?h rdf:type ontology:Q781132 }
Royal Navy
Lord Edward Russell is affiliated with Royal Navy
Royal Navy
action filter_type
action find
entity Lord Edward Russell
relation military branch
type military branch
['Lord Edward Russell', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?h WHERE { resource:Lord_Edward_Russell property:military_branch ?h . ?h rdf:type ontology:military_branch }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P137
Q781132 Q62447 Q1875621
USER
Which military branches operate max number of aerodromes and aircraft classes ?
(c(Q62447)|c(Q1875621),P137,c(Q781132))
action argmax
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q62447
action find_reverse_tuple_counts
relation P137
type Q781132
type Q1875621
[[{'concept': 'Q62447'}, {'concept': 'Q1875621'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?l ) { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?z ) WHERE { VALUES ( ?p ) { ( ontology:Q62447 ) ( ontology:Q1875621 ) } . ?s rdf:type ?p } GROUP BY ?e } } . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:P137 ?q . ?q rdf:type ontology:Q781132 . ?u rdf:type ontology:Q62447 } UNION { ?u property:P137 ?q . ?u rdf:type ontology:Q1875621 . ?q rdf:type ontology:Q781132 } } GROUP BY ?q } . FILTER ( ?n = ?l ) }
action argmax
action union
action find_reverse_tuple_counts
relation operator
type military branch
type aerodrome
action find_reverse_tuple_counts
relation operator
type military branch
type aircraft class
[[{'concept': 'aerodrome'}, {'concept': 'aircraft class'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?l ) { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?z ) WHERE { VALUES ( ?p ) { ( ontology:aerodrome ) ( ontology:aircraft_class ) } . ?s rdf:type ?p } GROUP BY ?e } } . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:operator ?q . ?q rdf:type ontology:military_branch . ?u rdf:type ontology:aerodrome } UNION { ?u property:operator ?q . ?u rdf:type ontology:aircraft_class . ?q rdf:type ontology:military_branch } } GROUP BY ?q } . FILTER ( ?n = ?l ) }
[]
military branch aerodrome aircraft class
Q11220
SYSTEM
United States Navy
Q11220
(c(Q62447)|c(Q1875621),P137,c(Q781132))
action argmax
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q62447
action find_reverse_tuple_counts
relation P137
type Q781132
type Q1875621
[ANSWER] operate max number of aerodromes and aircraft classes
[[{'concept': 'Q62447'}, {'concept': 'Q1875621'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?l ) { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?z ) WHERE { VALUES ( ?p ) { ( ontology:Q62447 ) ( ontology:Q1875621 ) } . ?s rdf:type ?p } GROUP BY ?e } } . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:P137 ?q . ?q rdf:type ontology:Q781132 . ?u rdf:type ontology:Q62447 } UNION { ?u property:P137 ?q . ?u rdf:type ontology:Q1875621 . ?q rdf:type ontology:Q781132 } } GROUP BY ?q } . FILTER ( ?n = ?l ) }
United States Navy
United States Navy operate max number of aerodromes and aircraft classes
United States Navy
action argmax
action union
action find_reverse_tuple_counts
relation operator
type military branch
type aerodrome
action find_reverse_tuple_counts
relation operator
type military branch
type aircraft class
[[{'concept': 'aerodrome'}, {'concept': 'aircraft class'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?l ) { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?z ) WHERE { VALUES ( ?p ) { ( ontology:aerodrome ) ( ontology:aircraft_class ) } . ?s rdf:type ?p } GROUP BY ?e } } . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:operator ?q . ?q rdf:type ontology:military_branch . ?u rdf:type ontology:aerodrome } UNION { ?u property:operator ?q . ?u rdf:type ontology:aircraft_class . ?q rdf:type ontology:military_branch } } GROUP BY ?q } . FILTER ( ?n = ?l ) }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q11220 Q257783 Q30
P17
Q15617994
USER
Is United States Navy situated in Campitello di Fassa and United States of America ?
(Q11220,P17,Q257783) (Q11220,P17,Q30)
action is_in
entity Q11220
action intersection
action find_reverse
entity Q257783
relation P17
action find_reverse
entity Q30
relation P17
['Q11220', 'P17', 'Q257783'] ['Q11220', 'P17', 'Q30']
ASK WHERE { resource:Q11220 property:P17 resource:Q257783 . resource:Q11220 property:P17 resource:Q30 }
United States Navy Campitello di Fassa United States of America
action is_in
entity United States Navy
action intersection
action find_reverse
entity Campitello di Fassa
relation country
action find_reverse
entity United States of America
relation country
['United States Navy', 'country', 'Campitello di Fassa'] ['United States Navy', 'country', 'United States of America']
ASK WHERE { resource:United_States_Navy property:country resource:Campitello_di_Fassa . resource:United_States_Navy property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q11220,P17,Q257783) (Q11220,P17,Q30)
action is_in
entity Q11220
action intersection
action find_reverse
entity Q257783
relation P17
action find_reverse
entity Q30
relation P17
[ANSWER]
['Q11220', 'P17', 'Q257783'] ['Q11220', 'P17', 'Q30']
ASK WHERE { resource:Q11220 property:P17 resource:Q257783 . resource:Q11220 property:P17 resource:Q30 }
NO and YES respectively
action is_in
entity United States Navy
action intersection
action find_reverse
entity Campitello di Fassa
relation country
action find_reverse
entity United States of America
relation country
['United States Navy', 'country', 'Campitello di Fassa'] ['United States Navy', 'country', 'United States of America']
ASK WHERE { resource:United_States_Navy property:country resource:Campitello_di_Fassa . resource:United_States_Navy property:country resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2922145 Q24021980
P161 P921
Q502895
USER
Which people were the main subjects in the work Russell, Edward (NBD) or starred in Boum sur Paris ?
OR((Q24021980,P921,c(Q502895)), (Q2922145,P161,c(Q502895)))
action filter_type
action union
action find
entity Q24021980
relation P921
action find
entity Q2922145
relation P161
type Q502895
{'OR': [['Q24021980', 'P921', {'concept': 'Q502895'}], ['Q2922145', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q24021980 property:P921 ?h } UNION { resource:Q2922145 property:P161 ?h } } . ?h rdf:type ontology:Q502895 }
Boum sur Paris Russell, Edward (NBD)
action filter_type
action union
action find
entity Russell, Edward (NBD)
relation main subject
action find
entity Boum sur Paris
relation cast member
type common name
{'OR': [['Russell, Edward (NBD)', 'main subject', {'concept': 'common name'}], ['Boum sur Paris', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Russell,_Edward_(NBD) property:main_subject ?h } UNION { resource:Boum_sur_Paris property:cast_member ?h } } . ?h rdf:type ontology:common_name }
[]
common name
Q369282 Q3371031 Q2356433 Q466982 Q3387033 Q1678088 Q3436087 Q212549 Q105987 Q2087651
SYSTEM
Some of them are Gisèle Pascal, Paul Demange, Lucienne Delyle, Line Renaud, Pierre Stephen, Jacques Pills, Robert Pizani, Charles Trenet, Charles Boyer, Philippe Lemaire
Q168359 Q405682 Q1678088 Q466982 Q156485 Q3436087 Q2847794 Q2356433 Q105987 Q93957 Q1631 Q3080695 Q963719 Q3311731 Q3186096 Q6679210 Q430016 Q2367314 Q3300997 Q3174023 Q3424439 Q3380312 Q2023843 Q3158130 Q212549 Q369282 Q2861772 Q3436279 Q56009 Q2848910 Q3014993 Q993521 Q3371031 Q3433516 Q465249 Q3221055 Q108366 Q728214 Q3265101 Q2087651 Q241222 Q3387033 Q3588714
OR((Q24021980,P921,c(Q502895)), (Q2922145,P161,c(Q502895)))
action filter_type
action union
action find
entity Q24021980
relation P921
action find
entity Q2922145
relation P161
type Q502895
[ANSWERS] were the main subjects in the work Russell, Edward (NBD) or starred in Boum sur Paris
{'OR': [['Q24021980', 'P921', {'concept': 'Q502895'}], ['Q2922145', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q24021980 property:P921 ?h } UNION { resource:Q2922145 property:P161 ?h } } . ?h rdf:type ontology:Q502895 }
Jean Marais Aimé Barelli Jacques Pills Line Renaud Juliette Gréco Robert Pizani André Gabriello Lucienne Delyle Charles Boyer Gary Cooper Édith Piaf France Dhélia Jean Nohain Mick Micheyl Josselin Lord Edward Russell Nicole Courcel Max Dalban Maurice Lagrenée Jean Pignol Rellys Philippe Mareuil Jacqueline François Jacques Angelvin Charles Trenet Gisèle Pascal Armand Bernard Robert Seller Gina Lollobrigida Andréa Parisy Danielle Godet Marcel Mouloudji Paul Demange Rivers Cadet Annie Cordy Le Chanteur sans nom Gregory Peck Christian-Jaque Luce Feyrer Philippe Lemaire Martine Carol Pierre Stephen Émile Riandreys
Gisèle Pascal, Paul Demange, Lucienne Delyle, Line Renaud, Pierre Stephen, Jacques Pills, Robert Pizani, Charles Trenet, Charles Boyer and Philippe Lemaire were the main subjects in the work Russell, Edward (NBD) or starred in Boum sur Paris
Gisèle Pascal Paul Demange Lucienne Delyle Line Renaud Pierre Stephen Jacques Pills Robert Pizani Charles Trenet Charles Boyer Philippe Lemaire
action filter_type
action union
action find
entity Russell, Edward (NBD)
relation main subject
action find
entity Boum sur Paris
relation cast member
type common name
{'OR': [['Russell, Edward (NBD)', 'main subject', {'concept': 'common name'}], ['Boum sur Paris', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Russell,_Edward_(NBD) property:main_subject ?h } UNION { resource:Boum_sur_Paris property:cast_member ?h } } . ?h rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22235868 Q466982
P27
Q15617994
USER
Which administrative territories do Line Renaud or Jan Deconynck belong to ?
OR((Q466982,P27,c(Q15617994)), (Q22235868,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q466982
relation P27
action find
entity Q22235868
relation P27
type Q15617994
{'OR': [['Q466982', 'P27', {'concept': 'Q15617994'}], ['Q22235868', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q466982 property:P27 ?j } UNION { resource:Q22235868 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
Jan Deconynck Line Renaud
action filter_type
action union
action find
entity Line Renaud
relation country of citizenship
action find
entity Jan Deconynck
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Line Renaud', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jan Deconynck', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Line_Renaud property:country_of_citizenship ?j } UNION { resource:Jan_Deconynck property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q31
SYSTEM
France, Belgium
Q142 Q31
OR((Q466982,P27,c(Q15617994)), (Q22235868,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q466982
relation P27
action find
entity Q22235868
relation P27
type Q15617994
Line Renaud or Jan Deconynck belong to the [ANSWERS]
{'OR': [['Q466982', 'P27', {'concept': 'Q15617994'}], ['Q22235868', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q466982 property:P27 ?j } UNION { resource:Q22235868 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
France Belgium
Line Renaud or Jan Deconynck belong to the France and Belgium
France Belgium
action filter_type
action union
action find
entity Line Renaud
relation country of citizenship
action find
entity Jan Deconynck
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Line Renaud', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jan Deconynck', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Line_Renaud property:country_of_citizenship ?j } UNION { resource:Jan_Deconynck property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22235868
P106
Q12737077
USER
Which occupation has Jan Deconynck as his/her 's career ?
(Q22235868,P106,c(Q12737077))
action filter_type
action find
entity Q22235868
relation P106
type Q12737077
['Q22235868', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q22235868 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Jan Deconynck
action filter_type
action find
entity Jan Deconynck
relation occupation
type occupation
['Jan Deconynck', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Jan_Deconynck property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q1028181
SYSTEM
painter
Q1028181
(Q22235868,P106,c(Q12737077))
action filter_type
action find
entity Q22235868
relation P106
type Q12737077
The [ANSWER] has Jan Deconynck as his/her 's career
['Q22235868', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q22235868 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
painter
The painter has Jan Deconynck as his/her 's career
painter
action filter_type
action find
entity Jan Deconynck
relation occupation
type occupation
['Jan Deconynck', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Jan_Deconynck property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1028181 Q128538 Q8008474
P417
Q502895
USER
Does that occupation have Luke the Evangelist and William Edwardes, 4th Baron Kensington as their patron saint ?
(Q1028181,P417,Q128538) (Q1028181,P417,Q8008474)
action is_in
entity Q1028181
action intersection
action find_reverse
entity Q128538
relation P417
action find_reverse
entity Q8008474
relation P417
['Q1028181', 'P417', 'Q128538'] ['Q1028181', 'P417', 'Q8008474']
ASK WHERE { resource:Q1028181 property:P417 resource:Q8008474 . resource:Q1028181 property:P417 resource:Q128538 }
painter Luke the Evangelist William Edwardes, 4th Baron Kensington
action is_in
entity painter
action intersection
action find_reverse
entity Luke the Evangelist
relation patron saint
action find_reverse
entity William Edwardes, 4th Baron Kensington
relation patron saint
['painter', 'patron saint', 'Luke the Evangelist'] ['painter', 'patron saint', 'William Edwardes, 4th Baron Kensington']
ASK WHERE { resource:painter property:patron_saint resource:William_Edwardes,_4th_Baron_Kensington . resource:painter property:patron_saint resource:Luke_the_Evangelist }
[]
common name
SYSTEM
YES and NO respectively
(Q1028181,P417,Q128538) (Q1028181,P417,Q8008474)
action is_in
entity Q1028181
action intersection
action find_reverse
entity Q128538
relation P417
action find_reverse
entity Q8008474
relation P417
[ANSWER]
['Q1028181', 'P417', 'Q128538'] ['Q1028181', 'P417', 'Q8008474']
ASK WHERE { resource:Q1028181 property:P417 resource:Q8008474 . resource:Q1028181 property:P417 resource:Q128538 }
YES and NO respectively
action is_in
entity painter
action intersection
action find_reverse
entity Luke the Evangelist
relation patron saint
action find_reverse
entity William Edwardes, 4th Baron Kensington
relation patron saint
['painter', 'patron saint', 'Luke the Evangelist'] ['painter', 'patron saint', 'William Edwardes, 4th Baron Kensington']
ASK WHERE { resource:painter property:patron_saint resource:William_Edwardes,_4th_Baron_Kensington . resource:painter property:patron_saint resource:Luke_the_Evangelist }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q105987 Q142
P27
Q15617994
USER
Is France the native country of Charles Boyer ?
(Q105987,P27,Q142)
action is_in
entity Q142
action find
entity Q105987
relation P27
['Q105987', 'P27', 'Q142']
ASK WHERE { resource:Q105987 property:P27 resource:Q142 }
Charles Boyer France
action is_in
entity France
action find
entity Charles Boyer
relation country of citizenship
['Charles Boyer', 'country of citizenship', 'France']
ASK WHERE { resource:Charles_Boyer property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q105987,P27,Q142)
action is_in
entity Q142
action find
entity Q105987
relation P27
[ANSWER]
['Q105987', 'P27', 'Q142']
ASK WHERE { resource:Q105987 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Charles Boyer
relation country of citizenship
['Charles Boyer', 'country of citizenship', 'France']
ASK WHERE { resource:Charles_Boyer property:country_of_citizenship resource:France }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q105987
P161
Q838948
USER
How many works of art stars Charles Boyer as actor ?
(c(Q838948),P161,Q105987)
action count
action filter_type
action find_reverse
entity Q105987
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q105987']
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:P161 resource:Q105987 . ?z rdf:type ontology:Q838948 }
Charles Boyer
action count
action filter_type
action find_reverse
entity Charles Boyer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Charles Boyer']
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:cast_member resource:Charles_Boyer . ?z rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
68
Q2528652 Q3228426 Q909561 Q18225128 Q2607724 Q1171247 Q2756539 Q3220808 Q7715819 Q3354995 Q3010854 Q2741921 Q1157113 Q1304524 Q1163934 Q591272 Q3531643 Q16976297 Q937543 Q1409564 Q14526650 Q3302475 Q181850 Q6456005 Q3203681 Q1659817 Q3220513 Q957175 Q1057432 Q954299 Q1414527 Q367610 Q1885686 Q666077 Q1300411 Q1193704 Q2922145 Q3225487 Q3221810 Q1620069 Q879398 Q841781 Q1395728 Q4839171 Q749755 Q658847 Q3335512 Q2377198 Q6588276 Q3226457 Q1219828 Q2649324 Q1444707 Q2132418 Q2937895 Q3481388 Q1795982 Q1243374 Q38561 Q1602612 Q3365095 Q646400 Q3348516 Q1983951 Q696057 Q375156 Q675031 Q4660708
(c(Q838948),P161,Q105987)
action count
action filter_type
action find_reverse
entity Q105987
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q105987']
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:P161 resource:Q105987 . ?z rdf:type ontology:Q838948 }
Arch of Triumph History Is Made at Night Is Paris Burning? The First Legion Mayerling Hold Back the Dawn The Constant Nymph Captain Fracasse The Battle Orage Break of Hearts A Matter of Time The 13th Letter The April Fools Lucky to Be a Woman Casino Royale Thunder in the East Hot Line Together Again Red-Headed Woman She's Funny That Way Maxime The Battle of the Rails L'Épervier L'Homme du large Adorable Julia Le Bonheur The Happy Time The Cobweb Confidential Agent Algiers Barefoot in the Park Stavisky When Tomorrow Comes Private Worlds The Garden of Allah Boum sur Paris Appointment for Love Le Corsaire Love Affair F.P.1 Gaslight Fanny Back Street Tales of Manhattan How to Steal a Million Nana Tovarich Love Is a Ball The Man from Yesterday Four Horsemen of the Apocalypse Lost Horizon The Earrings of Madame de... Une Parisienne Caravan Shanghai The Buccaneer Conquest The Madwoman of Chaillot All This, and Heaven Too Paris, Palace Hôtel Liliom Flesh and Fantasy Papa, maman, ma femme et moi Around the World in 80 Days A Very Special Favor Cluny Brown A Woman's Vengeance
68
action count
action filter_type
action find_reverse
entity Charles Boyer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Charles Boyer']
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:cast_member resource:Charles_Boyer . ?z rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q105987
P162
Q838948
USER
Which work of art has been produced by that person ?
action filter_type
action find_reverse
entity Q105987
relation P162
type Q838948
SELECT DISTINCT ?x WHERE { ?x property:P162 resource:Q105987 . ?x rdf:type ontology:Q838948 }
Charles Boyer
action filter_type
action find_reverse
entity Charles Boyer
relation producer
type work of art
SELECT DISTINCT ?x WHERE { ?x property:producer resource:Charles_Boyer . ?x rdf:type ontology:work_of_art }
[]
work of art
Q3348516
SYSTEM
Flesh and Fantasy
Q3348516
action filter_type
action find_reverse
entity Q105987
relation P162
type Q838948
[ANSWER] has been produced by that person
SELECT DISTINCT ?x WHERE { ?x property:P162 resource:Q105987 . ?x rdf:type ontology:Q838948 }
Flesh and Fantasy
Flesh and Fantasy has been produced by that person
Flesh and Fantasy
action filter_type
action find_reverse
entity Charles Boyer
relation producer
type work of art
SELECT DISTINCT ?x WHERE { ?x property:producer resource:Charles_Boyer . ?x rdf:type ontology:work_of_art }
[]