Simple Question (Direct)
Simple Question
Q2064273
P20
Q15617994
USER
Where did the demise of Paulus von Stolzmann occur ?
(Q2064273,P20,c(Q15617994))
action filter_type
action find
entity Q2064273
relation P20
type Q15617994
['Q2064273', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q2064273 property:P20 ?h . ?h rdf:type ontology:Q15617994 }
Paulus von Stolzmann
action filter_type
action find
entity Paulus von Stolzmann
relation place of death
type designation for an administrative territorial entity
['Paulus von Stolzmann', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Paulus_von_Stolzmann property:place_of_death ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q516405
SYSTEM
Reinbek
Q516405
(Q2064273,P20,c(Q15617994))
action filter_type
action find
entity Q2064273
relation P20
type Q15617994
The demise of Paulus von Stolzmann occurred in [ANSWER]
['Q2064273', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q2064273 property:P20 ?h . ?h rdf:type ontology:Q15617994 }
Reinbek
The demise of Paulus von Stolzmann occurred in Reinbek
Reinbek
action filter_type
action find
entity Paulus von Stolzmann
relation place of death
type designation for an administrative territorial entity
['Paulus von Stolzmann', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Paulus_von_Stolzmann property:place_of_death ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q516405
P190
Q914262
USER
Which administrative territory of Sweden is partner town of that administrative territory ?
(c(Q914262),P190,Q516405)
action filter_type
action find
entity Q516405
relation P190
type Q914262
[{'concept': 'Q914262'}, 'P190', 'Q516405']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q914262 . resource:Q516405 property:P190 ?r }
Reinbek
action filter_type
action find
entity Reinbek
relation sister city
type administrative territorial entity of Sweden
[{'concept': 'administrative territorial entity of Sweden'}, 'sister city', 'Reinbek']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity_of_Sweden . resource:Reinbek property:sister_city ?r }
[]
administrative territorial entity of Sweden
Q493066
SYSTEM
Täby Municipality
Q493066
(c(Q914262),P190,Q516405)
action filter_type
action find
entity Q516405
relation P190
type Q914262
[ANSWER] is partner town of that administrative territory
[{'concept': 'Q914262'}, 'P190', 'Q516405']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q914262 . resource:Q516405 property:P190 ?r }
Täby Municipality
Täby Municipality is partner town of that administrative territory
Täby Municipality
action filter_type
action find
entity Reinbek
relation sister city
type administrative territorial entity of Sweden
[{'concept': 'administrative territorial entity of Sweden'}, 'sister city', 'Reinbek']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity_of_Sweden . resource:Reinbek property:sister_city ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2064273
P39
Q12737077
USER
Which occupation was a position occupied by Paulus von Stolzmann ?
(Q2064273,P39,c(Q12737077))
action filter_type
action find
entity Q2064273
relation P39
type Q12737077
['Q2064273', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q2064273 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
Paulus von Stolzmann
action filter_type
action find
entity Paulus von Stolzmann
relation position held
type occupation
['Paulus von Stolzmann', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Paulus_von_Stolzmann property:position_held ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q23685797
SYSTEM
Ambassador of Germany to Ethiopia
Q23685797
(Q2064273,P39,c(Q12737077))
action filter_type
action find
entity Q2064273
relation P39
type Q12737077
[ANSWER] was a position occupied by Paulus von Stolzmann
['Q2064273', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q2064273 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
Ambassador of Germany to Ethiopia
Ambassador of Germany to Ethiopia was a position occupied by Paulus von Stolzmann
Ambassador of Germany to Ethiopia
action filter_type
action find
entity Paulus von Stolzmann
relation position held
type occupation
['Paulus von Stolzmann', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Paulus_von_Stolzmann property:position_held ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q769953
Q12737077
USER
And how about Augusts Kirhenšteins?
(Q769953,P39,c(Q12737077))
action filter_type
action find
entity Q769953
relation P39
type Q12737077
['Q769953', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q769953 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Augusts Kirhenšteins
action filter_type
action find
entity Augusts Kirhenšteins
relation position held
type occupation
['Augusts Kirhenšteins', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Augusts_Kirhenšteins property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q21191589 Q369500
SYSTEM
deputy of Saeima, Prime Minister of Latvia
Q21191589 Q369500
(Q769953,P39,c(Q12737077))
action filter_type
action find
entity Q769953
relation P39
type Q12737077
[ANSWERS]
['Q769953', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q769953 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
deputy of Saeima Prime Minister of Latvia
deputy of Saeima Prime Minister of Latvia
action filter_type
action find
entity Augusts Kirhenšteins
relation position held
type occupation
['Augusts Kirhenšteins', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Augusts_Kirhenšteins property:position_held ?b . ?b rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q210715
P39
Q502895
USER
Were Aigars Kalvītis responsible for occupying the position of those occupations ?
(Q210715,P39,Q21191589) (Q210715,P39,Q369500)
action is_in
entity prev_answer
action find
entity Q210715
relation P39
['Q210715', 'P39', 'Q21191589'] ['Q210715', 'P39', 'Q369500']
ASK WHERE { VALUES ( ?w ) { ( resource:Q21191589 ) ( resource:Q369500 ) } . resource:Q210715 property:P39 ?w }
Aigars Kalvītis
action is_in
entity prev_answer
action find
entity Aigars Kalvītis
relation position held
['Aigars Kalvītis', 'position held', 'deputy of Saeima'] ['Aigars Kalvītis', 'position held', 'Prime Minister of Latvia']
ASK WHERE { VALUES ( ?w ) { ( resource:deputy_of_Saeima ) ( resource:Prime_Minister_of_Latvia ) } . resource:Aigars_Kalvītis property:position_held ?w }
[]
common name
SYSTEM
YES
(Q210715,P39,Q21191589) (Q210715,P39,Q369500)
action is_in
entity prev_answer
action find
entity Q210715
relation P39
[ANSWER]
['Q210715', 'P39', 'Q21191589'] ['Q210715', 'P39', 'Q369500']
ASK WHERE { VALUES ( ?w ) { ( resource:Q21191589 ) ( resource:Q369500 ) } . resource:Q210715 property:P39 ?w }
Yes
action is_in
entity prev_answer
action find
entity Aigars Kalvītis
relation position held
['Aigars Kalvītis', 'position held', 'deputy of Saeima'] ['Aigars Kalvītis', 'position held', 'Prime Minister of Latvia']
ASK WHERE { VALUES ( ?w ) { ( resource:deputy_of_Saeima ) ( resource:Prime_Minister_of_Latvia ) } . resource:Aigars_Kalvītis property:position_held ?w }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7345947 Q769953
P166
Q618779
USER
Which awards were won by Augusts Kirhenšteins or Robert J. Natter ?
OR((Q769953,P166,c(Q618779)), (Q7345947,P166,c(Q618779)))
action filter_type
action union
action find
entity Q769953
relation P166
action find
entity Q7345947
relation P166
type Q618779
{'OR': [['Q769953', 'P166', {'concept': 'Q618779'}], ['Q7345947', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q769953 property:P166 ?h } UNION { resource:Q7345947 property:P166 ?h } } . ?h rdf:type ontology:Q618779 }
Robert J. Natter Augusts Kirhenšteins
action filter_type
action union
action find
entity Augusts Kirhenšteins
relation award received
action find
entity Robert J. Natter
relation award received
type award
{'OR': [['Augusts Kirhenšteins', 'award received', {'concept': 'award'}], ['Robert J. Natter', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Augusts_Kirhenšteins property:award_received ?h } UNION { resource:Robert_J._Natter property:award_received ?h } } . ?h rdf:type ontology:award }
[]
award
Q185493 Q18080149 Q208167 Q145752 Q852071 Q724443 Q928314
SYSTEM
Order of Lenin, Order of the Patriotic War 1st class, Hero of Socialist Labour, Purple Heart, Silver Star, Legion of Merit, Bronze Star Medal
Q185493 Q18080149 Q208167 Q145752 Q852071 Q724443 Q928314
OR((Q769953,P166,c(Q618779)), (Q7345947,P166,c(Q618779)))
action filter_type
action union
action find
entity Q769953
relation P166
action find
entity Q7345947
relation P166
type Q618779
The [ANSWERS] were won by Augusts Kirhenšteins or Robert J. Natter
{'OR': [['Q769953', 'P166', {'concept': 'Q618779'}], ['Q7345947', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q769953 property:P166 ?h } UNION { resource:Q7345947 property:P166 ?h } } . ?h rdf:type ontology:Q618779 }
Order of Lenin Order of the Patriotic War 1st class Hero of Socialist Labour Purple Heart Silver Star Legion of Merit Bronze Star Medal
The Order of Lenin, Order of the Patriotic War 1st class, Hero of Socialist Labour, Purple Heart, Silver Star, Legion of Merit and Bronze Star Medal were won by Augusts Kirhenšteins or Robert J. Natter
Order of Lenin Order of the Patriotic War 1st class Hero of Socialist Labour Purple Heart Silver Star Legion of Merit Bronze Star Medal
action filter_type
action union
action find
entity Augusts Kirhenšteins
relation award received
action find
entity Robert J. Natter
relation award received
type award
{'OR': [['Augusts Kirhenšteins', 'award received', {'concept': 'award'}], ['Robert J. Natter', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Augusts_Kirhenšteins property:award_received ?h } UNION { resource:Robert_J._Natter property:award_received ?h } } . ?h rdf:type ontology:award }
[]
Clarification
Simple Question|Single Entity|Indirect
Q852071
P17
Q15617994
USER
Which administrative territory is that award situated in ?
(Q852071,P17,c(Q15617994))
action filter_type
action find
entity Q852071
relation P17
type Q15617994
['Q852071', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q852071 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Silver Star
action filter_type
action find
entity Silver Star
relation country
type designation for an administrative territorial entity
['Silver Star', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Silver_Star property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q852071
SYSTEM
Did you mean Silver Star ?
Q185493 Q18080149 Q208167 Q145752 Q852071 Q724443 Q928314
(Q185493,P17,c(Q15617994)) (Q18080149,P17,c(Q15617994)) (Q208167,P17,c(Q15617994)) (Q145752,P17,c(Q15617994)) (Q852071,P17,c(Q15617994)) (Q724443,P17,c(Q15617994)) (Q928314,P17,c(Q15617994))
[ANSWER]
['Q185493', 'P17', {'concept': 'Q15617994'}] ['Q18080149', 'P17', {'concept': 'Q15617994'}] ['Q208167', 'P17', {'concept': 'Q15617994'}] ['Q145752', 'P17', {'concept': 'Q15617994'}] ['Q852071', 'P17', {'concept': 'Q15617994'}] ['Q724443', 'P17', {'concept': 'Q15617994'}] ['Q928314', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q852071 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Order of Lenin Order of the Patriotic War 1st class Hero of Socialist Labour Purple Heart Silver Star Legion of Merit Bronze Star Medal
Did you mean Silver Star ?
Silver Star
['Order of Lenin', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Order of the Patriotic War 1st class', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Hero of Socialist Labour', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Purple Heart', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Silver Star', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Legion of Merit', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bronze Star Medal', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Silver_Star property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q852071,P17,c(Q15617994))
['Q852071', 'P17', {'concept': 'Q15617994'}]
['Silver Star', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q30
SYSTEM
United States of America
Q30
(Q852071,P17,c(Q15617994))
action filter_type
action find
entity Q852071
relation P17
type Q15617994
That award is situated in [ANSWER]
['Q852071', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q852071 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
United States of America
That award is situated in United States of America
United States of America
action filter_type
action find
entity Silver Star
relation country
type designation for an administrative territorial entity
['Silver Star', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Silver_Star property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4515705 Q30
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with United States of America or are Chyhrynivka a part of ?
OR((Q30,P530,c(Q15617994)), (Q4515705,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q4515705
relation P17
type Q15617994
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q4515705', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q30 property:P530 ?u } UNION { resource:Q4515705 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
Chyhrynivka United States of America
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Chyhrynivka
relation country
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Chyhrynivka', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:United_States_of_America property:diplomatic_relation ?u } UNION { resource:Chyhrynivka property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q347 Q159 Q414 Q801 Q668 Q889 Q222 Q953 Q212 Q155
SYSTEM
Some of them are Liechtenstein, Russia, Argentina, Israel, India, Afghanistan, Albania, Zambia, Ukraine, Brazil
Q212 Q805 Q38 Q159 Q222 Q801 Q155 Q148 Q1011 Q889 Q796 Q17 Q37 Q953 Q668 Q403 Q347 Q414
OR((Q30,P530,c(Q15617994)), (Q4515705,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q4515705
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with United States of America or are Chyhrynivka a part of
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q4515705', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q30 property:P530 ?u } UNION { resource:Q4515705 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
Ukraine Yemen Italy Russia Albania Israel Brazil People's Republic of China Cape Verde Afghanistan Iraq Japan Lithuania Zambia India Serbia Liechtenstein Argentina
Liechtenstein, Russia, Argentina, Israel, India, Afghanistan, Albania, Zambia, Ukraine and Brazil have diplomatic relationships with United States of America or are Chyhrynivka a part of
Liechtenstein Russia Argentina Israel India Afghanistan Albania Zambia Ukraine Brazil
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Chyhrynivka
relation country
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Chyhrynivka', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:United_States_of_America property:diplomatic_relation ?u } UNION { resource:Chyhrynivka property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]