Simple Question (Direct)
Simple Question
Q1455926
P86
Q502895
USER
Who composed Whisky Galore! ?
(Q1455926,P86,c(Q502895))
action filter_type
action find
entity Q1455926
relation P86
type Q502895
['Q1455926', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1455926 property:P86 ?x . ?x rdf:type ontology:Q502895 }
Whisky Galore!
action filter_type
action find
entity Whisky Galore!
relation composer
type common name
['Whisky Galore!', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Whisky_Galore! property:composer ?x . ?x rdf:type ontology:common_name }
[]
common name
Q5393312
SYSTEM
Ernest Irving
Q5393312
(Q1455926,P86,c(Q502895))
action filter_type
action find
entity Q1455926
relation P86
type Q502895
[ANSWER] composed Whisky Galore!
['Q1455926', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1455926 property:P86 ?x . ?x rdf:type ontology:Q502895 }
Ernest Irving
Ernest Irving composed Whisky Galore!
Ernest Irving
action filter_type
action find
entity Whisky Galore!
relation composer
type common name
['Whisky Galore!', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Whisky_Galore! property:composer ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1455926
P58
Q502895
USER
Who wrote the screenplay for that work of art ?
(Q5393312,P58,c(Q502895))
action filter_type
action find
entity Q1455926
relation P58
type Q502895
['Q5393312', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1455926 property:P58 ?o . ?o rdf:type ontology:Q502895 }
Whisky Galore!
action filter_type
action find
entity Whisky Galore!
relation screenwriter
type common name
['Ernest Irving', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Whisky_Galore! property:screenwriter ?o . ?o rdf:type ontology:common_name }
[]
common name
Q1122051
SYSTEM
Compton Mackenzie
Q1122051
(Q5393312,P58,c(Q502895))
action filter_type
action find
entity Q1455926
relation P58
type Q502895
[ANSWER] wrote the screenplay for that work of art
['Q5393312', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1455926 property:P58 ?o . ?o rdf:type ontology:Q502895 }
Compton Mackenzie
Compton Mackenzie wrote the screenplay for that work of art
Compton Mackenzie
action filter_type
action find
entity Whisky Galore!
relation screenwriter
type common name
['Ernest Irving', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Whisky_Galore! property:screenwriter ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1455926
P162
Q502895
USER
Who produced Whisky Galore! ?
(Q1455926,P162,c(Q502895))
action filter_type
action find
entity Q1455926
relation P162
type Q502895
['Q1455926', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1455926 property:P162 ?q . ?q rdf:type ontology:Q502895 }
Whisky Galore!
action filter_type
action find
entity Whisky Galore!
relation producer
type common name
['Whisky Galore!', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Whisky_Galore! property:producer ?q . ?q rdf:type ontology:common_name }
[]
common name
Q1362106
SYSTEM
Michael Balcon
Q1362106
(Q1455926,P162,c(Q502895))
action filter_type
action find
entity Q1455926
relation P162
type Q502895
The [ANSWER] produced Whisky Galore!
['Q1455926', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1455926 property:P162 ?q . ?q rdf:type ontology:Q502895 }
Michael Balcon
The Michael Balcon produced Whisky Galore!
Michael Balcon
action filter_type
action find
entity Whisky Galore!
relation producer
type common name
['Whisky Galore!', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Whisky_Galore! property:producer ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1455926
P161
Q502895
USER
Who were casted in that work of art ?
(Q1362106,P161,c(Q502895))
action filter_type
action find
entity Q1455926
relation P161
type Q502895
['Q1362106', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1455926 property:P161 ?t . ?t rdf:type ontology:Q502895 }
Whisky Galore!
action filter_type
action find
entity Whisky Galore!
relation cast member
type common name
['Michael Balcon', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Whisky_Galore! property:cast_member ?t . ?t rdf:type ontology:common_name }
[]
common name
Q254265 Q446064 Q4978269
SYSTEM
James Robertson Justice, Joan Greenwood, Bruce Seton
Q254265 Q446064 Q530875 Q515183 Q728867 Q2941963 Q3171085 Q4978269
(Q1362106,P161,c(Q502895))
action filter_type
action find
entity Q1455926
relation P161
type Q502895
[ANSWERS] were casted in that work of art
['Q1362106', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1455926 property:P161 ?t . ?t rdf:type ontology:Q502895 }
James Robertson Justice Joan Greenwood Basil Radford John Gregson Gordon Jackson Catherine Lacey Jean Cadell Bruce Seton
James Robertson Justice, Joan Greenwood and Bruce Seton were casted in that work of art
James Robertson Justice Joan Greenwood Bruce Seton
action filter_type
action find
entity Whisky Galore!
relation cast member
type common name
['Michael Balcon', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Whisky_Galore! property:cast_member ?t . ?t rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q17512336
P161
Q838948
USER
Do Curucu, Beast of the Amazon have those people as actor ?
(Q17512336,P161,Q254265) (Q17512336,P161,Q446064) (Q17512336,P161,Q4978269)
action is_in
entity prev_answer
action find
entity Q17512336
relation P161
['Q17512336', 'P161', 'Q254265'] ['Q17512336', 'P161', 'Q446064'] ['Q17512336', 'P161', 'Q4978269']
ASK WHERE { resource:Q17512336 property:P161 ?q . VALUES ( ?q ) { ( resource:Q254265 ) ( resource:Q446064 ) ( resource:Q530875 ) } }
Curucu, Beast of the Amazon
action is_in
entity prev_answer
action find
entity Curucu, Beast of the Amazon
relation cast member
['Curucu, Beast of the Amazon', 'cast member', 'James Robertson Justice'] ['Curucu, Beast of the Amazon', 'cast member', 'Joan Greenwood'] ['Curucu, Beast of the Amazon', 'cast member', 'Bruce Seton']
ASK WHERE { resource:Curucu,_Beast_of_the_Amazon property:cast_member ?q . VALUES ( ?q ) { ( resource:James_Robertson_Justice ) ( resource:Joan_Greenwood ) ( resource:Basil_Radford ) } }
[]
work of art
SYSTEM
NO
(Q17512336,P161,Q254265) (Q17512336,P161,Q446064) (Q17512336,P161,Q4978269)
action is_in
entity prev_answer
action find
entity Q17512336
relation P161
[ANSWER]
['Q17512336', 'P161', 'Q254265'] ['Q17512336', 'P161', 'Q446064'] ['Q17512336', 'P161', 'Q4978269']
ASK WHERE { resource:Q17512336 property:P161 ?q . VALUES ( ?q ) { ( resource:Q254265 ) ( resource:Q446064 ) ( resource:Q530875 ) } }
No
action is_in
entity prev_answer
action find
entity Curucu, Beast of the Amazon
relation cast member
['Curucu, Beast of the Amazon', 'cast member', 'James Robertson Justice'] ['Curucu, Beast of the Amazon', 'cast member', 'Joan Greenwood'] ['Curucu, Beast of the Amazon', 'cast member', 'Bruce Seton']
ASK WHERE { resource:Curucu,_Beast_of_the_Amazon property:cast_member ?q . VALUES ( ?q ) { ( resource:James_Robertson_Justice ) ( resource:Joan_Greenwood ) ( resource:Basil_Radford ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q254265
P26
Q502895
USER
Who is married to James Robertson Justice ?
(c(Q502895),P26,Q254265)
action filter_type
action find
entity Q254265
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q254265']
SELECT DISTINCT ?g WHERE { resource:Q254265 property:P26 ?g . ?g rdf:type ontology:Q502895 }
James Robertson Justice
action filter_type
action find
entity James Robertson Justice
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'James Robertson Justice']
SELECT DISTINCT ?g WHERE { resource:James_Robertson_Justice property:spouse ?g . ?g rdf:type ontology:common_name }
[]
common name
Q450814
SYSTEM
Irene von Meyendorff
Q450814
(c(Q502895),P26,Q254265)
action filter_type
action find
entity Q254265
relation P26
type Q502895
[ANSWER] is married to James Robertson Justice
[{'concept': 'Q502895'}, 'P26', 'Q254265']
SELECT DISTINCT ?g WHERE { resource:Q254265 property:P26 ?g . ?g rdf:type ontology:Q502895 }
Irene von Meyendorff
Irene von Meyendorff is married to James Robertson Justice
Irene von Meyendorff
action filter_type
action find
entity James Robertson Justice
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'James Robertson Justice']
SELECT DISTINCT ?g WHERE { resource:James_Robertson_Justice property:spouse ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q450814
P27
Q3024240
USER
Which former countries are that person an inhabitant of ?
(Q450814,P27,c(Q3024240))
action filter_type
action find
entity Q450814
relation P27
type Q3024240
['Q450814', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?g WHERE { resource:Q450814 property:P27 ?g . ?g rdf:type ontology:Q3024240 }
Irene von Meyendorff
action filter_type
action find
entity Irene von Meyendorff
relation country of citizenship
type former country
['Irene von Meyendorff', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?g WHERE { resource:Irene_von_Meyendorff property:country_of_citizenship ?g . ?g rdf:type ontology:former_country }
[]
former country
Q43287 Q34266
SYSTEM
German Empire, Russian Empire
Q43287 Q34266
(Q450814,P27,c(Q3024240))
action filter_type
action find
entity Q450814
relation P27
type Q3024240
[ANSWERS] are that person an inhabitant of
['Q450814', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?g WHERE { resource:Q450814 property:P27 ?g . ?g rdf:type ontology:Q3024240 }
German Empire Russian Empire
German Empire and Russian Empire are that person an inhabitant of
German Empire Russian Empire
action filter_type
action find
entity Irene von Meyendorff
relation country of citizenship
type former country
['Irene von Meyendorff', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?g WHERE { resource:Irene_von_Meyendorff property:country_of_citizenship ?g . ?g rdf:type ontology:former_country }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q17104796
P608
Q1656682 Q464980 Q838948
USER
How many works of art were exhibited at greater number of events or exhibitions than Dial H-I-S-T-O-R-Y ?
(c(Q838948),P608,c(Q1656682)|c(Q464980))
action count
action greater
action union
action find_tuple_counts
relation P608
type Q838948
type Q1656682
action find_tuple_counts
relation P608
type Q838948
type Q464980
action count
action filter_multi_types
action find
entity Q17104796
relation P608
type Q1656682
type Q464980
[{'concept': 'Q838948'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?m ) WHERE { { ?b property:P608 ?h . ?b rdf:type ontology:Q838948 . ?h rdf:type ontology:Q1656682 } UNION { ?b property:P608 ?h . ?b rdf:type ontology:Q838948 . ?h rdf:type ontology:Q464980 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1656682 ) ( ontology:Q464980 ) } } . resource:Q17104796 property:P608 ?z } } . FILTER ( ?m > ?j ) }
Dial H-I-S-T-O-R-Y
action count
action greater
action union
action find_tuple_counts
relation exhibition history
type work of art
type event
action find_tuple_counts
relation exhibition history
type work of art
type exhibition
action count
action filter_multi_types
action find
entity Dial H-I-S-T-O-R-Y
relation exhibition history
type event
type exhibition
[{'concept': 'work of art'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?m ) WHERE { { ?b property:exhibition_history ?h . ?b rdf:type ontology:work_of_art . ?h rdf:type ontology:event } UNION { ?b property:exhibition_history ?h . ?b rdf:type ontology:work_of_art . ?h rdf:type ontology:exhibition } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:event ) ( ontology:exhibition ) } } . resource:Dial_H-I-S-T-O-R-Y property:exhibition_history ?z } } . FILTER ( ?m > ?j ) }
[]
event exhibition work of art
SYSTEM
42
Q19205951 Q15732837 Q17515936 Q4945054 Q3209857 Q6023012 Q18610104 Q17515944 Q17451496 Q27069181 Q21672346 Q17450435 Q19336387 Q27095565 Q18156075 Q19061858 Q2543426 Q17442738 Q3428050 Q19347596 Q232087 Q17442691 Q15275645 Q10954 Q19347123 Q19336183 Q3358458 Q19257953 Q521447 Q17305020 Q3068259 Q3555769 Q18324892 Q3401618 Q1553211 Q3178029 Q2467518 Q526178 Q19257244 Q19205428 Q19257736 Q3212334
(c(Q838948),P608,c(Q1656682)|c(Q464980))
action count
action greater
action union
action find_tuple_counts
relation P608
type Q838948
type Q1656682
action find_tuple_counts
relation P608
type Q838948
type Q464980
action count
action filter_multi_types
action find
entity Q17104796
relation P608
type Q1656682
type Q464980
[ANSWER]
[{'concept': 'Q838948'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?m ) WHERE { { ?b property:P608 ?h . ?b rdf:type ontology:Q838948 . ?h rdf:type ontology:Q1656682 } UNION { ?b property:P608 ?h . ?b rdf:type ontology:Q838948 . ?h rdf:type ontology:Q464980 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1656682 ) ( ontology:Q464980 ) } } . resource:Q17104796 property:P608 ?z } } . FILTER ( ?m > ?j ) }
Hyacinth wounded Marble bust of Titian Shepherd Playing the Flute Sleeping Hermaphrodite La Jeune Tarentine Indiana The Three Graces Bacchante and Goat Nymph with a Scorpion John the Baptist and St Agnes Legend of Saint George (polyptych) The Chaste Susannah The Bacchante Wings of a polyptych with donors -Man with son and Saint, Woman with daughters and Saint (burned) Dying Eurydice Sapho Dancing Satyr of Mazara del Vallo Neapolitan fisherboy Christ with singing and music-making Angels Egyptian Harpist Two men contemplating the Moon Neapolitan fisherboy Mrs. de Verninac as Diana the Huntress Democritus meditating on the seat of the soul Bacchant Marie Carrier-Belleuse Ours blanc Prayer L'Action enchaînée Tanagra Femme piquée par un serpent Vercingétorix Saint Sebastian Premier Artiste Guennol Lioness Jeune fille de Mégare Visions of the Hereafter The Age of Bronze Homer Suzanne bathing Napoleon I in Coronation Robes La Rivière
42
action count
action greater
action union
action find_tuple_counts
relation exhibition history
type work of art
type event
action find_tuple_counts
relation exhibition history
type work of art
type exhibition
action count
action filter_multi_types
action find
entity Dial H-I-S-T-O-R-Y
relation exhibition history
type event
type exhibition
[{'concept': 'work of art'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?m ) WHERE { { ?b property:exhibition_history ?h . ?b rdf:type ontology:work_of_art . ?h rdf:type ontology:event } UNION { ?b property:exhibition_history ?h . ?b rdf:type ontology:work_of_art . ?h rdf:type ontology:exhibition } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:event ) ( ontology:exhibition ) } } . resource:Dial_H-I-S-T-O-R-Y property:exhibition_history ?z } } . FILTER ( ?m > ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1741424
P608
Q1656682 Q464980 Q838948
USER
And how about Man walking to the sky?
(c(Q838948),P608,c(Q1656682)|c(Q464980))
action count
action greater
action union
action find_tuple_counts
relation P608
type Q838948
type Q1656682
action find_tuple_counts
relation P608
type Q838948
type Q464980
action count
action filter_multi_types
action find
entity Q1741424
relation P608
type Q1656682
type Q464980
[{'concept': 'Q838948'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { VALUES ( ?i ) { ( ontology:Q1656682 ) ( ontology:Q464980 ) } . ?t rdf:type ?i } . resource:Q1741424 property:P608 ?t } } . FILTER ( ?m > ?f ) . { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?m ) WHERE { { ?q property:P608 ?l . ?l rdf:type ontology:Q1656682 . ?q rdf:type ontology:Q838948 } UNION { ?q property:P608 ?l . ?q rdf:type ontology:Q838948 . ?l rdf:type ontology:Q464980 } } GROUP BY ?q } }
Man walking to the sky
action count
action greater
action union
action find_tuple_counts
relation exhibition history
type work of art
type event
action find_tuple_counts
relation exhibition history
type work of art
type exhibition
action count
action filter_multi_types
action find
entity Man walking to the sky
relation exhibition history
type event
type exhibition
[{'concept': 'work of art'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { VALUES ( ?i ) { ( ontology:event ) ( ontology:exhibition ) } . ?t rdf:type ?i } . resource:Man_walking_to_the_sky property:exhibition_history ?t } } . FILTER ( ?m > ?f ) . { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?m ) WHERE { { ?q property:exhibition_history ?l . ?l rdf:type ontology:event . ?q rdf:type ontology:work_of_art } UNION { ?q property:exhibition_history ?l . ?q rdf:type ontology:work_of_art . ?l rdf:type ontology:exhibition } } GROUP BY ?q } }
[]
event exhibition work of art
SYSTEM
42
Q19205951 Q15732837 Q17515936 Q4945054 Q3209857 Q6023012 Q18610104 Q17515944 Q17451496 Q27069181 Q21672346 Q17450435 Q19336387 Q27095565 Q18156075 Q19061858 Q2543426 Q17442738 Q3428050 Q19347596 Q232087 Q17442691 Q15275645 Q10954 Q19347123 Q19336183 Q3358458 Q19257953 Q521447 Q17305020 Q3068259 Q3555769 Q18324892 Q3401618 Q1553211 Q3178029 Q2467518 Q526178 Q19257244 Q19205428 Q19257736 Q3212334
(c(Q838948),P608,c(Q1656682)|c(Q464980))
action count
action greater
action union
action find_tuple_counts
relation P608
type Q838948
type Q1656682
action find_tuple_counts
relation P608
type Q838948
type Q464980
action count
action filter_multi_types
action find
entity Q1741424
relation P608
type Q1656682
type Q464980
[ANSWER]
[{'concept': 'Q838948'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { VALUES ( ?i ) { ( ontology:Q1656682 ) ( ontology:Q464980 ) } . ?t rdf:type ?i } . resource:Q1741424 property:P608 ?t } } . FILTER ( ?m > ?f ) . { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?m ) WHERE { { ?q property:P608 ?l . ?l rdf:type ontology:Q1656682 . ?q rdf:type ontology:Q838948 } UNION { ?q property:P608 ?l . ?q rdf:type ontology:Q838948 . ?l rdf:type ontology:Q464980 } } GROUP BY ?q } }
Hyacinth wounded Marble bust of Titian Shepherd Playing the Flute Sleeping Hermaphrodite La Jeune Tarentine Indiana The Three Graces Bacchante and Goat Nymph with a Scorpion John the Baptist and St Agnes Legend of Saint George (polyptych) The Chaste Susannah The Bacchante Wings of a polyptych with donors -Man with son and Saint, Woman with daughters and Saint (burned) Dying Eurydice Sapho Dancing Satyr of Mazara del Vallo Neapolitan fisherboy Christ with singing and music-making Angels Egyptian Harpist Two men contemplating the Moon Neapolitan fisherboy Mrs. de Verninac as Diana the Huntress Democritus meditating on the seat of the soul Bacchant Marie Carrier-Belleuse Ours blanc Prayer L'Action enchaînée Tanagra Femme piquée par un serpent Vercingétorix Saint Sebastian Premier Artiste Guennol Lioness Jeune fille de Mégare Visions of the Hereafter The Age of Bronze Homer Suzanne bathing Napoleon I in Coronation Robes La Rivière
42
action count
action greater
action union
action find_tuple_counts
relation exhibition history
type work of art
type event
action find_tuple_counts
relation exhibition history
type work of art
type exhibition
action count
action filter_multi_types
action find
entity Man walking to the sky
relation exhibition history
type event
type exhibition
[{'concept': 'work of art'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { VALUES ( ?i ) { ( ontology:event ) ( ontology:exhibition ) } . ?t rdf:type ?i } . resource:Man_walking_to_the_sky property:exhibition_history ?t } } . FILTER ( ?m > ?f ) . { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?m ) WHERE { { ?q property:exhibition_history ?l . ?l rdf:type ontology:event . ?q rdf:type ontology:work_of_art } UNION { ?q property:exhibition_history ?l . ?q rdf:type ontology:work_of_art . ?l rdf:type ontology:exhibition } } GROUP BY ?q } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P710
Q180684
USER
Which conflict has Russia as its participant ?
(c(Q180684),P710,Q159)
action filter_type
action find_reverse
entity Q159
relation P710
type Q180684
[{'concept': 'Q180684'}, 'P710', 'Q159']
SELECT DISTINCT ?b WHERE { ?b property:P710 resource:Q159 . ?b rdf:type ontology:Q180684 }
Russia
action filter_type
action find_reverse
entity Russia
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'Russia']
SELECT DISTINCT ?b WHERE { ?b property:participant resource:Russia . ?b rdf:type ontology:conflict }
[]
conflict
Q26998563
SYSTEM
Aleppo offensive (September–October 2016)
Q26998563
(c(Q180684),P710,Q159)
action filter_type
action find_reverse
entity Q159
relation P710
type Q180684
[ANSWER] has Russia as its participant
[{'concept': 'Q180684'}, 'P710', 'Q159']
SELECT DISTINCT ?b WHERE { ?b property:P710 resource:Q159 . ?b rdf:type ontology:Q180684 }
Aleppo offensive (September–October 2016)
Aleppo offensive (September–October 2016) has Russia as its participant
Aleppo offensive (September–October 2016)
action filter_type
action find_reverse
entity Russia
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'Russia']
SELECT DISTINCT ?b WHERE { ?b property:participant resource:Russia . ?b rdf:type ontology:conflict }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q159
P740
Q43229
USER
What are the organizations that were formed at that administrative territory ?
(c(Q43229),P740,Q26998563)
action filter_type
action find_reverse
entity Q159
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q26998563']
SELECT DISTINCT ?m WHERE { ?m property:P740 resource:Q159 . ?m rdf:type ontology:Q43229 }
Russia
action filter_type
action find_reverse
entity Russia
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Aleppo offensive (September–October 2016)']
SELECT DISTINCT ?m WHERE { ?m property:location_of_formation resource:Russia . ?m rdf:type ontology:organization }
[]
organization
Q4041770 Q4141633
SYSTEM
Jah Division, Gollandiya
Q4041770 Q4141633
(c(Q43229),P740,Q26998563)
action filter_type
action find_reverse
entity Q159
relation P740
type Q43229
The organizations that were formed at that administrative territory are the [ANSWERS]
[{'concept': 'Q43229'}, 'P740', 'Q26998563']
SELECT DISTINCT ?m WHERE { ?m property:P740 resource:Q159 . ?m rdf:type ontology:Q43229 }
Jah Division Gollandiya
The organizations that were formed at that administrative territory are the Jah Division and Gollandiya
Jah Division Gollandiya
action filter_type
action find_reverse
entity Russia
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Aleppo offensive (September–October 2016)']
SELECT DISTINCT ?m WHERE { ?m property:location_of_formation resource:Russia . ?m rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q159
P137
Q811430 Q2424752
USER
How many constructions or products were operated by Russia ?
(c(Q811430),P137,Q159) (c(Q2424752),P137,Q159)
action count
action union
action filter_type
action find_reverse
entity Q159
relation P137
type Q811430
action filter_type
action find_reverse
entity Q159
relation P137
type Q2424752
[{'concept': 'Q811430'}, 'P137', 'Q159'] [{'concept': 'Q2424752'}, 'P137', 'Q159']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { ?i property:P137 resource:Q159 . ?i rdf:type ontology:Q811430 } UNION { ?i property:P137 resource:Q159 . ?i rdf:type ontology:Q2424752 } }
Russia
action count
action union
action filter_type
action find_reverse
entity Russia
relation operator
type construction
action filter_type
action find_reverse
entity Russia
relation operator
type product
[{'concept': 'construction'}, 'operator', 'Russia'] [{'concept': 'product'}, 'operator', 'Russia']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { ?i property:operator resource:Russia . ?i rdf:type ontology:construction } UNION { ?i property:operator resource:Russia . ?i rdf:type ontology:product } }
[]
construction product
SYSTEM
2
Q17374524 Q836838
(c(Q811430),P137,Q159) (c(Q2424752),P137,Q159)
action count
action union
action filter_type
action find_reverse
entity Q159
relation P137
type Q811430
action filter_type
action find_reverse
entity Q159
relation P137
type Q2424752
[ANSWER]
[{'concept': 'Q811430'}, 'P137', 'Q159'] [{'concept': 'Q2424752'}, 'P137', 'Q159']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { ?i property:P137 resource:Q159 . ?i rdf:type ontology:Q811430 } UNION { ?i property:P137 resource:Q159 . ?i rdf:type ontology:Q2424752 } }
Mi-24PN Embassy of Russia, Berlin
2
action count
action union
action filter_type
action find_reverse
entity Russia
relation operator
type construction
action filter_type
action find_reverse
entity Russia
relation operator
type product
[{'concept': 'construction'}, 'operator', 'Russia'] [{'concept': 'product'}, 'operator', 'Russia']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { ?i property:operator resource:Russia . ?i rdf:type ontology:construction } UNION { ?i property:operator resource:Russia . ?i rdf:type ontology:product } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q254265
P241
Q781132
USER
Which military branch is James Robertson Justice affiliated to ?
(Q254265,P241,c(Q781132))
action filter_type
action find
entity Q254265
relation P241
type Q781132
['Q254265', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q781132 . resource:Q254265 property:P241 ?z }
James Robertson Justice
action filter_type
action find
entity James Robertson Justice
relation military branch
type military branch
['James Robertson Justice', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:military_branch . resource:James_Robertson_Justice property:military_branch ?z }
[]
military branch
Q172771
SYSTEM
Royal Navy
Q172771
(Q254265,P241,c(Q781132))
action filter_type
action find
entity Q254265
relation P241
type Q781132
James Robertson Justice is affiliated with [ANSWER]
['Q254265', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q781132 . resource:Q254265 property:P241 ?z }
Royal Navy
James Robertson Justice is affiliated with Royal Navy
Royal Navy
action filter_type
action find
entity James Robertson Justice
relation military branch
type military branch
['James Robertson Justice', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:military_branch . resource:James_Robertson_Justice property:military_branch ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4141633
P136
Q151885
USER
What can be considered as category for Gollandiya ?
(Q4141633,P136,c(Q151885))
action filter_type
action find
entity Q4141633
relation P136
type Q151885
['Q4141633', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { resource:Q4141633 property:P136 ?a . ?a rdf:type ontology:Q151885 }
Gollandiya
action filter_type
action find
entity Gollandiya
relation genre
type concept
['Gollandiya', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { resource:Gollandiya property:genre ?a . ?a rdf:type ontology:concept }
[]
concept
Q42201
SYSTEM
independent music
Q42201
(Q4141633,P136,c(Q151885))
action filter_type
action find
entity Q4141633
relation P136
type Q151885
[ANSWER] can be considered as category for Gollandiya
['Q4141633', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { resource:Q4141633 property:P136 ?a . ?a rdf:type ontology:Q151885 }
independent music
Independent music can be considered as category for Gollandiya
independent music
action filter_type
action find
entity Gollandiya
relation genre
type concept
['Gollandiya', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { resource:Gollandiya property:genre ?a . ?a rdf:type ontology:concept }
[]