Simple Question (Direct)
Simple Question
Q452660
P26
Q502895
USER
Which people are the life partner of Beatrice de Fraangepan ?
(Q452660,P26,c(Q502895))
action filter_type
action find
entity Q452660
relation P26
type Q502895
['Q452660', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q452660 property:P26 ?x . ?x rdf:type ontology:Q502895 }
Beatrice de Fraangepan
action filter_type
action find
entity Beatrice de Fraangepan
relation spouse
type common name
['Beatrice de Fraangepan', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Beatrice_de_Fraangepan property:spouse ?x . ?x rdf:type ontology:common_name }
[]
common name
Q166466 Q384941
SYSTEM
John Corvinus, George, Margrave of Brandenburg-Ansbach
Q166466 Q384941
(Q452660,P26,c(Q502895))
action filter_type
action find
entity Q452660
relation P26
type Q502895
[ANSWERS]
['Q452660', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q452660 property:P26 ?x . ?x rdf:type ontology:Q502895 }
John Corvinus George, Margrave of Brandenburg-Ansbach
John Corvinus and George, Margrave of Brandenburg-Ansbach are the life partner of Beatrice de Fraangepan
John Corvinus George, Margrave of Brandenburg-Ansbach
action filter_type
action find
entity Beatrice de Fraangepan
relation spouse
type common name
['Beatrice de Fraangepan', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Beatrice_de_Fraangepan property:spouse ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q166466 Q384941
P26
Q502895
USER
Which people are the life partner of those ones ?
(c(Q502895),P26,Q166466) (c(Q502895),P26,Q384941)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q166466'] [{'concept': 'Q502895'}, 'P26', 'Q384941']
SELECT DISTINCT ?k WHERE { VALUES ( ?l ) { ( resource:Q166466 ) ( resource:Q384941 ) } . ?l property:P26 ?k . ?k rdf:type ontology:Q502895 }
John Corvinus George, Margrave of Brandenburg-Ansbach
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'John Corvinus'] [{'concept': 'common name'}, 'spouse', 'George, Margrave of Brandenburg-Ansbach']
SELECT DISTINCT ?k WHERE { VALUES ( ?l ) { ( resource:John_Corvinus ) ( resource:George,_Margrave_of_Brandenburg-Ansbach ) } . ?l property:spouse ?k . ?k rdf:type ontology:common_name }
[]
common name
Q380868 Q524093 Q452660
SYSTEM
Emilie of Saxony, Hedwig of Münsterberg-Oels, Beatrice de Fraangepan
Q452660 Q524093 Q380868 Q452660
(c(Q502895),P26,Q166466) (c(Q502895),P26,Q384941)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[ANSWERS] are the life partner of those ones
[{'concept': 'Q502895'}, 'P26', 'Q166466'] [{'concept': 'Q502895'}, 'P26', 'Q384941']
SELECT DISTINCT ?k WHERE { VALUES ( ?l ) { ( resource:Q166466 ) ( resource:Q384941 ) } . ?l property:P26 ?k . ?k rdf:type ontology:Q502895 }
Beatrice de Fraangepan Hedwig of Münsterberg-Oels Emilie of Saxony Beatrice de Fraangepan
Emilie of Saxony, Hedwig of Münsterberg-Oels and Beatrice de Fraangepan are the life partner of those ones
Emilie of Saxony Hedwig of Münsterberg-Oels Beatrice de Fraangepan
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'John Corvinus'] [{'concept': 'common name'}, 'spouse', 'George, Margrave of Brandenburg-Ansbach']
SELECT DISTINCT ?k WHERE { VALUES ( ?l ) { ( resource:John_Corvinus ) ( resource:George,_Margrave_of_Brandenburg-Ansbach ) } . ?l property:spouse ?k . ?k rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q524093
P9
Q502895
USER
Which people have that one as their sibling ?
(c(Q502895),P9,Q524093)
action filter_type
action find_reverse
entity Q524093
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q524093']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P9 resource:Q524093 }
Hedwig of Münsterberg-Oels
action filter_type
action find_reverse
entity Hedwig of Münsterberg-Oels
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Hedwig of Münsterberg-Oels']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:sister resource:Hedwig_of_Münsterberg-Oels }
[]
common name
Clarification for simple ques.
Q380868
SYSTEM
Did you mean Emilie of Saxony ?
Q380868 Q524093 Q452660
(c(Q502895),P9,Q380868) (c(Q502895),P9,Q524093) (c(Q502895),P9,Q452660)
[ANSWER]
[{'concept': 'Q502895'}, 'P9', 'Q380868'] [{'concept': 'Q502895'}, 'P9', 'Q524093'] [{'concept': 'Q502895'}, 'P9', 'Q452660']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P9 resource:Q524093 }
Emilie of Saxony Hedwig of Münsterberg-Oels Beatrice de Fraangepan
Did you mean Emilie of Saxony ?
Emilie of Saxony
[{'concept': 'common name'}, 'sister', 'Emilie of Saxony'] [{'concept': 'common name'}, 'sister', 'Hedwig of Münsterberg-Oels'] [{'concept': 'common name'}, 'sister', 'Beatrice de Fraangepan']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:sister resource:Hedwig_of_Münsterberg-Oels }
[]
Simple Question (Coreferenced)
USER
No, I meant Hedwig of Münsterberg-Oels. Could you tell me the answer for that?
(c(Q502895),P9,Q524093)
Q524093
[{'concept': 'Q502895'}, 'P9', 'Q524093']
[{'concept': 'common name'}, 'sister', 'Hedwig of Münsterberg-Oels']
[]
Q828213 Q328017 Q827873
SYSTEM
George II, Duke of Münsterberg-Oels, Henry II, Duke of Münsterberg-Oels, John, Duke of Münsterberg-Oels
Q328017 Q828213 Q1689932 Q827873
(c(Q502895),P9,Q524093)
action filter_type
action find_reverse
entity Q524093
relation P9
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P9', 'Q524093']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P9 resource:Q524093 }
Henry II, Duke of Münsterberg-Oels George II, Duke of Münsterberg-Oels Joachim of Münsterberg-Oels John, Duke of Münsterberg-Oels
George II, Duke of Münsterberg-Oels, Henry II, Duke of Münsterberg-Oels and John, Duke of Münsterberg-Oels have that one as their sibling
George II, Duke of Münsterberg-Oels Henry II, Duke of Münsterberg-Oels John, Duke of Münsterberg-Oels
action filter_type
action find_reverse
entity Hedwig of Münsterberg-Oels
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Hedwig of Münsterberg-Oels']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:sister resource:Hedwig_of_Münsterberg-Oels }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4767658
P40
Q502895
USER
Do Anna of Sagan have those ones as a child ?
(Q4767658,P40,Q828213) (Q4767658,P40,Q328017) (Q4767658,P40,Q827873)
action is_in
entity prev_answer
action find
entity Q4767658
relation P40
['Q4767658', 'P40', 'Q828213'] ['Q4767658', 'P40', 'Q328017'] ['Q4767658', 'P40', 'Q827873']
ASK WHERE { VALUES ( ?q ) { ( resource:Q328017 ) ( resource:Q828213 ) ( resource:Q1689932 ) } . resource:Q4767658 property:P40 ?q }
Anna of Sagan
action is_in
entity prev_answer
action find
entity Anna of Sagan
relation child
['Anna of Sagan', 'child', 'George II, Duke of Münsterberg-Oels'] ['Anna of Sagan', 'child', 'Henry II, Duke of Münsterberg-Oels'] ['Anna of Sagan', 'child', 'John, Duke of Münsterberg-Oels']
ASK WHERE { VALUES ( ?q ) { ( resource:Henry_II,_Duke_of_Münsterberg-Oels ) ( resource:George_II,_Duke_of_Münsterberg-Oels ) ( resource:Joachim_of_Münsterberg-Oels ) } . resource:Anna_of_Sagan property:child ?q }
[]
common name
SYSTEM
YES
(Q4767658,P40,Q828213) (Q4767658,P40,Q328017) (Q4767658,P40,Q827873)
action is_in
entity prev_answer
action find
entity Q4767658
relation P40
[ANSWER]
['Q4767658', 'P40', 'Q828213'] ['Q4767658', 'P40', 'Q328017'] ['Q4767658', 'P40', 'Q827873']
ASK WHERE { VALUES ( ?q ) { ( resource:Q328017 ) ( resource:Q828213 ) ( resource:Q1689932 ) } . resource:Q4767658 property:P40 ?q }
Yes
action is_in
entity prev_answer
action find
entity Anna of Sagan
relation child
['Anna of Sagan', 'child', 'George II, Duke of Münsterberg-Oels'] ['Anna of Sagan', 'child', 'Henry II, Duke of Münsterberg-Oels'] ['Anna of Sagan', 'child', 'John, Duke of Münsterberg-Oels']
ASK WHERE { VALUES ( ?q ) { ( resource:Henry_II,_Duke_of_Münsterberg-Oels ) ( resource:George_II,_Duke_of_Münsterberg-Oels ) ( resource:Joachim_of_Münsterberg-Oels ) } . resource:Anna_of_Sagan property:child ?q }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q828213 Q14077 Q553134
P22
Q502895
USER
Does George II, Duke of Münsterberg-Oels have Juana Manuela Gorriti and Charles I, Duke of Münsterberg-Oels as a parent ?
(Q828213,P22,Q14077) (Q828213,P22,Q553134)
action is_in
entity Q828213
action intersection
action find_reverse
entity Q14077
relation P22
action find_reverse
entity Q553134
relation P22
['Q828213', 'P22', 'Q14077'] ['Q828213', 'P22', 'Q553134']
ASK WHERE { resource:Q828213 property:P22 resource:Q14077 . resource:Q828213 property:P22 resource:Q553134 }
George II, Duke of Münsterberg-Oels Juana Manuela Gorriti Charles I, Duke of Münsterberg-Oels
action is_in
entity George II, Duke of Münsterberg-Oels
action intersection
action find_reverse
entity Juana Manuela Gorriti
relation father
action find_reverse
entity Charles I, Duke of Münsterberg-Oels
relation father
['George II, Duke of Münsterberg-Oels', 'father', 'Juana Manuela Gorriti'] ['George II, Duke of Münsterberg-Oels', 'father', 'Charles I, Duke of Münsterberg-Oels']
ASK WHERE { resource:George_II,_Duke_of_Münsterberg-Oels property:father resource:Juana_Manuela_Gorriti . resource:George_II,_Duke_of_Münsterberg-Oels property:father resource:Charles_I,_Duke_of_Münsterberg-Oels }
[]
common name
SYSTEM
NO and YES respectively
(Q828213,P22,Q14077) (Q828213,P22,Q553134)
action is_in
entity Q828213
action intersection
action find_reverse
entity Q14077
relation P22
action find_reverse
entity Q553134
relation P22
[ANSWER]
['Q828213', 'P22', 'Q14077'] ['Q828213', 'P22', 'Q553134']
ASK WHERE { resource:Q828213 property:P22 resource:Q14077 . resource:Q828213 property:P22 resource:Q553134 }
NO and YES respectively
action is_in
entity George II, Duke of Münsterberg-Oels
action intersection
action find_reverse
entity Juana Manuela Gorriti
relation father
action find_reverse
entity Charles I, Duke of Münsterberg-Oels
relation father
['George II, Duke of Münsterberg-Oels', 'father', 'Juana Manuela Gorriti'] ['George II, Duke of Münsterberg-Oels', 'father', 'Charles I, Duke of Münsterberg-Oels']
ASK WHERE { resource:George_II,_Duke_of_Münsterberg-Oels property:father resource:Juana_Manuela_Gorriti . resource:George_II,_Duke_of_Münsterberg-Oels property:father resource:Charles_I,_Duke_of_Münsterberg-Oels }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21195665 Q384941
P50 P7
Q502895
USER
Which people are the brothers of George, Margrave of Brandenburg-Ansbach or authored Detailed analysis of the variability of peptidylarginine deiminase type 4 in German patients with rheumatoid arthritis: a case-control study ?
OR((Q384941,P7,c(Q502895)), (Q21195665,P50,c(Q502895)))
action filter_type
action union
action find
entity Q384941
relation P7
action find
entity Q21195665
relation P50
type Q502895
{'OR': [['Q384941', 'P7', {'concept': 'Q502895'}], ['Q21195665', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q384941 property:P7 ?b } UNION { resource:Q21195665 property:P50 ?b } } . ?b rdf:type ontology:Q502895 }
Detailed analysis of the variability of peptidylarginine deiminase type 4 in German patients with rheumatoid arthritis: a case-control study George, Margrave of Brandenburg-Ansbach
action filter_type
action union
action find
entity George, Margrave of Brandenburg-Ansbach
relation brother
action find
entity Detailed analysis of the variability of peptidylarginine deiminase type 4 in German patients with rheumatoid arthritis: a case-control study
relation author
type common name
{'OR': [['George, Margrave of Brandenburg-Ansbach', 'brother', {'concept': 'common name'}], ['Detailed analysis of the variability of peptidylarginine deiminase type 4 in German patients with rheumatoid arthritis: a case-control study', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:George,_Margrave_of_Brandenburg-Ansbach property:brother ?b } UNION { resource:Detailed_analysis_of_the_variability_of_peptidylarginine_deiminase_type_4_in_German_patients_with_rheumatoid_arthritis:_a_case-control_study property:author ?b } } . ?b rdf:type ontology:common_name }
[]
common name
Q40433 Q565724 Q1554516 Q1463615 Q1454353 Q73493 Q566474 Q327976
SYSTEM
Albert, Duke in Prussia, Wilhelm of Brandenburg-Ansbach, Gumpert of Brandenburg-Ansbach-Kulmbach, Friedrich von Brandenburg-Ansbach, Holger Kiesewetter, John Albert of Brandenburg-Ansbach-Kulmbach, Casimir, Margrave of Brandenburg-Bayreuth, Johann of Brandenburg-Ansbach
Q40433 Q565724 Q1554516 Q1463615 Q1454353 Q73493 Q566474 Q327976
OR((Q384941,P7,c(Q502895)), (Q21195665,P50,c(Q502895)))
action filter_type
action union
action find
entity Q384941
relation P7
action find
entity Q21195665
relation P50
type Q502895
[ANSWERS] are the brothers of George, Margrave of Brandenburg-Ansbach or authored Detailed analysis of the variability of peptidylarginine deiminase type 4 in German patients with rheumatoid arthritis: a case-control study
{'OR': [['Q384941', 'P7', {'concept': 'Q502895'}], ['Q21195665', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q384941 property:P7 ?b } UNION { resource:Q21195665 property:P50 ?b } } . ?b rdf:type ontology:Q502895 }
Albert, Duke in Prussia Wilhelm of Brandenburg-Ansbach Gumpert of Brandenburg-Ansbach-Kulmbach Friedrich von Brandenburg-Ansbach Holger Kiesewetter John Albert of Brandenburg-Ansbach-Kulmbach Casimir, Margrave of Brandenburg-Bayreuth Johann of Brandenburg-Ansbach
Albert, Duke in Prussia, Wilhelm of Brandenburg-Ansbach, Gumpert of Brandenburg-Ansbach-Kulmbach, Friedrich von Brandenburg-Ansbach, Holger Kiesewetter, John Albert of Brandenburg-Ansbach-Kulmbach, Casimir, Margrave of Brandenburg-Bayreuth and Johann of Brandenburg-Ansbach are the brothers of George, Margrave of Brandenburg-Ansbach or authored Detailed analysis of the variability of peptidylarginine deiminase type 4 in German patients with rheumatoid arthritis: a case-control study
Albert, Duke in Prussia Wilhelm of Brandenburg-Ansbach Gumpert of Brandenburg-Ansbach-Kulmbach Friedrich von Brandenburg-Ansbach Holger Kiesewetter John Albert of Brandenburg-Ansbach-Kulmbach Casimir, Margrave of Brandenburg-Bayreuth Johann of Brandenburg-Ansbach
action filter_type
action union
action find
entity George, Margrave of Brandenburg-Ansbach
relation brother
action find
entity Detailed analysis of the variability of peptidylarginine deiminase type 4 in German patients with rheumatoid arthritis: a case-control study
relation author
type common name
{'OR': [['George, Margrave of Brandenburg-Ansbach', 'brother', {'concept': 'common name'}], ['Detailed analysis of the variability of peptidylarginine deiminase type 4 in German patients with rheumatoid arthritis: a case-control study', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:George,_Margrave_of_Brandenburg-Ansbach property:brother ?b } UNION { resource:Detailed_analysis_of_the_variability_of_peptidylarginine_deiminase_type_4_in_German_patients_with_rheumatoid_arthritis:_a_case-control_study property:author ?b } } . ?b rdf:type ontology:common_name }
[]