Simple Question (Direct)
Simple Question
Q19289745
P937
Q56061
USER
What is the location where Antoni Lucchetti i Farré worked ?
(Q19289745,P937,c(Q56061))
action filter_type
action find
entity Q19289745
relation P937
type Q56061
['Q19289745', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q19289745 property:P937 ?n }
Antoni Lucchetti i Farré
action filter_type
action find
entity Antoni Lucchetti i Farré
relation work location
type administrative territorial entity
['Antoni Lucchetti i Farré', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Antoni_Lucchetti_i_Farré property:work_location ?n }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q19289745,P937,c(Q56061))
action filter_type
action find
entity Q19289745
relation P937
type Q56061
The location Antoni Lucchetti i Farré worked is in [ANSWER]
['Q19289745', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q19289745 property:P937 ?n }
Barcelona
The location Antoni Lucchetti i Farré worked is in Barcelona
Barcelona
action filter_type
action find
entity Antoni Lucchetti i Farré
relation work location
type administrative territorial entity
['Antoni Lucchetti i Farré', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Antoni_Lucchetti_i_Farré property:work_location ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19289745
P102
Q7278
USER
Which political party is Antoni Lucchetti i Farré a member of ?
(Q19289745,P102,c(Q7278))
action filter_type
action find
entity Q19289745
relation P102
type Q7278
['Q19289745', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?w WHERE { resource:Q19289745 property:P102 ?w . ?w rdf:type ontology:Q7278 }
Antoni Lucchetti i Farré
action filter_type
action find
entity Antoni Lucchetti i Farré
relation member of political party
type political party
['Antoni Lucchetti i Farré', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?w WHERE { resource:Antoni_Lucchetti_i_Farré property:member_of_political_party ?w . ?w rdf:type ontology:political_party }
[]
political party
Q2630934
SYSTEM
Unified Socialist Party of Catalonia
Q2630934
(Q19289745,P102,c(Q7278))
action filter_type
action find
entity Q19289745
relation P102
type Q7278
The [ANSWER] is Antoni Lucchetti i Farré a member of
['Q19289745', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?w WHERE { resource:Q19289745 property:P102 ?w . ?w rdf:type ontology:Q7278 }
Unified Socialist Party of Catalonia
The Unified Socialist Party of Catalonia is Antoni Lucchetti i Farré a member of
Unified Socialist Party of Catalonia
action filter_type
action find
entity Antoni Lucchetti i Farré
relation member of political party
type political party
['Antoni Lucchetti i Farré', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?w WHERE { resource:Antoni_Lucchetti_i_Farré property:member_of_political_party ?w . ?w rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1492
P159
Q41176
USER
Which buildings have HQ at Barcelona ?
(c(Q41176),P159,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P159
type Q41176
[{'concept': 'Q41176'}, 'P159', 'Q1492']
SELECT DISTINCT ?j WHERE { ?j property:P159 resource:Q1492 . ?j rdf:type ontology:Q41176 }
Barcelona
action filter_type
action find_reverse
entity Barcelona
relation headquarters location
type building
[{'concept': 'building'}, 'headquarters location', 'Barcelona']
SELECT DISTINCT ?j WHERE { ?j property:headquarters_location resource:Barcelona . ?j rdf:type ontology:building }
[]
building
Q1320197 Q2371388
SYSTEM
Teatre Nacional de Catalunya, Hospital Clinic of Barcelona
Q1320197 Q2371388
(c(Q41176),P159,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P159
type Q41176
[ANSWERS] have HQ at Barcelona
[{'concept': 'Q41176'}, 'P159', 'Q1492']
SELECT DISTINCT ?j WHERE { ?j property:P159 resource:Q1492 . ?j rdf:type ontology:Q41176 }
Teatre Nacional de Catalunya Hospital Clinic of Barcelona
Teatre Nacional de Catalunya and Hospital Clinic of Barcelona have HQ at Barcelona
Teatre Nacional de Catalunya Hospital Clinic of Barcelona
action filter_type
action find_reverse
entity Barcelona
relation headquarters location
type building
[{'concept': 'building'}, 'headquarters location', 'Barcelona']
SELECT DISTINCT ?j WHERE { ?j property:headquarters_location resource:Barcelona . ?j rdf:type ontology:building }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1320197
P108
Q502895
USER
Which person is working for that building ?
(c(Q502895),P108,Q1320197)
action filter_type
action find_reverse
entity Q1320197
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q1320197']
SELECT DISTINCT ?n WHERE { ?n property:P108 resource:Q1320197 . ?n rdf:type ontology:Q502895 }
Teatre Nacional de Catalunya
action filter_type
action find_reverse
entity Teatre Nacional de Catalunya
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Teatre Nacional de Catalunya']
SELECT DISTINCT ?n WHERE { ?n property:employer resource:Teatre_Nacional_de_Catalunya . ?n rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2371388
SYSTEM
Did you mean Hospital Clinic of Barcelona ?
Q1320197 Q2371388
(c(Q502895),P108,Q1320197) (c(Q502895),P108,Q2371388)
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q1320197'] [{'concept': 'Q502895'}, 'P108', 'Q2371388']
SELECT DISTINCT ?n WHERE { ?n property:P108 resource:Q1320197 . ?n rdf:type ontology:Q502895 }
Teatre Nacional de Catalunya Hospital Clinic of Barcelona
Did you mean Hospital Clinic of Barcelona ?
Hospital Clinic of Barcelona
[{'concept': 'common name'}, 'employer', 'Teatre Nacional de Catalunya'] [{'concept': 'common name'}, 'employer', 'Hospital Clinic of Barcelona']
SELECT DISTINCT ?n WHERE { ?n property:employer resource:Teatre_Nacional_de_Catalunya . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Teatre Nacional de Catalunya. Could you tell me the answer for that?
(c(Q502895),P108,Q1320197)
Q1320197
[{'concept': 'Q502895'}, 'P108', 'Q1320197']
[{'concept': 'common name'}, 'employer', 'Teatre Nacional de Catalunya']
[]
Q3035642
SYSTEM
Domènec Reixach
Q3035642
(c(Q502895),P108,Q1320197)
action filter_type
action find_reverse
entity Q1320197
relation P108
type Q502895
[ANSWER] is working for that building
[{'concept': 'Q502895'}, 'P108', 'Q1320197']
SELECT DISTINCT ?n WHERE { ?n property:P108 resource:Q1320197 . ?n rdf:type ontology:Q502895 }
Domènec Reixach
Domènec Reixach is working for that building
Domènec Reixach
action filter_type
action find_reverse
entity Teatre Nacional de Catalunya
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Teatre Nacional de Catalunya']
SELECT DISTINCT ?n WHERE { ?n property:employer resource:Teatre_Nacional_de_Catalunya . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P149
Q968159 Q32880 Q41176
USER
How many buildings have approximately 1 art movements and architectural styles as architectural style ?
(c(Q41176),P149,c(Q968159)|c(Q32880))
action count
action approx
action union
action find_tuple_counts
relation P149
type Q41176
type Q968159
action find_tuple_counts
relation P149
type Q41176
type Q32880
value 1
[{'concept': 'Q41176'}, 'P149', [{'concept': 'Q968159'}, {'concept': 'Q32880'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?d WHERE { VALUES ( ?u ) { ( ontology:Q32880 ) ( ontology:Q968159 ) } . ?p rdf:type ?u } GROUP BY ?d } . FILTER ( ?j = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation architectural style
type building
type art movement
action find_tuple_counts
relation architectural style
type building
type architectural style
value 1
[{'concept': 'building'}, 'architectural style', [{'concept': 'art movement'}, {'concept': 'architectural style'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?d WHERE { VALUES ( ?u ) { ( ontology:architectural_style ) ( ontology:art_movement ) } . ?p rdf:type ?u } GROUP BY ?d } . FILTER ( ?j = 1 ) }
[]
art movement architectural style building
SYSTEM
12
Q1440190 Q1450424 Q3132953 Q3462700 Q731437 Q14687957 Q507282 Q3826078 Q597051 Q21538879 Q5473086 Q6484803
(c(Q41176),P149,c(Q968159)|c(Q32880))
action count
action approx
action union
action find_tuple_counts
relation P149
type Q41176
type Q968159
action find_tuple_counts
relation P149
type Q41176
type Q32880
value 1
[ANSWER]
[{'concept': 'Q41176'}, 'P149', [{'concept': 'Q968159'}, {'concept': 'Q32880'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?d WHERE { VALUES ( ?u ) { ( ontology:Q32880 ) ( ontology:Q968159 ) } . ?p rdf:type ?u } GROUP BY ?d } . FILTER ( ?j = 1 ) }
Fox Theatre Residencia de Estudiantes Heliopolis Palace Palace of Laredo Shrine Auditorium New Regal Theater Hospital de Sant Pau Teatre Municipal de l'Escorxador Palau Güell chapelle du Calvaire (Chambéry) Forum Theatre Landmark Theater
12
action count
action approx
action union
action find_tuple_counts
relation architectural style
type building
type art movement
action find_tuple_counts
relation architectural style
type building
type architectural style
value 1
[{'concept': 'building'}, 'architectural style', [{'concept': 'art movement'}, {'concept': 'architectural style'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?d WHERE { VALUES ( ?u ) { ( ontology:architectural_style ) ( ontology:art_movement ) } . ?p rdf:type ?u } GROUP BY ?d } . FILTER ( ?j = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3035642
P166
Q618779
USER
Which award was received by Domènec Reixach ?
(Q3035642,P166,c(Q618779))
action filter_type
action find
entity Q3035642
relation P166
type Q618779
['Q3035642', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q618779 . resource:Q3035642 property:P166 ?i }
Domènec Reixach
action filter_type
action find
entity Domènec Reixach
relation award received
type award
['Domènec Reixach', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:award . resource:Domènec_Reixach property:award_received ?i }
[]
award
Q13452528
SYSTEM
Chevalier de l'ordre des Arts et des Lettres‎
Q13452528
(Q3035642,P166,c(Q618779))
action filter_type
action find
entity Q3035642
relation P166
type Q618779
[ANSWER] was received by Domènec Reixach
['Q3035642', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q618779 . resource:Q3035642 property:P166 ?i }
Chevalier de l'ordre des Arts et des Lettres‎
Chevalier de l'ordre des Arts et des Lettres‎ was received by Domènec Reixach
Chevalier de l'ordre des Arts et des Lettres‎
action filter_type
action find
entity Domènec Reixach
relation award received
type award
['Domènec Reixach', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:award . resource:Domènec_Reixach property:award_received ?i }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q234460 Q35798 Q618779
USER
How many awards are parts of less number of texts or executive branches than that award ?
(c(Q618779),P361,c(Q234460)|c(Q35798))
action count
action less
action union
action find_tuple_counts
relation P361
type Q618779
type Q234460
action find_tuple_counts
relation P361
type Q618779
type Q35798
action count
action filter_multi_types
action find
entity Q13452528
relation P361
type Q234460
type Q35798
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q234460'}, {'concept': 'Q35798'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?p WHERE { { ?p property:P361 ?k . ?p rdf:type ontology:Q618779 . ?k rdf:type ontology:Q234460 } UNION { ?p property:P361 ?k . ?p rdf:type ontology:Q618779 . ?k rdf:type ontology:Q35798 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Q13452528 property:P361 ?m . { { ?m rdf:type ontology:Q234460 } UNION { ?m rdf:type ontology:Q35798 } } } } . FILTER ( ?j < ?v ) }
action count
action less
action union
action find_tuple_counts
relation part of
type award
type text
action find_tuple_counts
relation part of
type award
type executive branch
action count
action filter_multi_types
action find
entity Chevalier de l'ordre des Arts et des Lettres‎
relation part of
type text
type executive branch
[{'concept': 'award'}, 'part of', [{'concept': 'text'}, {'concept': 'executive branch'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?p WHERE { { ?p property:part_of ?k . ?p rdf:type ontology:award . ?k rdf:type ontology:text } UNION { ?p property:part_of ?k . ?p rdf:type ontology:award . ?k rdf:type ontology:executive_branch } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Chevalier_de_l'ordre_des_Arts_et_des_Lettres‎ property:part_of ?m . { { ?m rdf:type ontology:text } UNION { ?m rdf:type ontology:executive_branch } } } } . FILTER ( ?j < ?v ) }
[]
text executive branch award
SYSTEM
171
Q20890225 Q2359546 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 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(Q234460)|c(Q35798))
action count
action less
action union
action find_tuple_counts
relation P361
type Q618779
type Q234460
action find_tuple_counts
relation P361
type Q618779
type Q35798
action count
action filter_multi_types
action find
entity Q13452528
relation P361
type Q234460
type Q35798
[ANSWER]
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q234460'}, {'concept': 'Q35798'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?p WHERE { { ?p property:P361 ?k . ?p rdf:type ontology:Q618779 . ?k rdf:type ontology:Q234460 } UNION { ?p property:P361 ?k . ?p rdf:type ontology:Q618779 . ?k rdf:type ontology:Q35798 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Q13452528 property:P361 ?m . { { ?m rdf:type ontology:Q234460 } UNION { ?m rdf:type ontology:Q35798 } } } } . FILTER ( ?j < ?v ) }
Gouden Televizier-Ring Wim Sonneveldprijs 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 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
171
action count
action less
action union
action find_tuple_counts
relation part of
type award
type text
action find_tuple_counts
relation part of
type award
type executive branch
action count
action filter_multi_types
action find
entity Chevalier de l'ordre des Arts et des Lettres‎
relation part of
type text
type executive branch
[{'concept': 'award'}, 'part of', [{'concept': 'text'}, {'concept': 'executive branch'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) ?p WHERE { { ?p property:part_of ?k . ?p rdf:type ontology:award . ?k rdf:type ontology:text } UNION { ?p property:part_of ?k . ?p rdf:type ontology:award . ?k rdf:type ontology:executive_branch } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Chevalier_de_l'ordre_des_Arts_et_des_Lettres‎ property:part_of ?m . { { ?m rdf:type ontology:text } UNION { ?m rdf:type ontology:executive_branch } } } } . FILTER ( ?j < ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1320197
P84
Q502895
USER
Who is the designer of Teatre Nacional de Catalunya ?
(Q1320197,P84,c(Q502895))
action filter_type
action find
entity Q1320197
relation P84
type Q502895
['Q1320197', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1320197 property:P84 ?u . ?u rdf:type ontology:Q502895 }
Teatre Nacional de Catalunya
action filter_type
action find
entity Teatre Nacional de Catalunya
relation architect
type common name
['Teatre Nacional de Catalunya', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Teatre_Nacional_de_Catalunya property:architect ?u . ?u rdf:type ontology:common_name }
[]
common name
Q316413
SYSTEM
Ricardo Bofill
Q316413
(Q1320197,P84,c(Q502895))
action filter_type
action find
entity Q1320197
relation P84
type Q502895
The designer of Teatre Nacional de Catalunya is named [ANSWER]
['Q1320197', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1320197 property:P84 ?u . ?u rdf:type ontology:Q502895 }
Ricardo Bofill
The designer of Teatre Nacional de Catalunya is named Ricardo Bofill
Ricardo Bofill
action filter_type
action find
entity Teatre Nacional de Catalunya
relation architect
type common name
['Teatre Nacional de Catalunya', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Teatre_Nacional_de_Catalunya property:architect ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1138670
Q502895
USER
And what about St Patrick's Cathedral?
(Q1138670,P84,c(Q502895))
action filter_type
action find
entity Q1138670
relation P84
type Q502895
['Q1138670', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1138670 property:P84 ?d . ?d rdf:type ontology:Q502895 }
St Patrick's Cathedral
action filter_type
action find
entity St Patrick's Cathedral
relation architect
type common name
["St Patrick's Cathedral", 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:St_Patrick's_Cathedral property:architect ?d . ?d rdf:type ontology:common_name }
[]
common name
Q8020020
SYSTEM
William Wardell
Q8020020
(Q1138670,P84,c(Q502895))
action filter_type
action find
entity Q1138670
relation P84
type Q502895
[ANSWER]
['Q1138670', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1138670 property:P84 ?d . ?d rdf:type ontology:Q502895 }
William Wardell
William Wardell
action filter_type
action find
entity St Patrick's Cathedral
relation architect
type common name
["St Patrick's Cathedral", 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:St_Patrick's_Cathedral property:architect ?d . ?d rdf:type ontology:common_name }
[]