Simple Question (Direct)
Simple Question
Q11004274
P166
Q2003221
USER
What were awarded to Robert Bardsley ?
(Q11004274,P166,c(Q2003221))
action filter_type
action find
entity Q11004274
relation P166
type Q2003221
['Q11004274', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?i WHERE { resource:Q11004274 property:P166 ?i . ?i rdf:type ontology:Q2003221 }
Robert Bardsley
action filter_type
action find
entity Robert Bardsley
relation award received
type chivalric order
['Robert Bardsley', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?i WHERE { resource:Robert_Bardsley property:award_received ?i . ?i rdf:type ontology:chivalric_order }
[]
chivalric order
Q12177413 Q10762848
SYSTEM
Companion of the Order of St Michael and St George, Officer of the Order of the British Empire
Q12177413 Q10762848
(Q11004274,P166,c(Q2003221))
action filter_type
action find
entity Q11004274
relation P166
type Q2003221
Two [ANSWERS] were awarded to Robert Bardsley
['Q11004274', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?i WHERE { resource:Q11004274 property:P166 ?i . ?i rdf:type ontology:Q2003221 }
Companion of the Order of St Michael and St George Officer of the Order of the British Empire
Two Companion of the Order of St Michael and St George and Officer of the Order of the British Empire were awarded to Robert Bardsley
Companion of the Order of St Michael and St George Officer of the Order of the British Empire
action filter_type
action find
entity Robert Bardsley
relation award received
type chivalric order
['Robert Bardsley', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?i WHERE { resource:Robert_Bardsley property:award_received ?i . ?i rdf:type ontology:chivalric_order }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11004274
P21
Q290
USER
Which sex does that person have ?
(Q12177413,P21,c(Q290)) (Q10762848,P21,c(Q290))
action filter_type
action find
entity Q11004274
relation P21
type Q290
['Q12177413', 'P21', {'concept': 'Q290'}] ['Q10762848', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q11004274 property:P21 ?h . ?h rdf:type ontology:Q290 }
Robert Bardsley
action filter_type
action find
entity Robert Bardsley
relation gender
type sex
['Companion of the Order of St Michael and St George', 'gender', {'concept': 'sex'}] ['Officer of the Order of the British Empire', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Robert_Bardsley property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q12177413,P21,c(Q290)) (Q10762848,P21,c(Q290))
action filter_type
action find
entity Q11004274
relation P21
type Q290
That person has a [ANSWER]
['Q12177413', 'P21', {'concept': 'Q290'}] ['Q10762848', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q11004274 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Robert Bardsley
relation gender
type sex
['Companion of the Order of St Michael and St George', 'gender', {'concept': 'sex'}] ['Officer of the Order of the British Empire', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Robert_Bardsley property:gender ?h . ?h rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5664467 Q11004274
P27
Q15617994
USER
Which administrative territories are Robert Bardsley or Aldo Neri a civilian of ?
OR((Q11004274,P27,c(Q15617994)), (Q5664467,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11004274
relation P27
action find
entity Q5664467
relation P27
type Q15617994
{'OR': [['Q11004274', 'P27', {'concept': 'Q15617994'}], ['Q5664467', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { ?g property:P27 ?p . VALUES ( ?g ) { ( resource:Q11004274 ) ( resource:Q5664467 ) } } . ?p rdf:type ontology:Q15617994 }
Aldo Neri Robert Bardsley
action filter_type
action union
action find
entity Robert Bardsley
relation country of citizenship
action find
entity Aldo Neri
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Robert Bardsley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Aldo Neri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { ?g property:country_of_citizenship ?p . VALUES ( ?g ) { ( resource:Robert_Bardsley ) ( resource:Aldo_Neri ) } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414 Q145
SYSTEM
Argentina, United Kingdom
Q414 Q145
OR((Q11004274,P27,c(Q15617994)), (Q5664467,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11004274
relation P27
action find
entity Q5664467
relation P27
type Q15617994
[ANSWERS] are Robert Bardsley or Aldo Neri a civilian of
{'OR': [['Q11004274', 'P27', {'concept': 'Q15617994'}], ['Q5664467', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { ?g property:P27 ?p . VALUES ( ?g ) { ( resource:Q11004274 ) ( resource:Q5664467 ) } } . ?p rdf:type ontology:Q15617994 }
Argentina United Kingdom
Argentina and United Kingdom are Robert Bardsley or Aldo Neri a civilian of
Argentina United Kingdom
action filter_type
action union
action find
entity Robert Bardsley
relation country of citizenship
action find
entity Aldo Neri
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Robert Bardsley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Aldo Neri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { ?g property:country_of_citizenship ?p . VALUES ( ?g ) { ( resource:Robert_Bardsley ) ( resource:Aldo_Neri ) } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7560273
P495
Q838948
USER
Did Something to Shout About originate in those administrative territories ?
(Q7560273,P495,Q414) (Q7560273,P495,Q145)
action is_in
entity prev_answer
action find
entity Q7560273
relation P495
['Q7560273', 'P495', 'Q414'] ['Q7560273', 'P495', 'Q145']
ASK WHERE { VALUES ( ?z ) { ( resource:Q414 ) ( resource:Q145 ) } . resource:Q7560273 property:P495 ?z }
Something to Shout About
action is_in
entity prev_answer
action find
entity Something to Shout About
relation country of origin
['Something to Shout About', 'country of origin', 'Argentina'] ['Something to Shout About', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?z ) { ( resource:Argentina ) ( resource:United_Kingdom ) } . resource:Something_to_Shout_About property:country_of_origin ?z }
[]
work of art
SYSTEM
NO
(Q7560273,P495,Q414) (Q7560273,P495,Q145)
action is_in
entity prev_answer
action find
entity Q7560273
relation P495
[ANSWER]
['Q7560273', 'P495', 'Q414'] ['Q7560273', 'P495', 'Q145']
ASK WHERE { VALUES ( ?z ) { ( resource:Q414 ) ( resource:Q145 ) } . resource:Q7560273 property:P495 ?z }
No
action is_in
entity prev_answer
action find
entity Something to Shout About
relation country of origin
['Something to Shout About', 'country of origin', 'Argentina'] ['Something to Shout About', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?z ) { ( resource:Argentina ) ( resource:United_Kingdom ) } . resource:Something_to_Shout_About property:country_of_origin ?z }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q10762848 Q279177
P17
Q15617994
USER
Is Officer of the Order of the British Empire a part of Forlì del Sannio ?
(Q10762848,P17,Q279177)
action is_in
entity Q279177
action find
entity Q10762848
relation P17
['Q10762848', 'P17', 'Q279177']
ASK WHERE { resource:Q10762848 property:P17 resource:Q279177 }
Officer of the Order of the British Empire Forlì del Sannio
action is_in
entity Forlì del Sannio
action find
entity Officer of the Order of the British Empire
relation country
['Officer of the Order of the British Empire', 'country', 'Forlì del Sannio']
ASK WHERE { resource:Officer_of_the_Order_of_the_British_Empire property:country resource:Forlì_del_Sannio }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q10762848,P17,Q279177)
action is_in
entity Q279177
action find
entity Q10762848
relation P17
[ANSWER]
['Q10762848', 'P17', 'Q279177']
ASK WHERE { resource:Q10762848 property:P17 resource:Q279177 }
No
action is_in
entity Forlì del Sannio
action find
entity Officer of the Order of the British Empire
relation country
['Officer of the Order of the British Empire', 'country', 'Forlì del Sannio']
ASK WHERE { resource:Officer_of_the_Order_of_the_British_Empire property:country resource:Forlì_del_Sannio }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q11004274 Q145
P27
Q15617994
USER
Is United Kingdom the native country of that person ?
(Q11004274,P27,Q145)
action is_in
entity Q145
action find
entity Q11004274
relation P27
['Q11004274', 'P27', 'Q145']
ASK WHERE { resource:Q11004274 property:P27 resource:Q145 }
Robert Bardsley United Kingdom
action is_in
entity United Kingdom
action find
entity Robert Bardsley
relation country of citizenship
['Robert Bardsley', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Robert_Bardsley property:country_of_citizenship resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q11004274,P27,Q145)
action is_in
entity Q145
action find
entity Q11004274
relation P27
[ANSWER]
['Q11004274', 'P27', 'Q145']
ASK WHERE { resource:Q11004274 property:P27 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Robert Bardsley
relation country of citizenship
['Robert Bardsley', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Robert_Bardsley property:country_of_citizenship resource:United_Kingdom }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6488101 Q10762848
P17
Q15617994
USER
Which administrative territories are Officer of the Order of the British Empire or Lapanagoi a part of ?
OR((Q10762848,P17,c(Q15617994)), (Q6488101,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q10762848
relation P17
action find
entity Q6488101
relation P17
type Q15617994
{'OR': [['Q10762848', 'P17', {'concept': 'Q15617994'}], ['Q6488101', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . { { resource:Q10762848 property:P17 ?i } UNION { resource:Q6488101 property:P17 ?i } } }
Lapanagoi Officer of the Order of the British Empire
action filter_type
action union
action find
entity Officer of the Order of the British Empire
relation country
action find
entity Lapanagoi
relation country
type designation for an administrative territorial entity
{'OR': [['Officer of the Order of the British Empire', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Lapanagoi', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Officer_of_the_Order_of_the_British_Empire property:country ?i } UNION { resource:Lapanagoi property:country ?i } } }
[]
designation for an administrative territorial entity
Q145 Q41
SYSTEM
United Kingdom, Greece
Q145 Q41
OR((Q10762848,P17,c(Q15617994)), (Q6488101,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q10762848
relation P17
action find
entity Q6488101
relation P17
type Q15617994
[ANSWERS] are Officer of the Order of the British Empire or Lapanagoi a part of
{'OR': [['Q10762848', 'P17', {'concept': 'Q15617994'}], ['Q6488101', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . { { resource:Q10762848 property:P17 ?i } UNION { resource:Q6488101 property:P17 ?i } } }
United Kingdom Greece
United Kingdom and Greece are Officer of the Order of the British Empire or Lapanagoi a part of
United Kingdom Greece
action filter_type
action union
action find
entity Officer of the Order of the British Empire
relation country
action find
entity Lapanagoi
relation country
type designation for an administrative territorial entity
{'OR': [['Officer of the Order of the British Empire', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Lapanagoi', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Officer_of_the_Order_of_the_British_Empire property:country ?i } UNION { resource:Lapanagoi property:country ?i } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with around 75 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 75
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?w ) WHERE { ?i property:P530 ?n . ?i rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?w = 75 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 75
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?w ) WHERE { ?i property:diplomatic_relation ?n . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?w = 75 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q230
SYSTEM
Italy, Georgia
Q38 Q230
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 75
[ANSWERS] are known to have diplomatic connections with around 75 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?w ) WHERE { ?i property:P530 ?n . ?i rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?w = 75 ) }
Italy Georgia
Italy and Georgia are known to have diplomatic connections with around 75 administrative territories
Italy Georgia
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 75
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?w ) WHERE { ?i property:diplomatic_relation ?n . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?w = 75 ) }
[]