Simple Question (Direct)
Simple Question
Q1573240
P1196
Q1931388
USER
What situation did Walter Frank Raphael Weldon die in ?
(Q1573240,P1196,c(Q1931388))
action filter_type
action find
entity Q1573240
relation P1196
type Q1931388
['Q1573240', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1931388 . resource:Q1573240 property:P1196 ?r }
Walter Frank Raphael Weldon
action filter_type
action find
entity Walter Frank Raphael Weldon
relation manner of death
type cause of death
['Walter Frank Raphael Weldon', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:cause_of_death . resource:Walter_Frank_Raphael_Weldon property:manner_of_death ?r }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q1573240,P1196,c(Q1931388))
action filter_type
action find
entity Q1573240
relation P1196
type Q1931388
Walter Frank Raphael Weldon died of [ANSWER]
['Q1573240', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1931388 . resource:Q1573240 property:P1196 ?r }
natural causes
Walter Frank Raphael Weldon died of natural causes
natural causes
action filter_type
action find
entity Walter Frank Raphael Weldon
relation manner of death
type cause of death
['Walter Frank Raphael Weldon', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:cause_of_death . resource:Walter_Frank_Raphael_Weldon property:manner_of_death ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1573240
P509
Q2057971
USER
What caused the death of Walter Frank Raphael Weldon ?
(Q1573240,P509,c(Q2057971))
action filter_type
action find
entity Q1573240
relation P509
type Q2057971
['Q1573240', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?n WHERE { resource:Q1573240 property:P509 ?n . ?n rdf:type ontology:Q2057971 }
Walter Frank Raphael Weldon
action filter_type
action find
entity Walter Frank Raphael Weldon
relation cause of death
type health problem
['Walter Frank Raphael Weldon', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?n WHERE { resource:Walter_Frank_Raphael_Weldon property:cause_of_death ?n . ?n rdf:type ontology:health_problem }
[]
health problem
Q12192
SYSTEM
pneumonia
Q12192
(Q1573240,P509,c(Q2057971))
action filter_type
action find
entity Q1573240
relation P509
type Q2057971
[ANSWER] caused the death of Walter Frank Raphael Weldon
['Q1573240', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?n WHERE { resource:Q1573240 property:P509 ?n . ?n rdf:type ontology:Q2057971 }
pneumonia
Pneumonia caused the death of Walter Frank Raphael Weldon
pneumonia
action filter_type
action find
entity Walter Frank Raphael Weldon
relation cause of death
type health problem
['Walter Frank Raphael Weldon', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?n WHERE { resource:Walter_Frank_Raphael_Weldon property:cause_of_death ?n . ?n rdf:type ontology:health_problem }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1100270
Q2057971
USER
And also tell me about Clement Meadmore?
(Q1100270,P509,c(Q2057971))
action filter_type
action find
entity Q1100270
relation P509
type Q2057971
['Q1100270', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?b WHERE { resource:Q1100270 property:P509 ?b . ?b rdf:type ontology:Q2057971 }
Clement Meadmore
action filter_type
action find
entity Clement Meadmore
relation cause of death
type health problem
['Clement Meadmore', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?b WHERE { resource:Clement_Meadmore property:cause_of_death ?b . ?b rdf:type ontology:health_problem }
[]
health problem
Q11085
SYSTEM
Parkinson's disease
Q11085
(Q1100270,P509,c(Q2057971))
action filter_type
action find
entity Q1100270
relation P509
type Q2057971
[ANSWER]
['Q1100270', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?b WHERE { resource:Q1100270 property:P509 ?b . ?b rdf:type ontology:Q2057971 }
Parkinson's disease
Parkinson's disease
action filter_type
action find
entity Clement Meadmore
relation cause of death
type health problem
['Clement Meadmore', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?b WHERE { resource:Clement_Meadmore property:cause_of_death ?b . ?b rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P2176
Q8386
USER
How many drugs are used for treating that health problem ?
(Q11085,P2176,c(Q8386))
action count
action filter_type
action find
entity Q11085
relation P2176
type Q8386
['Q11085', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q11085 property:P2176 ?p . ?p rdf:type ontology:Q8386 }
action count
action filter_type
action find
entity Parkinson's disease
relation drug used for treatment
type drug
["Parkinson's disease", 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Parkinson's_disease property:drug_used_for_treatment ?p . ?p rdf:type ontology:drug }
[]
drug
SYSTEM
23
Q3950557 Q423308 Q219957 Q411985 Q414225 Q300989 Q60235 Q411887 Q420590 Q2991856 Q416444 Q3151081 Q414873 Q413581 Q57055 Q409761 Q421304 Q414914 Q868658 Q2195995 Q413840 Q415752 Q417762
(Q11085,P2176,c(Q8386))
action count
action filter_type
action find
entity Q11085
relation P2176
type Q8386
[ANSWER]
['Q11085', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q11085 property:P2176 ?p . ?p rdf:type ontology:Q8386 }
Sargramostim cabergoline zonisamide rotigotine carbidopa levodopa caffeine rivastigmine ropinirole trihexyphenidyl entacapone Filgrastim Isradipine bromocriptine paracetamol amantidine pramipexole biperiden perampanel repaglinide tolcapone pergolide Exenatide
23
action count
action filter_type
action find
entity Parkinson's disease
relation drug used for treatment
type drug
["Parkinson's disease", 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Parkinson's_disease property:drug_used_for_treatment ?p . ?p rdf:type ontology:drug }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P941
Q502895 Q95074 Q502895
USER
Which people were the sources of inspiration for min number of fictional characters or people ?
(c(Q95074)|c(Q502895),P941,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q95074
action find_reverse_tuple_counts
relation P941
type Q502895
type Q502895
[[{'concept': 'Q95074'}, {'concept': 'Q502895'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:P941 ?j . ?j rdf:type ontology:Q502895 . ?t rdf:type ontology:Q95074 } UNION { ?t property:P941 ?j . ?j rdf:type ontology:Q502895 . ?t rdf:type ontology:Q502895 } } GROUP BY ?j } . FILTER ( ?x = ?u ) . { SELECT DISTINCT ( MIN ( ?b ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?b ) WHERE { VALUES ( ?o ) { ( ontology:Q95074 ) ( ontology:Q502895 ) } . ?q rdf:type ?o } GROUP BY ?e } } }
action argmin
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional character
action find_reverse_tuple_counts
relation inspired by
type common name
type common name
[[{'concept': 'fictional character'}, {'concept': 'common name'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:inspired_by ?j . ?j rdf:type ontology:common_name . ?t rdf:type ontology:fictional_character } UNION { ?t property:inspired_by ?j . ?j rdf:type ontology:common_name . ?t rdf:type ontology:common_name } } GROUP BY ?j } . FILTER ( ?x = ?u ) . { SELECT DISTINCT ( MIN ( ?b ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?b ) WHERE { VALUES ( ?o ) { ( ontology:fictional_character ) ( ontology:common_name ) } . ?q rdf:type ?o } GROUP BY ?e } } }
[]
common name fictional character common name
Q22686 Q23380 Q83338
SYSTEM
Donald Trump, Jean Auguste Dominique Ingres, Robin Williams
Q19738291 Q23380 Q366380 Q334001 Q58801 Q560792 Q35548 Q205002 Q37693 Q302650 Q531161 Q127171 Q43715 Q312502 Q154545 Q5534471 Q2907490 Q1532260 Q892444 Q164823 Q184226 Q183221 Q81960 Q5592 Q5594 Q538158 Q1508997 Q310476 Q183458 Q34618 Q151573 Q3560424 Q947525 Q1353414 Q5669 Q395274 Q966425 Q47551 Q357951 Q676001 Q5675905 Q37079 Q103343 Q464056 Q313270 Q48319 Q1288359 Q551643 Q3498875 Q273079 Q299271 Q849 Q79031 Q150679 Q177692 Q163118 Q5599 Q22686 Q5545355 Q463653 Q483512 Q123075 Q229432 Q123071 Q44272 Q367447 Q5582 Q219640 Q5822 Q34013 Q2836532 Q712497 Q221464 Q550426 Q203219 Q983441 Q41554 Q83338 Q205365 Q1953018 Q983352 Q471023 Q5432 Q159907 Q1401 Q192222 Q83155 Q3385369 Q733965 Q2409128 Q1278282
(c(Q95074)|c(Q502895),P941,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q95074
action find_reverse_tuple_counts
relation P941
type Q502895
type Q502895
[ANSWERS] were the sources of inspiration for min number of fictional characters or people
[[{'concept': 'Q95074'}, {'concept': 'Q502895'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:P941 ?j . ?j rdf:type ontology:Q502895 . ?t rdf:type ontology:Q95074 } UNION { ?t property:P941 ?j . ?j rdf:type ontology:Q502895 . ?t rdf:type ontology:Q502895 } } GROUP BY ?j } . FILTER ( ?x = ?u ) . { SELECT DISTINCT ( MIN ( ?b ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?b ) WHERE { VALUES ( ?o ) { ( ontology:Q95074 ) ( ontology:Q502895 ) } . ?q rdf:type ?o } GROUP BY ?e } } }
Walter O'Brien Jean Auguste Dominique Ingres Allan Kaprow Thomas Cole Conrad Veidt Allan Ramsay Paul Cézanne Joe Grant Paul Gauguin Tate Donovan Elizabeth Kenny Jean-Honoré Fragonard Vlad Tepes Fiorello H. La Guardia Léopold Sédar Senghor Geoffrey Bowers Bo Gritz Al Hirschfeld Scott Weinger Girolamo Savonarola Gilles Deleuze Antoine Watteau Robert Burns Michelangelo Antonello da Messina Balthasar Denner Georges Manolescu Fats Waller Andrea del Verrocchio Gustave Courbet Paul Signac Violet Gordon-Woodhouse Robert Gant Robert Gober Sandro Botticelli Michael J. Fox Charles Hubert Millevoye Titian Mehran Karimi Nasseri Eugène Devéria Andrés López Muñoz Tom Cruise Jennifer Connelly Gala Dalí Jerome Kern Hans Holbein Félix González-Torres Jean Goujon Steve Carlson Cab Calloway Bahram V François Villon Mike Tyson Anthony van Dyck Andrea Palladio Marguerite Yourcenar Peter Paul Rubens Donald Trump George Turberville Marie-Thérèse Walter Isadora Duncan Robert Walser Lucretia Arnold Böcklin Michel Foucault Louis Prima Vincent van Gogh Vincent Price Piero della Francesca Georges Seurat Alice Ayres François Girardon Gilbert Gottfried Jeffrey Katzenberg Boris Karloff Thomas Moran Nicolas Poussin Robin Williams Cain Pratibha Ray Il Pordenone Jimmy Durante Francisco de Goya David Hockney Petrarch Lysippos Jacques-Louis David Pierre Guillaume Jack Carlson Dušan Popov Eastman Johnson
Donald Trump, Jean Auguste Dominique Ingres and Robin Williams were the sources of inspiration for min number of fictional characters or people
Donald Trump Jean Auguste Dominique Ingres Robin Williams
action argmin
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional character
action find_reverse_tuple_counts
relation inspired by
type common name
type common name
[[{'concept': 'fictional character'}, {'concept': 'common name'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:inspired_by ?j . ?j rdf:type ontology:common_name . ?t rdf:type ontology:fictional_character } UNION { ?t property:inspired_by ?j . ?j rdf:type ontology:common_name . ?t rdf:type ontology:common_name } } GROUP BY ?j } . FILTER ( ?x = ?u ) . { SELECT DISTINCT ( MIN ( ?b ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?b ) WHERE { VALUES ( ?o ) { ( ontology:fictional_character ) ( ontology:common_name ) } . ?q rdf:type ?o } GROUP BY ?e } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q23380
P26
Q502895
USER
Who are married to that one ?
(Q23380,P26,c(Q502895))
action filter_type
action find
entity Q23380
relation P26
type Q502895
['Q23380', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q23380 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Jean Auguste Dominique Ingres
action filter_type
action find
entity Jean Auguste Dominique Ingres
relation spouse
type common name
['Jean Auguste Dominique Ingres', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Jean_Auguste_Dominique_Ingres property:spouse ?s . ?s rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q22686
SYSTEM
Did you mean Donald Trump ?
Q22686 Q23380 Q83338
(Q22686,P26,c(Q502895)) (Q23380,P26,c(Q502895)) (Q83338,P26,c(Q502895))
[ANSWER]
['Q22686', 'P26', {'concept': 'Q502895'}] ['Q23380', 'P26', {'concept': 'Q502895'}] ['Q83338', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q23380 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Donald Trump Jean Auguste Dominique Ingres Robin Williams
Did you mean Donald Trump ?
Donald Trump
['Donald Trump', 'spouse', {'concept': 'common name'}] ['Jean Auguste Dominique Ingres', 'spouse', {'concept': 'common name'}] ['Robin Williams', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Jean_Auguste_Dominique_Ingres property:spouse ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Jean Auguste Dominique Ingres. Could you tell me the answer for that?
(Q23380,P26,c(Q502895))
Q23380
['Q23380', 'P26', {'concept': 'Q502895'}]
['Jean Auguste Dominique Ingres', 'spouse', {'concept': 'common name'}]
[]
Q18010305 Q18010301
SYSTEM
Madeleine Chapelle, Delphine Ramel
Q18010305 Q18010301
(Q23380,P26,c(Q502895))
action filter_type
action find
entity Q23380
relation P26
type Q502895
[ANSWERS] are married to that one
['Q23380', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q23380 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Madeleine Chapelle Delphine Ramel
Madeleine Chapelle and Delphine Ramel are married to that one
Madeleine Chapelle Delphine Ramel
action filter_type
action find
entity Jean Auguste Dominique Ingres
relation spouse
type common name
['Jean Auguste Dominique Ingres', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Jean_Auguste_Dominique_Ingres property:spouse ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q18010305 Q18010301
P26
Q502895
USER
Which people are the life partner of Madeleine Chapelle and Delphine Ramel ?
(c(Q502895),P26,Q18010305) (c(Q502895),P26,Q18010301)
action union
action filter_type
action find
entity Q18010305
relation P26
type Q502895
action filter_type
action find
entity Q18010301
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q18010305'] [{'concept': 'Q502895'}, 'P26', 'Q18010301']
SELECT DISTINCT ?w WHERE { ?n property:P26 ?w . VALUES ( ?n ) { ( resource:Q18010301 ) ( resource:Q18010305 ) } }
Madeleine Chapelle Delphine Ramel
action union
action filter_type
action find
entity Madeleine Chapelle
relation spouse
type common name
action filter_type
action find
entity Delphine Ramel
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Madeleine Chapelle'] [{'concept': 'common name'}, 'spouse', 'Delphine Ramel']
SELECT DISTINCT ?w WHERE { ?n property:spouse ?w . VALUES ( ?n ) { ( resource:Delphine_Ramel ) ( resource:Madeleine_Chapelle ) } }
[]
common name
Q23380
SYSTEM
Jean Auguste Dominique Ingres
Q23380
(c(Q502895),P26,Q18010305) (c(Q502895),P26,Q18010301)
action union
action filter_type
action find
entity Q18010305
relation P26
type Q502895
action filter_type
action find
entity Q18010301
relation P26
type Q502895
[ANSWER] is the life partner of Madeleine Chapelle and Delphine Ramel
[{'concept': 'Q502895'}, 'P26', 'Q18010305'] [{'concept': 'Q502895'}, 'P26', 'Q18010301']
SELECT DISTINCT ?w WHERE { ?n property:P26 ?w . VALUES ( ?n ) { ( resource:Q18010301 ) ( resource:Q18010305 ) } }
Jean Auguste Dominique Ingres
Jean Auguste Dominique Ingres is the life partner of Madeleine Chapelle and Delphine Ramel
Jean Auguste Dominique Ingres
action union
action filter_type
action find
entity Madeleine Chapelle
relation spouse
type common name
action filter_type
action find
entity Delphine Ramel
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Madeleine Chapelle'] [{'concept': 'common name'}, 'spouse', 'Delphine Ramel']
SELECT DISTINCT ?w WHERE { ?n property:spouse ?w . VALUES ( ?n ) { ( resource:Delphine_Ramel ) ( resource:Madeleine_Chapelle ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23380
P802
Q502895
USER
Who were that one a pupil of ?
(Q23380,P802,c(Q502895))
action filter_type
action find
entity Q23380
relation P802
type Q502895
['Q23380', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q23380 property:P802 ?e . ?e rdf:type ontology:Q502895 }
Jean Auguste Dominique Ingres
action filter_type
action find
entity Jean Auguste Dominique Ingres
relation student
type common name
['Jean Auguste Dominique Ingres', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Jean_Auguste_Dominique_Ingres property:student ?e . ?e rdf:type ontology:common_name }
[]
common name
Q472235 Q282043 Q342467
SYSTEM
Hippolyte Flandrin, Jules Breton, Théodore Chassériau
Q3072894 Q282043 Q2833597 Q16725879 Q342467 Q2422896 Q1382422 Q472235 Q3371528
(Q23380,P802,c(Q502895))
action filter_type
action find
entity Q23380
relation P802
type Q502895
[ANSWERS] were that one a pupil of
['Q23380', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q23380 property:P802 ?e . ?e rdf:type ontology:Q502895 }
Firmin Salabert Jules Breton Alexandre Desgoffe Étienne-François Haro Théodore Chassériau Joseph Guichard Louis Janmot Hippolyte Flandrin Paul Flandrin
Hippolyte Flandrin, Jules Breton and Théodore Chassériau were that one a pupil of
Hippolyte Flandrin Jules Breton Théodore Chassériau
action filter_type
action find
entity Jean Auguste Dominique Ingres
relation student
type common name
['Jean Auguste Dominique Ingres', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Jean_Auguste_Dominique_Ingres property:student ?e . ?e rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q325897 Q23380
P7 P802
Q502895
USER
Which people were Jean Auguste Dominique Ingres a notable student of or have Princess Maria Amalia of Saxony as their sibling ?
OR((Q23380,P802,c(Q502895)), (Q325897,P7,c(Q502895)))
action filter_type
action union
action find
entity Q23380
relation P802
action find
entity Q325897
relation P7
type Q502895
{'OR': [['Q23380', 'P802', {'concept': 'Q502895'}], ['Q325897', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . { { resource:Q23380 property:P802 ?z } UNION { resource:Q325897 property:P7 ?z } } }
Princess Maria Amalia of Saxony Jean Auguste Dominique Ingres
action filter_type
action union
action find
entity Jean Auguste Dominique Ingres
relation student
action find
entity Princess Maria Amalia of Saxony
relation brother
type common name
{'OR': [['Jean Auguste Dominique Ingres', 'student', {'concept': 'common name'}], ['Princess Maria Amalia of Saxony', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . { { resource:Jean_Auguste_Dominique_Ingres property:student ?z } UNION { resource:Princess_Maria_Amalia_of_Saxony property:brother ?z } } }
[]
common name
Q16725879 Q3072894 Q53444 Q282043 Q2422896 Q342467 Q58023 Q1382422 Q60727 Q18223807
SYSTEM
Some of them are Étienne-François Haro, Firmin Salabert, Frederick Augustus I of Saxony, Jules Breton, Joseph Guichard, Théodore Chassériau, Maximilian, Crown Prince of Saxony, Louis Janmot, Anthony of Saxony, Karl Maximilian von Sachsen
Q53444 Q3371528 Q3072894 Q282043 Q2833597 Q16725879 Q472235 Q342467 Q60727 Q1382422 Q18223807 Q2422896 Q58023
OR((Q23380,P802,c(Q502895)), (Q325897,P7,c(Q502895)))
action filter_type
action union
action find
entity Q23380
relation P802
action find
entity Q325897
relation P7
type Q502895
[ANSWERS] were Jean Auguste Dominique Ingres a notable student of or have Princess Maria Amalia of Saxony as their sibling
{'OR': [['Q23380', 'P802', {'concept': 'Q502895'}], ['Q325897', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . { { resource:Q23380 property:P802 ?z } UNION { resource:Q325897 property:P7 ?z } } }
Frederick Augustus I of Saxony Paul Flandrin Firmin Salabert Jules Breton Alexandre Desgoffe Étienne-François Haro Hippolyte Flandrin Théodore Chassériau Anthony of Saxony Louis Janmot Karl Maximilian von Sachsen Joseph Guichard Maximilian, Crown Prince of Saxony
Étienne-François Haro, Firmin Salabert, Frederick Augustus I of Saxony, Jules Breton, Joseph Guichard, Théodore Chassériau, Maximilian, Crown Prince of Saxony, Louis Janmot, Anthony of Saxony and Karl Maximilian von Sachsen were Jean Auguste Dominique Ingres a notable student of or have Princess Maria Amalia of Saxony as their sibling
Étienne-François Haro Firmin Salabert Frederick Augustus I of Saxony Jules Breton Joseph Guichard Théodore Chassériau Maximilian, Crown Prince of Saxony Louis Janmot Anthony of Saxony Karl Maximilian von Sachsen
action filter_type
action union
action find
entity Jean Auguste Dominique Ingres
relation student
action find
entity Princess Maria Amalia of Saxony
relation brother
type common name
{'OR': [['Jean Auguste Dominique Ingres', 'student', {'concept': 'common name'}], ['Princess Maria Amalia of Saxony', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . { { resource:Jean_Auguste_Dominique_Ingres property:student ?z } UNION { resource:Princess_Maria_Amalia_of_Saxony property:brother ?z } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q6619679
USER
Which fictional humanoids had min number of people as the dubbing artist ?
(c(Q6619679),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q6619679
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?y ) { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?n ) WHERE { ?o property:P725 ?p . ?p rdf:type ontology:Q502895 . ?o rdf:type ontology:Q6619679 } GROUP BY ?o } } . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?r ) WHERE { ?c property:P725 ?i . ?c rdf:type ontology:Q6619679 . ?i rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?r = ?y ) }
action argmin
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?y ) { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?n ) WHERE { ?o property:voice_actor ?p . ?p rdf:type ontology:common_name . ?o rdf:type ontology:fictional_humanoid } GROUP BY ?o } } . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?r ) WHERE { ?c property:voice_actor ?i . ?c rdf:type ontology:fictional_humanoid . ?i rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?r = ?y ) }
[]
common name fictional humanoid
Q1623086 Q1205263 Q3149148
SYSTEM
Hector Barbossa, Eli Vance, Imoen
Q1623086 Q1205263 Q4992177 Q24010814 Q819585 Q1079617 Q4006757 Q15614636 Q1056953 Q250221 Q3149148 Q757015 Q15620419 Q13471616 Q12879 Q1154920
(c(Q6619679),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q6619679
type Q502895
[ANSWERS] had min number of people as the dubbing artist
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?y ) { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?n ) WHERE { ?o property:P725 ?p . ?p rdf:type ontology:Q502895 . ?o rdf:type ontology:Q6619679 } GROUP BY ?o } } . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?r ) WHERE { ?c property:P725 ?i . ?c rdf:type ontology:Q6619679 . ?i rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?r = ?y ) }
Hector Barbossa Eli Vance Cave Johnson Deckard Cain Jaina Proudmoore Wallace Breen Utena Tenjo Anna (Disney) Minsc Alyx Vance Imoen Sailor Moon Elsa Mr. Bean Toph Beifong Father Grigori
Hector Barbossa, Eli Vance and Imoen had min number of people as the dubbing artist
Hector Barbossa Eli Vance Imoen
action argmin
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?y ) { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?n ) WHERE { ?o property:voice_actor ?p . ?p rdf:type ontology:common_name . ?o rdf:type ontology:fictional_humanoid } GROUP BY ?o } } . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?r ) WHERE { ?c property:voice_actor ?i . ?c rdf:type ontology:fictional_humanoid . ?i rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?r = ?y ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1205263
P170
Q15619164
USER
Which works were created by that fictional humanoid ?
(c(Q15619164),P170,Q1205263)
action filter_type
action find_reverse
entity Q1205263
relation P170
type Q15619164
[{'concept': 'Q15619164'}, 'P170', 'Q1205263']
SELECT DISTINCT ?w WHERE { ?w property:P170 resource:Q1205263 . ?w rdf:type ontology:Q15619164 }
Eli Vance
action filter_type
action find_reverse
entity Eli Vance
relation creator
type abstract being
[{'concept': 'abstract being'}, 'creator', 'Eli Vance']
SELECT DISTINCT ?w WHERE { ?w property:creator resource:Eli_Vance . ?w rdf:type ontology:abstract_being }
[]
abstract being
Clarification for simple ques.
Q1623086
SYSTEM
Did you mean Hector Barbossa ?
Q1623086 Q1205263 Q3149148
(c(Q15619164),P170,Q1623086) (c(Q15619164),P170,Q1205263) (c(Q15619164),P170,Q3149148)
[ANSWER]
[{'concept': 'Q15619164'}, 'P170', 'Q1623086'] [{'concept': 'Q15619164'}, 'P170', 'Q1205263'] [{'concept': 'Q15619164'}, 'P170', 'Q3149148']
SELECT DISTINCT ?w WHERE { ?w property:P170 resource:Q1205263 . ?w rdf:type ontology:Q15619164 }
Hector Barbossa Eli Vance Imoen
Did you mean Hector Barbossa ?
Hector Barbossa
[{'concept': 'abstract being'}, 'creator', 'Hector Barbossa'] [{'concept': 'abstract being'}, 'creator', 'Eli Vance'] [{'concept': 'abstract being'}, 'creator', 'Imoen']
SELECT DISTINCT ?w WHERE { ?w property:creator resource:Eli_Vance . ?w rdf:type ontology:abstract_being }
[]
Simple Question (Coreferenced)
USER
No, I meant Eli Vance. Could you tell me the answer for that?
(c(Q15619164),P170,Q1205263)
Q1205263
[{'concept': 'Q15619164'}, 'P170', 'Q1205263']
[{'concept': 'abstract being'}, 'creator', 'Eli Vance']
[]
Q1211818
SYSTEM
D0g
Q1211818
(c(Q15619164),P170,Q1205263)
action filter_type
action find_reverse
entity Q1205263
relation P170
type Q15619164
[ANSWER] was created by that fictional humanoid
[{'concept': 'Q15619164'}, 'P170', 'Q1205263']
SELECT DISTINCT ?w WHERE { ?w property:P170 resource:Q1205263 . ?w rdf:type ontology:Q15619164 }
D0g
D0g was created by that fictional humanoid
D0g
action filter_type
action find_reverse
entity Eli Vance
relation creator
type abstract being
[{'concept': 'abstract being'}, 'creator', 'Eli Vance']
SELECT DISTINCT ?w WHERE { ?w property:creator resource:Eli_Vance . ?w rdf:type ontology:abstract_being }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1211818
P1441
Q166142
USER
Where do that abstract being appear ?
(Q1211818,P1441,c(Q166142))
action filter_type
action find
entity Q1211818
relation P1441
type Q166142
['Q1211818', 'P1441', {'concept': 'Q166142'}]
SELECT DISTINCT ?s WHERE { resource:Q1211818 property:P1441 ?s . ?s rdf:type ontology:Q166142 }
D0g
action filter_type
action find
entity D0g
relation present in work
type application
['D0g', 'present in work', {'concept': 'application'}]
SELECT DISTINCT ?s WHERE { resource:D0g property:present_in_work ?s . ?s rdf:type ontology:application }
[]
application
Q193581 Q18951
SYSTEM
Half-Life 2, Half-Life 2: Episode One
Q193581 Q18951
(Q1211818,P1441,c(Q166142))
action filter_type
action find
entity Q1211818
relation P1441
type Q166142
That abstract being appear in [ANSWERS]
['Q1211818', 'P1441', {'concept': 'Q166142'}]
SELECT DISTINCT ?s WHERE { resource:Q1211818 property:P1441 ?s . ?s rdf:type ontology:Q166142 }
Half-Life 2 Half-Life 2: Episode One
That abstract being appear in Half-Life 2 and Half-Life 2: Episode One
Half-Life 2 Half-Life 2: Episode One
action filter_type
action find
entity D0g
relation present in work
type application
['D0g', 'present in work', {'concept': 'application'}]
SELECT DISTINCT ?s WHERE { resource:D0g property:present_in_work ?s . ?s rdf:type ontology:application }
[]