Simple Question (Direct)
Simple Question
Q655051
P750
Q375336
USER
Who serves as the distributor of The Adventures of Pluto Nash ?
(Q655051,P750,c(Q375336))
action filter_type
action find
entity Q655051
relation P750
type Q375336
['Q655051', 'P750', {'concept': 'Q375336'}]
SELECT DISTINCT ?a WHERE { resource:Q655051 property:P750 ?a . ?a rdf:type ontology:Q375336 }
The Adventures of Pluto Nash
action filter_type
action find
entity The Adventures of Pluto Nash
relation distributor
type film studio
['The Adventures of Pluto Nash', 'distributor', {'concept': 'film studio'}]
SELECT DISTINCT ?a WHERE { resource:The_Adventures_of_Pluto_Nash property:distributor ?a . ?a rdf:type ontology:film_studio }
[]
film studio
Q126399
SYSTEM
Warner Bros.
Q126399
(Q655051,P750,c(Q375336))
action filter_type
action find
entity Q655051
relation P750
type Q375336
[ANSWER] serves as the distributor of The Adventures of Pluto Nash
['Q655051', 'P750', {'concept': 'Q375336'}]
SELECT DISTINCT ?a WHERE { resource:Q655051 property:P750 ?a . ?a rdf:type ontology:Q375336 }
Warner Bros.
Warner Bros. serves as the distributor of The Adventures of Pluto Nash
Warner Bros.
action filter_type
action find
entity The Adventures of Pluto Nash
relation distributor
type film studio
['The Adventures of Pluto Nash', 'distributor', {'concept': 'film studio'}]
SELECT DISTINCT ?a WHERE { resource:The_Adventures_of_Pluto_Nash property:distributor ?a . ?a rdf:type ontology:film_studio }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q655051
P57
Q502895
USER
Which person served as the directed of that work of art ?
(Q126399,P57,c(Q502895))
action filter_type
action find
entity Q655051
relation P57
type Q502895
['Q126399', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q655051 property:P57 ?s . ?s rdf:type ontology:Q502895 }
The Adventures of Pluto Nash
action filter_type
action find
entity The Adventures of Pluto Nash
relation director
type common name
['Warner Bros.', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_Adventures_of_Pluto_Nash property:director ?s . ?s rdf:type ontology:common_name }
[]
common name
Q1303837
SYSTEM
Ron Underwood
Q1303837
(Q126399,P57,c(Q502895))
action filter_type
action find
entity Q655051
relation P57
type Q502895
[ANSWER] served as the directed of that work of art
['Q126399', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q655051 property:P57 ?s . ?s rdf:type ontology:Q502895 }
Ron Underwood
Ron Underwood served as the directed of that work of art
Ron Underwood
action filter_type
action find
entity The Adventures of Pluto Nash
relation director
type common name
['Warner Bros.', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_Adventures_of_Pluto_Nash property:director ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1303837
P69
Q163740
USER
Which nonprofit organization is the alma mater of that person ?
(Q1303837,P69,c(Q163740))
action filter_type
action find
entity Q1303837
relation P69
type Q163740
['Q1303837', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?q WHERE { resource:Q1303837 property:P69 ?q . ?q rdf:type ontology:Q163740 }
Ron Underwood
action filter_type
action find
entity Ron Underwood
relation educated at
type nonprofit organization
['Ron Underwood', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?q WHERE { resource:Ron_Underwood property:educated_at ?q . ?q rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q4614
SYSTEM
University of Southern California
Q4614
(Q1303837,P69,c(Q163740))
action filter_type
action find
entity Q1303837
relation P69
type Q163740
[ANSWER] is the alma mater of that person
['Q1303837', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?q WHERE { resource:Q1303837 property:P69 ?q . ?q rdf:type ontology:Q163740 }
University of Southern California
University of Southern California is the alma mater of that person
University of Southern California
action filter_type
action find
entity Ron Underwood
relation educated at
type nonprofit organization
['Ron Underwood', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?q WHERE { resource:Ron_Underwood property:educated_at ?q . ?q rdf:type ontology:nonprofit_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15431978
Q163740
USER
And how about Eric Estorick?
(Q15431978,P69,c(Q163740))
action filter_type
action find
entity Q15431978
relation P69
type Q163740
['Q15431978', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?q WHERE { resource:Q15431978 property:P69 ?q . ?q rdf:type ontology:Q163740 }
Eric Estorick
action filter_type
action find
entity Eric Estorick
relation educated at
type nonprofit organization
['Eric Estorick', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?q WHERE { resource:Eric_Estorick property:educated_at ?q . ?q rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q599316 Q49210
SYSTEM
The New School, New York University
Q599316 Q49210
(Q15431978,P69,c(Q163740))
action filter_type
action find
entity Q15431978
relation P69
type Q163740
[ANSWERS]
['Q15431978', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?q WHERE { resource:Q15431978 property:P69 ?q . ?q rdf:type ontology:Q163740 }
The New School New York University
The New School New York University
action filter_type
action find
entity Eric Estorick
relation educated at
type nonprofit organization
['Eric Estorick', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?q WHERE { resource:Eric_Estorick property:educated_at ?q . ?q rdf:type ontology:nonprofit_organization }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P272
Q375336 Q15416 Q838948
USER
Which film studios were the production companies of max number of television programs and works of art ?
(c(Q15416)|c(Q838948),P272,c(Q375336))
action argmax
action union
action find_reverse_tuple_counts
relation P272
type Q375336
type Q15416
action find_reverse_tuple_counts
relation P272
type Q375336
type Q838948
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P272', {'concept': 'Q375336'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?q WHERE { { ?r property:P272 ?q . ?q rdf:type ontology:Q375336 . ?r rdf:type ontology:Q15416 } UNION { ?r property:P272 ?q . ?q rdf:type ontology:Q375336 . ?r rdf:type ontology:Q838948 } } GROUP BY ?q } . FILTER ( ?l = ?f ) . { SELECT DISTINCT ( MAX ( ?j ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?s WHERE { ?i rdf:type ?h . VALUES ( ?h ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } GROUP BY ?s } } }
action argmax
action union
action find_reverse_tuple_counts
relation production company
type film studio
type television program
action find_reverse_tuple_counts
relation production company
type film studio
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'production company', {'concept': 'film studio'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?q WHERE { { ?r property:production_company ?q . ?q rdf:type ontology:film_studio . ?r rdf:type ontology:television_program } UNION { ?r property:production_company ?q . ?q rdf:type ontology:film_studio . ?r rdf:type ontology:work_of_art } } GROUP BY ?q } . FILTER ( ?l = ?f ) . { SELECT DISTINCT ( MAX ( ?j ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?s WHERE { ?i rdf:type ?h . VALUES ( ?h ) { ( ontology:television_program ) ( ontology:work_of_art ) } } GROUP BY ?s } } }
[]
film studio television program work of art
Q126399
SYSTEM
Warner Bros.
Q126399
(c(Q15416)|c(Q838948),P272,c(Q375336))
action argmax
action union
action find_reverse_tuple_counts
relation P272
type Q375336
type Q15416
action find_reverse_tuple_counts
relation P272
type Q375336
type Q838948
[ANSWER] was the production companies of max number of television programs and works of art
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P272', {'concept': 'Q375336'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?q WHERE { { ?r property:P272 ?q . ?q rdf:type ontology:Q375336 . ?r rdf:type ontology:Q15416 } UNION { ?r property:P272 ?q . ?q rdf:type ontology:Q375336 . ?r rdf:type ontology:Q838948 } } GROUP BY ?q } . FILTER ( ?l = ?f ) . { SELECT DISTINCT ( MAX ( ?j ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?s WHERE { ?i rdf:type ?h . VALUES ( ?h ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } GROUP BY ?s } } }
Warner Bros.
Warner Bros. was the production companies of max number of television programs and works of art
Warner Bros.
action argmax
action union
action find_reverse_tuple_counts
relation production company
type film studio
type television program
action find_reverse_tuple_counts
relation production company
type film studio
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'production company', {'concept': 'film studio'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?q WHERE { { ?r property:production_company ?q . ?q rdf:type ontology:film_studio . ?r rdf:type ontology:television_program } UNION { ?r property:production_company ?q . ?q rdf:type ontology:film_studio . ?r rdf:type ontology:work_of_art } } GROUP BY ?q } . FILTER ( ?l = ?f ) . { SELECT DISTINCT ( MAX ( ?j ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?s WHERE { ?i rdf:type ?h . VALUES ( ?h ) { ( ontology:television_program ) ( ontology:work_of_art ) } } GROUP BY ?s } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q126399
P127
Q4830453
USER
Which business enterprise belongs to that film studio ?
(c(Q4830453),P127,Q126399)
action filter_type
action find_reverse
entity Q126399
relation P127
type Q4830453
[{'concept': 'Q4830453'}, 'P127', 'Q126399']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q4830453 . ?w property:P127 resource:Q126399 }
Warner Bros.
action filter_type
action find_reverse
entity Warner Bros.
relation owned by
type business enterprise
[{'concept': 'business enterprise'}, 'owned by', 'Warner Bros.']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:business_enterprise . ?w property:owned_by resource:Warner_Bros. }
[]
business enterprise
Q212252
SYSTEM
The CW
Q212252
(c(Q4830453),P127,Q126399)
action filter_type
action find_reverse
entity Q126399
relation P127
type Q4830453
[ANSWER] belongs to that film studio
[{'concept': 'Q4830453'}, 'P127', 'Q126399']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q4830453 . ?w property:P127 resource:Q126399 }
The CW
The CW belongs to that film studio
The CW
action filter_type
action find_reverse
entity Warner Bros.
relation owned by
type business enterprise
[{'concept': 'business enterprise'}, 'owned by', 'Warner Bros.']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:business_enterprise . ?w property:owned_by resource:Warner_Bros. }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P355
Q4830453 Q43229
USER
Which organizations are max number of business enterprises the subordinate of ?
(c(Q43229),P355,c(Q4830453))
action argmax
action find_tuple_counts
relation P355
type Q43229
type Q4830453
[{'concept': 'Q43229'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?c ) { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?d ) WHERE { ?m property:P355 ?r . ?m rdf:type ontology:Q43229 . ?r rdf:type ontology:Q4830453 } GROUP BY ?m } } . { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?v ) WHERE { ?e property:P355 ?b . ?e rdf:type ontology:Q43229 . ?b rdf:type ontology:Q4830453 } GROUP BY ?e } . FILTER ( ?v = ?c ) }
action argmax
action find_tuple_counts
relation subsidiary
type organization
type business enterprise
[{'concept': 'organization'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?c ) { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?d ) WHERE { ?m property:subsidiary ?r . ?m rdf:type ontology:organization . ?r rdf:type ontology:business_enterprise } GROUP BY ?m } } . { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?v ) WHERE { ?e property:subsidiary ?b . ?e rdf:type ontology:organization . ?b rdf:type ontology:business_enterprise } GROUP BY ?e } . FILTER ( ?v = ?c ) }
[]
business enterprise organization
Q5612191
SYSTEM
Grupo Bandeirantes de Comunicação
Q5612191
(c(Q43229),P355,c(Q4830453))
action argmax
action find_tuple_counts
relation P355
type Q43229
type Q4830453
[ANSWER] is max number of business enterprises the subordinate of
[{'concept': 'Q43229'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?c ) { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?d ) WHERE { ?m property:P355 ?r . ?m rdf:type ontology:Q43229 . ?r rdf:type ontology:Q4830453 } GROUP BY ?m } } . { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?v ) WHERE { ?e property:P355 ?b . ?e rdf:type ontology:Q43229 . ?b rdf:type ontology:Q4830453 } GROUP BY ?e } . FILTER ( ?v = ?c ) }
Grupo Bandeirantes de Comunicação
Grupo Bandeirantes de Comunicação is max number of business enterprises the subordinate of
Grupo Bandeirantes de Comunicação
action argmax
action find_tuple_counts
relation subsidiary
type organization
type business enterprise
[{'concept': 'organization'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?c ) { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?d ) WHERE { ?m property:subsidiary ?r . ?m rdf:type ontology:organization . ?r rdf:type ontology:business_enterprise } GROUP BY ?m } } . { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?v ) WHERE { ?e property:subsidiary ?b . ?e rdf:type ontology:organization . ?b rdf:type ontology:business_enterprise } GROUP BY ?e } . FILTER ( ?v = ?c ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q5612191 Q155
P17
Q15617994
USER
Is that organization present in Brazil ?
(Q5612191,P17,Q155)
action is_in
entity Q155
action find
entity Q5612191
relation P17
['Q5612191', 'P17', 'Q155']
ASK WHERE { resource:Q5612191 property:P17 resource:Q155 }
Grupo Bandeirantes de Comunicação Brazil
action is_in
entity Brazil
action find
entity Grupo Bandeirantes de Comunicação
relation country
['Grupo Bandeirantes de Comunicação', 'country', 'Brazil']
ASK WHERE { resource:Grupo_Bandeirantes_de_Comunicação property:country resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q5612191,P17,Q155)
action is_in
entity Q155
action find
entity Q5612191
relation P17
[ANSWER]
['Q5612191', 'P17', 'Q155']
ASK WHERE { resource:Q5612191 property:P17 resource:Q155 }
Yes
action is_in
entity Brazil
action find
entity Grupo Bandeirantes de Comunicação
relation country
['Grupo Bandeirantes de Comunicação', 'country', 'Brazil']
ASK WHERE { resource:Grupo_Bandeirantes_de_Comunicação property:country resource:Brazil }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P608
Q464980 Q56061 Q838948
USER
Which works of art were exhibited at approximately 2 exhibitions and administrative territories ?
(c(Q838948),P608,c(Q464980)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P608
type Q838948
type Q464980
action find_tuple_counts
relation P608
type Q838948
type Q56061
value 2
[{'concept': 'Q838948'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?t WHERE { { ?t property:P608 ?e . ?e rdf:type ontology:Q464980 . ?t rdf:type ontology:Q838948 } UNION { ?t rdf:type ontology:Q838948 . ?e rdf:type ontology:Q56061 . ?t property:P608 ?e } } GROUP BY ?t } . FILTER ( ?h = 2 ) }
action approx
action union
action find_tuple_counts
relation exhibition history
type work of art
type exhibition
action find_tuple_counts
relation exhibition history
type work of art
type administrative territorial entity
value 2
[{'concept': 'work of art'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?t WHERE { { ?t property:exhibition_history ?e . ?e rdf:type ontology:exhibition . ?t rdf:type ontology:work_of_art } UNION { ?t rdf:type ontology:work_of_art . ?e rdf:type ontology:administrative_territorial_entity . ?t property:exhibition_history ?e } } GROUP BY ?t } . FILTER ( ?h = 2 ) }
[]
exhibition administrative territorial entity work of art
Q526178 Q19257953 Q3209857
SYSTEM
The Age of Bronze, Prayer, La Jeune Tarentine
Q15732837 Q17515936 Q3209857 Q15275645 Q19257953 Q3178029 Q526178
(c(Q838948),P608,c(Q464980)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P608
type Q838948
type Q464980
action find_tuple_counts
relation P608
type Q838948
type Q56061
value 2
[ANSWERS] were exhibited at approximately 2 exhibitions and administrative territories
[{'concept': 'Q838948'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?t WHERE { { ?t property:P608 ?e . ?e rdf:type ontology:Q464980 . ?t rdf:type ontology:Q838948 } UNION { ?t rdf:type ontology:Q838948 . ?e rdf:type ontology:Q56061 . ?t property:P608 ?e } } GROUP BY ?t } . FILTER ( ?h = 2 ) }
Marble bust of Titian Shepherd Playing the Flute La Jeune Tarentine Mrs. de Verninac as Diana the Huntress Prayer Jeune fille de Mégare The Age of Bronze
The Age of Bronze, Prayer and La Jeune Tarentine were exhibited at approximately 2 exhibitions and administrative territories
The Age of Bronze Prayer La Jeune Tarentine
action approx
action union
action find_tuple_counts
relation exhibition history
type work of art
type exhibition
action find_tuple_counts
relation exhibition history
type work of art
type administrative territorial entity
value 2
[{'concept': 'work of art'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?t WHERE { { ?t property:exhibition_history ?e . ?e rdf:type ontology:exhibition . ?t rdf:type ontology:work_of_art } UNION { ?t rdf:type ontology:work_of_art . ?e rdf:type ontology:administrative_territorial_entity . ?t property:exhibition_history ?e } } GROUP BY ?t } . FILTER ( ?h = 2 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P800
Q502895
USER
How many people are author of that work of art ?
(c(Q502895),P800,Q3209857)
[{'concept': 'Q502895'}, 'P800', 'Q3209857']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P800 resource:Q3209857 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'notable work', 'La Jeune Tarentine']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:notable_work resource:La_Jeune_Tarentine . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q526178
SYSTEM
Did you mean The Age of Bronze ?
(c(Q502895),P800,Q526178) (c(Q502895),P800,Q19257953) (c(Q502895),P800,Q3209857)
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q526178'] [{'concept': 'Q502895'}, 'P800', 'Q19257953'] [{'concept': 'Q502895'}, 'P800', 'Q3209857']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P800 resource:Q3209857 . ?z rdf:type ontology:Q502895 }
Did you mean The Age of Bronze ?
The Age of Bronze
[{'concept': 'common name'}, 'notable work', 'The Age of Bronze'] [{'concept': 'common name'}, 'notable work', 'Prayer'] [{'concept': 'common name'}, 'notable work', 'La Jeune Tarentine']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:notable_work resource:La_Jeune_Tarentine . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant La Jeune Tarentine. Could you tell me the answer for that?
(c(Q502895),P800,Q3209857)
Q3209857
[{'concept': 'Q502895'}, 'P800', 'Q3209857']
[{'concept': 'common name'}, 'notable work', 'La Jeune Tarentine']
[]
SYSTEM
1
Q2834020
(c(Q502895),P800,Q3209857)
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q3209857']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P800 resource:Q3209857 . ?z rdf:type ontology:Q502895 }
Pierre Alexandre Schoenewerk
1
[{'concept': 'common name'}, 'notable work', 'La Jeune Tarentine']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:notable_work resource:La_Jeune_Tarentine . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q838948 Q15619164 Q3895768
USER
How many works of art are approximately 3 abstract beings and fictional locations present in ?
(c(Q15619164)|c(Q3895768),P1441,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q3895768
value 3
[[{'concept': 'Q15619164'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) ?h WHERE { VALUES ( ?j ) { ( ontology:Q3895768 ) ( ontology:Q15619164 ) } . ?u rdf:type ?j } GROUP BY ?h } . FILTER ( ?r = 3 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type abstract being
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional location
value 3
[[{'concept': 'abstract being'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) ?h WHERE { VALUES ( ?j ) { ( ontology:fictional_location ) ( ontology:abstract_being ) } . ?u rdf:type ?j } GROUP BY ?h } . FILTER ( ?r = 3 ) }
[]
work of art abstract being fictional location
SYSTEM
21
Q205028 Q42051 Q17485699 Q19946102 Q494048 Q182218 Q165713 Q26833 Q167726 Q14513321 Q14171368 Q184843 Q6074 Q19032697 Q156608 Q107226 Q1193324 Q504697 Q17738 Q192724 Q181069
(c(Q15619164)|c(Q3895768),P1441,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q3895768
value 3
[ANSWER]
[[{'concept': 'Q15619164'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) ?h WHERE { VALUES ( ?j ) { ( ontology:Q3895768 ) ( ontology:Q15619164 ) } . ?u rdf:type ?j } GROUP BY ?h } . FILTER ( ?r = 3 ) }
Iron Man 2 Star Wars: Episode III – Revenge of the Sith Alice Through the Looking Glass Beauty and the Beast The Bourne Legacy The Avengers Star Wars: Episode I – The Phantom Menace Othello Jurassic Park Warcraft Avengers: Age of Ultron Blade Runner Star Wars: The Force Awakens Peter Pan, or The Boy Who Wouldn't Grow Up The Bourne Supremacy The Bourne Ultimatum The Disappearance of Haruhi Suzumiya WarGames Star Wars Episode IV: A New Hope Iron Man Star Wars Episode II: Attack of the Clones
21
action count
action approx
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type abstract being
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional location
value 3
[[{'concept': 'abstract being'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) ?h WHERE { VALUES ( ?j ) { ( ontology:fictional_location ) ( ontology:abstract_being ) } . ?u rdf:type ?j } GROUP BY ?h } . FILTER ( ?r = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q526178
P800
Q502895
USER
Who has The Age of Bronze as their notable work ?
(c(Q502895),P800,Q526178)
action filter_type
action find_reverse
entity Q526178
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q526178']
SELECT DISTINCT ?r WHERE { ?r property:P800 resource:Q526178 . ?r rdf:type ontology:Q502895 }
The Age of Bronze
action filter_type
action find_reverse
entity The Age of Bronze
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Age of Bronze']
SELECT DISTINCT ?r WHERE { ?r property:notable_work resource:The_Age_of_Bronze . ?r rdf:type ontology:common_name }
[]
common name
Q30755
SYSTEM
Auguste Rodin
Q30755
(c(Q502895),P800,Q526178)
action filter_type
action find_reverse
entity Q526178
relation P800
type Q502895
[ANSWER] has The Age of Bronze as their notable work
[{'concept': 'Q502895'}, 'P800', 'Q526178']
SELECT DISTINCT ?r WHERE { ?r property:P800 resource:Q526178 . ?r rdf:type ontology:Q502895 }
Auguste Rodin
Auguste Rodin has The Age of Bronze as their notable work
Auguste Rodin
action filter_type
action find_reverse
entity The Age of Bronze
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Age of Bronze']
SELECT DISTINCT ?r WHERE { ?r property:notable_work resource:The_Age_of_Bronze . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30755
P26
Q502895
USER
Which person is the spouse of that one ?
(Q30755,P26,c(Q502895))
action filter_type
action find
entity Q30755
relation P26
type Q502895
['Q30755', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q30755 property:P26 ?t }
Auguste Rodin
action filter_type
action find
entity Auguste Rodin
relation spouse
type common name
['Auguste Rodin', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Auguste_Rodin property:spouse ?t }
[]
common name
Q24555769
SYSTEM
Rose Beuret Mignon
Q24555769
(Q30755,P26,c(Q502895))
action filter_type
action find
entity Q30755
relation P26
type Q502895
Is [ANSWER] is the spouse of that one
['Q30755', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q30755 property:P26 ?t }
Rose Beuret Mignon
Is Rose Beuret Mignon is the spouse of that one
Rose Beuret Mignon
action filter_type
action find
entity Auguste Rodin
relation spouse
type common name
['Auguste Rodin', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Auguste_Rodin property:spouse ?t }
[]