Simple Question (Direct)
Simple Question
Q647673
P27
Q15617994
USER
Which administrative territory is Karel Treybal an inhabitant of ?
(Q647673,P27,c(Q15617994))
action filter_type
action find
entity Q647673
relation P27
type Q15617994
['Q647673', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q647673 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Karel Treybal
action filter_type
action find
entity Karel Treybal
relation country of citizenship
type designation for an administrative territorial entity
['Karel Treybal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Karel_Treybal property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q647673,P27,c(Q15617994))
action filter_type
action find
entity Q647673
relation P27
type Q15617994
[ANSWER] is Karel Treybal an inhabitant of
['Q647673', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q647673 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Czech Republic
Czech Republic is Karel Treybal an inhabitant of
Czech Republic
action filter_type
action find
entity Karel Treybal
relation country of citizenship
type designation for an administrative territorial entity
['Karel Treybal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Karel_Treybal property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q647673
P20
Q56061
USER
Which administrative territory is the place of death of Karel Treybal ?
(Q647673,P20,c(Q56061))
action filter_type
action find
entity Q647673
relation P20
type Q56061
['Q647673', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q647673 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Karel Treybal
action filter_type
action find
entity Karel Treybal
relation place of death
type administrative territorial entity
['Karel Treybal', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Karel_Treybal property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1085
SYSTEM
Prague
Q1085
(Q647673,P20,c(Q56061))
action filter_type
action find
entity Q647673
relation P20
type Q56061
[ANSWER] is the place of death of Karel Treybal
['Q647673', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q647673 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Prague
Prague is the place of death of Karel Treybal
Prague
action filter_type
action find
entity Karel Treybal
relation place of death
type administrative territorial entity
['Karel Treybal', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Karel_Treybal property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1085 Q6375245 Q11798123
P190
Q486972
USER
Is that administrative territory twin city of Katarzynowo, Słupca County and Olszewo, Nidzica County ?
(Q1085,P190,Q6375245) (Q1085,P190,Q11798123)
action is_in
entity Q1085
action intersection
action find_reverse
entity Q6375245
relation P190
action find_reverse
entity Q11798123
relation P190
['Q1085', 'P190', 'Q6375245'] ['Q1085', 'P190', 'Q11798123']
ASK WHERE { resource:Q1085 property:P190 resource:Q11798123 . resource:Q1085 property:P190 resource:Q6375245 }
Prague Katarzynowo, Słupca County Olszewo, Nidzica County
action is_in
entity Prague
action intersection
action find_reverse
entity Katarzynowo, Słupca County
relation sister city
action find_reverse
entity Olszewo, Nidzica County
relation sister city
['Prague', 'sister city', 'Katarzynowo, Słupca County'] ['Prague', 'sister city', 'Olszewo, Nidzica County']
ASK WHERE { resource:Prague property:sister_city resource:Olszewo,_Nidzica_County . resource:Prague property:sister_city resource:Katarzynowo,_Słupca_County }
[]
human settlement
SYSTEM
NO
(Q1085,P190,Q6375245) (Q1085,P190,Q11798123)
action is_in
entity Q1085
action intersection
action find_reverse
entity Q6375245
relation P190
action find_reverse
entity Q11798123
relation P190
[ANSWER]
['Q1085', 'P190', 'Q6375245'] ['Q1085', 'P190', 'Q11798123']
ASK WHERE { resource:Q1085 property:P190 resource:Q11798123 . resource:Q1085 property:P190 resource:Q6375245 }
No
action is_in
entity Prague
action intersection
action find_reverse
entity Katarzynowo, Słupca County
relation sister city
action find_reverse
entity Olszewo, Nidzica County
relation sister city
['Prague', 'sister city', 'Katarzynowo, Słupca County'] ['Prague', 'sister city', 'Olszewo, Nidzica County']
ASK WHERE { resource:Prague property:sister_city resource:Olszewo,_Nidzica_County . resource:Prague property:sister_city resource:Katarzynowo,_Słupca_County }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q213 Q458 Q3463083
P47
Q56061
USER
Is Czech Republic next to the border of European Union and Vila ?
(Q213,P47,Q458) (Q213,P47,Q3463083)
action is_in
entity Q213
action intersection
action find_reverse
entity Q458
relation P47
action find_reverse
entity Q3463083
relation P47
['Q213', 'P47', 'Q458'] ['Q213', 'P47', 'Q3463083']
ASK WHERE { resource:Q213 property:P47 resource:Q458 . resource:Q213 property:P47 resource:Q3463083 }
Czech Republic European Union Vila
action is_in
entity Czech Republic
action intersection
action find_reverse
entity European Union
relation shares border with
action find_reverse
entity Vila
relation shares border with
['Czech Republic', 'shares border with', 'European Union'] ['Czech Republic', 'shares border with', 'Vila']
ASK WHERE { resource:Czech_Republic property:shares_border_with resource:European_Union . resource:Czech_Republic property:shares_border_with resource:Vila }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q213,P47,Q458) (Q213,P47,Q3463083)
action is_in
entity Q213
action intersection
action find_reverse
entity Q458
relation P47
action find_reverse
entity Q3463083
relation P47
[ANSWER]
['Q213', 'P47', 'Q458'] ['Q213', 'P47', 'Q3463083']
ASK WHERE { resource:Q213 property:P47 resource:Q458 . resource:Q213 property:P47 resource:Q3463083 }
YES and NO respectively
action is_in
entity Czech Republic
action intersection
action find_reverse
entity European Union
relation shares border with
action find_reverse
entity Vila
relation shares border with
['Czech Republic', 'shares border with', 'European Union'] ['Czech Republic', 'shares border with', 'Vila']
ASK WHERE { resource:Czech_Republic property:shares_border_with resource:European_Union . resource:Czech_Republic property:shares_border_with resource:Vila }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213
P6
Q502895
USER
Which people have that administrative territory as their heads of government ?
action filter_type
action find
entity Q213
relation P6
type Q502895
SELECT DISTINCT ?n WHERE { resource:Q213 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Czech Republic
action filter_type
action find
entity Czech Republic
relation head of government
type common name
SELECT DISTINCT ?n WHERE { resource:Czech_Republic property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
common name
Q29032 Q57434 Q348896
SYSTEM
Miloš Zeman, Václav Klaus, Stanislav Gross
Q12025475 Q32777 Q161671 Q29032 Q35786 Q155880 Q57434 Q548786 Q890971 Q193675 Q348896
action filter_type
action find
entity Q213
relation P6
type Q502895
[ANSWERS] have that administrative territory as their heads of government
SELECT DISTINCT ?n WHERE { resource:Q213 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Jiří Rusnok Vladimír Špidla Jiří Paroubek Miloš Zeman Petr Nečas Mirek Topolánek Václav Klaus Josef Tošovský Bohuslav Sobotka Jan Fischer Stanislav Gross
Miloš Zeman, Václav Klaus and Stanislav Gross have that administrative territory as their heads of government
Miloš Zeman Václav Klaus Stanislav Gross
action filter_type
action find
entity Czech Republic
relation head of government
type common name
SELECT DISTINCT ?n WHERE { resource:Czech_Republic property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q348896
P26
Q502895
USER
Which person has that one as spouse ?
(c(Q502895),P26,Q348896)
action filter_type
action find
entity Q348896
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q348896']
SELECT DISTINCT ?u WHERE { resource:Q348896 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Stanislav Gross
action filter_type
action find
entity Stanislav Gross
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Stanislav Gross']
SELECT DISTINCT ?u WHERE { resource:Stanislav_Gross property:spouse ?u . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q29032
SYSTEM
Did you mean Miloš Zeman ?
Q29032 Q57434 Q348896
(c(Q502895),P26,Q29032) (c(Q502895),P26,Q57434) (c(Q502895),P26,Q348896)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q29032'] [{'concept': 'Q502895'}, 'P26', 'Q57434'] [{'concept': 'Q502895'}, 'P26', 'Q348896']
SELECT DISTINCT ?u WHERE { resource:Q348896 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Miloš Zeman Václav Klaus Stanislav Gross
Did you mean Miloš Zeman ?
Miloš Zeman
[{'concept': 'common name'}, 'spouse', 'Miloš Zeman'] [{'concept': 'common name'}, 'spouse', 'Václav Klaus'] [{'concept': 'common name'}, 'spouse', 'Stanislav Gross']
SELECT DISTINCT ?u WHERE { resource:Stanislav_Gross property:spouse ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Stanislav Gross. Could you tell me the answer for that?
(c(Q502895),P26,Q348896)
Q348896
[{'concept': 'Q502895'}, 'P26', 'Q348896']
[{'concept': 'common name'}, 'spouse', 'Stanislav Gross']
[]
Q8082927
SYSTEM
Šárka Grossová
Q8082927
(c(Q502895),P26,Q348896)
action filter_type
action find
entity Q348896
relation P26
type Q502895
[ANSWER] has that one as spouse
[{'concept': 'Q502895'}, 'P26', 'Q348896']
SELECT DISTINCT ?u WHERE { resource:Q348896 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Šárka Grossová
Šárka Grossová has that one as spouse
Šárka Grossová
action filter_type
action find
entity Stanislav Gross
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Stanislav Gross']
SELECT DISTINCT ?u WHERE { resource:Stanislav_Gross property:spouse ?u . ?u rdf:type ontology:common_name }
[]