Simple Question (Direct)
Simple Question
Q952114
P25
Q502895
USER
Which female person was the parent of Archduchess Maria Immakulata of Austria ?
(Q952114,P25,c(Q502895))
action filter_type
action find
entity Q952114
relation P25
type Q502895
['Q952114', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q952114 property:P25 ?j . ?j rdf:type ontology:Q502895 }
Archduchess Maria Immakulata of Austria
action filter_type
action find
entity Archduchess Maria Immakulata of Austria
relation mother
type common name
['Archduchess Maria Immakulata of Austria', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Archduchess_Maria_Immakulata_of_Austria property:mother ?j . ?j rdf:type ontology:common_name }
[]
common name
Q235818
SYSTEM
Princess Maria Immaculata of Bourbon-Two Sicilies
Q235818
(Q952114,P25,c(Q502895))
action filter_type
action find
entity Q952114
relation P25
type Q502895
[ANSWER] was the parent of Archduchess Maria Immakulata of Austria
['Q952114', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q952114 property:P25 ?j . ?j rdf:type ontology:Q502895 }
Princess Maria Immaculata of Bourbon-Two Sicilies
Princess Maria Immaculata of Bourbon-Two Sicilies was the parent of Archduchess Maria Immakulata of Austria
Princess Maria Immaculata of Bourbon-Two Sicilies
action filter_type
action find
entity Archduchess Maria Immakulata of Austria
relation mother
type common name
['Archduchess Maria Immakulata of Austria', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Archduchess_Maria_Immakulata_of_Austria property:mother ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q952114
P7
Q502895
USER
Who have Archduchess Maria Immakulata of Austria as their brother ?
(Q952114,P7,c(Q502895))
action filter_type
action find
entity Q952114
relation P7
type Q502895
['Q952114', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q952114 property:P7 ?f . ?f rdf:type ontology:Q502895 }
Archduchess Maria Immakulata of Austria
action filter_type
action find
entity Archduchess Maria Immakulata of Austria
relation brother
type common name
['Archduchess Maria Immakulata of Austria', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Archduchess_Maria_Immakulata_of_Austria property:brother ?f . ?f rdf:type ontology:common_name }
[]
common name
Q78536 Q698051
SYSTEM
Archduke Franz Salvator of Austria, Archduke Leopold Salvator of Austria
Q78536 Q698051
(Q952114,P7,c(Q502895))
action filter_type
action find
entity Q952114
relation P7
type Q502895
[ANSWERS] have Archduchess Maria Immakulata of Austria as their brother
['Q952114', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q952114 property:P7 ?f . ?f rdf:type ontology:Q502895 }
Archduke Franz Salvator of Austria Archduke Leopold Salvator of Austria
Archduke Franz Salvator of Austria and Archduke Leopold Salvator of Austria have Archduchess Maria Immakulata of Austria as their brother
Archduke Franz Salvator of Austria Archduke Leopold Salvator of Austria
action filter_type
action find
entity Archduchess Maria Immakulata of Austria
relation brother
type common name
['Archduchess Maria Immakulata of Austria', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Archduchess_Maria_Immakulata_of_Austria property:brother ?f . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q256701
P7
Q502895
USER
Do Archduchess Maria Theresa of Austria have those ones as their brother ?
(Q256701,P7,Q78536) (Q256701,P7,Q698051)
action is_in
entity prev_answer
action find
entity Q256701
relation P7
['Q256701', 'P7', 'Q78536'] ['Q256701', 'P7', 'Q698051']
ASK WHERE { VALUES ( ?n ) { ( resource:Q78536 ) ( resource:Q698051 ) } . resource:Q256701 property:P7 ?n }
Archduchess Maria Theresa of Austria
action is_in
entity prev_answer
action find
entity Archduchess Maria Theresa of Austria
relation brother
['Archduchess Maria Theresa of Austria', 'brother', 'Archduke Franz Salvator of Austria'] ['Archduchess Maria Theresa of Austria', 'brother', 'Archduke Leopold Salvator of Austria']
ASK WHERE { VALUES ( ?n ) { ( resource:Archduke_Franz_Salvator_of_Austria ) ( resource:Archduke_Leopold_Salvator_of_Austria ) } . resource:Archduchess_Maria_Theresa_of_Austria property:brother ?n }
[]
common name
SYSTEM
YES
(Q256701,P7,Q78536) (Q256701,P7,Q698051)
action is_in
entity prev_answer
action find
entity Q256701
relation P7
[ANSWER]
['Q256701', 'P7', 'Q78536'] ['Q256701', 'P7', 'Q698051']
ASK WHERE { VALUES ( ?n ) { ( resource:Q78536 ) ( resource:Q698051 ) } . resource:Q256701 property:P7 ?n }
Yes
action is_in
entity prev_answer
action find
entity Archduchess Maria Theresa of Austria
relation brother
['Archduchess Maria Theresa of Austria', 'brother', 'Archduke Franz Salvator of Austria'] ['Archduchess Maria Theresa of Austria', 'brother', 'Archduke Leopold Salvator of Austria']
ASK WHERE { VALUES ( ?n ) { ( resource:Archduke_Franz_Salvator_of_Austria ) ( resource:Archduke_Leopold_Salvator_of_Austria ) } . resource:Archduchess_Maria_Theresa_of_Austria property:brother ?n }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q952114 Q11531214
P26
Q502895
USER
Is Mayumi Matsumoto married to Archduchess Maria Immakulata of Austria ?
(Q952114,P26,Q11531214)
action is_in
entity Q11531214
action find
entity Q952114
relation P26
['Q952114', 'P26', 'Q11531214']
ASK WHERE { resource:Q952114 property:P26 resource:Q11531214 }
Archduchess Maria Immakulata of Austria Mayumi Matsumoto
action is_in
entity Mayumi Matsumoto
action find
entity Archduchess Maria Immakulata of Austria
relation spouse
['Archduchess Maria Immakulata of Austria', 'spouse', 'Mayumi Matsumoto']
ASK WHERE { resource:Archduchess_Maria_Immakulata_of_Austria property:spouse resource:Mayumi_Matsumoto }
[]
common name
SYSTEM
NO
(Q952114,P26,Q11531214)
action is_in
entity Q11531214
action find
entity Q952114
relation P26
[ANSWER]
['Q952114', 'P26', 'Q11531214']
ASK WHERE { resource:Q952114 property:P26 resource:Q11531214 }
No
action is_in
entity Mayumi Matsumoto
action find
entity Archduchess Maria Immakulata of Austria
relation spouse
['Archduchess Maria Immakulata of Austria', 'spouse', 'Mayumi Matsumoto']
ASK WHERE { resource:Archduchess_Maria_Immakulata_of_Austria property:spouse resource:Mayumi_Matsumoto }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q698051
P21 P7
Q502895
USER
Which people have Archduke Leopold Salvator of Austria as their sibling and are a male ?
AND((c(Q502895),P7,Q698051), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q698051
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q698051'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?g WHERE { ?g property:P7 resource:Q698051 . ?g property:P21 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
male Archduke Leopold Salvator of Austria
action filter_type
action intersection
action find_reverse
entity Archduke Leopold Salvator of Austria
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Archduke Leopold Salvator of Austria'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?g WHERE { ?g property:brother resource:Archduke_Leopold_Salvator_of_Austria . ?g property:gender resource:male . ?g rdf:type ontology:common_name }
[]
common name
Q78536
SYSTEM
Archduke Franz Salvator of Austria
Q78536
AND((c(Q502895),P7,Q698051), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q698051
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Archduke Leopold Salvator of Austria as their sibling and are a male
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q698051'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?g WHERE { ?g property:P7 resource:Q698051 . ?g property:P21 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
Archduke Franz Salvator of Austria
Archduke Franz Salvator of Austria have Archduke Leopold Salvator of Austria as their sibling and are a male
Archduke Franz Salvator of Austria
action filter_type
action intersection
action find_reverse
entity Archduke Leopold Salvator of Austria
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Archduke Leopold Salvator of Austria'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?g WHERE { ?g property:brother resource:Archduke_Leopold_Salvator_of_Austria . ?g property:gender resource:male . ?g rdf:type ontology:common_name }
[]