Simple Question (Direct)
Simple Question
Q5202124
P241
Q781132
USER
Which military branch did Czesław Mączyński belong to ?
(Q5202124,P241,c(Q781132))
action filter_type
action find
entity Q5202124
relation P241
type Q781132
['Q5202124', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q781132 . resource:Q5202124 property:P241 ?c }
Czesław Mączyński
action filter_type
action find
entity Czesław Mączyński
relation military branch
type military branch
['Czesław Mączyński', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:military_branch . resource:Czesław_Mączyński property:military_branch ?c }
[]
military branch
Q9160871
SYSTEM
Artillery of Second Polish Republic
Q9160871
(Q5202124,P241,c(Q781132))
action filter_type
action find
entity Q5202124
relation P241
type Q781132
Czesław Mączyński belonged to [ANSWER]
['Q5202124', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q781132 . resource:Q5202124 property:P241 ?c }
Artillery of Second Polish Republic
Czesław Mączyński belonged to Artillery of Second Polish Republic
Artillery of Second Polish Republic
action filter_type
action find
entity Czesław Mączyński
relation military branch
type military branch
['Czesław Mączyński', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:military_branch . resource:Czesław_Mączyński property:military_branch ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5202124
P607
Q198
USER
What battle was Czesław Mączyński a part of ?
(Q5202124,P607,c(Q198))
action filter_type
action find
entity Q5202124
relation P607
type Q198
['Q5202124', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q198 . resource:Q5202124 property:P607 ?z }
Czesław Mączyński
action filter_type
action find
entity Czesław Mączyński
relation conflict
type war
['Czesław Mączyński', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:war . resource:Czesław_Mączyński property:conflict ?z }
[]
war
Q361
SYSTEM
World War I
Q361
(Q5202124,P607,c(Q198))
action filter_type
action find
entity Q5202124
relation P607
type Q198
[ANSWER] was Czesław Mączyński a part of
['Q5202124', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q198 . resource:Q5202124 property:P607 ?z }
World War I
World War I was Czesław Mączyński a part of
World War I
action filter_type
action find
entity Czesław Mączyński
relation conflict
type war
['Czesław Mączyński', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:war . resource:Czesław_Mączyński property:conflict ?z }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q633526 Q5202124
P607
Q198
USER
Or Canon de 194 mle GPF?
OR((Q5202124,P607,c(Q198)), (Q633526,P607,c(Q198)))
action filter_type
action union
action find
entity Q5202124
relation P607
action find
entity Q633526
relation P607
type Q198
{'OR': [['Q5202124', 'P607', {'concept': 'Q198'}], ['Q633526', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q5202124 property:P607 ?f } UNION { resource:Q633526 property:P607 ?f } } . ?f rdf:type ontology:Q198 }
Canon de 194 mle GPF Czesław Mączyński
action filter_type
action union
action find
entity Czesław Mączyński
relation conflict
action find
entity Canon de 194 mle GPF
relation conflict
type war
{'OR': [['Czesław Mączyński', 'conflict', {'concept': 'war'}], ['Canon de 194 mle GPF', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Czesław_Mączyński property:conflict ?f } UNION { resource:Canon_de_194_mle_GPF property:conflict ?f } } . ?f rdf:type ontology:war }
[]
war
Q362 Q361
SYSTEM
World War II, World War I
Q362 Q361
OR((Q5202124,P607,c(Q198)), (Q633526,P607,c(Q198)))
action filter_type
action union
action find
entity Q5202124
relation P607
action find
entity Q633526
relation P607
type Q198
[ANSWERS]
{'OR': [['Q5202124', 'P607', {'concept': 'Q198'}], ['Q633526', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q5202124 property:P607 ?f } UNION { resource:Q633526 property:P607 ?f } } . ?f rdf:type ontology:Q198 }
World War II World War I
World War II World War I
action filter_type
action union
action find
entity Czesław Mączyński
relation conflict
action find
entity Canon de 194 mle GPF
relation conflict
type war
{'OR': [['Czesław Mączyński', 'conflict', {'concept': 'war'}], ['Canon de 194 mle GPF', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Czesław_Mączyński property:conflict ?f } UNION { resource:Canon_de_194_mle_GPF property:conflict ?f } } . ?f rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5202124
P21
Q290
USER
Which sex does Czesław Mączyński belong to ?
(Q5202124,P21,c(Q290))
action filter_type
action find
entity Q5202124
relation P21
type Q290
['Q5202124', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q5202124 property:P21 ?r . ?r rdf:type ontology:Q290 }
Czesław Mączyński
action filter_type
action find
entity Czesław Mączyński
relation gender
type sex
['Czesław Mączyński', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Czesław_Mączyński property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5202124,P21,c(Q290))
action filter_type
action find
entity Q5202124
relation P21
type Q290
Czesław Mączyński belongs to [ANSWER]
['Q5202124', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q5202124 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
Czesław Mączyński belongs to male
male
action filter_type
action find
entity Czesław Mączyński
relation gender
type sex
['Czesław Mączyński', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Czesław_Mączyński property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5202124
P20
Q56061
USER
Where did Czesław Mączyński expire ?
(Q5202124,P20,c(Q56061))
action filter_type
action find
entity Q5202124
relation P20
type Q56061
['Q5202124', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q5202124 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Czesław Mączyński
action filter_type
action find
entity Czesław Mączyński
relation place of death
type administrative territorial entity
['Czesław Mączyński', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Czesław_Mączyński property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q36036
SYSTEM
Lviv
Q36036
(Q5202124,P20,c(Q56061))
action filter_type
action find
entity Q5202124
relation P20
type Q56061
Czesław Mączyński expired in [ANSWER]
['Q5202124', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q5202124 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Lviv
Czesław Mączyński expired in Lviv
Lviv
action filter_type
action find
entity Czesław Mączyński
relation place of death
type administrative territorial entity
['Czesław Mączyński', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Czesław_Mączyński property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36036
P551
Q502895
USER
Which people live in that administrative territory ?
(c(Q502895),P551,Q36036)
action filter_type
action find_reverse
entity Q36036
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q36036']
SELECT DISTINCT ?w WHERE { ?w property:P551 resource:Q36036 . ?w rdf:type ontology:Q502895 }
Lviv
action filter_type
action find_reverse
entity Lviv
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Lviv']
SELECT DISTINCT ?w WHERE { ?w property:residence resource:Lviv . ?w rdf:type ontology:common_name }
[]
common name
Q11764030 Q161363
SYSTEM
Ludwika Róża Ossolińska, Zbigniew Herbert
Q11764030 Q161363
(c(Q502895),P551,Q36036)
action filter_type
action find_reverse
entity Q36036
relation P551
type Q502895
[ANSWERS] live in that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q36036']
SELECT DISTINCT ?w WHERE { ?w property:P551 resource:Q36036 . ?w rdf:type ontology:Q502895 }
Ludwika Róża Ossolińska Zbigniew Herbert
Ludwika Róża Ossolińska and Zbigniew Herbert live in that administrative territory
Ludwika Róża Ossolińska Zbigniew Herbert
action filter_type
action find_reverse
entity Lviv
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Lviv']
SELECT DISTINCT ?w WHERE { ?w property:residence resource:Lviv . ?w rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q161363
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q161363,P27,c(Q15617994))
action filter_type
action find
entity Q161363
relation P27
type Q15617994
['Q161363', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q161363 property:P27 ?i }
Zbigniew Herbert
action filter_type
action find
entity Zbigniew Herbert
relation country of citizenship
type designation for an administrative territorial entity
['Zbigniew Herbert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Zbigniew_Herbert property:country_of_citizenship ?i }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q161363
SYSTEM
Did you mean Zbigniew Herbert ?
Q11764030 Q161363
(Q11764030,P27,c(Q15617994)) (Q161363,P27,c(Q15617994))
[ANSWER]
['Q11764030', 'P27', {'concept': 'Q15617994'}] ['Q161363', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q161363 property:P27 ?i }
Ludwika Róża Ossolińska Zbigniew Herbert
Did you mean Zbigniew Herbert ?
Zbigniew Herbert
['Ludwika Róża Ossolińska', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Zbigniew Herbert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Zbigniew_Herbert property:country_of_citizenship ?i }
[]
Simple Question (Coreferenced)
USER
Yes
(Q161363,P27,c(Q15617994))
['Q161363', 'P27', {'concept': 'Q15617994'}]
['Zbigniew Herbert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
Q36
SYSTEM
Poland
Q36
(Q161363,P27,c(Q15617994))
action filter_type
action find
entity Q161363
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q161363', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q161363 property:P27 ?i }
Poland
The Poland is that person an inhabitant of
Poland
action filter_type
action find
entity Zbigniew Herbert
relation country of citizenship
type designation for an administrative territorial entity
['Zbigniew Herbert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Zbigniew_Herbert property:country_of_citizenship ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36036
P127
Q1076486
USER
Which sports venue is under posessision of Lviv ?
(c(Q1076486),P127,Q36036)
action filter_type
action find_reverse
entity Q36036
relation P127
type Q1076486
[{'concept': 'Q1076486'}, 'P127', 'Q36036']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1076486 . ?s property:P127 resource:Q36036 }
Lviv
action filter_type
action find_reverse
entity Lviv
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Lviv']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sports_venue . ?s property:owned_by resource:Lviv }
[]
sports venue
Q215399
SYSTEM
Arena Lviv
Q215399
(c(Q1076486),P127,Q36036)
action filter_type
action find_reverse
entity Q36036
relation P127
type Q1076486
[ANSWER] is under posessision of Lviv
[{'concept': 'Q1076486'}, 'P127', 'Q36036']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1076486 . ?s property:P127 resource:Q36036 }
Arena Lviv
Arena Lviv is under posessision of Lviv
Arena Lviv
action filter_type
action find_reverse
entity Lviv
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Lviv']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sports_venue . ?s property:owned_by resource:Lviv }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36036
P159
Q7210356
USER
Which political organizations have their HQ location at that administrative territory ?
(c(Q7210356),P159,Q215399)
action filter_type
action find_reverse
entity Q36036
relation P159
type Q7210356
[{'concept': 'Q7210356'}, 'P159', 'Q215399']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q7210356 . ?s property:P159 resource:Q36036 }
Lviv
action filter_type
action find_reverse
entity Lviv
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Arena Lviv']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_organization . ?s property:headquarters_location resource:Lviv }
[]
political organization
Q2638158 Q12139013 Q15964034
SYSTEM
Ukrainian Radical Party, Samopomich, Social-National Party of Ukraine
Q2638158 Q15964034 Q7878512 Q12139013 Q5273941
(c(Q7210356),P159,Q215399)
action filter_type
action find_reverse
entity Q36036
relation P159
type Q7210356
[ANSWERS] have their HQ location at that administrative territory
[{'concept': 'Q7210356'}, 'P159', 'Q215399']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q7210356 . ?s property:P159 resource:Q36036 }
Ukrainian Radical Party Social-National Party of Ukraine Ukrainian Social Democratic Party Samopomich Dictatorship Resistance Committee
Ukrainian Radical Party, Samopomich and Social-National Party of Ukraine have their HQ location at that administrative territory
Ukrainian Radical Party Samopomich Social-National Party of Ukraine
action filter_type
action find_reverse
entity Lviv
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Arena Lviv']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_organization . ?s property:headquarters_location resource:Lviv }
[]