Simple Question (Direct)
Simple Question
Q3588314
P20
Q56061
USER
Which administrative territory is the place of death of Émile Auguste Wéry ?
(Q3588314,P20,c(Q56061))
action filter_type
action find
entity Q3588314
relation P20
type Q56061
['Q3588314', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q3588314 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Émile Auguste Wéry
action filter_type
action find
entity Émile Auguste Wéry
relation place of death
type administrative territorial entity
['Émile Auguste Wéry', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Émile_Auguste_Wéry property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3588314,P20,c(Q56061))
action filter_type
action find
entity Q3588314
relation P20
type Q56061
[ANSWER] is the place of death of Émile Auguste Wéry
['Q3588314', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q3588314 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Paris
Paris is the place of death of Émile Auguste Wéry
Paris
action filter_type
action find
entity Émile Auguste Wéry
relation place of death
type administrative territorial entity
['Émile Auguste Wéry', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Émile_Auguste_Wéry property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3588314
P166
Q618779
USER
What was won by that person ?
(Q90,P166,c(Q618779))
action filter_type
action find
entity Q3588314
relation P166
type Q618779
['Q90', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q3588314 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Émile Auguste Wéry
action filter_type
action find
entity Émile Auguste Wéry
relation award received
type award
['Paris', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Émile_Auguste_Wéry property:award_received ?u . ?u rdf:type ontology:award }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
(Q90,P166,c(Q618779))
action filter_type
action find
entity Q3588314
relation P166
type Q618779
Was [ANSWER] was won by that person
['Q90', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q3588314 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Knight of the Legion of Honour
Was Knight of the Legion of Honour was won by that person
Knight of the Legion of Honour
action filter_type
action find
entity Émile Auguste Wéry
relation award received
type award
['Paris', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Émile_Auguste_Wéry property:award_received ?u . ?u rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3588314
P19
Q56061
USER
Where was that person born ?
(Q10855271,P19,c(Q56061))
action filter_type
action find
entity Q3588314
relation P19
type Q56061
['Q10855271', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3588314 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Émile Auguste Wéry
action filter_type
action find
entity Émile Auguste Wéry
relation place of birth
type administrative territorial entity
['Knight of the Legion of Honour', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Émile_Auguste_Wéry property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q41876
SYSTEM
Reims
Q41876
(Q10855271,P19,c(Q56061))
action filter_type
action find
entity Q3588314
relation P19
type Q56061
That person was born in [ANSWER]
['Q10855271', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3588314 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Reims
That person was born in Reims
Reims
action filter_type
action find
entity Émile Auguste Wéry
relation place of birth
type administrative territorial entity
['Knight of the Legion of Honour', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Émile_Auguste_Wéry property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q13406554 Q198 Q618779
USER
Which awards are a component of atmost 1 sport competitions or wars ?
(c(Q618779),P361,c(Q13406554)|c(Q198))
action atmost
action union
action find_tuple_counts
relation P361
type Q618779
type Q13406554
action find_tuple_counts
relation P361
type Q618779
type Q198
value 1
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q13406554'}, {'concept': 'Q198'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?w WHERE { { ?w property:P361 ?n . ?w rdf:type ontology:Q618779 . ?n rdf:type ontology:Q13406554 } UNION { ?w property:P361 ?n . ?w rdf:type ontology:Q618779 . ?n rdf:type ontology:Q198 } } GROUP BY ?w } . FILTER ( ?m <= 1 ) }
action atmost
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
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'sport competition'}, {'concept': 'war'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?w WHERE { { ?w property:part_of ?n . ?w rdf:type ontology:award . ?n rdf:type ontology:sport_competition } UNION { ?w property:part_of ?n . ?w rdf:type ontology:award . ?n rdf:type ontology:war } } GROUP BY ?w } . FILTER ( ?m <= 1 ) }
[]
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 Q2547676 Q5305701 Q22135199 Q279820 Q14539884 Q23061993 Q5243452 Q5243453 Q5243450 Q5243451 Q5243456 Q5243457 Q5243454 Q5243455 Q372370 Q29597 Q900414 Q13452524 Q2050658 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 atmost
action union
action find_tuple_counts
relation P361
type Q618779
type Q13406554
action find_tuple_counts
relation P361
type Q618779
type Q198
value 1
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 atmost 1 sport competitions or wars
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q13406554'}, {'concept': 'Q198'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?w WHERE { { ?w property:P361 ?n . ?w rdf:type ontology:Q618779 . ?n rdf:type ontology:Q13406554 } UNION { ?w property:P361 ?n . ?w rdf:type ontology:Q618779 . ?n rdf:type ontology:Q198 } } GROUP BY ?w } . FILTER ( ?m <= 1 ) }
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 Croix de guerre 1939–1945 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‎ 2009–10 ISU Speed Skating World Cup – Men's 1000 metres 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 atmost 1 sport competitions or wars
Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series Drama Desk Award for Outstanding Actress in a Musical Gouden Televizier-Ring
action atmost
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
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'sport competition'}, {'concept': 'war'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?w WHERE { { ?w property:part_of ?n . ?w rdf:type ontology:award . ?n rdf:type ontology:sport_competition } UNION { ?w property:part_of ?n . ?w rdf:type ontology:award . ?n rdf:type ontology:war } } GROUP BY ?w } . FILTER ( ?m <= 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q21637619 Q3588314
P106
Q12737077
USER
Which occupations are the professions of Émile Auguste Wéry and Bernardus Fricx ?
AND((Q3588314,P106,c(Q12737077)), (Q21637619,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q3588314
relation P106
action find
entity Q21637619
relation P106
type Q12737077
{'AND': [['Q3588314', 'P106', {'concept': 'Q12737077'}], ['Q21637619', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { resource:Q3588314 property:P106 ?z . resource:Q21637619 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Bernardus Fricx Émile Auguste Wéry
action filter_type
action intersection
action find
entity Émile Auguste Wéry
relation occupation
action find
entity Bernardus Fricx
relation occupation
type occupation
{'AND': [['Émile Auguste Wéry', 'occupation', {'concept': 'occupation'}], ['Bernardus Fricx', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { resource:Émile_Auguste_Wéry property:occupation ?z . resource:Bernardus_Fricx property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q1028181
SYSTEM
painter
Q1028181
AND((Q3588314,P106,c(Q12737077)), (Q21637619,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q3588314
relation P106
action find
entity Q21637619
relation P106
type Q12737077
The [ANSWER] is the professions of Émile Auguste Wéry and Bernardus Fricx
{'AND': [['Q3588314', 'P106', {'concept': 'Q12737077'}], ['Q21637619', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { resource:Q3588314 property:P106 ?z . resource:Q21637619 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
painter
The painter is the professions of Émile Auguste Wéry and Bernardus Fricx
painter
action filter_type
action intersection
action find
entity Émile Auguste Wéry
relation occupation
action find
entity Bernardus Fricx
relation occupation
type occupation
{'AND': [['Émile Auguste Wéry', 'occupation', {'concept': 'occupation'}], ['Bernardus Fricx', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { resource:Émile_Auguste_Wéry property:occupation ?z . resource:Bernardus_Fricx property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q514659
P1027
Q11032 Q31855 Q618779
USER
How many awards are bestowed by greater number of newspapers or research institutes than Banner of Labor ?
(c(Q618779),P1027,c(Q11032)|c(Q31855))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q11032
action find_tuple_counts
relation P1027
type Q618779
type Q31855
action count
action filter_multi_types
action find
entity Q514659
relation P1027
type Q11032
type Q31855
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q11032'}, {'concept': 'Q31855'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?p ) WHERE { { ?a property:P1027 ?o . ?a rdf:type ontology:Q618779 . ?o rdf:type ontology:Q11032 } UNION { ?a rdf:type ontology:Q618779 . ?o rdf:type ontology:Q31855 . ?a property:P1027 ?o } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Q514659 property:P1027 ?e . { { ?e rdf:type ontology:Q11032 } UNION { ?e rdf:type ontology:Q31855 } } } } . FILTER ( ?p > ?c ) }
Banner of Labor
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type newspaper
action find_tuple_counts
relation conferred by
type award
type research institute
action count
action filter_multi_types
action find
entity Banner of Labor
relation conferred by
type newspaper
type research institute
[{'concept': 'award'}, 'conferred by', [{'concept': 'newspaper'}, {'concept': 'research institute'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?p ) WHERE { { ?a property:conferred_by ?o . ?a rdf:type ontology:award . ?o rdf:type ontology:newspaper } UNION { ?a rdf:type ontology:award . ?o rdf:type ontology:research_institute . ?a property:conferred_by ?o } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Banner_of_Labor property:conferred_by ?e . { { ?e rdf:type ontology:newspaper } UNION { ?e rdf:type ontology:research_institute } } } } . FILTER ( ?p > ?c ) }
[]
newspaper research institute award
SYSTEM
5
Q957043 Q971363 Q3405483 Q1819520 Q1383535
(c(Q618779),P1027,c(Q11032)|c(Q31855))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q11032
action find_tuple_counts
relation P1027
type Q618779
type Q31855
action count
action filter_multi_types
action find
entity Q514659
relation P1027
type Q11032
type Q31855
[ANSWER]
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q11032'}, {'concept': 'Q31855'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?p ) WHERE { { ?a property:P1027 ?o . ?a rdf:type ontology:Q618779 . ?o rdf:type ontology:Q11032 } UNION { ?a rdf:type ontology:Q618779 . ?o rdf:type ontology:Q31855 . ?a property:P1027 ?o } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Q514659 property:P1027 ?e . { { ?e rdf:type ontology:Q11032 } UNION { ?e rdf:type ontology:Q31855 } } } } . FILTER ( ?p > ?c ) }
Yomiuri Prize Guardian Children's Fiction Prize Rome Prize Leontief Prize for Advancing  the Frontiers of Economic Thought Prix du meilleur jeune économiste de France
5
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type newspaper
action find_tuple_counts
relation conferred by
type award
type research institute
action count
action filter_multi_types
action find
entity Banner of Labor
relation conferred by
type newspaper
type research institute
[{'concept': 'award'}, 'conferred by', [{'concept': 'newspaper'}, {'concept': 'research institute'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?p ) WHERE { { ?a property:conferred_by ?o . ?a rdf:type ontology:award . ?o rdf:type ontology:newspaper } UNION { ?a rdf:type ontology:award . ?o rdf:type ontology:research_institute . ?a property:conferred_by ?o } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Banner_of_Labor property:conferred_by ?e . { { ?e rdf:type ontology:newspaper } UNION { ?e rdf:type ontology:research_institute } } } } . FILTER ( ?p > ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1912002
P1027
Q11032 Q31855 Q618779
USER
And what about Max Brauer Award?
(c(Q618779),P1027,c(Q11032)|c(Q31855))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q11032
action find_tuple_counts
relation P1027
type Q618779
type Q31855
action count
action filter_multi_types
action find
entity Q1912002
relation P1027
type Q11032
type Q31855
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q11032'}, {'concept': 'Q31855'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Q1912002 property:P1027 ?t . { { ?t rdf:type ontology:Q11032 } UNION { ?t rdf:type ontology:Q31855 } } } } . FILTER ( ?n > ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?x WHERE { { ?x property:P1027 ?l . ?x rdf:type ontology:Q618779 . ?l rdf:type ontology:Q11032 } UNION { ?x property:P1027 ?l . ?x rdf:type ontology:Q618779 . ?l rdf:type ontology:Q31855 } } GROUP BY ?x } }
Max Brauer Award
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type newspaper
action find_tuple_counts
relation conferred by
type award
type research institute
action count
action filter_multi_types
action find
entity Max Brauer Award
relation conferred by
type newspaper
type research institute
[{'concept': 'award'}, 'conferred by', [{'concept': 'newspaper'}, {'concept': 'research institute'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Max_Brauer_Award property:conferred_by ?t . { { ?t rdf:type ontology:newspaper } UNION { ?t rdf:type ontology:research_institute } } } } . FILTER ( ?n > ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?x WHERE { { ?x property:conferred_by ?l . ?x rdf:type ontology:award . ?l rdf:type ontology:newspaper } UNION { ?x property:conferred_by ?l . ?x rdf:type ontology:award . ?l rdf:type ontology:research_institute } } GROUP BY ?x } }
[]
newspaper research institute award
SYSTEM
5
Q957043 Q971363 Q3405483 Q1819520 Q1383535
(c(Q618779),P1027,c(Q11032)|c(Q31855))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q11032
action find_tuple_counts
relation P1027
type Q618779
type Q31855
action count
action filter_multi_types
action find
entity Q1912002
relation P1027
type Q11032
type Q31855
[ANSWER]
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q11032'}, {'concept': 'Q31855'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Q1912002 property:P1027 ?t . { { ?t rdf:type ontology:Q11032 } UNION { ?t rdf:type ontology:Q31855 } } } } . FILTER ( ?n > ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?x WHERE { { ?x property:P1027 ?l . ?x rdf:type ontology:Q618779 . ?l rdf:type ontology:Q11032 } UNION { ?x property:P1027 ?l . ?x rdf:type ontology:Q618779 . ?l rdf:type ontology:Q31855 } } GROUP BY ?x } }
Yomiuri Prize Guardian Children's Fiction Prize Rome Prize Leontief Prize for Advancing  the Frontiers of Economic Thought Prix du meilleur jeune économiste de France
5
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type newspaper
action find_tuple_counts
relation conferred by
type award
type research institute
action count
action filter_multi_types
action find
entity Max Brauer Award
relation conferred by
type newspaper
type research institute
[{'concept': 'award'}, 'conferred by', [{'concept': 'newspaper'}, {'concept': 'research institute'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Max_Brauer_Award property:conferred_by ?t . { { ?t rdf:type ontology:newspaper } UNION { ?t rdf:type ontology:research_institute } } } } . FILTER ( ?n > ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?x WHERE { { ?x property:conferred_by ?l . ?x rdf:type ontology:award . ?l rdf:type ontology:newspaper } UNION { ?x property:conferred_by ?l . ?x rdf:type ontology:award . ?l rdf:type ontology:research_institute } } GROUP BY ?x } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q41876 Q758635
P190
Q486972
USER
How many human settlements are twin towns of Reims or Auckland Council ?
(Q41876,P190,c(Q486972)) (Q758635,P190,c(Q486972))
action count
action union
action filter_type
action find
entity Q41876
relation P190
type Q486972
action filter_type
action find
entity Q758635
relation P190
type Q486972
['Q41876', 'P190', {'concept': 'Q486972'}] ['Q758635', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { VALUES ( ?l ) { ( resource:Q758635 ) ( resource:Q41876 ) } . ?l property:P190 ?s }
Reims Auckland Council
action count
action union
action filter_type
action find
entity Reims
relation sister city
type human settlement
action filter_type
action find
entity Auckland Council
relation sister city
type human settlement
['Reims', 'sister city', {'concept': 'human settlement'}] ['Auckland Council', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { VALUES ( ?l ) { ( resource:Auckland_Council ) ( resource:Reims ) } . ?l property:sister_city ?s }
[]
human settlement
SYSTEM
2
Q233495 Q1055
(Q41876,P190,c(Q486972)) (Q758635,P190,c(Q486972))
action count
action union
action filter_type
action find
entity Q41876
relation P190
type Q486972
action filter_type
action find
entity Q758635
relation P190
type Q486972
[ANSWER]
['Q41876', 'P190', {'concept': 'Q486972'}] ['Q758635', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { VALUES ( ?l ) { ( resource:Q758635 ) ( resource:Q41876 ) } . ?l property:P190 ?s }
Shinagawa-ku Hamburg
2
action count
action union
action filter_type
action find
entity Reims
relation sister city
type human settlement
action filter_type
action find
entity Auckland Council
relation sister city
type human settlement
['Reims', 'sister city', {'concept': 'human settlement'}] ['Auckland Council', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { VALUES ( ?l ) { ( resource:Auckland_Council ) ( resource:Reims ) } . ?l property:sister_city ?s }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3535336 Q41876
P19 P190
Q56061
USER
Which administrative territories are twin cities of Reims or are the places of birth of Quintin McMillan ?
OR((Q41876,P190,c(Q56061)), (Q3535336,P19,c(Q56061)))
action filter_type
action union
action find
entity Q41876
relation P190
action find
entity Q3535336
relation P19
type Q56061
{'OR': [['Q41876', 'P190', {'concept': 'Q56061'}], ['Q3535336', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q41876 property:P190 ?q } UNION { resource:Q3535336 property:P19 ?q } } . ?q rdf:type ontology:Q56061 }
Quintin McMillan Reims
action filter_type
action union
action find
entity Reims
relation sister city
action find
entity Quintin McMillan
relation place of birth
type administrative territorial entity
{'OR': [['Reims', 'sister city', {'concept': 'administrative territorial entity'}], ['Quintin McMillan', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Reims property:sister_city ?q } UNION { resource:Quintin_McMillan property:place_of_birth ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q29303 Q993721 Q1017 Q3844 Q17943 Q178663 Q2044 Q34713
SYSTEM
Canterbury, Germiston, Aachen, Brazzaville, Arlington, Meknes, Florence, Salzburg
Q29303 Q993721 Q1017 Q3844 Q17943 Q178663 Q2044 Q34713
OR((Q41876,P190,c(Q56061)), (Q3535336,P19,c(Q56061)))
action filter_type
action union
action find
entity Q41876
relation P190
action find
entity Q3535336
relation P19
type Q56061
[ANSWERS] are twin cities of Reims or are the places of birth of Quintin McMillan
{'OR': [['Q41876', 'P190', {'concept': 'Q56061'}], ['Q3535336', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q41876 property:P190 ?q } UNION { resource:Q3535336 property:P19 ?q } } . ?q rdf:type ontology:Q56061 }
Canterbury Germiston Aachen Brazzaville Arlington Meknes Florence Salzburg
Canterbury, Germiston, Aachen, Brazzaville, Arlington, Meknes, Florence and Salzburg are twin cities of Reims or are the places of birth of Quintin McMillan
Canterbury Germiston Aachen Brazzaville Arlington Meknes Florence Salzburg
action filter_type
action union
action find
entity Reims
relation sister city
action find
entity Quintin McMillan
relation place of birth
type administrative territorial entity
{'OR': [['Reims', 'sister city', {'concept': 'administrative territorial entity'}], ['Quintin McMillan', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Reims property:sister_city ?q } UNION { resource:Quintin_McMillan property:place_of_birth ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]