Simple Question (Direct)
Simple Question
Q16933898
P710
Q502895
USER
Which people were participants of Normandy campaigns of 1200–1204 ?
(Q16933898,P710,c(Q502895))
action filter_type
action find
entity Q16933898
relation P710
type Q502895
['Q16933898', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q16933898 property:P710 ?f . ?f rdf:type ontology:Q502895 }
Normandy campaigns of 1200–1204
action filter_type
action find
entity Normandy campaigns of 1200–1204
relation participant
type common name
['Normandy campaigns of 1200–1204', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Normandy_campaigns_of_1200–1204 property:participant ?f . ?f rdf:type ontology:common_name }
[]
common name
Q129308 Q34428 Q348911
SYSTEM
John of England, Philip, William Marshal, 1st Earl of Pembroke
Q34428 Q363800 Q257036 Q129308 Q348911 Q267040
(Q16933898,P710,c(Q502895))
action filter_type
action find
entity Q16933898
relation P710
type Q502895
[ANSWERS]
['Q16933898', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q16933898 property:P710 ?f . ?f rdf:type ontology:Q502895 }
Philip Arthur I, Duke of Brittany Hugh X of Lusignan John of England William Marshal, 1st Earl of Pembroke William des Roches
John of England, Philip and William Marshal, 1st Earl of Pembroke were participants of Normandy campaigns of 1200–1204
John of England Philip William Marshal, 1st Earl of Pembroke
action filter_type
action find
entity Normandy campaigns of 1200–1204
relation participant
type common name
['Normandy campaigns of 1200–1204', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Normandy_campaigns_of_1200–1204 property:participant ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q129308 Q34428 Q348911
P127
Q7743
USER
Which homes are owned by those people ?
(c(Q7743),P127,Q129308) (c(Q7743),P127,Q34428) (c(Q7743),P127,Q348911)
action filter_type
action find_reverse
entity prev_answer
relation P127
type Q7743
[{'concept': 'Q7743'}, 'P127', 'Q129308'] [{'concept': 'Q7743'}, 'P127', 'Q34428'] [{'concept': 'Q7743'}, 'P127', 'Q348911']
SELECT DISTINCT ?o WHERE { VALUES ( ?n ) { ( resource:Q34428 ) ( resource:Q363800 ) ( resource:Q257036 ) } . ?o rdf:type ontology:Q7743 . ?o property:P127 ?n }
John of England Philip William Marshal, 1st Earl of Pembroke
action filter_type
action find_reverse
entity prev_answer
relation owned by
type home
[{'concept': 'home'}, 'owned by', 'John of England'] [{'concept': 'home'}, 'owned by', 'Philip'] [{'concept': 'home'}, 'owned by', 'William Marshal, 1st Earl of Pembroke']
SELECT DISTINCT ?o WHERE { VALUES ( ?n ) { ( resource:Philip ) ( resource:Arthur_I,_Duke_of_Brittany ) ( resource:Hugh_X_of_Lusignan ) } . ?o rdf:type ontology:home . ?o property:owned_by ?n }
[]
home
Q1422235 Q1470842 Q2970346
SYSTEM
Pembroke Castle, Château de Sully-sur-Loire, Château de Rauzan
Q2533198 Q2970346 Q1470842 Q1011487 Q1422235 Q33530
(c(Q7743),P127,Q129308) (c(Q7743),P127,Q34428) (c(Q7743),P127,Q348911)
action filter_type
action find_reverse
entity prev_answer
relation P127
type Q7743
[ANSWERS] are owned by those people
[{'concept': 'Q7743'}, 'P127', 'Q129308'] [{'concept': 'Q7743'}, 'P127', 'Q34428'] [{'concept': 'Q7743'}, 'P127', 'Q348911']
SELECT DISTINCT ?o WHERE { VALUES ( ?n ) { ( resource:Q34428 ) ( resource:Q363800 ) ( resource:Q257036 ) } . ?o rdf:type ontology:Q7743 . ?o property:P127 ?n }
King John's Castle Château de Rauzan Château de Sully-sur-Loire Château de Dourdan Pembroke Castle Carlow Castle
Pembroke Castle, Château de Sully-sur-Loire and Château de Rauzan are owned by those people
Pembroke Castle Château de Sully-sur-Loire Château de Rauzan
action filter_type
action find_reverse
entity prev_answer
relation owned by
type home
[{'concept': 'home'}, 'owned by', 'John of England'] [{'concept': 'home'}, 'owned by', 'Philip'] [{'concept': 'home'}, 'owned by', 'William Marshal, 1st Earl of Pembroke']
SELECT DISTINCT ?o WHERE { VALUES ( ?n ) { ( resource:Philip ) ( resource:Arthur_I,_Duke_of_Brittany ) ( resource:Hugh_X_of_Lusignan ) } . ?o rdf:type ontology:home . ?o property:owned_by ?n }
[]
Clarification
Simple Question|Single Entity|Indirect
Q129308
P40
Q502895
USER
Who are an offsprings of that one ?
(Q129308,P40,c(Q502895))
action filter_type
action find
entity Q129308
relation P40
type Q502895
['Q129308', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q129308 property:P40 ?o . ?o rdf:type ontology:Q502895 }
John of England
action filter_type
action find
entity John of England
relation child
type common name
['John of England', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:John_of_England property:child ?o . ?o rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q129308
SYSTEM
Did you mean John of England ?
Q1422235 Q1470842 Q2970346
(Q1422235,P40,c(Q502895)) (Q1470842,P40,c(Q502895)) (Q2970346,P40,c(Q502895))
[ANSWER]
['Q1422235', 'P40', {'concept': 'Q502895'}] ['Q1470842', 'P40', {'concept': 'Q502895'}] ['Q2970346', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q129308 property:P40 ?o . ?o rdf:type ontology:Q502895 }
Pembroke Castle Château de Sully-sur-Loire Château de Rauzan
Did you mean John of England ?
John of England
['Pembroke Castle', 'child', {'concept': 'common name'}] ['Château de Sully-sur-Loire', 'child', {'concept': 'common name'}] ['Château de Rauzan', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:John_of_England property:child ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q129308,P40,c(Q502895))
['Q129308', 'P40', {'concept': 'Q502895'}]
['John of England', 'child', {'concept': 'common name'}]
[]
Q271382 Q314527 Q160311
SYSTEM
Eleanor of Leicester, Richard, 1st Earl of Cornwall, Henry III of England
Q314527 Q242287 Q237858 Q18530535 Q160311 Q271382 Q1091368 Q3430764
(Q129308,P40,c(Q502895))
action filter_type
action find
entity Q129308
relation P40
type Q502895
Are an offsprings of that one [ANSWERS]
['Q129308', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q129308 property:P40 ?o . ?o rdf:type ontology:Q502895 }
Richard, 1st Earl of Cornwall Joan of England, Queen of Scotland Isabella of England Oliver fitz Regis Henry III of England Eleanor of Leicester Joan, Lady of Wales Richard FitzRoy
Are an offsprings of that one Eleanor of Leicester, Richard, 1st Earl of Cornwall and Henry III of England
Eleanor of Leicester Richard, 1st Earl of Cornwall Henry III of England
action filter_type
action find
entity John of England
relation child
type common name
['John of England', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:John_of_England property:child ?o . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P941
Q502895 Q15619164 Q15416
USER
Which people were the sources of inspiration for min number of abstract beings and television programs ?
(c(Q15619164)|c(Q15416),P941,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15619164
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15416
[[{'concept': 'Q15619164'}, {'concept': 'Q15416'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?s ) WHERE { { ?d rdf:type ontology:Q502895 . ?c rdf:type ontology:Q15619164 . ?c property:P941 ?d } UNION { ?c property:P941 ?d . ?d rdf:type ontology:Q502895 . ?c rdf:type ontology:Q15416 } } GROUP BY ?d } . FILTER ( ?s = ?y ) . { SELECT DISTINCT ( MIN ( ?p ) AS ?y ) { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?p ) WHERE { { ?v property:P941 ?j . ?j rdf:type ontology:Q502895 . ?v rdf:type ontology:Q15619164 } UNION { ?v property:P941 ?j . ?j rdf:type ontology:Q502895 . ?v rdf:type ontology:Q15416 } } GROUP BY ?j } } }
action argmin
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type abstract being
action find_reverse_tuple_counts
relation inspired by
type common name
type television program
[[{'concept': 'abstract being'}, {'concept': 'television program'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?s ) WHERE { { ?d rdf:type ontology:common_name . ?c rdf:type ontology:abstract_being . ?c property:inspired_by ?d } UNION { ?c property:inspired_by ?d . ?d rdf:type ontology:common_name . ?c rdf:type ontology:television_program } } GROUP BY ?d } . FILTER ( ?s = ?y ) . { SELECT DISTINCT ( MIN ( ?p ) AS ?y ) { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?p ) WHERE { { ?v property:inspired_by ?j . ?j rdf:type ontology:common_name . ?v rdf:type ontology:abstract_being } UNION { ?v property:inspired_by ?j . ?j rdf:type ontology:common_name . ?v rdf:type ontology:television_program } } GROUP BY ?j } } }
[]
common name abstract being television program
Q8016 Q352 Q1744
SYSTEM
Winston Churchill, Adolf Hitler, Madonna
Q207939 Q23380 Q3481979 Q40475 Q366380 Q334001 Q42229 Q5296307 Q19526 Q58801 Q129308 Q42305 Q558333 Q207447 Q560792 Q35548 Q1067550 Q2707376 Q180919 Q105719 Q205002 Q30755 Q37693 Q712955 Q666171 Q531161 Q5383 Q8016 Q456270 Q127171 Q649801 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 Q156268 Q56016 Q458779 Q73089 Q182462 Q1353414 Q575668 Q171745 Q100937 Q5669 Q5577 Q395274 Q272068 Q2437296 Q9077 Q443540 Q966425 Q1281170 Q47551 Q357951 Q676001 Q46373 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q273079 Q299271 Q9061 Q849 Q6577515 Q2975042 Q104109 Q16397 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 Q5582 Q219640 Q5822 Q28493 Q5589 Q296 Q527735 Q352954 Q2181776 Q27429984 Q34013 Q2836532 Q712497 Q221464 Q263241 Q356129 Q3925 Q34851 Q25328 Q26806 Q203219 Q983441 Q2552902 Q41554 Q83338 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(Q15619164)|c(Q15416),P941,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15619164
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15416
[ANSWERS] were the sources of inspiration for min number of abstract beings and television programs
[[{'concept': 'Q15619164'}, {'concept': 'Q15416'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?s ) WHERE { { ?d rdf:type ontology:Q502895 . ?c rdf:type ontology:Q15619164 . ?c property:P941 ?d } UNION { ?c property:P941 ?d . ?d rdf:type ontology:Q502895 . ?c rdf:type ontology:Q15416 } } GROUP BY ?d } . FILTER ( ?s = ?y ) . { SELECT DISTINCT ( MIN ( ?p ) AS ?y ) { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?p ) WHERE { { ?v property:P941 ?j . ?j rdf:type ontology:Q502895 . ?v rdf:type ontology:Q15619164 } UNION { ?v property:P941 ?j . ?j rdf:type ontology:Q502895 . ?v rdf:type ontology:Q15416 } } GROUP BY ?j } } }
Alexander McQueen 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 John Marin Elizabeth Kenny David Bowie Winston Churchill Eleanor Audley Jean-Honoré Fragonard Fred Moore 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 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 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 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 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 John Stamos Grace Kelly Elizabeth Taylor Antoni Gaudí Danny DeVito Boris Karloff Thomas Moran Hans Conried Nicolas Poussin Robin Williams 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
Winston Churchill, Adolf Hitler and Madonna were the sources of inspiration for min number of abstract beings and television programs
Winston Churchill Adolf Hitler Madonna
action argmin
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type abstract being
action find_reverse_tuple_counts
relation inspired by
type common name
type television program
[[{'concept': 'abstract being'}, {'concept': 'television program'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?s ) WHERE { { ?d rdf:type ontology:common_name . ?c rdf:type ontology:abstract_being . ?c property:inspired_by ?d } UNION { ?c property:inspired_by ?d . ?d rdf:type ontology:common_name . ?c rdf:type ontology:television_program } } GROUP BY ?d } . FILTER ( ?s = ?y ) . { SELECT DISTINCT ( MIN ( ?p ) AS ?y ) { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?p ) WHERE { { ?v property:inspired_by ?j . ?j rdf:type ontology:common_name . ?v rdf:type ontology:abstract_being } UNION { ?v property:inspired_by ?j . ?j rdf:type ontology:common_name . ?v rdf:type ontology:television_program } } GROUP BY ?j } } }
[]