Simple Question (Direct)
Simple Question
Q15971049
P20
Q56061
USER
Where did Beilby Alston die ?
(Q15971049,P20,c(Q56061))
action filter_type
action find
entity Q15971049
relation P20
type Q56061
['Q15971049', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q15971049 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Beilby Alston
action filter_type
action find
entity Beilby Alston
relation place of death
type administrative territorial entity
['Beilby Alston', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Beilby_Alston property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q15971049,P20,c(Q56061))
action filter_type
action find
entity Q15971049
relation P20
type Q56061
Beilby Alston died in [ANSWER]
['Q15971049', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q15971049 property:P20 ?l . ?l rdf:type ontology:Q56061 }
London
Beilby Alston died in London
London
action filter_type
action find
entity Beilby Alston
relation place of death
type administrative territorial entity
['Beilby Alston', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Beilby_Alston property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15971049
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q84,P27,c(Q15617994))
action filter_type
action find
entity Q15971049
relation P27
type Q15617994
['Q84', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q15971049 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Beilby Alston
action filter_type
action find
entity Beilby Alston
relation country of citizenship
type designation for an administrative territorial entity
['London', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Beilby_Alston property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q84,P27,c(Q15617994))
action filter_type
action find
entity Q15971049
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q84', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q15971049 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the native country of that person
United Kingdom
action filter_type
action find
entity Beilby Alston
relation country of citizenship
type designation for an administrative territorial entity
['London', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Beilby_Alston property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15971049
P21
Q290
USER
What is the sex of Beilby Alston ?
(Q15971049,P21,c(Q290))
action filter_type
action find
entity Q15971049
relation P21
type Q290
['Q15971049', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q15971049 property:P21 ?z . ?z rdf:type ontology:Q290 }
Beilby Alston
action filter_type
action find
entity Beilby Alston
relation gender
type sex
['Beilby Alston', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Beilby_Alston property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15971049,P21,c(Q290))
action filter_type
action find
entity Q15971049
relation P21
type Q290
The sex of Beilby Alston is a [ANSWER]
['Q15971049', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q15971049 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
The sex of Beilby Alston is a male
male
action filter_type
action find
entity Beilby Alston
relation gender
type sex
['Beilby Alston', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Beilby_Alston property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15971049
P166
Q2003221
USER
Which chivalric orders were Beilby Alston awarded with ?
(Q15971049,P166,c(Q2003221))
action filter_type
action find
entity Q15971049
relation P166
type Q2003221
['Q15971049', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2003221 . resource:Q15971049 property:P166 ?i }
Beilby Alston
action filter_type
action find
entity Beilby Alston
relation award received
type chivalric order
['Beilby Alston', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:chivalric_order . resource:Beilby_Alston property:award_received ?i }
[]
chivalric order
Q12177415 Q12201378
SYSTEM
Knight Commander of the Order of St Michael and St George, Knight Grand Cross of the Order of the British Empire
Q12177415 Q12201378
(Q15971049,P166,c(Q2003221))
action filter_type
action find
entity Q15971049
relation P166
type Q2003221
Beilby Alston were awarded the [ANSWERS]
['Q15971049', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2003221 . resource:Q15971049 property:P166 ?i }
Knight Commander of the Order of St Michael and St George Knight Grand Cross of the Order of the British Empire
Beilby Alston were awarded the Knight Commander of the Order of St Michael and St George and Knight Grand Cross of the Order of the British Empire
Knight Commander of the Order of St Michael and St George Knight Grand Cross of the Order of the British Empire
action filter_type
action find
entity Beilby Alston
relation award received
type chivalric order
['Beilby Alston', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:chivalric_order . resource:Beilby_Alston property:award_received ?i }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q15971049
Q768855
USER
And which Orders, decorations, and medals of the United Kingdom?
(Q15971049,P166,c(Q768855))
action filter_type
action find
entity Q15971049
relation P166
type Q768855
['Q15971049', 'P166', {'concept': 'Q768855'}]
SELECT DISTINCT ?f WHERE { resource:Q15971049 property:P166 ?f . ?f rdf:type ontology:Q768855 }
Beilby Alston
action filter_type
action find
entity Beilby Alston
relation award received
type Orders, decorations, and medals of the United Kingdom
['Beilby Alston', 'award received', {'concept': 'Orders, decorations, and medals of the United Kingdom'}]
SELECT DISTINCT ?f WHERE { resource:Beilby_Alston property:award_received ?f . ?f rdf:type ontology:Orders,_decorations,_and_medals_of_the_United_Kingdom }
[]
Orders, decorations, and medals of the United Kingdom
Q12177472
SYSTEM
Companion of the Order of the Bath
Q12177472
(Q15971049,P166,c(Q768855))
action filter_type
action find
entity Q15971049
relation P166
type Q768855
[ANSWER]
['Q15971049', 'P166', {'concept': 'Q768855'}]
SELECT DISTINCT ?f WHERE { resource:Q15971049 property:P166 ?f . ?f rdf:type ontology:Q768855 }
Companion of the Order of the Bath
Companion of the Order of the Bath
action filter_type
action find
entity Beilby Alston
relation award received
type Orders, decorations, and medals of the United Kingdom
['Beilby Alston', 'award received', {'concept': 'Orders, decorations, and medals of the United Kingdom'}]
SELECT DISTINCT ?f WHERE { resource:Beilby_Alston property:award_received ?f . ?f rdf:type ontology:Orders,_decorations,_and_medals_of_the_United_Kingdom }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21544062 Q15971049
P106
Q12737077
USER
Which occupations are the job of Beilby Alston or Johann Wilhelm Raphael Fiorillo ?
OR((Q15971049,P106,c(Q12737077)), (Q21544062,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q15971049
relation P106
action find
entity Q21544062
relation P106
type Q12737077
{'OR': [['Q15971049', 'P106', {'concept': 'Q12737077'}], ['Q21544062', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?d ) { ( resource:Q15971049 ) ( resource:Q21544062 ) } . ?d property:P106 ?f } . ?f rdf:type ontology:Q12737077 }
Johann Wilhelm Raphael Fiorillo Beilby Alston
action filter_type
action union
action find
entity Beilby Alston
relation occupation
action find
entity Johann Wilhelm Raphael Fiorillo
relation occupation
type occupation
{'OR': [['Beilby Alston', 'occupation', {'concept': 'occupation'}], ['Johann Wilhelm Raphael Fiorillo', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?d ) { ( resource:Beilby_Alston ) ( resource:Johann_Wilhelm_Raphael_Fiorillo ) } . ?d property:occupation ?f } . ?f rdf:type ontology:occupation }
[]
occupation
Q193391 Q182436 Q16267607
SYSTEM
diplomat, librarian, classical philologist
Q193391 Q182436 Q16267607
OR((Q15971049,P106,c(Q12737077)), (Q21544062,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q15971049
relation P106
action find
entity Q21544062
relation P106
type Q12737077
The [ANSWERS] are the job of Beilby Alston or Johann Wilhelm Raphael Fiorillo
{'OR': [['Q15971049', 'P106', {'concept': 'Q12737077'}], ['Q21544062', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?d ) { ( resource:Q15971049 ) ( resource:Q21544062 ) } . ?d property:P106 ?f } . ?f rdf:type ontology:Q12737077 }
diplomat librarian classical philologist
The diplomat, librarian and classical philologist are the job of Beilby Alston or Johann Wilhelm Raphael Fiorillo
diplomat librarian classical philologist
action filter_type
action union
action find
entity Beilby Alston
relation occupation
action find
entity Johann Wilhelm Raphael Fiorillo
relation occupation
type occupation
{'OR': [['Beilby Alston', 'occupation', {'concept': 'occupation'}], ['Johann Wilhelm Raphael Fiorillo', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?d ) { ( resource:Beilby_Alston ) ( resource:Johann_Wilhelm_Raphael_Fiorillo ) } . ?d property:occupation ?f } . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21544062
P108
Q811979
USER
Which architectural structure does Johann Wilhelm Raphael Fiorillo work for?
(Q193391,P108,c(Q811979)) (Q182436,P108,c(Q811979)) (Q16267607,P108,c(Q811979))
action filter_type
action find
entity Q21544062
relation P108
type Q811979
['Q193391', 'P108', {'concept': 'Q811979'}] ['Q182436', 'P108', {'concept': 'Q811979'}] ['Q16267607', 'P108', {'concept': 'Q811979'}]
SELECT DISTINCT ?i WHERE { resource:Q21544062 property:P108 ?i . ?i rdf:type ontology:Q811979 }
Johann Wilhelm Raphael Fiorillo
action filter_type
action find
entity Johann Wilhelm Raphael Fiorillo
relation employer
type architectural structure
['diplomat', 'employer', {'concept': 'architectural structure'}] ['librarian', 'employer', {'concept': 'architectural structure'}] ['classical philologist', 'employer', {'concept': 'architectural structure'}]
SELECT DISTINCT ?i WHERE { resource:Johann_Wilhelm_Raphael_Fiorillo property:employer ?i . ?i rdf:type ontology:architectural_structure }
[]
architectural structure
Q152838
SYSTEM
University of Göttingen
Q152838
(Q193391,P108,c(Q811979)) (Q182436,P108,c(Q811979)) (Q16267607,P108,c(Q811979))
action filter_type
action find
entity Q21544062
relation P108
type Q811979
Johann Wilhelm Raphael Fiorillo works the [ANSWER]
['Q193391', 'P108', {'concept': 'Q811979'}] ['Q182436', 'P108', {'concept': 'Q811979'}] ['Q16267607', 'P108', {'concept': 'Q811979'}]
SELECT DISTINCT ?i WHERE { resource:Q21544062 property:P108 ?i . ?i rdf:type ontology:Q811979 }
University of Göttingen
Johann Wilhelm Raphael Fiorillo works the University of Göttingen
University of Göttingen
action filter_type
action find
entity Johann Wilhelm Raphael Fiorillo
relation employer
type architectural structure
['diplomat', 'employer', {'concept': 'architectural structure'}] ['librarian', 'employer', {'concept': 'architectural structure'}] ['classical philologist', 'employer', {'concept': 'architectural structure'}]
SELECT DISTINCT ?i WHERE { resource:Johann_Wilhelm_Raphael_Fiorillo property:employer ?i . ?i rdf:type ontology:architectural_structure }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q152838 Q16250901
P108
Q502895
USER
Does Frankie Fullen work for that architectural structure ?
(Q16250901,P108,Q152838)
action is_in
entity Q16250901
action find
entity Q152838
relation P108
['Q16250901', 'P108', 'Q152838']
ASK WHERE { resource:Q152838 property:P108 resource:Q16250901 }
University of Göttingen Frankie Fullen
action is_in
entity Frankie Fullen
action find
entity University of Göttingen
relation employer
['Frankie Fullen', 'employer', 'University of Göttingen']
ASK WHERE { resource:University_of_Göttingen property:employer resource:Frankie_Fullen }
[]
common name
SYSTEM
NO
(Q16250901,P108,Q152838)
action is_in
entity Q16250901
action find
entity Q152838
relation P108
[ANSWER]
['Q16250901', 'P108', 'Q152838']
ASK WHERE { resource:Q152838 property:P108 resource:Q16250901 }
No
action is_in
entity Frankie Fullen
action find
entity University of Göttingen
relation employer
['Frankie Fullen', 'employer', 'University of Göttingen']
ASK WHERE { resource:University_of_Göttingen property:employer resource:Frankie_Fullen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12177415 Q327731
P17
Q15617994
USER
Is Knight Commander of the Order of St Michael and St George situated in Vermiglio ?
(Q12177415,P17,Q327731)
action is_in
entity Q327731
action find
entity Q12177415
relation P17
['Q12177415', 'P17', 'Q327731']
ASK WHERE { resource:Q12177415 property:P17 resource:Q327731 }
Knight Commander of the Order of St Michael and St George Vermiglio
action is_in
entity Vermiglio
action find
entity Knight Commander of the Order of St Michael and St George
relation country
['Knight Commander of the Order of St Michael and St George', 'country', 'Vermiglio']
ASK WHERE { resource:Knight_Commander_of_the_Order_of_St_Michael_and_St_George property:country resource:Vermiglio }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q12177415,P17,Q327731)
action is_in
entity Q327731
action find
entity Q12177415
relation P17
[ANSWER]
['Q12177415', 'P17', 'Q327731']
ASK WHERE { resource:Q12177415 property:P17 resource:Q327731 }
No
action is_in
entity Vermiglio
action find
entity Knight Commander of the Order of St Michael and St George
relation country
['Knight Commander of the Order of St Michael and St George', 'country', 'Vermiglio']
ASK WHERE { resource:Knight_Commander_of_the_Order_of_St_Michael_and_St_George property:country resource:Vermiglio }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q152838 Q4439736
P17
Q1048835
USER
Does University of Göttingen belong to Stara Mykolaivka ?
(Q152838,P17,Q4439736)
action is_in
entity Q4439736
action find
entity Q152838
relation P17
['Q152838', 'P17', 'Q4439736']
ASK WHERE { resource:Q152838 property:P17 resource:Q4439736 }
University of Göttingen Stara Mykolaivka
action is_in
entity Stara Mykolaivka
action find
entity University of Göttingen
relation country
['University of Göttingen', 'country', 'Stara Mykolaivka']
ASK WHERE { resource:University_of_Göttingen property:country resource:Stara_Mykolaivka }
[]
political territorial entity
SYSTEM
NO
(Q152838,P17,Q4439736)
action is_in
entity Q4439736
action find
entity Q152838
relation P17
[ANSWER]
['Q152838', 'P17', 'Q4439736']
ASK WHERE { resource:Q152838 property:P17 resource:Q4439736 }
No
action is_in
entity Stara Mykolaivka
action find
entity University of Göttingen
relation country
['University of Göttingen', 'country', 'Stara Mykolaivka']
ASK WHERE { resource:University_of_Göttingen property:country resource:Stara_Mykolaivka }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q874405 Q811979
USER
How many social groups can manage around 4 architectural structures ?
(c(Q811979),P137,c(Q874405))
action count
action approx
action find_reverse_tuple_counts
relation P137
type Q874405
type Q811979
value 4
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:P137 ?v . ?v rdf:type ontology:Q874405 . ?c rdf:type ontology:Q811979 } GROUP BY ?v } . FILTER ( ?i = 4 ) }
action count
action approx
action find_reverse_tuple_counts
relation operator
type social group
type architectural structure
value 4
[{'concept': 'architectural structure'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:operator ?v . ?v rdf:type ontology:social_group . ?c rdf:type ontology:architectural_structure } GROUP BY ?v } . FILTER ( ?i = 4 ) }
[]
social group architectural structure
SYSTEM
2
Q2353346 Q7185255
(c(Q811979),P137,c(Q874405))
action count
action approx
action find_reverse_tuple_counts
relation P137
type Q874405
type Q811979
value 4
[ANSWER]
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:P137 ?v . ?v rdf:type ontology:Q874405 . ?c rdf:type ontology:Q811979 } GROUP BY ?v } . FILTER ( ?i = 4 ) }
Leisure and Cultural Services Department Philippine Sports Commission
2
action count
action approx
action find_reverse_tuple_counts
relation operator
type social group
type architectural structure
value 4
[{'concept': 'architectural structure'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:operator ?v . ?v rdf:type ontology:social_group . ?c rdf:type ontology:architectural_structure } GROUP BY ?v } . FILTER ( ?i = 4 ) }
[]