Simple Question (Direct)
Simple Question
Q8011037
P20
Q56061
USER
Which administrative territory is the place of death of William Hawks ?
(Q8011037,P20,c(Q56061))
action filter_type
action find
entity Q8011037
relation P20
type Q56061
['Q8011037', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q8011037 property:P20 ?w . ?w rdf:type ontology:Q56061 }
William Hawks
action filter_type
action find
entity William Hawks
relation place of death
type administrative territorial entity
['William Hawks', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:William_Hawks property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q47164
SYSTEM
Santa Monica
Q47164
(Q8011037,P20,c(Q56061))
action filter_type
action find
entity Q8011037
relation P20
type Q56061
[ANSWER] is the place of death of William Hawks
['Q8011037', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q8011037 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Santa Monica
Santa Monica is the place of death of William Hawks
Santa Monica
action filter_type
action find
entity William Hawks
relation place of death
type administrative territorial entity
['William Hawks', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:William_Hawks property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8011037
P27
Q15617994
USER
Which administrative territory is William Hawks an inhabitant of ?
(Q8011037,P27,c(Q15617994))
action filter_type
action find
entity Q8011037
relation P27
type Q15617994
['Q8011037', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q8011037 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
William Hawks
action filter_type
action find
entity William Hawks
relation country of citizenship
type designation for an administrative territorial entity
['William Hawks', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:William_Hawks property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q8011037,P27,c(Q15617994))
action filter_type
action find
entity Q8011037
relation P27
type Q15617994
The [ANSWER] is William Hawks an inhabitant of
['Q8011037', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q8011037 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United States of America
The United States of America is William Hawks an inhabitant of
United States of America
action filter_type
action find
entity William Hawks
relation country of citizenship
type designation for an administrative territorial entity
['William Hawks', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:William_Hawks property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8011037
P26
Q502895
USER
Who is the spouse of William Hawks ?
(c(Q502895),P26,Q8011037)
action filter_type
action find
entity Q8011037
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q8011037']
SELECT DISTINCT ?i WHERE { resource:Q8011037 property:P26 ?i . ?i rdf:type ontology:Q502895 }
William Hawks
action filter_type
action find
entity William Hawks
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'William Hawks']
SELECT DISTINCT ?i WHERE { resource:William_Hawks property:spouse ?i . ?i rdf:type ontology:common_name }
[]
common name
Q240238
SYSTEM
Bessie Love
Q240238
(c(Q502895),P26,Q8011037)
action filter_type
action find
entity Q8011037
relation P26
type Q502895
The spouse of William Hawks is named [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q8011037']
SELECT DISTINCT ?i WHERE { resource:Q8011037 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Bessie Love
The spouse of William Hawks is named Bessie Love
Bessie Love
action filter_type
action find
entity William Hawks
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'William Hawks']
SELECT DISTINCT ?i WHERE { resource:William_Hawks property:spouse ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P915
Q15416
USER
Which television programs were filmed in the location United States of America ?
(c(Q15416),P915,Q30)
action filter_type
action find_reverse
entity Q30
relation P915
type Q15416
[{'concept': 'Q15416'}, 'P915', 'Q30']
SELECT DISTINCT ?z WHERE { ?z property:P915 resource:Q30 . ?z rdf:type ontology:Q15416 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'United States of America']
SELECT DISTINCT ?z WHERE { ?z property:filming_location resource:United_States_of_America . ?z rdf:type ontology:television_program }
[]
television program
Q484825 Q23572
SYSTEM
The Lord of the Skies, Game of Thrones
Q484825 Q23572
(c(Q15416),P915,Q30)
action filter_type
action find_reverse
entity Q30
relation P915
type Q15416
Locations [ANSWERS] were filmed in the location United States of America
[{'concept': 'Q15416'}, 'P915', 'Q30']
SELECT DISTINCT ?z WHERE { ?z property:P915 resource:Q30 . ?z rdf:type ontology:Q15416 }
The Lord of the Skies Game of Thrones
Locations The Lord of the Skies and Game of Thrones were filmed in the location United States of America
The Lord of the Skies Game of Thrones
action filter_type
action find_reverse
entity United States of America
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'United States of America']
SELECT DISTINCT ?z WHERE { ?z property:filming_location resource:United_States_of_America . ?z rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q484825 Q23572
P136
Q5962346
USER
What can be considered as category for The Lord of the Skies and Game of Thrones ?
(Q484825,P136,c(Q5962346)) (Q23572,P136,c(Q5962346))
action union
action filter_type
action find
entity Q484825
relation P136
type Q5962346
action filter_type
action find
entity Q23572
relation P136
type Q5962346
['Q484825', 'P136', {'concept': 'Q5962346'}] ['Q23572', 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?b WHERE { { ?b rdf:type ontology:Q5962346 . resource:Q484825 property:P136 ?b } UNION { resource:Q23572 property:P136 ?b . ?b rdf:type ontology:Q5962346 } }
The Lord of the Skies Game of Thrones
action union
action filter_type
action find
entity The Lord of the Skies
relation genre
type classification scheme
action filter_type
action find
entity Game of Thrones
relation genre
type classification scheme
['The Lord of the Skies', 'genre', {'concept': 'classification scheme'}] ['Game of Thrones', 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?b WHERE { { ?b rdf:type ontology:classification_scheme . resource:The_Lord_of_the_Skies property:genre ?b } UNION { resource:Game_of_Thrones property:genre ?b . ?b rdf:type ontology:classification_scheme } }
[]
classification scheme
Q23745 Q1366112
SYSTEM
telenovela, television drama
Q23745 Q1366112
(Q484825,P136,c(Q5962346)) (Q23572,P136,c(Q5962346))
action union
action filter_type
action find
entity Q484825
relation P136
type Q5962346
action filter_type
action find
entity Q23572
relation P136
type Q5962346
[ANSWERS] can be considered as category for The Lord of the Skies and Game of Thrones
['Q484825', 'P136', {'concept': 'Q5962346'}] ['Q23572', 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?b WHERE { { ?b rdf:type ontology:Q5962346 . resource:Q484825 property:P136 ?b } UNION { resource:Q23572 property:P136 ?b . ?b rdf:type ontology:Q5962346 } }
telenovela television drama
Telenovela and television drama can be considered as category for The Lord of the Skies and Game of Thrones
telenovela television drama
action union
action filter_type
action find
entity The Lord of the Skies
relation genre
type classification scheme
action filter_type
action find
entity Game of Thrones
relation genre
type classification scheme
['The Lord of the Skies', 'genre', {'concept': 'classification scheme'}] ['Game of Thrones', 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?b WHERE { { ?b rdf:type ontology:classification_scheme . resource:The_Lord_of_the_Skies property:genre ?b } UNION { resource:Game_of_Thrones property:genre ?b . ?b rdf:type ontology:classification_scheme } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23572
P166
Q618779
USER
What were awarded to Game of Thrones ?
(Q23572,P166,c(Q618779))
action filter_type
action find
entity Q23572
relation P166
type Q618779
['Q23572', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q23572 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Game of Thrones
action filter_type
action find
entity Game of Thrones
relation award received
type award
['Game of Thrones', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Game_of_Thrones property:award_received ?l . ?l rdf:type ontology:award }
[]
award
Q1286639 Q7243513 Q7243505
SYSTEM
Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series, Primetime Emmy Award for Outstanding Special Visual Effects, Primetime Emmy Award for Outstanding Main Title Design
Q1286639 Q7243513 Q7243505
(Q23572,P166,c(Q618779))
action filter_type
action find
entity Q23572
relation P166
type Q618779
Primetime Emmy Award for Outstanding supporting Actor in a Drama Series, Primetime Emmy Award for Outstanding Special Visual Effects and Primetime Emmy Award for Outstanding Main Title Design were awarded to Game of Thrones
['Q23572', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q23572 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series Primetime Emmy Award for Outstanding Special Visual Effects Primetime Emmy Award for Outstanding Main Title Design
Primetime Emmy Award for Outstanding supporting Actor in a Drama Series, Primetime Emmy Award for Outstanding Special Visual Effects and Primetime Emmy Award for Outstanding Main Title Design were awarded to Game of Thrones
Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series Primetime Emmy Award for Outstanding Special Visual Effects Primetime Emmy Award for Outstanding Main Title Design
action filter_type
action find
entity Game of Thrones
relation award received
type award
['Game of Thrones', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Game_of_Thrones property:award_received ?l . ?l rdf:type ontology:award }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1286639
P1411
Q15416
USER
Which television programs were nominated for that award ?
(c(Q15416),P1411,Q1286639)
action filter_type
action find_reverse
entity Q1286639
relation P1411
type Q15416
[{'concept': 'Q15416'}, 'P1411', 'Q1286639']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15416 . ?b property:P1411 resource:Q1286639 }
Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series
action filter_type
action find_reverse
entity Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series
relation nominated for
type television program
[{'concept': 'television program'}, 'nominated for', 'Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:television_program . ?b property:nominated_for resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Drama_Series }
[]
television program
Clarification for simple ques.
Q1286639
SYSTEM
Did you mean Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series ?
Q1286639 Q7243513 Q7243505
(c(Q15416),P1411,Q1286639) (c(Q15416),P1411,Q7243513) (c(Q15416),P1411,Q7243505)
[ANSWER]
[{'concept': 'Q15416'}, 'P1411', 'Q1286639'] [{'concept': 'Q15416'}, 'P1411', 'Q7243513'] [{'concept': 'Q15416'}, 'P1411', 'Q7243505']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15416 . ?b property:P1411 resource:Q1286639 }
Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series Primetime Emmy Award for Outstanding Special Visual Effects Primetime Emmy Award for Outstanding Main Title Design
Did you mean Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series ?
Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series
[{'concept': 'television program'}, 'nominated for', 'Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series'] [{'concept': 'television program'}, 'nominated for', 'Primetime Emmy Award for Outstanding Special Visual Effects'] [{'concept': 'television program'}, 'nominated for', 'Primetime Emmy Award for Outstanding Main Title Design']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:television_program . ?b property:nominated_for resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Drama_Series }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q15416),P1411,Q1286639)
[{'concept': 'Q15416'}, 'P1411', 'Q1286639']
[{'concept': 'television program'}, 'nominated for', 'Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series']
[]
Q1079 Q1068952 Q23628
SYSTEM
Breaking Bad, St. Elsewhere, The Sopranos
Q1079 Q1068952 Q1132439 Q1077 Q1071958 Q1050603 Q23628
(c(Q15416),P1411,Q1286639)
action filter_type
action find_reverse
entity Q1286639
relation P1411
type Q15416
[ANSWERS] were nominated for that award
[{'concept': 'Q15416'}, 'P1411', 'Q1286639']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15416 . ?b property:P1411 resource:Q1286639 }
Breaking Bad St. Elsewhere The Practice Star Trek: The Original Series Chicago Hope Deadwood The Sopranos
Breaking Bad, St. Elsewhere and The Sopranos were nominated for that award
Breaking Bad St. Elsewhere The Sopranos
action filter_type
action find_reverse
entity Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series
relation nominated for
type television program
[{'concept': 'television program'}, 'nominated for', 'Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:television_program . ?b property:nominated_for resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Drama_Series }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1441
Q6619679
USER
How many fictional humanoids are from the works of that television program ?
(c(Q6619679),P1441,Q23628)
[{'concept': 'Q6619679'}, 'P1441', 'Q23628']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1441 resource:Q23628 . ?z rdf:type ontology:Q6619679 }
[{'concept': 'fictional humanoid'}, 'present in work', 'The Sopranos']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:present_in_work resource:The_Sopranos . ?z rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Quantitative|Count|Single entity type|Clarification
Q1068952
SYSTEM
Did you mean St. Elsewhere ?
(c(Q6619679),P1441,Q1079) (c(Q6619679),P1441,Q1068952) (c(Q6619679),P1441,Q23628)
[ANSWER]
[{'concept': 'Q6619679'}, 'P1441', 'Q1079'] [{'concept': 'Q6619679'}, 'P1441', 'Q1068952'] [{'concept': 'Q6619679'}, 'P1441', 'Q23628']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1441 resource:Q23628 . ?z rdf:type ontology:Q6619679 }
Did you mean St. Elsewhere ?
St. Elsewhere
[{'concept': 'fictional humanoid'}, 'present in work', 'Breaking Bad'] [{'concept': 'fictional humanoid'}, 'present in work', 'St. Elsewhere'] [{'concept': 'fictional humanoid'}, 'present in work', 'The Sopranos']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:present_in_work resource:The_Sopranos . ?z rdf:type ontology:fictional_humanoid }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant The Sopranos. Could you tell me the answer for that?
(c(Q6619679),P1441,Q23628)
Q23628
[{'concept': 'Q6619679'}, 'P1441', 'Q23628']
[{'concept': 'fictional humanoid'}, 'present in work', 'The Sopranos']
[]
SYSTEM
25
Q2724526 Q2326089 Q1441521 Q2463192 Q2463185 Q2335344 Q2463141 Q2463175 Q2316828 Q288944 Q2725607 Q2567137 Q2560370 Q2723839 Q3502807 Q2731570 Q3313624 Q2563379 Q1049580 Q2322622 Q2567153 Q2725188 Q15140933 Q2456679 Q2326044
(c(Q6619679),P1441,Q23628)
[ANSWER]
[{'concept': 'Q6619679'}, 'P1441', 'Q23628']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1441 resource:Q23628 . ?z rdf:type ontology:Q6619679 }
Tony Blundetto Silvio Dante Dwight Harris Adriana La Cerva Carmela Soprano Christopher Moltisanti Junior Soprano Jennifer Melfi Johnny Sack Artie Bucco Ralph Cifaretto Livia Soprano Furio Giunta Anthony Soprano Ray Curto Big Pussy Bonpensiero Mikey Palmice Benny Fazio Tony Soprano Jackie Aprile Janice Soprano Richie Aprile Gloria Trillo Meadow Soprano Paulie Gualtieri
25
[{'concept': 'fictional humanoid'}, 'present in work', 'The Sopranos']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:present_in_work resource:The_Sopranos . ?z rdf:type ontology:fictional_humanoid }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8011037
P162
Q838948
USER
Which works of art created William Hawks ?
(c(Q838948),P162,Q8011037)
action filter_type
action find_reverse
entity Q8011037
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q8011037']
SELECT DISTINCT ?r WHERE { ?r property:P162 resource:Q8011037 . ?r rdf:type ontology:Q838948 }
William Hawks
action filter_type
action find_reverse
entity William Hawks
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'William Hawks']
SELECT DISTINCT ?r WHERE { ?r property:producer resource:William_Hawks . ?r rdf:type ontology:work_of_art }
[]
work of art
Q917066 Q12126400 Q1196656
SYSTEM
The Last Wagon, My Life with Caroline, The Law and Jake Wade
Q12125020 Q917066 Q12126400 Q1196656
(c(Q838948),P162,Q8011037)
action filter_type
action find_reverse
entity Q8011037
relation P162
type Q838948
The [ANSWERS] created William Hawks
[{'concept': 'Q838948'}, 'P162', 'Q8011037']
SELECT DISTINCT ?r WHERE { ?r property:P162 resource:Q8011037 . ?r rdf:type ontology:Q838948 }
Imitation General The Last Wagon My Life with Caroline The Law and Jake Wade
The The Last Wagon, My Life with Caroline and The Law and Jake Wade created William Hawks
The Last Wagon My Life with Caroline The Law and Jake Wade
action filter_type
action find_reverse
entity William Hawks
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'William Hawks']
SELECT DISTINCT ?r WHERE { ?r property:producer resource:William_Hawks . ?r rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q12126400
P344
Q502895
USER
Who is appointed as the cinematographer of that work of art ?
(Q12126400,P344,c(Q502895))
action filter_type
action find
entity Q12126400
relation P344
type Q502895
['Q12126400', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q12126400 property:P344 ?a }
My Life with Caroline
action filter_type
action find
entity My Life with Caroline
relation director of photography
type common name
['My Life with Caroline', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:My_Life_with_Caroline property:director_of_photography ?a }
[]
common name
Clarification for simple ques.
Q1196656
SYSTEM
Did you mean The Law and Jake Wade ?
Q917066 Q12126400 Q1196656
(Q917066,P344,c(Q502895)) (Q12126400,P344,c(Q502895)) (Q1196656,P344,c(Q502895))
[ANSWER]
['Q917066', 'P344', {'concept': 'Q502895'}] ['Q12126400', 'P344', {'concept': 'Q502895'}] ['Q1196656', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q12126400 property:P344 ?a }
The Last Wagon My Life with Caroline The Law and Jake Wade
Did you mean The Law and Jake Wade ?
The Law and Jake Wade
['The Last Wagon', 'director of photography', {'concept': 'common name'}] ['My Life with Caroline', 'director of photography', {'concept': 'common name'}] ['The Law and Jake Wade', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:My_Life_with_Caroline property:director_of_photography ?a }
[]
Simple Question (Coreferenced)
USER
No, I meant My Life with Caroline. Could you tell me the answer for that?
(Q12126400,P344,c(Q502895))
Q12126400
['Q12126400', 'P344', {'concept': 'Q502895'}]
['My Life with Caroline', 'director of photography', {'concept': 'common name'}]
[]
Q718606
SYSTEM
Victor Milner
Q718606
(Q12126400,P344,c(Q502895))
action filter_type
action find
entity Q12126400
relation P344
type Q502895
[ANSWER] is appointed as the cinematographer of that work of art
['Q12126400', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q12126400 property:P344 ?a }
Victor Milner
Victor Milner is appointed as the cinematographer of that work of art
Victor Milner
action filter_type
action find
entity My Life with Caroline
relation director of photography
type common name
['My Life with Caroline', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:My_Life_with_Caroline property:director_of_photography ?a }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q15416
USER
Which television programs did max number of people dub for ?
(c(Q15416),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15416
type Q502895
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?m ) { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?u ) WHERE { ?p property:P725 ?w . ?w rdf:type ontology:Q502895 . ?p rdf:type ontology:Q15416 } GROUP BY ?p } } . { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ontology:Q502895 . ?f rdf:type ontology:Q15416 . ?f property:P725 ?l } GROUP BY ?f } . FILTER ( ?i = ?m ) }
action argmax
action find_tuple_counts
relation voice actor
type television program
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?m ) { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?u ) WHERE { ?p property:voice_actor ?w . ?w rdf:type ontology:common_name . ?p rdf:type ontology:television_program } GROUP BY ?p } } . { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ontology:common_name . ?f rdf:type ontology:television_program . ?f property:voice_actor ?l } GROUP BY ?f } . FILTER ( ?i = ?m ) }
[]
common name television program
Q23558
SYSTEM
House
Q23558
(c(Q15416),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15416
type Q502895
Max number of people dubbed [ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?m ) { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?u ) WHERE { ?p property:P725 ?w . ?w rdf:type ontology:Q502895 . ?p rdf:type ontology:Q15416 } GROUP BY ?p } } . { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ontology:Q502895 . ?f rdf:type ontology:Q15416 . ?f property:P725 ?l } GROUP BY ?f } . FILTER ( ?i = ?m ) }
House
Max number of people dubbed House
House
action argmax
action find_tuple_counts
relation voice actor
type television program
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?m ) { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?u ) WHERE { ?p property:voice_actor ?w . ?w rdf:type ontology:common_name . ?p rdf:type ontology:television_program } GROUP BY ?p } } . { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ontology:common_name . ?f rdf:type ontology:television_program . ?f property:voice_actor ?l } GROUP BY ?f } . FILTER ( ?i = ?m ) }
[]