Simple Question (Direct)
Simple Question
Q2910279
P136
Q151885
USER
What can be considered as category for Berry Sakharof ?
(Q2910279,P136,c(Q151885))
action filter_type
action find
entity Q2910279
relation P136
type Q151885
['Q2910279', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?f WHERE { resource:Q2910279 property:P136 ?f . ?f rdf:type ontology:Q151885 }
Berry Sakharof
action filter_type
action find
entity Berry Sakharof
relation genre
type concept
['Berry Sakharof', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?f WHERE { resource:Berry_Sakharof property:genre ?f . ?f rdf:type ontology:concept }
[]
concept
Q11399
SYSTEM
rock music
Q11399
(Q2910279,P136,c(Q151885))
action filter_type
action find
entity Q2910279
relation P136
type Q151885
[ANSWER] can be considered as category for Berry Sakharof
['Q2910279', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?f WHERE { resource:Q2910279 property:P136 ?f . ?f rdf:type ontology:Q151885 }
rock music
Rock music can be considered as category for Berry Sakharof
rock music
action filter_type
action find
entity Berry Sakharof
relation genre
type concept
['Berry Sakharof', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?f WHERE { resource:Berry_Sakharof property:genre ?f . ?f rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11399
P180
Q386724
USER
Which work depicts that concept ?
(c(Q386724),P180,Q11399)
action filter_type
action find_reverse
entity Q11399
relation P180
type Q386724
[{'concept': 'Q386724'}, 'P180', 'Q11399']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q386724 . ?d property:P180 resource:Q11399 }
rock music
action filter_type
action find_reverse
entity rock music
relation depicts
type work
[{'concept': 'work'}, 'depicts', 'rock music']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work . ?d property:depicts resource:rock_music }
[]
work
Q18602499
SYSTEM
Mountain Stream, Yemen Valley, Palestine
Q18602499
(c(Q386724),P180,Q11399)
action filter_type
action find_reverse
entity Q11399
relation P180
type Q386724
[ANSWER] depicts that concept
[{'concept': 'Q386724'}, 'P180', 'Q11399']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q386724 . ?d property:P180 resource:Q11399 }
Mountain Stream, Yemen Valley, Palestine
Mountain Stream, Yemen Valley, Palestine depicts that concept
Mountain Stream, Yemen Valley, Palestine
action filter_type
action find_reverse
entity rock music
relation depicts
type work
[{'concept': 'work'}, 'depicts', 'rock music']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work . ?d property:depicts resource:rock_music }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18602499
P170
Q502895
USER
Which person is credited with creation of that work ?
(Q18602499,P170,c(Q502895))
action filter_type
action find
entity Q18602499
relation P170
type Q502895
['Q18602499', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q18602499 property:P170 ?t }
Mountain Stream, Yemen Valley, Palestine
action filter_type
action find
entity Mountain Stream, Yemen Valley, Palestine
relation creator
type common name
['Mountain Stream, Yemen Valley, Palestine', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Mountain_Stream,_Yemen_Valley,_Palestine property:creator ?t }
[]
common name
Q366212
SYSTEM
Frederic Edwin Church
Q366212
(Q18602499,P170,c(Q502895))
action filter_type
action find
entity Q18602499
relation P170
type Q502895
[ANSWER] is credited with creation of that work
['Q18602499', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q18602499 property:P170 ?t }
Frederic Edwin Church
Frederic Edwin Church is credited with creation of that work
Frederic Edwin Church
action filter_type
action find
entity Mountain Stream, Yemen Valley, Palestine
relation creator
type common name
['Mountain Stream, Yemen Valley, Palestine', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Mountain_Stream,_Yemen_Valley,_Palestine property:creator ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18602499
P800
Q502895
USER
Whose notable work was Mountain Stream, Yemen Valley, Palestine ?
(c(Q502895),P800,Q18602499)
action filter_type
action find_reverse
entity Q18602499
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q18602499']
SELECT DISTINCT ?e WHERE { ?e property:P800 resource:Q18602499 . ?e rdf:type ontology:Q502895 }
Mountain Stream, Yemen Valley, Palestine
action filter_type
action find_reverse
entity Mountain Stream, Yemen Valley, Palestine
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Mountain Stream, Yemen Valley, Palestine']
SELECT DISTINCT ?e WHERE { ?e property:notable_work resource:Mountain_Stream,_Yemen_Valley,_Palestine . ?e rdf:type ontology:common_name }
[]
common name
Q366212
SYSTEM
Frederic Edwin Church
Q366212
(c(Q502895),P800,Q18602499)
action filter_type
action find_reverse
entity Q18602499
relation P800
type Q502895
[ANSWER] was Mountain Stream, Yemen Valley, Palestine
[{'concept': 'Q502895'}, 'P800', 'Q18602499']
SELECT DISTINCT ?e WHERE { ?e property:P800 resource:Q18602499 . ?e rdf:type ontology:Q502895 }
Frederic Edwin Church
Frederic Edwin Church was Mountain Stream, Yemen Valley, Palestine
Frederic Edwin Church
action filter_type
action find_reverse
entity Mountain Stream, Yemen Valley, Palestine
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Mountain Stream, Yemen Valley, Palestine']
SELECT DISTINCT ?e WHERE { ?e property:notable_work resource:Mountain_Stream,_Yemen_Valley,_Palestine . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q366212
P22
Q502895
USER
Who is the offspring of that one ?
(c(Q502895),P22,Q366212)
action filter_type
action find_reverse
entity Q366212
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q366212']
SELECT DISTINCT ?y WHERE { ?y property:P22 resource:Q366212 . ?y rdf:type ontology:Q502895 }
Frederic Edwin Church
action filter_type
action find_reverse
entity Frederic Edwin Church
relation father
type common name
[{'concept': 'common name'}, 'father', 'Frederic Edwin Church']
SELECT DISTINCT ?y WHERE { ?y property:father resource:Frederic_Edwin_Church . ?y rdf:type ontology:common_name }
[]
common name
Q18600216
SYSTEM
Louis P. Church
Q18600216
(c(Q502895),P22,Q366212)
action filter_type
action find_reverse
entity Q366212
relation P22
type Q502895
The offspring of that one is the [ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q366212']
SELECT DISTINCT ?y WHERE { ?y property:P22 resource:Q366212 . ?y rdf:type ontology:Q502895 }
Louis P. Church
The offspring of that one is the Louis P. Church
Louis P. Church
action filter_type
action find_reverse
entity Frederic Edwin Church
relation father
type common name
[{'concept': 'common name'}, 'father', 'Frederic Edwin Church']
SELECT DISTINCT ?y WHERE { ?y property:father resource:Frederic_Edwin_Church . ?y rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q366212
P21 P22
Q502895
USER
Which people have Frederic Edwin Church as father and are a male ?
AND((c(Q502895),P22,Q366212), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q366212
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q366212'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P22 resource:Q366212 . ?n property:P21 resource:Q6581097 . ?n rdf:type ontology:Q502895 }
male Frederic Edwin Church
action filter_type
action intersection
action find_reverse
entity Frederic Edwin Church
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Frederic Edwin Church'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:father resource:Frederic_Edwin_Church . ?n property:gender resource:male . ?n rdf:type ontology:common_name }
[]
common name
Q18600216
SYSTEM
Louis P. Church
Q18600216
AND((c(Q502895),P22,Q366212), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q366212
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Frederic Edwin Church as father and are a male
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q366212'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P22 resource:Q366212 . ?n property:P21 resource:Q6581097 . ?n rdf:type ontology:Q502895 }
Louis P. Church
Louis P. Church have Frederic Edwin Church as father and are a male
Louis P. Church
action filter_type
action intersection
action find_reverse
entity Frederic Edwin Church
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Frederic Edwin Church'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:father resource:Frederic_Edwin_Church . ?n property:gender resource:male . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q6619679
USER
Which fictional humanoids had their voice dubbing done by max number of people ?
(c(Q6619679),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q6619679
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?y ) { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?e ) WHERE { ?j property:P725 ?n . ?j rdf:type ontology:Q6619679 . ?n rdf:type ontology:Q502895 } GROUP BY ?j } } . { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?g ) WHERE { ?c property:P725 ?w . ?c rdf:type ontology:Q6619679 . ?w rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?g = ?y ) }
action argmax
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 ( MAX ( ?e ) AS ?y ) { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?e ) WHERE { ?j property:voice_actor ?n . ?j rdf:type ontology:fictional_humanoid . ?n rdf:type ontology:common_name } GROUP BY ?j } } . { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?g ) WHERE { ?c property:voice_actor ?w . ?c rdf:type ontology:fictional_humanoid . ?w rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?g = ?y ) }
[]
common name fictional humanoid
Q15711517
SYSTEM
Granny Smith
Q15711517
(c(Q6619679),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q6619679
type Q502895
[ANSWER] had their voice dubbing done by max number of people
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?y ) { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?e ) WHERE { ?j property:P725 ?n . ?j rdf:type ontology:Q6619679 . ?n rdf:type ontology:Q502895 } GROUP BY ?j } } . { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?g ) WHERE { ?c property:P725 ?w . ?c rdf:type ontology:Q6619679 . ?w rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?g = ?y ) }
Granny Smith
Granny Smith had their voice dubbing done by max number of people
Granny Smith
action argmax
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 ( MAX ( ?e ) AS ?y ) { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?e ) WHERE { ?j property:voice_actor ?n . ?j rdf:type ontology:fictional_humanoid . ?n rdf:type ontology:common_name } GROUP BY ?j } } . { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?g ) WHERE { ?c property:voice_actor ?w . ?c rdf:type ontology:fictional_humanoid . ?w rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?g = ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18600216
P127
Q386724
USER
Which work is owned by Louis P. Church ?
(c(Q386724),P127,Q18600216)
action filter_type
action find_reverse
entity Q18600216
relation P127
type Q386724
[{'concept': 'Q386724'}, 'P127', 'Q18600216']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q386724 . ?w property:P127 resource:Q18600216 }
Louis P. Church
action filter_type
action find_reverse
entity Louis P. Church
relation owned by
type work
[{'concept': 'work'}, 'owned by', 'Louis P. Church']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:work . ?w property:owned_by resource:Louis_P._Church }
[]
work
Q18602499
SYSTEM
Mountain Stream, Yemen Valley, Palestine
Q18602499
(c(Q386724),P127,Q18600216)
action filter_type
action find_reverse
entity Q18600216
relation P127
type Q386724
[ANSWER] is owned by Louis P. Church
[{'concept': 'Q386724'}, 'P127', 'Q18600216']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q386724 . ?w property:P127 resource:Q18600216 }
Mountain Stream, Yemen Valley, Palestine
Mountain Stream, Yemen Valley, Palestine is owned by Louis P. Church
Mountain Stream, Yemen Valley, Palestine
action filter_type
action find_reverse
entity Louis P. Church
relation owned by
type work
[{'concept': 'work'}, 'owned by', 'Louis P. Church']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:work . ?w property:owned_by resource:Louis_P._Church }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18602499
P135
Q2198855
USER
Which cultural movement did that work belong to
(Q18602499,P135,c(Q2198855))
action filter_type
action find
entity Q18602499
relation P135
type Q2198855
['Q18602499', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?d WHERE { resource:Q18602499 property:P135 ?d . ?d rdf:type ontology:Q2198855 }
Mountain Stream, Yemen Valley, Palestine
action filter_type
action find
entity Mountain Stream, Yemen Valley, Palestine
relation movement
type cultural movement
['Mountain Stream, Yemen Valley, Palestine', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?d WHERE { resource:Mountain_Stream,_Yemen_Valley,_Palestine property:movement ?d . ?d rdf:type ontology:cultural_movement }
[]
cultural movement
Q943853
SYSTEM
Hudson River School
Q943853
(Q18602499,P135,c(Q2198855))
action filter_type
action find
entity Q18602499
relation P135
type Q2198855
That work belonged to [ANSWER]
['Q18602499', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?d WHERE { resource:Q18602499 property:P135 ?d . ?d rdf:type ontology:Q2198855 }
Hudson River School
That work belonged to Hudson River School
Hudson River School
action filter_type
action find
entity Mountain Stream, Yemen Valley, Palestine
relation movement
type cultural movement
['Mountain Stream, Yemen Valley, Palestine', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?d WHERE { resource:Mountain_Stream,_Yemen_Valley,_Palestine property:movement ?d . ?d rdf:type ontology:cultural_movement }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q19969176
P135
Q2198855 Q340169
USER
How many medias are associated with approximately the same number of cultural movements as Studies of a Horse with Two Nude Riders and a Male Torso ?
(c(Q340169),P135,c(Q2198855))
action count
action approx
action find_tuple_counts
relation P135
type Q340169
type Q2198855
action count
action filter_type
action find
entity Q19969176
relation P135
type Q340169
[{'concept': 'Q340169'}, 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?z ) WHERE { ?f property:P135 ?c . ?c rdf:type ontology:Q2198855 . ?f rdf:type ontology:Q340169 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q19969176 property:P135 ?a . ?a rdf:type ontology:Q340169 } } . FILTER ( ?z = ?g ) }
Studies of a Horse with Two Nude Riders and a Male Torso
action count
action approx
action find_tuple_counts
relation movement
type media
type cultural movement
action count
action filter_type
action find
entity Studies of a Horse with Two Nude Riders and a Male Torso
relation movement
type media
[{'concept': 'media'}, 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?z ) WHERE { ?f property:movement ?c . ?c rdf:type ontology:cultural_movement . ?f rdf:type ontology:media } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Studies_of_a_Horse_with_Two_Nude_Riders_and_a_Male_Torso property:movement ?a . ?a rdf:type ontology:media } } . FILTER ( ?z = ?g ) }
[]
cultural movement media
SYSTEM
38
Q7809990 Q3698232 Q3904414 Q18686193 Q18688622 Q18688645 Q18688665 Q18688189 Q993743 Q2709726 Q18686033 Q23955631 Q3605555 Q19969179 Q19862183 Q19862186 Q2471531 Q18688187 Q19862167 Q18688192 Q18688191 Q18688190 Q8254439 Q7628419 Q18688656 Q3922633 Q18688638 Q3976305 Q3213096 Q215486 Q5197377 Q19862171 Q19969176 Q19862182 Q18688188 Q19862179 Q18687922 Q19862169
(c(Q340169),P135,c(Q2198855))
action count
action approx
action find_tuple_counts
relation P135
type Q340169
type Q2198855
action count
action filter_type
action find
entity Q19969176
relation P135
type Q340169
[ANSWER]
[{'concept': 'Q340169'}, 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?z ) WHERE { ?f property:P135 ?c . ?c rdf:type ontology:Q2198855 . ?f rdf:type ontology:Q340169 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q19969176 property:P135 ?a . ?a rdf:type ontology:Q340169 } } . FILTER ( ?z = ?g ) }
Titian Self-Portrait Crucifixion Pietà for Vittoria Colonna A Kneeling Nude Woman with her Left Arm Raised Head of An Apostle in the Transfiguration Reading Madonna and Child in a Landscape between two Cherub Heads Nude Studies Three Standing Men in Wide Cloaks Turned to the Left Self-portrait Epifania Marshal of France Portrait of Adrià Gual Adoration of the Shepherds Studies of an outstretched arm for the fresco 'The Drunkenness of Noah' in the Sistine Chapel Dutch Cavalier Man Walking on a Road The Virgin and Child with St Anne and St John the Baptist Studies for a Holy Family Study for "Diogenes" Lamentation Seated Young Male Nude and Two Arm Studies Pietà Study of five grotesque heads Study of a Kneeling Nude Girl for The Entombment Young Man Carrying an Old Man on His Back Bust of a Warrior Madonna of the Pomegranate Study of a woman's hands The Temptation of St Anthony Vitruvian Man Lallans Study for "The Tulip Folly" Studies of a Horse with Two Nude Riders and a Male Torso Study for "Slave Market at Rome" Two Nude Studies of a Man Storming Forward and Another Turning to the Right Study for "Socrates Looking for Alcibiades in the House of Aspasia" Half-Length Figure of an Apostle Study for "Slave Market"
38
action count
action approx
action find_tuple_counts
relation movement
type media
type cultural movement
action count
action filter_type
action find
entity Studies of a Horse with Two Nude Riders and a Male Torso
relation movement
type media
[{'concept': 'media'}, 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?z ) WHERE { ?f property:movement ?c . ?c rdf:type ontology:cultural_movement . ?f rdf:type ontology:media } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Studies_of_a_Horse_with_Two_Nude_Riders_and_a_Male_Torso property:movement ?a . ?a rdf:type ontology:media } } . FILTER ( ?z = ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q23955631
P135
Q2198855 Q340169
USER
And also tell me about Portrait of Adrià Gual?
(c(Q340169),P135,c(Q2198855))
action count
action approx
action find_tuple_counts
relation P135
type Q340169
type Q2198855
action count
action filter_type
action find
entity Q23955631
relation P135
type Q340169
[{'concept': 'Q340169'}, 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?f ) WHERE { ?s rdf:type ontology:Q340169 . ?w rdf:type ontology:Q2198855 . ?s property:P135 ?w } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m rdf:type ontology:Q340169 . resource:Q23955631 property:P135 ?m } } . FILTER ( ?f = ?j ) }
Portrait of Adrià Gual
action count
action approx
action find_tuple_counts
relation movement
type media
type cultural movement
action count
action filter_type
action find
entity Portrait of Adrià Gual
relation movement
type media
[{'concept': 'media'}, 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?f ) WHERE { ?s rdf:type ontology:media . ?w rdf:type ontology:cultural_movement . ?s property:movement ?w } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m rdf:type ontology:media . resource:Portrait_of_Adrià_Gual property:movement ?m } } . FILTER ( ?f = ?j ) }
[]
cultural movement media
SYSTEM
38
Q7809990 Q3698232 Q3904414 Q18686193 Q18688622 Q18688645 Q18688665 Q18688189 Q993743 Q2709726 Q18686033 Q23955631 Q3605555 Q19969179 Q19862183 Q19862186 Q2471531 Q18688187 Q19862167 Q18688192 Q18688191 Q18688190 Q8254439 Q7628419 Q18688656 Q3922633 Q18688638 Q3976305 Q3213096 Q215486 Q5197377 Q19862171 Q19969176 Q19862182 Q18688188 Q19862179 Q18687922 Q19862169
(c(Q340169),P135,c(Q2198855))
action count
action approx
action find_tuple_counts
relation P135
type Q340169
type Q2198855
action count
action filter_type
action find
entity Q23955631
relation P135
type Q340169
[ANSWER]
[{'concept': 'Q340169'}, 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?f ) WHERE { ?s rdf:type ontology:Q340169 . ?w rdf:type ontology:Q2198855 . ?s property:P135 ?w } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m rdf:type ontology:Q340169 . resource:Q23955631 property:P135 ?m } } . FILTER ( ?f = ?j ) }
Titian Self-Portrait Crucifixion Pietà for Vittoria Colonna A Kneeling Nude Woman with her Left Arm Raised Head of An Apostle in the Transfiguration Reading Madonna and Child in a Landscape between two Cherub Heads Nude Studies Three Standing Men in Wide Cloaks Turned to the Left Self-portrait Epifania Marshal of France Portrait of Adrià Gual Adoration of the Shepherds Studies of an outstretched arm for the fresco 'The Drunkenness of Noah' in the Sistine Chapel Dutch Cavalier Man Walking on a Road The Virgin and Child with St Anne and St John the Baptist Studies for a Holy Family Study for "Diogenes" Lamentation Seated Young Male Nude and Two Arm Studies Pietà Study of five grotesque heads Study of a Kneeling Nude Girl for The Entombment Young Man Carrying an Old Man on His Back Bust of a Warrior Madonna of the Pomegranate Study of a woman's hands The Temptation of St Anthony Vitruvian Man Lallans Study for "The Tulip Folly" Studies of a Horse with Two Nude Riders and a Male Torso Study for "Slave Market at Rome" Two Nude Studies of a Man Storming Forward and Another Turning to the Right Study for "Socrates Looking for Alcibiades in the House of Aspasia" Half-Length Figure of an Apostle Study for "Slave Market"
38
action count
action approx
action find_tuple_counts
relation movement
type media
type cultural movement
action count
action filter_type
action find
entity Portrait of Adrià Gual
relation movement
type media
[{'concept': 'media'}, 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?f ) WHERE { ?s rdf:type ontology:media . ?w rdf:type ontology:cultural_movement . ?s property:movement ?w } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m rdf:type ontology:media . resource:Portrait_of_Adrià_Gual property:movement ?m } } . FILTER ( ?f = ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P495
Q1496967
USER
Which territory is the origin of association football ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?t WHERE { resource:Q2736 property:P495 ?t . ?t rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:association_football property:country_of_origin ?t . ?t rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
[ANSWER] is the origin of association football
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?t WHERE { resource:Q2736 property:P495 ?t . ?t rdf:type ontology:Q1496967 }
England
England is the origin of association football
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:association_football property:country_of_origin ?t . ?t rdf:type ontology:territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P85
Q7725634 Q484692
USER
How many literary works or hymns are the anthems for that territory ?
(Q21,P85,c(Q7725634)) (Q21,P85,c(Q484692)) (Q21,P85,c(Q7725634)) (Q21,P85,c(Q484692))
action count
action union
action filter_type
action find
entity Q21
relation P85
type Q7725634
action filter_type
action find
entity Q21
relation P85
type Q484692
['Q21', 'P85', {'concept': 'Q7725634'}] ['Q21', 'P85', {'concept': 'Q484692'}] ['Q21', 'P85', {'concept': 'Q7725634'}] ['Q21', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { resource:Q21 property:P85 ?c . ?c rdf:type ontology:Q7725634 } UNION { resource:Q21 property:P85 ?c . ?c rdf:type ontology:Q484692 } }
action count
action union
action filter_type
action find
entity England
relation anthem
type literary work
action filter_type
action find
entity England
relation anthem
type hymn
['England', 'anthem', {'concept': 'literary work'}] ['England', 'anthem', {'concept': 'hymn'}] ['England', 'anthem', {'concept': 'literary work'}] ['England', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { resource:England property:anthem ?c . ?c rdf:type ontology:literary_work } UNION { resource:England property:anthem ?c . ?c rdf:type ontology:hymn } }
[]
literary work hymn
SYSTEM
3
Q489607 Q40807 Q182268
(Q21,P85,c(Q7725634)) (Q21,P85,c(Q484692)) (Q21,P85,c(Q7725634)) (Q21,P85,c(Q484692))
action count
action union
action filter_type
action find
entity Q21
relation P85
type Q7725634
action filter_type
action find
entity Q21
relation P85
type Q484692
[ANSWER]
['Q21', 'P85', {'concept': 'Q7725634'}] ['Q21', 'P85', {'concept': 'Q484692'}] ['Q21', 'P85', {'concept': 'Q7725634'}] ['Q21', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { resource:Q21 property:P85 ?c . ?c rdf:type ontology:Q7725634 } UNION { resource:Q21 property:P85 ?c . ?c rdf:type ontology:Q484692 } }
And did those feet in ancient time God Save the Queen Land of Hope and Glory
3
action count
action union
action filter_type
action find
entity England
relation anthem
type literary work
action filter_type
action find
entity England
relation anthem
type hymn
['England', 'anthem', {'concept': 'literary work'}] ['England', 'anthem', {'concept': 'hymn'}] ['England', 'anthem', {'concept': 'literary work'}] ['England', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { { resource:England property:anthem ?c . ?c rdf:type ontology:literary_work } UNION { resource:England property:anthem ?c . ?c rdf:type ontology:hymn } }
[]