Simple Question (Direct)
Simple Question
Q7106950
P102
Q7210356
USER
Which party does Oskar Skogly belong to ?
(Q7106950,P102,c(Q7210356))
action filter_type
action find
entity Q7106950
relation P102
type Q7210356
['Q7106950', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q7106950 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Oskar Skogly
action filter_type
action find
entity Oskar Skogly
relation member of political party
type political organization
['Oskar Skogly', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Oskar_Skogly property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
political organization
Q190219
SYSTEM
Norwegian Labour Party
Q190219
(Q7106950,P102,c(Q7210356))
action filter_type
action find
entity Q7106950
relation P102
type Q7210356
Oskar Skogly belongs in [ANSWER]
['Q7106950', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q7106950 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Norwegian Labour Party
Oskar Skogly belongs in Norwegian Labour Party
Norwegian Labour Party
action filter_type
action find
entity Oskar Skogly
relation member of political party
type political organization
['Oskar Skogly', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Oskar_Skogly property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q190219
P463
Q502895
USER
Which person has a membership of that political organization ?
(c(Q502895),P463,Q190219)
action filter_type
action find_reverse
entity Q190219
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q190219']
SELECT DISTINCT ?a WHERE { ?a property:P463 resource:Q190219 . ?a rdf:type ontology:Q502895 }
Norwegian Labour Party
action filter_type
action find_reverse
entity Norwegian Labour Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Norwegian Labour Party']
SELECT DISTINCT ?a WHERE { ?a property:member_of resource:Norwegian_Labour_Party . ?a rdf:type ontology:common_name }
[]
common name
Q26237184
SYSTEM
Bengt Halvard Odden
Q26237184
(c(Q502895),P463,Q190219)
action filter_type
action find_reverse
entity Q190219
relation P463
type Q502895
[ANSWER] has a membership of that political organization
[{'concept': 'Q502895'}, 'P463', 'Q190219']
SELECT DISTINCT ?a WHERE { ?a property:P463 resource:Q190219 . ?a rdf:type ontology:Q502895 }
Bengt Halvard Odden
Bengt Halvard Odden has a membership of that political organization
Bengt Halvard Odden
action filter_type
action find_reverse
entity Norwegian Labour Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Norwegian Labour Party']
SELECT DISTINCT ?a WHERE { ?a property:member_of resource:Norwegian_Labour_Party . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q190219
P462
Q1075
USER
Which color is associated with Norwegian Labour Party ?
(Q190219,P462,c(Q1075))
action filter_type
action find
entity Q190219
relation P462
type Q1075
['Q190219', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1075 . resource:Q190219 property:P462 ?b }
Norwegian Labour Party
action filter_type
action find
entity Norwegian Labour Party
relation color
type color
['Norwegian Labour Party', 'color', {'concept': 'color'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:color . resource:Norwegian_Labour_Party property:color ?b }
[]
color
Q3142
SYSTEM
red
Q3142
(Q190219,P462,c(Q1075))
action filter_type
action find
entity Q190219
relation P462
type Q1075
When [ANSWER] is associated with Norwegian Labour Party
['Q190219', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1075 . resource:Q190219 property:P462 ?b }
red
When red is associated with Norwegian Labour Party
red
action filter_type
action find
entity Norwegian Labour Party
relation color
type color
['Norwegian Labour Party', 'color', {'concept': 'color'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:color . resource:Norwegian_Labour_Party property:color ?b }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P462
Q1075 Q838948 Q15416
USER
How many colors are the color of less number of works of art and television programs than that color ?
(c(Q838948)|c(Q15416),P462,c(Q1075))
action count
action less
action union
action find_reverse_tuple_counts
relation P462
type Q1075
type Q838948
action find_reverse_tuple_counts
relation P462
type Q1075
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q3142
relation P462
type Q838948
type Q15416
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:P462 resource:Q3142 . { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } } } . FILTER ( ?j < ?t ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?o WHERE { { ?r property:P462 ?o . ?o rdf:type ontology:Q1075 . ?r rdf:type ontology:Q838948 } UNION { ?r property:P462 ?o . ?o rdf:type ontology:Q1075 . ?r rdf:type ontology:Q15416 } } GROUP BY ?o } }
action count
action less
action union
action find_reverse_tuple_counts
relation color
type color
type work of art
action find_reverse_tuple_counts
relation color
type color
type television program
action count
action filter_multi_types
action find_reverse
entity red
relation color
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'color', {'concept': 'color'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:color resource:red . { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:television_program ) ( ontology:work_of_art ) } } } } . FILTER ( ?j < ?t ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?o WHERE { { ?r property:color ?o . ?o rdf:type ontology:color . ?r rdf:type ontology:work_of_art } UNION { ?r property:color ?o . ?o rdf:type ontology:color . ?r rdf:type ontology:television_program } } GROUP BY ?o } }
[]
color work of art television program
SYSTEM
18
Q19361243 Q3705434 Q604079 Q4727574 Q15964916 Q180778 Q1406070 Q2832043 Q2085487 Q3276756 Q13451045 Q13358072 Q13357866 Q821002 Q900906 Q1088 Q1145422 Q23445
(c(Q838948)|c(Q15416),P462,c(Q1075))
action count
action less
action union
action find_reverse_tuple_counts
relation P462
type Q1075
type Q838948
action find_reverse_tuple_counts
relation P462
type Q1075
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q3142
relation P462
type Q838948
type Q15416
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:P462 resource:Q3142 . { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } } } . FILTER ( ?j < ?t ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?o WHERE { { ?r property:P462 ?o . ?o rdf:type ontology:Q1075 . ?r rdf:type ontology:Q838948 } UNION { ?r property:P462 ?o . ?o rdf:type ontology:Q1075 . ?r rdf:type ontology:Q15416 } } GROUP BY ?o } }
Antique pink denim mauve Alizarin crimson Dutch national tinctures cyan chestnut alabaster buff magenta brownish gray RAL 2002 RAL 6018 Pan-Arab colors bay blue gray black
18
action count
action less
action union
action find_reverse_tuple_counts
relation color
type color
type work of art
action find_reverse_tuple_counts
relation color
type color
type television program
action count
action filter_multi_types
action find_reverse
entity red
relation color
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'color', {'concept': 'color'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:color resource:red . { ?q rdf:type ?w . VALUES ( ?w ) { ( ontology:television_program ) ( ontology:work_of_art ) } } } } . FILTER ( ?j < ?t ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?o WHERE { { ?r property:color ?o . ?o rdf:type ontology:color . ?r rdf:type ontology:work_of_art } UNION { ?r property:color ?o . ?o rdf:type ontology:color . ?r rdf:type ontology:television_program } } GROUP BY ?o } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q190219
P488
Q502895
USER
Who was the chair of Norwegian Labour Party ?
(Q190219,P488,c(Q502895))
action filter_type
action find
entity Q190219
relation P488
type Q502895
['Q190219', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q190219 property:P488 ?l . ?l rdf:type ontology:Q502895 }
Norwegian Labour Party
action filter_type
action find
entity Norwegian Labour Party
relation chairperson
type common name
['Norwegian Labour Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Norwegian_Labour_Party property:chairperson ?l . ?l rdf:type ontology:common_name }
[]
common name
Q57665
SYSTEM
Jens Stoltenberg
Q57665
(Q190219,P488,c(Q502895))
action filter_type
action find
entity Q190219
relation P488
type Q502895
The chair of Norwegian Labour Party was for [ANSWER]
['Q190219', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q190219 property:P488 ?l . ?l rdf:type ontology:Q502895 }
Jens Stoltenberg
The chair of Norwegian Labour Party was for Jens Stoltenberg
Jens Stoltenberg
action filter_type
action find
entity Norwegian Labour Party
relation chairperson
type common name
['Norwegian Labour Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Norwegian_Labour_Party property:chairperson ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q57665
P166
Q618779
USER
What was won by that person ?
(Q57665,P166,c(Q618779))
action filter_type
action find
entity Q57665
relation P166
type Q618779
['Q57665', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q57665 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Jens Stoltenberg
action filter_type
action find
entity Jens Stoltenberg
relation award received
type award
['Jens Stoltenberg', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Jens_Stoltenberg property:award_received ?l . ?l rdf:type ontology:award }
[]
award
Q1780561
SYSTEM
Peer Gynt Literary Award
Q1780561
(Q57665,P166,c(Q618779))
action filter_type
action find
entity Q57665
relation P166
type Q618779
Prize [ANSWER] was won by that person
['Q57665', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q57665 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Peer Gynt Literary Award
Prize Peer Gynt Literary Award was won by that person
Peer Gynt Literary Award
action filter_type
action find
entity Jens Stoltenberg
relation award received
type award
['Jens Stoltenberg', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Jens_Stoltenberg property:award_received ?l . ?l rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q190219
P1142
Q7257
USER
Which ideology does Norwegian Labour Party believe in ?
(Q190219,P1142,c(Q7257))
action filter_type
action find
entity Q190219
relation P1142
type Q7257
['Q190219', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q7257 . resource:Q190219 property:P1142 ?c }
Norwegian Labour Party
action filter_type
action find
entity Norwegian Labour Party
relation political ideology
type ideology
['Norwegian Labour Party', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:ideology . resource:Norwegian_Labour_Party property:political_ideology ?c }
[]
ideology
Q121254
SYSTEM
social democracy
Q121254
(Q190219,P1142,c(Q7257))
action filter_type
action find
entity Q190219
relation P1142
type Q7257
Norwegian Labour Party believes in [ANSWER]
['Q190219', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q7257 . resource:Q190219 property:P1142 ?c }
social democracy
Norwegian Labour Party believes in social democracy
social democracy
action filter_type
action find
entity Norwegian Labour Party
relation political ideology
type ideology
['Norwegian Labour Party', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:ideology . resource:Norwegian_Labour_Party property:political_ideology ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q190219 Q190949
P1142
Q7257
USER
How many ideologies do Norwegian Labour Party or Vietnamese Independence League believe in ?
(Q190219,P1142,c(Q7257)) (Q190949,P1142,c(Q7257))
action count
action union
action filter_type
action find
entity Q190219
relation P1142
type Q7257
action filter_type
action find
entity Q190949
relation P1142
type Q7257
['Q190219', 'P1142', {'concept': 'Q7257'}] ['Q190949', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { resource:Q190219 property:P1142 ?r . ?r rdf:type ontology:Q7257 } UNION { resource:Q190949 property:P1142 ?r . ?r rdf:type ontology:Q7257 } }
Norwegian Labour Party Vietnamese Independence League
action count
action union
action filter_type
action find
entity Norwegian Labour Party
relation political ideology
type ideology
action filter_type
action find
entity Vietnamese Independence League
relation political ideology
type ideology
['Norwegian Labour Party', 'political ideology', {'concept': 'ideology'}] ['Vietnamese Independence League', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { resource:Norwegian_Labour_Party property:political_ideology ?r . ?r rdf:type ontology:ideology } UNION { resource:Vietnamese_Independence_League property:political_ideology ?r . ?r rdf:type ontology:ideology } }
[]
ideology
SYSTEM
2
Q194236 Q121254
(Q190219,P1142,c(Q7257)) (Q190949,P1142,c(Q7257))
action count
action union
action filter_type
action find
entity Q190219
relation P1142
type Q7257
action filter_type
action find
entity Q190949
relation P1142
type Q7257
[ANSWER]
['Q190219', 'P1142', {'concept': 'Q7257'}] ['Q190949', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { resource:Q190219 property:P1142 ?r . ?r rdf:type ontology:Q7257 } UNION { resource:Q190949 property:P1142 ?r . ?r rdf:type ontology:Q7257 } }
separatism social democracy
2
action count
action union
action filter_type
action find
entity Norwegian Labour Party
relation political ideology
type ideology
action filter_type
action find
entity Vietnamese Independence League
relation political ideology
type ideology
['Norwegian Labour Party', 'political ideology', {'concept': 'ideology'}] ['Vietnamese Independence League', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { resource:Norwegian_Labour_Party property:political_ideology ?r . ?r rdf:type ontology:ideology } UNION { resource:Vietnamese_Independence_League property:political_ideology ?r . ?r rdf:type ontology:ideology } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q17142884
P361
Q1047113 Q618779 Q618779
USER
Which awards are a part of greater number of special fields or awards than 1999 Golden Globes ?
(c(Q618779),P361,c(Q1047113)|c(Q618779))
action greater
action union
action find_tuple_counts
relation P361
type Q618779
type Q1047113
action find_tuple_counts
relation P361
type Q618779
type Q618779
action count
action filter_multi_types
action find
entity Q17142884
relation P361
type Q1047113
type Q618779
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q1047113'}, {'concept': 'Q618779'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?k ) WHERE { { ?q property:P361 ?h . ?q rdf:type ontology:Q618779 . ?h rdf:type ontology:Q618779 } UNION { ?q property:P361 ?h . ?q rdf:type ontology:Q618779 . ?h rdf:type ontology:Q1047113 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Q17142884 property:P361 ?s . { VALUES ( ?a ) { ( ontology:Q1047113 ) ( ontology:Q618779 ) } . ?s rdf:type ?a } } } . FILTER ( ?k > ?p ) }
1999 Golden Globes
action greater
action union
action find_tuple_counts
relation part of
type award
type special field
action find_tuple_counts
relation part of
type award
type award
action count
action filter_multi_types
action find
entity 1999 Golden Globes
relation part of
type special field
type award
[{'concept': 'award'}, 'part of', [{'concept': 'special field'}, {'concept': 'award'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?k ) WHERE { { ?q property:part_of ?h . ?q rdf:type ontology:award . ?h rdf:type ontology:award } UNION { ?q property:part_of ?h . ?q rdf:type ontology:award . ?h rdf:type ontology:special_field } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:1999_Golden_Globes property:part_of ?s . { VALUES ( ?a ) { ( ontology:special_field ) ( ontology:award ) } . ?s rdf:type ?a } } } . FILTER ( ?k > ?p ) }
[]
special field award 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(Q1047113)|c(Q618779))
action greater
action union
action find_tuple_counts
relation P361
type Q618779
type Q1047113
action find_tuple_counts
relation P361
type Q618779
type Q618779
action count
action filter_multi_types
action find
entity Q17142884
relation P361
type Q1047113
type Q618779
[ANSWERS] are a part of greater number of special fields or awards than 1999 Golden Globes
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q1047113'}, {'concept': 'Q618779'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?k ) WHERE { { ?q property:P361 ?h . ?q rdf:type ontology:Q618779 . ?h rdf:type ontology:Q618779 } UNION { ?q property:P361 ?h . ?q rdf:type ontology:Q618779 . ?h rdf:type ontology:Q1047113 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Q17142884 property:P361 ?s . { VALUES ( ?a ) { ( ontology:Q1047113 ) ( ontology:Q618779 ) } . ?s rdf:type ?a } } } . FILTER ( ?k > ?p ) }
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 part of greater number of special fields or awards than 1999 Golden Globes
Nebula Award for Best Novelette Nebula Award for Best Short Story Nebula Award for Best Novel
action greater
action union
action find_tuple_counts
relation part of
type award
type special field
action find_tuple_counts
relation part of
type award
type award
action count
action filter_multi_types
action find
entity 1999 Golden Globes
relation part of
type special field
type award
[{'concept': 'award'}, 'part of', [{'concept': 'special field'}, {'concept': 'award'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?k ) WHERE { { ?q property:part_of ?h . ?q rdf:type ontology:award . ?h rdf:type ontology:award } UNION { ?q property:part_of ?h . ?q rdf:type ontology:award . ?h rdf:type ontology:special_field } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:1999_Golden_Globes property:part_of ?s . { VALUES ( ?a ) { ( ontology:special_field ) ( ontology:award ) } . ?s rdf:type ?a } } } . FILTER ( ?k > ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q15271575
P361
Q1047113 Q618779 Q618779
USER
And what about Sport Australia Hall of Fame?
(c(Q618779),P361,c(Q1047113)|c(Q618779))
action greater
action union
action find_tuple_counts
relation P361
type Q618779
type Q1047113
action find_tuple_counts
relation P361
type Q618779
type Q618779
action count
action filter_multi_types
action find
entity Q15271575
relation P361
type Q1047113
type Q618779
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q1047113'}, {'concept': 'Q618779'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) ?o WHERE { { ?o property:P361 ?l . ?o rdf:type ontology:Q618779 . ?l rdf:type ontology:Q618779 } UNION { ?o property:P361 ?l . ?o rdf:type ontology:Q618779 . ?l rdf:type ontology:Q1047113 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q15271575 property:P361 ?z . { { ?z rdf:type ontology:Q1047113 } UNION { ?z rdf:type ontology:Q618779 } } } } . FILTER ( ?x > ?q ) }
Sport Australia Hall of Fame
action greater
action union
action find_tuple_counts
relation part of
type award
type special field
action find_tuple_counts
relation part of
type award
type award
action count
action filter_multi_types
action find
entity Sport Australia Hall of Fame
relation part of
type special field
type award
[{'concept': 'award'}, 'part of', [{'concept': 'special field'}, {'concept': 'award'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) ?o WHERE { { ?o property:part_of ?l . ?o rdf:type ontology:award . ?l rdf:type ontology:award } UNION { ?o property:part_of ?l . ?o rdf:type ontology:award . ?l rdf:type ontology:special_field } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Sport_Australia_Hall_of_Fame property:part_of ?z . { { ?z rdf:type ontology:special_field } UNION { ?z rdf:type ontology:award } } } } . FILTER ( ?x > ?q ) }
[]
special field award 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(Q1047113)|c(Q618779))
action greater
action union
action find_tuple_counts
relation P361
type Q618779
type Q1047113
action find_tuple_counts
relation P361
type Q618779
type Q618779
action count
action filter_multi_types
action find
entity Q15271575
relation P361
type Q1047113
type Q618779
[ANSWERS]
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q1047113'}, {'concept': 'Q618779'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) ?o WHERE { { ?o property:P361 ?l . ?o rdf:type ontology:Q618779 . ?l rdf:type ontology:Q618779 } UNION { ?o property:P361 ?l . ?o rdf:type ontology:Q618779 . ?l rdf:type ontology:Q1047113 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q15271575 property:P361 ?z . { { ?z rdf:type ontology:Q1047113 } UNION { ?z rdf:type ontology:Q618779 } } } } . FILTER ( ?x > ?q ) }
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 Nebula Award for Best Novel
action greater
action union
action find_tuple_counts
relation part of
type award
type special field
action find_tuple_counts
relation part of
type award
type award
action count
action filter_multi_types
action find
entity Sport Australia Hall of Fame
relation part of
type special field
type award
[{'concept': 'award'}, 'part of', [{'concept': 'special field'}, {'concept': 'award'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) ?o WHERE { { ?o property:part_of ?l . ?o rdf:type ontology:award . ?l rdf:type ontology:award } UNION { ?o property:part_of ?l . ?o rdf:type ontology:award . ?l rdf:type ontology:special_field } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Sport_Australia_Hall_of_Fame property:part_of ?z . { { ?z rdf:type ontology:special_field } UNION { ?z rdf:type ontology:award } } } } . FILTER ( ?x > ?q ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q223393 Q13406554 Q618779
USER
How many awards are a part of less number of literary genres and sport competitions than that award ?
(c(Q618779),P361,c(Q223393)|c(Q13406554))
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q223393'}, {'concept': 'Q13406554'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q223393 . ?x rdf:type ontology:Q13406554 }
[{'concept': 'award'}, 'part of', [{'concept': 'literary genre'}, {'concept': 'sport competition'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:award . ?y rdf:type ontology:literary_genre . ?x rdf:type ontology:sport_competition }
[]
literary genre sport competition award
Comparative|Count over More/Less|Mult. entity type|Clarification
Q266012
SYSTEM
Did you mean Nebula Award for Best Novel ?
(c(Q618779),P361,c(Q223393)|c(Q13406554))
[ANSWER]
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q223393'}, {'concept': 'Q13406554'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q223393 . ?x rdf:type ontology:Q13406554 }
Did you mean Nebula Award for Best Novel ?
Nebula Award for Best Novel
[{'concept': 'award'}, 'part of', [{'concept': 'literary genre'}, {'concept': 'sport competition'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:award . ?y rdf:type ontology:literary_genre . ?x 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(Q223393)|c(Q13406554))
Q936683
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q223393'}, {'concept': 'Q13406554'}]]
[{'concept': 'award'}, 'part of', [{'concept': 'literary genre'}, {'concept': 'sport competition'}]]
[]
SYSTEM
0
(c(Q618779),P361,c(Q223393)|c(Q13406554))
[ANSWER]
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q223393'}, {'concept': 'Q13406554'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q223393 . ?x rdf:type ontology:Q13406554 }
0
[{'concept': 'award'}, 'part of', [{'concept': 'literary genre'}, {'concept': 'sport competition'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:award . ?y rdf:type ontology:literary_genre . ?x rdf:type ontology:sport_competition }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q922396 Q936683
P1346
Q502895
USER
Which people won Nebula Award for Best Novelette or Broadcast Film Critics Association Award for Best Cast ?
OR((Q936683,P1346,c(Q502895)), (Q922396,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q936683
relation P1346
action find
entity Q922396
relation P1346
type Q502895
{'OR': [['Q936683', 'P1346', {'concept': 'Q502895'}], ['Q922396', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q922396 property:P1346 ?b } UNION { resource:Q936683 property:P1346 ?b } } . ?b rdf:type ontology:Q502895 }
Broadcast Film Critics Association Award for Best Cast Nebula Award for Best Novelette
action filter_type
action union
action find
entity Nebula Award for Best Novelette
relation winner
action find
entity Broadcast Film Critics Association Award for Best Cast
relation winner
type common name
{'OR': [['Nebula Award for Best Novelette', 'winner', {'concept': 'common name'}], ['Broadcast Film Critics Association Award for Best Cast', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Broadcast_Film_Critics_Association_Award_for_Best_Cast property:winner ?b } UNION { resource:Nebula_Award_for_Best_Novelette property:winner ?b } } . ?b rdf:type ontology:common_name }
[]
common name
Q311615 Q229134 Q534006 Q244678 Q233922 Q168763 Q652715 Q229181 Q242162 Q3110895
SYSTEM
Some of them are Thomas Haden Church, Christine Baranski, Taye Diggs, Emile Hirsch, Jennifer Esposito, Liv Tyler, James Wilby, Viola Davis, Vonda N. McIntyre, Gordon Eklund
Q438164 Q40337 Q1112005 Q164119 Q240253 Q185051 Q35332 Q270664 Q244678 Q193676 Q212002 Q45772 Q449679 Q1264331 Q76819 Q159778 Q172653 Q309690 Q171363 Q193070 Q349391 Q629696 Q188375 Q313044 Q230782 Q229029 Q229181 Q309160 Q462955 Q147077 Q967764 Q703929 Q191104 Q272019 Q731602 Q328550 Q108935 Q443961 Q44221 Q3875064 Q1677114 Q229535 Q185724 Q132430 Q183178 Q48410 Q65922 Q313185 Q621490 Q234928 Q234581 Q44467 Q223110 Q296328 Q242162 Q203545 Q483771 Q435807 Q238081 Q235572 Q229134 Q192912 Q57147 Q229254 Q485901 Q229487 Q263178 Q233736 Q306403 Q461762 Q310515 Q76187 Q47664 Q296500 Q168763 Q3071789 Q57391 Q269835 Q276425 Q230383 Q534006 Q152165 Q446941 Q229775 Q308459 Q273136 Q358312 Q380856 Q41396 Q229313 Q3110895 Q80938 Q652715 Q57118 Q122614 Q206922 Q481832 Q208590 Q193555 Q5257661 Q1319836 Q220883 Q358714 Q170510 Q229784 Q42204 Q208649 Q312399 Q223091 Q313020 Q34981 Q45229 Q1805906 Q229410 Q2827706 Q256164 Q294975 Q80966 Q40122 Q467362 Q40791 Q189351 Q62557 Q311615 Q233922 Q16455 Q58592 Q312124
OR((Q936683,P1346,c(Q502895)), (Q922396,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q936683
relation P1346
action find
entity Q922396
relation P1346
type Q502895
[ANSWERS] won Nebula Award for Best Novelette or Broadcast Film Critics Association Award for Best Cast
{'OR': [['Q936683', 'P1346', {'concept': 'Q502895'}], ['Q922396', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q922396 property:P1346 ?b } UNION { resource:Q936683 property:P1346 ?b } } . ?b rdf:type ontology:Q502895 }
Samuel R. Delany Sandra Oh Queen Latifah Mark Wahlberg Theodore Sturgeon Christopher Walken Brad Pitt Victor Garber Emile Hirsch Ludacris Amanda Bynes Christian Bale Colm Feore Stephen Spinella Christoph Waltz Michelle Pfeiffer Maggie Smith Charles Dance Viggo Mortensen Matt Dillon Helen Mirren Denis O'Hare Lucy Liu Diego Luna Nikki Blonsky Thandie Newton Viola Davis Alan Bates Susan Misner Emma Stone Denis Ménochet Chris Lowell Sean Bean Don Cheadle Jacky Ido Tom Reamy Mary Steenburgen Jeremy Northam Sean Penn Yekaterina Shchelkanova Jack McGee Emily Watson Mike Myers Karl Urban Clive Owen Richard Gere Martin Wuttke Fritz Leiber Junior Bob Balaban Alice Bradley Sheldon Mélanie Laurent Orlando Bloom John C. Reilly David Wenham Vonda N. McIntyre Michael Gambon Elijah Wood Taylor Parks Cicely Tyson Geraldine Somerville Christine Baranski Stephen Fry Michael Fassbender Octavia Spencer James Marsden Allison Janney Julie Dreyfus Mýa James Franco Aunjanue Ellis Bernard Hill Sylvester Groth Catherine Zeta-Jones Terrence Howard Liv Tyler Richard Wilson Til Schweiger Eileen Atkins Billy Boyd Kelly Macdonald Taye Diggs Dominic Monaghan Gordon R. Dickson Bryce Dallas Howard Rod Taylor Ryan Phillippe Gregory Benford Richard E. Grant Josh Brolin Jessica Chastain Gordon Eklund John Travolta James Wilby Diane Kruger Renée Zellweger Andy Serkis Amy Adams Kristin Scott Thomas Brendan Fraser Denise Faye Elijah Kelley Poul Anderson Eli Roth Ian McKellen Virginia Madsen Hugo Weaving Paul Giamatti John Noble Ian Holm Dominic West Isaac Asimov Zac Efron Larenz Tate Melissa Leo Ahna O'Reilly Derek Jacobi Miranda Otto Cate Blanchett Mike Vogel Sophie Thompson Sandra Bullock Sean Astin August Diehl Thomas Haden Church Jennifer Esposito John Rhys-Davies Daniel Brühl Tom Hollander
Thomas Haden Church, Christine Baranski, Taye Diggs, Emile Hirsch, Jennifer Esposito, Liv Tyler, James Wilby, Viola Davis, Vonda N. McIntyre and Gordon Eklund won Nebula Award for Best Novelette or Broadcast Film Critics Association Award for Best Cast
Thomas Haden Church Christine Baranski Taye Diggs Emile Hirsch Jennifer Esposito Liv Tyler James Wilby Viola Davis Vonda N. McIntyre Gordon Eklund
action filter_type
action union
action find
entity Nebula Award for Best Novelette
relation winner
action find
entity Broadcast Film Critics Association Award for Best Cast
relation winner
type common name
{'OR': [['Nebula Award for Best Novelette', 'winner', {'concept': 'common name'}], ['Broadcast Film Critics Association Award for Best Cast', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Broadcast_Film_Critics_Association_Award_for_Best_Cast property:winner ?b } UNION { resource:Nebula_Award_for_Best_Novelette property:winner ?b } } . ?b rdf:type ontology:common_name }
[]