Simple Question (Direct)
Simple Question
Q4317038
P19
Q56061
USER
Which administrative territory was Zhanna Nemtsova born at ?
(Q4317038,P19,c(Q56061))
action filter_type
action find
entity Q4317038
relation P19
type Q56061
['Q4317038', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q4317038 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Zhanna Nemtsova
action filter_type
action find
entity Zhanna Nemtsova
relation place of birth
type administrative territorial entity
['Zhanna Nemtsova', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Zhanna_Nemtsova property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q891
SYSTEM
Nizhny Novgorod
Q891
(Q4317038,P19,c(Q56061))
action filter_type
action find
entity Q4317038
relation P19
type Q56061
Zhanna Nemtsova was born in [ANSWER]
['Q4317038', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q4317038 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Nizhny Novgorod
Zhanna Nemtsova was born in Nizhny Novgorod
Nizhny Novgorod
action filter_type
action find
entity Zhanna Nemtsova
relation place of birth
type administrative territorial entity
['Zhanna Nemtsova', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Zhanna_Nemtsova property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4317038
P40
Q502895
USER
Which person has that one as a child ?
(c(Q502895),P40,Q891)
action filter_type
action find_reverse
entity Q4317038
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q891']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P40 resource:Q4317038 }
Zhanna Nemtsova
action filter_type
action find_reverse
entity Zhanna Nemtsova
relation child
type common name
[{'concept': 'common name'}, 'child', 'Nizhny Novgorod']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:child resource:Zhanna_Nemtsova }
[]
common name
Q363846
SYSTEM
Boris Nemtsov
Q363846
(c(Q502895),P40,Q891)
action filter_type
action find_reverse
entity Q4317038
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q891']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P40 resource:Q4317038 }
Boris Nemtsov
Boris Nemtsov has that one as a child
Boris Nemtsov
action filter_type
action find_reverse
entity Zhanna Nemtsova
relation child
type common name
[{'concept': 'common name'}, 'child', 'Nizhny Novgorod']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:child resource:Zhanna_Nemtsova }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q363846
P22
Q502895
USER
Who is the offspring of that one ?
(c(Q502895),P22,Q363846)
action filter_type
action find_reverse
entity Q363846
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q363846']
SELECT DISTINCT ?s WHERE { ?s property:P22 resource:Q363846 . ?s rdf:type ontology:Q502895 }
Boris Nemtsov
action filter_type
action find_reverse
entity Boris Nemtsov
relation father
type common name
[{'concept': 'common name'}, 'father', 'Boris Nemtsov']
SELECT DISTINCT ?s WHERE { ?s property:father resource:Boris_Nemtsov . ?s rdf:type ontology:common_name }
[]
common name
Q4317038
SYSTEM
Zhanna Nemtsova
Q4317038
(c(Q502895),P22,Q363846)
action filter_type
action find_reverse
entity Q363846
relation P22
type Q502895
The offspring of that one is the [ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q363846']
SELECT DISTINCT ?s WHERE { ?s property:P22 resource:Q363846 . ?s rdf:type ontology:Q502895 }
Zhanna Nemtsova
The offspring of that one is the Zhanna Nemtsova
Zhanna Nemtsova
action filter_type
action find_reverse
entity Boris Nemtsov
relation father
type common name
[{'concept': 'common name'}, 'father', 'Boris Nemtsov']
SELECT DISTINCT ?s WHERE { ?s property:father resource:Boris_Nemtsov . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q502895 Q2472587 Q56061
USER
Which administrative territories are the eponym of max number of people and peoples ?
(c(Q56061),P138,c(Q502895)|c(Q2472587))
action argmax
action union
action find_tuple_counts
relation P138
type Q56061
type Q502895
action find_tuple_counts
relation P138
type Q56061
type Q2472587
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q2472587'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?w ) WHERE { { ?r property:P138 ?g . ?r rdf:type ontology:Q56061 . ?g rdf:type ontology:Q2472587 } UNION { ?r property:P138 ?g . ?g rdf:type ontology:Q502895 . ?r rdf:type ontology:Q56061 } } GROUP BY ?r } . FILTER ( ?w = ?f ) . { SELECT DISTINCT ( MAX ( ?q ) AS ?f ) { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?q ) WHERE { { ?h property:P138 ?u . ?h rdf:type ontology:Q56061 . ?u rdf:type ontology:Q502895 } UNION { ?h property:P138 ?u . ?h rdf:type ontology:Q56061 . ?u rdf:type ontology:Q2472587 } } GROUP BY ?h } } }
action argmax
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type common name
action find_tuple_counts
relation named after
type administrative territorial entity
type people
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'common name'}, {'concept': 'people'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?w ) WHERE { { ?r property:named_after ?g . ?r rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:people } UNION { ?r property:named_after ?g . ?g rdf:type ontology:common_name . ?r rdf:type ontology:administrative_territorial_entity } } GROUP BY ?r } . FILTER ( ?w = ?f ) . { SELECT DISTINCT ( MAX ( ?q ) AS ?f ) { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?q ) WHERE { { ?h property:named_after ?u . ?h rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:common_name } UNION { ?h property:named_after ?u . ?h rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:people } } GROUP BY ?h } } }
[]
common name people administrative territorial entity
Q158292
SYSTEM
Kropyvnytskyi
Q158292
(c(Q56061),P138,c(Q502895)|c(Q2472587))
action argmax
action union
action find_tuple_counts
relation P138
type Q56061
type Q502895
action find_tuple_counts
relation P138
type Q56061
type Q2472587
[ANSWER] is the eponym of max number of people and peoples
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q2472587'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?w ) WHERE { { ?r property:P138 ?g . ?r rdf:type ontology:Q56061 . ?g rdf:type ontology:Q2472587 } UNION { ?r property:P138 ?g . ?g rdf:type ontology:Q502895 . ?r rdf:type ontology:Q56061 } } GROUP BY ?r } . FILTER ( ?w = ?f ) . { SELECT DISTINCT ( MAX ( ?q ) AS ?f ) { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?q ) WHERE { { ?h property:P138 ?u . ?h rdf:type ontology:Q56061 . ?u rdf:type ontology:Q502895 } UNION { ?h property:P138 ?u . ?h rdf:type ontology:Q56061 . ?u rdf:type ontology:Q2472587 } } GROUP BY ?h } } }
Kropyvnytskyi
Kropyvnytskyi is the eponym of max number of people and peoples
Kropyvnytskyi
action argmax
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type common name
action find_tuple_counts
relation named after
type administrative territorial entity
type people
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'common name'}, {'concept': 'people'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?w ) WHERE { { ?r property:named_after ?g . ?r rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:people } UNION { ?r property:named_after ?g . ?g rdf:type ontology:common_name . ?r rdf:type ontology:administrative_territorial_entity } } GROUP BY ?r } . FILTER ( ?w = ?f ) . { SELECT DISTINCT ( MAX ( ?q ) AS ?f ) { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?q ) WHERE { { ?h property:named_after ?u . ?h rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:common_name } UNION { ?h property:named_after ?u . ?h rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:people } } GROUP BY ?h } } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q158292 Q207682
P138
Q502895
USER
Is Sergey Kirov namesake of Kropyvnytskyi ?
(Q158292,P138,Q207682)
action is_in
entity Q207682
action find
entity Q158292
relation P138
['Q158292', 'P138', 'Q207682']
ASK WHERE { resource:Q158292 property:P138 resource:Q207682 }
Kropyvnytskyi Sergey Kirov
action is_in
entity Sergey Kirov
action find
entity Kropyvnytskyi
relation named after
['Kropyvnytskyi', 'named after', 'Sergey Kirov']
ASK WHERE { resource:Kropyvnytskyi property:named_after resource:Sergey_Kirov }
[]
common name
SYSTEM
YES
(Q158292,P138,Q207682)
action is_in
entity Q207682
action find
entity Q158292
relation P138
[ANSWER]
['Q158292', 'P138', 'Q207682']
ASK WHERE { resource:Q158292 property:P138 resource:Q207682 }
Yes
action is_in
entity Sergey Kirov
action find
entity Kropyvnytskyi
relation named after
['Kropyvnytskyi', 'named after', 'Sergey Kirov']
ASK WHERE { resource:Kropyvnytskyi property:named_after resource:Sergey_Kirov }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q363846 Q5224291 Q4853685
P937
Q56061
USER
Does Boris Nemtsov have Darreh-ye Dah Pahlavan and Ban Phomoun Gnai as their work location ?
(Q363846,P937,Q5224291) (Q363846,P937,Q4853685)
action is_in
entity Q363846
action intersection
action find_reverse
entity Q5224291
relation P937
action find_reverse
entity Q4853685
relation P937
['Q363846', 'P937', 'Q5224291'] ['Q363846', 'P937', 'Q4853685']
ASK WHERE { resource:Q363846 property:P937 resource:Q5224291 . resource:Q363846 property:P937 resource:Q4853685 }
Boris Nemtsov Darreh-ye Dah Pahlavan Ban Phomoun Gnai
action is_in
entity Boris Nemtsov
action intersection
action find_reverse
entity Darreh-ye Dah Pahlavan
relation work location
action find_reverse
entity Ban Phomoun Gnai
relation work location
['Boris Nemtsov', 'work location', 'Darreh-ye Dah Pahlavan'] ['Boris Nemtsov', 'work location', 'Ban Phomoun Gnai']
ASK WHERE { resource:Boris_Nemtsov property:work_location resource:Darreh-ye_Dah_Pahlavan . resource:Boris_Nemtsov property:work_location resource:Ban_Phomoun_Gnai }
[]
administrative territorial entity
SYSTEM
NO
(Q363846,P937,Q5224291) (Q363846,P937,Q4853685)
action is_in
entity Q363846
action intersection
action find_reverse
entity Q5224291
relation P937
action find_reverse
entity Q4853685
relation P937
[ANSWER]
['Q363846', 'P937', 'Q5224291'] ['Q363846', 'P937', 'Q4853685']
ASK WHERE { resource:Q363846 property:P937 resource:Q5224291 . resource:Q363846 property:P937 resource:Q4853685 }
No
action is_in
entity Boris Nemtsov
action intersection
action find_reverse
entity Darreh-ye Dah Pahlavan
relation work location
action find_reverse
entity Ban Phomoun Gnai
relation work location
['Boris Nemtsov', 'work location', 'Darreh-ye Dah Pahlavan'] ['Boris Nemtsov', 'work location', 'Ban Phomoun Gnai']
ASK WHERE { resource:Boris_Nemtsov property:work_location resource:Darreh-ye_Dah_Pahlavan . resource:Boris_Nemtsov property:work_location resource:Ban_Phomoun_Gnai }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q363846
P463
Q43229
USER
Which organization was that person a member of ?
action filter_type
action find
entity Q363846
relation P463
type Q43229
SELECT DISTINCT ?l WHERE { resource:Q363846 property:P463 ?l . ?l rdf:type ontology:Q43229 }
Boris Nemtsov
action filter_type
action find
entity Boris Nemtsov
relation member of
type organization
SELECT DISTINCT ?l WHERE { resource:Boris_Nemtsov property:member_of ?l . ?l rdf:type ontology:organization }
[]
organization
Q4232166
SYSTEM
Russian Opposition Coordination Council
Q4232166
action filter_type
action find
entity Q363846
relation P463
type Q43229
[ANSWER] was that person a member of
SELECT DISTINCT ?l WHERE { resource:Q363846 property:P463 ?l . ?l rdf:type ontology:Q43229 }
Russian Opposition Coordination Council
Russian Opposition Coordination Council was that person a member of
Russian Opposition Coordination Council
action filter_type
action find
entity Boris Nemtsov
relation member of
type organization
SELECT DISTINCT ?l WHERE { resource:Boris_Nemtsov property:member_of ?l . ?l rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q891
P119
Q502895
USER
Which person has Nizhny Novgorod as place of burial ?
(c(Q502895),P119,Q891)
action filter_type
action find_reverse
entity Q891
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q891']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P119 resource:Q891 }
Nizhny Novgorod
action filter_type
action find_reverse
entity Nizhny Novgorod
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Nizhny Novgorod']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:place_of_burial resource:Nizhny_Novgorod }
[]
common name
Q4180088
SYSTEM
Dmitry Zhidkov
Q4180088
(c(Q502895),P119,Q891)
action filter_type
action find_reverse
entity Q891
relation P119
type Q502895
[ANSWER] has Nizhny Novgorod as place of burial
[{'concept': 'Q502895'}, 'P119', 'Q891']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P119 resource:Q891 }
Dmitry Zhidkov
Dmitry Zhidkov has Nizhny Novgorod as place of burial
Dmitry Zhidkov
action filter_type
action find_reverse
entity Nizhny Novgorod
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Nizhny Novgorod']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:place_of_burial resource:Nizhny_Novgorod }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4180088
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q4180088,P27,c(Q15617994))
action filter_type
action find
entity Q4180088
relation P27
type Q15617994
['Q4180088', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q4180088 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Dmitry Zhidkov
action filter_type
action find
entity Dmitry Zhidkov
relation country of citizenship
type designation for an administrative territorial entity
['Dmitry Zhidkov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Dmitry_Zhidkov property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q4180088,P27,c(Q15617994))
action filter_type
action find
entity Q4180088
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q4180088', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q4180088 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Russia
The Russia is the country of citizenship of that person
Russia
action filter_type
action find
entity Dmitry Zhidkov
relation country of citizenship
type designation for an administrative territorial entity
['Dmitry Zhidkov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Dmitry_Zhidkov property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q159 Q37
P47
Q15617994
USER
Is Lithuania adjacent to that one ?
(Q159,P47,Q37)
action is_in
entity Q37
action find
entity Q159
relation P47
['Q159', 'P47', 'Q37']
ASK WHERE { resource:Q159 property:P47 resource:Q37 }
Russia Lithuania
action is_in
entity Lithuania
action find
entity Russia
relation shares border with
['Russia', 'shares border with', 'Lithuania']
ASK WHERE { resource:Russia property:shares_border_with resource:Lithuania }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q159,P47,Q37)
action is_in
entity Q37
action find
entity Q159
relation P47
[ANSWER]
['Q159', 'P47', 'Q37']
ASK WHERE { resource:Q159 property:P47 resource:Q37 }
Yes
action is_in
entity Lithuania
action find
entity Russia
relation shares border with
['Russia', 'shares border with', 'Lithuania']
ASK WHERE { resource:Russia property:shares_border_with resource:Lithuania }
[]