Simple Question (Direct)
Simple Question
Q15428398
P26
Q502895
USER
Who is married to Fritz von Gemmingen-Hornberg ?
(Q15428398,P26,c(Q502895))
action filter_type
action find
entity Q15428398
relation P26
type Q502895
['Q15428398', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q15428398 property:P26 ?q }
Fritz von Gemmingen-Hornberg
action filter_type
action find
entity Fritz von Gemmingen-Hornberg
relation spouse
type common name
['Fritz von Gemmingen-Hornberg', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Fritz_von_Gemmingen-Hornberg property:spouse ?q }
[]
common name
Q18195790
SYSTEM
Dora Siegle
Q18195790
(Q15428398,P26,c(Q502895))
action filter_type
action find
entity Q15428398
relation P26
type Q502895
[ANSWER] is married to Fritz von Gemmingen-Hornberg
['Q15428398', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q15428398 property:P26 ?q }
Dora Siegle
Dora Siegle is married to Fritz von Gemmingen-Hornberg
Dora Siegle
action filter_type
action find
entity Fritz von Gemmingen-Hornberg
relation spouse
type common name
['Fritz von Gemmingen-Hornberg', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Fritz_von_Gemmingen-Hornberg property:spouse ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18195790
P9
Q502895
USER
Who has that one as thier sibling ?
(Q18195790,P9,c(Q502895))
action filter_type
action find
entity Q18195790
relation P9
type Q502895
['Q18195790', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q18195790 property:P9 ?j . ?j rdf:type ontology:Q502895 }
Dora Siegle
action filter_type
action find
entity Dora Siegle
relation sister
type common name
['Dora Siegle', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Dora_Siegle property:sister ?j . ?j rdf:type ontology:common_name }
[]
common name
Q18195793
SYSTEM
Gabriele Siegle
Q18195793
(Q18195790,P9,c(Q502895))
action filter_type
action find
entity Q18195790
relation P9
type Q502895
[ANSWER] has that one as thier sibling
['Q18195790', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q18195790 property:P9 ?j . ?j rdf:type ontology:Q502895 }
Gabriele Siegle
Gabriele Siegle has that one as thier sibling
Gabriele Siegle
action filter_type
action find
entity Dora Siegle
relation sister
type common name
['Dora Siegle', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Dora_Siegle property:sister ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18195793
P40
Q502895
USER
Which person has that one as an offspring ?
(c(Q502895),P40,Q18195793)
action filter_type
action find_reverse
entity Q18195793
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q18195793']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q18195793 . ?r rdf:type ontology:Q502895 }
Gabriele Siegle
action filter_type
action find_reverse
entity Gabriele Siegle
relation child
type common name
[{'concept': 'common name'}, 'child', 'Gabriele Siegle']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Gabriele_Siegle . ?r rdf:type ontology:common_name }
[]
common name
Q1556407
SYSTEM
Gustav Siegle
Q1556407
(c(Q502895),P40,Q18195793)
action filter_type
action find_reverse
entity Q18195793
relation P40
type Q502895
[ANSWER] has that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q18195793']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q18195793 . ?r rdf:type ontology:Q502895 }
Gustav Siegle
Gustav Siegle has that one as an offspring
Gustav Siegle
action filter_type
action find_reverse
entity Gabriele Siegle
relation child
type common name
[{'concept': 'common name'}, 'child', 'Gabriele Siegle']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Gabriele_Siegle . ?r rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4776397 Q1556407
P39 P106
Q12737077
USER
Which occupations were the positions for which Gustav Siegle were appointed or have Antonio Alegre as his/her as a career ?
OR((Q1556407,P39,c(Q12737077)), (Q4776397,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1556407
relation P39
action find
entity Q4776397
relation P106
type Q12737077
{'OR': [['Q1556407', 'P39', {'concept': 'Q12737077'}], ['Q4776397', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1556407 property:P39 ?q } UNION { resource:Q4776397 property:P106 ?q } } . ?q rdf:type ontology:Q12737077 }
Antonio Alegre Gustav Siegle
action filter_type
action union
action find
entity Gustav Siegle
relation position held
action find
entity Antonio Alegre
relation occupation
type occupation
{'OR': [['Gustav Siegle', 'position held', {'concept': 'occupation'}], ['Antonio Alegre', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Gustav_Siegle property:position_held ?q } UNION { resource:Antonio_Alegre property:occupation ?q } } . ?q rdf:type ontology:occupation }
[]
occupation
Q17854096 Q43845
SYSTEM
member of the Reichstag of the German Empire, businessperson
Q17854096 Q43845
OR((Q1556407,P39,c(Q12737077)), (Q4776397,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1556407
relation P39
action find
entity Q4776397
relation P106
type Q12737077
[ANSWERS] were the positions for which Gustav Siegle were appointed or have Antonio Alegre as his/her as a career
{'OR': [['Q1556407', 'P39', {'concept': 'Q12737077'}], ['Q4776397', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1556407 property:P39 ?q } UNION { resource:Q4776397 property:P106 ?q } } . ?q rdf:type ontology:Q12737077 }
member of the Reichstag of the German Empire businessperson
Member of the Reichstag of the German Empire and businessperson were the positions for which Gustav Siegle were appointed or have Antonio Alegre as his/her as a career
member of the Reichstag of the German Empire businessperson
action filter_type
action union
action find
entity Gustav Siegle
relation position held
action find
entity Antonio Alegre
relation occupation
type occupation
{'OR': [['Gustav Siegle', 'position held', {'concept': 'occupation'}], ['Antonio Alegre', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Gustav_Siegle property:position_held ?q } UNION { resource:Antonio_Alegre property:occupation ?q } } . ?q rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q1556407
P21 P22
Q502895
USER
Which people have Gustav Siegle as dad and have female as the sex ?
AND((c(Q502895),P22,Q1556407), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q1556407
relation P22
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q1556407'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?q WHERE { ?q property:P22 resource:Q1556407 . ?q property:P21 resource:Q6581072 . ?q rdf:type ontology:Q502895 }
female Gustav Siegle
action filter_type
action intersection
action find_reverse
entity Gustav Siegle
relation father
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Gustav Siegle'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?q WHERE { ?q property:father resource:Gustav_Siegle . ?q property:gender resource:female . ?q rdf:type ontology:common_name }
[]
common name
Q18195793 Q18195790
SYSTEM
Gabriele Siegle, Dora Siegle
Q18195793 Q18195790
AND((c(Q502895),P22,Q1556407), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q1556407
relation P22
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWERS] have Gustav Siegle as dad and have female as the sex
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q1556407'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?q WHERE { ?q property:P22 resource:Q1556407 . ?q property:P21 resource:Q6581072 . ?q rdf:type ontology:Q502895 }
Gabriele Siegle Dora Siegle
Gabriele Siegle and Dora Siegle have Gustav Siegle as dad and have female as the sex
Gabriele Siegle Dora Siegle
action filter_type
action intersection
action find_reverse
entity Gustav Siegle
relation father
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Gustav Siegle'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?q WHERE { ?q property:father resource:Gustav_Siegle . ?q property:gender resource:female . ?q rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16196284
P40
Q502895
USER
Do Steve Strachan have those ones as an offspring ?
(Q16196284,P40,Q18195793) (Q16196284,P40,Q18195790)
action is_in
entity prev_answer
action find
entity Q16196284
relation P40
['Q16196284', 'P40', 'Q18195793'] ['Q16196284', 'P40', 'Q18195790']
ASK WHERE { VALUES ( ?z ) { ( resource:Q18195793 ) ( resource:Q18195790 ) } . resource:Q16196284 property:P40 ?z }
Steve Strachan
action is_in
entity prev_answer
action find
entity Steve Strachan
relation child
['Steve Strachan', 'child', 'Gabriele Siegle'] ['Steve Strachan', 'child', 'Dora Siegle']
ASK WHERE { VALUES ( ?z ) { ( resource:Gabriele_Siegle ) ( resource:Dora_Siegle ) } . resource:Steve_Strachan property:child ?z }
[]
common name
SYSTEM
NO
(Q16196284,P40,Q18195793) (Q16196284,P40,Q18195790)
action is_in
entity prev_answer
action find
entity Q16196284
relation P40
[ANSWER]
['Q16196284', 'P40', 'Q18195793'] ['Q16196284', 'P40', 'Q18195790']
ASK WHERE { VALUES ( ?z ) { ( resource:Q18195793 ) ( resource:Q18195790 ) } . resource:Q16196284 property:P40 ?z }
No
action is_in
entity prev_answer
action find
entity Steve Strachan
relation child
['Steve Strachan', 'child', 'Gabriele Siegle'] ['Steve Strachan', 'child', 'Dora Siegle']
ASK WHERE { VALUES ( ?z ) { ( resource:Gabriele_Siegle ) ( resource:Dora_Siegle ) } . resource:Steve_Strachan property:child ?z }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4888352 Q18195790
P22
Q502895
USER
Which people were the dad of Dora Siegle or Benjamin Busch ?
OR((Q18195790,P22,c(Q502895)), (Q4888352,P22,c(Q502895)))
action filter_type
action union
action find
entity Q18195790
relation P22
action find
entity Q4888352
relation P22
type Q502895
{'OR': [['Q18195790', 'P22', {'concept': 'Q502895'}], ['Q4888352', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q18195790 property:P22 ?f } UNION { resource:Q4888352 property:P22 ?f } } . ?f rdf:type ontology:Q502895 }
Benjamin Busch Dora Siegle
action filter_type
action union
action find
entity Dora Siegle
relation father
action find
entity Benjamin Busch
relation father
type common name
{'OR': [['Dora Siegle', 'father', {'concept': 'common name'}], ['Benjamin Busch', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Dora_Siegle property:father ?f } UNION { resource:Benjamin_Busch property:father ?f } } . ?f rdf:type ontology:common_name }
[]
common name
Q1556407 Q1452813
SYSTEM
Gustav Siegle, Frederick Busch
Q1556407 Q1452813
OR((Q18195790,P22,c(Q502895)), (Q4888352,P22,c(Q502895)))
action filter_type
action union
action find
entity Q18195790
relation P22
action find
entity Q4888352
relation P22
type Q502895
[ANSWERS] were the dad of Dora Siegle or Benjamin Busch
{'OR': [['Q18195790', 'P22', {'concept': 'Q502895'}], ['Q4888352', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q18195790 property:P22 ?f } UNION { resource:Q4888352 property:P22 ?f } } . ?f rdf:type ontology:Q502895 }
Gustav Siegle Frederick Busch
Gustav Siegle and Frederick Busch were the dad of Dora Siegle or Benjamin Busch
Gustav Siegle Frederick Busch
action filter_type
action union
action find
entity Dora Siegle
relation father
action find
entity Benjamin Busch
relation father
type common name
{'OR': [['Dora Siegle', 'father', {'concept': 'common name'}], ['Benjamin Busch', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Dora_Siegle property:father ?f } UNION { resource:Benjamin_Busch property:father ?f } } . ?f rdf:type ontology:common_name }
[]