Simple Question (Direct)
Simple Question
Q361663
P25
Q502895
USER
Who was the mom of Adolf Frederick I, Duke of Mecklenburg ?
(Q361663,P25,c(Q502895))
action filter_type
action find
entity Q361663
relation P25
type Q502895
['Q361663', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q361663 property:P25 ?q . ?q rdf:type ontology:Q502895 }
Adolf Frederick I, Duke of Mecklenburg
action filter_type
action find
entity Adolf Frederick I, Duke of Mecklenburg
relation mother
type common name
['Adolf Frederick I, Duke of Mecklenburg', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Adolf_Frederick_I,_Duke_of_Mecklenburg property:mother ?q . ?q rdf:type ontology:common_name }
[]
common name
Q67764
SYSTEM
Sophia of Holstein-Gottorp
Q67764
(Q361663,P25,c(Q502895))
action filter_type
action find
entity Q361663
relation P25
type Q502895
The mom of Adolf Frederick I , Duke of Mecklenburg was Princess [ANSWER]
['Q361663', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q361663 property:P25 ?q . ?q rdf:type ontology:Q502895 }
Sophia of Holstein-Gottorp
The mom of Adolf Frederick I , Duke of Mecklenburg was Princess Sophia of Holstein-Gottorp
Sophia of Holstein-Gottorp
action filter_type
action find
entity Adolf Frederick I, Duke of Mecklenburg
relation mother
type common name
['Adolf Frederick I, Duke of Mecklenburg', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Adolf_Frederick_I,_Duke_of_Mecklenburg property:mother ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q361663
P7
Q502895
USER
Which person has Adolf Frederick I, Duke of Mecklenburg as their brother ?
(c(Q502895),P7,Q361663)
action filter_type
action find
entity Q361663
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q361663']
SELECT DISTINCT ?s WHERE { resource:Q361663 property:P7 ?s . ?s rdf:type ontology:Q502895 }
Adolf Frederick I, Duke of Mecklenburg
action filter_type
action find
entity Adolf Frederick I, Duke of Mecklenburg
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Adolf Frederick I, Duke of Mecklenburg']
SELECT DISTINCT ?s WHERE { resource:Adolf_Frederick_I,_Duke_of_Mecklenburg property:brother ?s . ?s rdf:type ontology:common_name }
[]
common name
Q571404
SYSTEM
John Albert II, Duke of Mecklenburg
Q571404
(c(Q502895),P7,Q361663)
action filter_type
action find
entity Q361663
relation P7
type Q502895
[ANSWER] has Adolf Frederick I, Duke of Mecklenburg as their brother
[{'concept': 'Q502895'}, 'P7', 'Q361663']
SELECT DISTINCT ?s WHERE { resource:Q361663 property:P7 ?s . ?s rdf:type ontology:Q502895 }
John Albert II, Duke of Mecklenburg
John Albert II, Duke of Mecklenburg has Adolf Frederick I, Duke of Mecklenburg as their brother
John Albert II, Duke of Mecklenburg
action filter_type
action find
entity Adolf Frederick I, Duke of Mecklenburg
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Adolf Frederick I, Duke of Mecklenburg']
SELECT DISTINCT ?s WHERE { resource:Adolf_Frederick_I,_Duke_of_Mecklenburg property:brother ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q571404
P22
Q502895
USER
Who was the father of that one ?
(Q571404,P22,c(Q502895))
action filter_type
action find
entity Q571404
relation P22
type Q502895
['Q571404', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q571404 property:P22 ?n . ?n rdf:type ontology:Q502895 }
John Albert II, Duke of Mecklenburg
action filter_type
action find
entity John Albert II, Duke of Mecklenburg
relation father
type common name
['John Albert II, Duke of Mecklenburg', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:John_Albert_II,_Duke_of_Mecklenburg property:father ?n . ?n rdf:type ontology:common_name }
[]
common name
Q571387
SYSTEM
Johann VII, Duke of Mecklenburg
Q571387
(Q571404,P22,c(Q502895))
action filter_type
action find
entity Q571404
relation P22
type Q502895
The father of that one was Duke [ANSWER]
['Q571404', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q571404 property:P22 ?n . ?n rdf:type ontology:Q502895 }
Johann VII, Duke of Mecklenburg
The father of that one was Duke Johann VII, Duke of Mecklenburg
Johann VII, Duke of Mecklenburg
action filter_type
action find
entity John Albert II, Duke of Mecklenburg
relation father
type common name
['John Albert II, Duke of Mecklenburg', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:John_Albert_II,_Duke_of_Mecklenburg property:father ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q571387
P40
Q502895
USER
Who have that one as a child ?
(c(Q502895),P40,Q571387)
action filter_type
action find_reverse
entity Q571387
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q571387']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P40 resource:Q571387 }
Johann VII, Duke of Mecklenburg
action filter_type
action find_reverse
entity Johann VII, Duke of Mecklenburg
relation child
type common name
[{'concept': 'common name'}, 'child', 'Johann VII, Duke of Mecklenburg']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:child resource:Johann_VII,_Duke_of_Mecklenburg }
[]
common name
Q70786 Q668049
SYSTEM
Anna Sophia of Prussia, John Albert I, Duke of Mecklenburg
Q70786 Q668049
(c(Q502895),P40,Q571387)
action filter_type
action find_reverse
entity Q571387
relation P40
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P40', 'Q571387']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P40 resource:Q571387 }
Anna Sophia of Prussia John Albert I, Duke of Mecklenburg
Anna Sophia of Prussia and John Albert I, Duke of Mecklenburg have that one as a child
Anna Sophia of Prussia John Albert I, Duke of Mecklenburg
action filter_type
action find_reverse
entity Johann VII, Duke of Mecklenburg
relation child
type common name
[{'concept': 'common name'}, 'child', 'Johann VII, Duke of Mecklenburg']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:child resource:Johann_VII,_Duke_of_Mecklenburg }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q571404
P26
Q502895
USER
Who are married to John Albert II, Duke of Mecklenburg ?
(c(Q502895),P26,Q571404)
action filter_type
action find
entity Q571404
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q571404']
SELECT DISTINCT ?l WHERE { resource:Q571404 property:P26 ?l . ?l rdf:type ontology:Q502895 }
John Albert II, Duke of Mecklenburg
action filter_type
action find
entity John Albert II, Duke of Mecklenburg
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'John Albert II, Duke of Mecklenburg']
SELECT DISTINCT ?l WHERE { resource:John_Albert_II,_Duke_of_Mecklenburg property:spouse ?l . ?l rdf:type ontology:common_name }
[]
common name
Q329213 Q91712 Q6204546
SYSTEM
Elizabeth of Hesse-Kassel, Duchess of Mecklenburg, Eleonore Marie of Anhalt-Bernburg, Margaret Elizabeth of Mecklenburg
Q329213 Q91712 Q6204546
(c(Q502895),P26,Q571404)
action filter_type
action find
entity Q571404
relation P26
type Q502895
[ANSWERS] are married to John Albert II, Duke of Mecklenburg
[{'concept': 'Q502895'}, 'P26', 'Q571404']
SELECT DISTINCT ?l WHERE { resource:Q571404 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Elizabeth of Hesse-Kassel, Duchess of Mecklenburg Eleonore Marie of Anhalt-Bernburg Margaret Elizabeth of Mecklenburg
Elizabeth of Hesse-Kassel, Duchess of Mecklenburg, Eleonore Marie of Anhalt-Bernburg and Margaret Elizabeth of Mecklenburg are married to John Albert II, Duke of Mecklenburg
Elizabeth of Hesse-Kassel, Duchess of Mecklenburg Eleonore Marie of Anhalt-Bernburg Margaret Elizabeth of Mecklenburg
action filter_type
action find
entity John Albert II, Duke of Mecklenburg
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'John Albert II, Duke of Mecklenburg']
SELECT DISTINCT ?l WHERE { resource:John_Albert_II,_Duke_of_Mecklenburg property:spouse ?l . ?l rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q329213
P9
Q502895
USER
Who are the sisters of that one ?
(Q329213,P9,c(Q502895))
action filter_type
action find
entity Q329213
relation P9
type Q502895
['Q329213', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q329213 property:P9 ?j . ?j rdf:type ontology:Q502895 }
Elizabeth of Hesse-Kassel, Duchess of Mecklenburg
action filter_type
action find
entity Elizabeth of Hesse-Kassel, Duchess of Mecklenburg
relation sister
type common name
['Elizabeth of Hesse-Kassel, Duchess of Mecklenburg', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Elizabeth_of_Hesse-Kassel,_Duchess_of_Mecklenburg property:sister ?j . ?j rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q91712
SYSTEM
Did you mean Eleonore Marie of Anhalt-Bernburg ?
Q329213 Q91712 Q6204546
(Q329213,P9,c(Q502895)) (Q91712,P9,c(Q502895)) (Q6204546,P9,c(Q502895))
[ANSWER]
['Q329213', 'P9', {'concept': 'Q502895'}] ['Q91712', 'P9', {'concept': 'Q502895'}] ['Q6204546', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q329213 property:P9 ?j . ?j rdf:type ontology:Q502895 }
Elizabeth of Hesse-Kassel, Duchess of Mecklenburg Eleonore Marie of Anhalt-Bernburg Margaret Elizabeth of Mecklenburg
Did you mean Eleonore Marie of Anhalt-Bernburg ?
Eleonore Marie of Anhalt-Bernburg
['Elizabeth of Hesse-Kassel, Duchess of Mecklenburg', 'sister', {'concept': 'common name'}] ['Eleonore Marie of Anhalt-Bernburg', 'sister', {'concept': 'common name'}] ['Margaret Elizabeth of Mecklenburg', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Elizabeth_of_Hesse-Kassel,_Duchess_of_Mecklenburg property:sister ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Elizabeth of Hesse-Kassel, Duchess of Mecklenburg. Could you tell me the answer for that?
(Q329213,P9,c(Q502895))
Q329213
['Q329213', 'P9', {'concept': 'Q502895'}]
['Elizabeth of Hesse-Kassel, Duchess of Mecklenburg', 'sister', {'concept': 'common name'}]
[]
Q1883839 Q394750 Q2302904
SYSTEM
Magdalene von Hessen-Kassel, Agnes of Hesse-Kassel, Landgravine Sophie of Hesse-Kassel
Q1883839 Q394750 Q2302904
(Q329213,P9,c(Q502895))
action filter_type
action find
entity Q329213
relation P9
type Q502895
The sisters of that one are Princess [ANSWERS]
['Q329213', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q329213 property:P9 ?j . ?j rdf:type ontology:Q502895 }
Magdalene von Hessen-Kassel Agnes of Hesse-Kassel Landgravine Sophie of Hesse-Kassel
The sisters of that one are Princess Magdalene von Hessen-Kassel, Agnes of Hesse-Kassel and Landgravine Sophie of Hesse-Kassel
Magdalene von Hessen-Kassel Agnes of Hesse-Kassel Landgravine Sophie of Hesse-Kassel
action filter_type
action find
entity Elizabeth of Hesse-Kassel, Duchess of Mecklenburg
relation sister
type common name
['Elizabeth of Hesse-Kassel, Duchess of Mecklenburg', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Elizabeth_of_Hesse-Kassel,_Duchess_of_Mecklenburg property:sister ?j . ?j rdf:type ontology:common_name }
[]