Simple Question (Direct)
Simple Question
Q3395425
P161
Q502895
USER
Which people starred in Kuduz ?
(Q3395425,P161,c(Q502895))
action filter_type
action find
entity Q3395425
relation P161
type Q502895
['Q3395425', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q3395425 property:P161 ?t . ?t rdf:type ontology:Q502895 }
Kuduz
action filter_type
action find
entity Kuduz
relation cast member
type common name
['Kuduz', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Kuduz property:cast_member ?t . ?t rdf:type ontology:common_name }
[]
common name
Q744480 Q3441949 Q1289047
SYSTEM
Josip Pejaković, Boro Stjepanović, Mustafa Nadarević
Q12758960 Q12956508 Q3441949 Q1562144 Q1289047 Q16087669 Q12959542 Q6470520 Q11073828 Q12759012 Q744480
(Q3395425,P161,c(Q502895))
action filter_type
action find
entity Q3395425
relation P161
type Q502895
[ANSWERS] starred in Kuduz
['Q3395425', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q3395425 property:P161 ?t . ?t rdf:type ontology:Q502895 }
Slobodan Ćustić Branko Đurić Boro Stjepanović Ines Fančović Mustafa Nadarević Ranko Gučevac Radmila Živković Saša Petrović Davor Janjić Snežana Bogdanović Josip Pejaković
Josip Pejaković, Boro Stjepanović and Mustafa Nadarević starred in Kuduz
Josip Pejaković Boro Stjepanović Mustafa Nadarević
action filter_type
action find
entity Kuduz
relation cast member
type common name
['Kuduz', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Kuduz property:cast_member ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q744480
P166
Q618779
USER
What was won by Josip Pejaković ?
(Q744480,P166,c(Q618779))
action filter_type
action find
entity Q744480
relation P166
type Q618779
['Q744480', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q618779 . resource:Q744480 property:P166 ?i }
Josip Pejaković
action filter_type
action find
entity Josip Pejaković
relation award received
type award
['Josip Pejaković', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:award . resource:Josip_Pejaković property:award_received ?i }
[]
award
Q11222980
SYSTEM
Sterija Award for Achievement in Acting
Q11222980
(Q744480,P166,c(Q618779))
action filter_type
action find
entity Q744480
relation P166
type Q618779
[ANSWER] was won by Josip Pejaković
['Q744480', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q618779 . resource:Q744480 property:P166 ?i }
Sterija Award for Achievement in Acting
Sterija Award for Achievement in Acting was won by Josip Pejaković
Sterija Award for Achievement in Acting
action filter_type
action find
entity Josip Pejaković
relation award received
type award
['Josip Pejaković', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:award . resource:Josip_Pejaković property:award_received ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11222980
P138
Q502895
USER
Which person is the etymology of that award ?
(Q11222980,P138,c(Q502895))
action filter_type
action find
entity Q11222980
relation P138
type Q502895
['Q11222980', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q11222980 property:P138 ?h . ?h rdf:type ontology:Q502895 }
Sterija Award for Achievement in Acting
action filter_type
action find
entity Sterija Award for Achievement in Acting
relation named after
type common name
['Sterija Award for Achievement in Acting', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Sterija_Award_for_Achievement_in_Acting property:named_after ?h . ?h rdf:type ontology:common_name }
[]
common name
Q1287180
SYSTEM
Jovan Sterija Popović
Q1287180
(Q11222980,P138,c(Q502895))
action filter_type
action find
entity Q11222980
relation P138
type Q502895
[ANSWER] is the etymology of that award
['Q11222980', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q11222980 property:P138 ?h . ?h rdf:type ontology:Q502895 }
Jovan Sterija Popović
Jovan Sterija Popović is the etymology of that award
Jovan Sterija Popović
action filter_type
action find
entity Sterija Award for Achievement in Acting
relation named after
type common name
['Sterija Award for Achievement in Acting', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Sterija_Award_for_Achievement_in_Acting property:named_after ?h . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P88
Q502895 Q57821 Q207628
USER
Which people were around 1 fortifications or musical compositions commissioned by ?
(c(Q57821)|c(Q207628),P88,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q57821
action find_reverse_tuple_counts
relation P88
type Q502895
type Q207628
value 1
[[{'concept': 'Q57821'}, {'concept': 'Q207628'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?b WHERE { { ?b rdf:type ontology:Q502895 . ?n rdf:type ontology:Q207628 . ?n property:P88 ?b } UNION { ?n property:P88 ?b . ?b rdf:type ontology:Q502895 . ?n rdf:type ontology:Q57821 } } GROUP BY ?b } }
action approx
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type fortification
action find_reverse_tuple_counts
relation commissioned by
type common name
type musical composition
value 1
[[{'concept': 'fortification'}, {'concept': 'musical composition'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?b WHERE { { ?b rdf:type ontology:common_name . ?n rdf:type ontology:musical_composition . ?n property:commissioned_by ?b } UNION { ?n property:commissioned_by ?b . ?b rdf:type ontology:common_name . ?n rdf:type ontology:fortification } } GROUP BY ?b } }
[]
common name fortification musical composition
Q153586 Q32500 Q37594
SYSTEM
Christian IV of Denmark, Charles V, William I of England
Q37594 Q32500 Q344454 Q520493 Q171185 Q153586 Q170348
(c(Q57821)|c(Q207628),P88,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q57821
action find_reverse_tuple_counts
relation P88
type Q502895
type Q207628
value 1
[ANSWERS] were around 1 fortifications or musical compositions commissioned by
[[{'concept': 'Q57821'}, {'concept': 'Q207628'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?b WHERE { { ?b rdf:type ontology:Q502895 . ?n rdf:type ontology:Q207628 . ?n property:P88 ?b } UNION { ?n property:P88 ?b . ?b rdf:type ontology:Q502895 . ?n rdf:type ontology:Q57821 } } GROUP BY ?b } }
William I of England Charles V Charles de Rémusat Michael Tilson Thomas Ivan III of Russia Christian IV of Denmark Paul Wittgenstein
Christian IV of Denmark, Charles V and William I of England were around 1 fortifications or musical compositions commissioned by
Christian IV of Denmark Charles V William I of England
action approx
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type fortification
action find_reverse_tuple_counts
relation commissioned by
type common name
type musical composition
value 1
[[{'concept': 'fortification'}, {'concept': 'musical composition'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?b WHERE { { ?b rdf:type ontology:common_name . ?n rdf:type ontology:musical_composition . ?n property:commissioned_by ?b } UNION { ?n property:commissioned_by ?b . ?b rdf:type ontology:common_name . ?n rdf:type ontology:fortification } } GROUP BY ?b } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q502895 Q95074 Q1001378
USER
Which people are exactly 1 fictional characters and cinematic techniques based on ?
(c(Q95074)|c(Q1001378),P144,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q95074
action find_reverse_tuple_counts
relation P144
type Q502895
type Q1001378
value 1
[[{'concept': 'Q95074'}, {'concept': 'Q1001378'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?m WHERE { { ?x property:P144 ?m . ?m rdf:type ontology:Q502895 . ?x rdf:type ontology:Q95074 } UNION { ?x property:P144 ?m . ?m rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1001378 } } GROUP BY ?m } . FILTER ( ?p = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation based on
type common name
type fictional character
action find_reverse_tuple_counts
relation based on
type common name
type cinematic technique
value 1
[[{'concept': 'fictional character'}, {'concept': 'cinematic technique'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?m WHERE { { ?x property:based_on ?m . ?m rdf:type ontology:common_name . ?x rdf:type ontology:fictional_character } UNION { ?x property:based_on ?m . ?m rdf:type ontology:common_name . ?x rdf:type ontology:cinematic_technique } } GROUP BY ?m } . FILTER ( ?p = 1 ) }
[]
common name fictional character cinematic technique
Q76 Q207 Q9640
SYSTEM
Barack Obama, George W. Bush, Lyndon B. Johnson
Q1093885 Q93839 Q744183 Q207 Q6748293 Q357498 Q724506 Q434317 Q76 Q47216 Q1385693 Q14544902 Q192218 Q3839050 Q6184230 Q9640 Q182788 Q309643 Q36268 Q152779 Q549242 Q7668479 Q521095
(c(Q95074)|c(Q1001378),P144,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q95074
action find_reverse_tuple_counts
relation P144
type Q502895
type Q1001378
value 1
[ANSWERS] are exactly 1 fictional characters and cinematic techniques based on
[[{'concept': 'Q95074'}, {'concept': 'Q1001378'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?m WHERE { { ?x property:P144 ?m . ?m rdf:type ontology:Q502895 . ?x rdf:type ontology:Q95074 } UNION { ?x property:P144 ?m . ?m rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1001378 } } GROUP BY ?m } . FILTER ( ?p = 1 ) }
Hathi Gary M. Heidnik Charles de Batz-Castelmore d'Artagnan George W. Bush Mandy Grunwald Gary Ridgway John E. Douglas Dee Dee Myers Barack Obama Condoleezza Rice Jerry Brudos Henri d'Aramitz Ted Bundy Lucy Hay, Countess of Carlisle Jerry Parr Lyndon B. Johnson Newt Gingrich Ed Gein Brigitte Bardot Louise Brooks Edmund Kemper T. Lewis Robert M. Morgenthau
Barack Obama, George W. Bush and Lyndon B. Johnson are exactly 1 fictional characters and cinematic techniques based on
Barack Obama George W. Bush Lyndon B. Johnson
action equal
action union
action find_reverse_tuple_counts
relation based on
type common name
type fictional character
action find_reverse_tuple_counts
relation based on
type common name
type cinematic technique
value 1
[[{'concept': 'fictional character'}, {'concept': 'cinematic technique'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?m WHERE { { ?x property:based_on ?m . ?m rdf:type ontology:common_name . ?x rdf:type ontology:fictional_character } UNION { ?x property:based_on ?m . ?m rdf:type ontology:common_name . ?x rdf:type ontology:cinematic_technique } } GROUP BY ?m } . FILTER ( ?p = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q76 Q207 Q9640
P161
Q838948
USER
Which works of art do those people star in ?
(c(Q838948),P161,Q76) (c(Q838948),P161,Q207) (c(Q838948),P161,Q9640)
action filter_type
action find_reverse
entity prev_answer
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q76'] [{'concept': 'Q838948'}, 'P161', 'Q207'] [{'concept': 'Q838948'}, 'P161', 'Q9640']
SELECT DISTINCT ?g WHERE { ?g property:P161 ?a . ?g rdf:type ontology:Q838948 . VALUES ( ?a ) { ( resource:Q1093885 ) ( resource:Q93839 ) ( resource:Q744183 ) } }
Barack Obama George W. Bush Lyndon B. Johnson
action filter_type
action find_reverse
entity prev_answer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Barack Obama'] [{'concept': 'work of art'}, 'cast member', 'George W. Bush'] [{'concept': 'work of art'}, 'cast member', 'Lyndon B. Johnson']
SELECT DISTINCT ?g WHERE { ?g property:cast_member ?a . ?g rdf:type ontology:work_of_art . VALUES ( ?a ) { ( resource:Hathi ) ( resource:Gary_M._Heidnik ) ( resource:Charles_de_Batz-Castelmore_d'Artagnan ) } }
[]
work of art
Q603857 Q1197185 Q21686679
SYSTEM
11'09"01 September 11, The Right Stuff, B.B. King: The Life of Riley
Q5003876 Q1552765 Q2497575 Q20630763 Q3289753 Q464964 Q21686679 Q5178538 Q3212978 Q591709 Q2905624 Q221852 Q603857 Q1197185 Q4162673
(c(Q838948),P161,Q76) (c(Q838948),P161,Q207) (c(Q838948),P161,Q9640)
action filter_type
action find_reverse
entity prev_answer
relation P161
type Q838948
Those people star [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q76'] [{'concept': 'Q838948'}, 'P161', 'Q207'] [{'concept': 'Q838948'}, 'P161', 'Q9640']
SELECT DISTINCT ?g WHERE { ?g property:P161 ?a . ?g rdf:type ontology:Q838948 . VALUES ( ?a ) { ( resource:Q1093885 ) ( resource:Q93839 ) ( resource:Q744183 ) } }
By the People: The Election of Barack Obama I'm Still Here Fall of the Republic - The Presidency of Barack Obama The Yes Men Are Revolting Marching Band The Dictator B.B. King: The Life of Riley Courting Condi The Shock Doctrine Religulous Dixie Chicks: Shut Up and Sing Fahrenheit 9/11 11'09"01 September 11 The Right Stuff For All Mankind
Those people star 11'09"01 September 11, The Right Stuff and B.B. King: The Life of Riley
11'09"01 September 11 The Right Stuff B.B. King: The Life of Riley
action filter_type
action find_reverse
entity prev_answer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Barack Obama'] [{'concept': 'work of art'}, 'cast member', 'George W. Bush'] [{'concept': 'work of art'}, 'cast member', 'Lyndon B. Johnson']
SELECT DISTINCT ?g WHERE { ?g property:cast_member ?a . ?g rdf:type ontology:work_of_art . VALUES ( ?a ) { ( resource:Hathi ) ( resource:Gary_M._Heidnik ) ( resource:Charles_de_Batz-Castelmore_d'Artagnan ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q603857
P921
Q491040
USER
What topic was discussed in that work of art ?
(Q603857,P921,c(Q491040))
action filter_type
action find
entity Q603857
relation P921
type Q491040
['Q603857', 'P921', {'concept': 'Q491040'}]
SELECT DISTINCT ?s WHERE { resource:Q603857 property:P921 ?s . ?s rdf:type ontology:Q491040 }
11'09"01 September 11
action filter_type
action find
entity 11'09"01 September 11
relation main subject
type violent crime
['11\'09"01 September 11', 'main subject', {'concept': 'violent crime'}]
SELECT DISTINCT ?s WHERE { resource:11'09"01_September_11 property:main_subject ?s . ?s rdf:type ontology:violent_crime }
[]
violent crime
Clarification for simple ques.
Q21686679
SYSTEM
Did you mean B.B. King: The Life of Riley ?
Q603857 Q1197185 Q21686679
(Q603857,P921,c(Q491040)) (Q1197185,P921,c(Q491040)) (Q21686679,P921,c(Q491040))
[ANSWER]
['Q603857', 'P921', {'concept': 'Q491040'}] ['Q1197185', 'P921', {'concept': 'Q491040'}] ['Q21686679', 'P921', {'concept': 'Q491040'}]
SELECT DISTINCT ?s WHERE { resource:Q603857 property:P921 ?s . ?s rdf:type ontology:Q491040 }
11'09"01 September 11 The Right Stuff B.B. King: The Life of Riley
Did you mean B.B. King: The Life of Riley ?
B.B. King: The Life of Riley
['11\'09"01 September 11', 'main subject', {'concept': 'violent crime'}] ['The Right Stuff', 'main subject', {'concept': 'violent crime'}] ['B.B. King: The Life of Riley', 'main subject', {'concept': 'violent crime'}]
SELECT DISTINCT ?s WHERE { resource:11'09"01_September_11 property:main_subject ?s . ?s rdf:type ontology:violent_crime }
[]
Simple Question (Coreferenced)
USER
No, I meant 11'09"01 September 11. Could you tell me the answer for that?
(Q603857,P921,c(Q491040))
Q603857
['Q603857', 'P921', {'concept': 'Q491040'}]
['11\'09"01 September 11', 'main subject', {'concept': 'violent crime'}]
[]
Q10806
SYSTEM
September 11 attacks
Q10806
(Q603857,P921,c(Q491040))
action filter_type
action find
entity Q603857
relation P921
type Q491040
[ANSWER] was discussed in that work of art
['Q603857', 'P921', {'concept': 'Q491040'}]
SELECT DISTINCT ?s WHERE { resource:Q603857 property:P921 ?s . ?s rdf:type ontology:Q491040 }
September 11 attacks
September 11 attacks was discussed in that work of art
September 11 attacks
action filter_type
action find
entity 11'09"01 September 11
relation main subject
type violent crime
['11\'09"01 September 11', 'main subject', {'concept': 'violent crime'}]
SELECT DISTINCT ?s WHERE { resource:11'09"01_September_11 property:main_subject ?s . ?s rdf:type ontology:violent_crime }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10806
P17
Q15617994
USER
Which administrative territory is that violent crime present in ?
(Q10806,P17,c(Q15617994))
action filter_type
action find
entity Q10806
relation P17
type Q15617994
['Q10806', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q10806 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
September 11 attacks
action filter_type
action find
entity September 11 attacks
relation country
type designation for an administrative territorial entity
['September 11 attacks', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:September_11_attacks property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q10806,P17,c(Q15617994))
action filter_type
action find
entity Q10806
relation P17
type Q15617994
That violent crime is the [ANSWER]
['Q10806', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q10806 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
That violent crime is the United States of America
United States of America
action filter_type
action find
entity September 11 attacks
relation country
type designation for an administrative territorial entity
['September 11 attacks', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:September_11_attacks property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2889493
Q15617994
USER
And also tell me about Avivim?
(Q2889493,P17,c(Q15617994))
action filter_type
action find
entity Q2889493
relation P17
type Q15617994
['Q2889493', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q2889493 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Avivim
action filter_type
action find
entity Avivim
relation country
type designation for an administrative territorial entity
['Avivim', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Avivim property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q801
SYSTEM
Israel
Q801
(Q2889493,P17,c(Q15617994))
action filter_type
action find
entity Q2889493
relation P17
type Q15617994
[ANSWER]
['Q2889493', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q2889493 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Israel
Israel
action filter_type
action find
entity Avivim
relation country
type designation for an administrative territorial entity
['Avivim', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Avivim property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q618779 Q1047113 Q618779
USER
Which awards are a component of atleast 1 awards or special fields ?
(c(Q618779),P361,c(Q618779)|c(Q1047113))
action atleast
action union
action find_tuple_counts
relation P361
type Q618779
type Q618779
action find_tuple_counts
relation P361
type Q618779
type Q1047113
value 1
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q618779'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) ?z WHERE { { ?z property:P361 ?y . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q618779 } UNION { ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q1047113 . ?z property:P361 ?y } } GROUP BY ?z } . FILTER ( ?g >= 1 ) }
action atleast
action union
action find_tuple_counts
relation part of
type award
type award
action find_tuple_counts
relation part of
type award
type special field
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'award'}, {'concept': 'special field'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) ?z WHERE { { ?z property:part_of ?y . ?z rdf:type ontology:award . ?y rdf:type ontology:award } UNION { ?z rdf:type ontology:award . ?y rdf:type ontology:special_field . ?z property:part_of ?y } } GROUP BY ?z } . FILTER ( ?g >= 1 ) }
[]
award special field award
Q936683 Q610903 Q266012
SYSTEM
Nebula Award for Best Novelette, Nebula Award for Best Short Story, Nebula Award for Best Novel
Q15463524 Q16218137 Q26079956 Q24231374 Q23061993 Q372370 Q1086189 Q23059849 Q266012 Q20857709 Q16395246 Q7600545 Q5579156 Q26084288 Q267950 Q11288429 Q1549393 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(Q618779)|c(Q1047113))
action atleast
action union
action find_tuple_counts
relation P361
type Q618779
type Q618779
action find_tuple_counts
relation P361
type Q618779
type Q1047113
value 1
[ANSWERS] are a component of atleast 1 awards or special fields
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q618779'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) ?z WHERE { { ?z property:P361 ?y . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q618779 } UNION { ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q1047113 . ?z property:P361 ?y } } GROUP BY ?z } . FILTER ( ?g >= 1 ) }
Knight of the National Order of Quebec Seumas McNally Grand Prize Tony Award for Best Sound Design of a Play Ingeborg Bachmann Award 2016 Charles Veillon prize in the Italian language Knight's Cross 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 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
Nebula Award for Best Novelette, Nebula Award for Best Short Story and Nebula Award for Best Novel are a component of atleast 1 awards or special fields
Nebula Award for Best Novelette Nebula Award for Best Short Story Nebula Award for Best Novel
action atleast
action union
action find_tuple_counts
relation part of
type award
type award
action find_tuple_counts
relation part of
type award
type special field
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'award'}, {'concept': 'special field'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) ?z WHERE { { ?z property:part_of ?y . ?z rdf:type ontology:award . ?y rdf:type ontology:award } UNION { ?z rdf:type ontology:award . ?y rdf:type ontology:special_field . ?z property:part_of ?y } } GROUP BY ?z } . FILTER ( ?g >= 1 ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q13406554 Q618779 Q618779
USER
How many awards are a component of greater number of sport competitions and awards than that award ?
(c(Q618779),P361,c(Q13406554)|c(Q618779))
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q13406554'}, {'concept': 'Q618779'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?z } } . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q13406554 }
[{'concept': 'award'}, 'part of', [{'concept': 'sport competition'}, {'concept': 'award'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?z } } . ?z rdf:type ontology:award . ?y rdf:type ontology:sport_competition }
[]
sport competition award award
Comparative|Count over More/Less|Mult. entity type|Clarification
Q610903
SYSTEM
Did you mean Nebula Award for Best Short Story ?
(c(Q618779),P361,c(Q13406554)|c(Q618779))
[ANSWER]
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q13406554'}, {'concept': 'Q618779'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?z } } . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q13406554 }
Did you mean Nebula Award for Best Short Story ?
Nebula Award for Best Short Story
[{'concept': 'award'}, 'part of', [{'concept': 'sport competition'}, {'concept': 'award'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?z } } . ?z rdf:type ontology:award . ?y rdf:type ontology:sport_competition }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Nebula Award for Best Novelette. Could you tell me the answer for that?
(c(Q618779),P361,c(Q13406554)|c(Q618779))
Q936683
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q13406554'}, {'concept': 'Q618779'}]]
[{'concept': 'award'}, 'part of', [{'concept': 'sport competition'}, {'concept': 'award'}]]
[]
SYSTEM
39
Q15463524 Q16218137 Q26079956 Q24231374 Q23061993 Q2050658 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(Q13406554)|c(Q618779))
[ANSWER]
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q13406554'}, {'concept': 'Q618779'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?z } } . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q13406554 }
Knight of the National Order of Quebec Seumas McNally Grand Prize Tony Award for Best Sound Design of a Play Ingeborg Bachmann Award 2016 Charles Veillon prize in the Italian language 2009–10 ISU Speed Skating World Cup – Men's 1000 metres 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
[{'concept': 'award'}, 'part of', [{'concept': 'sport competition'}, {'concept': 'award'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?z } } . ?z rdf:type ontology:award . ?y rdf:type ontology:sport_competition }
[]