Simple Question (Direct)
Simple Question
Q12018951
P9
Q502895
USER
Who is the sister of Hana Dostalová ?
(Q12018951,P9,c(Q502895))
action filter_type
action find
entity Q12018951
relation P9
type Q502895
['Q12018951', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q12018951 property:P9 ?z . ?z rdf:type ontology:Q502895 }
Hana Dostalová
action filter_type
action find
entity Hana Dostalová
relation sister
type common name
['Hana Dostalová', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Hana_Dostalová property:sister ?z . ?z rdf:type ontology:common_name }
[]
common name
Q12033009
SYSTEM
Leopolda Dostalová
Q12033009
(Q12018951,P9,c(Q502895))
action filter_type
action find
entity Q12018951
relation P9
type Q502895
The sister of Hana Dostalová is the [ANSWER]
['Q12018951', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q12018951 property:P9 ?z . ?z rdf:type ontology:Q502895 }
Leopolda Dostalová
The sister of Hana Dostalová is the Leopolda Dostalová
Leopolda Dostalová
action filter_type
action find
entity Hana Dostalová
relation sister
type common name
['Hana Dostalová', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Hana_Dostalová property:sister ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12033009
P26
Q502895
USER
Which people are married to that one ?
(c(Q502895),P26,Q12033009)
action filter_type
action find
entity Q12033009
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q12033009']
SELECT DISTINCT ?v WHERE { resource:Q12033009 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Leopolda Dostalová
action filter_type
action find
entity Leopolda Dostalová
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Leopolda Dostalová']
SELECT DISTINCT ?v WHERE { resource:Leopolda_Dostalová property:spouse ?v . ?v rdf:type ontology:common_name }
[]
common name
Q21540376 Q12028179
SYSTEM
Václav Kliment, Karel Dvořák
Q21540376 Q12028179
(c(Q502895),P26,Q12033009)
action filter_type
action find
entity Q12033009
relation P26
type Q502895
[ANSWERS] are married to that one
[{'concept': 'Q502895'}, 'P26', 'Q12033009']
SELECT DISTINCT ?v WHERE { resource:Q12033009 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Václav Kliment Karel Dvořák
Václav Kliment and Karel Dvořák are married to that one
Václav Kliment Karel Dvořák
action filter_type
action find
entity Leopolda Dostalová
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Leopolda Dostalová']
SELECT DISTINCT ?v WHERE { resource:Leopolda_Dostalová property:spouse ?v . ?v rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q11356966
P26
Q502895
USER
Are Hiroshi Mifune the life partner of those ones ?
(Q11356966,P26,Q21540376) (Q11356966,P26,Q12028179)
action is_in
entity prev_answer
action find
entity Q11356966
relation P26
['Q11356966', 'P26', 'Q21540376'] ['Q11356966', 'P26', 'Q12028179']
ASK WHERE { VALUES ( ?a ) { ( resource:Q21540376 ) ( resource:Q12028179 ) } . resource:Q11356966 property:P26 ?a }
Hiroshi Mifune
action is_in
entity prev_answer
action find
entity Hiroshi Mifune
relation spouse
['Hiroshi Mifune', 'spouse', 'Václav Kliment'] ['Hiroshi Mifune', 'spouse', 'Karel Dvořák']
ASK WHERE { VALUES ( ?a ) { ( resource:Václav_Kliment ) ( resource:Karel_Dvořák ) } . resource:Hiroshi_Mifune property:spouse ?a }
[]
common name
SYSTEM
NO
(Q11356966,P26,Q21540376) (Q11356966,P26,Q12028179)
action is_in
entity prev_answer
action find
entity Q11356966
relation P26
[ANSWER]
['Q11356966', 'P26', 'Q21540376'] ['Q11356966', 'P26', 'Q12028179']
ASK WHERE { VALUES ( ?a ) { ( resource:Q21540376 ) ( resource:Q12028179 ) } . resource:Q11356966 property:P26 ?a }
No
action is_in
entity prev_answer
action find
entity Hiroshi Mifune
relation spouse
['Hiroshi Mifune', 'spouse', 'Václav Kliment'] ['Hiroshi Mifune', 'spouse', 'Karel Dvořák']
ASK WHERE { VALUES ( ?a ) { ( resource:Václav_Kliment ) ( resource:Karel_Dvořák ) } . resource:Hiroshi_Mifune property:spouse ?a }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q12033009
P9 P21
Q502895
USER
Which people had Leopolda Dostalová as their sibling and have male as the sex ?
AND((c(Q502895),P9,Q12033009), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q12033009
relation P9
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P9', 'Q12033009'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?a WHERE { ?a property:P9 resource:Q12033009 . ?a property:P21 resource:Q6581097 . ?a rdf:type ontology:Q502895 }
male Leopolda Dostalová
action filter_type
action intersection
action find_reverse
entity Leopolda Dostalová
relation sister
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sister', 'Leopolda Dostalová'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?a WHERE { ?a property:sister resource:Leopolda_Dostalová . ?a property:gender resource:male . ?a rdf:type ontology:common_name }
[]
common name
Q11735666 Q17487533
SYSTEM
Karel Dostal, Václav Dostal
Q11735666 Q17487533
AND((c(Q502895),P9,Q12033009), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q12033009
relation P9
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] had Leopolda Dostalová as their sibling and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P9', 'Q12033009'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?a WHERE { ?a property:P9 resource:Q12033009 . ?a property:P21 resource:Q6581097 . ?a rdf:type ontology:Q502895 }
Karel Dostal Václav Dostal
Karel Dostal and Václav Dostal had Leopolda Dostalová as their sibling and have male as the sex
Karel Dostal Václav Dostal
action filter_type
action intersection
action find_reverse
entity Leopolda Dostalová
relation sister
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sister', 'Leopolda Dostalová'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?a WHERE { ?a property:sister resource:Leopolda_Dostalová . ?a property:gender resource:male . ?a rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P20
Q56061
USER
How many administrative territories did that person expire ?
(Q11735666,P20,c(Q56061))
['Q11735666', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q11735666 property:Q18658526 ?z . ?z rdf:type ontology:Q56061 }
['Karel Dostal', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Karel_Dostal property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q11735666
SYSTEM
Did you mean Karel Dostal ?
(Q11735666,P20,c(Q56061)) (Q17487533,P20,c(Q56061))
[ANSWER]
['Q11735666', 'P20', {'concept': 'Q56061'}] ['Q17487533', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q11735666 property:Q18658526 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Karel Dostal ?
Karel Dostal
['Karel Dostal', 'place of death', {'concept': 'administrative territorial entity'}] ['Václav Dostal', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Karel_Dostal property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q11735666,P20,c(Q56061))
['Q11735666', 'P20', {'concept': 'Q56061'}]
['Karel Dostal', 'place of death', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
1
Q1085
(Q11735666,P20,c(Q56061))
[ANSWER]
['Q11735666', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q11735666 property:Q18658526 ?z . ?z rdf:type ontology:Q56061 }
Prague
1
['Karel Dostal', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Karel_Dostal property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8001954 Q12033009
P19
Q56061
USER
Which administrative territories were Leopolda Dostalová or Wilfrid Kent Hughes born in ?
OR((Q12033009,P19,c(Q56061)), (Q8001954,P19,c(Q56061)))
action filter_type
action union
action find
entity Q12033009
relation P19
action find
entity Q8001954
relation P19
type Q56061
{'OR': [['Q12033009', 'P19', {'concept': 'Q56061'}], ['Q8001954', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q12033009 property:P19 ?k } UNION { resource:Q8001954 property:P19 ?k } } . ?k rdf:type ontology:Q56061 }
Wilfrid Kent Hughes Leopolda Dostalová
action filter_type
action union
action find
entity Leopolda Dostalová
relation place of birth
action find
entity Wilfrid Kent Hughes
relation place of birth
type administrative territorial entity
{'OR': [['Leopolda Dostalová', 'place of birth', {'concept': 'administrative territorial entity'}], ['Wilfrid Kent Hughes', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Leopolda_Dostalová property:place_of_birth ?k } UNION { resource:Wilfrid_Kent_Hughes property:place_of_birth ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3141 Q1085
SYSTEM
Melbourne, Prague
Q3141 Q1085
OR((Q12033009,P19,c(Q56061)), (Q8001954,P19,c(Q56061)))
action filter_type
action union
action find
entity Q12033009
relation P19
action find
entity Q8001954
relation P19
type Q56061
Leopolda Dostalová or Wilfrid Kent Hughes were born in [ANSWERS]
{'OR': [['Q12033009', 'P19', {'concept': 'Q56061'}], ['Q8001954', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q12033009 property:P19 ?k } UNION { resource:Q8001954 property:P19 ?k } } . ?k rdf:type ontology:Q56061 }
Melbourne Prague
Leopolda Dostalová or Wilfrid Kent Hughes were born in Melbourne and Prague
Melbourne Prague
action filter_type
action union
action find
entity Leopolda Dostalová
relation place of birth
action find
entity Wilfrid Kent Hughes
relation place of birth
type administrative territorial entity
{'OR': [['Leopolda Dostalová', 'place of birth', {'concept': 'administrative territorial entity'}], ['Wilfrid Kent Hughes', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Leopolda_Dostalová property:place_of_birth ?k } UNION { resource:Wilfrid_Kent_Hughes property:place_of_birth ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q940156 Q17487533
P9
Q502895
USER
Which people are the sisters of Václav Dostal or Sancho, Count of Provence ?
OR((Q17487533,P9,c(Q502895)), (Q940156,P9,c(Q502895)))
action filter_type
action union
action find
entity Q17487533
relation P9
action find
entity Q940156
relation P9
type Q502895
{'OR': [['Q17487533', 'P9', {'concept': 'Q502895'}], ['Q940156', 'P9', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?t ) { ( resource:Q17487533 ) ( resource:Q940156 ) } . ?t property:P9 ?c } . ?c rdf:type ontology:Q502895 }
Sancho, Count of Provence Václav Dostal
action filter_type
action union
action find
entity Václav Dostal
relation sister
action find
entity Sancho, Count of Provence
relation sister
type common name
{'OR': [['Václav Dostal', 'sister', {'concept': 'common name'}], ['Sancho, Count of Provence', 'sister', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?t ) { ( resource:Václav_Dostal ) ( resource:Sancho,_Count_of_Provence ) } . ?t property:sister ?c } . ?c rdf:type ontology:common_name }
[]
common name
Q12033009 Q283312
SYSTEM
Leopolda Dostalová, Dulce of Aragon
Q12033009 Q283312
OR((Q17487533,P9,c(Q502895)), (Q940156,P9,c(Q502895)))
action filter_type
action union
action find
entity Q17487533
relation P9
action find
entity Q940156
relation P9
type Q502895
[ANSWERS] are the sisters of Václav Dostal or Sancho, Count of Provence
{'OR': [['Q17487533', 'P9', {'concept': 'Q502895'}], ['Q940156', 'P9', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?t ) { ( resource:Q17487533 ) ( resource:Q940156 ) } . ?t property:P9 ?c } . ?c rdf:type ontology:Q502895 }
Leopolda Dostalová Dulce of Aragon
Leopolda Dostalová and Dulce of Aragon are the sisters of Václav Dostal or Sancho, Count of Provence
Leopolda Dostalová Dulce of Aragon
action filter_type
action union
action find
entity Václav Dostal
relation sister
action find
entity Sancho, Count of Provence
relation sister
type common name
{'OR': [['Václav Dostal', 'sister', {'concept': 'common name'}], ['Sancho, Count of Provence', 'sister', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?t ) { ( resource:Václav_Dostal ) ( resource:Sancho,_Count_of_Provence ) } . ?t property:sister ?c } . ?c rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q12033009
P108
Q41176
USER
Which building is the employer of that person ?
(Q12033009,P108,c(Q41176))
action filter_type
action find
entity Q12033009
relation P108
type Q41176
['Q12033009', 'P108', {'concept': 'Q41176'}]
SELECT DISTINCT ?h WHERE { resource:Q12033009 property:P108 ?h . ?h rdf:type ontology:Q41176 }
Leopolda Dostalová
action filter_type
action find
entity Leopolda Dostalová
relation employer
type building
['Leopolda Dostalová', 'employer', {'concept': 'building'}]
SELECT DISTINCT ?h WHERE { resource:Leopolda_Dostalová property:employer ?h . ?h rdf:type ontology:building }
[]
building
Clarification for simple ques.
Q12033009
SYSTEM
Did you mean Leopolda Dostalová ?
Q12033009 Q283312
(Q12033009,P108,c(Q41176)) (Q283312,P108,c(Q41176))
[ANSWER]
['Q12033009', 'P108', {'concept': 'Q41176'}] ['Q283312', 'P108', {'concept': 'Q41176'}]
SELECT DISTINCT ?h WHERE { resource:Q12033009 property:P108 ?h . ?h rdf:type ontology:Q41176 }
Leopolda Dostalová Dulce of Aragon
Did you mean Leopolda Dostalová ?
Leopolda Dostalová
['Leopolda Dostalová', 'employer', {'concept': 'building'}] ['Dulce of Aragon', 'employer', {'concept': 'building'}]
SELECT DISTINCT ?h WHERE { resource:Leopolda_Dostalová property:employer ?h . ?h rdf:type ontology:building }
[]
Simple Question (Coreferenced)
USER
Yes
(Q12033009,P108,c(Q41176))
['Q12033009', 'P108', {'concept': 'Q41176'}]
['Leopolda Dostalová', 'employer', {'concept': 'building'}]
[]
Q732697
SYSTEM
National Theatre
Q732697
(Q12033009,P108,c(Q41176))
action filter_type
action find
entity Q12033009
relation P108
type Q41176
[ANSWER] is the employer of that person
['Q12033009', 'P108', {'concept': 'Q41176'}]
SELECT DISTINCT ?h WHERE { resource:Q12033009 property:P108 ?h . ?h rdf:type ontology:Q41176 }
National Theatre
National Theatre is the employer of that person
National Theatre
action filter_type
action find
entity Leopolda Dostalová
relation employer
type building
['Leopolda Dostalová', 'employer', {'concept': 'building'}]
SELECT DISTINCT ?h WHERE { resource:Leopolda_Dostalová property:employer ?h . ?h rdf:type ontology:building }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q732697 Q4776278
P108
Q502895
USER
Does Antonie Nedošinská work for that building ?
(Q4776278,P108,Q732697)
action is_in
entity Q732697
action find
entity Q4776278
relation P108
['Q4776278', 'P108', 'Q732697']
ASK WHERE { resource:Q4776278 property:P108 resource:Q732697 }
National Theatre Antonie Nedošinská
action is_in
entity National Theatre
action find
entity Antonie Nedošinská
relation employer
['Antonie Nedošinská', 'employer', 'National Theatre']
ASK WHERE { resource:Antonie_Nedošinská property:employer resource:National_Theatre }
[]
common name
SYSTEM
YES
(Q4776278,P108,Q732697)
action is_in
entity Q732697
action find
entity Q4776278
relation P108
[ANSWER]
['Q4776278', 'P108', 'Q732697']
ASK WHERE { resource:Q4776278 property:P108 resource:Q732697 }
Yes
action is_in
entity National Theatre
action find
entity Antonie Nedošinská
relation employer
['Antonie Nedošinská', 'employer', 'National Theatre']
ASK WHERE { resource:Antonie_Nedošinská property:employer resource:National_Theatre }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3141 Q408 Q1806964
P17
Q1048835
USER
Is Melbourne located in Australia and Morro Agudo de Goiás ?
(Q3141,P17,Q408) (Q3141,P17,Q1806964)
action is_in
entity Q3141
action intersection
action find_reverse
entity Q408
relation P17
action find_reverse
entity Q1806964
relation P17
['Q3141', 'P17', 'Q408'] ['Q3141', 'P17', 'Q1806964']
ASK WHERE { resource:Q3141 property:P17 resource:Q1806964 . resource:Q3141 property:P17 resource:Q408 }
Melbourne Australia Morro Agudo de Goiás
action is_in
entity Melbourne
action intersection
action find_reverse
entity Australia
relation country
action find_reverse
entity Morro Agudo de Goiás
relation country
['Melbourne', 'country', 'Australia'] ['Melbourne', 'country', 'Morro Agudo de Goiás']
ASK WHERE { resource:Melbourne property:country resource:Morro_Agudo_de_Goiás . resource:Melbourne property:country resource:Australia }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q3141,P17,Q408) (Q3141,P17,Q1806964)
action is_in
entity Q3141
action intersection
action find_reverse
entity Q408
relation P17
action find_reverse
entity Q1806964
relation P17
[ANSWER]
['Q3141', 'P17', 'Q408'] ['Q3141', 'P17', 'Q1806964']
ASK WHERE { resource:Q3141 property:P17 resource:Q1806964 . resource:Q3141 property:P17 resource:Q408 }
YES and NO respectively
action is_in
entity Melbourne
action intersection
action find_reverse
entity Australia
relation country
action find_reverse
entity Morro Agudo de Goiás
relation country
['Melbourne', 'country', 'Australia'] ['Melbourne', 'country', 'Morro Agudo de Goiás']
ASK WHERE { resource:Melbourne property:country resource:Morro_Agudo_de_Goiás . resource:Melbourne property:country resource:Australia }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q732697 Q213 Q6659653
P17
Q15617994
USER
Is National Theatre present in Czech Republic and Livingston Independent School District ?
(Q732697,P17,Q213) (Q732697,P17,Q6659653)
action is_in
entity Q732697
action intersection
action find_reverse
entity Q213
relation P17
action find_reverse
entity Q6659653
relation P17
['Q732697', 'P17', 'Q213'] ['Q732697', 'P17', 'Q6659653']
ASK WHERE { resource:Q732697 property:P17 resource:Q213 . resource:Q732697 property:P17 resource:Q6659653 }
National Theatre Czech Republic Livingston Independent School District
action is_in
entity National Theatre
action intersection
action find_reverse
entity Czech Republic
relation country
action find_reverse
entity Livingston Independent School District
relation country
['National Theatre', 'country', 'Czech Republic'] ['National Theatre', 'country', 'Livingston Independent School District']
ASK WHERE { resource:National_Theatre property:country resource:Czech_Republic . resource:National_Theatre property:country resource:Livingston_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q732697,P17,Q213) (Q732697,P17,Q6659653)
action is_in
entity Q732697
action intersection
action find_reverse
entity Q213
relation P17
action find_reverse
entity Q6659653
relation P17
[ANSWER]
['Q732697', 'P17', 'Q213'] ['Q732697', 'P17', 'Q6659653']
ASK WHERE { resource:Q732697 property:P17 resource:Q213 . resource:Q732697 property:P17 resource:Q6659653 }
YES and NO respectively
action is_in
entity National Theatre
action intersection
action find_reverse
entity Czech Republic
relation country
action find_reverse
entity Livingston Independent School District
relation country
['National Theatre', 'country', 'Czech Republic'] ['National Theatre', 'country', 'Livingston Independent School District']
ASK WHERE { resource:National_Theatre property:country resource:Czech_Republic . resource:National_Theatre property:country resource:Livingston_Independent_School_District }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12018951 Q1085
P20
Q56061
USER
Did Hana Dostalová die Prague ?
(Q12018951,P20,Q1085)
action is_in
entity Q1085
action find
entity Q12018951
relation P20
['Q12018951', 'P20', 'Q1085']
ASK WHERE { resource:Q12018951 property:P20 resource:Q1085 }
Hana Dostalová Prague
action is_in
entity Prague
action find
entity Hana Dostalová
relation place of death
['Hana Dostalová', 'place of death', 'Prague']
ASK WHERE { resource:Hana_Dostalová property:place_of_death resource:Prague }
[]
administrative territorial entity
SYSTEM
YES
(Q12018951,P20,Q1085)
action is_in
entity Q1085
action find
entity Q12018951
relation P20
[ANSWER]
['Q12018951', 'P20', 'Q1085']
ASK WHERE { resource:Q12018951 property:P20 resource:Q1085 }
Yes
action is_in
entity Prague
action find
entity Hana Dostalová
relation place of death
['Hana Dostalová', 'place of death', 'Prague']
ASK WHERE { resource:Hana_Dostalová property:place_of_death resource:Prague }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q283312
P25
Q502895
USER
Which people have Dulce of Aragon as mother ?
(c(Q502895),P25,Q283312)
action filter_type
action find_reverse
entity Q283312
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q283312']
SELECT DISTINCT ?j WHERE { ?j property:P25 resource:Q283312 . ?j rdf:type ontology:Q502895 }
Dulce of Aragon
action filter_type
action find_reverse
entity Dulce of Aragon
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Dulce of Aragon']
SELECT DISTINCT ?j WHERE { ?j property:mother resource:Dulce_of_Aragon . ?j rdf:type ontology:common_name }
[]
common name
Q296463 Q2594188 Q253571
SYSTEM
Afonso II of Portugal, Theresa of Portugal, Queen of León, Berengaria of Portugal
Q971207 Q296463 Q469622 Q2594188 Q4754729 Q253571 Q576323 Q2649986
(c(Q502895),P25,Q283312)
action filter_type
action find_reverse
entity Q283312
relation P25
type Q502895
[ANSWERS] have Dulce of Aragon as mother
[{'concept': 'Q502895'}, 'P25', 'Q283312']
SELECT DISTINCT ?j WHERE { ?j property:P25 resource:Q283312 . ?j rdf:type ontology:Q502895 }
Peter I, Count of Urgell Afonso II of Portugal Ferdinand, Count of Flanders Theresa of Portugal, Queen of León Infanta Branca, Lady of Guadalajara Berengaria of Portugal Mafalda of Portugal Sancha, Lady of Alenquer
Afonso II of Portugal, Theresa of Portugal, Queen of León and Berengaria of Portugal have Dulce of Aragon as mother
Afonso II of Portugal Theresa of Portugal, Queen of León Berengaria of Portugal
action filter_type
action find_reverse
entity Dulce of Aragon
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Dulce of Aragon']
SELECT DISTINCT ?j WHERE { ?j property:mother resource:Dulce_of_Aragon . ?j rdf:type ontology:common_name }
[]