Simple Question (Direct)
Simple Question
Q925843
P1040
Q502895
USER
What is the name of person who editted Sugar Daddies ?
(Q925843,P1040,c(Q502895))
action filter_type
action find
entity Q925843
relation P1040
type Q502895
['Q925843', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q925843 property:P1040 ?d . ?d rdf:type ontology:Q502895 }
Sugar Daddies
action filter_type
action find
entity Sugar Daddies
relation film editor
type common name
['Sugar Daddies', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Sugar_Daddies property:film_editor ?d . ?d rdf:type ontology:common_name }
[]
common name
Q3430604
SYSTEM
Richard C. Currier
Q3430604
(Q925843,P1040,c(Q502895))
action filter_type
action find
entity Q925843
relation P1040
type Q502895
The name of person editted Sugar Daddies is Father [ANSWER]
['Q925843', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q925843 property:P1040 ?d . ?d rdf:type ontology:Q502895 }
Richard C. Currier
The name of person editted Sugar Daddies is Father Richard C. Currier
Richard C. Currier
action filter_type
action find
entity Sugar Daddies
relation film editor
type common name
['Sugar Daddies', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Sugar_Daddies property:film_editor ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q925843
P58
Q502895
USER
Which people wrote the script for that film genre ?
(Q3430604,P58,c(Q502895))
action filter_type
action find
entity Q925843
relation P58
type Q502895
['Q3430604', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q925843 property:P58 ?h }
Sugar Daddies
action filter_type
action find
entity Sugar Daddies
relation screenwriter
type common name
['Richard C. Currier', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Sugar_Daddies property:screenwriter ?h }
[]
common name
Q3124683 Q72792
SYSTEM
H. M. Walker, Hal Roach
Q3124683 Q72792
(Q3430604,P58,c(Q502895))
action filter_type
action find
entity Q925843
relation P58
type Q502895
[ANSWERS] wrote the script for that film genre
['Q3430604', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q925843 property:P58 ?h }
H. M. Walker Hal Roach
H. M. Walker and Hal Roach wrote the script for that film genre
H. M. Walker Hal Roach
action filter_type
action find
entity Sugar Daddies
relation screenwriter
type common name
['Richard C. Currier', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Sugar_Daddies property:screenwriter ?h }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2207294
P58
Q838948
USER
Are those people a screwriter of Chickens Come Home ?
(Q2207294,P58,Q3124683) (Q2207294,P58,Q72792)
action is_in
entity prev_answer
action find
entity Q2207294
relation P58
['Q2207294', 'P58', 'Q3124683'] ['Q2207294', 'P58', 'Q72792']
ASK WHERE { resource:Q2207294 property:P58 ?p . VALUES ( ?p ) { ( resource:Q3124683 ) ( resource:Q72792 ) } }
Chickens Come Home
action is_in
entity prev_answer
action find
entity Chickens Come Home
relation screenwriter
['Chickens Come Home', 'screenwriter', 'H. M. Walker'] ['Chickens Come Home', 'screenwriter', 'Hal Roach']
ASK WHERE { resource:Chickens_Come_Home property:screenwriter ?p . VALUES ( ?p ) { ( resource:H._M._Walker ) ( resource:Hal_Roach ) } }
[]
work of art
SYSTEM
YES
(Q2207294,P58,Q3124683) (Q2207294,P58,Q72792)
action is_in
entity prev_answer
action find
entity Q2207294
relation P58
[ANSWER]
['Q2207294', 'P58', 'Q3124683'] ['Q2207294', 'P58', 'Q72792']
ASK WHERE { resource:Q2207294 property:P58 ?p . VALUES ( ?p ) { ( resource:Q3124683 ) ( resource:Q72792 ) } }
Yes
action is_in
entity prev_answer
action find
entity Chickens Come Home
relation screenwriter
['Chickens Come Home', 'screenwriter', 'H. M. Walker'] ['Chickens Come Home', 'screenwriter', 'Hal Roach']
ASK WHERE { resource:Chickens_Come_Home property:screenwriter ?p . VALUES ( ?p ) { ( resource:H._M._Walker ) ( resource:Hal_Roach ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by min number of people ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?c ) { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?w } } . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?v = ?c ) }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?c ) { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?w } } . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?v = ?c ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWERS] are played by min number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?c ) { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?w } } . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?v = ?c ) }
spoon cajón wind instrument
Spoon, cajón and wind instrument are played by min number of people
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?c ) { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?w } } . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?v = ?c ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P180
Q34379 Q3305213 Q386724
USER
Which musical instruments are depicted in around the same number of paintings and works as that musical instrument ?
(c(Q3305213)|c(Q386724),P180,c(Q34379))
[[{'concept': 'Q3305213'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?q ) { ( ?z ) ( ?x ) } . ?q property:P180 ?y } . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q16532276 }
[[{'concept': 'painting'}, {'concept': 'work'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?q ) { ( ?z ) ( ?x ) } . ?q property:depicts ?y } . ?z rdf:type ontology:painting . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:work }
[]
musical instrument painting work
Comparative|More/Less|Mult. entity type|Clarification
Q748455
SYSTEM
Did you mean cajón ?
(c(Q3305213)|c(Q386724),P180,c(Q34379))
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?q ) { ( ?z ) ( ?x ) } . ?q property:P180 ?y } . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q16532276 }
Did you mean cajón ?
cajón
[[{'concept': 'painting'}, {'concept': 'work'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?q ) { ( ?z ) ( ?x ) } . ?q property:depicts ?y } . ?z rdf:type ontology:painting . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:work }
[]
Comparative Reasoning (All)
USER
No, I meant wind instrument. Could you tell me the answer for that?
(c(Q3305213)|c(Q386724),P180,c(Q34379))
Q173453
[[{'concept': 'Q3305213'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q34379'}]
[[{'concept': 'painting'}, {'concept': 'work'}], 'depicts', {'concept': 'musical instrument'}]
[]
Q5994 Q81982 Q218547
SYSTEM
piano, harpsichord, Sigismund Bell
Q8371 Q3382191 Q5994 Q7933058 Q81982 Q190172 Q218547 Q8338 Q1444 Q173453 Q426948 Q871633 Q3500690 Q80019 Q1798603
(c(Q3305213)|c(Q386724),P180,c(Q34379))
[ANSWERS] are depicted in around the same number of paintings and works as that musical instrument
[[{'concept': 'Q3305213'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P180 ?y } UNION { ?x property:P180 ?y } } . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q16532276 }
cello upright piano piano Viola caipira harpsichord cymbal Sigismund Bell trumpet organ wind instrument sistrum Handbell Church bell double bass string instrument
Piano, harpsichord and Sigismund Bell are depicted in around the same number of paintings and works as that musical instrument
piano harpsichord Sigismund Bell
[[{'concept': 'painting'}, {'concept': 'work'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { { ?z property:depicts ?y } UNION { ?x property:depicts ?y } } . ?z rdf:type ontology:painting . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:work }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P870
Q34379 Q188451 Q862597
USER
Which musical instruments are the instrumentations used in max number of music genres and musical forms ?
(c(Q188451)|c(Q862597),P870,c(Q34379))
action argmax
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q188451
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
[[{'concept': 'Q188451'}, {'concept': 'Q862597'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?e WHERE { VALUES ( ?i ) { ( ontology:Q188451 ) ( ontology:Q862597 ) } . ?b rdf:type ?i } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?k WHERE { VALUES ( ?c ) { ( ontology:Q862597 ) ( ontology:Q188451 ) } . ?f rdf:type ?c } GROUP BY ?k } . FILTER ( ?w = ?h ) }
action argmax
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type music genre
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
[[{'concept': 'music genre'}, {'concept': 'musical form'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?e WHERE { VALUES ( ?i ) { ( ontology:music_genre ) ( ontology:musical_form ) } . ?b rdf:type ?i } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?k WHERE { VALUES ( ?c ) { ( ontology:musical_form ) ( ontology:music_genre ) } . ?f rdf:type ?c } GROUP BY ?k } . FILTER ( ?w = ?h ) }
[]
musical instrument music genre musical form
Q5994
SYSTEM
piano
Q5994
(c(Q188451)|c(Q862597),P870,c(Q34379))
action argmax
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q188451
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
[ANSWER] is the instrumentations used in max number of music genres and musical forms
[[{'concept': 'Q188451'}, {'concept': 'Q862597'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?e WHERE { VALUES ( ?i ) { ( ontology:Q188451 ) ( ontology:Q862597 ) } . ?b rdf:type ?i } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?k WHERE { VALUES ( ?c ) { ( ontology:Q862597 ) ( ontology:Q188451 ) } . ?f rdf:type ?c } GROUP BY ?k } . FILTER ( ?w = ?h ) }
piano
Piano is the instrumentations used in max number of music genres and musical forms
piano
action argmax
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type music genre
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
[[{'concept': 'music genre'}, {'concept': 'musical form'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?e WHERE { VALUES ( ?i ) { ( ontology:music_genre ) ( ontology:musical_form ) } . ?b rdf:type ?i } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?k WHERE { VALUES ( ?c ) { ( ontology:musical_form ) ( ontology:music_genre ) } . ?f rdf:type ?c } GROUP BY ?k } . FILTER ( ?w = ?h ) }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5994 Q12816140
P61
Q502895
USER
Was Andor Sugár the inventor or discoverer of piano ?
(Q5994,P61,Q12816140)
action is_in
entity Q12816140
action find
entity Q5994
relation P61
['Q5994', 'P61', 'Q12816140']
ASK WHERE { resource:Q5994 property:P61 resource:Q12816140 }
piano Andor Sugár
action is_in
entity Andor Sugár
action find
entity piano
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Andor Sugár']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Andor_Sugár }
[]
common name
SYSTEM
NO
(Q5994,P61,Q12816140)
action is_in
entity Q12816140
action find
entity Q5994
relation P61
[ANSWER]
['Q5994', 'P61', 'Q12816140']
ASK WHERE { resource:Q5994 property:P61 resource:Q12816140 }
No
action is_in
entity Andor Sugár
action find
entity piano
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Andor Sugár']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Andor_Sugár }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5994
P26
Q502895
USER
Who is the spouse of that musical instrument ?
action filter_type
action find_reverse
entity Q5994
relation P26
type Q502895
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P26 resource:Q5994 }
piano
action filter_type
action find_reverse
entity piano
relation spouse
type common name
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:spouse resource:piano }
[]
common name
Q3161739
SYSTEM
Jan Páleníček
Q3161739
action filter_type
action find_reverse
entity Q5994
relation P26
type Q502895
The spouse of that musical instrument is [ANSWER]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P26 resource:Q5994 }
Jan Páleníček
The spouse of that musical instrument is Jan Páleníček
Jan Páleníček
action filter_type
action find_reverse
entity piano
relation spouse
type common name
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:spouse resource:piano }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3161739
P40
Q502895
USER
Which person has that one as a child ?
(c(Q502895),P40,Q3161739)
action filter_type
action find_reverse
entity Q3161739
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q3161739']
SELECT DISTINCT ?m WHERE { ?m property:P40 resource:Q3161739 . ?m rdf:type ontology:Q502895 }
Jan Páleníček
action filter_type
action find_reverse
entity Jan Páleníček
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jan Páleníček']
SELECT DISTINCT ?m WHERE { ?m property:child resource:Jan_Páleníček . ?m rdf:type ontology:common_name }
[]
common name
Q1392377
SYSTEM
Josef Páleníček
Q1392377
(c(Q502895),P40,Q3161739)
action filter_type
action find_reverse
entity Q3161739
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q3161739']
SELECT DISTINCT ?m WHERE { ?m property:P40 resource:Q3161739 . ?m rdf:type ontology:Q502895 }
Josef Páleníček
Josef Páleníček has that one as a child
Josef Páleníček
action filter_type
action find_reverse
entity Jan Páleníček
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jan Páleníček']
SELECT DISTINCT ?m WHERE { ?m property:child resource:Jan_Páleníček . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1392377
P1038
Q502895
USER
Which person is related to that one ?
(c(Q502895),P1038,Q1392377)
action filter_type
action find
entity Q1392377
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q1392377']
SELECT DISTINCT ?k WHERE { resource:Q1392377 property:P1038 ?k . ?k rdf:type ontology:Q502895 }
Josef Páleníček
action filter_type
action find
entity Josef Páleníček
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Josef Páleníček']
SELECT DISTINCT ?k WHERE { resource:Josef_Páleníček property:relative ?k . ?k rdf:type ontology:common_name }
[]
common name
Q12024343
SYSTEM
Jean-Gaspard Páleníček
Q12024343
(c(Q502895),P1038,Q1392377)
action filter_type
action find
entity Q1392377
relation P1038
type Q502895
[ANSWER] is related to that one
[{'concept': 'Q502895'}, 'P1038', 'Q1392377']
SELECT DISTINCT ?k WHERE { resource:Q1392377 property:P1038 ?k . ?k rdf:type ontology:Q502895 }
Jean-Gaspard Páleníček
Jean-Gaspard Páleníček is related to that one
Jean-Gaspard Páleníček
action filter_type
action find
entity Josef Páleníček
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Josef Páleníček']
SELECT DISTINCT ?k WHERE { resource:Josef_Páleníček property:relative ?k . ?k rdf:type ontology:common_name }
[]