Simple Question (Direct)
Simple Question
Q2595695
P463
Q48204
USER
What was Carles Riba a member of ?
(Q2595695,P463,c(Q48204))
action filter_type
action find
entity Q2595695
relation P463
type Q48204
['Q2595695', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?c WHERE { resource:Q2595695 property:P463 ?c . ?c rdf:type ontology:Q48204 }
Carles Riba
action filter_type
action find
entity Carles Riba
relation member of
type voluntary association
['Carles Riba', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?c WHERE { resource:Carles_Riba property:member_of ?c . ?c rdf:type ontology:voluntary_association }
[]
voluntary association
Q756890
SYSTEM
Institut d'Estudis Catalans
Q756890
(Q2595695,P463,c(Q48204))
action filter_type
action find
entity Q2595695
relation P463
type Q48204
Carles Riba was a member of [ANSWER]
['Q2595695', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?c WHERE { resource:Q2595695 property:P463 ?c . ?c rdf:type ontology:Q48204 }
Institut d'Estudis Catalans
Carles Riba was a member of Institut d'Estudis Catalans
Institut d'Estudis Catalans
action filter_type
action find
entity Carles Riba
relation member of
type voluntary association
['Carles Riba', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?c WHERE { resource:Carles_Riba property:member_of ?c . ?c rdf:type ontology:voluntary_association }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2595695
P26
Q502895
USER
Which person is married to that one ?
(Q756890,P26,c(Q502895))
action filter_type
action find
entity Q2595695
relation P26
type Q502895
['Q756890', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q2595695 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Carles Riba
action filter_type
action find
entity Carles Riba
relation spouse
type common name
["Institut d'Estudis Catalans", 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Carles_Riba property:spouse ?c . ?c rdf:type ontology:common_name }
[]
common name
Q3680479
SYSTEM
Clementina Arderiu
Q3680479
(Q756890,P26,c(Q502895))
action filter_type
action find
entity Q2595695
relation P26
type Q502895
[ANSWER] is married to that one
['Q756890', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q2595695 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Clementina Arderiu
Clementina Arderiu is married to that one
Clementina Arderiu
action filter_type
action find
entity Carles Riba
relation spouse
type common name
["Institut d'Estudis Catalans", 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Carles_Riba property:spouse ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2595695
P119
Q43229
USER
Which organization is the resting place of Carles Riba ?
(Q2595695,P119,c(Q43229))
action filter_type
action find
entity Q2595695
relation P119
type Q43229
['Q2595695', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?h WHERE { resource:Q2595695 property:P119 ?h . ?h rdf:type ontology:Q43229 }
Carles Riba
action filter_type
action find
entity Carles Riba
relation place of burial
type organization
['Carles Riba', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?h WHERE { resource:Carles_Riba property:place_of_burial ?h . ?h rdf:type ontology:organization }
[]
organization
Q19367872
SYSTEM
Sarrià cementery
Q19367872
(Q2595695,P119,c(Q43229))
action filter_type
action find
entity Q2595695
relation P119
type Q43229
[ANSWER] is the resting place of Carles Riba
['Q2595695', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?h WHERE { resource:Q2595695 property:P119 ?h . ?h rdf:type ontology:Q43229 }
Sarrià cementery
Sarrià cementery is the resting place of Carles Riba
Sarrià cementery
action filter_type
action find
entity Carles Riba
relation place of burial
type organization
['Carles Riba', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?h WHERE { resource:Carles_Riba property:place_of_burial ?h . ?h rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2595695
P136
Q1792379
USER
What can be considered as category for that person ?
(Q19367872,P136,c(Q1792379))
action filter_type
action find
entity Q2595695
relation P136
type Q1792379
['Q19367872', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { resource:Q2595695 property:P136 ?f . ?f rdf:type ontology:Q1792379 }
Carles Riba
action filter_type
action find
entity Carles Riba
relation genre
type art genre
['Sarrià cementery', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { resource:Carles_Riba property:genre ?f . ?f rdf:type ontology:art_genre }
[]
art genre
Q482
SYSTEM
poetry
Q482
(Q19367872,P136,c(Q1792379))
action filter_type
action find
entity Q2595695
relation P136
type Q1792379
The [ANSWER] can be considered as category for that person
['Q19367872', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { resource:Q2595695 property:P136 ?f . ?f rdf:type ontology:Q1792379 }
poetry
The poetry can be considered as category for that person
poetry
action filter_type
action find
entity Carles Riba
relation genre
type art genre
['Sarrià cementery', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { resource:Carles_Riba property:genre ?f . ?f rdf:type ontology:art_genre }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q482 Q1534547
P136
Q502895
USER
Does John Wood a that art genre as its class ?
(Q1534547,P136,Q482)
action is_in
entity Q1534547
action find
entity Q482
relation P136
['Q1534547', 'P136', 'Q482']
ASK WHERE { resource:Q482 property:P136 resource:Q1534547 }
poetry John Wood
action is_in
entity John Wood
action find
entity poetry
relation genre
['John Wood', 'genre', 'poetry']
ASK WHERE { resource:poetry property:genre resource:John_Wood }
[]
common name
SYSTEM
NO
(Q1534547,P136,Q482)
action is_in
entity Q1534547
action find
entity Q482
relation P136
[ANSWER]
['Q1534547', 'P136', 'Q482']
ASK WHERE { resource:Q482 property:P136 resource:Q1534547 }
No
action is_in
entity John Wood
action find
entity poetry
relation genre
['John Wood', 'genre', 'poetry']
ASK WHERE { resource:poetry property:genre resource:John_Wood }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2672692 Q2595695
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Carles Riba or are Kıbrıscık situated in ?
OR((Q2595695,P27,c(Q15617994)), (Q2672692,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2595695
relation P27
action find
entity Q2672692
relation P17
type Q15617994
{'OR': [['Q2595695', 'P27', {'concept': 'Q15617994'}], ['Q2672692', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q2595695 property:P27 ?x } UNION { resource:Q2672692 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Kıbrıscık Carles Riba
action filter_type
action union
action find
entity Carles Riba
relation country of citizenship
action find
entity Kıbrıscık
relation country
type designation for an administrative territorial entity
{'OR': [['Carles Riba', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kıbrıscık', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Carles_Riba property:country_of_citizenship ?x } UNION { resource:Kıbrıscık property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q43
SYSTEM
Spain, Turkey
Q29 Q43
OR((Q2595695,P27,c(Q15617994)), (Q2672692,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2595695
relation P27
action find
entity Q2672692
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of Carles Riba or are Kıbrıscık situated in
{'OR': [['Q2595695', 'P27', {'concept': 'Q15617994'}], ['Q2672692', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q2595695 property:P27 ?x } UNION { resource:Q2672692 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Spain Turkey
Spain and Turkey are the countries of citizenship of Carles Riba or are Kıbrıscık situated in
Spain Turkey
action filter_type
action union
action find
entity Carles Riba
relation country of citizenship
action find
entity Kıbrıscık
relation country
type designation for an administrative territorial entity
{'OR': [['Carles Riba', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kıbrıscık', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Carles_Riba property:country_of_citizenship ?x } UNION { resource:Kıbrıscık property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2031291 Q15416
USER
How many administrative territories are the origin of greater number of releases and television programs than that administrative territory ?
(c(Q2031291)|c(Q15416),P495,c(Q15617994))
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
[[{'concept': 'release'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
designation for an administrative territorial entity release television program
Comparative|Count over More/Less|Mult. entity type|Clarification
Q43
SYSTEM
Did you mean Turkey ?
(c(Q2031291)|c(Q15416),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
Did you mean Turkey ?
Turkey
[[{'concept': 'release'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q2031291)|c(Q15416),P495,c(Q15617994))
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'release'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
20
Q668 Q414 Q142 Q55 Q145 Q148 Q717 Q155 Q884 Q33 Q31 Q30 Q34 Q928 Q38 Q739 Q843 Q96 Q17 Q29
(c(Q2031291)|c(Q15416),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
India Argentina France Netherlands United Kingdom People's Republic of China Venezuela Brazil South Korea Finland Belgium United States of America Sweden Philippines Italy Colombia Pakistan Mexico Japan Spain
20
[[{'concept': 'release'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q26267230
P180
Q874405 Q56061 Q1792379
USER
Which art genres express around the same number of social groups and administrative territories as Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) ?
(c(Q1792379),P180,c(Q874405)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P180
type Q1792379
type Q874405
action find_tuple_counts
relation P180
type Q1792379
type Q56061
action count
action filter_multi_types
action find
entity Q26267230
relation P180
type Q874405
type Q56061
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q874405'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?j ) WHERE { ?u rdf:type ?a . VALUES ( ?a ) { ( ontology:Q874405 ) ( ontology:Q56061 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q26267230 property:P180 ?o . { ?o rdf:type ?i . VALUES ( ?i ) { ( ontology:Q874405 ) ( ontology:Q56061 ) } } } } . FILTER ( ?j = ?s ) }
Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)
action approx
action union
action find_tuple_counts
relation depicts
type art genre
type social group
action find_tuple_counts
relation depicts
type art genre
type administrative territorial entity
action count
action filter_multi_types
action find
entity Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)
relation depicts
type social group
type administrative territorial entity
[{'concept': 'art genre'}, 'depicts', [{'concept': 'social group'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?j ) WHERE { ?u rdf:type ?a . VALUES ( ?a ) { ( ontology:social_group ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Portrait_of_a_king_of_marksmen_(presumably_Jacobus_Albertus_de_Backer) property:depicts ?o . { ?o rdf:type ?i . VALUES ( ?i ) { ( ontology:social_group ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?j = ?s ) }
[]
social group administrative territorial entity art genre
Q5712848 Q4668641 Q3207118
SYSTEM
Self-Portrait with Monkey, Above and Below, The Ring of Fire
Q21856809 Q26267230 Q1189907 Q22677514 Q2963437 Q18661427 Q22073388 Q26318263 Q4668641 Q22670282 Q2302151 Q5883078 Q3687196 Q18353841 Q22915045 Q26706171 Q26928600 Q5712848 Q3900659 Q742530 Q18688281 Q742333 Q937330 Q3374376 Q1615638 Q22677763 Q22677825 Q6944995 Q248726 Q27087718 Q3207118 Q22670323 Q26317896 Q214127 Q315569 Q1353984 Q3399515 Q158607 Q659396 Q18559971 Q18917896 Q26709687 Q1339864 Q2415378 Q191163 Q18579186 Q5448026 Q12303833 Q22677734 Q26668969
(c(Q1792379),P180,c(Q874405)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P180
type Q1792379
type Q874405
action find_tuple_counts
relation P180
type Q1792379
type Q56061
action count
action filter_multi_types
action find
entity Q26267230
relation P180
type Q874405
type Q56061
[ANSWERS] express around the same number of social groups and administrative territories as Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q874405'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?j ) WHERE { ?u rdf:type ?a . VALUES ( ?a ) { ( ontology:Q874405 ) ( ontology:Q56061 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q26267230 property:P180 ?o . { ?o rdf:type ?i . VALUES ( ?i ) { ( ontology:Q874405 ) ( ontology:Q56061 ) } } } } . FILTER ( ?j = ?s ) }
Selim Palmgren Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) Water Lilies Market place parliament One Thousand Pictures of the Ocean (Chie no umi) Memorial of the people of Pori Henry M. Jackson Bust of Edward VII Above and Below Crying girl animal painting Hollywood novel Christ's Charge to Peter Architectural painting Zinc sculptures of the Pori town hall Sir Austen Henry Layard Existentialist literature Self-Portrait with Monkey The Miraculous Draught of Fishes idyll Portrait of A.S.Pushkin history painting kouros mythological painting submarine films Statue of Risto Ryti Maire-sculpture My Bed Venus figurine Bust Of Sir Henry Tate, Outside Tate Library, Brixton Oval The Ring of Fire JUHANA III - The king of Sweden 1568-1592 -relief Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury genre painting Karl Marx Monument landscape photography equestrian portrait marine art equestrian statue Rock art at Åbodsjön history sculpture Antoine Coypel sports film schutterstuk landscape art Petrus Franciscus Greive (1811-1872) figure painting floral painting Statue of Duke John Bust Of Sir Joseph Paxton At Crystal Palace Park
Self-Portrait with Monkey, Above and Below and The Ring of Fire express around the same number of social groups and administrative territories as Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)
Self-Portrait with Monkey Above and Below The Ring of Fire
action approx
action union
action find_tuple_counts
relation depicts
type art genre
type social group
action find_tuple_counts
relation depicts
type art genre
type administrative territorial entity
action count
action filter_multi_types
action find
entity Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)
relation depicts
type social group
type administrative territorial entity
[{'concept': 'art genre'}, 'depicts', [{'concept': 'social group'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?j ) WHERE { ?u rdf:type ?a . VALUES ( ?a ) { ( ontology:social_group ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Portrait_of_a_king_of_marksmen_(presumably_Jacobus_Albertus_de_Backer) property:depicts ?o . { ?o rdf:type ?i . VALUES ( ?i ) { ( ontology:social_group ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?j = ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1353984
P180
Q874405 Q56061 Q1792379
USER
And how about landscape photography?
(c(Q1792379),P180,c(Q874405)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P180
type Q1792379
type Q874405
action find_tuple_counts
relation P180
type Q1792379
type Q56061
action count
action filter_multi_types
action find
entity Q1353984
relation P180
type Q874405
type Q56061
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q874405'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?i WHERE { { ?i property:P180 ?l . ?i rdf:type ontology:Q1792379 . ?l rdf:type ontology:Q874405 } UNION { ?i property:P180 ?l . ?i rdf:type ontology:Q1792379 . ?l rdf:type ontology:Q56061 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { { ?x rdf:type ontology:Q56061 } UNION { ?x rdf:type ontology:Q874405 } } . resource:Q1353984 property:P180 ?x } } . FILTER ( ?z = ?g ) }
landscape photography
action approx
action union
action find_tuple_counts
relation depicts
type art genre
type social group
action find_tuple_counts
relation depicts
type art genre
type administrative territorial entity
action count
action filter_multi_types
action find
entity landscape photography
relation depicts
type social group
type administrative territorial entity
[{'concept': 'art genre'}, 'depicts', [{'concept': 'social group'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?i WHERE { { ?i property:depicts ?l . ?i rdf:type ontology:art_genre . ?l rdf:type ontology:social_group } UNION { ?i property:depicts ?l . ?i rdf:type ontology:art_genre . ?l rdf:type ontology:administrative_territorial_entity } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { { ?x rdf:type ontology:administrative_territorial_entity } UNION { ?x rdf:type ontology:social_group } } . resource:landscape_photography property:depicts ?x } } . FILTER ( ?z = ?g ) }
[]
social group administrative territorial entity art genre
Q5712848 Q4668641 Q3207118
SYSTEM
Self-Portrait with Monkey, Above and Below, The Ring of Fire
Q21856809 Q26267230 Q1189907 Q22677514 Q2963437 Q18661427 Q22073388 Q26318263 Q4668641 Q22670282 Q2302151 Q5883078 Q3687196 Q18353841 Q22915045 Q26706171 Q26928600 Q5712848 Q3900659 Q742530 Q18688281 Q742333 Q937330 Q3374376 Q1615638 Q22677763 Q22677825 Q6944995 Q248726 Q27087718 Q3207118 Q22670323 Q26317896 Q214127 Q315569 Q1353984 Q3399515 Q158607 Q659396 Q18559971 Q18917896 Q26709687 Q1339864 Q2415378 Q191163 Q18579186 Q5448026 Q12303833 Q22677734 Q26668969
(c(Q1792379),P180,c(Q874405)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P180
type Q1792379
type Q874405
action find_tuple_counts
relation P180
type Q1792379
type Q56061
action count
action filter_multi_types
action find
entity Q1353984
relation P180
type Q874405
type Q56061
[ANSWERS]
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q874405'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?i WHERE { { ?i property:P180 ?l . ?i rdf:type ontology:Q1792379 . ?l rdf:type ontology:Q874405 } UNION { ?i property:P180 ?l . ?i rdf:type ontology:Q1792379 . ?l rdf:type ontology:Q56061 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { { ?x rdf:type ontology:Q56061 } UNION { ?x rdf:type ontology:Q874405 } } . resource:Q1353984 property:P180 ?x } } . FILTER ( ?z = ?g ) }
Selim Palmgren Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) Water Lilies Market place parliament One Thousand Pictures of the Ocean (Chie no umi) Memorial of the people of Pori Henry M. Jackson Bust of Edward VII Above and Below Crying girl animal painting Hollywood novel Christ's Charge to Peter Architectural painting Zinc sculptures of the Pori town hall Sir Austen Henry Layard Existentialist literature Self-Portrait with Monkey The Miraculous Draught of Fishes idyll Portrait of A.S.Pushkin history painting kouros mythological painting submarine films Statue of Risto Ryti Maire-sculpture My Bed Venus figurine Bust Of Sir Henry Tate, Outside Tate Library, Brixton Oval The Ring of Fire JUHANA III - The king of Sweden 1568-1592 -relief Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury genre painting Karl Marx Monument landscape photography equestrian portrait marine art equestrian statue Rock art at Åbodsjön history sculpture Antoine Coypel sports film schutterstuk landscape art Petrus Franciscus Greive (1811-1872) figure painting floral painting Statue of Duke John Bust Of Sir Joseph Paxton At Crystal Palace Park
Self-Portrait with Monkey Above and Below The Ring of Fire
action approx
action union
action find_tuple_counts
relation depicts
type art genre
type social group
action find_tuple_counts
relation depicts
type art genre
type administrative territorial entity
action count
action filter_multi_types
action find
entity landscape photography
relation depicts
type social group
type administrative territorial entity
[{'concept': 'art genre'}, 'depicts', [{'concept': 'social group'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?i WHERE { { ?i property:depicts ?l . ?i rdf:type ontology:art_genre . ?l rdf:type ontology:social_group } UNION { ?i property:depicts ?l . ?i rdf:type ontology:art_genre . ?l rdf:type ontology:administrative_territorial_entity } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { { ?x rdf:type ontology:administrative_territorial_entity } UNION { ?x rdf:type ontology:social_group } } . resource:landscape_photography property:depicts ?x } } . FILTER ( ?z = ?g ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5712848 Q4668641 Q3207118
P170
Q502895
USER
Which people are credited with creation of those art genres ?
(Q5712848,P170,c(Q502895)) (Q4668641,P170,c(Q502895)) (Q3207118,P170,c(Q502895))
action filter_type
action find
entity prev_answer
relation P170
type Q502895
['Q5712848', 'P170', {'concept': 'Q502895'}] ['Q4668641', 'P170', {'concept': 'Q502895'}] ['Q3207118', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . VALUES ( ?h ) { ( resource:Q21856809 ) ( resource:Q26267230 ) ( resource:Q1189907 ) } . ?h property:P170 ?f }
Self-Portrait with Monkey Above and Below The Ring of Fire
action filter_type
action find
entity prev_answer
relation creator
type common name
['Self-Portrait with Monkey', 'creator', {'concept': 'common name'}] ['Above and Below', 'creator', {'concept': 'common name'}] ['The Ring of Fire', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . VALUES ( ?h ) { ( resource:Selim_Palmgren ) ( resource:Portrait_of_a_king_of_marksmen_(presumably_Jacobus_Albertus_de_Backer) ) ( resource:Water_Lilies ) } . ?h property:creator ?f }
[]
common name
Q235063 Q5588 Q23035975
SYSTEM
Maya Lin, Frida Kahlo, Angela Detanico
Q5588 Q235063 Q23035975 Q23035976
(Q5712848,P170,c(Q502895)) (Q4668641,P170,c(Q502895)) (Q3207118,P170,c(Q502895))
action filter_type
action find
entity prev_answer
relation P170
type Q502895
[ANSWERS] are credited with creation of those art genres
['Q5712848', 'P170', {'concept': 'Q502895'}] ['Q4668641', 'P170', {'concept': 'Q502895'}] ['Q3207118', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . VALUES ( ?h ) { ( resource:Q21856809 ) ( resource:Q26267230 ) ( resource:Q1189907 ) } . ?h property:P170 ?f }
Frida Kahlo Maya Lin Angela Detanico Rafael Lain
Maya Lin, Frida Kahlo and Angela Detanico are credited with creation of those art genres
Maya Lin Frida Kahlo Angela Detanico
action filter_type
action find
entity prev_answer
relation creator
type common name
['Self-Portrait with Monkey', 'creator', {'concept': 'common name'}] ['Above and Below', 'creator', {'concept': 'common name'}] ['The Ring of Fire', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . VALUES ( ?h ) { ( resource:Selim_Palmgren ) ( resource:Portrait_of_a_king_of_marksmen_(presumably_Jacobus_Albertus_de_Backer) ) ( resource:Water_Lilies ) } . ?h property:creator ?f }
[]
Clarification
Simple Question|Single Entity|Indirect
Q235063
P166
Q618779
USER
What was awarded to that person ?
(Q235063,P166,c(Q618779))
action filter_type
action find
entity Q235063
relation P166
type Q618779
['Q235063', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q618779 . resource:Q235063 property:P166 ?m }
Maya Lin
action filter_type
action find
entity Maya Lin
relation award received
type award
['Maya Lin', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:award . resource:Maya_Lin property:award_received ?m }
[]
award
Clarification for simple ques.
Q235063
SYSTEM
Did you mean Maya Lin ?
Q235063 Q5588 Q23035975
(Q235063,P166,c(Q618779)) (Q5588,P166,c(Q618779)) (Q23035975,P166,c(Q618779))
[ANSWER]
['Q235063', 'P166', {'concept': 'Q618779'}] ['Q5588', 'P166', {'concept': 'Q618779'}] ['Q23035975', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q618779 . resource:Q235063 property:P166 ?m }
Maya Lin Frida Kahlo Angela Detanico
Did you mean Maya Lin ?
Maya Lin
['Maya Lin', 'award received', {'concept': 'award'}] ['Frida Kahlo', 'award received', {'concept': 'award'}] ['Angela Detanico', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:award . resource:Maya_Lin property:award_received ?m }
[]
Simple Question (Coreferenced)
USER
Yes
(Q235063,P166,c(Q618779))
['Q235063', 'P166', {'concept': 'Q618779'}]
['Maya Lin', 'award received', {'concept': 'award'}]
[]
Q3405483
SYSTEM
Rome Prize
Q3405483
(Q235063,P166,c(Q618779))
action filter_type
action find
entity Q235063
relation P166
type Q618779
[ANSWER] was awarded to that person
['Q235063', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q618779 . resource:Q235063 property:P166 ?m }
Rome Prize
Rome Prize was awarded to that person
Rome Prize
action filter_type
action find
entity Maya Lin
relation award received
type award
['Maya Lin', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:award . resource:Maya_Lin property:award_received ?m }
[]