Simple Question (Direct)
Simple Question
Q64534
P106
Q12737077
USER
Which occupation has Friedrich Christiansen as his/her 's career ?
(Q64534,P106,c(Q12737077))
action filter_type
action find
entity Q64534
relation P106
type Q12737077
['Q64534', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q64534 property:P106 ?b }
Friedrich Christiansen
action filter_type
action find
entity Friedrich Christiansen
relation occupation
type occupation
['Friedrich Christiansen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Friedrich_Christiansen property:occupation ?b }
[]
occupation
Q47064
SYSTEM
military personnel
Q47064
(Q64534,P106,c(Q12737077))
action filter_type
action find
entity Q64534
relation P106
type Q12737077
Personnel [ANSWER] has Friedrich Christiansen as his/her 's career
['Q64534', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q64534 property:P106 ?b }
military personnel
Personnel military personnel has Friedrich Christiansen as his/her 's career
military personnel
action filter_type
action find
entity Friedrich Christiansen
relation occupation
type occupation
['Friedrich Christiansen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Friedrich_Christiansen property:occupation ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64534
P166
Q618779
USER
Which award was Friedrich Christiansen awarded with ?
(Q64534,P166,c(Q618779))
action filter_type
action find
entity Q64534
relation P166
type Q618779
['Q64534', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q64534 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Friedrich Christiansen
action filter_type
action find
entity Friedrich Christiansen
relation award received
type award
['Friedrich Christiansen', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Friedrich_Christiansen property:award_received ?x . ?x rdf:type ontology:award }
[]
award
Q156478
SYSTEM
Pour le Mérite
Q156478
(Q64534,P166,c(Q618779))
action filter_type
action find
entity Q64534
relation P166
type Q618779
Friedrich Christiansen was awarded [ANSWER]
['Q64534', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q64534 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Pour le Mérite
Friedrich Christiansen was awarded Pour le Mérite
Pour le Mérite
action filter_type
action find
entity Friedrich Christiansen
relation award received
type award
['Friedrich Christiansen', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Friedrich_Christiansen property:award_received ?x . ?x rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3130936
Q618779
USER
And how about Henri Deglane?
(Q3130936,P166,c(Q618779))
action filter_type
action find
entity Q3130936
relation P166
type Q618779
['Q3130936', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q3130936 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Henri Deglane
action filter_type
action find
entity Henri Deglane
relation award received
type award
['Henri Deglane', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Henri_Deglane property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Q576434
SYSTEM
Prix de Rome
Q576434
(Q3130936,P166,c(Q618779))
action filter_type
action find
entity Q3130936
relation P166
type Q618779
[ANSWER]
['Q3130936', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q3130936 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Prix de Rome
Prix de Rome
action filter_type
action find
entity Henri Deglane
relation award received
type award
['Henri Deglane', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Henri_Deglane property:award_received ?s . ?s rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q576434 Q78148
P166
Q502895
USER
Did Dietrich Barfurth receive the award titled that one ?
(Q78148,P166,Q576434)
action is_in
entity Q78148
action find
entity Q576434
relation P166
['Q78148', 'P166', 'Q576434']
ASK WHERE { resource:Q576434 property:P166 resource:Q78148 }
Prix de Rome Dietrich Barfurth
action is_in
entity Dietrich Barfurth
action find
entity Prix de Rome
relation award received
['Dietrich Barfurth', 'award received', 'Prix de Rome']
ASK WHERE { resource:Prix_de_Rome property:award_received resource:Dietrich_Barfurth }
[]
common name
SYSTEM
NO
(Q78148,P166,Q576434)
action is_in
entity Q78148
action find
entity Q576434
relation P166
[ANSWER]
['Q78148', 'P166', 'Q576434']
ASK WHERE { resource:Q576434 property:P166 resource:Q78148 }
No
action is_in
entity Dietrich Barfurth
action find
entity Prix de Rome
relation award received
['Dietrich Barfurth', 'award received', 'Prix de Rome']
ASK WHERE { resource:Prix_de_Rome property:award_received resource:Dietrich_Barfurth }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q64534 Q183 Q3315196
P27
Q1048835
USER
Is Friedrich Christiansen a citizen of Germany and Huambo District ?
(Q64534,P27,Q183) (Q64534,P27,Q3315196)
action is_in
entity Q64534
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q3315196
relation P27
['Q64534', 'P27', 'Q183'] ['Q64534', 'P27', 'Q3315196']
ASK WHERE { resource:Q64534 property:P27 resource:Q183 . resource:Q64534 property:P27 resource:Q3315196 }
Friedrich Christiansen Germany Huambo District
action is_in
entity Friedrich Christiansen
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Huambo District
relation country of citizenship
['Friedrich Christiansen', 'country of citizenship', 'Germany'] ['Friedrich Christiansen', 'country of citizenship', 'Huambo District']
ASK WHERE { resource:Friedrich_Christiansen property:country_of_citizenship resource:Germany . resource:Friedrich_Christiansen property:country_of_citizenship resource:Huambo_District }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q64534,P27,Q183) (Q64534,P27,Q3315196)
action is_in
entity Q64534
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q3315196
relation P27
[ANSWER]
['Q64534', 'P27', 'Q183'] ['Q64534', 'P27', 'Q3315196']
ASK WHERE { resource:Q64534 property:P27 resource:Q183 . resource:Q64534 property:P27 resource:Q3315196 }
YES and NO respectively
action is_in
entity Friedrich Christiansen
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Huambo District
relation country of citizenship
['Friedrich Christiansen', 'country of citizenship', 'Germany'] ['Friedrich Christiansen', 'country of citizenship', 'Huambo District']
ASK WHERE { resource:Friedrich_Christiansen property:country_of_citizenship resource:Germany . resource:Friedrich_Christiansen property:country_of_citizenship resource:Huambo_District }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64534
P20
Q15617994
USER
Where did the expiration of Friedrich Christiansen occur ?
(Q64534,P20,c(Q15617994))
action filter_type
action find
entity Q64534
relation P20
type Q15617994
['Q64534', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q64534 property:P20 ?i . ?i rdf:type ontology:Q15617994 }
Friedrich Christiansen
action filter_type
action find
entity Friedrich Christiansen
relation place of death
type designation for an administrative territorial entity
['Friedrich Christiansen', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Friedrich_Christiansen property:place_of_death ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q638295
SYSTEM
Aukrug
Q638295
(Q64534,P20,c(Q15617994))
action filter_type
action find
entity Q64534
relation P20
type Q15617994
The expiration of Friedrich Christiansen occurred at [ANSWER]
['Q64534', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q64534 property:P20 ?i . ?i rdf:type ontology:Q15617994 }
Aukrug
The expiration of Friedrich Christiansen occurred at Aukrug
Aukrug
action filter_type
action find
entity Friedrich Christiansen
relation place of death
type designation for an administrative territorial entity
['Friedrich Christiansen', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Friedrich_Christiansen property:place_of_death ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64534
P607
Q198
USER
Which battles did Friedrich Christiansen take part in ?
(Q64534,P607,c(Q198))
action filter_type
action find
entity Q64534
relation P607
type Q198
['Q64534', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?q WHERE { resource:Q64534 property:P607 ?q . ?q rdf:type ontology:Q198 }
Friedrich Christiansen
action filter_type
action find
entity Friedrich Christiansen
relation conflict
type war
['Friedrich Christiansen', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?q WHERE { resource:Friedrich_Christiansen property:conflict ?q . ?q rdf:type ontology:war }
[]
war
Q362 Q361
SYSTEM
World War II, World War I
Q362 Q361
(Q64534,P607,c(Q198))
action filter_type
action find
entity Q64534
relation P607
type Q198
Friedrich Christiansen took part in [ANSWERS]
['Q64534', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?q WHERE { resource:Q64534 property:P607 ?q . ?q rdf:type ontology:Q198 }
World War II World War I
Friedrich Christiansen took part in World War II and World War I
World War II World War I
action filter_type
action find
entity Friedrich Christiansen
relation conflict
type war
['Friedrich Christiansen', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?q WHERE { resource:Friedrich_Christiansen property:conflict ?q . ?q rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64534
P102
Q7210356
USER
Which party is Friedrich Christiansen affiliated with ?
(Q64534,P102,c(Q7210356))
action filter_type
action find
entity Q64534
relation P102
type Q7210356
['Q64534', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { resource:Q64534 property:P102 ?e . ?e rdf:type ontology:Q7210356 }
Friedrich Christiansen
action filter_type
action find
entity Friedrich Christiansen
relation member of political party
type political organization
['Friedrich Christiansen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { resource:Friedrich_Christiansen property:member_of_political_party ?e . ?e rdf:type ontology:political_organization }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
(Q64534,P102,c(Q7210356))
action filter_type
action find
entity Q64534
relation P102
type Q7210356
Friedrich Christiansen is affiliated with [ANSWER]
['Q64534', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { resource:Q64534 property:P102 ?e . ?e rdf:type ontology:Q7210356 }
Nazi Party
Friedrich Christiansen is affiliated with Nazi Party
Nazi Party
action filter_type
action find
entity Friedrich Christiansen
relation member of political party
type political organization
['Friedrich Christiansen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { resource:Friedrich_Christiansen property:member_of_political_party ?e . ?e rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q64534
P21
Q290
USER
Which sex does that person belong to ?
(Q7320,P21,c(Q290))
action filter_type
action find
entity Q64534
relation P21
type Q290
['Q7320', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q64534 property:P21 ?i . ?i rdf:type ontology:Q290 }
Friedrich Christiansen
action filter_type
action find
entity Friedrich Christiansen
relation gender
type sex
['Nazi Party', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Friedrich_Christiansen property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7320,P21,c(Q290))
action filter_type
action find
entity Q64534
relation P21
type Q290
That person belongs to [ANSWER]
['Q7320', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q64534 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Friedrich Christiansen
relation gender
type sex
['Nazi Party', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Friedrich_Christiansen property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q64534
P19
Q15617994
USER
Which administrative territory was that person born at ?
(Q6581097,P19,c(Q15617994))
action filter_type
action find
entity Q64534
relation P19
type Q15617994
['Q6581097', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q64534 property:P19 ?l . ?l rdf:type ontology:Q15617994 }
Friedrich Christiansen
action filter_type
action find
entity Friedrich Christiansen
relation place of birth
type designation for an administrative territorial entity
['male', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Friedrich_Christiansen property:place_of_birth ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20771
SYSTEM
Wyk auf Föhr
Q20771
(Q6581097,P19,c(Q15617994))
action filter_type
action find
entity Q64534
relation P19
type Q15617994
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q64534 property:P19 ?l . ?l rdf:type ontology:Q15617994 }
Wyk auf Föhr
That person was born in Wyk auf Föhr
Wyk auf Föhr
action filter_type
action find
entity Friedrich Christiansen
relation place of birth
type designation for an administrative territorial entity
['male', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Friedrich_Christiansen property:place_of_birth ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q10855195
P361
Q223393 Q618779 Q618779
USER
How many awards are a part of more number of literary genres or awards than Officer of the Legion of Honour ?
(c(Q618779),P361,c(Q223393)|c(Q618779))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q618779
type Q223393
action find_tuple_counts
relation P361
type Q618779
type Q618779
action count
action filter_multi_types
action find
entity Q10855195
relation P361
type Q223393
type Q618779
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q223393'}, {'concept': 'Q618779'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?a ) WHERE { { ?b property:P361 ?r . ?b rdf:type ontology:Q618779 . ?r rdf:type ontology:Q223393 } UNION { ?b property:P361 ?r . ?b rdf:type ontology:Q618779 . ?r rdf:type ontology:Q618779 } } GROUP BY ?b } . FILTER ( ?a > ?q ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Q10855195 property:P361 ?g . { { ?g rdf:type ontology:Q223393 } UNION { ?g rdf:type ontology:Q618779 } } } } }
Officer of the Legion of Honour
action count
action greater
action union
action find_tuple_counts
relation part of
type award
type literary genre
action find_tuple_counts
relation part of
type award
type award
action count
action filter_multi_types
action find
entity Officer of the Legion of Honour
relation part of
type literary genre
type award
[{'concept': 'award'}, 'part of', [{'concept': 'literary genre'}, {'concept': 'award'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?a ) WHERE { { ?b property:part_of ?r . ?b rdf:type ontology:award . ?r rdf:type ontology:literary_genre } UNION { ?b property:part_of ?r . ?b rdf:type ontology:award . ?r rdf:type ontology:award } } GROUP BY ?b } . FILTER ( ?a > ?q ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Officer_of_the_Legion_of_Honour property:part_of ?g . { { ?g rdf:type ontology:literary_genre } UNION { ?g rdf:type ontology:award } } } } }
[]
literary genre award award
SYSTEM
39
Q15463524 Q16218137 Q20824563 Q26079956 Q24231374 Q23061993 Q1086189 Q23059849 Q266012 Q20857709 Q16395246 Q7600545 Q5579156 Q26084288 Q267950 Q11288429 Q20857713 Q3405076 Q20857717 Q20857715 Q15284630 Q4120984 Q14941844 Q3405797 Q3405795 Q3405792 Q37922 Q3405790 Q23062015 Q13377517 Q15464509 Q20857721 Q26481897 Q936683 Q610903 Q23061860 Q4120948 Q15464524 Q11593374
(c(Q618779),P361,c(Q223393)|c(Q618779))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q618779
type Q223393
action find_tuple_counts
relation P361
type Q618779
type Q618779
action count
action filter_multi_types
action find
entity Q10855195
relation P361
type Q223393
type Q618779
[ANSWER]
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q223393'}, {'concept': 'Q618779'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?a ) WHERE { { ?b property:P361 ?r . ?b rdf:type ontology:Q618779 . ?r rdf:type ontology:Q223393 } UNION { ?b property:P361 ?r . ?b rdf:type ontology:Q618779 . ?r rdf:type ontology:Q618779 } } GROUP BY ?b } . FILTER ( ?a > ?q ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Q10855195 property:P361 ?g . { { ?g rdf:type ontology:Q223393 } UNION { ?g rdf:type ontology:Q618779 } } } } }
Knight of the National Order of Quebec Seumas McNally Grand Prize Michelin star Tony Award for Best Sound Design of a Play Ingeborg Bachmann Award 2016 Charles Veillon prize in the Italian language Nebula Award for Best Novella Hans Christian Andersen Award for illustration Nebula Award for Best Novel Grand Cordon of the National Order of the Cedar‎ Ridenhour Truth-Telling Prize Gullspiran Golden Ariel Tony Award for Best Sound Design of a Musical Empire Gallantry Medal Grand Cordon of the Order of the Paulownia Flowers 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 Grand Officer of the Order of Saints Maurice and Lazarus 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 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 Knight Grand Cross with Collar of the Order of St. Olav‎ Grand Officer of the National Order of Quebec Knight of the National Order of the Cedar octave d'honneur Nebula Award for Best Novelette Nebula Award for Best Short Story Charles Veillon prize in the French language Magritte Award for Best Film Officer of the National Order of Quebec Knight of the Royal and Military Order of Saint Louis
39
action count
action greater
action union
action find_tuple_counts
relation part of
type award
type literary genre
action find_tuple_counts
relation part of
type award
type award
action count
action filter_multi_types
action find
entity Officer of the Legion of Honour
relation part of
type literary genre
type award
[{'concept': 'award'}, 'part of', [{'concept': 'literary genre'}, {'concept': 'award'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?a ) WHERE { { ?b property:part_of ?r . ?b rdf:type ontology:award . ?r rdf:type ontology:literary_genre } UNION { ?b property:part_of ?r . ?b rdf:type ontology:award . ?r rdf:type ontology:award } } GROUP BY ?b } . FILTER ( ?a > ?q ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Officer_of_the_Legion_of_Honour property:part_of ?g . { { ?g rdf:type ontology:literary_genre } UNION { ?g rdf:type ontology:award } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q5243452
P361
Q223393 Q618779 Q618779
USER
And what about Daytime Emmy Award for Outstanding Talk Show?
(c(Q618779),P361,c(Q223393)|c(Q618779))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q618779
type Q223393
action find_tuple_counts
relation P361
type Q618779
type Q618779
action count
action filter_multi_types
action find
entity Q5243452
relation P361
type Q223393
type Q618779
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q223393'}, {'concept': 'Q618779'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?a ) WHERE { VALUES ( ?k ) { ( ontology:Q223393 ) ( ontology:Q618779 ) } . ?c rdf:type ?k } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q5243452 property:P361 ?x . { { ?x rdf:type ontology:Q223393 } UNION { ?x rdf:type ontology:Q618779 } } } } . FILTER ( ?a > ?j ) }
Daytime Emmy Award for Outstanding Talk Show
action count
action greater
action union
action find_tuple_counts
relation part of
type award
type literary genre
action find_tuple_counts
relation part of
type award
type award
action count
action filter_multi_types
action find
entity Daytime Emmy Award for Outstanding Talk Show
relation part of
type literary genre
type award
[{'concept': 'award'}, 'part of', [{'concept': 'literary genre'}, {'concept': 'award'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?a ) WHERE { VALUES ( ?k ) { ( ontology:literary_genre ) ( ontology:award ) } . ?c rdf:type ?k } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Daytime_Emmy_Award_for_Outstanding_Talk_Show property:part_of ?x . { { ?x rdf:type ontology:literary_genre } UNION { ?x rdf:type ontology:award } } } } . FILTER ( ?a > ?j ) }
[]
literary genre award award
SYSTEM
39
Q15463524 Q16218137 Q20824563 Q26079956 Q24231374 Q23061993 Q1086189 Q23059849 Q266012 Q20857709 Q16395246 Q7600545 Q5579156 Q26084288 Q267950 Q11288429 Q20857713 Q3405076 Q20857717 Q20857715 Q15284630 Q4120984 Q14941844 Q3405797 Q3405795 Q3405792 Q37922 Q3405790 Q23062015 Q13377517 Q15464509 Q20857721 Q26481897 Q936683 Q610903 Q23061860 Q4120948 Q15464524 Q11593374
(c(Q618779),P361,c(Q223393)|c(Q618779))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q618779
type Q223393
action find_tuple_counts
relation P361
type Q618779
type Q618779
action count
action filter_multi_types
action find
entity Q5243452
relation P361
type Q223393
type Q618779
[ANSWER]
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q223393'}, {'concept': 'Q618779'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?a ) WHERE { VALUES ( ?k ) { ( ontology:Q223393 ) ( ontology:Q618779 ) } . ?c rdf:type ?k } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q5243452 property:P361 ?x . { { ?x rdf:type ontology:Q223393 } UNION { ?x rdf:type ontology:Q618779 } } } } . FILTER ( ?a > ?j ) }
Knight of the National Order of Quebec Seumas McNally Grand Prize Michelin star Tony Award for Best Sound Design of a Play Ingeborg Bachmann Award 2016 Charles Veillon prize in the Italian language Nebula Award for Best Novella Hans Christian Andersen Award for illustration Nebula Award for Best Novel Grand Cordon of the National Order of the Cedar‎ Ridenhour Truth-Telling Prize Gullspiran Golden Ariel Tony Award for Best Sound Design of a Musical Empire Gallantry Medal Grand Cordon of the Order of the Paulownia Flowers 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 Grand Officer of the Order of Saints Maurice and Lazarus 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 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 Knight Grand Cross with Collar of the Order of St. Olav‎ Grand Officer of the National Order of Quebec Knight of the National Order of the Cedar octave d'honneur Nebula Award for Best Novelette Nebula Award for Best Short Story Charles Veillon prize in the French language Magritte Award for Best Film Officer of the National Order of Quebec Knight of the Royal and Military Order of Saint Louis
39
action count
action greater
action union
action find_tuple_counts
relation part of
type award
type literary genre
action find_tuple_counts
relation part of
type award
type award
action count
action filter_multi_types
action find
entity Daytime Emmy Award for Outstanding Talk Show
relation part of
type literary genre
type award
[{'concept': 'award'}, 'part of', [{'concept': 'literary genre'}, {'concept': 'award'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?a ) WHERE { VALUES ( ?k ) { ( ontology:literary_genre ) ( ontology:award ) } . ?c rdf:type ?k } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Daytime_Emmy_Award_for_Outstanding_Talk_Show property:part_of ?x . { { ?x rdf:type ontology:literary_genre } UNION { ?x rdf:type ontology:award } } } } . FILTER ( ?a > ?j ) }
[]