Simple Question (Direct)
Simple Question
Q2039937
P937
Q56061
USER
Which is the work location of Otto Meier ?
(Q2039937,P937,c(Q56061))
action filter_type
action find
entity Q2039937
relation P937
type Q56061
['Q2039937', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q2039937 property:P937 ?l }
Otto Meier
action filter_type
action find
entity Otto Meier
relation work location
type administrative territorial entity
['Otto Meier', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Otto_Meier property:work_location ?l }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q2039937,P937,c(Q56061))
action filter_type
action find
entity Q2039937
relation P937
type Q56061
Is the work location of Otto Meier in [ANSWER]
['Q2039937', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q2039937 property:P937 ?l }
Berlin
Is the work location of Otto Meier in Berlin
Berlin
action filter_type
action find
entity Otto Meier
relation work location
type administrative territorial entity
['Otto Meier', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Otto_Meier property:work_location ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2039937
P166
Q618779
USER
What was received by that person ?
(Q64,P166,c(Q618779))
action filter_type
action find
entity Q2039937
relation P166
type Q618779
['Q64', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q2039937 property:P166 ?e . ?e rdf:type ontology:Q618779 }
Otto Meier
action filter_type
action find
entity Otto Meier
relation award received
type award
['Berlin', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Otto_Meier property:award_received ?e . ?e rdf:type ontology:award }
[]
award
Q694401
SYSTEM
Order of Karl Marx
Q694401
(Q64,P166,c(Q618779))
action filter_type
action find
entity Q2039937
relation P166
type Q618779
The [ANSWER] was received by that person
['Q64', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q2039937 property:P166 ?e . ?e rdf:type ontology:Q618779 }
Order of Karl Marx
The Order of Karl Marx was received by that person
Order of Karl Marx
action filter_type
action find
entity Otto Meier
relation award received
type award
['Berlin', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Otto_Meier property:award_received ?e . ?e rdf:type ontology:award }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1411
Q618779 Q838948 Q502895
USER
Which awards were max number of works of art or people a recipient of ?
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action argmax
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?f WHERE { ?b rdf:type ?d . VALUES ( ?d ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } } GROUP BY ?f } } . FILTER ( ?m = ?w ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?y WHERE { { ?j property:P1411 ?y . ?y rdf:type ontology:Q618779 . ?j rdf:type ontology:Q502895 } UNION { ?j property:P1411 ?y . ?y rdf:type ontology:Q618779 . ?j rdf:type ontology:Q838948 } } GROUP BY ?y } }
action argmax
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?f WHERE { ?b rdf:type ?d . VALUES ( ?d ) { ( ontology:work_of_art ) ( ontology:common_name ) } } GROUP BY ?f } } . FILTER ( ?m = ?w ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?y WHERE { { ?j property:nominated_for ?y . ?y rdf:type ontology:award . ?j rdf:type ontology:common_name } UNION { ?j property:nominated_for ?y . ?y rdf:type ontology:award . ?j rdf:type ontology:work_of_art } } GROUP BY ?y } }
[]
award work of art common name
Q37922
SYSTEM
Nobel Prize in Literature
Q37922
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action argmax
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
[ANSWER] was max number of works of art or people a recipient of
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?f WHERE { ?b rdf:type ?d . VALUES ( ?d ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } } GROUP BY ?f } } . FILTER ( ?m = ?w ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?y WHERE { { ?j property:P1411 ?y . ?y rdf:type ontology:Q618779 . ?j rdf:type ontology:Q502895 } UNION { ?j property:P1411 ?y . ?y rdf:type ontology:Q618779 . ?j rdf:type ontology:Q838948 } } GROUP BY ?y } }
Nobel Prize in Literature
Nobel Prize in Literature was max number of works of art or people a recipient of
Nobel Prize in Literature
action argmax
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?f WHERE { ?b rdf:type ?d . VALUES ( ?d ) { ( ontology:work_of_art ) ( ontology:common_name ) } } GROUP BY ?f } } . FILTER ( ?m = ?w ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?y WHERE { { ?j property:nominated_for ?y . ?y rdf:type ontology:award . ?j rdf:type ontology:common_name } UNION { ?j property:nominated_for ?y . ?y rdf:type ontology:award . ?j rdf:type ontology:work_of_art } } GROUP BY ?y } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q37922 Q9078569
P1346
Q502895
USER
Did Sofja S. Kovalevskaja emerge victorious in Nobel Prize in Literature ?
(Q37922,P1346,Q9078569)
action is_in
entity Q9078569
action find
entity Q37922
relation P1346
['Q37922', 'P1346', 'Q9078569']
ASK WHERE { resource:Q37922 property:P1346 resource:Q9078569 }
Nobel Prize in Literature Sofja S. Kovalevskaja
action is_in
entity Sofja S. Kovalevskaja
action find
entity Nobel Prize in Literature
relation winner
['Nobel Prize in Literature', 'winner', 'Sofja S. Kovalevskaja']
ASK WHERE { resource:Nobel_Prize_in_Literature property:winner resource:Sofja_S._Kovalevskaja }
[]
common name
SYSTEM
NO
(Q37922,P1346,Q9078569)
action is_in
entity Q9078569
action find
entity Q37922
relation P1346
[ANSWER]
['Q37922', 'P1346', 'Q9078569']
ASK WHERE { resource:Q37922 property:P1346 resource:Q9078569 }
No
action is_in
entity Sofja S. Kovalevskaja
action find
entity Nobel Prize in Literature
relation winner
['Nobel Prize in Literature', 'winner', 'Sofja S. Kovalevskaja']
ASK WHERE { resource:Nobel_Prize_in_Literature property:winner resource:Sofja_S._Kovalevskaja }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q64 Q183
P17
Q1048835
USER
Is Berlin situated in Germany ?
(Q64,P17,Q183)
action is_in
entity Q183
action find
entity Q64
relation P17
['Q64', 'P17', 'Q183']
ASK WHERE { resource:Q64 property:P17 resource:Q183 }
Berlin Germany
action is_in
entity Germany
action find
entity Berlin
relation country
['Berlin', 'country', 'Germany']
ASK WHERE { resource:Berlin property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q64,P17,Q183)
action is_in
entity Q183
action find
entity Q64
relation P17
[ANSWER]
['Q64', 'P17', 'Q183']
ASK WHERE { resource:Q64 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Berlin
relation country
['Berlin', 'country', 'Germany']
ASK WHERE { resource:Berlin property:country resource:Germany }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5948071 Q2039937
P102
Q7278
USER
Which political parties are Otto Meier or Juan Callejón a member of ?
OR((Q2039937,P102,c(Q7278)), (Q5948071,P102,c(Q7278)))
action filter_type
action union
action find
entity Q2039937
relation P102
action find
entity Q5948071
relation P102
type Q7278
{'OR': [['Q2039937', 'P102', {'concept': 'Q7278'}], ['Q5948071', 'P102', {'concept': 'Q7278'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q2039937 property:P102 ?l } UNION { resource:Q5948071 property:P102 ?l } } . ?l rdf:type ontology:Q7278 }
Juan Callejón Otto Meier
action filter_type
action union
action find
entity Otto Meier
relation member of political party
action find
entity Juan Callejón
relation member of political party
type political party
{'OR': [['Otto Meier', 'member of political party', {'concept': 'political party'}], ['Juan Callejón', 'member of political party', {'concept': 'political party'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Otto_Meier property:member_of_political_party ?l } UNION { resource:Juan_Callejón property:member_of_political_party ?l } } . ?l rdf:type ontology:political_party }
[]
political party
Q138198 Q49750 Q49768
SYSTEM
Spanish Socialist Workers' Party, Socialist Unity Party of Germany, Social Democratic Party of Germany
Q138198 Q49750 Q49768
OR((Q2039937,P102,c(Q7278)), (Q5948071,P102,c(Q7278)))
action filter_type
action union
action find
entity Q2039937
relation P102
action find
entity Q5948071
relation P102
type Q7278
[ANSWERS] are Otto Meier or Juan Callejón a member of
{'OR': [['Q2039937', 'P102', {'concept': 'Q7278'}], ['Q5948071', 'P102', {'concept': 'Q7278'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q2039937 property:P102 ?l } UNION { resource:Q5948071 property:P102 ?l } } . ?l rdf:type ontology:Q7278 }
Spanish Socialist Workers' Party Socialist Unity Party of Germany Social Democratic Party of Germany
Spanish Socialist Workers' Party, Socialist Unity Party of Germany and Social Democratic Party of Germany are Otto Meier or Juan Callejón a member of
Spanish Socialist Workers' Party Socialist Unity Party of Germany Social Democratic Party of Germany
action filter_type
action union
action find
entity Otto Meier
relation member of political party
action find
entity Juan Callejón
relation member of political party
type political party
{'OR': [['Otto Meier', 'member of political party', {'concept': 'political party'}], ['Juan Callejón', 'member of political party', {'concept': 'political party'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Otto_Meier property:member_of_political_party ?l } UNION { resource:Juan_Callejón property:member_of_political_party ?l } } . ?l rdf:type ontology:political_party }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q5243456
P361
Q13406554 Q198 Q618779
USER
Which awards are a component of approximately the same number of sport competitions and wars as Daytime Emmy Award for Outstanding Younger Actor in a Drama Series ?
(c(Q618779),P361,c(Q13406554)|c(Q198))
action approx
action union
action find_tuple_counts
relation P361
type Q618779
type Q13406554
action find_tuple_counts
relation P361
type Q618779
type Q198
action count
action filter_multi_types
action find
entity Q5243456
relation P361
type Q13406554
type Q198
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q13406554'}, {'concept': 'Q198'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Q5243456 property:P361 ?e . { { ?e rdf:type ontology:Q13406554 } UNION { ?e rdf:type ontology:Q198 } } } } . FILTER ( ?q = ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?k WHERE { { ?n rdf:type ontology:Q13406554 . ?k rdf:type ontology:Q618779 . ?k property:P361 ?n } UNION { ?k property:P361 ?n . ?k rdf:type ontology:Q618779 . ?n rdf:type ontology:Q198 } } GROUP BY ?k } }
Daytime Emmy Award for Outstanding Younger Actor in a Drama Series
action approx
action union
action find_tuple_counts
relation part of
type award
type sport competition
action find_tuple_counts
relation part of
type award
type war
action count
action filter_multi_types
action find
entity Daytime Emmy Award for Outstanding Younger Actor in a Drama Series
relation part of
type sport competition
type war
[{'concept': 'award'}, 'part of', [{'concept': 'sport competition'}, {'concept': 'war'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Daytime_Emmy_Award_for_Outstanding_Younger_Actor_in_a_Drama_Series property:part_of ?e . { { ?e rdf:type ontology:sport_competition } UNION { ?e rdf:type ontology:war } } } } . FILTER ( ?q = ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?k WHERE { { ?n rdf:type ontology:sport_competition . ?k rdf:type ontology:award . ?k property:part_of ?n } UNION { ?k property:part_of ?n . ?k rdf:type ontology:award . ?n rdf:type ontology:war } } GROUP BY ?k } }
[]
sport competition war award
Q1285970 Q5305703 Q20890225
SYSTEM
Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series, Drama Desk Award for Outstanding Actress in a Musical, Gouden Televizier-Ring
Q20890225 Q2359546 Q3068024 Q1700510 Q15463524 Q16218137 Q2665874 Q674146 Q5305711 Q20749418 Q1156958 Q14539726 Q14539720 Q20824563 Q3019357 Q26079956 Q21071120 Q5305703 Q24231374 Q225085 Q20890482 Q17142885 Q17142884 Q13452531 Q48705 Q14539974 Q17142883 Q17142882 Q1638103 Q1285970 Q17142889 Q17142888 Q5305701 Q22135199 Q279820 Q14539884 Q23061993 Q5243452 Q5243453 Q5243450 Q5243451 Q5243456 Q5243457 Q5243454 Q5243455 Q372370 Q29597 Q900414 Q13452524 Q2296147 Q17142895 Q17142892 Q1071326 Q900494 Q17142891 Q13452528 Q17142881 Q20890462 Q11858223 Q140146 Q1086189 Q23059849 Q900369 Q1562531 Q5243445 Q15046324 Q5243447 Q5243446 Q266012 Q15046323 Q14606210 Q5243449 Q5243448 Q14606194 Q4896813 Q657973 Q27639027 Q5593745 Q3404375 Q20857709 Q545970 Q16395246 Q2294693 Q1353326 Q3895781 Q1505691 Q900385 Q7600545 Q3910742 Q4243717 Q5579156 Q26084288 Q18011734 Q267950 Q21524720 Q13422138 Q11288429 Q1549393 Q15271575 Q20857713 Q3405076 Q20857717 Q20857715 Q20890467 Q696246 Q15284630 Q655056 Q17351855 Q4120984 Q14941844 Q3405797 Q3405795 Q645595 Q3405792 Q37922 Q3405790 Q23062015 Q900352 Q10855195 Q13377517 Q24137 Q900447 Q15464509 Q17142896 Q24241 Q20857721 Q23091 Q20890475 Q20890472 Q17142894 Q26481897 Q153144 Q4896676 Q21071119 Q20890200 Q22668611 Q27639015 Q3774289 Q20890445 Q981339 Q1170507 Q936683 Q4065707 Q610903 Q4896642 Q23061860 Q900424 Q4835656 Q4835657 Q4835654 Q4835655 Q4835652 Q4835650 Q17355204 Q4120948 Q27496509 Q10855271 Q20890454 Q84000 Q6952053 Q15464524 Q5593817 Q14539729 Q3019369 Q17142886 Q20749420 Q278244 Q11593374 Q278240 Q3019365 Q3019364
(c(Q618779),P361,c(Q13406554)|c(Q198))
action approx
action union
action find_tuple_counts
relation P361
type Q618779
type Q13406554
action find_tuple_counts
relation P361
type Q618779
type Q198
action count
action filter_multi_types
action find
entity Q5243456
relation P361
type Q13406554
type Q198
Primetime Emmy Award for Outstanding supporting Actor in a Comedy Series, Drama Desk Award for Outstanding Actress in a Musical and Gouden Televizier-Ring are a component of approximately the same number of sport competitions and wars as Daytime Emmy Award for Outstanding Younger Actor in a Drama Series
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q13406554'}, {'concept': 'Q198'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Q5243456 property:P361 ?e . { { ?e rdf:type ontology:Q13406554 } UNION { ?e rdf:type ontology:Q198 } } } } . FILTER ( ?q = ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?k WHERE { { ?n rdf:type ontology:Q13406554 . ?k rdf:type ontology:Q618779 . ?k property:P361 ?n } UNION { ?k property:P361 ?n . ?k rdf:type ontology:Q618779 . ?n rdf:type ontology:Q198 } } GROUP BY ?k } }
Gouden Televizier-Ring Wim Sonneveldprijs First Secretary of State Golden Leopard Knight of the National Order of Quebec Seumas McNally Grand Prize Screen Actors Guild Award for Outstanding Performance by a Stunt Ensemble in a Motion Picture Leopard of Honour Drama Desk Award for Outstanding Featured Actor in a Musical King's Medal of Merit in Gold Order of the Paulownia Flowers Officer of the Order of Merit of the Italian Republic Knight of the Order of Merit of the Italian Republic Michelin star Daytime Emmy Award for Outstanding Lead Actress in a Drama Series Tony Award for Best Sound Design of a Play Toronto International Film Festival Award for Best Canadian First Feature Film Drama Desk Award for Outstanding Actress in a Musical Ingeborg Bachmann Award 2016 César Award for Best Cinematography award for the best or most iconic program in the history of Dutch television 2000 Golden Globes 1999 Golden Globes Commandeur des Arts et des Lettres‎ César Award for Most Promising Actor Knight Grand Cross of the Order of Merit of the Italian Republic 1998 Golden Globes 1997 Golden Globes British Fashion Awards Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series 2003 Golden Globes 2002 Golden Globes Drama Desk Award for Outstanding Actor in a Play Collar of the Order pro merito Melitensi Golden Calf Grand Officer of the Order of Merit of the Italian Republic Charles Veillon prize in the Italian language Daytime Emmy Award for Outstanding Talk Show Daytime Emmy Award for Outstanding Talk Show Entertainment Daytime Emmy Award for Outstanding Morning Program Daytime Emmy Award for Outstanding Supporting Actress in a Drama Series Daytime Emmy Award for Outstanding Younger Actor in a Drama Series Daytime Emmy Award for Outstanding Younger Actress in a Drama Series Daytime Emmy Award for Outstanding Talk Show Host Daytime Emmy Award for Outstanding Talk Show Informative Knight's Cross César Award for Most Promising Actress César Award for Best Foreign Film Officier des Arts et des Lettres‎ Drama Desk Award for Outstanding One-Person Show 2007 Golden Globes 2005 Golden Globes Un Certain Regard César Award for Best Actor 2004 Golden Globes Chevalier de l'ordre des Arts et des Lettres‎ 1996 Golden Globes Zilveren Televizier-Ster (female presenter) Daytime Emmy Award for Outstanding Performer in an Animated Program Zafenat-Paneach Nebula Award for Best Novella Hans Christian Andersen Award for illustration César Award for Best Writing Dr H.P. Heineken Prize for Biochemistry and Biophysics Daytime Emmy Award for Outstanding Drama Series Writing Team Daytime Emmy Award for Outstanding Lifestyle/Culinary Show Host Daytime Emmy Award for Outstanding Game Show Host Daytime Emmy Award for Outstanding Game/Audience Participation Show Nebula Award for Best Novel Daytime Emmy Award for Outstanding Drama Series Directing Team Officer of the Order of Distinction Daytime Emmy Award for Outstanding Supporting Actor in a Drama Series Daytime Emmy Award for Outstanding Legal/Courtroom Program Commander of the Order of Distinction Best Sports Movie ESPY Award Medal of Valor Zilveren Televizier-Ster (female actor) Grammy Award for Best Album Notes Prix Athanase-David Grand Cordon of the National Order of the Cedar‎ César Award for Best Original Screenplay Ridenhour Truth-Telling Prize Independent Spirit Award for Best Supporting Male Friedrich Glauser Award Best Direction Award Robert Award for Best Danish Film César Award for Best Costume Design Gullspiran Special Jury Prize Gordon Bennett Trophy Golden Ariel Tony Award for Best Sound Design of a Musical Grand Cross of the Imperial Order of Leopold Empire Gallantry Medal Gold Medal for Human Rights Knight of the National Order of Merit Grand Cordon of the Order of the Paulownia Flowers Grand Officer Sport Australia Hall of Fame Grand Officer of the National Order of the Cedar Prix Médicis for foreign literature Officer of the National Order of the Cedar Commander of the National Order of the Cedar Televizier Aanstormend Talent Award Order of the Chrysanthemum Grand Officer of the Order of Saints Maurice and Lazarus César Award for Best First Feature Film adidas Golden Glove Magritte Award for Best Director Prix Médicis essai Governor General's Award for French-language children's literature Governor General's Award for French-language children's illustration César Award for Best Film Governor General's Award for English-language children's literature Nobel Prize in Literature Governor General's Award for English-language children's illustration Charles Veillon prize in the German language César Award for Best Production Design Officer of the Legion of Honour Knight Grand Cross with Collar of the Order of St. Olav‎ César Award for Best Director César Award for Best Editing Grand Officer of the National Order of Quebec 2008 Golden Globes César Award for Best Actress Knight of the National Order of the Cedar César Award for Best Music Written for a Film Viva Star De Bewondering 2006 Golden Globes octave d'honneur César Award for Best Animated Film Best Game ESPY Award Toronto International Film Festival Award for Best Canadian Film Gouden Stuiver Gold Cross of Valour Zilveren Televizier-Ster (male actor) Grammy Award for Best Classical Album Zilveren Televizier-Tulp MTV Video Music Award for Best Overall Performance Independent Spirit Award for Best Screenplay Nebula Award for Best Novelette Ribbon of the Order of St. Andrew Nebula Award for Best Short Story Best Female Athlete ESPY Award Charles Veillon prize in the French language César Award for Best Supporting Actor BIFA Award for Best Supporting Actor BIFA Award for Best Supporting Actress BIFA Award for Best Performance by an Actor in a British Independent Film BIFA Award for Best Performance by an Actress in a British Independent Film BIFA Award for Best Foreign Independent Film BIFA Award for Best British Independent Film Adidas Golden Ball Magritte Award for Best Film Seiun Award for Best Translated Novel Knight of the Legion of Honour Zilveren Televizier-Ster (male presenter) César Award for Best Supporting Actress NAACP Image Award for Outstanding Actor in a Television Movie, Mini-Series or Dramatic Special Officer of the National Order of Quebec Grammy Award for Best Arrangement, Instrumental and Vocals Commander of the Order of Merit of the Italian Republic Daytime Emmy Award for Outstanding Children's Animated Program 2001 Golden Globes King's Medal of Merit in Silver Dr A.H. Heineken Prize for Art Knight of the Royal and Military Order of Saint Louis C.L. de Carvalho-Heineken Prize for Cognitive Science Daytime Emmy Award for Outstanding Drama Series Daytime Emmy Award for Outstanding Lead Actor in a Drama Series
Primetime Emmy Award for Outstanding supporting Actor in a Comedy Series, Drama Desk Award for Outstanding Actress in a Musical and Gouden Televizier-Ring are a component of approximately the same number of sport competitions and wars as Daytime Emmy Award for Outstanding Younger Actor in a Drama Series
Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series Drama Desk Award for Outstanding Actress in a Musical Gouden Televizier-Ring
action approx
action union
action find_tuple_counts
relation part of
type award
type sport competition
action find_tuple_counts
relation part of
type award
type war
action count
action filter_multi_types
action find
entity Daytime Emmy Award for Outstanding Younger Actor in a Drama Series
relation part of
type sport competition
type war
[{'concept': 'award'}, 'part of', [{'concept': 'sport competition'}, {'concept': 'war'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Daytime_Emmy_Award_for_Outstanding_Younger_Actor_in_a_Drama_Series property:part_of ?e . { { ?e rdf:type ontology:sport_competition } UNION { ?e rdf:type ontology:war } } } } . FILTER ( ?q = ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?k WHERE { { ?n rdf:type ontology:sport_competition . ?k rdf:type ontology:award . ?k property:part_of ?n } UNION { ?k property:part_of ?n . ?k rdf:type ontology:award . ?n rdf:type ontology:war } } GROUP BY ?k } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P166
Q15416 Q502895
USER
How many television programs or people were honoured with that award ?
(c(Q15416),P166,Q1285970) (c(Q502895),P166,Q1285970) (c(Q15416),P166,Q1285970) (c(Q502895),P166,Q1285970) (c(Q15416),P166,Q5305703) (c(Q502895),P166,Q5305703) (c(Q15416),P166,Q20890225) (c(Q502895),P166,Q20890225)
[{'concept': 'Q15416'}, 'P166', 'Q1285970'] [{'concept': 'Q502895'}, 'P166', 'Q1285970'] [{'concept': 'Q15416'}, 'P166', 'Q1285970'] [{'concept': 'Q502895'}, 'P166', 'Q1285970'] [{'concept': 'Q15416'}, 'P166', 'Q5305703'] [{'concept': 'Q502895'}, 'P166', 'Q5305703'] [{'concept': 'Q15416'}, 'P166', 'Q20890225'] [{'concept': 'Q502895'}, 'P166', 'Q20890225']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P166 resource:Q1285970 } UNION { ?y property:P166 resource:Q1285970 } UNION { ?z property:P166 resource:Q1285970 } UNION { ?y property:P166 resource:Q1285970 } UNION { ?z property:P166 resource:Q5305703 } UNION { ?y property:P166 resource:Q5305703 } UNION { ?z property:P166 resource:Q20890225 } UNION { ?y property:P166 resource:Q20890225 } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q502895 }
[{'concept': 'television program'}, 'award received', 'Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series'] [{'concept': 'common name'}, 'award received', 'Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series'] [{'concept': 'television program'}, 'award received', 'Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series'] [{'concept': 'common name'}, 'award received', 'Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series'] [{'concept': 'television program'}, 'award received', 'Drama Desk Award for Outstanding Actress in a Musical'] [{'concept': 'common name'}, 'award received', 'Drama Desk Award for Outstanding Actress in a Musical'] [{'concept': 'television program'}, 'award received', 'Gouden Televizier-Ring'] [{'concept': 'common name'}, 'award received', 'Gouden Televizier-Ring']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:award_received resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Comedy_Series } UNION { ?y property:award_received resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Comedy_Series } UNION { ?z property:award_received resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Comedy_Series } UNION { ?y property:award_received resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Comedy_Series } UNION { ?z property:award_received resource:Drama_Desk_Award_for_Outstanding_Actress_in_a_Musical } UNION { ?y property:award_received resource:Drama_Desk_Award_for_Outstanding_Actress_in_a_Musical } UNION { ?z property:award_received resource:Gouden_Televizier-Ring } UNION { ?y property:award_received resource:Gouden_Televizier-Ring } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:common_name }
[]
television program common name
Quantitative|Count|Mult. entity type|Clarification
Q20890225
SYSTEM
Did you mean Gouden Televizier-Ring ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P166 resource:Q1285970 } UNION { ?y property:P166 resource:Q1285970 } UNION { ?z property:P166 resource:Q1285970 } UNION { ?y property:P166 resource:Q1285970 } UNION { ?z property:P166 resource:Q5305703 } UNION { ?y property:P166 resource:Q5305703 } UNION { ?z property:P166 resource:Q20890225 } UNION { ?y property:P166 resource:Q20890225 } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q502895 }
Did you mean Gouden Televizier-Ring ?
Gouden Televizier-Ring
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:award_received resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Comedy_Series } UNION { ?y property:award_received resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Comedy_Series } UNION { ?z property:award_received resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Comedy_Series } UNION { ?y property:award_received resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Comedy_Series } UNION { ?z property:award_received resource:Drama_Desk_Award_for_Outstanding_Actress_in_a_Musical } UNION { ?y property:award_received resource:Drama_Desk_Award_for_Outstanding_Actress_in_a_Musical } UNION { ?z property:award_received resource:Gouden_Televizier-Ring } UNION { ?y property:award_received resource:Gouden_Televizier-Ring } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series. Could you tell me the answer for that?
(c(Q15416),P166,Q1285970) (c(Q502895),P166,Q1285970) (c(Q15416),P166,Q1285970) (c(Q502895),P166,Q1285970) (c(Q15416),P166,Q5305703) (c(Q502895),P166,Q5305703) (c(Q15416),P166,Q20890225) (c(Q502895),P166,Q20890225)
Q1285970
[{'concept': 'Q15416'}, 'P166', 'Q1285970'] [{'concept': 'Q502895'}, 'P166', 'Q1285970'] [{'concept': 'Q15416'}, 'P166', 'Q1285970'] [{'concept': 'Q502895'}, 'P166', 'Q1285970'] [{'concept': 'Q15416'}, 'P166', 'Q5305703'] [{'concept': 'Q502895'}, 'P166', 'Q5305703'] [{'concept': 'Q15416'}, 'P166', 'Q20890225'] [{'concept': 'Q502895'}, 'P166', 'Q20890225']
[{'concept': 'television program'}, 'award received', 'Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series'] [{'concept': 'common name'}, 'award received', 'Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series'] [{'concept': 'television program'}, 'award received', 'Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series'] [{'concept': 'common name'}, 'award received', 'Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series'] [{'concept': 'television program'}, 'award received', 'Drama Desk Award for Outstanding Actress in a Musical'] [{'concept': 'common name'}, 'award received', 'Drama Desk Award for Outstanding Actress in a Musical'] [{'concept': 'television program'}, 'award received', 'Gouden Televizier-Ring'] [{'concept': 'common name'}, 'award received', 'Gouden Televizier-Ring']
[]
SYSTEM
6
Q1048856 Q244803 Q299309 Q355125 Q109324 Q1156975
(c(Q15416),P166,Q1285970) (c(Q502895),P166,Q1285970) (c(Q15416),P166,Q1285970) (c(Q502895),P166,Q1285970) (c(Q15416),P166,Q5305703) (c(Q502895),P166,Q5305703) (c(Q15416),P166,Q20890225) (c(Q502895),P166,Q20890225)
[ANSWER]
[{'concept': 'Q15416'}, 'P166', 'Q1285970'] [{'concept': 'Q502895'}, 'P166', 'Q1285970'] [{'concept': 'Q15416'}, 'P166', 'Q1285970'] [{'concept': 'Q502895'}, 'P166', 'Q1285970'] [{'concept': 'Q15416'}, 'P166', 'Q5305703'] [{'concept': 'Q502895'}, 'P166', 'Q5305703'] [{'concept': 'Q15416'}, 'P166', 'Q20890225'] [{'concept': 'Q502895'}, 'P166', 'Q20890225']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P166 resource:Q1285970 } UNION { ?y property:P166 resource:Q1285970 } UNION { ?z property:P166 resource:Q1285970 } UNION { ?y property:P166 resource:Q1285970 } UNION { ?z property:P166 resource:Q5305703 } UNION { ?y property:P166 resource:Q5305703 } UNION { ?z property:P166 resource:Q20890225 } UNION { ?y property:P166 resource:Q20890225 } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q502895 }
All in the Family Ally McBeal Peter MacNicol Harry Morgan Christopher Lloyd Evening Shade
6
[{'concept': 'television program'}, 'award received', 'Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series'] [{'concept': 'common name'}, 'award received', 'Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series'] [{'concept': 'television program'}, 'award received', 'Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series'] [{'concept': 'common name'}, 'award received', 'Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series'] [{'concept': 'television program'}, 'award received', 'Drama Desk Award for Outstanding Actress in a Musical'] [{'concept': 'common name'}, 'award received', 'Drama Desk Award for Outstanding Actress in a Musical'] [{'concept': 'television program'}, 'award received', 'Gouden Televizier-Ring'] [{'concept': 'common name'}, 'award received', 'Gouden Televizier-Ring']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:award_received resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Comedy_Series } UNION { ?y property:award_received resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Comedy_Series } UNION { ?z property:award_received resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Comedy_Series } UNION { ?y property:award_received resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Comedy_Series } UNION { ?z property:award_received resource:Drama_Desk_Award_for_Outstanding_Actress_in_a_Musical } UNION { ?y property:award_received resource:Drama_Desk_Award_for_Outstanding_Actress_in_a_Musical } UNION { ?z property:award_received resource:Gouden_Televizier-Ring } UNION { ?y property:award_received resource:Gouden_Televizier-Ring } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49768
P463
Q7210356
USER
Which organization was Social Democratic Party of Germany a member of ?
(Q49768,P463,c(Q7210356))
action filter_type
action find
entity Q49768
relation P463
type Q7210356
['Q49768', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q49768 property:P463 ?x . ?x rdf:type ontology:Q7210356 }
Social Democratic Party of Germany
action filter_type
action find
entity Social Democratic Party of Germany
relation member of
type political organization
['Social Democratic Party of Germany', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Social_Democratic_Party_of_Germany property:member_of ?x . ?x rdf:type ontology:political_organization }
[]
political organization
Q7248622
SYSTEM
Progressive Alliance
Q7248622
(Q49768,P463,c(Q7210356))
action filter_type
action find
entity Q49768
relation P463
type Q7210356
Party [ANSWER] was Social Democratic Party of Germany a member of
['Q49768', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q49768 property:P463 ?x . ?x rdf:type ontology:Q7210356 }
Progressive Alliance
Party Progressive Alliance was Social Democratic Party of Germany a member of
Progressive Alliance
action filter_type
action find
entity Social Democratic Party of Germany
relation member of
type political organization
['Social Democratic Party of Germany', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Social_Democratic_Party_of_Germany property:member_of ?x . ?x rdf:type ontology:political_organization }
[]