Simple Question (Direct)
Simple Question
Q380887
P166
Q2003221
USER
Which chivalric order was received by Harold Abrahams ?
(Q380887,P166,c(Q2003221))
action filter_type
action find
entity Q380887
relation P166
type Q2003221
['Q380887', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?r WHERE { resource:Q380887 property:P166 ?r . ?r rdf:type ontology:Q2003221 }
Harold Abrahams
action filter_type
action find
entity Harold Abrahams
relation award received
type chivalric order
['Harold Abrahams', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?r WHERE { resource:Harold_Abrahams property:award_received ?r . ?r rdf:type ontology:chivalric_order }
[]
chivalric order
Q12201477
SYSTEM
Commander of the Order of the British Empire
Q12201477
(Q380887,P166,c(Q2003221))
action filter_type
action find
entity Q380887
relation P166
type Q2003221
The [ANSWER] was received by Harold Abrahams
['Q380887', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?r WHERE { resource:Q380887 property:P166 ?r . ?r rdf:type ontology:Q2003221 }
Commander of the Order of the British Empire
The Commander of the Order of the British Empire was received by Harold Abrahams
Commander of the Order of the British Empire
action filter_type
action find
entity Harold Abrahams
relation award received
type chivalric order
['Harold Abrahams', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?r WHERE { resource:Harold_Abrahams property:award_received ?r . ?r rdf:type ontology:chivalric_order }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q380887
P641
Q31629
USER
Which type of sport was Harold Abrahams a part of ?
(Q380887,P641,c(Q31629))
action filter_type
action find
entity Q380887
relation P641
type Q31629
['Q380887', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?h WHERE { resource:Q380887 property:P641 ?h . ?h rdf:type ontology:Q31629 }
Harold Abrahams
action filter_type
action find
entity Harold Abrahams
relation sport
type type of sport
['Harold Abrahams', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?h WHERE { resource:Harold_Abrahams property:sport ?h . ?h rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q380887,P641,c(Q31629))
action filter_type
action find
entity Q380887
relation P641
type Q31629
The [ANSWER] was Harold Abrahams a part of
['Q380887', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?h WHERE { resource:Q380887 property:P641 ?h . ?h rdf:type ontology:Q31629 }
athletics
The athletics was Harold Abrahams a part of
athletics
action filter_type
action find
entity Harold Abrahams
relation sport
type type of sport
['Harold Abrahams', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?h WHERE { resource:Harold_Abrahams property:sport ?h . ?h rdf:type ontology:type_of_sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q12201477 Q752297
P166
Q502895
USER
How many people received the award titled Commander of the Order of the British Empire and Doctor of Philosophy ?
(c(Q502895),P166,Q12201477) (c(Q502895),P166,Q752297)
action count
action intersection
action filter_type
action find_reverse
entity Q12201477
relation P166
type Q502895
action filter_type
action find_reverse
entity Q752297
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q12201477'] [{'concept': 'Q502895'}, 'P166', 'Q752297']
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f rdf:type ontology:Q502895 . ?f property:P166 resource:Q12201477 . ?f property:P166 resource:Q752297 . ?f rdf:type ontology:Q502895 }
Commander of the Order of the British Empire Doctor of Philosophy
action count
action intersection
action filter_type
action find_reverse
entity Commander of the Order of the British Empire
relation award received
type common name
action filter_type
action find_reverse
entity Doctor of Philosophy
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Commander of the Order of the British Empire'] [{'concept': 'common name'}, 'award received', 'Doctor of Philosophy']
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f rdf:type ontology:common_name . ?f property:award_received resource:Commander_of_the_Order_of_the_British_Empire . ?f property:award_received resource:Doctor_of_Philosophy . ?f rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q24182136 Q7381511
(c(Q502895),P166,Q12201477) (c(Q502895),P166,Q752297)
action count
action intersection
action filter_type
action find_reverse
entity Q12201477
relation P166
type Q502895
action filter_type
action find_reverse
entity Q752297
relation P166
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P166', 'Q12201477'] [{'concept': 'Q502895'}, 'P166', 'Q752297']
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f rdf:type ontology:Q502895 . ?f property:P166 resource:Q12201477 . ?f property:P166 resource:Q752297 . ?f rdf:type ontology:Q502895 }
Alastair Compston Russell G. Foster
2
action count
action intersection
action filter_type
action find_reverse
entity Commander of the Order of the British Empire
relation award received
type common name
action filter_type
action find_reverse
entity Doctor of Philosophy
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Commander of the Order of the British Empire'] [{'concept': 'common name'}, 'award received', 'Doctor of Philosophy']
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f rdf:type ontology:common_name . ?f property:award_received resource:Commander_of_the_Order_of_the_British_Empire . ?f property:award_received resource:Doctor_of_Philosophy . ?f rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q453778
P641
Q31629 Q13406554 Q12973014
USER
How many types of sport were greater number of sport competitions and sports teams a part of than Roller skiing ?
(c(Q13406554)|c(Q12973014),P641,c(Q31629))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q453778
relation P641
type Q13406554
type Q12973014
[[{'concept': 'Q13406554'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?m WHERE { { ?r property:P641 ?m . ?r rdf:type ontology:Q12973014 . ?m rdf:type ontology:Q31629 } UNION { ?r property:P641 ?m . ?r rdf:type ontology:Q13406554 . ?m rdf:type ontology:Q31629 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:P641 resource:Q453778 . { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:Q13406554 ) ( ontology:Q12973014 ) } } } } . FILTER ( ?c > ?t ) }
Roller skiing
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_multi_types
action find_reverse
entity Roller skiing
relation sport
type sport competition
type sports team
[[{'concept': 'sport competition'}, {'concept': 'sports team'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?m WHERE { { ?r property:sport ?m . ?r rdf:type ontology:sports_team . ?m rdf:type ontology:type_of_sport } UNION { ?r property:sport ?m . ?r rdf:type ontology:sport_competition . ?m rdf:type ontology:type_of_sport } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:sport resource:Roller_skiing . { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:sport_competition ) ( ontology:sports_team ) } } } } . FILTER ( ?c > ?t ) }
[]
type of sport sport competition sports team
SYSTEM
27
Q14085739 Q1293 Q29358 Q166788 Q326827 Q32485 Q216613 Q327223 Q542 Q718 Q179687 Q272460 Q159354 Q3609 Q40244 Q14554839 Q172809 Q16629853 Q520611 Q335638 Q465014 Q186222 Q11020 Q1128216 Q7735 Q11015 Q48890
(c(Q13406554)|c(Q12973014),P641,c(Q31629))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q453778
relation P641
type Q13406554
type Q12973014
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?m WHERE { { ?r property:P641 ?m . ?r rdf:type ontology:Q12973014 . ?m rdf:type ontology:Q31629 } UNION { ?r property:P641 ?m . ?r rdf:type ontology:Q13406554 . ?m rdf:type ontology:Q31629 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:P641 resource:Q453778 . { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:Q13406554 ) ( ontology:Q12973014 ) } } } } . FILTER ( ?c > ?t ) }
sailing draughts orienteering biathlon artistic gymnastics modern pentathlon Nordic skiing freestyle wrestling athletics chess cross-country skiing Pilates rowing road bicycle racing marathon competitive fencing ten-pin bowling Mixed Doubles mountain biking cyclo-cross trampolining alpine skiing pool wheelchair basketball diving snooker college basketball
27
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_multi_types
action find_reverse
entity Roller skiing
relation sport
type sport competition
type sports team
[[{'concept': 'sport competition'}, {'concept': 'sports team'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?m WHERE { { ?r property:sport ?m . ?r rdf:type ontology:sports_team . ?m rdf:type ontology:type_of_sport } UNION { ?r property:sport ?m . ?r rdf:type ontology:sport_competition . ?m rdf:type ontology:type_of_sport } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:sport resource:Roller_skiing . { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:sport_competition ) ( ontology:sports_team ) } } } } . FILTER ( ?c > ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q166788
P641
Q31629 Q13406554 Q12973014
USER
And what about biathlon?
(c(Q13406554)|c(Q12973014),P641,c(Q31629))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q166788
relation P641
type Q13406554
type Q12973014
[[{'concept': 'Q13406554'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?s ) WHERE { { ?u property:P641 ?x . ?u rdf:type ontology:Q13406554 . ?x rdf:type ontology:Q31629 } UNION { ?u property:P641 ?x . ?u rdf:type ontology:Q12973014 . ?x rdf:type ontology:Q31629 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:P641 resource:Q166788 . { { ?p rdf:type ontology:Q12973014 } UNION { ?p rdf:type ontology:Q13406554 } } } } . FILTER ( ?s > ?e ) }
biathlon
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_multi_types
action find_reverse
entity biathlon
relation sport
type sport competition
type sports team
[[{'concept': 'sport competition'}, {'concept': 'sports team'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?s ) WHERE { { ?u property:sport ?x . ?u rdf:type ontology:sport_competition . ?x rdf:type ontology:type_of_sport } UNION { ?u property:sport ?x . ?u rdf:type ontology:sports_team . ?x rdf:type ontology:type_of_sport } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:sport resource:biathlon . { { ?p rdf:type ontology:sports_team } UNION { ?p rdf:type ontology:sport_competition } } } } . FILTER ( ?s > ?e ) }
[]
type of sport sport competition sports team
SYSTEM
4
Q542 Q3609 Q1128216 Q11015
(c(Q13406554)|c(Q12973014),P641,c(Q31629))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q166788
relation P641
type Q13406554
type Q12973014
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?s ) WHERE { { ?u property:P641 ?x . ?u rdf:type ontology:Q13406554 . ?x rdf:type ontology:Q31629 } UNION { ?u property:P641 ?x . ?u rdf:type ontology:Q12973014 . ?x rdf:type ontology:Q31629 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:P641 resource:Q166788 . { { ?p rdf:type ontology:Q12973014 } UNION { ?p rdf:type ontology:Q13406554 } } } } . FILTER ( ?s > ?e ) }
athletics road bicycle racing wheelchair basketball snooker
4
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_multi_types
action find_reverse
entity biathlon
relation sport
type sport competition
type sports team
[[{'concept': 'sport competition'}, {'concept': 'sports team'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?s ) WHERE { { ?u property:sport ?x . ?u rdf:type ontology:sport_competition . ?x rdf:type ontology:type_of_sport } UNION { ?u property:sport ?x . ?u rdf:type ontology:sports_team . ?x rdf:type ontology:type_of_sport } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:sport resource:biathlon . { { ?p rdf:type ontology:sports_team } UNION { ?p rdf:type ontology:sport_competition } } } } . FILTER ( ?s > ?e ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q12201477
P17
Q15617994
USER
How many administrative territories are Commander of the Order of the British Empire situated in ?
(Q12201477,P17,c(Q15617994))
action count
action filter_type
action find
entity Q12201477
relation P17
type Q15617994
['Q12201477', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:Q12201477 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Commander of the Order of the British Empire
action count
action filter_type
action find
entity Commander of the Order of the British Empire
relation country
type designation for an administrative territorial entity
['Commander of the Order of the British Empire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:Commander_of_the_Order_of_the_British_Empire property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q12201477,P17,c(Q15617994))
action count
action filter_type
action find
entity Q12201477
relation P17
type Q15617994
[ANSWER]
['Q12201477', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:Q12201477 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Commander of the Order of the British Empire
relation country
type designation for an administrative territorial entity
['Commander of the Order of the British Empire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:Commander_of_the_Order_of_the_British_Empire property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q380887
P108
Q43229
USER
Which organization employs Harold Abrahams ?
(Q380887,P108,c(Q43229))
action filter_type
action find
entity Q380887
relation P108
type Q43229
['Q380887', 'P108', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { resource:Q380887 property:P108 ?f . ?f rdf:type ontology:Q43229 }
Harold Abrahams
action filter_type
action find
entity Harold Abrahams
relation employer
type organization
['Harold Abrahams', 'employer', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { resource:Harold_Abrahams property:employer ?f . ?f rdf:type ontology:organization }
[]
organization
Q9531
SYSTEM
BBC
Q9531
(Q380887,P108,c(Q43229))
action filter_type
action find
entity Q380887
relation P108
type Q43229
[ANSWER] employs Harold Abrahams
['Q380887', 'P108', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { resource:Q380887 property:P108 ?f . ?f rdf:type ontology:Q43229 }
BBC
BBC employs Harold Abrahams
BBC
action filter_type
action find
entity Harold Abrahams
relation employer
type organization
['Harold Abrahams', 'employer', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { resource:Harold_Abrahams property:employer ?f . ?f rdf:type ontology:organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6264884
Q43229
USER
And how about John Work?
(Q6264884,P108,c(Q43229))
action filter_type
action find
entity Q6264884
relation P108
type Q43229
['Q6264884', 'P108', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q43229 . resource:Q6264884 property:P108 ?m }
John Work
action filter_type
action find
entity John Work
relation employer
type organization
['John Work', 'employer', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:organization . resource:John_Work property:employer ?m }
[]
organization
Q76039
SYSTEM
Hudson's Bay Company
Q76039
(Q6264884,P108,c(Q43229))
action filter_type
action find
entity Q6264884
relation P108
type Q43229
[ANSWER]
['Q6264884', 'P108', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q43229 . resource:Q6264884 property:P108 ?m }
Hudson's Bay Company
Hudson's Bay Company
action filter_type
action find
entity John Work
relation employer
type organization
['John Work', 'employer', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:organization . resource:John_Work property:employer ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q76039
P749
Q43229
USER
Which organizations are owned by that one ?
(c(Q43229),P749,Q76039)
action filter_type
action find_reverse
entity Q76039
relation P749
type Q43229
[{'concept': 'Q43229'}, 'P749', 'Q76039']
SELECT DISTINCT ?j WHERE { ?j property:P749 resource:Q76039 . ?j rdf:type ontology:Q43229 }
Hudson's Bay Company
action filter_type
action find_reverse
entity Hudson's Bay Company
relation parent organization
type organization
[{'concept': 'organization'}, 'parent organization', "Hudson's Bay Company"]
SELECT DISTINCT ?j WHERE { ?j property:parent_organization resource:Hudson's_Bay_Company . ?j rdf:type ontology:organization }
[]
organization
Q2749082 Q845330 Q641129
SYSTEM
Lord & Taylor, Zellers, Hudson's Bay
Q2749082 Q845330 Q641129 Q5888609
(c(Q43229),P749,Q76039)
action filter_type
action find_reverse
entity Q76039
relation P749
type Q43229
[ANSWERS] are owned by that one
[{'concept': 'Q43229'}, 'P749', 'Q76039']
SELECT DISTINCT ?j WHERE { ?j property:P749 resource:Q76039 . ?j rdf:type ontology:Q43229 }
Lord & Taylor Zellers Hudson's Bay Home Outfitters
Lord & Taylor, Zellers and Hudson's Bay are owned by that one
Lord & Taylor Zellers Hudson's Bay
action filter_type
action find_reverse
entity Hudson's Bay Company
relation parent organization
type organization
[{'concept': 'organization'}, 'parent organization', "Hudson's Bay Company"]
SELECT DISTINCT ?j WHERE { ?j property:parent_organization resource:Hudson's_Bay_Company . ?j rdf:type ontology:organization }
[]