Simple Question (Direct)
Simple Question
Q443908
P166
Q2003221
USER
What was awarded to E. K. Chambers ?
(Q443908,P166,c(Q2003221))
action filter_type
action find
entity Q443908
relation P166
type Q2003221
['Q443908', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?p WHERE { resource:Q443908 property:P166 ?p . ?p rdf:type ontology:Q2003221 }
E. K. Chambers
action filter_type
action find
entity E. K. Chambers
relation award received
type chivalric order
['E. K. Chambers', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?p WHERE { resource:E._K._Chambers property:award_received ?p . ?p rdf:type ontology:chivalric_order }
[]
chivalric order
Q12201445
SYSTEM
Knight Commander of the Order of the British Empire
Q12201445
(Q443908,P166,c(Q2003221))
action filter_type
action find
entity Q443908
relation P166
type Q2003221
The [ANSWER] was awarded to E. K. Chambers
['Q443908', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?p WHERE { resource:Q443908 property:P166 ?p . ?p rdf:type ontology:Q2003221 }
Knight Commander of the Order of the British Empire
The Knight Commander of the Order of the British Empire was awarded to E. K. Chambers
Knight Commander of the Order of the British Empire
action filter_type
action find
entity E. K. Chambers
relation award received
type chivalric order
['E. K. Chambers', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?p WHERE { resource:E._K._Chambers property:award_received ?p . ?p rdf:type ontology:chivalric_order }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12201445
P361
Q618779
USER
Which award is that chivalric order a component of ?
(Q12201445,P361,c(Q618779))
action filter_type
action find
entity Q12201445
relation P361
type Q618779
['Q12201445', 'P361', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q12201445 property:P361 ?j . ?j rdf:type ontology:Q618779 }
Knight Commander of the Order of the British Empire
action filter_type
action find
entity Knight Commander of the Order of the British Empire
relation part of
type award
['Knight Commander of the Order of the British Empire', 'part of', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Knight_Commander_of_the_Order_of_the_British_Empire property:part_of ?j . ?j rdf:type ontology:award }
[]
award
Q14420
SYSTEM
Order of the British Empire
Q14420
(Q12201445,P361,c(Q618779))
action filter_type
action find
entity Q12201445
relation P361
type Q618779
Which award is that chivalric order a component of
['Q12201445', 'P361', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q12201445 property:P361 ?j . ?j rdf:type ontology:Q618779 }
Order of the British Empire
Which award is that chivalric order a component of
Order of the British Empire
action filter_type
action find
entity Knight Commander of the Order of the British Empire
relation part of
type award
['Knight Commander of the Order of the British Empire', 'part of', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Knight_Commander_of_the_Order_of_the_British_Empire property:part_of ?j . ?j rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q14420 Q17101614
P166
Q502895
USER
Was Sylvi Inez Liljegren awarded with that award ?
(Q17101614,P166,Q14420)
action is_in
entity Q17101614
action find
entity Q14420
relation P166
['Q17101614', 'P166', 'Q14420']
ASK WHERE { resource:Q14420 property:P166 resource:Q17101614 }
Order of the British Empire Sylvi Inez Liljegren
action is_in
entity Sylvi Inez Liljegren
action find
entity Order of the British Empire
relation award received
['Sylvi Inez Liljegren', 'award received', 'Order of the British Empire']
ASK WHERE { resource:Order_of_the_British_Empire property:award_received resource:Sylvi_Inez_Liljegren }
[]
common name
SYSTEM
NO
(Q17101614,P166,Q14420)
action is_in
entity Q17101614
action find
entity Q14420
relation P166
[ANSWER]
['Q17101614', 'P166', 'Q14420']
ASK WHERE { resource:Q14420 property:P166 resource:Q17101614 }
No
action is_in
entity Sylvi Inez Liljegren
action find
entity Order of the British Empire
relation award received
['Sylvi Inez Liljegren', 'award received', 'Order of the British Empire']
ASK WHERE { resource:Order_of_the_British_Empire property:award_received resource:Sylvi_Inez_Liljegren }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14420
P112
Q502895
USER
Who founded Order of the British Empire ?
(Q14420,P112,c(Q502895))
action filter_type
action find
entity Q14420
relation P112
type Q502895
['Q14420', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q14420 property:P112 ?m . ?m rdf:type ontology:Q502895 }
Order of the British Empire
action filter_type
action find
entity Order of the British Empire
relation founder
type common name
['Order of the British Empire', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Order_of_the_British_Empire property:founder ?m . ?m rdf:type ontology:common_name }
[]
common name
Q269412
SYSTEM
George V
Q269412
(Q14420,P112,c(Q502895))
action filter_type
action find
entity Q14420
relation P112
type Q502895
[ANSWER] founded Order of the British Empire
['Q14420', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q14420 property:P112 ?m . ?m rdf:type ontology:Q502895 }
George V
George V founded Order of the British Empire
George V
action filter_type
action find
entity Order of the British Empire
relation founder
type common name
['Order of the British Empire', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Order_of_the_British_Empire property:founder ?m . ?m rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q15709545 Q269412
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof George V or are Cromwell Tower a part of ?
OR((Q269412,P27,c(Q15617994)), (Q15709545,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q269412
relation P27
action find
entity Q15709545
relation P17
type Q15617994
{'OR': [['Q269412', 'P27', {'concept': 'Q15617994'}], ['Q15709545', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q269412 property:P27 ?t } UNION { resource:Q15709545 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
Cromwell Tower George V
action filter_type
action union
action find
entity George V
relation country of citizenship
action find
entity Cromwell Tower
relation country
type designation for an administrative territorial entity
{'OR': [['George V', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Cromwell Tower', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:George_V property:country_of_citizenship ?t } UNION { resource:Cromwell_Tower property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
OR((Q269412,P27,c(Q15617994)), (Q15709545,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q269412
relation P27
action find
entity Q15709545
relation P17
type Q15617994
[ANSWER] is the native countriesof George V or is Cromwell Tower a part of
{'OR': [['Q269412', 'P27', {'concept': 'Q15617994'}], ['Q15709545', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q269412 property:P27 ?t } UNION { resource:Q15709545 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the native countriesof George V or is Cromwell Tower a part of
United Kingdom
action filter_type
action union
action find
entity George V
relation country of citizenship
action find
entity Cromwell Tower
relation country
type designation for an administrative territorial entity
{'OR': [['George V', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Cromwell Tower', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:George_V property:country_of_citizenship ?t } UNION { resource:Cromwell_Tower property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q145 Q6555285 Q37
P530
Q15617994
USER
Does that administrative territory have tactful political relations with Liodora and Lithuania ?
(Q145,P530,Q6555285) (Q145,P530,Q37)
action is_in
entity Q145
action intersection
action find_reverse
entity Q6555285
relation P530
action find_reverse
entity Q37
relation P530
['Q145', 'P530', 'Q6555285'] ['Q145', 'P530', 'Q37']
ASK WHERE { resource:Q145 property:P530 resource:Q6555285 . resource:Q145 property:P530 resource:Q37 }
United Kingdom Liodora Lithuania
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Liodora
relation diplomatic relation
action find_reverse
entity Lithuania
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Liodora'] ['United Kingdom', 'diplomatic relation', 'Lithuania']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Liodora . resource:United_Kingdom property:diplomatic_relation resource:Lithuania }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q145,P530,Q6555285) (Q145,P530,Q37)
action is_in
entity Q145
action intersection
action find_reverse
entity Q6555285
relation P530
action find_reverse
entity Q37
relation P530
[ANSWER]
['Q145', 'P530', 'Q6555285'] ['Q145', 'P530', 'Q37']
ASK WHERE { resource:Q145 property:P530 resource:Q6555285 . resource:Q145 property:P530 resource:Q37 }
NO and YES respectively
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Liodora
relation diplomatic relation
action find_reverse
entity Lithuania
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Liodora'] ['United Kingdom', 'diplomatic relation', 'Lithuania']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Liodora . resource:United_Kingdom property:diplomatic_relation resource:Lithuania }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q105378 Q1056866
P22
Q502895
USER
How many people have Henry the Lion or Tsurube Shofukutei as a parent ?
(c(Q502895),P22,Q105378) (c(Q502895),P22,Q1056866)
action count
action union
action filter_type
action find_reverse
entity Q105378
relation P22
type Q502895
action filter_type
action find_reverse
entity Q1056866
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q105378'] [{'concept': 'Q502895'}, 'P22', 'Q1056866']
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { ?i property:P22 resource:Q105378 . ?i rdf:type ontology:Q502895 } UNION { ?i property:P22 resource:Q1056866 . ?i rdf:type ontology:Q502895 } }
Henry the Lion Tsurube Shofukutei
action count
action union
action filter_type
action find_reverse
entity Henry the Lion
relation father
type common name
action filter_type
action find_reverse
entity Tsurube Shofukutei
relation father
type common name
[{'concept': 'common name'}, 'father', 'Henry the Lion'] [{'concept': 'common name'}, 'father', 'Tsurube Shofukutei']
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { ?i property:father resource:Henry_the_Lion . ?i rdf:type ontology:common_name } UNION { ?i property:father resource:Tsurube_Shofukutei . ?i rdf:type ontology:common_name } }
[]
common name
SYSTEM
5
Q63301 Q11668492 Q151457 Q258776 Q68259
(c(Q502895),P22,Q105378) (c(Q502895),P22,Q1056866)
action count
action union
action filter_type
action find_reverse
entity Q105378
relation P22
type Q502895
action filter_type
action find_reverse
entity Q1056866
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q105378'] [{'concept': 'Q502895'}, 'P22', 'Q1056866']
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { ?i property:P22 resource:Q105378 . ?i rdf:type ontology:Q502895 } UNION { ?i property:P22 resource:Q1056866 . ?i rdf:type ontology:Q502895 } }
William of Winchester, Lord of Lüneburg Tarō Suruga Otto IV, Holy Roman Emperor Gertrude of Bavaria Henry V, Count Palatine of the Rhine
5
action count
action union
action filter_type
action find_reverse
entity Henry the Lion
relation father
type common name
action filter_type
action find_reverse
entity Tsurube Shofukutei
relation father
type common name
[{'concept': 'common name'}, 'father', 'Henry the Lion'] [{'concept': 'common name'}, 'father', 'Tsurube Shofukutei']
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { ?i property:father resource:Henry_the_Lion . ?i rdf:type ontology:common_name } UNION { ?i property:father resource:Tsurube_Shofukutei . ?i rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q443908
P69
Q1244442
USER
What is the school building where E. K. Chambers was educated ?
(Q443908,P69,c(Q1244442))
action filter_type
action find
entity Q443908
relation P69
type Q1244442
['Q443908', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1244442 . resource:Q443908 property:P69 ?o }
E. K. Chambers
action filter_type
action find
entity E. K. Chambers
relation educated at
type school building
['E. K. Chambers', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:school_building . resource:E._K._Chambers property:educated_at ?o }
[]
school building
Q1135137
SYSTEM
Corpus Christi College
Q1135137
(Q443908,P69,c(Q1244442))
action filter_type
action find
entity Q443908
relation P69
type Q1244442
The school building E. K is in [ANSWER] .
['Q443908', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1244442 . resource:Q443908 property:P69 ?o }
Corpus Christi College
The school building E. K is in Corpus Christi College .
Corpus Christi College
action filter_type
action find
entity E. K. Chambers
relation educated at
type school building
['E. K. Chambers', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:school_building . resource:E._K._Chambers property:educated_at ?o }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7345847
Q1244442
USER
And also tell me about Robert J. C. Young?
(Q7345847,P69,c(Q1244442))
action filter_type
action find
entity Q7345847
relation P69
type Q1244442
['Q7345847', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?s WHERE { resource:Q7345847 property:P69 ?s . ?s rdf:type ontology:Q1244442 }
Robert J. C. Young
action filter_type
action find
entity Robert J. C. Young
relation educated at
type school building
['Robert J. C. Young', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?s WHERE { resource:Robert_J._C._Young property:educated_at ?s . ?s rdf:type ontology:school_building }
[]
school building
Q81173
SYSTEM
Exeter College
Q81173
(Q7345847,P69,c(Q1244442))
action filter_type
action find
entity Q7345847
relation P69
type Q1244442
[ANSWER]
['Q7345847', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?s WHERE { resource:Q7345847 property:P69 ?s . ?s rdf:type ontology:Q1244442 }
Exeter College
Exeter College
action filter_type
action find
entity Robert J. C. Young
relation educated at
type school building
['Robert J. C. Young', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?s WHERE { resource:Robert_J._C._Young property:educated_at ?s . ?s rdf:type ontology:school_building }
[]