Simple Question (Direct)
Simple Question
Q380803
P364
Q11028
USER
Which information was used originally for the creation of Aelita ?
(Q380803,P364,c(Q11028))
action filter_type
action find
entity Q380803
relation P364
type Q11028
['Q380803', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?x WHERE { resource:Q380803 property:P364 ?x . ?x rdf:type ontology:Q11028 }
Aelita
action filter_type
action find
entity Aelita
relation original language of work
type information
['Aelita', 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?x WHERE { resource:Aelita property:original_language_of_work ?x . ?x rdf:type ontology:information }
[]
information
Q21686005
SYSTEM
n/a (silent film)
Q21686005
(Q380803,P364,c(Q11028))
action filter_type
action find
entity Q380803
relation P364
type Q11028
[ANSWER] was used originally for the creation of Aelita
['Q380803', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?x WHERE { resource:Q380803 property:P364 ?x . ?x rdf:type ontology:Q11028 }
n/a (silent film)
N/a (silent film) was used originally for the creation of Aelita
n/a (silent film)
action filter_type
action find
entity Aelita
relation original language of work
type information
['Aelita', 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?x WHERE { resource:Aelita property:original_language_of_work ?x . ?x rdf:type ontology:information }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q380803
P921
Q937228
USER
What was the main subject of that work of art 's work ?
(Q21686005,P921,c(Q937228))
action filter_type
action find
entity Q380803
relation P921
type Q937228
['Q21686005', 'P921', {'concept': 'Q937228'}]
SELECT DISTINCT ?t WHERE { resource:Q380803 property:P921 ?t . ?t rdf:type ontology:Q937228 }
Aelita
action filter_type
action find
entity Aelita
relation main subject
type property
['n/a (silent film)', 'main subject', {'concept': 'property'}]
SELECT DISTINCT ?t WHERE { resource:Aelita property:main_subject ?t . ?t rdf:type ontology:property }
[]
property
Q181508
SYSTEM
extraterrestrial life
Q181508
(Q21686005,P921,c(Q937228))
action filter_type
action find
entity Q380803
relation P921
type Q937228
The main subject of that work of art's work was the [ANSWER]
['Q21686005', 'P921', {'concept': 'Q937228'}]
SELECT DISTINCT ?t WHERE { resource:Q380803 property:P921 ?t . ?t rdf:type ontology:Q937228 }
extraterrestrial life
The main subject of that work of art's work was the extraterrestrial life
extraterrestrial life
action filter_type
action find
entity Aelita
relation main subject
type property
['n/a (silent film)', 'main subject', {'concept': 'property'}]
SELECT DISTINCT ?t WHERE { resource:Aelita property:main_subject ?t . ?t rdf:type ontology:property }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1419495 Q380803
P161 P1346
Q502895
USER
Which people were casted in Aelita or were the winner of National Board of Review Award for Best Actress ?
OR((Q380803,P161,c(Q502895)), (Q1419495,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q380803
relation P161
action find
entity Q1419495
relation P1346
type Q502895
{'OR': [['Q380803', 'P161', {'concept': 'Q502895'}], ['Q1419495', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . { { resource:Q380803 property:P161 ?p } UNION { resource:Q1419495 property:P1346 ?p } } }
National Board of Review Award for Best Actress Aelita
action filter_type
action union
action find
entity Aelita
relation cast member
action find
entity National Board of Review Award for Best Actress
relation winner
type common name
{'OR': [['Aelita', 'cast member', {'concept': 'common name'}], ['National Board of Review Award for Best Actress', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . { { resource:Aelita property:cast_member ?p } UNION { resource:National_Board_of_Review_Award_for_Best_Actress property:winner ?p } } }
[]
common name
Q102642 Q229313 Q56011 Q106126 Q200534 Q95068 Q80405 Q2358989 Q230563 Q444410
SYSTEM
Some of them are Diane Keaton, Jessica Chastain, Anna Magnani, Simone Signoret, Tilda Swinton, Olivia de Havilland, Julianne Moore, Igor Ilyinsky, Irene Papas, Lesley Manville
Q40475 Q335455 Q230832 Q182486 Q228650 Q259581 Q106383 Q229258 Q106126 Q860409 Q95068 Q95026 Q104183 Q56011 Q183532 Q230563 Q191027 Q181413 Q182408 Q222008 Q159778 Q284136 Q43247 Q168724 Q253308 Q349391 Q873 Q200534 Q105660 Q107656 Q190602 Q36301 Q238081 Q202725 Q236718 Q229241 Q102642 Q40523 Q133050 Q976903 Q204299 Q41351 Q170428 Q444410 Q259474 Q187033 Q190994 Q80405 Q1033016 Q280098 Q4504509 Q155116 Q2547318 Q1111542 Q190519 Q191064 Q229232 Q49001 Q229313 Q272075 Q232292 Q3925 Q34851 Q219655 Q2358989
OR((Q380803,P161,c(Q502895)), (Q1419495,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q380803
relation P161
action find
entity Q1419495
relation P1346
type Q502895
[ANSWERS] were casted in Aelita or were the winner of National Board of Review Award for Best Actress
{'OR': [['Q380803', 'P161', {'concept': 'Q502895'}], ['Q1419495', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . { { resource:Q380803 property:P161 ?p } UNION { resource:Q1419495 property:P1346 ?p } } }
Joan Crawford Fernanda Montenegro Peggy Ashcroft Greer Garson Geraldine Page Jan Sterling Isabelle Adjani Gena Rowlands Simone Signoret Yuri Zavadsky Olivia de Havilland Shirley MacLaine Lillian Gish Anna Magnani Anne Bancroft Irene Papas Patricia Neal Julie Christie Glenda Jackson Kathleen Turner Michelle Pfeiffer Nikolai Batalov Ingrid Bergman Emma Thompson Shirley Booth Helen Mirren Meryl Streep Tilda Swinton Holly Hunter Jean Simmons Annette Bening Anne Hathaway Cicely Tyson Mia Farrow Edith Evans Miranda Richardson Diane Keaton Julia Roberts Susan Sarandon Vera Georgiyevna Orlova Frances McDormand Jodie Foster Helena Bonham Carter Lesley Manville Kim Stanley Sally Field Sissy Spacek Julianne Moore Halle Berry Geena Davis Nikolai Tseretelli Dorothy McGuire Yuliya Solntseva Joanne Woodward Felicity Huffman Liv Ullmann Gloria Swanson Whoopi Goldberg Jessica Chastain Celia Johnson Janet McTeer Grace Kelly Elizabeth Taylor Carey Mulligan Igor Ilyinsky
Diane Keaton, Jessica Chastain, Anna Magnani, Simone Signoret, Tilda Swinton, Olivia de Havilland, Julianne Moore, Igor Ilyinsky, Irene Papas and Lesley Manville were casted in Aelita or were the winner of National Board of Review Award for Best Actress
Diane Keaton Jessica Chastain Anna Magnani Simone Signoret Tilda Swinton Olivia de Havilland Julianne Moore Igor Ilyinsky Irene Papas Lesley Manville
action filter_type
action union
action find
entity Aelita
relation cast member
action find
entity National Board of Review Award for Best Actress
relation winner
type common name
{'OR': [['Aelita', 'cast member', {'concept': 'common name'}], ['National Board of Review Award for Best Actress', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . { { resource:Aelita property:cast_member ?p } UNION { resource:National_Board_of_Review_Award_for_Best_Actress property:winner ?p } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1801486 Q380803
P840
Q56061
USER
Which administrative territories are Aelita or Shoestring set in ?
OR((Q380803,P840,c(Q56061)), (Q1801486,P840,c(Q56061)))
action filter_type
action union
action find
entity Q380803
relation P840
action find
entity Q1801486
relation P840
type Q56061
{'OR': [['Q380803', 'P840', {'concept': 'Q56061'}], ['Q1801486', 'P840', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . { VALUES ( ?r ) { ( resource:Q380803 ) ( resource:Q1801486 ) } . ?r property:P840 ?v } }
Shoestring Aelita
action filter_type
action union
action find
entity Aelita
relation narrative location
action find
entity Shoestring
relation narrative location
type administrative territorial entity
{'OR': [['Aelita', 'narrative location', {'concept': 'administrative territorial entity'}], ['Shoestring', 'narrative location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . { VALUES ( ?r ) { ( resource:Aelita ) ( resource:Shoestring ) } . ?r property:narrative_location ?v } }
[]
administrative territorial entity
Q23154 Q649
SYSTEM
Bristol, Moscow
Q23154 Q649
OR((Q380803,P840,c(Q56061)), (Q1801486,P840,c(Q56061)))
action filter_type
action union
action find
entity Q380803
relation P840
action find
entity Q1801486
relation P840
type Q56061
Aelita or Shoestring are set in [ANSWERS]
{'OR': [['Q380803', 'P840', {'concept': 'Q56061'}], ['Q1801486', 'P840', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . { VALUES ( ?r ) { ( resource:Q380803 ) ( resource:Q1801486 ) } . ?r property:P840 ?v } }
Bristol Moscow
Aelita or Shoestring are set in Bristol and Moscow
Bristol Moscow
action filter_type
action union
action find
entity Aelita
relation narrative location
action find
entity Shoestring
relation narrative location
type administrative territorial entity
{'OR': [['Aelita', 'narrative location', {'concept': 'administrative territorial entity'}], ['Shoestring', 'narrative location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . { VALUES ( ?r ) { ( resource:Aelita ) ( resource:Shoestring ) } . ?r property:narrative_location ?v } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q994
P190
Q56061
USER
Are Tbilisi partner town of those ones ?
(Q994,P190,Q23154) (Q994,P190,Q649)
action is_in
entity prev_answer
action find
entity Q994
relation P190
['Q994', 'P190', 'Q23154'] ['Q994', 'P190', 'Q649']
ASK WHERE { VALUES ( ?x ) { ( resource:Q23154 ) ( resource:Q649 ) } . resource:Q994 property:P190 ?x }
Tbilisi
action is_in
entity prev_answer
action find
entity Tbilisi
relation sister city
['Tbilisi', 'sister city', 'Bristol'] ['Tbilisi', 'sister city', 'Moscow']
ASK WHERE { VALUES ( ?x ) { ( resource:Bristol ) ( resource:Moscow ) } . resource:Tbilisi property:sister_city ?x }
[]
administrative territorial entity
SYSTEM
YES
(Q994,P190,Q23154) (Q994,P190,Q649)
action is_in
entity prev_answer
action find
entity Q994
relation P190
[ANSWER]
['Q994', 'P190', 'Q23154'] ['Q994', 'P190', 'Q649']
ASK WHERE { VALUES ( ?x ) { ( resource:Q23154 ) ( resource:Q649 ) } . resource:Q994 property:P190 ?x }
Yes
action is_in
entity prev_answer
action find
entity Tbilisi
relation sister city
['Tbilisi', 'sister city', 'Bristol'] ['Tbilisi', 'sister city', 'Moscow']
ASK WHERE { VALUES ( ?x ) { ( resource:Bristol ) ( resource:Moscow ) } . resource:Tbilisi property:sister_city ?x }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q102642 Q922226 Q989447
P1411
Q618779
USER
Was Diane Keaton nominated for Broadcast Film Critics Association Award for Best Actress and Primetime Emmy Award for Outstanding Lead Actress in a Miniseries or a Movie ?
(Q102642,P1411,Q922226) (Q102642,P1411,Q989447)
action is_in
entity Q102642
action intersection
action find_reverse
entity Q922226
relation P1411
action find_reverse
entity Q989447
relation P1411
['Q102642', 'P1411', 'Q922226'] ['Q102642', 'P1411', 'Q989447']
ASK WHERE { resource:Q102642 property:P1411 resource:Q989447 . resource:Q102642 property:P1411 resource:Q922226 }
Diane Keaton Broadcast Film Critics Association Award for Best Actress Primetime Emmy Award for Outstanding Lead Actress in a Miniseries or a Movie
action is_in
entity Diane Keaton
action intersection
action find_reverse
entity Broadcast Film Critics Association Award for Best Actress
relation nominated for
action find_reverse
entity Primetime Emmy Award for Outstanding Lead Actress in a Miniseries or a Movie
relation nominated for
['Diane Keaton', 'nominated for', 'Broadcast Film Critics Association Award for Best Actress'] ['Diane Keaton', 'nominated for', 'Primetime Emmy Award for Outstanding Lead Actress in a Miniseries or a Movie']
ASK WHERE { resource:Diane_Keaton property:nominated_for resource:Primetime_Emmy_Award_for_Outstanding_Lead_Actress_in_a_Miniseries_or_a_Movie . resource:Diane_Keaton property:nominated_for resource:Broadcast_Film_Critics_Association_Award_for_Best_Actress }
[]
award
SYSTEM
YES
(Q102642,P1411,Q922226) (Q102642,P1411,Q989447)
action is_in
entity Q102642
action intersection
action find_reverse
entity Q922226
relation P1411
action find_reverse
entity Q989447
relation P1411
[ANSWER]
['Q102642', 'P1411', 'Q922226'] ['Q102642', 'P1411', 'Q989447']
ASK WHERE { resource:Q102642 property:P1411 resource:Q989447 . resource:Q102642 property:P1411 resource:Q922226 }
Yes
action is_in
entity Diane Keaton
action intersection
action find_reverse
entity Broadcast Film Critics Association Award for Best Actress
relation nominated for
action find_reverse
entity Primetime Emmy Award for Outstanding Lead Actress in a Miniseries or a Movie
relation nominated for
['Diane Keaton', 'nominated for', 'Broadcast Film Critics Association Award for Best Actress'] ['Diane Keaton', 'nominated for', 'Primetime Emmy Award for Outstanding Lead Actress in a Miniseries or a Movie']
ASK WHERE { resource:Diane_Keaton property:nominated_for resource:Primetime_Emmy_Award_for_Outstanding_Lead_Actress_in_a_Miniseries_or_a_Movie . resource:Diane_Keaton property:nominated_for resource:Broadcast_Film_Critics_Association_Award_for_Best_Actress }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q444410 Q145
P27
Q15617994
USER
Is Lesley Manville a civilian of United Kingdom ?
(Q444410,P27,Q145)
action is_in
entity Q145
action find
entity Q444410
relation P27
['Q444410', 'P27', 'Q145']
ASK WHERE { resource:Q444410 property:P27 resource:Q145 }
Lesley Manville United Kingdom
action is_in
entity United Kingdom
action find
entity Lesley Manville
relation country of citizenship
['Lesley Manville', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Lesley_Manville property:country_of_citizenship resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q444410,P27,Q145)
action is_in
entity Q145
action find
entity Q444410
relation P27
[ANSWER]
['Q444410', 'P27', 'Q145']
ASK WHERE { resource:Q444410 property:P27 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Lesley Manville
relation country of citizenship
['Lesley Manville', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Lesley_Manville property:country_of_citizenship resource:United_Kingdom }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q380803
P161
Q502895
USER
How many people were casted in Aelita ?
(Q380803,P161,c(Q502895))
action count
action filter_type
action find
entity Q380803
relation P161
type Q502895
['Q380803', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:Q502895 . resource:Q380803 property:P161 ?n }
Aelita
action count
action filter_type
action find
entity Aelita
relation cast member
type common name
['Aelita', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:common_name . resource:Aelita property:cast_member ?n }
[]
common name
SYSTEM
6
Q4504509 Q976903 Q860409 Q2547318 Q2358989 Q284136
(Q380803,P161,c(Q502895))
action count
action filter_type
action find
entity Q380803
relation P161
type Q502895
[ANSWER]
['Q380803', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:Q502895 . resource:Q380803 property:P161 ?n }
Nikolai Tseretelli Vera Georgiyevna Orlova Yuri Zavadsky Yuliya Solntseva Igor Ilyinsky Nikolai Batalov
6
action count
action filter_type
action find
entity Aelita
relation cast member
type common name
['Aelita', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:common_name . resource:Aelita property:cast_member ?n }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q576371
P161
Q502895
USER
And what about Round Midnight?
(Q576371,P161,c(Q502895))
action count
action filter_type
action find
entity Q576371
relation P161
type Q502895
['Q576371', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Q576371 property:P161 ?t . ?t rdf:type ontology:Q502895 }
Round Midnight
action count
action filter_type
action find
entity Round Midnight
relation cast member
type common name
['Round Midnight', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Round_Midnight property:cast_member ?t . ?t rdf:type ontology:common_name }
[]
common name
SYSTEM
50
Q21486066 Q21486064 Q451637 Q41148 Q21486120 Q434593 Q3367712 Q317161 Q983158 Q21486082 Q164757 Q453604 Q246462 Q186351 Q563508 Q21486150 Q346762 Q21486112 Q645167 Q3100050 Q21486138 Q1374899 Q21486071 Q21486131 Q538542 Q712827 Q4798754 Q3179126 Q3387147 Q3047356 Q3159793 Q21486158 Q7002380 Q324522 Q106482 Q21486090 Q21486134 Q597128 Q3345892 Q600051 Q2863316 Q726150 Q288213 Q888571 Q105875 Q3240843 Q118116 Q21486127 Q21486122 Q2896655
(Q576371,P161,c(Q502895))
action count
action filter_type
action find
entity Q576371
relation P161
type Q502895
[ANSWER]
['Q576371', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Q576371 property:P161 ?t . ?t rdf:type ontology:Q502895 }
Sandra Reaves-Phillips Gabrielle Haker Christine Pascal Martin Scorsese Charles Belonzi Ron Carter Pascale Vignal Wayne Shorter Marcel Zanini Hart Leroy Bibbs John McLaughlin Tony Williams Cedar Walton Jacky Terrasson John Berry Pascal Tedes Freddie Hubbard Michel Perez Marc-Édouard Nabe Ged Marlon Luc Sarot Palle Mikkelborg Frédérique Meininger Patrick Massieu Lonette McKee Alain Sarde Arthur French Jimmy Slyde Pierre Trabaud Eddy Mitchell Jacques Poitrenaud Martine Guillaud Cheikh Fall Billy Higgins Philippe Noiret Victoria Gabrielle Platt Philippe Moreau Pierre Michelot Noël Simsolo François Cluzet Arno Chevrier Mads Vinding Éric Le Lann Bobby Hutcherson Herbie Hancock Liliane Rovère Dexter Gordon Guy Louret Marpessa Djian Benoît Régent
50
action count
action filter_type
action find
entity Round Midnight
relation cast member
type common name
['Round Midnight', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Round_Midnight property:cast_member ?t . ?t rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q24731518
Q502895
USER
And how about Cold War 2?
(Q24731518,P161,c(Q502895))
action count
action filter_type
action find
entity Q24731518
relation P161
type Q502895
['Q24731518', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { resource:Q24731518 property:P161 ?u . ?u rdf:type ontology:Q502895 }
Cold War 2
action count
action filter_type
action find
entity Cold War 2
relation cast member
type common name
['Cold War 2', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { resource:Cold_War_2 property:cast_member ?u . ?u rdf:type ontology:common_name }
[]
common name
SYSTEM
46
(Q24731518,P161,c(Q502895))
action count
action filter_type
action find
entity Q24731518
relation P161
type Q502895
[ANSWER]
['Q24731518', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { resource:Q24731518 property:P161 ?u . ?u rdf:type ontology:Q502895 }
46
action count
action filter_type
action find
entity Cold War 2
relation cast member
type common name
['Cold War 2', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { resource:Cold_War_2 property:cast_member ?u . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have approximately 2 administrative territories as registry port ?
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?s = 2 ) . { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?s ) WHERE { ?a property:P532 ?o . ?a rdf:type ontology:Q2235308 . ?o rdf:type ontology:Q56061 } GROUP BY ?a } }
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?s = 2 ) . { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?s ) WHERE { ?a property:port_of_registry ?o . ?a rdf:type ontology:ship_type . ?o rdf:type ontology:administrative_territorial_entity } GROUP BY ?a } }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q33209
SYSTEM
MS Azura, SS Maxim Gorkiy, Mary Celeste
Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[ANSWERS] have approximately 2 administrative territories as registry port
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?s = 2 ) . { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?s ) WHERE { ?a property:P532 ?o . ?a rdf:type ontology:Q2235308 . ?o rdf:type ontology:Q56061 } GROUP BY ?a } }
Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
MS Azura, SS Maxim Gorkiy and Mary Celeste have approximately 2 administrative territories as registry port
MS Azura SS Maxim Gorkiy Mary Celeste
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?s = 2 ) . { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?s ) WHERE { ?a property:port_of_registry ?o . ?a rdf:type ontology:ship_type . ?o rdf:type ontology:administrative_territorial_entity } GROUP BY ?a } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q649
P190
Q56061 Q515
USER
How many administrative territories and cities are sister towns of Moscow ?
(Q649,P190,c(Q56061)) (Q649,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q649
relation P190
type Q56061
action filter_type
action find
entity Q649
relation P190
type Q515
['Q649', 'P190', {'concept': 'Q56061'}] ['Q649', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { VALUES ( ?j ) { ( ontology:Q56061 ) ( ontology:Q515 ) } . ?q rdf:type ?j }
Moscow
action count
action union
action filter_type
action find
entity Moscow
relation sister city
type administrative territorial entity
action filter_type
action find
entity Moscow
relation sister city
type city
['Moscow', 'sister city', {'concept': 'administrative territorial entity'}] ['Moscow', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { VALUES ( ?j ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } . ?q rdf:type ?j }
[]
administrative territorial entity city
SYSTEM
49 administrative territories and 11 cities
Q807 Q41572 Q131290 Q994 Q8684 Q437 Q1353 Q727 Q1486 Q3572 Q472 Q23564 Q179830 Q13498 Q178373 Q42308 Q1770 Q1773 Q1718 Q18808 Q1297 Q9005 Q196678 Q1524 Q19660 Q1780 Q1520 Q3616 Q1741 Q64 Q3630 Q140147 Q25409 Q33935 Q3561 Q1490 Q1461 Q84 Q85 Q486282 Q19566 Q19689 Q1861 Q3820 Q216 Q43070 Q3004 Q270 Q987 Q239 Q1953 Q2807 Q956 Q3640 Q3805 Q1491 Q1218 Q133026 Q186576 Q1085
(Q649,P190,c(Q56061)) (Q649,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q649
relation P190
type Q56061
action filter_type
action find
entity Q649
relation P190
type Q515
[ANSWER]
['Q649', 'P190', {'concept': 'Q56061'}] ['Q649', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { VALUES ( ?j ) { ( ontology:Q56061 ) ( ontology:Q515 ) } . ?q rdf:type ?j }
Lausanne Mykolaiv Ganja Tbilisi Seoul Ljubljana Delhi Amsterdam Buenos Aires Tunis Sofia Podgorica Jelgava Taranto Rasht Kharkiv Tallinn Riga Düsseldorf Pyongyang Chicago Brussels Torzhok Athens Bucharest Bratislava Astana Tehran Vienna Berlin Jakarta Brest Košice Tel Aviv Algiers Tokyo Manila London Cairo Pavlodar Simferopol Tirana Bangkok Beirut Vilnius Donetsk Ingolstadt Warsaw New Delhi Brussels Yerevan Madrid Beijing Ankara Amman La Paz Jerusalem Kolomna Pazardzhik Prague
49 administrative territories and 11 cities
action count
action union
action filter_type
action find
entity Moscow
relation sister city
type administrative territorial entity
action filter_type
action find
entity Moscow
relation sister city
type city
['Moscow', 'sister city', {'concept': 'administrative territorial entity'}] ['Moscow', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { VALUES ( ?j ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } . ?q rdf:type ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q649
P237
Q17335294
USER
What is the ensign for that administrative territory ?
action filter_type
action find
entity Q649
relation P237
type Q17335294
SELECT DISTINCT ?l WHERE { resource:Q649 property:P237 ?l . ?l rdf:type ontology:Q17335294 }
Moscow
action filter_type
action find
entity Moscow
relation coat of arms
type flag or coat of arms
SELECT DISTINCT ?l WHERE { resource:Moscow property:coat_of_arms ?l . ?l rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q2079384
SYSTEM
Coat of arms of Moscow
Q2079384
action filter_type
action find
entity Q649
relation P237
type Q17335294
The ensign for that administrative territory is the [ANSWER]
SELECT DISTINCT ?l WHERE { resource:Q649 property:P237 ?l . ?l rdf:type ontology:Q17335294 }
Coat of arms of Moscow
The ensign for that administrative territory is the Coat of arms of Moscow
Coat of arms of Moscow
action filter_type
action find
entity Moscow
relation coat of arms
type flag or coat of arms
SELECT DISTINCT ?l WHERE { resource:Moscow property:coat_of_arms ?l . ?l rdf:type ontology:flag_or_coat_of_arms }
[]