Simple Question (Direct)
Simple Question
Q14946691
P166
Q2003221
USER
What was received by Loyd Grossman ?
(Q14946691,P166,c(Q2003221))
action filter_type
action find
entity Q14946691
relation P166
type Q2003221
['Q14946691', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?d WHERE { resource:Q14946691 property:P166 ?d . ?d rdf:type ontology:Q2003221 }
Loyd Grossman
action filter_type
action find
entity Loyd Grossman
relation award received
type chivalric order
['Loyd Grossman', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?d WHERE { resource:Loyd_Grossman property:award_received ?d . ?d rdf:type ontology:chivalric_order }
[]
chivalric order
Q10762848
SYSTEM
Officer of the Order of the British Empire
Q10762848
(Q14946691,P166,c(Q2003221))
action filter_type
action find
entity Q14946691
relation P166
type Q2003221
The [ANSWER] was received by Loyd Grossman
['Q14946691', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?d WHERE { resource:Q14946691 property:P166 ?d . ?d rdf:type ontology:Q2003221 }
Officer of the Order of the British Empire
The Officer of the Order of the British Empire was received by Loyd Grossman
Officer of the Order of the British Empire
action filter_type
action find
entity Loyd Grossman
relation award received
type chivalric order
['Loyd Grossman', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?d WHERE { resource:Loyd_Grossman property:award_received ?d . ?d rdf:type ontology:chivalric_order }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q10762848 Q12192560
P166
Q502895
USER
How many people were awarded with Officer of the Order of the British Empire and Dame Commander of the Royal Victorian Order ?
(c(Q502895),P166,Q10762848) (c(Q502895),P166,Q12192560)
action count
action intersection
action filter_type
action find_reverse
entity Q10762848
relation P166
type Q502895
action filter_type
action find_reverse
entity Q12192560
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q10762848'] [{'concept': 'Q502895'}, 'P166', 'Q12192560']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h rdf:type ontology:Q502895 . ?h property:P166 resource:Q10762848 . ?h property:P166 resource:Q12192560 . ?h rdf:type ontology:Q502895 }
Officer of the Order of the British Empire Dame Commander of the Royal Victorian Order
action count
action intersection
action filter_type
action find_reverse
entity Officer of the Order of the British Empire
relation award received
type common name
action filter_type
action find_reverse
entity Dame Commander of the Royal Victorian Order
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Officer of the Order of the British Empire'] [{'concept': 'common name'}, 'award received', 'Dame Commander of the Royal Victorian Order']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h rdf:type ontology:common_name . ?h property:award_received resource:Officer_of_the_Order_of_the_British_Empire . ?h property:award_received resource:Dame_Commander_of_the_Royal_Victorian_Order . ?h rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q2635201 Q1791689
(c(Q502895),P166,Q10762848) (c(Q502895),P166,Q12192560)
action count
action intersection
action filter_type
action find_reverse
entity Q10762848
relation P166
type Q502895
action filter_type
action find_reverse
entity Q12192560
relation P166
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P166', 'Q10762848'] [{'concept': 'Q502895'}, 'P166', 'Q12192560']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h rdf:type ontology:Q502895 . ?h property:P166 resource:Q10762848 . ?h property:P166 resource:Q12192560 . ?h rdf:type ontology:Q502895 }
Cynthia Spencer, Countess Spencer Ruth Roche, Baroness Fermoy
2
action count
action intersection
action filter_type
action find_reverse
entity Officer of the Order of the British Empire
relation award received
type common name
action filter_type
action find_reverse
entity Dame Commander of the Royal Victorian Order
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Officer of the Order of the British Empire'] [{'concept': 'common name'}, 'award received', 'Dame Commander of the Royal Victorian Order']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h rdf:type ontology:common_name . ?h property:award_received resource:Officer_of_the_Order_of_the_British_Empire . ?h property:award_received resource:Dame_Commander_of_the_Royal_Victorian_Order . ?h rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7327955 Q14946691
P463
Q48204
USER
Which voluntary associations were Loyd Grossman or Richard Murphy a member of ?
OR((Q14946691,P463,c(Q48204)), (Q7327955,P463,c(Q48204)))
action filter_type
action union
action find
entity Q14946691
relation P463
action find
entity Q7327955
relation P463
type Q48204
{'OR': [['Q14946691', 'P463', {'concept': 'Q48204'}], ['Q7327955', 'P463', {'concept': 'Q48204'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q14946691 property:P463 ?l } UNION { resource:Q7327955 property:P463 ?l } } . ?l rdf:type ontology:Q48204 }
Richard Murphy Loyd Grossman
action filter_type
action union
action find
entity Loyd Grossman
relation member of
action find
entity Richard Murphy
relation member of
type voluntary association
{'OR': [['Loyd Grossman', 'member of', {'concept': 'voluntary association'}], ['Richard Murphy', 'member of', {'concept': 'voluntary association'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Loyd_Grossman property:member_of ?l } UNION { resource:Richard_Murphy property:member_of ?l } } . ?l rdf:type ontology:voluntary_association }
[]
voluntary association
Q1468277 Q5417893
SYSTEM
Royal Society of Literature, Society of Antiquaries of London
Q1468277 Q5417893
OR((Q14946691,P463,c(Q48204)), (Q7327955,P463,c(Q48204)))
action filter_type
action union
action find
entity Q14946691
relation P463
action find
entity Q7327955
relation P463
type Q48204
The [ANSWERS] were Loyd Grossman or Richard Murphy a member of
{'OR': [['Q14946691', 'P463', {'concept': 'Q48204'}], ['Q7327955', 'P463', {'concept': 'Q48204'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q14946691 property:P463 ?l } UNION { resource:Q7327955 property:P463 ?l } } . ?l rdf:type ontology:Q48204 }
Royal Society of Literature Society of Antiquaries of London
The Royal Society of Literature and Society of Antiquaries of London were Loyd Grossman or Richard Murphy a member of
Royal Society of Literature Society of Antiquaries of London
action filter_type
action union
action find
entity Loyd Grossman
relation member of
action find
entity Richard Murphy
relation member of
type voluntary association
{'OR': [['Loyd Grossman', 'member of', {'concept': 'voluntary association'}], ['Richard Murphy', 'member of', {'concept': 'voluntary association'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Loyd_Grossman property:member_of ?l } UNION { resource:Richard_Murphy property:member_of ?l } } . ?l rdf:type ontology:voluntary_association }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5417893
P1027
Q24016972
USER
Which type of distinction is bestowed by Society of Antiquaries of London ?
(c(Q24016972),P1027,Q5417893)
action filter_type
action find_reverse
entity Q5417893
relation P1027
type Q24016972
[{'concept': 'Q24016972'}, 'P1027', 'Q5417893']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q24016972 . ?d property:P1027 resource:Q5417893 }
Society of Antiquaries of London
action filter_type
action find_reverse
entity Society of Antiquaries of London
relation conferred by
type type of distinction
[{'concept': 'type of distinction'}, 'conferred by', 'Society of Antiquaries of London']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_distinction . ?d property:conferred_by resource:Society_of_Antiquaries_of_London }
[]
type of distinction
Q26196499
SYSTEM
Fellow of the Society of Antiquarians
Q26196499
(c(Q24016972),P1027,Q5417893)
action filter_type
action find_reverse
entity Q5417893
relation P1027
type Q24016972
The [ANSWER] is bestowed by Society of Antiquaries of London
[{'concept': 'Q24016972'}, 'P1027', 'Q5417893']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q24016972 . ?d property:P1027 resource:Q5417893 }
Fellow of the Society of Antiquarians
The Fellow of the Society of Antiquarians is bestowed by Society of Antiquaries of London
Fellow of the Society of Antiquarians
action filter_type
action find_reverse
entity Society of Antiquaries of London
relation conferred by
type type of distinction
[{'concept': 'type of distinction'}, 'conferred by', 'Society of Antiquaries of London']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_distinction . ?d property:conferred_by resource:Society_of_Antiquaries_of_London }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5417893
P159
Q56061
USER
Which administrative territory is the HQ of that voluntary association ?
(Q26196499,P159,c(Q56061))
action filter_type
action find
entity Q5417893
relation P159
type Q56061
['Q26196499', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q5417893 property:P159 ?e . ?e rdf:type ontology:Q56061 }
Society of Antiquaries of London
action filter_type
action find
entity Society of Antiquaries of London
relation headquarters location
type administrative territorial entity
['Fellow of the Society of Antiquarians', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Society_of_Antiquaries_of_London property:headquarters_location ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q26196499,P159,c(Q56061))
action filter_type
action find
entity Q5417893
relation P159
type Q56061
[ANSWER] is the HQ of that voluntary association
['Q26196499', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q5417893 property:P159 ?e . ?e rdf:type ontology:Q56061 }
London
London is the HQ of that voluntary association
London
action filter_type
action find
entity Society of Antiquaries of London
relation headquarters location
type administrative territorial entity
['Fellow of the Society of Antiquarians', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Society_of_Antiquaries_of_London property:headquarters_location ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q84
P276
Q131569
USER
What are located at that administrative territory ?
(c(Q131569),P276,Q84)
action filter_type
action find_reverse
entity Q84
relation P276
type Q131569
[{'concept': 'Q131569'}, 'P276', 'Q84']
SELECT DISTINCT ?i WHERE { ?i property:P276 resource:Q84 . ?i rdf:type ontology:Q131569 }
London
action filter_type
action find_reverse
entity London
relation location
type treaty
[{'concept': 'treaty'}, 'location', 'London']
SELECT DISTINCT ?i WHERE { ?i property:location resource:London . ?i rdf:type ontology:treaty }
[]
treaty
Q2014021 Q541191 Q584617
SYSTEM
Treaty of London, Anglo-Irish Treaty, Treaty of London
Q2014021 Q541191 Q584617
(c(Q131569),P276,Q84)
action filter_type
action find_reverse
entity Q84
relation P276
type Q131569
[ANSWERS] are located at that administrative territory
[{'concept': 'Q131569'}, 'P276', 'Q84']
SELECT DISTINCT ?i WHERE { ?i property:P276 resource:Q84 . ?i rdf:type ontology:Q131569 }
Treaty of London Anglo-Irish Treaty Treaty of London
Treaty of London, Anglo-Irish Treaty and Treaty of London are located at that administrative territory
Treaty of London Anglo-Irish Treaty Treaty of London
action filter_type
action find_reverse
entity London
relation location
type treaty
[{'concept': 'treaty'}, 'location', 'London']
SELECT DISTINCT ?i WHERE { ?i property:location resource:London . ?i rdf:type ontology:treaty }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P276
Q56061
USER
How many administrative territories are the place where that treaty are located ?
(Q584617,P276,c(Q56061))
['Q584617', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q224304 property:Q17334923 ?z . ?z rdf:type ontology:Q56061 }
['Treaty of London', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Treaty_of_London property:location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q584617
SYSTEM
Did you mean Treaty of London ?
(Q2014021,P276,c(Q56061)) (Q541191,P276,c(Q56061)) (Q584617,P276,c(Q56061))
[ANSWER]
['Q2014021', 'P276', {'concept': 'Q56061'}] ['Q541191', 'P276', {'concept': 'Q56061'}] ['Q584617', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q224304 property:Q17334923 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Treaty of London ?
Treaty of London
['Treaty of London', 'location', {'concept': 'administrative territorial entity'}] ['Anglo-Irish Treaty', 'location', {'concept': 'administrative territorial entity'}] ['Treaty of London', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Treaty_of_London property:location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q584617,P276,c(Q56061))
['Q584617', 'P276', {'concept': 'Q56061'}]
['Treaty of London', 'location', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
1
Q84
(Q584617,P276,c(Q56061))
[ANSWER]
['Q584617', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q224304 property:Q17334923 ?z . ?z rdf:type ontology:Q56061 }
London
1
['Treaty of London', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Treaty_of_London property:location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]