Simple Question (Direct)
Simple Question
Q6221623
P40
Q502895
USER
Which people are an offsprings of John Beresford, 4th Marquess of Waterford ?
(Q6221623,P40,c(Q502895))
action filter_type
action find
entity Q6221623
relation P40
type Q502895
['Q6221623', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q6221623 property:P40 ?y }
John Beresford, 4th Marquess of Waterford
action filter_type
action find
entity John Beresford, 4th Marquess of Waterford
relation child
type common name
['John Beresford, 4th Marquess of Waterford', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:John_Beresford,_4th_Marquess_of_Waterford property:child ?y }
[]
common name
Q323773 Q6221627 Q16030255
SYSTEM
Lord Charles Beresford, John Beresford, 5th Marquess of Waterford, Lord William Beresford
Q323773 Q16031681 Q6221627 Q16030255
(Q6221623,P40,c(Q502895))
action filter_type
action find
entity Q6221623
relation P40
type Q502895
[ANSWERS] are an offsprings of John Beresford, 4th Marquess of Waterford
['Q6221623', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q6221623 property:P40 ?y }
Lord Charles Beresford Lord Marcus Beresford John Beresford, 5th Marquess of Waterford Lord William Beresford
Lord Charles Beresford, John Beresford, 5th Marquess of Waterford and Lord William Beresford are an offsprings of John Beresford, 4th Marquess of Waterford
Lord Charles Beresford John Beresford, 5th Marquess of Waterford Lord William Beresford
action filter_type
action find
entity John Beresford, 4th Marquess of Waterford
relation child
type common name
['John Beresford, 4th Marquess of Waterford', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:John_Beresford,_4th_Marquess_of_Waterford property:child ?y }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16030255
P26
Q502895
USER
Which person has that one as spouse ?
(c(Q502895),P26,Q16030255)
action filter_type
action find
entity Q16030255
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q16030255']
SELECT DISTINCT ?x WHERE { resource:Q16030255 property:P26 ?x . ?x rdf:type ontology:Q502895 }
Lord William Beresford
action filter_type
action find
entity Lord William Beresford
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Lord William Beresford']
SELECT DISTINCT ?x WHERE { resource:Lord_William_Beresford property:spouse ?x . ?x rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q323773
SYSTEM
Did you mean Lord Charles Beresford ?
Q323773 Q6221627 Q16030255
(c(Q502895),P26,Q323773) (c(Q502895),P26,Q6221627) (c(Q502895),P26,Q16030255)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q323773'] [{'concept': 'Q502895'}, 'P26', 'Q6221627'] [{'concept': 'Q502895'}, 'P26', 'Q16030255']
SELECT DISTINCT ?x WHERE { resource:Q16030255 property:P26 ?x . ?x rdf:type ontology:Q502895 }
Lord Charles Beresford John Beresford, 5th Marquess of Waterford Lord William Beresford
Did you mean Lord Charles Beresford ?
Lord Charles Beresford
[{'concept': 'common name'}, 'spouse', 'Lord Charles Beresford'] [{'concept': 'common name'}, 'spouse', 'John Beresford, 5th Marquess of Waterford'] [{'concept': 'common name'}, 'spouse', 'Lord William Beresford']
SELECT DISTINCT ?x WHERE { resource:Lord_William_Beresford property:spouse ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Lord William Beresford. Could you tell me the answer for that?
(c(Q502895),P26,Q16030255)
Q16030255
[{'concept': 'Q502895'}, 'P26', 'Q16030255']
[{'concept': 'common name'}, 'spouse', 'Lord William Beresford']
[]
Q15429306
SYSTEM
Lily Spencer-Churchill, Duchess of Marlborough
Q15429306
(c(Q502895),P26,Q16030255)
action filter_type
action find
entity Q16030255
relation P26
type Q502895
[ANSWER] has that one as spouse
[{'concept': 'Q502895'}, 'P26', 'Q16030255']
SELECT DISTINCT ?x WHERE { resource:Q16030255 property:P26 ?x . ?x rdf:type ontology:Q502895 }
Lily Spencer-Churchill, Duchess of Marlborough
Lily Spencer-Churchill, Duchess of Marlborough has that one as spouse
Lily Spencer-Churchill, Duchess of Marlborough
action filter_type
action find
entity Lord William Beresford
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Lord William Beresford']
SELECT DISTINCT ?x WHERE { resource:Lord_William_Beresford property:spouse ?x . ?x rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q222595 Q323773
P241 P7
Q502895
USER
Which people are Lord Charles Beresford a brother of and do not have British Army as branch ?
AND((c(Q502895),P7,Q323773), NOT((c(Q502895),P241,Q222595)))
action filter_type
action difference
action find_reverse
entity Q323773
relation P7
action find_reverse
entity Q222595
relation P241
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q323773'], {'NOT': [[{'concept': 'Q502895'}, 'P241', 'Q222595']]}]}
SELECT DISTINCT ?m WHERE { ?m property:P7 resource:Q323773 . MINUS { ?m property:P241 resource:Q222595 } . ?m rdf:type ontology:Q502895 }
British Army Lord Charles Beresford
action filter_type
action difference
action find_reverse
entity Lord Charles Beresford
relation brother
action find_reverse
entity British Army
relation military branch
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Lord Charles Beresford'], {'NOT': [[{'concept': 'common name'}, 'military branch', 'British Army']]}]}
SELECT DISTINCT ?m WHERE { ?m property:brother resource:Lord_Charles_Beresford . MINUS { ?m property:military_branch resource:British_Army } . ?m rdf:type ontology:common_name }
[]
common name
Q6221627 Q16031681
SYSTEM
John Beresford, 5th Marquess of Waterford, Lord Marcus Beresford
Q6221627 Q16031681
AND((c(Q502895),P7,Q323773), NOT((c(Q502895),P241,Q222595)))
action filter_type
action difference
action find_reverse
entity Q323773
relation P7
action find_reverse
entity Q222595
relation P241
type Q502895
[ANSWERS] are Lord Charles Beresford a brother of and do not have British Army as branch
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q323773'], {'NOT': [[{'concept': 'Q502895'}, 'P241', 'Q222595']]}]}
SELECT DISTINCT ?m WHERE { ?m property:P7 resource:Q323773 . MINUS { ?m property:P241 resource:Q222595 } . ?m rdf:type ontology:Q502895 }
John Beresford, 5th Marquess of Waterford Lord Marcus Beresford
John Beresford, 5th Marquess of Waterford and Lord Marcus Beresford are Lord Charles Beresford a brother of and do not have British Army as branch
John Beresford, 5th Marquess of Waterford Lord Marcus Beresford
action filter_type
action difference
action find_reverse
entity Lord Charles Beresford
relation brother
action find_reverse
entity British Army
relation military branch
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Lord Charles Beresford'], {'NOT': [[{'concept': 'common name'}, 'military branch', 'British Army']]}]}
SELECT DISTINCT ?m WHERE { ?m property:brother resource:Lord_Charles_Beresford . MINUS { ?m property:military_branch resource:British_Army } . ?m rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16031681
P166
Q768855
USER
Which Orders, decorations, and medals of the United Kingdom was that person awarded with ?
(Q16031681,P166,c(Q768855))
action filter_type
action find
entity Q16031681
relation P166
type Q768855
['Q16031681', 'P166', {'concept': 'Q768855'}]
SELECT DISTINCT ?c WHERE { resource:Q16031681 property:P166 ?c . ?c rdf:type ontology:Q768855 }
Lord Marcus Beresford
action filter_type
action find
entity Lord Marcus Beresford
relation award received
type Orders, decorations, and medals of the United Kingdom
['Lord Marcus Beresford', 'award received', {'concept': 'Orders, decorations, and medals of the United Kingdom'}]
SELECT DISTINCT ?c WHERE { resource:Lord_Marcus_Beresford property:award_received ?c . ?c rdf:type ontology:Orders,_decorations,_and_medals_of_the_United_Kingdom }
[]
Orders, decorations, and medals of the United Kingdom
Clarification for simple ques.
Q6221627
SYSTEM
Did you mean John Beresford, 5th Marquess of Waterford ?
Q6221627 Q16031681
(Q6221627,P166,c(Q768855)) (Q16031681,P166,c(Q768855))
[ANSWER]
['Q6221627', 'P166', {'concept': 'Q768855'}] ['Q16031681', 'P166', {'concept': 'Q768855'}]
SELECT DISTINCT ?c WHERE { resource:Q16031681 property:P166 ?c . ?c rdf:type ontology:Q768855 }
John Beresford, 5th Marquess of Waterford Lord Marcus Beresford
Did you mean John Beresford, 5th Marquess of Waterford ?
John Beresford, 5th Marquess of Waterford
['John Beresford, 5th Marquess of Waterford', 'award received', {'concept': 'Orders, decorations, and medals of the United Kingdom'}] ['Lord Marcus Beresford', 'award received', {'concept': 'Orders, decorations, and medals of the United Kingdom'}]
SELECT DISTINCT ?c WHERE { resource:Lord_Marcus_Beresford property:award_received ?c . ?c rdf:type ontology:Orders,_decorations,_and_medals_of_the_United_Kingdom }
[]
Simple Question (Coreferenced)
USER
No, I meant Lord Marcus Beresford. Could you tell me the answer for that?
(Q16031681,P166,c(Q768855))
Q16031681
['Q16031681', 'P166', {'concept': 'Q768855'}]
['Lord Marcus Beresford', 'award received', {'concept': 'Orders, decorations, and medals of the United Kingdom'}]
[]
Q12192712
SYSTEM
Knight Commander of the Royal Victorian Order
Q12192712
(Q16031681,P166,c(Q768855))
action filter_type
action find
entity Q16031681
relation P166
type Q768855
Which Orders, decorations, and medals of the United Kingdom was that person awarded with
['Q16031681', 'P166', {'concept': 'Q768855'}]
SELECT DISTINCT ?c WHERE { resource:Q16031681 property:P166 ?c . ?c rdf:type ontology:Q768855 }
Knight Commander of the Royal Victorian Order
Which Orders, decorations, and medals of the United Kingdom was that person awarded with
Knight Commander of the Royal Victorian Order
action filter_type
action find
entity Lord Marcus Beresford
relation award received
type Orders, decorations, and medals of the United Kingdom
['Lord Marcus Beresford', 'award received', {'concept': 'Orders, decorations, and medals of the United Kingdom'}]
SELECT DISTINCT ?c WHERE { resource:Lord_Marcus_Beresford property:award_received ?c . ?c rdf:type ontology:Orders,_decorations,_and_medals_of_the_United_Kingdom }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q12192712 Q91281
P17
Q15617994
USER
Is that Orders, decorations, and medals of the United Kingdom located in Murlo ?
(Q12192712,P17,Q91281)
action is_in
entity Q91281
action find
entity Q12192712
relation P17
['Q12192712', 'P17', 'Q91281']
ASK WHERE { resource:Q12192712 property:P17 resource:Q91281 }
Knight Commander of the Royal Victorian Order Murlo
action is_in
entity Murlo
action find
entity Knight Commander of the Royal Victorian Order
relation country
['Knight Commander of the Royal Victorian Order', 'country', 'Murlo']
ASK WHERE { resource:Knight_Commander_of_the_Royal_Victorian_Order property:country resource:Murlo }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q12192712,P17,Q91281)
action is_in
entity Q91281
action find
entity Q12192712
relation P17
[ANSWER]
['Q12192712', 'P17', 'Q91281']
ASK WHERE { resource:Q12192712 property:P17 resource:Q91281 }
No
action is_in
entity Murlo
action find
entity Knight Commander of the Royal Victorian Order
relation country
['Knight Commander of the Royal Victorian Order', 'country', 'Murlo']
ASK WHERE { resource:Knight_Commander_of_the_Royal_Victorian_Order property:country resource:Murlo }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q323773 Q172771
P241
Q781132
USER
Was that person a part of Royal Navy ?
(Q323773,P241,Q172771)
action is_in
entity Q172771
action find
entity Q323773
relation P241
['Q323773', 'P241', 'Q172771']
ASK WHERE { resource:Q323773 property:P241 resource:Q172771 }
Lord Charles Beresford Royal Navy
action is_in
entity Royal Navy
action find
entity Lord Charles Beresford
relation military branch
['Lord Charles Beresford', 'military branch', 'Royal Navy']
ASK WHERE { resource:Lord_Charles_Beresford property:military_branch resource:Royal_Navy }
[]
military branch
SYSTEM
YES
(Q323773,P241,Q172771)
action is_in
entity Q172771
action find
entity Q323773
relation P241
[ANSWER]
['Q323773', 'P241', 'Q172771']
ASK WHERE { resource:Q323773 property:P241 resource:Q172771 }
Yes
action is_in
entity Royal Navy
action find
entity Lord Charles Beresford
relation military branch
['Lord Charles Beresford', 'military branch', 'Royal Navy']
ASK WHERE { resource:Lord_Charles_Beresford property:military_branch resource:Royal_Navy }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6221623 Q27
P27
Q15617994
USER
Is Ireland the native country of John Beresford, 4th Marquess of Waterford ?
(Q6221623,P27,Q27)
action is_in
entity Q27
action find
entity Q6221623
relation P27
['Q6221623', 'P27', 'Q27']
ASK WHERE { resource:Q6221623 property:P27 resource:Q27 }
John Beresford, 4th Marquess of Waterford Ireland
action is_in
entity Ireland
action find
entity John Beresford, 4th Marquess of Waterford
relation country of citizenship
['John Beresford, 4th Marquess of Waterford', 'country of citizenship', 'Ireland']
ASK WHERE { resource:John_Beresford,_4th_Marquess_of_Waterford property:country_of_citizenship resource:Ireland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q6221623,P27,Q27)
action is_in
entity Q27
action find
entity Q6221623
relation P27
[ANSWER]
['Q6221623', 'P27', 'Q27']
ASK WHERE { resource:Q6221623 property:P27 resource:Q27 }
Yes
action is_in
entity Ireland
action find
entity John Beresford, 4th Marquess of Waterford
relation country of citizenship
['John Beresford, 4th Marquess of Waterford', 'country of citizenship', 'Ireland']
ASK WHERE { resource:John_Beresford,_4th_Marquess_of_Waterford property:country_of_citizenship resource:Ireland }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q502895 Q234460 Q340169
USER
How many people were atmost 1 texts and medias inspired by ?
(c(Q234460)|c(Q340169),P941,c(Q502895))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
value 1
[[{'concept': 'Q234460'}, {'concept': 'Q340169'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?o WHERE { { ?j property:P941 ?o . ?j rdf:type ontology:Q234460 . ?o rdf:type ontology:Q502895 } UNION { ?j property:P941 ?o . ?o rdf:type ontology:Q502895 . ?j rdf:type ontology:Q340169 } } GROUP BY ?o } . FILTER ( ?s <= 1 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action find_reverse_tuple_counts
relation inspired by
type common name
type media
value 1
[[{'concept': 'text'}, {'concept': 'media'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?o WHERE { { ?j property:inspired_by ?o . ?j rdf:type ontology:text . ?o rdf:type ontology:common_name } UNION { ?j property:inspired_by ?o . ?o rdf:type ontology:common_name . ?j rdf:type ontology:media } } GROUP BY ?o } . FILTER ( ?s <= 1 ) }
[]
common name text media
SYSTEM
211
Q207939 Q19738291 Q23380 Q3481979 Q40475 Q366380 Q334001 Q42229 Q5296307 Q19526 Q58801 Q129308 Q42305 Q558333 Q207447 Q560792 Q35548 Q1067550 Q2707376 Q180919 Q105719 Q205002 Q30755 Q37693 Q712955 Q302650 Q666171 Q531161 Q5383 Q8016 Q456270 Q127171 Q649801 Q43715 Q42786 Q5361548 Q312502 Q2864567 Q154545 Q5534471 Q2907490 Q1532260 Q892444 Q164823 Q184226 Q228024 Q182450 Q183221 Q3047248 Q2617543 Q711129 Q81960 Q5592 Q352 Q145746 Q921798 Q7836 Q5594 Q538158 Q3984877 Q3741372 Q1508997 Q116462 Q357786 Q1779 Q310476 Q183458 Q34618 Q151573 Q3560424 Q947525 Q156268 Q56016 Q458779 Q73089 Q182462 Q1353414 Q575668 Q171745 Q100937 Q5669 Q5577 Q395274 Q272068 Q2437296 Q9077 Q443540 Q966425 Q1281170 Q47551 Q357951 Q676001 Q46373 Q5675905 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q273079 Q299271 Q9061 Q849 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q22686 Q5545355 Q2121085 Q212531 Q5294232 Q463653 Q958996 Q483512 Q123075 Q835175 Q229432 Q123071 Q229437 Q44272 Q94002 Q49285 Q27429917 Q1744 Q1523 Q367447 Q5582 Q219640 Q5822 Q28493 Q5589 Q296 Q527735 Q352954 Q2181776 Q27429984 Q34013 Q2836532 Q712497 Q221464 Q263241 Q550426 Q356129 Q3925 Q34851 Q25328 Q26806 Q203219 Q983441 Q2552902 Q41554 Q83338 Q205365 Q624868 Q1953018 Q983352 Q255815 Q3036807 Q3290501 Q189067 Q1086874 Q471023 Q5432 Q2412941 Q297816 Q1896700 Q156622 Q354832 Q3525855 Q159907 Q210447 Q2373032 Q1401 Q3719992 Q199369 Q2110873 Q192222 Q83155 Q2965760 Q193406 Q3385369 Q733965 Q2409128 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q234460)|c(Q340169),P941,c(Q502895))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
value 1
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q340169'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?o WHERE { { ?j property:P941 ?o . ?j rdf:type ontology:Q234460 . ?o rdf:type ontology:Q502895 } UNION { ?j property:P941 ?o . ?o rdf:type ontology:Q502895 . ?j rdf:type ontology:Q340169 } } GROUP BY ?o } . FILTER ( ?s <= 1 ) }
Alexander McQueen Walter O'Brien Jean Auguste Dominique Ingres Sherri Stoner Joan Crawford Allan Kaprow Thomas Cole Mel Gibson Donna Atwood Maya Angelou Conrad Veidt John of England Richard I of England Buddy Hackett Jean-Baptiste-Siméon Chardin Allan Ramsay Paul Cézanne Charmaine Craig Dick Jones Natalie Wood Jean Harlow Joe Grant Auguste Rodin Paul Gauguin Bobby Driscoll Tate Donovan John Marin Elizabeth Kenny David Bowie Winston Churchill Eleanor Audley Jean-Honoré Fragonard Fred Moore Vlad Tepes Audrey Hepburn Elisabeth Scott Fiorello H. La Guardia Art Stevens Léopold Sédar Senghor Geoffrey Bowers Bo Gritz Al Hirschfeld Scott Weinger Girolamo Savonarola Gilles Deleuze John Smith George C. Scott Antoine Watteau Eddie Collins Marge Champion Terry-Thomas Robert Burns Michelangelo Adolf Hitler Joseph Sabu Dastagir René Magritte Antonello da Messina Balthasar Denner Jeffrey Stone Armand d'Athos Georges Manolescu Helen Gahagan Douglas Divine Louis Armstrong Fats Waller Andrea del Verrocchio Gustave Courbet Paul Signac Violet Gordon-Woodhouse Robert Gant Pierre Bourdieu Katharine Hepburn Kathryn Beaumont Gene Kelly Janet Gaynor Robert Gober Lionel Atwill Jeremy Irons Fred Astaire Sandro Botticelli Salvador Dalí Michael J. Fox Heather Angel Eric Larson Moses Ollie Johnston Charles Hubert Millevoye Frances Bavier Titian Mehran Karimi Nasseri Eugène Devéria Edgar Degas Andrés López Muñoz Spring Byington Tom Cruise Jennifer Connelly Christy Turlington Gala Dalí Jerome Kern Hans Holbein Félix González-Torres Jean Goujon Madge Blake Steve Carlson Cab Calloway Bahram V Karl Marx François Villon Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean Leonard Baskin John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens Donald Trump George Turberville Walter Catlett Kate Moss Donald DeFreeze Marie-Thérèse Walter Irene Bedard Isadora Duncan Robert Walser Bernard Levin Lucretia Arnold Böcklin Donatella Versace Michel Foucault Barbara Stanwyck Sally Ride Michelle Stacy Madonna Ramesses II Louis Prima Vincent van Gogh Vincent Price Piero della Francesca Ralph Fiennes Henri Matisse Claude Monet Cedric Hardwicke Carel Fabritius Paul Collins John Culhane Georges Seurat Alice Ayres François Girardon Gilbert Gottfried Mary Wickes Jeffrey Katzenberg John Stamos Grace Kelly Elizabeth Taylor Antoni Gaudí Danny DeVito Boris Karloff Thomas Moran Hans Conried Nicolas Poussin Robin Williams Cain Charles Sheeler Pratibha Ray Il Pordenone Tallulah Bankhead Donnie Dunagan Margaret Kerry Alyssa Milano Christopher Newport Jimmy Durante Francisco de Goya The Fox and the Cat Sammy Davis, Jr. Marian Wright Edelman Giorgio de Chirico Pieter Claesz T. Hee David Hockney Mark Hamill Pierre Gringoire Petrarch Edward Maria Wingfield Naomi Campbell Natalie Venetia Belcon Lysippos Jacques-Louis David Christiane Faure Pocahontas Pierre Guillaume Jack Carlson Dušan Popov Eastman Johnson Cathy McGowan Gale Sondergaard Rhoda Williams Ray Ventura Ed Kemmer Maila Nurmi Django Reinhardt Floris van Dyck Chief Powhatan
211
action count
action atmost
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action find_reverse_tuple_counts
relation inspired by
type common name
type media
value 1
[[{'concept': 'text'}, {'concept': 'media'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?o WHERE { { ?j property:inspired_by ?o . ?j rdf:type ontology:text . ?o rdf:type ontology:common_name } UNION { ?j property:inspired_by ?o . ?o rdf:type ontology:common_name . ?j rdf:type ontology:media } } GROUP BY ?o } . FILTER ( ?s <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16031681
P22
Q502895
USER
Which male person has a child named Lord Marcus Beresford ?
(Q16031681,P22,c(Q502895))
action filter_type
action find
entity Q16031681
relation P22
type Q502895
['Q16031681', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q16031681 property:P22 ?m . ?m rdf:type ontology:Q502895 }
Lord Marcus Beresford
action filter_type
action find
entity Lord Marcus Beresford
relation father
type common name
['Lord Marcus Beresford', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Lord_Marcus_Beresford property:father ?m . ?m rdf:type ontology:common_name }
[]
common name
Q6221623
SYSTEM
John Beresford, 4th Marquess of Waterford
Q6221623
(Q16031681,P22,c(Q502895))
action filter_type
action find
entity Q16031681
relation P22
type Q502895
And [ANSWER] has a child named Lord Marcus Beresford
['Q16031681', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q16031681 property:P22 ?m . ?m rdf:type ontology:Q502895 }
John Beresford, 4th Marquess of Waterford
And John Beresford, 4th Marquess of Waterford has a child named Lord Marcus Beresford
John Beresford, 4th Marquess of Waterford
action filter_type
action find
entity Lord Marcus Beresford
relation father
type common name
['Lord Marcus Beresford', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Lord_Marcus_Beresford property:father ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6678931
Q502895
USER
And how about Lord Arthur Somerset?
(Q6678931,P22,c(Q502895))
action filter_type
action find
entity Q6678931
relation P22
type Q502895
['Q6678931', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q6678931 property:P22 ?e . ?e rdf:type ontology:Q502895 }
Lord Arthur Somerset
action filter_type
action find
entity Lord Arthur Somerset
relation father
type common name
['Lord Arthur Somerset', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Lord_Arthur_Somerset property:father ?e . ?e rdf:type ontology:common_name }
[]
common name
Q3785000
SYSTEM
Henry Somerset, 5th Duke of Beaufort
Q3785000
(Q6678931,P22,c(Q502895))
action filter_type
action find
entity Q6678931
relation P22
type Q502895
[ANSWER]
['Q6678931', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q6678931 property:P22 ?e . ?e rdf:type ontology:Q502895 }
Henry Somerset, 5th Duke of Beaufort
Henry Somerset, 5th Duke of Beaufort
action filter_type
action find
entity Lord Arthur Somerset
relation father
type common name
['Lord Arthur Somerset', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Lord_Arthur_Somerset property:father ?e . ?e rdf:type ontology:common_name }
[]