Simple Question (Direct)
Simple Question
Q188482
P166
Q2003221
USER
What was awarded to Robin Gibb ?
(Q188482,P166,c(Q2003221))
action filter_type
action find
entity Q188482
relation P166
type Q2003221
['Q188482', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?h WHERE { resource:Q188482 property:P166 ?h . ?h rdf:type ontology:Q2003221 }
Robin Gibb
action filter_type
action find
entity Robin Gibb
relation award received
type chivalric order
['Robin Gibb', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?h WHERE { resource:Robin_Gibb property:award_received ?h . ?h rdf:type ontology:chivalric_order }
[]
chivalric order
Q12201477
SYSTEM
Commander of the Order of the British Empire
Q12201477
(Q188482,P166,c(Q2003221))
action filter_type
action find
entity Q188482
relation P166
type Q2003221
The [ANSWER] was awarded to Robin Gibb
['Q188482', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?h WHERE { resource:Q188482 property:P166 ?h . ?h rdf:type ontology:Q2003221 }
Commander of the Order of the British Empire
The Commander of the Order of the British Empire was awarded to Robin Gibb
Commander of the Order of the British Empire
action filter_type
action find
entity Robin Gibb
relation award received
type chivalric order
['Robin Gibb', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?h WHERE { resource:Robin_Gibb property:award_received ?h . ?h rdf:type ontology:chivalric_order }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q188482
P27
Q15617994
USER
Which administrative territory does Robin Gibb belong to ?
(Q188482,P27,c(Q15617994))
action filter_type
action find
entity Q188482
relation P27
type Q15617994
['Q188482', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q188482 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Robin Gibb
action filter_type
action find
entity Robin Gibb
relation country of citizenship
type designation for an administrative territorial entity
['Robin Gibb', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Robin_Gibb property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q188482,P27,c(Q15617994))
action filter_type
action find
entity Q188482
relation P27
type Q15617994
Robin Gibb belongs to [ANSWER]
['Q188482', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q188482 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
United Kingdom
Robin Gibb belongs to United Kingdom
United Kingdom
action filter_type
action find
entity Robin Gibb
relation country of citizenship
type designation for an administrative territorial entity
['Robin Gibb', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Robin_Gibb property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P530
Q15617994 Q1048835
USER
How many administrative territories and political territories have a diplomatic relationship with that administrative territory ?
(Q145,P530,c(Q15617994)) (Q145,P530,c(Q1048835)) (Q145,P530,c(Q15617994)) (Q145,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q145
relation P530
type Q15617994
action filter_type
action find
entity Q145
relation P530
type Q1048835
['Q145', 'P530', {'concept': 'Q15617994'}] ['Q145', 'P530', {'concept': 'Q1048835'}] ['Q145', 'P530', {'concept': 'Q15617994'}] ['Q145', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
action count
action union
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a rdf:type ?l . VALUES ( ?l ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
7 administrative territories and 3 political territories
Q142 Q403 Q805 Q16 Q37 Q801 Q408 Q155 Q38 Q183
(Q145,P530,c(Q15617994)) (Q145,P530,c(Q1048835)) (Q145,P530,c(Q15617994)) (Q145,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q145
relation P530
type Q15617994
action filter_type
action find
entity Q145
relation P530
type Q1048835
[ANSWER]
['Q145', 'P530', {'concept': 'Q15617994'}] ['Q145', 'P530', {'concept': 'Q1048835'}] ['Q145', 'P530', {'concept': 'Q15617994'}] ['Q145', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
France Serbia Yemen Canada Lithuania Israel Australia Brazil Italy Germany
7 administrative territories and 3 political territories
action count
action union
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { ?a rdf:type ?l . VALUES ( ?l ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P172
Q502895
USER
Which people have United Kingdom as ethnic group ?
(c(Q502895),P172,Q145)
action filter_type
action find_reverse
entity Q145
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q145']
SELECT DISTINCT ?f WHERE { ?f property:P172 resource:Q145 . ?f rdf:type ontology:Q502895 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'United Kingdom']
SELECT DISTINCT ?f WHERE { ?f property:ethnic_group resource:United_Kingdom . ?f rdf:type ontology:common_name }
[]
common name
Q5460575 Q5578020 Q515011
SYSTEM
Florence Brudenell-Bruce, Gok Wan, Dale Winton
Q5460575 Q5578020 Q515011
(c(Q502895),P172,Q145)
action filter_type
action find_reverse
entity Q145
relation P172
type Q502895
[ANSWERS] have United Kingdom as ethnic group
[{'concept': 'Q502895'}, 'P172', 'Q145']
SELECT DISTINCT ?f WHERE { ?f property:P172 resource:Q145 . ?f rdf:type ontology:Q502895 }
Florence Brudenell-Bruce Gok Wan Dale Winton
Florence Brudenell-Bruce, Gok Wan and Dale Winton have United Kingdom as ethnic group
Florence Brudenell-Bruce Gok Wan Dale Winton
action filter_type
action find_reverse
entity United Kingdom
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'United Kingdom']
SELECT DISTINCT ?f WHERE { ?f property:ethnic_group resource:United_Kingdom . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P85
Q7725634
USER
Which literary work is the anthem for United Kingdom ?
(Q145,P85,c(Q7725634))
action filter_type
action find
entity Q145
relation P85
type Q7725634
['Q145', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?s WHERE { resource:Q145 property:P85 ?s . ?s rdf:type ontology:Q7725634 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation anthem
type literary work
['United Kingdom', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?s WHERE { resource:United_Kingdom property:anthem ?s . ?s rdf:type ontology:literary_work }
[]
literary work
Q40807
SYSTEM
God Save the Queen
Q40807
(Q145,P85,c(Q7725634))
action filter_type
action find
entity Q145
relation P85
type Q7725634
God save the Queen is the anthem for United Kingdom
['Q145', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?s WHERE { resource:Q145 property:P85 ?s . ?s rdf:type ontology:Q7725634 }
God Save the Queen
God save the Queen is the anthem for United Kingdom
God Save the Queen
action filter_type
action find
entity United Kingdom
relation anthem
type literary work
['United Kingdom', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?s WHERE { resource:United_Kingdom property:anthem ?s . ?s rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P1313
Q895526
USER
Which authority organ is fulfilled by that administrative territory ?
(Q40807,P1313,c(Q895526))
action filter_type
action find
entity Q145
relation P1313
type Q895526
['Q40807', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q895526 . resource:Q145 property:P1313 ?o }
United Kingdom
action filter_type
action find
entity United Kingdom
relation office held by head of government
type authority organ
['God Save the Queen', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:authority_organ . resource:United_Kingdom property:office_held_by_head_of_government ?o }
[]
authority organ
Q14211
SYSTEM
Prime Minister of the United Kingdom
Q14211
(Q40807,P1313,c(Q895526))
action filter_type
action find
entity Q145
relation P1313
type Q895526
The [ANSWER] is fulfilled by that administrative territory
['Q40807', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q895526 . resource:Q145 property:P1313 ?o }
Prime Minister of the United Kingdom
The Prime Minister of the United Kingdom is fulfilled by that administrative territory
Prime Minister of the United Kingdom
action filter_type
action find
entity United Kingdom
relation office held by head of government
type authority organ
['God Save the Queen', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:authority_organ . resource:United_Kingdom property:office_held_by_head_of_government ?o }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P629
Q571 Q7725634 Q7725634
USER
Which literary works are an edition or translation of exactly 1 books and literary works ?
(c(Q7725634),P629,c(Q571)|c(Q7725634))
action equal
action union
action find_tuple_counts
relation P629
type Q7725634
type Q571
action find_tuple_counts
relation P629
type Q7725634
type Q7725634
value 1
[{'concept': 'Q7725634'}, 'P629', [{'concept': 'Q571'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:Q571 ) ( ontology:Q7725634 ) } } GROUP BY ?j } . FILTER ( ?m = 1 ) }
action equal
action union
action find_tuple_counts
relation edition or translation of
type literary work
type book
action find_tuple_counts
relation edition or translation of
type literary work
type literary work
value 1
[{'concept': 'literary work'}, 'edition or translation of', [{'concept': 'book'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:book ) ( ontology:literary_work ) } } GROUP BY ?j } . FILTER ( ?m = 1 ) }
[]
book literary work literary work
Q24027735 Q27334412 Q27837182
SYSTEM
I once had a beautiful homeland, Ode to Aphrodite (Falconnet), God Help the Outcasts
Q27210275 Q27837182 Q27443389 Q24827886 Q20177221 Q27313478 Q24027735 Q20177216 Q23726750 Q20189645 Q27210603 Q27333152 Q25708757 Q27334412 Q27686311 Q19021359 Q27334838 Q23726780
(c(Q7725634),P629,c(Q571)|c(Q7725634))
action equal
action union
action find_tuple_counts
relation P629
type Q7725634
type Q571
action find_tuple_counts
relation P629
type Q7725634
type Q7725634
value 1
[ANSWERS] are an edition or translation of exactly 1 books and literary works
[{'concept': 'Q7725634'}, 'P629', [{'concept': 'Q571'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:Q571 ) ( ontology:Q7725634 ) } } GROUP BY ?j } . FILTER ( ?m = 1 ) }
La Marseillaise (Patterson) God Help the Outcasts Marseillaise (Porębowicz) Král duchů Marseillaise (Fredin) Marseilléza I once had a beautiful homeland Marseillaise (Strandberg) Glade jul, dejlige jul War Song for the Rhine Army Ye Sons of Freedom, Wake to Glory Ode to Aphrodite (Rubió i Lluch) A marsiliai ének Ode to Aphrodite (Falconnet) Colors of the Wind A Dream Ode to Aphrodite (Sumarokov) Silent Night
I once had a beautiful homeland, Ode to Aphrodite (Falconnet) and God Help the Outcasts are an edition or translation of exactly 1 books and literary works
I once had a beautiful homeland Ode to Aphrodite (Falconnet) God Help the Outcasts
action equal
action union
action find_tuple_counts
relation edition or translation of
type literary work
type book
action find_tuple_counts
relation edition or translation of
type literary work
type literary work
value 1
[{'concept': 'literary work'}, 'edition or translation of', [{'concept': 'book'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ?o . VALUES ( ?o ) { ( ontology:book ) ( ontology:literary_work ) } } GROUP BY ?j } . FILTER ( ?m = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q21
P27
Q502895
USER
How many people are a citizen of United Kingdom and England ?
(c(Q502895),P27,Q145) (c(Q502895),P27,Q21)
action count
action intersection
action filter_type
action find_reverse
entity Q145
relation P27
type Q502895
action filter_type
action find_reverse
entity Q21
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q145'] [{'concept': 'Q502895'}, 'P27', 'Q21']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:P27 resource:Q145 . ?u rdf:type ontology:Q502895 . ?u property:P27 resource:Q21 . ?u rdf:type ontology:Q502895 }
United Kingdom England
action count
action intersection
action filter_type
action find_reverse
entity United Kingdom
relation country of citizenship
type common name
action filter_type
action find_reverse
entity England
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'United Kingdom'] [{'concept': 'common name'}, 'country of citizenship', 'England']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:country_of_citizenship resource:United_Kingdom . ?u rdf:type ontology:common_name . ?u property:country_of_citizenship resource:England . ?u rdf:type ontology:common_name }
[]
common name
SYSTEM
98
Q4960920 Q27793358 Q4120364 Q20937949 Q26978749 Q22035469 Q20641030 Q19966155 Q26931540 Q6518024 Q5229091 Q27159740 Q26950396 Q16199683 Q4798497 Q1609224 Q1490695 Q1737500 Q27672030 Q6223373 Q1524571 Q27763861 Q7366879 Q2159866 Q20730771 Q27301302 Q27623258 Q636113 Q22050020 Q27044004 Q22340249 Q20730869 Q382052 Q22098170 Q19966607 Q6267295 Q1069601 Q6512126 Q7445955 Q5224631 Q27044010 Q5342234 Q1066469 Q15078228 Q25947531 Q202385 Q26971235 Q4468403 Q716016 Q26966443 Q26966441 Q26966440 Q27623299 Q300988 Q13476095 Q19966050 Q21027713 Q249191 Q15913519 Q26971240 Q5126135 Q314102 Q1009479 Q27288815 Q26950477 Q26950562 Q26736898 Q17817303 Q1702835 Q16320253 Q214062 Q573020 Q26971258 Q950509 Q20751448 Q527146 Q506331 Q15997993 Q27043994 Q27044008 Q26971263 Q19938358 Q26971264 Q19842449 Q4112017 Q4767012 Q26237207 Q26966438 Q27623257 Q22035470 Q816599 Q26950417 Q7817287 Q781889 Q5494669 Q26978746 Q4169987 Q26724637
(c(Q502895),P27,Q145) (c(Q502895),P27,Q21)
action count
action intersection
action filter_type
action find_reverse
entity Q145
relation P27
type Q502895
action filter_type
action find_reverse
entity Q21
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q145'] [{'concept': 'Q502895'}, 'P27', 'Q21']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:P27 resource:Q145 . ?u rdf:type ontology:Q502895 . ?u property:P27 resource:Q21 . ?u rdf:type ontology:Q502895 }
Brendan Healy C. M. Robinson Graeme Owens Joshua Johnson Margaret Gardner Ben Lane Ronnie Dunn Jenny Moore Lydia Jane Powell Leggatt Dave Kennedy Grace King Stephen Foster Hull Arthur Douglas Peppercorn Herbert Uber Gabrielle Adcock Ursula Smith A. Durst John Brooks Gillian Gowers H. E. Baldwin Rory Girvan Robin Middleton Jimmy Wilde Alan A. Alexander Sonia Cambril Cornelis Janssens van Ceulen Alex Lane Ian M. Campbell Billy Blake Fred Dawes Jimmy Bullard Joseph Waugh Victoria Williams Johnny Miller W. J. Coffee Helena Lewczynska Seeta Indrani Darrell Goulding Reginald Winnington Fanshawe Edward Cawston Charles William Mitchell Christopher Long Don Parker Arnold Wesker Stan Mitchell Paul Wykes Simon Archer Arthur E. Jones Stuart Wyatt Humphrey Farwell Chilton Sheila Ryder Aamir Ghaffar Betty Grace Gregory Mairs Charles Bumstead Kenny Achampong Emily Westwood Arthur Hill Clare Burt Stuart Taylor George Kay Meagan Heale Harold Marsland Kenneth Greasley Sean Vendy Mike Salmon Jon Rollason Tom Wolfenden Joseph Wright of Derby Anthony Clark Richard Henry Abbatt Elizabeth Cann Gary Fox Margaret Forster Andrew Smith Archie Needham George William Vidal Frank Warner Abbatt William E. Andrew Ed Atkins Geoff Rofe Chloe Birch Adam Virgo Anna Francolini Tony C. Miller R. Bruce Hay Jacqueline Tappin Jessica Pugh Ben Stawski Michael Edge Tom Pugh Julian Morris Fred Boreham Peter Penneket Harry Colclough Hayley Rogers
98
action count
action intersection
action filter_type
action find_reverse
entity United Kingdom
relation country of citizenship
type common name
action filter_type
action find_reverse
entity England
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'United Kingdom'] [{'concept': 'common name'}, 'country of citizenship', 'England']
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:country_of_citizenship resource:United_Kingdom . ?u rdf:type ontology:common_name . ?u property:country_of_citizenship resource:England . ?u rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7191294 Q27837182
P86
Q502895
USER
Which people wrote the music for God Help the Outcasts or Pidichirukku ?
OR((Q27837182,P86,c(Q502895)), (Q7191294,P86,c(Q502895)))
action filter_type
action union
action find
entity Q27837182
relation P86
action find
entity Q7191294
relation P86
type Q502895
{'OR': [['Q27837182', 'P86', {'concept': 'Q502895'}], ['Q7191294', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q27837182 property:P86 ?b } UNION { resource:Q7191294 property:P86 ?b } } . ?b rdf:type ontology:Q502895 }
Pidichirukku God Help the Outcasts
action filter_type
action union
action find
entity God Help the Outcasts
relation composer
action find
entity Pidichirukku
relation composer
type common name
{'OR': [['God Help the Outcasts', 'composer', {'concept': 'common name'}], ['Pidichirukku', 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:God_Help_the_Outcasts property:composer ?b } UNION { resource:Pidichirukku property:composer ?b } } . ?b rdf:type ontology:common_name }
[]
common name
Q317272 Q6752282
SYSTEM
Alan Menken, Manu Ramesan
Q317272 Q6752282
OR((Q27837182,P86,c(Q502895)), (Q7191294,P86,c(Q502895)))
action filter_type
action union
action find
entity Q27837182
relation P86
action find
entity Q7191294
relation P86
type Q502895
[ANSWERS] wrote the music for God Help the Outcasts or Pidichirukku
{'OR': [['Q27837182', 'P86', {'concept': 'Q502895'}], ['Q7191294', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q27837182 property:P86 ?b } UNION { resource:Q7191294 property:P86 ?b } } . ?b rdf:type ontology:Q502895 }
Alan Menken Manu Ramesan
Alan Menken and Manu Ramesan wrote the music for God Help the Outcasts or Pidichirukku
Alan Menken Manu Ramesan
action filter_type
action union
action find
entity God Help the Outcasts
relation composer
action find
entity Pidichirukku
relation composer
type common name
{'OR': [['God Help the Outcasts', 'composer', {'concept': 'common name'}], ['Pidichirukku', 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:God_Help_the_Outcasts property:composer ?b } UNION { resource:Pidichirukku property:composer ?b } } . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q5398426
USER
Which television series did approximately 13 people do the dubbing for ?
(c(Q5398426),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 13
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?b ) WHERE { ?l property:P725 ?f . ?l rdf:type ontology:Q5398426 . ?f rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?b = 13 ) }
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
value 13
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?b ) WHERE { ?l property:voice_actor ?f . ?l rdf:type ontology:television_series . ?f rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?b = 13 ) }
[]
common name television series
Q3280971 Q15392994
SYSTEM
Love Live!, Prison School
Q3280971 Q15392994
(c(Q5398426),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 13
[ANSWERS] approximately 13 people did the dubbing for
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?b ) WHERE { ?l property:P725 ?f . ?l rdf:type ontology:Q5398426 . ?f rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?b = 13 ) }
Love Live! Prison School
Love Live! and Prison School approximately 13 people did the dubbing for
Love Live! Prison School
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
value 13
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?b ) WHERE { ?l property:voice_actor ?f . ?l rdf:type ontology:television_series . ?f rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?b = 13 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q317272
P161
Q838948
USER
Which work of art stars Alan Menken as actor ?
(c(Q838948),P161,Q317272)
action filter_type
action find_reverse
entity Q317272
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q317272']
SELECT DISTINCT ?a WHERE { ?a property:P161 resource:Q317272 . ?a rdf:type ontology:Q838948 }
Alan Menken
action filter_type
action find_reverse
entity Alan Menken
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Alan Menken']
SELECT DISTINCT ?a WHERE { ?a property:cast_member resource:Alan_Menken . ?a rdf:type ontology:work_of_art }
[]
work of art
Q3795562
SYSTEM
Waking Sleeping Beauty
Q3795562
(c(Q838948),P161,Q317272)
action filter_type
action find_reverse
entity Q317272
relation P161
type Q838948
[ANSWER] stars Alan Menken as actor
[{'concept': 'Q838948'}, 'P161', 'Q317272']
SELECT DISTINCT ?a WHERE { ?a property:P161 resource:Q317272 . ?a rdf:type ontology:Q838948 }
Waking Sleeping Beauty
Waking Sleeping Beauty stars Alan Menken as actor
Waking Sleeping Beauty
action filter_type
action find_reverse
entity Alan Menken
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Alan Menken']
SELECT DISTINCT ?a WHERE { ?a property:cast_member resource:Alan_Menken . ?a rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q317272
P1411
Q4220917
USER
Which film awards did Alan Menken receive ?
(Q317272,P1411,c(Q4220917))
action filter_type
action find
entity Q317272
relation P1411
type Q4220917
['Q317272', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?s WHERE { resource:Q317272 property:P1411 ?s . ?s rdf:type ontology:Q4220917 }
Alan Menken
action filter_type
action find
entity Alan Menken
relation nominated for
type film award
['Alan Menken', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?s WHERE { resource:Alan_Menken property:nominated_for ?s . ?s rdf:type ontology:film_award }
[]
film award
Q22235305 Q488651
SYSTEM
Academy Award for Best Original Musical or Comedy Score, Academy Award for Best Original Score
Q22235305 Q488651
(Q317272,P1411,c(Q4220917))
action filter_type
action find
entity Q317272
relation P1411
type Q4220917
Alan Menken received the [ANSWERS]
['Q317272', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?s WHERE { resource:Q317272 property:P1411 ?s . ?s rdf:type ontology:Q4220917 }
Academy Award for Best Original Musical or Comedy Score Academy Award for Best Original Score
Alan Menken received the Academy Award for Best Original Musical or Comedy Score and Academy Award for Best Original Score
Academy Award for Best Original Musical or Comedy Score Academy Award for Best Original Score
action filter_type
action find
entity Alan Menken
relation nominated for
type film award
['Alan Menken', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?s WHERE { resource:Alan_Menken property:nominated_for ?s . ?s rdf:type ontology:film_award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q317272
P800
Q1001378
USER
What notable work were done by Alan Menken ?
(Q317272,P800,c(Q1001378))
action filter_type
action find
entity Q317272
relation P800
type Q1001378
['Q317272', 'P800', {'concept': 'Q1001378'}]
SELECT DISTINCT ?c WHERE { resource:Q317272 property:P800 ?c . ?c rdf:type ontology:Q1001378 }
Alan Menken
action filter_type
action find
entity Alan Menken
relation notable work
type cinematic technique
['Alan Menken', 'notable work', {'concept': 'cinematic technique'}]
SELECT DISTINCT ?c WHERE { resource:Alan_Menken property:notable_work ?c . ?c rdf:type ontology:cinematic_technique }
[]
cinematic technique
Q188439 Q208696
SYSTEM
Tangled, Tarzan
Q188439 Q208696
(Q317272,P800,c(Q1001378))
action filter_type
action find
entity Q317272
relation P800
type Q1001378
The [ANSWERS] were done by Alan Menken
['Q317272', 'P800', {'concept': 'Q1001378'}]
SELECT DISTINCT ?c WHERE { resource:Q317272 property:P800 ?c . ?c rdf:type ontology:Q1001378 }
Tangled Tarzan
The Tangled and Tarzan were done by Alan Menken
Tangled Tarzan
action filter_type
action find
entity Alan Menken
relation notable work
type cinematic technique
['Alan Menken', 'notable work', {'concept': 'cinematic technique'}]
SELECT DISTINCT ?c WHERE { resource:Alan_Menken property:notable_work ?c . ?c rdf:type ontology:cinematic_technique }
[]