Simple Question (Direct)
Simple Question
Q8005931
P69
Q163740
USER
Which nonprofit organization is the alma mater of William Brindley ?
(Q8005931,P69,c(Q163740))
action filter_type
action find
entity Q8005931
relation P69
type Q163740
['Q8005931', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?d WHERE { resource:Q8005931 property:P69 ?d . ?d rdf:type ontology:Q163740 }
William Brindley
action filter_type
action find
entity William Brindley
relation educated at
type nonprofit organization
['William Brindley', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?d WHERE { resource:William_Brindley property:educated_at ?d . ?d rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q7374229
SYSTEM
Royal Grammar School, High Wycombe
Q7374229
(Q8005931,P69,c(Q163740))
action filter_type
action find
entity Q8005931
relation P69
type Q163740
[ANSWER] is the alma mater of William Brindley
['Q8005931', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?d WHERE { resource:Q8005931 property:P69 ?d . ?d rdf:type ontology:Q163740 }
Royal Grammar School, High Wycombe
Royal Grammar School, High Wycombe is the alma mater of William Brindley
Royal Grammar School, High Wycombe
action filter_type
action find
entity William Brindley
relation educated at
type nonprofit organization
['William Brindley', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?d WHERE { resource:William_Brindley property:educated_at ?d . ?d rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8005931
P106
Q12737077
USER
Which occupation is the profession of William Brindley ?
(Q8005931,P106,c(Q12737077))
action filter_type
action find
entity Q8005931
relation P106
type Q12737077
['Q8005931', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q8005931 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
William Brindley
action filter_type
action find
entity William Brindley
relation occupation
type occupation
['William Brindley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:William_Brindley property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q12299841
SYSTEM
cricketer
Q12299841
(Q8005931,P106,c(Q12737077))
action filter_type
action find
entity Q8005931
relation P106
type Q12737077
[ANSWER] is the profession of William Brindley
['Q8005931', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q8005931 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
cricketer
Cricketer is the profession of William Brindley
cricketer
action filter_type
action find
entity William Brindley
relation occupation
type occupation
['William Brindley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:William_Brindley property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q12299841 Q16149743
P106
Q502895
USER
Does Anatoly Asrabayev have that occupation as his/her means of employment ?
(Q16149743,P106,Q12299841)
action is_in
entity Q16149743
action find
entity Q12299841
relation P106
['Q16149743', 'P106', 'Q12299841']
ASK WHERE { resource:Q12299841 property:P106 resource:Q16149743 }
cricketer Anatoly Asrabayev
action is_in
entity Anatoly Asrabayev
action find
entity cricketer
relation occupation
['Anatoly Asrabayev', 'occupation', 'cricketer']
ASK WHERE { resource:cricketer property:occupation resource:Anatoly_Asrabayev }
[]
common name
SYSTEM
NO
(Q16149743,P106,Q12299841)
action is_in
entity Q16149743
action find
entity Q12299841
relation P106
[ANSWER]
['Q16149743', 'P106', 'Q12299841']
ASK WHERE { resource:Q12299841 property:P106 resource:Q16149743 }
No
action is_in
entity Anatoly Asrabayev
action find
entity cricketer
relation occupation
['Anatoly Asrabayev', 'occupation', 'cricketer']
ASK WHERE { resource:cricketer property:occupation resource:Anatoly_Asrabayev }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the names of the patron saint of atleast 5 occupations ?
(c(Q12737077),P417,c(Q502895))
action count
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 5
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:P417 ?o . ?o rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 } GROUP BY ?o } . FILTER ( ?m >= 5 ) }
action count
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 5
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:patron_saint ?o . ?o rdf:type ontology:common_name . ?i rdf:type ontology:occupation } GROUP BY ?o } . FILTER ( ?m >= 5 ) }
[]
common name occupation
SYSTEM
2
Q43982 Q179718
(c(Q12737077),P417,c(Q502895))
action count
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 5
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:P417 ?o . ?o rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 } GROUP BY ?o } . FILTER ( ?m >= 5 ) }
Bartholomew the Apostle Catherine of Alexandria
2
action count
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 5
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:patron_saint ?o . ?o rdf:type ontology:common_name . ?i rdf:type ontology:occupation } GROUP BY ?o } . FILTER ( ?m >= 5 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8005931
P607
Q198
USER
Which battle did William Brindley take part in ?
(Q8005931,P607,c(Q198))
action filter_type
action find
entity Q8005931
relation P607
type Q198
['Q8005931', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?k WHERE { resource:Q8005931 property:P607 ?k . ?k rdf:type ontology:Q198 }
William Brindley
action filter_type
action find
entity William Brindley
relation conflict
type war
['William Brindley', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?k WHERE { resource:William_Brindley property:conflict ?k . ?k rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q8005931,P607,c(Q198))
action filter_type
action find
entity Q8005931
relation P607
type Q198
William Brindley took part in [ANSWER]
['Q8005931', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?k WHERE { resource:Q8005931 property:P607 ?k . ?k rdf:type ontology:Q198 }
World War I
William Brindley took part in World War I
World War I
action filter_type
action find
entity William Brindley
relation conflict
type war
['William Brindley', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?k WHERE { resource:William_Brindley property:conflict ?k . ?k rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8005931
P166
Q2003221
USER
Which chivalric order was William Brindley awarded with ?
(Q8005931,P166,c(Q2003221))
action filter_type
action find
entity Q8005931
relation P166
type Q2003221
['Q8005931', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?c WHERE { resource:Q8005931 property:P166 ?c . ?c rdf:type ontology:Q2003221 }
William Brindley
action filter_type
action find
entity William Brindley
relation award received
type chivalric order
['William Brindley', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?c WHERE { resource:William_Brindley property:award_received ?c . ?c rdf:type ontology:chivalric_order }
[]
chivalric order
Q10762848
SYSTEM
Officer of the Order of the British Empire
Q10762848
(Q8005931,P166,c(Q2003221))
action filter_type
action find
entity Q8005931
relation P166
type Q2003221
William Brindley was awarded the [ANSWER]
['Q8005931', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?c WHERE { resource:Q8005931 property:P166 ?c . ?c rdf:type ontology:Q2003221 }
Officer of the Order of the British Empire
William Brindley was awarded the Officer of the Order of the British Empire
Officer of the Order of the British Empire
action filter_type
action find
entity William Brindley
relation award received
type chivalric order
['William Brindley', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?c WHERE { resource:William_Brindley property:award_received ?c . ?c rdf:type ontology:chivalric_order }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q10762848 Q145
P17
Q15617994
USER
Is that chivalric order present in United Kingdom ?
(Q10762848,P17,Q145)
action is_in
entity Q145
action find
entity Q10762848
relation P17
['Q10762848', 'P17', 'Q145']
ASK WHERE { resource:Q10762848 property:P17 resource:Q145 }
Officer of the Order of the British Empire United Kingdom
action is_in
entity United Kingdom
action find
entity Officer of the Order of the British Empire
relation country
['Officer of the Order of the British Empire', 'country', 'United Kingdom']
ASK WHERE { resource:Officer_of_the_Order_of_the_British_Empire property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q10762848,P17,Q145)
action is_in
entity Q145
action find
entity Q10762848
relation P17
[ANSWER]
['Q10762848', 'P17', 'Q145']
ASK WHERE { resource:Q10762848 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Officer of the Order of the British Empire
relation country
['Officer of the Order of the British Empire', 'country', 'United Kingdom']
ASK WHERE { resource:Officer_of_the_Order_of_the_British_Empire property:country resource:United_Kingdom }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q12299841
P425
Q349
USER
How many sports have cricketer as thier associated field of occupation ?
(Q12299841,P425,c(Q349))
action count
action filter_type
action find
entity Q12299841
relation P425
type Q349
['Q12299841', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q12299841 property:P425 ?k . ?k rdf:type ontology:Q349 }
cricketer
action count
action filter_type
action find
entity cricketer
relation field of this occupation
type sport
['cricketer', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:cricketer property:field_of_this_occupation ?k . ?k rdf:type ontology:sport }
[]
sport
SYSTEM
1
Q5375
(Q12299841,P425,c(Q349))
action count
action filter_type
action find
entity Q12299841
relation P425
type Q349
[ANSWER]
['Q12299841', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q12299841 property:P425 ?k . ?k rdf:type ontology:Q349 }
cricket
1
action count
action filter_type
action find
entity cricketer
relation field of this occupation
type sport
['cricketer', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:cricketer property:field_of_this_occupation ?k . ?k rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q14605941
P425
Q349
USER
And also tell me about combined track and field event athlete?
(Q14605941,P425,c(Q349))
action count
action filter_type
action find
entity Q14605941
relation P425
type Q349
['Q14605941', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ontology:Q349 . resource:Q14605941 property:P425 ?h }
combined track and field event athlete
action count
action filter_type
action find
entity combined track and field event athlete
relation field of this occupation
type sport
['combined track and field event athlete', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ontology:sport . resource:combined_track_and_field_event_athlete property:field_of_this_occupation ?h }
[]
sport
SYSTEM
1
Q3924425
(Q14605941,P425,c(Q349))
action count
action filter_type
action find
entity Q14605941
relation P425
type Q349
[ANSWER]
['Q14605941', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ontology:Q349 . resource:Q14605941 property:P425 ?h }
combined track and field events
1
action count
action filter_type
action find
entity combined track and field event athlete
relation field of this occupation
type sport
['combined track and field event athlete', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ontology:sport . resource:combined_track_and_field_event_athlete property:field_of_this_occupation ?h }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q13561328
Q349
USER
And how about surfer?
(Q13561328,P425,c(Q349))
action count
action filter_type
action find
entity Q13561328
relation P425
type Q349
['Q13561328', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:Q13561328 property:P425 ?d . ?d rdf:type ontology:Q349 }
surfer
action count
action filter_type
action find
entity surfer
relation field of this occupation
type sport
['surfer', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:surfer property:field_of_this_occupation ?d . ?d rdf:type ontology:sport }
[]
sport
SYSTEM
1
(Q13561328,P425,c(Q349))
action count
action filter_type
action find
entity Q13561328
relation P425
type Q349
[ANSWER]
['Q13561328', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:Q13561328 property:P425 ?d . ?d rdf:type ontology:Q349 }
1
action count
action filter_type
action find
entity surfer
relation field of this occupation
type sport
['surfer', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:surfer property:field_of_this_occupation ?d . ?d rdf:type ontology:sport }
[]