Simple Question (Direct)
Simple Question
Q3824983
P364
Q34770
USER
Which language was used originally for the creation of The Perfect Life ?
(Q3824983,P364,c(Q34770))
action filter_type
action find
entity Q3824983
relation P364
type Q34770
['Q3824983', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q3824983 property:P364 ?t . ?t rdf:type ontology:Q34770 }
The Perfect Life
action filter_type
action find
entity The Perfect Life
relation original language of work
type language
['The Perfect Life', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:The_Perfect_Life property:original_language_of_work ?t . ?t rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3824983,P364,c(Q34770))
action filter_type
action find
entity Q3824983
relation P364
type Q34770
[ANSWER] was used originally for the creation of The Perfect Life
['Q3824983', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q3824983 property:P364 ?t . ?t rdf:type ontology:Q34770 }
Italian
Italian was used originally for the creation of The Perfect Life
Italian
action filter_type
action find
entity The Perfect Life
relation original language of work
type language
['The Perfect Life', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:The_Perfect_Life property:original_language_of_work ?t . ?t rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3824983
P58
Q502895
USER
Who was the screenwriter for that work of art ?
(Q652,P58,c(Q502895))
action filter_type
action find
entity Q3824983
relation P58
type Q502895
['Q652', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q3824983 property:P58 ?p . ?p rdf:type ontology:Q502895 }
The Perfect Life
action filter_type
action find
entity The Perfect Life
relation screenwriter
type common name
['Italian', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:The_Perfect_Life property:screenwriter ?p . ?p rdf:type ontology:common_name }
[]
common name
Q3616014
SYSTEM
Andrea Salerno
Q3616014
(Q652,P58,c(Q502895))
action filter_type
action find
entity Q3824983
relation P58
type Q502895
The screenwriter for that work of art was [ANSWER]
['Q652', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q3824983 property:P58 ?p . ?p rdf:type ontology:Q502895 }
Andrea Salerno
The screenwriter for that work of art was Andrea Salerno
Andrea Salerno
action filter_type
action find
entity The Perfect Life
relation screenwriter
type common name
['Italian', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:The_Perfect_Life property:screenwriter ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3824983
P162
Q502895
USER
Who is the creator of The Perfect Life ?
(Q3824983,P162,c(Q502895))
action filter_type
action find
entity Q3824983
relation P162
type Q502895
['Q3824983', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q3824983 property:P162 ?g . ?g rdf:type ontology:Q502895 }
The Perfect Life
action filter_type
action find
entity The Perfect Life
relation producer
type common name
['The Perfect Life', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:The_Perfect_Life property:producer ?g . ?g rdf:type ontology:common_name }
[]
common name
Q3034759
SYSTEM
Domenico Procacci
Q3034759
(Q3824983,P162,c(Q502895))
action filter_type
action find
entity Q3824983
relation P162
type Q502895
The creator of The Perfect Life is Father [ANSWER]
['Q3824983', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q3824983 property:P162 ?g . ?g rdf:type ontology:Q502895 }
Domenico Procacci
The creator of The Perfect Life is Father Domenico Procacci
Domenico Procacci
action filter_type
action find
entity The Perfect Life
relation producer
type common name
['The Perfect Life', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:The_Perfect_Life property:producer ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q861202
Q502895
USER
And how about Oliver Twist?
(Q861202,P162,c(Q502895))
action filter_type
action find
entity Q861202
relation P162
type Q502895
['Q861202', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q861202 property:P162 ?o . ?o rdf:type ontology:Q502895 }
Oliver Twist
action filter_type
action find
entity Oliver Twist
relation producer
type common name
['Oliver Twist', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Oliver_Twist property:producer ?o . ?o rdf:type ontology:common_name }
[]
common name
Q712827 Q51552
SYSTEM
Alain Sarde, Roman Polanski
Q712827 Q51552
(Q861202,P162,c(Q502895))
action filter_type
action find
entity Q861202
relation P162
type Q502895
[ANSWERS]
['Q861202', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q861202 property:P162 ?o . ?o rdf:type ontology:Q502895 }
Alain Sarde Roman Polanski
Alain Sarde Roman Polanski
action filter_type
action find
entity Oliver Twist
relation producer
type common name
['Oliver Twist', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Oliver_Twist property:producer ?o . ?o rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q878964
P162
Q838948
USER
Have Bitter Moon been developed by those people ?
(Q878964,P162,Q712827) (Q878964,P162,Q51552)
action is_in
entity prev_answer
action find
entity Q878964
relation P162
['Q878964', 'P162', 'Q712827'] ['Q878964', 'P162', 'Q51552']
ASK WHERE { resource:Q878964 property:P162 ?g . VALUES ( ?g ) { ( resource:Q712827 ) ( resource:Q51552 ) } }
Bitter Moon
action is_in
entity prev_answer
action find
entity Bitter Moon
relation producer
['Bitter Moon', 'producer', 'Alain Sarde'] ['Bitter Moon', 'producer', 'Roman Polanski']
ASK WHERE { resource:Bitter_Moon property:producer ?g . VALUES ( ?g ) { ( resource:Alain_Sarde ) ( resource:Roman_Polanski ) } }
[]
work of art
SYSTEM
YES
(Q878964,P162,Q712827) (Q878964,P162,Q51552)
action is_in
entity prev_answer
action find
entity Q878964
relation P162
[ANSWER]
['Q878964', 'P162', 'Q712827'] ['Q878964', 'P162', 'Q51552']
ASK WHERE { resource:Q878964 property:P162 ?g . VALUES ( ?g ) { ( resource:Q712827 ) ( resource:Q51552 ) } }
Yes
action is_in
entity prev_answer
action find
entity Bitter Moon
relation producer
['Bitter Moon', 'producer', 'Alain Sarde'] ['Bitter Moon', 'producer', 'Roman Polanski']
ASK WHERE { resource:Bitter_Moon property:producer ?g . VALUES ( ?g ) { ( resource:Alain_Sarde ) ( resource:Roman_Polanski ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by around 2248 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2248
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?w = 2248 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2248
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?w = 2248 ) }
[]
musical instrument common name
Q46185 Q8338 Q8371
SYSTEM
bass guitar, trumpet, cello
Q46185 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2248
[ANSWERS] are played by around 2248 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?w = 2248 ) }
bass guitar trumpet cello organ drum kit
Bass guitar, trumpet and cello are played by around 2248 people
bass guitar trumpet cello
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2248
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?w = 2248 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P88
Q56061 Q43229 Q838948
USER
Which works of art were commisioned by min number of administrative territories and organizations ?
(c(Q838948),P88,c(Q56061)|c(Q43229))
action argmin
action union
action find_tuple_counts
relation P88
type Q838948
type Q56061
action find_tuple_counts
relation P88
type Q838948
type Q43229
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q56061'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) ?d WHERE { ?y rdf:type ?n . VALUES ( ?n ) { ( ontology:Q56061 ) ( ontology:Q43229 ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?b WHERE { VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q43229 ) } . ?j rdf:type ?g } GROUP BY ?b } . FILTER ( ?t = ?z ) }
action argmin
action union
action find_tuple_counts
relation commissioned by
type work of art
type administrative territorial entity
action find_tuple_counts
relation commissioned by
type work of art
type organization
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'administrative territorial entity'}, {'concept': 'organization'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) ?d WHERE { ?y rdf:type ?n . VALUES ( ?n ) { ( ontology:administrative_territorial_entity ) ( ontology:organization ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?b WHERE { VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:organization ) } . ?j rdf:type ?g } GROUP BY ?b } . FILTER ( ?t = ?z ) }
[]
administrative territorial entity organization work of art
Q3047015 Q17451496 Q3068259
SYSTEM
Odalisque with Slave, Nymph with a Scorpion, Femme piquée par un serpent
Q5539462 Q4945054 Q952817 Q21856944 Q2887541 Q945850 Q3344733 Q12432989 Q3647650 Q1094083 Q18156247 Q17530350 Q19801071 Q17451496 Q2859883 Q1345100 Q5887388 Q18201640 Q23693632 Q1760522 Q18156272 Q18156279 Q14626964 Q7404187 Q26908500 Q4866787 Q1026644 Q3068259 Q2627551 Q786001 Q20178465 Q17442691 Q7604500 Q15731486 Q16060284 Q2887491 Q2182509 Q1893353 Q3047015 Q2879984 Q18156280 Q3533222 Q27477357 Q2415504 Q18156273 Q766487 Q22330289 Q179900 Q27032019 Q2928781 Q18156282 Q5309288 Q18385381 Q19753109 Q5509283 Q2418237 Q359256 Q2963060 Q826947 Q1093113 Q27477315 Q5002067 Q27525226 Q5447226 Q15716339 Q19421785 Q1988321 Q2659575 Q2352789 Q3206679 Q16014270 Q19243728
(c(Q838948),P88,c(Q56061)|c(Q43229))
action argmin
action union
action find_tuple_counts
relation P88
type Q838948
type Q56061
action find_tuple_counts
relation P88
type Q838948
type Q43229
[ANSWERS] were commisioned by min number of administrative territories and organizations
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q56061'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) ?d WHERE { ?y rdf:type ?n . VALUES ( ?n ) { ( ontology:Q56061 ) ( ontology:Q43229 ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?b WHERE { VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q43229 ) } . ?j rdf:type ?g } GROUP BY ?b } . FILTER ( ?t = ?z ) }
George Frederick Handel Sleeping Hermaphrodite Gefion Fountain Shuttle Dragon Fountain Apollo and Daphne Notre-Dame du Try-au-Chêne Oscar Wilde's tomb Bust of Cardinal Richelieu Brunswick Monument Taste Perseus and Andromeda Fountain Napoleon Crossing the Alps Nymph with a Scorpion Arco de la Victoria Kryptos Homage Wikipedia Monument Olney Bridge Lansdowne portrait Hearing Smell Latona Fountain Salem Sue Gun Nation Bashaw Tomb of Francis II, Duke of Brittany Femme piquée par un serpent Brutus Bernward Column Bust of Pope Paul V Neapolitan fisherboy Statue of Sherlock Holmes Voltaire Naked Bust of Cardinal Roberto Bellarmine Neptune Fountain Cristo della Minerva Marcellus as Hermes Logios Odalisque with Slave Baiser Promenade Touch Tour aux figures The Final Siren David Sight David Gommateshwara statue David Women’s Table Bust of Louis XIV À mon seul désir Drums and Colours Benin Pendant Mask Milo of Croton Funky Bones The Kiss Admiralty Arch Marly horses Bernward Doors Venus Victrix Forward Surge Bust of Francesco I d'Este Standing By Tunnerminnerwait​ and Maulboyheenner​ Fields of Sacrifice Chaufferie avec cheminée Lamp with sculpture of St Michael Seven Sorrows Polyptych Broken Chair The Rape of Proserpina La Bicyclette ensevelie fontaines de la place des Vosges Peace
Odalisque with Slave, Nymph with a Scorpion and Femme piquée par un serpent were commisioned by min number of administrative territories and organizations
Odalisque with Slave Nymph with a Scorpion Femme piquée par un serpent
action argmin
action union
action find_tuple_counts
relation commissioned by
type work of art
type administrative territorial entity
action find_tuple_counts
relation commissioned by
type work of art
type organization
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'administrative territorial entity'}, {'concept': 'organization'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) ?d WHERE { ?y rdf:type ?n . VALUES ( ?n ) { ( ontology:administrative_territorial_entity ) ( ontology:organization ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?b WHERE { VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:organization ) } . ?j rdf:type ?g } GROUP BY ?b } . FILTER ( ?t = ?z ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3047015 Q17451496 Q3068259
P136
Q1792379
USER
What can be considered as category for those works of art ?
(Q3047015,P136,c(Q1792379)) (Q17451496,P136,c(Q1792379)) (Q3068259,P136,c(Q1792379))
action filter_type
action find
entity prev_answer
relation P136
type Q1792379
['Q3047015', 'P136', {'concept': 'Q1792379'}] ['Q17451496', 'P136', {'concept': 'Q1792379'}] ['Q3068259', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?c WHERE { ?i property:P136 ?c . ?c rdf:type ontology:Q1792379 . VALUES ( ?i ) { ( resource:Q5539462 ) ( resource:Q4945054 ) ( resource:Q952817 ) } }
Odalisque with Slave Nymph with a Scorpion Femme piquée par un serpent
action filter_type
action find
entity prev_answer
relation genre
type art genre
['Odalisque with Slave', 'genre', {'concept': 'art genre'}] ['Nymph with a Scorpion', 'genre', {'concept': 'art genre'}] ['Femme piquée par un serpent', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?c WHERE { ?i property:genre ?c . ?c rdf:type ontology:art_genre . VALUES ( ?i ) { ( resource:George_Frederick_Handel ) ( resource:Sleeping_Hermaphrodite ) ( resource:Gefion_Fountain ) } }
[]
art genre
Q214127 Q179700 Q179700
SYSTEM
genre painting for 1st, statue for 2nd, 3rd
Q214127 Q179700 Q179700
(Q3047015,P136,c(Q1792379)) (Q17451496,P136,c(Q1792379)) (Q3068259,P136,c(Q1792379))
action filter_type
action find
entity prev_answer
relation P136
type Q1792379
[ANSWERS]
['Q3047015', 'P136', {'concept': 'Q1792379'}] ['Q17451496', 'P136', {'concept': 'Q1792379'}] ['Q3068259', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?c WHERE { ?i property:P136 ?c . ?c rdf:type ontology:Q1792379 . VALUES ( ?i ) { ( resource:Q5539462 ) ( resource:Q4945054 ) ( resource:Q952817 ) } }
genre painting statue statue
Genre painting, statue and statue can be considered as category for those works of art
genre painting statue statue
action filter_type
action find
entity prev_answer
relation genre
type art genre
['Odalisque with Slave', 'genre', {'concept': 'art genre'}] ['Nymph with a Scorpion', 'genre', {'concept': 'art genre'}] ['Femme piquée par un serpent', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?c WHERE { ?i property:genre ?c . ?c rdf:type ontology:art_genre . VALUES ( ?i ) { ( resource:George_Frederick_Handel ) ( resource:Sleeping_Hermaphrodite ) ( resource:Gefion_Fountain ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3047015
P195
Q33506
USER
Where is that work of art preserved in ?
(Q3047015,P195,c(Q33506))
action filter_type
action find
entity Q3047015
relation P195
type Q33506
['Q3047015', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ?q WHERE { resource:Q3047015 property:P195 ?q . ?q rdf:type ontology:Q33506 }
Odalisque with Slave
action filter_type
action find
entity Odalisque with Slave
relation collection
type museum
['Odalisque with Slave', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ?q WHERE { resource:Odalisque_with_Slave property:collection ?q . ?q rdf:type ontology:museum }
[]
museum
Clarification for simple ques.
Q3047015
SYSTEM
Did you mean Odalisque with Slave ?
Q214127 Q179700 Q179700
(Q214127,P195,c(Q33506)) (Q179700,P195,c(Q33506)) (Q179700,P195,c(Q33506))
[ANSWER]
['Q214127', 'P195', {'concept': 'Q33506'}] ['Q179700', 'P195', {'concept': 'Q33506'}] ['Q179700', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ?q WHERE { resource:Q3047015 property:P195 ?q . ?q rdf:type ontology:Q33506 }
genre painting statue statue
Did you mean Odalisque with Slave ?
Odalisque with Slave
['genre painting', 'collection', {'concept': 'museum'}] ['statue', 'collection', {'concept': 'museum'}] ['statue', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ?q WHERE { resource:Odalisque_with_Slave property:collection ?q . ?q rdf:type ontology:museum }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3047015,P195,c(Q33506))
['Q3047015', 'P195', {'concept': 'Q33506'}]
['Odalisque with Slave', 'collection', {'concept': 'museum'}]
[]
Q210081
SYSTEM
Walters Art Museum
Q210081
(Q3047015,P195,c(Q33506))
action filter_type
action find
entity Q3047015
relation P195
type Q33506
That work of art is preserved in the [ANSWER]
['Q3047015', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ?q WHERE { resource:Q3047015 property:P195 ?q . ?q rdf:type ontology:Q33506 }
Walters Art Museum
That work of art is preserved in the Walters Art Museum
Walters Art Museum
action filter_type
action find
entity Odalisque with Slave
relation collection
type museum
['Odalisque with Slave', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ?q WHERE { resource:Odalisque_with_Slave property:collection ?q . ?q rdf:type ontology:museum }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3047015
P170
Q502895
USER
Who created Odalisque with Slave ?
(Q3047015,P170,c(Q502895))
action filter_type
action find
entity Q3047015
relation P170
type Q502895
['Q3047015', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q3047015 property:P170 ?e . ?e rdf:type ontology:Q502895 }
Odalisque with Slave
action filter_type
action find
entity Odalisque with Slave
relation creator
type common name
['Odalisque with Slave', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Odalisque_with_Slave property:creator ?e . ?e rdf:type ontology:common_name }
[]
common name
Q472235 Q3371528 Q23380
SYSTEM
Hippolyte Flandrin, Paul Flandrin, Jean Auguste Dominique Ingres
Q472235 Q3371528 Q23380
(Q3047015,P170,c(Q502895))
action filter_type
action find
entity Q3047015
relation P170
type Q502895
[ANSWERS] created Odalisque with Slave
['Q3047015', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q3047015 property:P170 ?e . ?e rdf:type ontology:Q502895 }
Hippolyte Flandrin Paul Flandrin Jean Auguste Dominique Ingres
Hippolyte Flandrin, Paul Flandrin and Jean Auguste Dominique Ingres created Odalisque with Slave
Hippolyte Flandrin Paul Flandrin Jean Auguste Dominique Ingres
action filter_type
action find
entity Odalisque with Slave
relation creator
type common name
['Odalisque with Slave', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Odalisque_with_Slave property:creator ?e . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q8338
P870
Q188451 Q151885
USER
How many music genres and concepts have trumpet as a musical instrument ?
(c(Q188451),P870,Q8338) (c(Q151885),P870,Q8338)
action count
action union
action filter_type
action find_reverse
entity Q8338
relation P870
type Q188451
action filter_type
action find_reverse
entity Q8338
relation P870
type Q151885
[{'concept': 'Q188451'}, 'P870', 'Q8338'] [{'concept': 'Q151885'}, 'P870', 'Q8338']
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:Q151885 ) ( ontology:Q188451 ) } }
trumpet
action count
action union
action filter_type
action find_reverse
entity trumpet
relation instrumentation
type music genre
action filter_type
action find_reverse
entity trumpet
relation instrumentation
type concept
[{'concept': 'music genre'}, 'instrumentation', 'trumpet'] [{'concept': 'concept'}, 'instrumentation', 'trumpet']
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:concept ) ( ontology:music_genre ) } }
[]
music genre concept
SYSTEM
1 music genres and 2 concepts
Q771591 Q3419744 Q3333303
(c(Q188451),P870,Q8338) (c(Q151885),P870,Q8338)
action count
action union
action filter_type
action find_reverse
entity Q8338
relation P870
type Q188451
action filter_type
action find_reverse
entity Q8338
relation P870
type Q151885
[ANSWER]
[{'concept': 'Q188451'}, 'P870', 'Q8338'] [{'concept': 'Q151885'}, 'P870', 'Q8338']
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:Q151885 ) ( ontology:Q188451 ) } }
Sonata for Horn, Trumpet, and Trombone Rara Méringue
1 music genres and 2 concepts
action count
action union
action filter_type
action find_reverse
entity trumpet
relation instrumentation
type music genre
action filter_type
action find_reverse
entity trumpet
relation instrumentation
type concept
[{'concept': 'music genre'}, 'instrumentation', 'trumpet'] [{'concept': 'concept'}, 'instrumentation', 'trumpet']
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:concept ) ( ontology:music_genre ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P608
Q464980 Q56061 Q838948
USER
Which works of art were presented at max number of exhibitions or administrative territories ?
(c(Q838948),P608,c(Q464980)|c(Q56061))
action argmax
action union
action find_tuple_counts
relation P608
type Q838948
type Q464980
action find_tuple_counts
relation P608
type Q838948
type Q56061
[{'concept': 'Q838948'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?m ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?q ) WHERE { { ?e rdf:type ontology:Q838948 . ?l rdf:type ontology:Q464980 . ?e property:P608 ?l } UNION { ?e property:P608 ?l . ?e rdf:type ontology:Q838948 . ?l rdf:type ontology:Q56061 } } GROUP BY ?e } } . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?k ) WHERE { { ?j property:P608 ?x . ?j rdf:type ontology:Q838948 . ?x rdf:type ontology:Q464980 } UNION { ?j property:P608 ?x . ?j rdf:type ontology:Q838948 . ?x rdf:type ontology:Q56061 } } GROUP BY ?j } . FILTER ( ?k = ?m ) }
action argmax
action union
action find_tuple_counts
relation exhibition history
type work of art
type exhibition
action find_tuple_counts
relation exhibition history
type work of art
type administrative territorial entity
[{'concept': 'work of art'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?m ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?q ) WHERE { { ?e rdf:type ontology:work_of_art . ?l rdf:type ontology:exhibition . ?e property:exhibition_history ?l } UNION { ?e property:exhibition_history ?l . ?e rdf:type ontology:work_of_art . ?l rdf:type ontology:administrative_territorial_entity } } GROUP BY ?e } } . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?k ) WHERE { { ?j property:exhibition_history ?x . ?j rdf:type ontology:work_of_art . ?x rdf:type ontology:exhibition } UNION { ?j property:exhibition_history ?x . ?j rdf:type ontology:work_of_art . ?x rdf:type ontology:administrative_territorial_entity } } GROUP BY ?j } . FILTER ( ?k = ?m ) }
[]
exhibition administrative territorial entity work of art
Q17450435
SYSTEM
The Chaste Susannah
Q17450435
(c(Q838948),P608,c(Q464980)|c(Q56061))
action argmax
action union
action find_tuple_counts
relation P608
type Q838948
type Q464980
action find_tuple_counts
relation P608
type Q838948
type Q56061
[ANSWER] was presented at max number of exhibitions or administrative territories
[{'concept': 'Q838948'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?m ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?q ) WHERE { { ?e rdf:type ontology:Q838948 . ?l rdf:type ontology:Q464980 . ?e property:P608 ?l } UNION { ?e property:P608 ?l . ?e rdf:type ontology:Q838948 . ?l rdf:type ontology:Q56061 } } GROUP BY ?e } } . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?k ) WHERE { { ?j property:P608 ?x . ?j rdf:type ontology:Q838948 . ?x rdf:type ontology:Q464980 } UNION { ?j property:P608 ?x . ?j rdf:type ontology:Q838948 . ?x rdf:type ontology:Q56061 } } GROUP BY ?j } . FILTER ( ?k = ?m ) }
The Chaste Susannah
The Chaste Susannah was presented at max number of exhibitions or administrative territories
The Chaste Susannah
action argmax
action union
action find_tuple_counts
relation exhibition history
type work of art
type exhibition
action find_tuple_counts
relation exhibition history
type work of art
type administrative territorial entity
[{'concept': 'work of art'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?m ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?q ) WHERE { { ?e rdf:type ontology:work_of_art . ?l rdf:type ontology:exhibition . ?e property:exhibition_history ?l } UNION { ?e property:exhibition_history ?l . ?e rdf:type ontology:work_of_art . ?l rdf:type ontology:administrative_territorial_entity } } GROUP BY ?e } } . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?k ) WHERE { { ?j property:exhibition_history ?x . ?j rdf:type ontology:work_of_art . ?x rdf:type ontology:exhibition } UNION { ?j property:exhibition_history ?x . ?j rdf:type ontology:work_of_art . ?x rdf:type ontology:administrative_territorial_entity } } GROUP BY ?j } . FILTER ( ?k = ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q472235
P138
Q79007
USER
Which street has Hippolyte Flandrin as its namesake ?
(c(Q79007),P138,Q472235)
action filter_type
action find_reverse
entity Q472235
relation P138
type Q79007
[{'concept': 'Q79007'}, 'P138', 'Q472235']
SELECT DISTINCT ?x WHERE { ?x property:P138 resource:Q472235 . ?x rdf:type ontology:Q79007 }
Hippolyte Flandrin
action filter_type
action find_reverse
entity Hippolyte Flandrin
relation named after
type street
[{'concept': 'street'}, 'named after', 'Hippolyte Flandrin']
SELECT DISTINCT ?x WHERE { ?x property:named_after resource:Hippolyte_Flandrin . ?x rdf:type ontology:street }
[]
street
Q2921816
SYSTEM
boulevard Flandrin
Q2921816
(c(Q79007),P138,Q472235)
action filter_type
action find_reverse
entity Q472235
relation P138
type Q79007
[ANSWER] has Hippolyte Flandrin as its namesake
[{'concept': 'Q79007'}, 'P138', 'Q472235']
SELECT DISTINCT ?x WHERE { ?x property:P138 resource:Q472235 . ?x rdf:type ontology:Q79007 }
boulevard Flandrin
Boulevard Flandrin has Hippolyte Flandrin as its namesake
boulevard Flandrin
action filter_type
action find_reverse
entity Hippolyte Flandrin
relation named after
type street
[{'concept': 'street'}, 'named after', 'Hippolyte Flandrin']
SELECT DISTINCT ?x WHERE { ?x property:named_after resource:Hippolyte_Flandrin . ?x rdf:type ontology:street }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q472235
P1066
Q502895
USER
Who are pupils of that one ?
(c(Q502895),P1066,Q2921816)
action filter_type
action find_reverse
entity Q472235
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q2921816']
SELECT DISTINCT ?a WHERE { ?a property:P1066 resource:Q472235 . ?a rdf:type ontology:Q502895 }
Hippolyte Flandrin
action filter_type
action find_reverse
entity Hippolyte Flandrin
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'boulevard Flandrin']
SELECT DISTINCT ?a WHERE { ?a property:student_of resource:Hippolyte_Flandrin . ?a rdf:type ontology:common_name }
[]
common name
Q46373 Q381248 Q745313
SYSTEM
Edgar Degas, James Tissot, Jules-Élie Delaunay
Q381248 Q745313 Q361712 Q23540444 Q46373 Q26943776 Q26903672
(c(Q502895),P1066,Q2921816)
action filter_type
action find_reverse
entity Q472235
relation P1066
type Q502895
Pupils of that one are [ANSWERS]
[{'concept': 'Q502895'}, 'P1066', 'Q2921816']
SELECT DISTINCT ?a WHERE { ?a property:P1066 resource:Q472235 . ?a rdf:type ontology:Q502895 }
James Tissot Jules-Élie Delaunay Jean Michel Prosper Guérin Louis Auguste Roubaud Edgar Degas Louis Stanislas Faivre-Duffer Jean-Baptiste Poncet
Pupils of that one are Edgar Degas, James Tissot and Jules-Élie Delaunay
Edgar Degas James Tissot Jules-Élie Delaunay
action filter_type
action find_reverse
entity Hippolyte Flandrin
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'boulevard Flandrin']
SELECT DISTINCT ?a WHERE { ?a property:student_of resource:Hippolyte_Flandrin . ?a rdf:type ontology:common_name }
[]