Simple Question (Direct)
Simple Question
Q21062064
P69
Q1935049
USER
Which military school was James Rowland Scarlett-Streatfeild educated at ?
(Q21062064,P69,c(Q1935049))
action filter_type
action find
entity Q21062064
relation P69
type Q1935049
['Q21062064', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1935049 . resource:Q21062064 property:P69 ?x }
James Rowland Scarlett-Streatfeild
action filter_type
action find
entity James Rowland Scarlett-Streatfeild
relation educated at
type military school
['James Rowland Scarlett-Streatfeild', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:military_school . resource:James_Rowland_Scarlett-Streatfeild property:educated_at ?x }
[]
military school
Q7373601
SYSTEM
Royal Air Force College Cranwell
Q7373601
(Q21062064,P69,c(Q1935049))
action filter_type
action find
entity Q21062064
relation P69
type Q1935049
[ANSWER] was James Rowland Scarlett-Streatfeild educated at
['Q21062064', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1935049 . resource:Q21062064 property:P69 ?x }
Royal Air Force College Cranwell
Royal Air Force College Cranwell was James Rowland Scarlett-Streatfeild educated at
Royal Air Force College Cranwell
action filter_type
action find
entity James Rowland Scarlett-Streatfeild
relation educated at
type military school
['James Rowland Scarlett-Streatfeild', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:military_school . resource:James_Rowland_Scarlett-Streatfeild property:educated_at ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21062064
P166
Q2003221
USER
What was received by James Rowland Scarlett-Streatfeild ?
(Q21062064,P166,c(Q2003221))
action filter_type
action find
entity Q21062064
relation P166
type Q2003221
['Q21062064', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?s WHERE { resource:Q21062064 property:P166 ?s . ?s rdf:type ontology:Q2003221 }
James Rowland Scarlett-Streatfeild
action filter_type
action find
entity James Rowland Scarlett-Streatfeild
relation award received
type chivalric order
['James Rowland Scarlett-Streatfeild', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?s WHERE { resource:James_Rowland_Scarlett-Streatfeild property:award_received ?s . ?s rdf:type ontology:chivalric_order }
[]
chivalric order
Q12201477
SYSTEM
Commander of the Order of the British Empire
Q12201477
(Q21062064,P166,c(Q2003221))
action filter_type
action find
entity Q21062064
relation P166
type Q2003221
The [ANSWER] was received by James Rowland Scarlett-Streatfeild
['Q21062064', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?s WHERE { resource:Q21062064 property:P166 ?s . ?s rdf:type ontology:Q2003221 }
Commander of the Order of the British Empire
The Commander of the Order of the British Empire was received by James Rowland Scarlett-Streatfeild
Commander of the Order of the British Empire
action filter_type
action find
entity James Rowland Scarlett-Streatfeild
relation award received
type chivalric order
['James Rowland Scarlett-Streatfeild', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?s WHERE { resource:James_Rowland_Scarlett-Streatfeild property:award_received ?s . ?s rdf:type ontology:chivalric_order }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q117637
Q2003221
USER
And what about Louis Augustin d’Affry?
(Q117637,P166,c(Q2003221))
action filter_type
action find
entity Q117637
relation P166
type Q2003221
['Q117637', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?k WHERE { resource:Q117637 property:P166 ?k . ?k rdf:type ontology:Q2003221 }
Louis Augustin d’Affry
action filter_type
action find
entity Louis Augustin d’Affry
relation award received
type chivalric order
['Louis Augustin d’Affry', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?k WHERE { resource:Louis_Augustin_d’Affry property:award_received ?k . ?k rdf:type ontology:chivalric_order }
[]
chivalric order
Q11609173 Q11599352
SYSTEM
Knight in the order of Saint-Michel, chevalier de l'ordre du Saint-Esprit
Q11609173 Q11599352
(Q117637,P166,c(Q2003221))
action filter_type
action find
entity Q117637
relation P166
type Q2003221
[ANSWERS]
['Q117637', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?k WHERE { resource:Q117637 property:P166 ?k . ?k rdf:type ontology:Q2003221 }
Knight in the order of Saint-Michel chevalier de l'ordre du Saint-Esprit
Knight in the order of Saint-Michel chevalier de l'ordre du Saint-Esprit
action filter_type
action find
entity Louis Augustin d’Affry
relation award received
type chivalric order
['Louis Augustin d’Affry', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?k WHERE { resource:Louis_Augustin_d’Affry property:award_received ?k . ?k rdf:type ontology:chivalric_order }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q7373601
P69
Q502895 Q3914
USER
How many people or schools were a student at Royal Air Force College Cranwell ?
(c(Q502895),P69,Q7373601) (c(Q3914),P69,Q7373601)
action count
action union
action filter_type
action find_reverse
entity Q7373601
relation P69
type Q502895
action filter_type
action find_reverse
entity Q7373601
relation P69
type Q3914
[{'concept': 'Q502895'}, 'P69', 'Q7373601'] [{'concept': 'Q3914'}, 'P69', 'Q7373601']
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q3914 ) } . ?n rdf:type ?c }
Royal Air Force College Cranwell
action count
action union
action filter_type
action find_reverse
entity Royal Air Force College Cranwell
relation educated at
type common name
action filter_type
action find_reverse
entity Royal Air Force College Cranwell
relation educated at
type school
[{'concept': 'common name'}, 'educated at', 'Royal Air Force College Cranwell'] [{'concept': 'school'}, 'educated at', 'Royal Air Force College Cranwell']
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:common_name ) ( ontology:school ) } . ?n rdf:type ?c }
[]
common name school
SYSTEM
110
Q7325880 Q6163583 Q278653 Q6244032 Q5128988 Q43274 Q15967064 Q4731047 Q6531008 Q6933494 Q6837047 Q4722602 Q5262792 Q6264417 Q20179461 Q6134291 Q4772048 Q5234713 Q5295036 Q7323817 Q5569156 Q5958272 Q1434488 Q3147299 Q6130211 Q4800372 Q981846 Q21062064 Q5132771 Q6270488 Q15996209 Q6226478 Q6500877 Q5536821 Q4804293 Q7167249 Q6232281 Q461192 Q7326888 Q556137 Q4964354 Q20984635 Q16018184 Q7177554 Q6385230 Q5592675 Q6229301 Q6142818 Q5982990 Q5294474 Q4934486 Q13060078 Q6830741 Q5930963 Q19664125 Q7329741 Q5258746 Q7422016 Q4757364 Q5339571 Q7609006 Q6742560 Q312547 Q7804388 Q7123548 Q16008205 Q5542495 Q7964906 Q6218802 Q6390198 Q7177062 Q7793169 Q7804426 Q7363626 Q5543518 Q1077574 Q6260688 Q7518365 Q6932844 Q7146558 Q6384691 Q17479467 Q5760979 Q7328346 Q7360709 Q7509410 Q3442064 Q20981606 Q348780 Q4791529 Q15969475 Q17403732 Q3237294 Q17418653 Q7964658 Q17418655 Q7326942 Q16196047 Q5233604 Q16011954 Q5232613 Q1691253 Q7327220 Q4679990 Q6225878 Q7962836 Q4911428 Q6679747 Q15969878 Q6793351
(c(Q502895),P69,Q7373601) (c(Q3914),P69,Q7373601)
action count
action union
action filter_type
action find_reverse
entity Q7373601
relation P69
type Q502895
action filter_type
action find_reverse
entity Q7373601
relation P69
type Q3914
[ANSWER]
[{'concept': 'Q502895'}, 'P69', 'Q7373601'] [{'concept': 'Q3914'}, 'P69', 'Q7373601']
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q3914 ) } . ?n rdf:type ?c }
Richard Garwood Jason Sutton Francis William Beaumont John Lapsley Claude Pelly Charles, Prince of Wales Walter Beisiegel Allan Wright Leslie Mavor Mukhtar Ahmad Dogar Michelle Goodman Alfred Earle Dermot Boyle John Willis Eugene Vielle James Fuller-Good Anthony Bagnall David Harcourt-Smith Donald Randall Evans Richard Atcherley Glenn Torpy Muhammad Amir Khatam Reginald Waite Ian Macfadyen James Brian Tait Arthur Stewart King Scarf Muqrin bin Abdul-Aziz Al Saud James Rowland Scarlett-Streatfeild Cliff Spink Jon Chitty Victor Beamish John Cochrane Laurence Sinclair George Beamish Asghar Khan Percy Bernard, 5th Earl of Bandon John F. G. Howe Prince Faisal bin Al Hussein Richard Johns Bandar bin Sultan Brian Kingcome Ian Cross Nazir Latif Peter Walker Keith Williamson Graham Bladon John Dewar James Scarlett-Streatfield Ian Stewart Donald Hall Bob Yule Subroto Mukerjee Michael Graydon Hugh Gordon Malcolm Cecil Moore Richard Waghorn Dennis Mitchell Sarah-Jayne Mulvihill Andrew Humphrey Edmund Hudleston Stephen Dalton Malcolm Pledger Frank Whittle Tim Thorn Paddy Mendis John Grierson George Mills Walter G. R. Hinchliffe John Allison Kenneth Hayr Peter Squire Thomas Pike Tim Vigors Ron Chippindale George Powell-Shedden Chris Moran John Thomson Simon Bryant Muhammad bin Saad Patrick Gibbs Keith Mans Douglas Ryley Hilary Hood Richard Peirse Rolf Dudley-Williams Sidney Webster Rory Underwood Philip Hunter Douglas Bader Arjan Singh Neville Stack Brian Courtenay Yarde Lewis Hodges Clayton Boyce Walter Dawson Hugh Hamilton Brookes Richard Jordan Mohammed Hanzab David Felwick Hubert Patch David Cousins Jock Stirrup Richard Lacey Adam Wise John Cheshire Wallace Kyle Bill Wratten Lord Malcolm Douglas-Hamilton Neil Wheeler Maurice Michael Stephens
110
action count
action union
action filter_type
action find_reverse
entity Royal Air Force College Cranwell
relation educated at
type common name
action filter_type
action find_reverse
entity Royal Air Force College Cranwell
relation educated at
type school
[{'concept': 'common name'}, 'educated at', 'Royal Air Force College Cranwell'] [{'concept': 'school'}, 'educated at', 'Royal Air Force College Cranwell']
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { VALUES ( ?c ) { ( ontology:common_name ) ( ontology:school ) } . ?n rdf:type ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7373601
P1435
Q41176
USER
Which building gives the heritage status of that military school ?
action filter_type
action find
entity Q7373601
relation P1435
type Q41176
SELECT DISTINCT ?e WHERE { resource:Q7373601 property:P1435 ?e . ?e rdf:type ontology:Q41176 }
Royal Air Force College Cranwell
action filter_type
action find
entity Royal Air Force College Cranwell
relation heritage status
type building
SELECT DISTINCT ?e WHERE { resource:Royal_Air_Force_College_Cranwell property:heritage_status ?e . ?e rdf:type ontology:building }
[]
building
Q15700834
SYSTEM
Grade II listed building
Q15700834
action filter_type
action find
entity Q7373601
relation P1435
type Q41176
[ANSWER] gives the heritage status of that military school
SELECT DISTINCT ?e WHERE { resource:Q7373601 property:P1435 ?e . ?e rdf:type ontology:Q41176 }
Grade II listed building
Grade II listed building gives the heritage status of that military school
Grade II listed building
action filter_type
action find
entity Royal Air Force College Cranwell
relation heritage status
type building
SELECT DISTINCT ?e WHERE { resource:Royal_Air_Force_College_Cranwell property:heritage_status ?e . ?e rdf:type ontology:building }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q15700834 Q26304548
P1435
Q3947
USER
Does Witts Farmhouse have a heritage status of that building ?
(Q26304548,P1435,Q15700834)
action is_in
entity Q15700834
action find
entity Q26304548
relation P1435
['Q26304548', 'P1435', 'Q15700834']
ASK WHERE { resource:Q26304548 property:P1435 resource:Q15700834 }
Grade II listed building Witts Farmhouse
action is_in
entity Grade II listed building
action find
entity Witts Farmhouse
relation heritage status
['Witts Farmhouse', 'heritage status', 'Grade II listed building']
ASK WHERE { resource:Witts_Farmhouse property:heritage_status resource:Grade_II_listed_building }
[]
house
SYSTEM
YES
(Q26304548,P1435,Q15700834)
action is_in
entity Q15700834
action find
entity Q26304548
relation P1435
[ANSWER]
['Q26304548', 'P1435', 'Q15700834']
ASK WHERE { resource:Q26304548 property:P1435 resource:Q15700834 }
Yes
action is_in
entity Grade II listed building
action find
entity Witts Farmhouse
relation heritage status
['Witts Farmhouse', 'heritage status', 'Grade II listed building']
ASK WHERE { resource:Witts_Farmhouse property:heritage_status resource:Grade_II_listed_building }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7373601 Q46975
P17
Q15617994
USER
Does Royal Air Force College Cranwell belong to Veronella ?
(Q7373601,P17,Q46975)
action is_in
entity Q46975
action find
entity Q7373601
relation P17
['Q7373601', 'P17', 'Q46975']
ASK WHERE { resource:Q7373601 property:P17 resource:Q46975 }
Royal Air Force College Cranwell Veronella
action is_in
entity Veronella
action find
entity Royal Air Force College Cranwell
relation country
['Royal Air Force College Cranwell', 'country', 'Veronella']
ASK WHERE { resource:Royal_Air_Force_College_Cranwell property:country resource:Veronella }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7373601,P17,Q46975)
action is_in
entity Q46975
action find
entity Q7373601
relation P17
[ANSWER]
['Q7373601', 'P17', 'Q46975']
ASK WHERE { resource:Q7373601 property:P17 resource:Q46975 }
No
action is_in
entity Veronella
action find
entity Royal Air Force College Cranwell
relation country
['Royal Air Force College Cranwell', 'country', 'Veronella']
ASK WHERE { resource:Royal_Air_Force_College_Cranwell property:country resource:Veronella }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3107932 Q117637
P27
Q15617994
USER
Which administrative territories are Louis Augustin d’Affry and Giulio Cesare Silvagni an inhabitant of ?
AND((Q117637,P27,c(Q15617994)), (Q3107932,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q117637
relation P27
action find
entity Q3107932
relation P27
type Q15617994
{'AND': [['Q117637', 'P27', {'concept': 'Q15617994'}], ['Q3107932', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { resource:Q117637 property:P27 ?g . resource:Q3107932 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Giulio Cesare Silvagni Louis Augustin d’Affry
action filter_type
action intersection
action find
entity Louis Augustin d’Affry
relation country of citizenship
action find
entity Giulio Cesare Silvagni
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Louis Augustin d’Affry', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Giulio Cesare Silvagni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:Louis_Augustin_d’Affry property:country_of_citizenship ?g . resource:Giulio_Cesare_Silvagni property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q117637,P27,c(Q15617994)), (Q3107932,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q117637
relation P27
action find
entity Q3107932
relation P27
type Q15617994
[ANSWER] is Louis Augustin d’Affry and Giulio Cesare Silvagni an inhabitant of
{'AND': [['Q117637', 'P27', {'concept': 'Q15617994'}], ['Q3107932', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { resource:Q117637 property:P27 ?g . resource:Q3107932 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
France
France is Louis Augustin d’Affry and Giulio Cesare Silvagni an inhabitant of
France
action filter_type
action intersection
action find
entity Louis Augustin d’Affry
relation country of citizenship
action find
entity Giulio Cesare Silvagni
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Louis Augustin d’Affry', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Giulio Cesare Silvagni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:Louis_Augustin_d’Affry property:country_of_citizenship ?g . resource:Giulio_Cesare_Silvagni property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]