Simple Question (Direct)
Simple Question
Q1149150
P40
Q502895
USER
Who are an offsprings of Yang Xingmi ?
(Q1149150,P40,c(Q502895))
action filter_type
action find
entity Q1149150
relation P40
type Q502895
['Q1149150', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q1149150 property:P40 ?i . ?i rdf:type ontology:Q502895 }
Yang Xingmi
action filter_type
action find
entity Yang Xingmi
relation child
type common name
['Yang Xingmi', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Yang_Xingmi property:child ?i . ?i rdf:type ontology:common_name }
[]
common name
Q6596990 Q842237 Q5195385
SYSTEM
Yang Pu, Yang Longyan, Yang Wo
Q5195385 Q6596990 Q842237 Q5195462
(Q1149150,P40,c(Q502895))
action filter_type
action find
entity Q1149150
relation P40
type Q502895
An offsprings of Yang Xingmi are [ANSWERS]
['Q1149150', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q1149150 property:P40 ?i . ?i rdf:type ontology:Q502895 }
Yang Wo Yang Pu Yang Longyan Yang Meng
An offsprings of Yang Xingmi are Yang Pu, Yang Longyan and Yang Wo
Yang Pu Yang Longyan Yang Wo
action filter_type
action find
entity Yang Xingmi
relation child
type common name
['Yang Xingmi', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Yang_Xingmi property:child ?i . ?i rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5195385
P25
Q502895
USER
Who was the mother of that one ?
(Q5195385,P25,c(Q502895))
action filter_type
action find
entity Q5195385
relation P25
type Q502895
['Q5195385', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q5195385 property:P25 ?j . ?j rdf:type ontology:Q502895 }
Yang Wo
action filter_type
action find
entity Yang Wo
relation mother
type common name
['Yang Wo', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Yang_Wo property:mother ?j . ?j rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q842237
SYSTEM
Did you mean Yang Longyan ?
Q6596990 Q842237 Q5195385
(Q6596990,P25,c(Q502895)) (Q842237,P25,c(Q502895)) (Q5195385,P25,c(Q502895))
[ANSWER]
['Q6596990', 'P25', {'concept': 'Q502895'}] ['Q842237', 'P25', {'concept': 'Q502895'}] ['Q5195385', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q5195385 property:P25 ?j . ?j rdf:type ontology:Q502895 }
Yang Pu Yang Longyan Yang Wo
Did you mean Yang Longyan ?
Yang Longyan
['Yang Pu', 'mother', {'concept': 'common name'}] ['Yang Longyan', 'mother', {'concept': 'common name'}] ['Yang Wo', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Yang_Wo property:mother ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Yang Wo. Could you tell me the answer for that?
(Q5195385,P25,c(Q502895))
Q5195385
['Q5195385', 'P25', {'concept': 'Q502895'}]
['Yang Wo', 'mother', {'concept': 'common name'}]
[]
Q5195321
SYSTEM
Queen Dowager Shi
Q5195321
(Q5195385,P25,c(Q502895))
action filter_type
action find
entity Q5195385
relation P25
type Q502895
The mother of that one was the [ANSWER]
['Q5195385', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q5195385 property:P25 ?j . ?j rdf:type ontology:Q502895 }
Queen Dowager Shi
The mother of that one was the Queen Dowager Shi
Queen Dowager Shi
action filter_type
action find
entity Yang Wo
relation mother
type common name
['Yang Wo', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Yang_Wo property:mother ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5195385
P7
Q502895
USER
Which people have Yang Wo as their brother ?
(c(Q502895),P7,Q5195385)
action filter_type
action find
entity Q5195385
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q5195385']
SELECT DISTINCT ?y WHERE { resource:Q5195385 property:P7 ?y . ?y rdf:type ontology:Q502895 }
Yang Wo
action filter_type
action find
entity Yang Wo
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Yang Wo']
SELECT DISTINCT ?y WHERE { resource:Yang_Wo property:brother ?y . ?y rdf:type ontology:common_name }
[]
common name
Q6596990 Q842237 Q5195462
SYSTEM
Yang Pu, Yang Longyan, Yang Meng
Q6596990 Q842237 Q5195462
(c(Q502895),P7,Q5195385)
action filter_type
action find
entity Q5195385
relation P7
type Q502895
[ANSWERS] have Yang Wo as their brother
[{'concept': 'Q502895'}, 'P7', 'Q5195385']
SELECT DISTINCT ?y WHERE { resource:Q5195385 property:P7 ?y . ?y rdf:type ontology:Q502895 }
Yang Pu Yang Longyan Yang Meng
Yang Pu, Yang Longyan and Yang Meng have Yang Wo as their brother
Yang Pu Yang Longyan Yang Meng
action filter_type
action find
entity Yang Wo
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Yang Wo']
SELECT DISTINCT ?y WHERE { resource:Yang_Wo property:brother ?y . ?y rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q842237
P25
Q502895
USER
Which person was the mother of that one ?
(Q842237,P25,c(Q502895))
action filter_type
action find
entity Q842237
relation P25
type Q502895
['Q842237', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q842237 property:P25 ?w . ?w rdf:type ontology:Q502895 }
Yang Longyan
action filter_type
action find
entity Yang Longyan
relation mother
type common name
['Yang Longyan', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Yang_Longyan property:mother ?w . ?w rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q6596990
SYSTEM
Did you mean Yang Pu ?
Q6596990 Q842237 Q5195462
(Q6596990,P25,c(Q502895)) (Q842237,P25,c(Q502895)) (Q5195462,P25,c(Q502895))
[ANSWER]
['Q6596990', 'P25', {'concept': 'Q502895'}] ['Q842237', 'P25', {'concept': 'Q502895'}] ['Q5195462', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q842237 property:P25 ?w . ?w rdf:type ontology:Q502895 }
Yang Pu Yang Longyan Yang Meng
Did you mean Yang Pu ?
Yang Pu
['Yang Pu', 'mother', {'concept': 'common name'}] ['Yang Longyan', 'mother', {'concept': 'common name'}] ['Yang Meng', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Yang_Longyan property:mother ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Yang Longyan. Could you tell me the answer for that?
(Q842237,P25,c(Q502895))
Q842237
['Q842237', 'P25', {'concept': 'Q502895'}]
['Yang Longyan', 'mother', {'concept': 'common name'}]
[]
Q5195321
SYSTEM
Queen Dowager Shi
Q5195321
(Q842237,P25,c(Q502895))
action filter_type
action find
entity Q842237
relation P25
type Q502895
[ANSWER] was the mother of that one
['Q842237', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q842237 property:P25 ?w . ?w rdf:type ontology:Q502895 }
Queen Dowager Shi
Queen Dowager Shi was the mother of that one
Queen Dowager Shi
action filter_type
action find
entity Yang Longyan
relation mother
type common name
['Yang Longyan', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Yang_Longyan property:mother ?w . ?w rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q446240 Q842237
P7
Q502895
USER
Which people are Yang Longyan or Maria Kunigunde of Saxony a sibling of ?
OR((Q842237,P7,c(Q502895)), (Q446240,P7,c(Q502895)))
action filter_type
action union
action find
entity Q842237
relation P7
action find
entity Q446240
relation P7
type Q502895
{'OR': [['Q842237', 'P7', {'concept': 'Q502895'}], ['Q446240', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q446240 property:P7 ?n } UNION { resource:Q842237 property:P7 ?n } } . ?n rdf:type ontology:Q502895 }
Maria Kunigunde of Saxony Yang Longyan
action filter_type
action union
action find
entity Yang Longyan
relation brother
action find
entity Maria Kunigunde of Saxony
relation brother
type common name
{'OR': [['Yang Longyan', 'brother', {'concept': 'common name'}], ['Maria Kunigunde of Saxony', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Maria_Kunigunde_of_Saxony property:brother ?n } UNION { resource:Yang_Longyan property:brother ?n } } . ?n rdf:type ontology:common_name }
[]
common name
Q215988 Q60657 Q5195462 Q63605 Q6596990 Q58020 Q5195385 Q565780
SYSTEM
Charles of Saxony, Duke of Courland, Albert Casimir, Duke of Teschen, Yang Meng, Prince Francis Xavier of Saxony, Yang Pu, Frederick Christian, Elector of Saxony, Yang Wo, Prince Clemens Wenceslaus of Saxony
Q215988 Q60657 Q5195462 Q63605 Q6596990 Q58020 Q5195385 Q565780
OR((Q842237,P7,c(Q502895)), (Q446240,P7,c(Q502895)))
action filter_type
action union
action find
entity Q842237
relation P7
action find
entity Q446240
relation P7
type Q502895
[ANSWERS] are Yang Longyan or Maria Kunigunde of Saxony a sibling of
{'OR': [['Q842237', 'P7', {'concept': 'Q502895'}], ['Q446240', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q446240 property:P7 ?n } UNION { resource:Q842237 property:P7 ?n } } . ?n rdf:type ontology:Q502895 }
Charles of Saxony, Duke of Courland Albert Casimir, Duke of Teschen Yang Meng Prince Francis Xavier of Saxony Yang Pu Frederick Christian, Elector of Saxony Yang Wo Prince Clemens Wenceslaus of Saxony
Charles of Saxony, Duke of Courland, Albert Casimir, Duke of Teschen, Yang Meng, Prince Francis Xavier of Saxony, Yang Pu, Frederick Christian, Elector of Saxony, Yang Wo and Prince Clemens Wenceslaus of Saxony are Yang Longyan or Maria Kunigunde of Saxony a sibling of
Charles of Saxony, Duke of Courland Albert Casimir, Duke of Teschen Yang Meng Prince Francis Xavier of Saxony Yang Pu Frederick Christian, Elector of Saxony Yang Wo Prince Clemens Wenceslaus of Saxony
action filter_type
action union
action find
entity Yang Longyan
relation brother
action find
entity Maria Kunigunde of Saxony
relation brother
type common name
{'OR': [['Yang Longyan', 'brother', {'concept': 'common name'}], ['Maria Kunigunde of Saxony', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Maria_Kunigunde_of_Saxony property:brother ?n } UNION { resource:Yang_Longyan property:brother ?n } } . ?n rdf:type ontology:common_name }
[]