Simple Question (Direct)
Simple Question
Q5234713
P69
Q1935049
USER
What is the military school where David Harcourt-Smith was educated ?
(Q5234713,P69,c(Q1935049))
action filter_type
action find
entity Q5234713
relation P69
type Q1935049
['Q5234713', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?h WHERE { resource:Q5234713 property:P69 ?h . ?h rdf:type ontology:Q1935049 }
David Harcourt-Smith
action filter_type
action find
entity David Harcourt-Smith
relation educated at
type military school
['David Harcourt-Smith', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?h WHERE { resource:David_Harcourt-Smith property:educated_at ?h . ?h rdf:type ontology:military_school }
[]
military school
Q7373601
SYSTEM
Royal Air Force College Cranwell
Q7373601
(Q5234713,P69,c(Q1935049))
action filter_type
action find
entity Q5234713
relation P69
type Q1935049
The military school David Harcourt-Smith was educated is the [ANSWER]
['Q5234713', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?h WHERE { resource:Q5234713 property:P69 ?h . ?h rdf:type ontology:Q1935049 }
Royal Air Force College Cranwell
The military school David Harcourt-Smith was educated is the Royal Air Force College Cranwell
Royal Air Force College Cranwell
action filter_type
action find
entity David Harcourt-Smith
relation educated at
type military school
['David Harcourt-Smith', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?h WHERE { resource:David_Harcourt-Smith property:educated_at ?h . ?h rdf:type ontology:military_school }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5234713
P166
Q618779
USER
What was awarded to David Harcourt-Smith ?
(Q5234713,P166,c(Q618779))
action filter_type
action find
entity Q5234713
relation P166
type Q618779
['Q5234713', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q5234713 property:P166 ?x . ?x rdf:type ontology:Q618779 }
David Harcourt-Smith
action filter_type
action find
entity David Harcourt-Smith
relation award received
type award
['David Harcourt-Smith', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:David_Harcourt-Smith property:award_received ?x . ?x rdf:type ontology:award }
[]
award
Q1229534
SYSTEM
Distinguished Flying Cross
Q1229534
(Q5234713,P166,c(Q618779))
action filter_type
action find
entity Q5234713
relation P166
type Q618779
[ANSWER] was awarded to David Harcourt-Smith
['Q5234713', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q5234713 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Distinguished Flying Cross
Distinguished Flying Cross was awarded to David Harcourt-Smith
Distinguished Flying Cross
action filter_type
action find
entity David Harcourt-Smith
relation award received
type award
['David Harcourt-Smith', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:David_Harcourt-Smith property:award_received ?x . ?x rdf:type ontology:award }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q5234713
Q2003221
USER
And which chivalric order?
(Q5234713,P166,c(Q2003221))
action filter_type
action find
entity Q5234713
relation P166
type Q2003221
['Q5234713', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?t WHERE { resource:Q5234713 property:P166 ?t . ?t rdf:type ontology:Q2003221 }
David Harcourt-Smith
action filter_type
action find
entity David Harcourt-Smith
relation award received
type chivalric order
['David Harcourt-Smith', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?t WHERE { resource:David_Harcourt-Smith property:award_received ?t . ?t rdf:type ontology:chivalric_order }
[]
chivalric order
Q12177470 Q12201378
SYSTEM
Knight Commander of the Order of the Bath, Knight Grand Cross of the Order of the British Empire
Q12177470 Q12201378
(Q5234713,P166,c(Q2003221))
action filter_type
action find
entity Q5234713
relation P166
type Q2003221
[ANSWERS]
['Q5234713', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?t WHERE { resource:Q5234713 property:P166 ?t . ?t rdf:type ontology:Q2003221 }
Knight Commander of the Order of the Bath Knight Grand Cross of the Order of the British Empire
Knight Commander of the Order of the Bath Knight Grand Cross of the Order of the British Empire
action filter_type
action find
entity David Harcourt-Smith
relation award received
type chivalric order
['David Harcourt-Smith', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?t WHERE { resource:David_Harcourt-Smith property:award_received ?t . ?t rdf:type ontology:chivalric_order }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7836129
P166
Q502895
USER
Were Travers Clarke awarded with those chivalric orders ?
(Q7836129,P166,Q12177470) (Q7836129,P166,Q12201378)
action is_in
entity prev_answer
action find
entity Q7836129
relation P166
['Q7836129', 'P166', 'Q12177470'] ['Q7836129', 'P166', 'Q12201378']
ASK WHERE { resource:Q7836129 property:P166 ?g . VALUES ( ?g ) { ( resource:Q12177470 ) ( resource:Q12201378 ) } }
Travers Clarke
action is_in
entity prev_answer
action find
entity Travers Clarke
relation award received
['Travers Clarke', 'award received', 'Knight Commander of the Order of the Bath'] ['Travers Clarke', 'award received', 'Knight Grand Cross of the Order of the British Empire']
ASK WHERE { resource:Travers_Clarke property:award_received ?g . VALUES ( ?g ) { ( resource:Knight_Commander_of_the_Order_of_the_Bath ) ( resource:Knight_Grand_Cross_of_the_Order_of_the_British_Empire ) } }
[]
common name
SYSTEM
YES
(Q7836129,P166,Q12177470) (Q7836129,P166,Q12201378)
action is_in
entity prev_answer
action find
entity Q7836129
relation P166
[ANSWER]
['Q7836129', 'P166', 'Q12177470'] ['Q7836129', 'P166', 'Q12201378']
ASK WHERE { resource:Q7836129 property:P166 ?g . VALUES ( ?g ) { ( resource:Q12177470 ) ( resource:Q12201378 ) } }
Yes
action is_in
entity prev_answer
action find
entity Travers Clarke
relation award received
['Travers Clarke', 'award received', 'Knight Commander of the Order of the Bath'] ['Travers Clarke', 'award received', 'Knight Grand Cross of the Order of the British Empire']
ASK WHERE { resource:Travers_Clarke property:award_received ?g . VALUES ( ?g ) { ( resource:Knight_Commander_of_the_Order_of_the_Bath ) ( resource:Knight_Grand_Cross_of_the_Order_of_the_British_Empire ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q12177470 Q282019
P166
Q502895
USER
How many people were awarded with Knight Commander of the Order of the Bath and baronet ?
(c(Q502895),P166,Q12177470) (c(Q502895),P166,Q282019)
action count
action intersection
action filter_type
action find_reverse
entity Q12177470
relation P166
type Q502895
action filter_type
action find_reverse
entity Q282019
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q12177470'] [{'concept': 'Q502895'}, 'P166', 'Q282019']
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ontology:Q502895 . ?o property:P166 resource:Q12177470 . ?o rdf:type ontology:Q502895 . ?o property:P166 resource:Q282019 }
Knight Commander of the Order of the Bath baronet
action count
action intersection
action filter_type
action find_reverse
entity Knight Commander of the Order of the Bath
relation award received
type common name
action filter_type
action find_reverse
entity baronet
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Knight Commander of the Order of the Bath'] [{'concept': 'common name'}, 'award received', 'baronet']
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ontology:common_name . ?o property:award_received resource:Knight_Commander_of_the_Order_of_the_Bath . ?o rdf:type ontology:common_name . ?o property:award_received resource:baronet }
[]
common name
SYSTEM
2
Q7529670 Q7527120
(c(Q502895),P166,Q12177470) (c(Q502895),P166,Q282019)
action count
action intersection
action filter_type
action find_reverse
entity Q12177470
relation P166
type Q502895
action filter_type
action find_reverse
entity Q282019
relation P166
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P166', 'Q12177470'] [{'concept': 'Q502895'}, 'P166', 'Q282019']
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ontology:Q502895 . ?o property:P166 resource:Q12177470 . ?o rdf:type ontology:Q502895 . ?o property:P166 resource:Q282019 }
Sir William MacCormac, 1st Baronet Sir Henry Craik, 1st Baronet
2
action count
action intersection
action filter_type
action find_reverse
entity Knight Commander of the Order of the Bath
relation award received
type common name
action filter_type
action find_reverse
entity baronet
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Knight Commander of the Order of the Bath'] [{'concept': 'common name'}, 'award received', 'baronet']
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ontology:common_name . ?o property:award_received resource:Knight_Commander_of_the_Order_of_the_Bath . ?o rdf:type ontology:common_name . ?o property:award_received resource:baronet }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12177470
P361
Q618779
USER
What is that chivalric order a portion of ?
action filter_type
action find
entity Q12177470
relation P361
type Q618779
SELECT DISTINCT ?k WHERE { resource:Q12177470 property:P361 ?k . ?k rdf:type ontology:Q618779 }
Knight Commander of the Order of the Bath
action filter_type
action find
entity Knight Commander of the Order of the Bath
relation part of
type award
SELECT DISTINCT ?k WHERE { resource:Knight_Commander_of_the_Order_of_the_Bath property:part_of ?k . ?k rdf:type ontology:award }
[]
award
Q506369
SYSTEM
Order of the Bath
Q506369
action filter_type
action find
entity Q12177470
relation P361
type Q618779
That chivalric order a portion of is the [ANSWER]
SELECT DISTINCT ?k WHERE { resource:Q12177470 property:P361 ?k . ?k rdf:type ontology:Q618779 }
Order of the Bath
That chivalric order a portion of is the Order of the Bath
Order of the Bath
action filter_type
action find
entity Knight Commander of the Order of the Bath
relation part of
type award
SELECT DISTINCT ?k WHERE { resource:Knight_Commander_of_the_Order_of_the_Bath property:part_of ?k . ?k rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12177470
P17
Q15617994
USER
Which administrative territory is Knight Commander of the Order of the Bath situated in ?
(Q12177470,P17,c(Q15617994))
action filter_type
action find
entity Q12177470
relation P17
type Q15617994
['Q12177470', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q12177470 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Knight Commander of the Order of the Bath
action filter_type
action find
entity Knight Commander of the Order of the Bath
relation country
type designation for an administrative territorial entity
['Knight Commander of the Order of the Bath', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Knight_Commander_of_the_Order_of_the_Bath property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q12177470,P17,c(Q15617994))
action filter_type
action find
entity Q12177470
relation P17
type Q15617994
Knight Commander of the Order of the Bath is situated in [ANSWER]
['Q12177470', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q12177470 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
United Kingdom
Knight Commander of the Order of the Bath is situated in United Kingdom
United Kingdom
action filter_type
action find
entity Knight Commander of the Order of the Bath
relation country
type designation for an administrative territorial entity
['Knight Commander of the Order of the Bath', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Knight_Commander_of_the_Order_of_the_Bath property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1574971
Q15617994
USER
And also tell me about Sukarame?
(Q1574971,P17,c(Q15617994))
action filter_type
action find
entity Q1574971
relation P17
type Q15617994
['Q1574971', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q1574971 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Sukarame
action filter_type
action find
entity Sukarame
relation country
type designation for an administrative territorial entity
['Sukarame', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Sukarame property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q252
SYSTEM
Indonesia
Q252
(Q1574971,P17,c(Q15617994))
action filter_type
action find
entity Q1574971
relation P17
type Q15617994
[ANSWER]
['Q1574971', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q1574971 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Indonesia
Indonesia
action filter_type
action find
entity Sukarame
relation country
type designation for an administrative territorial entity
['Sukarame', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Sukarame property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q145
P915
Q15416 Q838948
USER
How many television programs and works of art were filmed in the location United Kingdom ?
(c(Q15416),P915,Q145) (c(Q838948),P915,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P915
type Q15416
action filter_type
action find_reverse
entity Q145
relation P915
type Q838948
[{'concept': 'Q15416'}, 'P915', 'Q145'] [{'concept': 'Q838948'}, 'P915', 'Q145']
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { ?p property:P915 resource:Q145 . ?p rdf:type ontology:Q15416 } UNION { ?p rdf:type ontology:Q838948 . ?p property:P915 resource:Q145 } }
United Kingdom
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation filming location
type television program
action filter_type
action find_reverse
entity United Kingdom
relation filming location
type work of art
[{'concept': 'television program'}, 'filming location', 'United Kingdom'] [{'concept': 'work of art'}, 'filming location', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { ?p property:filming_location resource:United_Kingdom . ?p rdf:type ontology:television_program } UNION { ?p rdf:type ontology:work_of_art . ?p property:filming_location resource:United_Kingdom } }
[]
television program work of art
SYSTEM
1 television programs and 1 works of art
Q15631013 Q21427546
(c(Q15416),P915,Q145) (c(Q838948),P915,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P915
type Q15416
action filter_type
action find_reverse
entity Q145
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q15416'}, 'P915', 'Q145'] [{'concept': 'Q838948'}, 'P915', 'Q145']
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { ?p property:P915 resource:Q145 . ?p rdf:type ontology:Q15416 } UNION { ?p rdf:type ontology:Q838948 . ?p property:P915 resource:Q145 } }
Everest Hunted
1 television programs and 1 works of art
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation filming location
type television program
action filter_type
action find_reverse
entity United Kingdom
relation filming location
type work of art
[{'concept': 'television program'}, 'filming location', 'United Kingdom'] [{'concept': 'work of art'}, 'filming location', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { ?p property:filming_location resource:United_Kingdom . ?p rdf:type ontology:television_program } UNION { ?p rdf:type ontology:work_of_art . ?p property:filming_location resource:United_Kingdom } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q5962346 Q15617994
USER
How many administrative territories are atleast 1 languages and classification schemes associated to as the official language ?
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action count
action atleast
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
value 1
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?x ) { ( ontology:Q34770 ) ( ontology:Q5962346 ) } . ?p rdf:type ?x } GROUP BY ?j } . FILTER ( ?v >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?x ) { ( ontology:language ) ( ontology:classification_scheme ) } . ?p rdf:type ?x } GROUP BY ?j } . FILTER ( ?v >= 1 ) }
[]
language classification scheme designation for an administrative territorial entity
SYSTEM
86
Q804 Q399 Q800 Q709 Q668 Q414 Q1948 Q783 Q784 Q493428 Q712 Q710 Q717 Q2003 Q258 Q1979 Q792 Q954 Q953 Q958 Q986 Q241 Q242 Q244 Q1974 Q811 Q53381 Q101526 Q924 Q34 Q928 Q39 Q38 Q739 Q733 Q734 Q55 Q1013 Q795587 Q693658 Q145 Q238 Q20 Q1044 Q1042 Q27 Q29 Q1049 Q1020 Q843 Q736 Q786 Q1904 Q96 Q1050 Q1989 Q686312 Q1036 Q1037 Q1033 Q1030 Q963 Q298 Q695 Q114 Q117 Q754 Q750 Q213 Q1005 Q833 Q1951 Q1009 Q243220 Q683 Q34020 Q686 Q760 Q77 Q774 Q1014 Q678 Q233 Q672 Q1952 Q2023
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action count
action atleast
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?x ) { ( ontology:Q34770 ) ( ontology:Q5962346 ) } . ?p rdf:type ?x } GROUP BY ?j } . FILTER ( ?v >= 1 ) }
Panama Armenia Costa Rica Marshall Islands India Argentina Manitoba Honduras Dominica Mistretta Fiji Kiribati Venezuela Newfoundland and Labrador South Africa Prince Edward Island El Salvador Zimbabwe Zambia South Sudan Eritrea Cuba Belize Barbados British Columbia Nicaragua Tolmezzo Rovetta Tanzania Sweden Philippines Switzerland Italy Colombia Paraguay Guyana Netherlands Lesotho Escuintla Izabal Department United Kingdom San Marino Norway Sierra Leone Seychelles Ireland Spain Sudan Malawi Pakistan Ecuador Dominican Republic Ontario Mexico Swaziland Saskatchewan Duchy of Amalfi Uganda Rwanda Nigeria Namibia Botswana Chile Palau Kenya Ghana Trinidad and Tobago Bolivia Czech Republic Gambia Malaysia Alberta Cameroon Rocca di Cave Samoa Niue Vanuatu Saint Lucia Uruguay Guatemala Liberia Tonga Malta Tuvalu Nova Scotia Nunavut
86
action count
action atleast
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?x ) { ( ontology:language ) ( ontology:classification_scheme ) } . ?p rdf:type ?x } GROUP BY ?j } . FILTER ( ?v >= 1 ) }
[]