Simple Question (Direct)
Simple Question
Q2603173
P20
Q515
USER
Which city is the place of death of Alexander Prosvirnin ?
(Q2603173,P20,c(Q515))
action filter_type
action find
entity Q2603173
relation P20
type Q515
['Q2603173', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { resource:Q2603173 property:P20 ?p . ?p rdf:type ontology:Q515 }
Alexander Prosvirnin
action filter_type
action find
entity Alexander Prosvirnin
relation place of death
type city
['Alexander Prosvirnin', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { resource:Alexander_Prosvirnin property:place_of_death ?p . ?p rdf:type ontology:city }
[]
city
Q1899
SYSTEM
Kyiv
Q1899
(Q2603173,P20,c(Q515))
action filter_type
action find
entity Q2603173
relation P20
type Q515
[ANSWER] is the place of death of Alexander Prosvirnin
['Q2603173', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { resource:Q2603173 property:P20 ?p . ?p rdf:type ontology:Q515 }
Kyiv
Kyiv is the place of death of Alexander Prosvirnin
Kyiv
action filter_type
action find
entity Alexander Prosvirnin
relation place of death
type city
['Alexander Prosvirnin', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { resource:Alexander_Prosvirnin property:place_of_death ?p . ?p rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1899
P915
Q838948
USER
Which work of art was filmed at that city ?
(c(Q838948),P915,Q1899)
action filter_type
action find_reverse
entity Q1899
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q1899']
SELECT DISTINCT ?u WHERE { ?u property:P915 resource:Q1899 . ?u rdf:type ontology:Q838948 }
Kyiv
action filter_type
action find_reverse
entity Kyiv
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Kyiv']
SELECT DISTINCT ?u WHERE { ?u property:filming_location resource:Kyiv . ?u rdf:type ontology:work_of_art }
[]
work of art
Q3537621
SYSTEM
Firecrosser
Q3537621
(c(Q838948),P915,Q1899)
action filter_type
action find_reverse
entity Q1899
relation P915
type Q838948
City [ANSWER] was filmed at that city
[{'concept': 'Q838948'}, 'P915', 'Q1899']
SELECT DISTINCT ?u WHERE { ?u property:P915 resource:Q1899 . ?u rdf:type ontology:Q838948 }
Firecrosser
City Firecrosser was filmed at that city
Firecrosser
action filter_type
action find_reverse
entity Kyiv
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Kyiv']
SELECT DISTINCT ?u WHERE { ?u property:filming_location resource:Kyiv . ?u rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1899
P36
Q1048835
USER
Which political territory is that city the capital of ?
(c(Q1048835),P36,Q3537621)
action filter_type
action find_reverse
entity Q1899
relation P36
type Q1048835
[{'concept': 'Q1048835'}, 'P36', 'Q3537621']
SELECT DISTINCT ?h WHERE { ?h property:P36 resource:Q1899 . ?h rdf:type ontology:Q1048835 }
Kyiv
action filter_type
action find_reverse
entity Kyiv
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Firecrosser']
SELECT DISTINCT ?h WHERE { ?h property:capital resource:Kyiv . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q170036
SYSTEM
Kiev Oblast
Q170036
(c(Q1048835),P36,Q3537621)
action filter_type
action find_reverse
entity Q1899
relation P36
type Q1048835
The [ANSWER] is that city the capital of
[{'concept': 'Q1048835'}, 'P36', 'Q3537621']
SELECT DISTINCT ?h WHERE { ?h property:P36 resource:Q1899 . ?h rdf:type ontology:Q1048835 }
Kiev Oblast
The Kiev Oblast is that city the capital of
Kiev Oblast
action filter_type
action find_reverse
entity Kyiv
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Firecrosser']
SELECT DISTINCT ?h WHERE { ?h property:capital resource:Kyiv . ?h rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P47
Q1048835
USER
How many political territories are bordered by that political territory ?
(Q170036,P47,c(Q1048835))
action count
action filter_type
action find
entity Q170036
relation P47
type Q1048835
['Q170036', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Q170036 property:P47 ?a . ?a rdf:type ontology:Q1048835 }
action count
action filter_type
action find
entity Kiev Oblast
relation shares border with
type political territorial entity
['Kiev Oblast', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Kiev_Oblast property:shares_border_with ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
6
Q167874 Q166709 Q188732 Q169501 Q40637 Q161808
(Q170036,P47,c(Q1048835))
action count
action filter_type
action find
entity Q170036
relation P47
type Q1048835
[ANSWER]
['Q170036', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Q170036 property:P47 ?a . ?a rdf:type ontology:Q1048835 }
Chernihiv Oblast Vinnytsia Oblast Gomel Region Poltava Oblast Zhytomyr Oblast Cherkasy Oblast
6
action count
action filter_type
action find
entity Kiev Oblast
relation shares border with
type political territorial entity
['Kiev Oblast', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Kiev_Oblast property:shares_border_with ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170036
P17
Q15617994
USER
Which administrative territory is Kiev Oblast present in ?
(Q170036,P17,c(Q15617994))
action filter_type
action find
entity Q170036
relation P17
type Q15617994
['Q170036', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q170036 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Kiev Oblast
action filter_type
action find
entity Kiev Oblast
relation country
type designation for an administrative territorial entity
['Kiev Oblast', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Kiev_Oblast property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
(Q170036,P17,c(Q15617994))
action filter_type
action find
entity Q170036
relation P17
type Q15617994
Kiev Oblast is in [ANSWER]
['Q170036', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q170036 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Ukraine
Kiev Oblast is in Ukraine
Ukraine
action filter_type
action find
entity Kiev Oblast
relation country
type designation for an administrative territorial entity
['Kiev Oblast', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Kiev_Oblast property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170036
P19
Q502895
USER
Who have location of birth at Kiev Oblast ?
(c(Q502895),P19,Q170036)
action filter_type
action find_reverse
entity Q170036
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q170036']
SELECT DISTINCT ?s WHERE { ?s property:P19 resource:Q170036 . ?s rdf:type ontology:Q502895 }
Kiev Oblast
action filter_type
action find_reverse
entity Kiev Oblast
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Kiev Oblast']
SELECT DISTINCT ?s WHERE { ?s property:place_of_birth resource:Kiev_Oblast . ?s rdf:type ontology:common_name }
[]
common name
Q1990777 Q969342 Q634658
SYSTEM
Nikolai Sergeyev, Volodymyr Onyshchenko, Arkhip Lyulka
Q3572249 Q4446034 Q1990777 Q7916580 Q7453471 Q16334195 Q23906672 Q561122 Q969342 Q634658 Q3156141 Q539489 Q7086742
(c(Q502895),P19,Q170036)
action filter_type
action find_reverse
entity Q170036
relation P19
type Q502895
[ANSWERS] have location of birth at Kiev Oblast
[{'concept': 'Q502895'}, 'P19', 'Q170036']
SELECT DISTINCT ?s WHERE { ?s property:P19 resource:Q170036 . ?s rdf:type ontology:Q502895 }
Yevhen Vynohradov Nataliya Sumska Nikolai Sergeyev Vasil Yakusha Sergei Boyko Vitaliy Smolenskiy Svitlana Iaromka Oleksandr Moroz Volodymyr Onyshchenko Arkhip Lyulka Ivan Losyev Viktor Tsybulenko Olha Huzenko
Nikolai Sergeyev, Volodymyr Onyshchenko and Arkhip Lyulka have location of birth at Kiev Oblast
Nikolai Sergeyev Volodymyr Onyshchenko Arkhip Lyulka
action filter_type
action find_reverse
entity Kiev Oblast
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Kiev Oblast']
SELECT DISTINCT ?s WHERE { ?s property:place_of_birth resource:Kiev_Oblast . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q170036
P159
Q811979
USER
Which architectural structure has HQ at that political territory ?
(c(Q811979),P159,Q1990777) (c(Q811979),P159,Q969342) (c(Q811979),P159,Q634658)
action filter_type
action find_reverse
entity Q170036
relation P159
type Q811979
[{'concept': 'Q811979'}, 'P159', 'Q1990777'] [{'concept': 'Q811979'}, 'P159', 'Q969342'] [{'concept': 'Q811979'}, 'P159', 'Q634658']
SELECT DISTINCT ?l WHERE { ?l property:P159 resource:Q170036 . ?l rdf:type ontology:Q811979 }
Kiev Oblast
action filter_type
action find_reverse
entity Kiev Oblast
relation headquarters location
type architectural structure
[{'concept': 'architectural structure'}, 'headquarters location', 'Nikolai Sergeyev'] [{'concept': 'architectural structure'}, 'headquarters location', 'Volodymyr Onyshchenko'] [{'concept': 'architectural structure'}, 'headquarters location', 'Arkhip Lyulka']
SELECT DISTINCT ?l WHERE { ?l property:headquarters_location resource:Kiev_Oblast . ?l rdf:type ontology:architectural_structure }
[]
architectural structure
Q2273327
SYSTEM
Mezhyhirya Monastery
Q2273327
(c(Q811979),P159,Q1990777) (c(Q811979),P159,Q969342) (c(Q811979),P159,Q634658)
action filter_type
action find_reverse
entity Q170036
relation P159
type Q811979
[ANSWER] has HQ at that political territory
[{'concept': 'Q811979'}, 'P159', 'Q1990777'] [{'concept': 'Q811979'}, 'P159', 'Q969342'] [{'concept': 'Q811979'}, 'P159', 'Q634658']
SELECT DISTINCT ?l WHERE { ?l property:P159 resource:Q170036 . ?l rdf:type ontology:Q811979 }
Mezhyhirya Monastery
Mezhyhirya Monastery has HQ at that political territory
Mezhyhirya Monastery
action filter_type
action find_reverse
entity Kiev Oblast
relation headquarters location
type architectural structure
[{'concept': 'architectural structure'}, 'headquarters location', 'Nikolai Sergeyev'] [{'concept': 'architectural structure'}, 'headquarters location', 'Volodymyr Onyshchenko'] [{'concept': 'architectural structure'}, 'headquarters location', 'Arkhip Lyulka']
SELECT DISTINCT ?l WHERE { ?l property:headquarters_location resource:Kiev_Oblast . ?l rdf:type ontology:architectural_structure }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2273327 Q212 Q35002
P17
Q15617994
USER
Is that architectural structure present in Ukraine and Doues ?
(Q2273327,P17,Q212) (Q2273327,P17,Q35002)
action is_in
entity Q2273327
action intersection
action find_reverse
entity Q212
relation P17
action find_reverse
entity Q35002
relation P17
['Q2273327', 'P17', 'Q212'] ['Q2273327', 'P17', 'Q35002']
ASK WHERE { resource:Q2273327 property:P17 resource:Q212 . resource:Q2273327 property:P17 resource:Q35002 }
Mezhyhirya Monastery Ukraine Doues
action is_in
entity Mezhyhirya Monastery
action intersection
action find_reverse
entity Ukraine
relation country
action find_reverse
entity Doues
relation country
['Mezhyhirya Monastery', 'country', 'Ukraine'] ['Mezhyhirya Monastery', 'country', 'Doues']
ASK WHERE { resource:Mezhyhirya_Monastery property:country resource:Ukraine . resource:Mezhyhirya_Monastery property:country resource:Doues }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q2273327,P17,Q212) (Q2273327,P17,Q35002)
action is_in
entity Q2273327
action intersection
action find_reverse
entity Q212
relation P17
action find_reverse
entity Q35002
relation P17
[ANSWER]
['Q2273327', 'P17', 'Q212'] ['Q2273327', 'P17', 'Q35002']
ASK WHERE { resource:Q2273327 property:P17 resource:Q212 . resource:Q2273327 property:P17 resource:Q35002 }
YES and NO respectively
action is_in
entity Mezhyhirya Monastery
action intersection
action find_reverse
entity Ukraine
relation country
action find_reverse
entity Doues
relation country
['Mezhyhirya Monastery', 'country', 'Ukraine'] ['Mezhyhirya Monastery', 'country', 'Doues']
ASK WHERE { resource:Mezhyhirya_Monastery property:country resource:Ukraine . resource:Mezhyhirya_Monastery property:country resource:Doues }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q183 Q212
P27
Q502895
USER
Which people are a native of Ukraine and Germany ?
AND((c(Q502895),P27,Q212), (c(Q502895),P27,Q183))
action filter_type
action intersection
action find_reverse
entity Q212
relation P27
action find_reverse
entity Q183
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q212'], [{'concept': 'Q502895'}, 'P27', 'Q183']]}
SELECT DISTINCT ?i WHERE { ?i property:P27 resource:Q212 . ?i property:P27 resource:Q183 . ?i rdf:type ontology:Q502895 }
Germany Ukraine
action filter_type
action intersection
action find_reverse
entity Ukraine
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Ukraine'], [{'concept': 'common name'}, 'country of citizenship', 'Germany']]}
SELECT DISTINCT ?i WHERE { ?i property:country_of_citizenship resource:Ukraine . ?i property:country_of_citizenship resource:Germany . ?i rdf:type ontology:common_name }
[]
common name
Q563119 Q61514 Q227082 Q85578 Q4309145 Q4502410 Q870397 Q91534 Q76108 Q121967
SYSTEM
Some of them are Anna Rudolph, Michael Seifert, Zoya Schleining, Leo Birinski, Anatoliy Mushchinka, Aleksandr Khurgin, Eugen Bopp, Björn Nagel, Felix Levin, Denis Kaliberda
Q563119 Q91534 Q78251 Q61514 Q29315 Q84721 Q719267 Q4502410 Q4309145 Q108199 Q227082 Q870397 Q121967 Q76108 Q1708389 Q2173693 Q85578 Q21279219
AND((c(Q502895),P27,Q212), (c(Q502895),P27,Q183))
action filter_type
action intersection
action find_reverse
entity Q212
relation P27
action find_reverse
entity Q183
relation P27
type Q502895
[ANSWERS] are a native of Ukraine and Germany
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q212'], [{'concept': 'Q502895'}, 'P27', 'Q183']]}
SELECT DISTINCT ?i WHERE { ?i property:P27 resource:Q212 . ?i property:P27 resource:Q183 . ?i rdf:type ontology:Q502895 }
Anna Rudolph Björn Nagel Dmytro Chyzhevsky Michael Seifert Marina Weisband Gregor Schwartz-Bostunitsch Denis Prychynenko Aleksandr Khurgin Anatoliy Mushchinka Tatiana Melamed Zoya Schleining Eugen Bopp Denis Kaliberda Felix Levin Vadym Shvydkiy Rudolf Schaad Leo Birinski Harry Maier
Anna Rudolph, Michael Seifert, Zoya Schleining, Leo Birinski, Anatoliy Mushchinka, Aleksandr Khurgin, Eugen Bopp, Björn Nagel, Felix Levin and Denis Kaliberda are a native of Ukraine and Germany
Anna Rudolph Michael Seifert Zoya Schleining Leo Birinski Anatoliy Mushchinka Aleksandr Khurgin Eugen Bopp Björn Nagel Felix Levin Denis Kaliberda
action filter_type
action intersection
action find_reverse
entity Ukraine
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Ukraine'], [{'concept': 'common name'}, 'country of citizenship', 'Germany']]}
SELECT DISTINCT ?i WHERE { ?i property:country_of_citizenship resource:Ukraine . ?i property:country_of_citizenship resource:Germany . ?i rdf:type ontology:common_name }
[]