Simple Question (Direct)
Simple Question
Q75107
P20
Q56061
USER
Where did Hans Joachim Störig die ?
(Q75107,P20,c(Q56061))
action filter_type
action find
entity Q75107
relation P20
type Q56061
['Q75107', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q75107 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Hans Joachim Störig
action filter_type
action find
entity Hans Joachim Störig
relation place of death
type administrative territorial entity
['Hans Joachim Störig', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Hans_Joachim_Störig property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q75107,P20,c(Q56061))
action filter_type
action find
entity Q75107
relation P20
type Q56061
Hans Joachim Störig died in [ANSWER]
['Q75107', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q75107 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Munich
Hans Joachim Störig died in Munich
Munich
action filter_type
action find
entity Hans Joachim Störig
relation place of death
type administrative territorial entity
['Hans Joachim Störig', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Hans_Joachim_Störig property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q75107
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q1726,P106,c(Q12737077))
action filter_type
action find
entity Q75107
relation P106
type Q12737077
['Q1726', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q75107 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Hans Joachim Störig
action filter_type
action find
entity Hans Joachim Störig
relation occupation
type occupation
['Munich', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Hans_Joachim_Störig property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q14972848 Q15980158 Q14467526
SYSTEM
lexicographer, non-fiction writer, linguist
Q14972848 Q15980158 Q14467526
(Q1726,P106,c(Q12737077))
action filter_type
action find
entity Q75107
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q1726', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q75107 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
lexicographer non-fiction writer linguist
The professions of that person are lexicographer, non-fiction writer and linguist
lexicographer non-fiction writer linguist
action filter_type
action find
entity Hans Joachim Störig
relation occupation
type occupation
['Munich', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Hans_Joachim_Störig property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1644356 Q75107
P47 P27
Q1048835
USER
Which political territories are the native countriesof Hans Joachim Störig or share border with Oliana ?
OR((Q75107,P27,c(Q1048835)), (Q1644356,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q75107
relation P27
action find
entity Q1644356
relation P47
type Q1048835
{'OR': [['Q75107', 'P27', {'concept': 'Q1048835'}], ['Q1644356', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1048835 . { { resource:Q75107 property:P27 ?g } UNION { resource:Q1644356 property:P47 ?g } } }
Oliana Hans Joachim Störig
action filter_type
action union
action find
entity Hans Joachim Störig
relation country of citizenship
action find
entity Oliana
relation shares border with
type political territorial entity
{'OR': [['Hans Joachim Störig', 'country of citizenship', {'concept': 'political territorial entity'}], ['Oliana', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_territorial_entity . { { resource:Hans_Joachim_Störig property:country_of_citizenship ?g } UNION { resource:Oliana property:shares_border_with ?g } } }
[]
political territorial entity
Q1637517 Q183 Q969224 Q984431 Q810494 Q1900740
SYSTEM
Peramola, Germany, Coll de Nargó, Fígols i Alinyà, Bassella, Odèn
Q1637517 Q183 Q969224 Q984431 Q810494 Q1900740
OR((Q75107,P27,c(Q1048835)), (Q1644356,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q75107
relation P27
action find
entity Q1644356
relation P47
type Q1048835
[ANSWERS] are the native countriesof Hans Joachim Störig or share border with Oliana
{'OR': [['Q75107', 'P27', {'concept': 'Q1048835'}], ['Q1644356', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1048835 . { { resource:Q75107 property:P27 ?g } UNION { resource:Q1644356 property:P47 ?g } } }
Peramola Germany Coll de Nargó Fígols i Alinyà Bassella Odèn
Peramola, Germany, Coll de Nargó, Fígols i Alinyà, Bassella and Odèn are the native countriesof Hans Joachim Störig or share border with Oliana
Peramola Germany Coll de Nargó Fígols i Alinyà Bassella Odèn
action filter_type
action union
action find
entity Hans Joachim Störig
relation country of citizenship
action find
entity Oliana
relation shares border with
type political territorial entity
{'OR': [['Hans Joachim Störig', 'country of citizenship', {'concept': 'political territorial entity'}], ['Oliana', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_territorial_entity . { { resource:Hans_Joachim_Störig property:country_of_citizenship ?g } UNION { resource:Oliana property:shares_border_with ?g } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1644356
P19 P21
Q502895
USER
Which people were born at Oliana and are a male ?
AND((c(Q502895),P19,Q1644356), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1644356
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q1644356'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?g WHERE { ?g property:P21 resource:Q6581097 . ?g property:P19 resource:Q1644356 . ?g rdf:type ontology:Q502895 }
male Oliana
action filter_type
action intersection
action find_reverse
entity Oliana
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Oliana'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?g WHERE { ?g property:gender resource:male . ?g property:place_of_birth resource:Oliana . ?g rdf:type ontology:common_name }
[]
common name
Q19290271 Q3888008 Q9023328 Q11908615 Q5921239 Q5800329
SYSTEM
David Rodríguez i González, Jordi Solé Camardons, Lluís Escaler i Espunyes, Bartomeu Porredon i Cirera, Isidoro Tarrés Caubet, David Rodríguez González
Q19290271 Q3888008 Q9023328 Q11908615 Q5921239 Q5800329
AND((c(Q502895),P19,Q1644356), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1644356
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were born at Oliana and are a male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q1644356'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?g WHERE { ?g property:P21 resource:Q6581097 . ?g property:P19 resource:Q1644356 . ?g rdf:type ontology:Q502895 }
David Rodríguez i González Jordi Solé Camardons Lluís Escaler i Espunyes Bartomeu Porredon i Cirera Isidoro Tarrés Caubet David Rodríguez González
David Rodríguez i González, Jordi Solé Camardons, Lluís Escaler i Espunyes, Bartomeu Porredon i Cirera, Isidoro Tarrés Caubet and David Rodríguez González were born at Oliana and are a male
David Rodríguez i González Jordi Solé Camardons Lluís Escaler i Espunyes Bartomeu Porredon i Cirera Isidoro Tarrés Caubet David Rodríguez González
action filter_type
action intersection
action find_reverse
entity Oliana
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Oliana'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?g WHERE { ?g property:gender resource:male . ?g property:place_of_birth resource:Oliana . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3888008
P1412
Q34770
USER
Which language does Jordi Solé Camardons speak in ?
(Q3888008,P1412,c(Q34770))
action filter_type
action find
entity Q3888008
relation P1412
type Q34770
['Q3888008', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q3888008 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Jordi Solé Camardons
action filter_type
action find
entity Jordi Solé Camardons
relation languages spoken, written or signed
type language
['Jordi Solé Camardons', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Jordi_Solé_Camardons property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q3888008,P1412,c(Q34770))
action filter_type
action find
entity Q3888008
relation P1412
type Q34770
Jordi Solé Camardons speaks in [ANSWER]
['Q3888008', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q3888008 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Spanish
Jordi Solé Camardons speaks in Spanish
Spanish
action filter_type
action find
entity Jordi Solé Camardons
relation languages spoken, written or signed
type language
['Jordi Solé Camardons', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Jordi_Solé_Camardons property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q6246943
P941
Q502895 Q340169 Q2198855
USER
How many people were around the same number of medias or cultural movements inspired by as John Martin ?
(c(Q340169)|c(Q2198855),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2198855
action count
action filter_multi_types
action find_reverse
entity Q6246943
relation P941
type Q340169
type Q2198855
[[{'concept': 'Q340169'}, {'concept': 'Q2198855'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { FILTER ( ?x = ?v ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:P941 resource:Q6246943 . { VALUES ( ?w ) { ( ontology:Q340169 ) ( ontology:Q2198855 ) } . ?z rdf:type ?w } } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?g WHERE { { ?b property:P941 ?g . ?g rdf:type ontology:Q502895 . ?b rdf:type ontology:Q340169 } UNION { ?b property:P941 ?g . ?g rdf:type ontology:Q502895 . ?b rdf:type ontology:Q2198855 } } GROUP BY ?g } }
John Martin
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action find_reverse_tuple_counts
relation inspired by
type common name
type cultural movement
action count
action filter_multi_types
action find_reverse
entity John Martin
relation inspired by
type media
type cultural movement
[[{'concept': 'media'}, {'concept': 'cultural movement'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { FILTER ( ?x = ?v ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:inspired_by resource:John_Martin . { VALUES ( ?w ) { ( ontology:media ) ( ontology:cultural_movement ) } . ?z rdf:type ?w } } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?g WHERE { { ?b property:inspired_by ?g . ?g rdf:type ontology:common_name . ?b rdf:type ontology:media } UNION { ?b property:inspired_by ?g . ?g rdf:type ontology:common_name . ?b rdf:type ontology:cultural_movement } } GROUP BY ?g } }
[]
common name media cultural movement
SYSTEM
208
Q207939 Q19738291 Q23380 Q3481979 Q40475 Q366380 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 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 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(Q340169)|c(Q2198855),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2198855
action count
action filter_multi_types
action find_reverse
entity Q6246943
relation P941
type Q340169
type Q2198855
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q2198855'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { FILTER ( ?x = ?v ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:P941 resource:Q6246943 . { VALUES ( ?w ) { ( ontology:Q340169 ) ( ontology:Q2198855 ) } . ?z rdf:type ?w } } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?g WHERE { { ?b property:P941 ?g . ?g rdf:type ontology:Q502895 . ?b rdf:type ontology:Q340169 } UNION { ?b property:P941 ?g . ?g rdf:type ontology:Q502895 . ?b rdf:type ontology:Q2198855 } } GROUP BY ?g } }
Alexander McQueen Walter O'Brien Jean Auguste Dominique Ingres Sherri Stoner Joan Crawford Allan Kaprow 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 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 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
208
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action find_reverse_tuple_counts
relation inspired by
type common name
type cultural movement
action count
action filter_multi_types
action find_reverse
entity John Martin
relation inspired by
type media
type cultural movement
[[{'concept': 'media'}, {'concept': 'cultural movement'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { FILTER ( ?x = ?v ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:inspired_by resource:John_Martin . { VALUES ( ?w ) { ( ontology:media ) ( ontology:cultural_movement ) } . ?z rdf:type ?w } } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?g WHERE { { ?b property:inspired_by ?g . ?g rdf:type ontology:common_name . ?b rdf:type ontology:media } UNION { ?b property:inspired_by ?g . ?g rdf:type ontology:common_name . ?b rdf:type ontology:cultural_movement } } GROUP BY ?g } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q104109
P941
Q502895 Q340169 Q2198855
USER
And how about Mary Pickford?
(c(Q340169)|c(Q2198855),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2198855
action count
action filter_multi_types
action find_reverse
entity Q104109
relation P941
type Q340169
type Q2198855
[[{'concept': 'Q340169'}, {'concept': 'Q2198855'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?s WHERE { { ?v property:P941 ?s . ?s rdf:type ontology:Q502895 . ?v rdf:type ontology:Q340169 } UNION { ?v property:P941 ?s . ?s rdf:type ontology:Q502895 . ?v rdf:type ontology:Q2198855 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:P941 resource:Q104109 . { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:Q340169 ) ( ontology:Q2198855 ) } } } } . FILTER ( ?p = ?b ) }
Mary Pickford
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action find_reverse_tuple_counts
relation inspired by
type common name
type cultural movement
action count
action filter_multi_types
action find_reverse
entity Mary Pickford
relation inspired by
type media
type cultural movement
[[{'concept': 'media'}, {'concept': 'cultural movement'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?s WHERE { { ?v property:inspired_by ?s . ?s rdf:type ontology:common_name . ?v rdf:type ontology:media } UNION { ?v property:inspired_by ?s . ?s rdf:type ontology:common_name . ?v rdf:type ontology:cultural_movement } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:inspired_by resource:Mary_Pickford . { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:media ) ( ontology:cultural_movement ) } } } } . FILTER ( ?p = ?b ) }
[]
common name media cultural movement
SYSTEM
208
Q207939 Q19738291 Q23380 Q3481979 Q40475 Q366380 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 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 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(Q340169)|c(Q2198855),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2198855
action count
action filter_multi_types
action find_reverse
entity Q104109
relation P941
type Q340169
type Q2198855
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q2198855'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?s WHERE { { ?v property:P941 ?s . ?s rdf:type ontology:Q502895 . ?v rdf:type ontology:Q340169 } UNION { ?v property:P941 ?s . ?s rdf:type ontology:Q502895 . ?v rdf:type ontology:Q2198855 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:P941 resource:Q104109 . { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:Q340169 ) ( ontology:Q2198855 ) } } } } . FILTER ( ?p = ?b ) }
Alexander McQueen Walter O'Brien Jean Auguste Dominique Ingres Sherri Stoner Joan Crawford Allan Kaprow 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 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 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
208
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action find_reverse_tuple_counts
relation inspired by
type common name
type cultural movement
action count
action filter_multi_types
action find_reverse
entity Mary Pickford
relation inspired by
type media
type cultural movement
[[{'concept': 'media'}, {'concept': 'cultural movement'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?s WHERE { { ?v property:inspired_by ?s . ?s rdf:type ontology:common_name . ?v rdf:type ontology:media } UNION { ?v property:inspired_by ?s . ?s rdf:type ontology:common_name . ?v rdf:type ontology:cultural_movement } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:inspired_by resource:Mary_Pickford . { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:media ) ( ontology:cultural_movement ) } } } } . FILTER ( ?p = ?b ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q104109
P9
Q502895
USER
Who are that one a sister of ?
action filter_type
action find_reverse
entity Q104109
relation P9
type Q502895
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P9 resource:Q104109 }
Mary Pickford
action filter_type
action find_reverse
entity Mary Pickford
relation sister
type common name
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:sister resource:Mary_Pickford }
[]
common name
Q430929 Q2070442 Q1677170
SYSTEM
Olive Thomas, Lottie Pickford, Jack Pickford
Q430929 Q2070442 Q1677170
action filter_type
action find_reverse
entity Q104109
relation P9
type Q502895
That one a sister of are Miss [ANSWERS]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P9 resource:Q104109 }
Olive Thomas Lottie Pickford Jack Pickford
That one a sister of are Miss Olive Thomas, Lottie Pickford and Jack Pickford
Olive Thomas Lottie Pickford Jack Pickford
action filter_type
action find_reverse
entity Mary Pickford
relation sister
type common name
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:sister resource:Mary_Pickford }
[]
Clarification
Simple Question|Single Entity|Indirect
Q430929
P119
Q43229
USER
Which organization is the place of burial of that person ?
(Q430929,P119,c(Q43229))
action filter_type
action find
entity Q430929
relation P119
type Q43229
['Q430929', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { resource:Q430929 property:P119 ?a . ?a rdf:type ontology:Q43229 }
Olive Thomas
action filter_type
action find
entity Olive Thomas
relation place of burial
type organization
['Olive Thomas', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { resource:Olive_Thomas property:place_of_burial ?a . ?a rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q1677170
SYSTEM
Did you mean Jack Pickford ?
Q430929 Q2070442 Q1677170
(Q430929,P119,c(Q43229)) (Q2070442,P119,c(Q43229)) (Q1677170,P119,c(Q43229))
[ANSWER]
['Q430929', 'P119', {'concept': 'Q43229'}] ['Q2070442', 'P119', {'concept': 'Q43229'}] ['Q1677170', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { resource:Q430929 property:P119 ?a . ?a rdf:type ontology:Q43229 }
Olive Thomas Lottie Pickford Jack Pickford
Did you mean Jack Pickford ?
Jack Pickford
['Olive Thomas', 'place of burial', {'concept': 'organization'}] ['Lottie Pickford', 'place of burial', {'concept': 'organization'}] ['Jack Pickford', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { resource:Olive_Thomas property:place_of_burial ?a . ?a rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Olive Thomas. Could you tell me the answer for that?
(Q430929,P119,c(Q43229))
Q430929
['Q430929', 'P119', {'concept': 'Q43229'}]
['Olive Thomas', 'place of burial', {'concept': 'organization'}]
[]
Q2000666
SYSTEM
Woodlawn Cemetery
Q2000666
(Q430929,P119,c(Q43229))
action filter_type
action find
entity Q430929
relation P119
type Q43229
Cemetery [ANSWER] is the place of burial of that person
['Q430929', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { resource:Q430929 property:P119 ?a . ?a rdf:type ontology:Q43229 }
Woodlawn Cemetery
Cemetery Woodlawn Cemetery is the place of burial of that person
Woodlawn Cemetery
action filter_type
action find
entity Olive Thomas
relation place of burial
type organization
['Olive Thomas', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { resource:Olive_Thomas property:place_of_burial ?a . ?a rdf:type ontology:organization }
[]