Simple Question (Direct)
Simple Question
Q6266407
P136
Q151885
USER
Which genre does Johnny Bush belong to ?
(Q6266407,P136,c(Q151885))
action filter_type
action find
entity Q6266407
relation P136
type Q151885
['Q6266407', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { resource:Q6266407 property:P136 ?h . ?h rdf:type ontology:Q151885 }
Johnny Bush
action filter_type
action find
entity Johnny Bush
relation genre
type concept
['Johnny Bush', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { resource:Johnny_Bush property:genre ?h . ?h rdf:type ontology:concept }
[]
concept
Q83440
SYSTEM
country music
Q83440
(Q6266407,P136,c(Q151885))
action filter_type
action find
entity Q6266407
relation P136
type Q151885
Johnny Bush belongs to [ANSWER]
['Q6266407', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { resource:Q6266407 property:P136 ?h . ?h rdf:type ontology:Q151885 }
country music
Johnny Bush belongs to country music
country music
action filter_type
action find
entity Johnny Bush
relation genre
type concept
['Johnny Bush', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { resource:Johnny_Bush property:genre ?h . ?h rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6266407
P175
Q2031291
USER
Which release gave the performance of Johnny Bush ?
(c(Q2031291),P175,Q6266407)
action filter_type
action find_reverse
entity Q6266407
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q6266407']
SELECT DISTINCT ?i WHERE { ?i property:P175 resource:Q6266407 . ?i rdf:type ontology:Q2031291 }
Johnny Bush
action filter_type
action find_reverse
entity Johnny Bush
relation performer
type release
[{'concept': 'release'}, 'performer', 'Johnny Bush']
SELECT DISTINCT ?i WHERE { ?i property:performer resource:Johnny_Bush . ?i rdf:type ontology:release }
[]
release
Q7993889
SYSTEM
Whiskey River
Q7993889
(c(Q2031291),P175,Q6266407)
action filter_type
action find_reverse
entity Q6266407
relation P175
type Q2031291
[ANSWER] gave the performance of Johnny Bush
[{'concept': 'Q2031291'}, 'P175', 'Q6266407']
SELECT DISTINCT ?i WHERE { ?i property:P175 resource:Q6266407 . ?i rdf:type ontology:Q2031291 }
Whiskey River
Whiskey River gave the performance of Johnny Bush
Whiskey River
action filter_type
action find_reverse
entity Johnny Bush
relation performer
type release
[{'concept': 'release'}, 'performer', 'Johnny Bush']
SELECT DISTINCT ?i WHERE { ?i property:performer resource:Johnny_Bush . ?i rdf:type ontology:release }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7993889
P264
Q334453
USER
Which division is the record brand of that release ?
(Q7993889,P264,c(Q334453))
action filter_type
action find
entity Q7993889
relation P264
type Q334453
['Q7993889', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?j WHERE { resource:Q7993889 property:P264 ?j . ?j rdf:type ontology:Q334453 }
Whiskey River
action filter_type
action find
entity Whiskey River
relation record label
type division
['Whiskey River', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?j WHERE { resource:Whiskey_River property:record_label ?j . ?j rdf:type ontology:division }
[]
division
Q202585
SYSTEM
RCA Records
Q202585
(Q7993889,P264,c(Q334453))
action filter_type
action find
entity Q7993889
relation P264
type Q334453
Records [ANSWER] is the record brand of that release
['Q7993889', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?j WHERE { resource:Q7993889 property:P264 ?j . ?j rdf:type ontology:Q334453 }
RCA Records
Records RCA Records is the record brand of that release
RCA Records
action filter_type
action find
entity Whiskey River
relation record label
type division
['Whiskey River', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?j WHERE { resource:Whiskey_River property:record_label ?j . ?j rdf:type ontology:division }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q2031291 Q482994 Q15619164
USER
Which releases are around 1 albums or abstract beings a component of ?
(c(Q482994)|c(Q15619164),P361,c(Q2031291))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q2031291
type Q482994
action find_reverse_tuple_counts
relation P361
type Q2031291
type Q15619164
value 1
[[{'concept': 'Q482994'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q2031291'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?t ) WHERE { { ?h property:P361 ?e . ?e rdf:type ontology:Q2031291 . ?h rdf:type ontology:Q482994 } UNION { ?h property:P361 ?e . ?e rdf:type ontology:Q2031291 . ?h rdf:type ontology:Q15619164 } } GROUP BY ?e } . FILTER ( ?t = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation part of
type release
type album
action find_reverse_tuple_counts
relation part of
type release
type abstract being
value 1
[[{'concept': 'album'}, {'concept': 'abstract being'}], 'part of', {'concept': 'release'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?t ) WHERE { { ?h property:part_of ?e . ?e rdf:type ontology:release . ?h rdf:type ontology:album } UNION { ?h property:part_of ?e . ?e rdf:type ontology:release . ?h rdf:type ontology:abstract_being } } GROUP BY ?e } . FILTER ( ?t = 1 ) }
[]
release album abstract being
Q907040 Q1931837
SYSTEM
Polaris, Emmerdale
Q907040 Q1931837
(c(Q482994)|c(Q15619164),P361,c(Q2031291))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q2031291
type Q482994
action find_reverse_tuple_counts
relation P361
type Q2031291
type Q15619164
value 1
[ANSWERS] are around 1 albums or abstract beings a component of
[[{'concept': 'Q482994'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q2031291'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?t ) WHERE { { ?h property:P361 ?e . ?e rdf:type ontology:Q2031291 . ?h rdf:type ontology:Q482994 } UNION { ?h property:P361 ?e . ?e rdf:type ontology:Q2031291 . ?h rdf:type ontology:Q15619164 } } GROUP BY ?e } . FILTER ( ?t = 1 ) }
Polaris Emmerdale
Polaris and Emmerdale are around 1 albums or abstract beings a component of
Polaris Emmerdale
action approx
action union
action find_reverse_tuple_counts
relation part of
type release
type album
action find_reverse_tuple_counts
relation part of
type release
type abstract being
value 1
[[{'concept': 'album'}, {'concept': 'abstract being'}], 'part of', {'concept': 'release'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?t ) WHERE { { ?h property:part_of ?e . ?e rdf:type ontology:release . ?h rdf:type ontology:album } UNION { ?h property:part_of ?e . ?e rdf:type ontology:release . ?h rdf:type ontology:abstract_being } } GROUP BY ?e } . FILTER ( ?t = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1931837
P800
Q502895
USER
Whose notable work was that release ?
(c(Q502895),P800,Q1931837)
action filter_type
action find_reverse
entity Q1931837
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q1931837']
SELECT DISTINCT ?m WHERE { ?m property:P800 resource:Q1931837 . ?m rdf:type ontology:Q502895 }
Emmerdale
action filter_type
action find_reverse
entity Emmerdale
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Emmerdale']
SELECT DISTINCT ?m WHERE { ?m property:notable_work resource:Emmerdale . ?m rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1931837
SYSTEM
Did you mean Emmerdale ?
Q907040 Q1931837
(c(Q502895),P800,Q907040) (c(Q502895),P800,Q1931837)
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q907040'] [{'concept': 'Q502895'}, 'P800', 'Q1931837']
SELECT DISTINCT ?m WHERE { ?m property:P800 resource:Q1931837 . ?m rdf:type ontology:Q502895 }
Polaris Emmerdale
Did you mean Emmerdale ?
Emmerdale
[{'concept': 'common name'}, 'notable work', 'Polaris'] [{'concept': 'common name'}, 'notable work', 'Emmerdale']
SELECT DISTINCT ?m WHERE { ?m property:notable_work resource:Emmerdale . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P800,Q1931837)
[{'concept': 'Q502895'}, 'P800', 'Q1931837']
[{'concept': 'common name'}, 'notable work', 'Emmerdale']
[]
Q273403
SYSTEM
Jenna Coleman
Q273403
(c(Q502895),P800,Q1931837)
action filter_type
action find_reverse
entity Q1931837
relation P800
type Q502895
[ANSWER] was that release
[{'concept': 'Q502895'}, 'P800', 'Q1931837']
SELECT DISTINCT ?m WHERE { ?m property:P800 resource:Q1931837 . ?m rdf:type ontology:Q502895 }
Jenna Coleman
Jenna Coleman was that release
Jenna Coleman
action filter_type
action find_reverse
entity Emmerdale
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Emmerdale']
SELECT DISTINCT ?m WHERE { ?m property:notable_work resource:Emmerdale . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P161
Q15416 Q838948
USER
How many television programs or works of art do that person star in ?
(c(Q15416),P161,Q273403) (c(Q838948),P161,Q273403) (c(Q15416),P161,Q273403) (c(Q838948),P161,Q273403)
action count
action union
action filter_type
action find_reverse
entity Q273403
relation P161
type Q15416
action filter_type
action find_reverse
entity Q273403
relation P161
type Q838948
[{'concept': 'Q15416'}, 'P161', 'Q273403'] [{'concept': 'Q838948'}, 'P161', 'Q273403'] [{'concept': 'Q15416'}, 'P161', 'Q273403'] [{'concept': 'Q838948'}, 'P161', 'Q273403']
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { ?d property:P161 resource:Q273403 . ?d rdf:type ontology:Q15416 } UNION { ?d property:P161 resource:Q273403 . ?d rdf:type ontology:Q838948 } }
action count
action union
action filter_type
action find_reverse
entity Jenna Coleman
relation cast member
type television program
action filter_type
action find_reverse
entity Jenna Coleman
relation cast member
type work of art
[{'concept': 'television program'}, 'cast member', 'Jenna Coleman'] [{'concept': 'work of art'}, 'cast member', 'Jenna Coleman'] [{'concept': 'television program'}, 'cast member', 'Jenna Coleman'] [{'concept': 'work of art'}, 'cast member', 'Jenna Coleman']
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { ?d property:cast_member resource:Jenna_Coleman . ?d rdf:type ontology:television_program } UNION { ?d property:cast_member resource:Jenna_Coleman . ?d rdf:type ontology:work_of_art } }
[]
television program work of art
SYSTEM
8
Q15303361 Q275120 Q34316 Q20735644 Q18622957 Q5840086 Q3499780 Q15974768
(c(Q15416),P161,Q273403) (c(Q838948),P161,Q273403) (c(Q15416),P161,Q273403) (c(Q838948),P161,Q273403)
action count
action union
action filter_type
action find_reverse
entity Q273403
relation P161
type Q15416
action filter_type
action find_reverse
entity Q273403
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q15416'}, 'P161', 'Q273403'] [{'concept': 'Q838948'}, 'P161', 'Q273403'] [{'concept': 'Q15416'}, 'P161', 'Q273403'] [{'concept': 'Q838948'}, 'P161', 'Q273403']
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { ?d property:P161 resource:Q273403 . ?d rdf:type ontology:Q15416 } UNION { ?d property:P161 resource:Q273403 . ?d rdf:type ontology:Q838948 } }
Doctor Who (series 8) Captain America: The First Avenger Doctor Who Me Before You Doctor Who (series 9) The Day of the Doctor Waterloo Road Death Comes to Pemberley
8
action count
action union
action filter_type
action find_reverse
entity Jenna Coleman
relation cast member
type television program
action filter_type
action find_reverse
entity Jenna Coleman
relation cast member
type work of art
[{'concept': 'television program'}, 'cast member', 'Jenna Coleman'] [{'concept': 'work of art'}, 'cast member', 'Jenna Coleman'] [{'concept': 'television program'}, 'cast member', 'Jenna Coleman'] [{'concept': 'work of art'}, 'cast member', 'Jenna Coleman']
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { ?d property:cast_member resource:Jenna_Coleman . ?d rdf:type ontology:television_program } UNION { ?d property:cast_member resource:Jenna_Coleman . ?d rdf:type ontology:work_of_art } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q870981
P725
Q502895 Q166142
USER
How many applications did greater number of people dub for than Super Smash Bros. ?
(c(Q166142),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q870981
relation P725
type Q166142
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ontology:Q502895 . ?q rdf:type ontology:Q166142 . ?q property:P725 ?v } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q870981 property:P725 ?f . ?f rdf:type ontology:Q166142 } } . FILTER ( ?m > ?c ) }
Super Smash Bros.
action count
action greater
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Super Smash Bros.
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ontology:common_name . ?q rdf:type ontology:application . ?q property:voice_actor ?v } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Super_Smash_Bros. property:voice_actor ?f . ?f rdf:type ontology:application } } . FILTER ( ?m > ?c ) }
[]
common name application
SYSTEM
6
Q1052131 Q1141963 Q843131 Q23017199 Q1371603 Q2666042
(c(Q166142),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q870981
relation P725
type Q166142
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ontology:Q502895 . ?q rdf:type ontology:Q166142 . ?q property:P725 ?v } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q870981 property:P725 ?f . ?f rdf:type ontology:Q166142 } } . FILTER ( ?m > ?c ) }
Super Smash Bros. Melee Star Fox 64 Super Smash Bros. Brawl Marvel Avengers Academy Star Fox 64 3D Star Fox: Assault
6
action count
action greater
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Super Smash Bros.
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ontology:common_name . ?q rdf:type ontology:application . ?q property:voice_actor ?v } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Super_Smash_Bros. property:voice_actor ?f . ?f rdf:type ontology:application } } . FILTER ( ?m > ?c ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6266407
P106
Q12737077
USER
Which occupations have Johnny Bush as his/her 's career ?
(Q6266407,P106,c(Q12737077))
action filter_type
action find
entity Q6266407
relation P106
type Q12737077
['Q6266407', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q6266407 property:P106 ?t }
Johnny Bush
action filter_type
action find
entity Johnny Bush
relation occupation
type occupation
['Johnny Bush', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Johnny_Bush property:occupation ?t }
[]
occupation
Q753110 Q488205 Q639669
SYSTEM
songwriter, singer-songwriter, musician
Q753110 Q488205 Q639669
(Q6266407,P106,c(Q12737077))
action filter_type
action find
entity Q6266407
relation P106
type Q12737077
[ANSWERS] have Johnny Bush as his/her 's career
['Q6266407', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q6266407 property:P106 ?t }
songwriter singer-songwriter musician
Songwriter, singer-songwriter and musician have Johnny Bush as his/her 's career
songwriter singer-songwriter musician
action filter_type
action find
entity Johnny Bush
relation occupation
type occupation
['Johnny Bush', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Johnny_Bush property:occupation ?t }
[]