Simple Question (Direct)
Simple Question
Q465910
P364
Q34770
USER
Which language was used originally for the creation of Phone Booth ?
(Q465910,P364,c(Q34770))
action filter_type
action find
entity Q465910
relation P364
type Q34770
['Q465910', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q465910 property:P364 ?w . ?w rdf:type ontology:Q34770 }
Phone Booth
action filter_type
action find
entity Phone Booth
relation original language of work
type language
['Phone Booth', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Phone_Booth property:original_language_of_work ?w . ?w rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q465910,P364,c(Q34770))
action filter_type
action find
entity Q465910
relation P364
type Q34770
[ANSWER] was used originally for the creation of Phone Booth
['Q465910', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q465910 property:P364 ?w . ?w rdf:type ontology:Q34770 }
English
English was used originally for the creation of Phone Booth
English
action filter_type
action find
entity Phone Booth
relation original language of work
type language
['Phone Booth', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Phone_Booth property:original_language_of_work ?w . ?w rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q465910
P161
Q502895
USER
Who were casted in that work of art ?
(Q1860,P161,c(Q502895))
action filter_type
action find
entity Q465910
relation P161
type Q502895
['Q1860', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q465910 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Phone Booth
action filter_type
action find
entity Phone Booth
relation cast member
type common name
['English', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Phone_Booth property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
common name
Q103946 Q182763 Q174346
SYSTEM
Kiefer Sutherland, Forest Whitaker, Katie Holmes
Q1712385 Q174346 Q270186 Q182763 Q23214221 Q374181 Q311804 Q103946 Q24681807 Q24681435 Q3194756 Q3333454 Q24681634 Q2656244 Q24682190 Q24681781 Q172035 Q1181040 Q24680991 Q24681365 Q24681509 Q24682503 Q24682371 Q24682012 Q230516 Q2050378 Q24681278 Q3532579 Q24681667 Q24681148 Q24682054 Q24681554 Q2298419 Q24681752 Q24682452 Q545073 Q299826
(Q1860,P161,c(Q502895))
action filter_type
action find
entity Q465910
relation P161
type Q502895
[ANSWERS] were casted in that work of art
['Q1860', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q465910 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Julio Oscar Mechoso Katie Holmes Tia Texada Forest Whitaker Svetlana Efremova Richard T. Jones Ben Foster Kiefer Sutherland Shu Lan Tuan Troy Gilbert Keith Nobbs Maile Flanagan Billy Erb Yorgo Constantine Tyree Michael Simpson Zidu Chen Colin Farrell Dean Cochran Arian Ash Colin Patrick Lynch Richard Paradise Paul Fontana Dean Tarrolly Amy Kowallis Radha Mitchell Josh Pais James MacDonald Tory Kittles Tom Reynolds Dell Yount Bruce Roberts Seth William Meier John Enos III Karara Muhoro Mary Randle Domenick Lombardozzi Paula Jai Parker
Kiefer Sutherland, Forest Whitaker and Katie Holmes were casted in that work of art
Kiefer Sutherland Forest Whitaker Katie Holmes
action filter_type
action find
entity Phone Booth
relation cast member
type common name
['English', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Phone_Booth property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q103946
P1346
Q4220917
USER
Where was Kiefer Sutherland decalred as a champion ?
(c(Q4220917),P1346,Q103946)
action filter_type
action find_reverse
entity Q103946
relation P1346
type Q4220917
[{'concept': 'Q4220917'}, 'P1346', 'Q103946']
SELECT DISTINCT ?o WHERE { ?o property:P1346 resource:Q103946 . ?o rdf:type ontology:Q4220917 }
Kiefer Sutherland
action filter_type
action find_reverse
entity Kiefer Sutherland
relation winner
type film award
[{'concept': 'film award'}, 'winner', 'Kiefer Sutherland']
SELECT DISTINCT ?o WHERE { ?o property:winner resource:Kiefer_Sutherland . ?o rdf:type ontology:film_award }
[]
film award
Q3473898
SYSTEM
Satellite Award for Best Actor – Television Series Drama
Q3473898
(c(Q4220917),P1346,Q103946)
action filter_type
action find_reverse
entity Q103946
relation P1346
type Q4220917
[ANSWER] Kiefer Sutherland was decalred as a champion
[{'concept': 'Q4220917'}, 'P1346', 'Q103946']
SELECT DISTINCT ?o WHERE { ?o property:P1346 resource:Q103946 . ?o rdf:type ontology:Q4220917 }
Satellite Award for Best Actor – Television Series Drama
Satellite Award for Best Actor – Television Series Drama Kiefer Sutherland was decalred as a champion
Satellite Award for Best Actor – Television Series Drama
action filter_type
action find_reverse
entity Kiefer Sutherland
relation winner
type film award
[{'concept': 'film award'}, 'winner', 'Kiefer Sutherland']
SELECT DISTINCT ?o WHERE { ?o property:winner resource:Kiefer_Sutherland . ?o rdf:type ontology:film_award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q103946
P170
Q15416
USER
What was developed by Kiefer Sutherland ?
(c(Q15416),P170,Q103946)
action filter_type
action find_reverse
entity Q103946
relation P170
type Q15416
[{'concept': 'Q15416'}, 'P170', 'Q103946']
SELECT DISTINCT ?p WHERE { ?p property:P170 resource:Q103946 . ?p rdf:type ontology:Q15416 }
Kiefer Sutherland
action filter_type
action find_reverse
entity Kiefer Sutherland
relation creator
type television program
[{'concept': 'television program'}, 'creator', 'Kiefer Sutherland']
SELECT DISTINCT ?p WHERE { ?p property:creator resource:Kiefer_Sutherland . ?p rdf:type ontology:television_program }
[]
television program
Q1101465
SYSTEM
The Confession
Q1101465
(c(Q15416),P170,Q103946)
action filter_type
action find_reverse
entity Q103946
relation P170
type Q15416
[ANSWER] was developed by Kiefer Sutherland
[{'concept': 'Q15416'}, 'P170', 'Q103946']
SELECT DISTINCT ?p WHERE { ?p property:P170 resource:Q103946 . ?p rdf:type ontology:Q15416 }
The Confession
The Confession was developed by Kiefer Sutherland
The Confession
action filter_type
action find_reverse
entity Kiefer Sutherland
relation creator
type television program
[{'concept': 'television program'}, 'creator', 'Kiefer Sutherland']
SELECT DISTINCT ?p WHERE { ?p property:creator resource:Kiefer_Sutherland . ?p rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q103946
P1411
Q4220917
USER
Which film awards were Kiefer Sutherland a recipient of ?
(Q103946,P1411,c(Q4220917))
action filter_type
action find
entity Q103946
relation P1411
type Q4220917
['Q103946', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q4220917 . resource:Q103946 property:P1411 ?o }
Kiefer Sutherland
action filter_type
action find
entity Kiefer Sutherland
relation nominated for
type film award
['Kiefer Sutherland', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:film_award . resource:Kiefer_Sutherland property:nominated_for ?o }
[]
film award
Q3473898 Q1062026
SYSTEM
Satellite Award for Best Actor – Television Series Drama, MTV Movie Award for Best Villain
Q3473898 Q1062026
(Q103946,P1411,c(Q4220917))
action filter_type
action find
entity Q103946
relation P1411
type Q4220917
[ANSWERS] were Kiefer Sutherland a recipient of
['Q103946', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q4220917 . resource:Q103946 property:P1411 ?o }
Satellite Award for Best Actor – Television Series Drama MTV Movie Award for Best Villain
Satellite Award for Best Actor – Television Series Drama and MTV Movie Award for Best Villain were Kiefer Sutherland a recipient of
Satellite Award for Best Actor – Television Series Drama MTV Movie Award for Best Villain
action filter_type
action find
entity Kiefer Sutherland
relation nominated for
type film award
['Kiefer Sutherland', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:film_award . resource:Kiefer_Sutherland property:nominated_for ?o }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3473898 Q1062026
P1411
Q502895
USER
What were nominated for Satellite Award for Best Actor – Television Series Drama and MTV Movie Award for Best Villain ?
(c(Q502895),P1411,Q3473898) (c(Q502895),P1411,Q1062026)
action union
action filter_type
action find_reverse
entity Q3473898
relation P1411
type Q502895
action filter_type
action find_reverse
entity Q1062026
relation P1411
type Q502895
[{'concept': 'Q502895'}, 'P1411', 'Q3473898'] [{'concept': 'Q502895'}, 'P1411', 'Q1062026']
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:Q502895 . ?v property:P1411 resource:Q1062026 } UNION { ?v property:P1411 resource:Q3473898 . ?v rdf:type ontology:Q502895 } }
Satellite Award for Best Actor – Television Series Drama MTV Movie Award for Best Villain
action union
action filter_type
action find_reverse
entity Satellite Award for Best Actor – Television Series Drama
relation nominated for
type common name
action filter_type
action find_reverse
entity MTV Movie Award for Best Villain
relation nominated for
type common name
[{'concept': 'common name'}, 'nominated for', 'Satellite Award for Best Actor – Television Series Drama'] [{'concept': 'common name'}, 'nominated for', 'MTV Movie Award for Best Villain']
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:common_name . ?v property:nominated_for resource:MTV_Movie_Award_for_Best_Villain } UNION { ?v property:nominated_for resource:Satellite_Award_for_Best_Actor_–_Television_Series_Drama . ?v rdf:type ontology:common_name } }
[]
common name
Q11617 Q134895 Q134895
SYSTEM
Aaliyah for 1st, Javier Bardem for 2nd, 3rd
Q103946 Q103946 Q110374 Q110374 Q110374 Q296887 Q104061 Q352180 Q296616 Q296616 Q4223 Q134895 Q134895 Q102711 Q244674 Q103946 Q103946 Q203804 Q10738 Q37628 Q103784 Q202589 Q105682 Q105682 Q106481 Q125904 Q11617 Q103578
(c(Q502895),P1411,Q3473898) (c(Q502895),P1411,Q1062026)
action union
action filter_type
action find_reverse
entity Q3473898
relation P1411
type Q502895
action filter_type
action find_reverse
entity Q1062026
relation P1411
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1411', 'Q3473898'] [{'concept': 'Q502895'}, 'P1411', 'Q1062026']
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:Q502895 . ?v property:P1411 resource:Q1062026 } UNION { ?v property:P1411 resource:Q3473898 . ?v rdf:type ontology:Q502895 } }
Kiefer Sutherland Kiefer Sutherland Bill Paxton Bill Paxton Bill Paxton Freddie Highmore Steve Buscemi Bradley Whitford Gabriel Byrne Gabriel Byrne Julian McMahon Javier Bardem Javier Bardem Dennis Hopper Benedict Cumberbatch Kiefer Sutherland Kiefer Sutherland Tim Roth Dwayne Johnson Mila Kunis Donald Sutherland Cillian Murphy Tom Felton Tom Felton Alan Rickman Edward Norton Aaliyah Macaulay Culkin
Aaliyah, Javier Bardem and Javier Bardem were nominated for Satellite Award for Best Actor – Television Series Drama and MTV Movie Award for Best Villain
Aaliyah Javier Bardem Javier Bardem
action union
action filter_type
action find_reverse
entity Satellite Award for Best Actor – Television Series Drama
relation nominated for
type common name
action filter_type
action find_reverse
entity MTV Movie Award for Best Villain
relation nominated for
type common name
[{'concept': 'common name'}, 'nominated for', 'Satellite Award for Best Actor – Television Series Drama'] [{'concept': 'common name'}, 'nominated for', 'MTV Movie Award for Best Villain']
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:common_name . ?v property:nominated_for resource:MTV_Movie_Award_for_Best_Villain } UNION { ?v property:nominated_for resource:Satellite_Award_for_Best_Actor_–_Television_Series_Drama . ?v rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3473898
P166
Q15416
USER
Which television program received the award titled that one ?
(c(Q15416),P166,Q3473898)
action filter_type
action find_reverse
entity Q3473898
relation P166
type Q15416
[{'concept': 'Q15416'}, 'P166', 'Q3473898']
SELECT DISTINCT ?i WHERE { ?i property:P166 resource:Q3473898 . ?i rdf:type ontology:Q15416 }
Satellite Award for Best Actor – Television Series Drama
action filter_type
action find_reverse
entity Satellite Award for Best Actor – Television Series Drama
relation award received
type television program
[{'concept': 'television program'}, 'award received', 'Satellite Award for Best Actor – Television Series Drama']
SELECT DISTINCT ?i WHERE { ?i property:award_received resource:Satellite_Award_for_Best_Actor_–_Television_Series_Drama . ?i rdf:type ontology:television_program }
[]
television program
Clarification for simple ques.
Q3473898
SYSTEM
Did you mean Satellite Award for Best Actor – Television Series Drama ?
Q11617 Q134895 Q134895
(c(Q15416),P166,Q11617) (c(Q15416),P166,Q134895) (c(Q15416),P166,Q134895)
[ANSWER]
[{'concept': 'Q15416'}, 'P166', 'Q11617'] [{'concept': 'Q15416'}, 'P166', 'Q134895'] [{'concept': 'Q15416'}, 'P166', 'Q134895']
SELECT DISTINCT ?i WHERE { ?i property:P166 resource:Q3473898 . ?i rdf:type ontology:Q15416 }
Aaliyah Javier Bardem Javier Bardem
Did you mean Satellite Award for Best Actor – Television Series Drama ?
Satellite Award for Best Actor – Television Series Drama
[{'concept': 'television program'}, 'award received', 'Aaliyah'] [{'concept': 'television program'}, 'award received', 'Javier Bardem'] [{'concept': 'television program'}, 'award received', 'Javier Bardem']
SELECT DISTINCT ?i WHERE { ?i property:award_received resource:Satellite_Award_for_Best_Actor_–_Television_Series_Drama . ?i rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q15416),P166,Q3473898)
[{'concept': 'Q15416'}, 'P166', 'Q3473898']
[{'concept': 'television program'}, 'award received', 'Satellite Award for Best Actor – Television Series Drama']
[]
Q1079
SYSTEM
Breaking Bad
Q1079
(c(Q15416),P166,Q3473898)
action filter_type
action find_reverse
entity Q3473898
relation P166
type Q15416
The [ANSWER] received the award titled that one
[{'concept': 'Q15416'}, 'P166', 'Q3473898']
SELECT DISTINCT ?i WHERE { ?i property:P166 resource:Q3473898 . ?i rdf:type ontology:Q15416 }
Breaking Bad
The Breaking Bad received the award titled that one
Breaking Bad
action filter_type
action find_reverse
entity Satellite Award for Best Actor – Television Series Drama
relation award received
type television program
[{'concept': 'television program'}, 'award received', 'Satellite Award for Best Actor – Television Series Drama']
SELECT DISTINCT ?i WHERE { ?i property:award_received resource:Satellite_Award_for_Best_Actor_–_Television_Series_Drama . ?i rdf:type ontology:television_program }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P166
Q618779
USER
How many awards were that television program awarded with ?
(Q1079,P166,c(Q618779))
action count
action filter_type
action find
entity Q1079
relation P166
type Q618779
['Q1079', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Q1079 property:P166 ?d . ?d rdf:type ontology:Q618779 }
action count
action filter_type
action find
entity Breaking Bad
relation award received
type award
['Breaking Bad', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Breaking_Bad property:award_received ?d . ?d rdf:type ontology:award }
[]
award
SYSTEM
10
Q1286639 Q1285504 Q5280674 Q3123491 Q2530270 Q989438 Q7243511 Q989439 Q1285780 Q8038466
(Q1079,P166,c(Q618779))
action count
action filter_type
action find
entity Q1079
relation P166
type Q618779
[ANSWER]
['Q1079', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Q1079 property:P166 ?d . ?d rdf:type ontology:Q618779 }
Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series Primetime Emmy Award for Outstanding Supporting Actress in a Drama Series Directors Guild of America Award for Outstanding Directing – Drama Series Primetime Emmy Award for Outstanding Writing for a Drama Series Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series Primetime Emmy Award for Outstanding Drama Series Primetime Emmy Award for Outstanding Single-Camera Picture Editing for a Drama Series Primetime Emmy Award for Outstanding Lead Actor in a Drama Series Saturn Award for Best Syndicated/Cable Television Series Writers Guild of America Award for Television: Dramatic Series
10
action count
action filter_type
action find
entity Breaking Bad
relation award received
type award
['Breaking Bad', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Breaking_Bad property:award_received ?d . ?d rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q105825 Q182763
P1411
Q4220917
USER
Which film awards did Forest Whitaker and William Hurt receive ?
AND((Q182763,P1411,c(Q4220917)), (Q105825,P1411,c(Q4220917)))
action filter_type
action intersection
action find
entity Q182763
relation P1411
action find
entity Q105825
relation P1411
type Q4220917
{'AND': [['Q182763', 'P1411', {'concept': 'Q4220917'}], ['Q105825', 'P1411', {'concept': 'Q4220917'}]]}
SELECT DISTINCT ?t WHERE { resource:Q182763 property:P1411 ?t . resource:Q105825 property:P1411 ?t . ?t rdf:type ontology:Q4220917 }
William Hurt Forest Whitaker
action filter_type
action intersection
action find
entity Forest Whitaker
relation nominated for
action find
entity William Hurt
relation nominated for
type film award
{'AND': [['Forest Whitaker', 'nominated for', {'concept': 'film award'}], ['William Hurt', 'nominated for', {'concept': 'film award'}]]}
SELECT DISTINCT ?t WHERE { resource:Forest_Whitaker property:nominated_for ?t . resource:William_Hurt property:nominated_for ?t . ?t rdf:type ontology:film_award }
[]
film award
Q103916
SYSTEM
Academy Award for Best Actor
Q103916
AND((Q182763,P1411,c(Q4220917)), (Q105825,P1411,c(Q4220917)))
action filter_type
action intersection
action find
entity Q182763
relation P1411
action find
entity Q105825
relation P1411
type Q4220917
Forest Whitaker and William Hurt received the [ANSWER]
{'AND': [['Q182763', 'P1411', {'concept': 'Q4220917'}], ['Q105825', 'P1411', {'concept': 'Q4220917'}]]}
SELECT DISTINCT ?t WHERE { resource:Q182763 property:P1411 ?t . resource:Q105825 property:P1411 ?t . ?t rdf:type ontology:Q4220917 }
Academy Award for Best Actor
Forest Whitaker and William Hurt received the Academy Award for Best Actor
Academy Award for Best Actor
action filter_type
action intersection
action find
entity Forest Whitaker
relation nominated for
action find
entity William Hurt
relation nominated for
type film award
{'AND': [['Forest Whitaker', 'nominated for', {'concept': 'film award'}], ['William Hurt', 'nominated for', {'concept': 'film award'}]]}
SELECT DISTINCT ?t WHERE { resource:Forest_Whitaker property:nominated_for ?t . resource:William_Hurt property:nominated_for ?t . ?t rdf:type ontology:film_award }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P1411
Q4220917 Q838948 Q502895
USER
How many film awards did greater number of works of art or people receive than that film award ?
(c(Q838948)|c(Q502895),P1411,c(Q4220917))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1411
type Q4220917
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q4220917
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q103916
relation P1411
type Q838948
type Q502895
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P1411 resource:Q103916 . { { ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q838948 } } } } . FILTER ( ?v > ?n ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) ?d WHERE { VALUES ( ?k ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?q rdf:type ?k } GROUP BY ?d } }
action count
action greater
action union
action find_reverse_tuple_counts
relation nominated for
type film award
type work of art
action find_reverse_tuple_counts
relation nominated for
type film award
type common name
action count
action filter_multi_types
action find_reverse
entity Academy Award for Best Actor
relation nominated for
type work of art
type common name
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:nominated_for resource:Academy_Award_for_Best_Actor . { { ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:work_of_art } } } } . FILTER ( ?v > ?n ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) ?d WHERE { VALUES ( ?k ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?q rdf:type ?k } GROUP BY ?d } }
[]
film award work of art common name
SYSTEM
7
Q102427 Q277751 Q830079 Q281939 Q41417 Q107258 Q103618
(c(Q838948)|c(Q502895),P1411,c(Q4220917))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1411
type Q4220917
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q4220917
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q103916
relation P1411
type Q838948
type Q502895
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P1411 resource:Q103916 . { { ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q838948 } } } } . FILTER ( ?v > ?n ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) ?d WHERE { VALUES ( ?k ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?q rdf:type ?k } GROUP BY ?d } }
Academy Award for Best Picture Academy Award for Best Production Design Academy Award for Best Sound Mixing Academy Award for Best Film Editing Academy Award for Best Writing, Original Screenplay Academy Award for Best Writing, Adapted Screenplay Academy Award for Best Actress
7
action count
action greater
action union
action find_reverse_tuple_counts
relation nominated for
type film award
type work of art
action find_reverse_tuple_counts
relation nominated for
type film award
type common name
action count
action filter_multi_types
action find_reverse
entity Academy Award for Best Actor
relation nominated for
type work of art
type common name
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:nominated_for resource:Academy_Award_for_Best_Actor . { { ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:work_of_art } } } } . FILTER ( ?v > ?n ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) ?d WHERE { VALUES ( ?k ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?q rdf:type ?k } GROUP BY ?d } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q11617 Q136006
P136
Q5962346
USER
How many classification schemes do Aaliyah or ZDFmediathek belong to ?
(Q11617,P136,c(Q5962346)) (Q136006,P136,c(Q5962346))
action count
action union
action filter_type
action find
entity Q11617
relation P136
type Q5962346
action filter_type
action find
entity Q136006
relation P136
type Q5962346
['Q11617', 'P136', {'concept': 'Q5962346'}] ['Q136006', 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?c property:P136 ?k . VALUES ( ?c ) { ( resource:Q136006 ) ( resource:Q11617 ) } }
Aaliyah ZDFmediathek
action count
action union
action filter_type
action find
entity Aaliyah
relation genre
type classification scheme
action filter_type
action find
entity ZDFmediathek
relation genre
type classification scheme
['Aaliyah', 'genre', {'concept': 'classification scheme'}] ['ZDFmediathek', 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?c property:genre ?k . VALUES ( ?c ) { ( resource:ZDFmediathek ) ( resource:Aaliyah ) } }
[]
classification scheme
SYSTEM
2
Q16894224 Q1407245
(Q11617,P136,c(Q5962346)) (Q136006,P136,c(Q5962346))
action count
action union
action filter_type
action find
entity Q11617
relation P136
type Q5962346
action filter_type
action find
entity Q136006
relation P136
type Q5962346
[ANSWER]
['Q11617', 'P136', {'concept': 'Q5962346'}] ['Q136006', 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?c property:P136 ?k . VALUES ( ?c ) { ( resource:Q136006 ) ( resource:Q11617 ) } }
sports program television show
2
action count
action union
action filter_type
action find
entity Aaliyah
relation genre
type classification scheme
action filter_type
action find
entity ZDFmediathek
relation genre
type classification scheme
['Aaliyah', 'genre', {'concept': 'classification scheme'}] ['ZDFmediathek', 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?c property:genre ?k . VALUES ( ?c ) { ( resource:ZDFmediathek ) ( resource:Aaliyah ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6665601 Q11617
P175
Q2031291
USER
Which releases performed Aaliyah or Mega City Four ?
OR((c(Q2031291),P175,Q11617), (c(Q2031291),P175,Q6665601))
action filter_type
action union
action find_reverse
entity Q11617
relation P175
action find_reverse
entity Q6665601
relation P175
type Q2031291
{'OR': [[{'concept': 'Q2031291'}, 'P175', 'Q11617'], [{'concept': 'Q2031291'}, 'P175', 'Q6665601']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P175 resource:Q11617 } UNION { ?k property:P175 resource:Q6665601 } } . ?k rdf:type ontology:Q2031291 }
Mega City Four Aaliyah
action filter_type
action union
action find_reverse
entity Aaliyah
relation performer
action find_reverse
entity Mega City Four
relation performer
type release
{'OR': [[{'concept': 'release'}, 'performer', 'Aaliyah'], [{'concept': 'release'}, 'performer', 'Mega City Four']]}
SELECT DISTINCT ?k WHERE { { { ?k property:performer resource:Aaliyah } UNION { ?k property:performer resource:Mega_City_Four } } . ?k rdf:type ontology:release }
[]
release
Q221555 Q7703673 Q13553769 Q7835509 Q788139 Q221360 Q6655786 Q515749 Q612450 Q732408
SYSTEM
Some of them are Journey to the Past, Terribly Sorry Bob, Don't Think They Know, Tranzophobia, Back & Forth, I Don't Wanna, Live and Die for Hip Hop, Age Ain't Nothing but a Number, If Your Girl Only Knew, Are You That Somebody?
Q7442729 Q1077678 Q837465 Q776735 Q899169 Q788139 Q221555 Q590023 Q478739 Q612450 Q515778 Q898932 Q1218350 Q220820 Q5978558 Q7703673 Q248402 Q837471 Q776740 Q7835509 Q938836 Q265269 Q868459 Q732408 Q837458 Q197995 Q7564543 Q938873 Q1413876 Q6730646 Q647916 Q515749 Q286109 Q726174 Q221360 Q13553769 Q7897980 Q6655786 Q7997183
OR((c(Q2031291),P175,Q11617), (c(Q2031291),P175,Q6665601))
action filter_type
action union
action find_reverse
entity Q11617
relation P175
action find_reverse
entity Q6665601
relation P175
type Q2031291
[ANSWERS]
{'OR': [[{'concept': 'Q2031291'}, 'P175', 'Q11617'], [{'concept': 'Q2031291'}, 'P175', 'Q6665601']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P175 resource:Q11617 } UNION { ?k property:P175 resource:Q6665601 } } . ?k rdf:type ontology:Q2031291 }
Sebastopol Rd. Try Again Hot Like Fire Are You Feelin' Me? Rock the Boat Back & Forth Journey to the Past We Need a Resolution Aaliyah If Your Girl Only Knew Age Ain't Nothing but a Number The One I Gave My Heart To No One Knows How to Love Me Quite Like You Do Come Back in One Piece I Need You Tonight Terribly Sorry Bob I Care 4 U One in a Million Are You Ready Tranzophobia One in a Million More Than a Woman Come Over Are You That Somebody? 4 Page Letter Enough Said Soulscraper Miss You At Your Best (You Are Love) Magic Bullets Down with the Clique Age Ain't Nothing but a Number Don't Know What to Tell Ya The Thing I Like I Don't Wanna Don't Think They Know Up Jumps da Boogie Live and Die for Hip Hop Who Cares Wins
Journey to the Past, Terribly Sorry Bob, Don't Think They Know, Tranzophobia, Back & Forth, I Don't Wanna, Live and Die for Hip Hop, Age Ain't Nothing but a Number, If Your Girl Only Knew and Are You That Somebody performed Aaliyah or Mega City Four
Journey to the Past Terribly Sorry Bob Don't Think They Know Tranzophobia Back & Forth I Don't Wanna Live and Die for Hip Hop Age Ain't Nothing but a Number If Your Girl Only Knew Are You That Somebody?
action filter_type
action union
action find_reverse
entity Aaliyah
relation performer
action find_reverse
entity Mega City Four
relation performer
type release
{'OR': [[{'concept': 'release'}, 'performer', 'Aaliyah'], [{'concept': 'release'}, 'performer', 'Mega City Four']]}
SELECT DISTINCT ?k WHERE { { { ?k property:performer resource:Aaliyah } UNION { ?k property:performer resource:Mega_City_Four } } . ?k rdf:type ontology:release }
[]